feat(UI): Support multiple registries (#1356)
* feat(#1352): Support multiple registries: add registry select box and refresh main area on change
* doc(build): build ui
* fix(#1352): Set first available mesh after login when no mesh is set
* doc(build): build ui
* fix(conflict)
* doc(build): build ui
diff --git a/app/dubbo-ui/dist/admin/assets/ConfigModel-QFNd-Zdd.js b/app/dubbo-ui/dist/admin/assets/ConfigModel-IgPiU3B2.js
similarity index 98%
rename from app/dubbo-ui/dist/admin/assets/ConfigModel-QFNd-Zdd.js
rename to app/dubbo-ui/dist/admin/assets/ConfigModel-IgPiU3B2.js
index fff9dad..b99de2d 100644
--- a/app/dubbo-ui/dist/admin/assets/ConfigModel-QFNd-Zdd.js
+++ b/app/dubbo-ui/dist/admin/assets/ConfigModel-IgPiU3B2.js
@@ -1 +1 @@
-var h=Object.defineProperty;var p=(u,e,t)=>e in u?h(u,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):u[e]=t;var o=(u,e,t)=>(p(u,typeof e!="symbol"?e+"":e,t),t);import{i as c}from"./index-hmLAZQYT.js";class m{constructor(e){o(this,"enabled",!0);o(this,"hasMatch",!1);o(this,"side","provider");o(this,"matches",[]);o(this,"parameters",[]);o(this,"matchesKeys",[]);o(this,"parametersKeys",[]);o(this,"parametersValue",{retries:{type:"obj",relation:"=",value:""},timeout:{type:"obj",relation:"=",value:""},accesslog:{type:"obj",relation:"=",value:""},weight:{type:"obj",relation:"=",value:""},other:{type:"free",arr:[{key:"",relation:"=",value:""}]}});o(this,"matchesValue",{address:{type:"obj",relation:"",value:""},providerAddress:{type:"obj",relation:"",value:""},service:{type:"arr",arr:[{key:"oneof",relation:"",value:""}]},application:{type:"arr",arr:[{key:"oneof",relation:"",value:""}]},param:{type:"free",arr:[{key:"",relation:"",value:""}]}});if(e){for(let t of Object.keys(this))e[t]&&(this[t]=e[t]);this.hasMatch=this.matchesKeys.length>0}}descMatches(){let e=[];for(let t in this.matchesValue){let a=this.matchesValue[t];if(this.matchesKeys.includes(t))if(a.type==="obj")e.push(`${t} ${a.relation} ${a.value}`);else if(a.type==="arr"){let s=a.arr.map(r=>`${r.relation} ${r.value}`).join(", ");e.push(`${t} oneof [${s}]`)}else{let s=a.arr.map(r=>`${r.key} ${r.relation} ${r.value}`).join(", ");e.push(`${t} allof [${s}]`)}}return e}descParameters(){let e=[];for(let t in this.parametersValue){let a=this.parametersValue[t];this.parametersKeys.includes(t)&&(a.type==="obj"?e.push(`${t} = ${a.value}`):e.push(...a.arr.map(s=>`${s.key} ${s.relation} ${s.value}`)))}return e}delArrConfig(e,t,a){e[t].arr.splice(a,1)}addArrConfig(e,t,a,s){e[t].arr.splice(a+1,0,{key:"",relation:(s==null?void 0:s.relation)||"",value:""})}parseMatches(e){let t=this.matchesValue;for(let a in e){this.matchesKeys.push(a),this.hasMatch=!0;let s=e[a];if(t[a])if(t[a].type==="obj")for(let r in s)t[a].relation=r,t[a].value=s[r];else if(t[a].type==="arr"){t[a].arr=[];for(let r in s)for(let i of s[r])for(let l in i)t[a].arr.push({key:r,relation:l,value:i[l]})}else{t[a].arr=[];for(let r of s)for(let i in r.value)t[a].arr.push({key:r.key,relation:i,value:r.value[i]})}}}parseParameters(e){let t=this.parametersValue;for(let a in e){let s=e[a];if(this.parametersValue[a])this.parametersKeys.push(a),t[a].relation="=",t[a].value=s;else{let r="other";this.parametersKeys.push(r),t[r].arr=[],t[r].arr.push({key:a,relation:"=",value:s})}}}checkArrConfig(e,t,a,s){for(let r of t){let i=a[r];if(i.type==="obj"){if(i.relation===null||i.relation==="")return s.push(`${e}: ${r} 条件为空`),console.log(`${e}: ${r} 条件为空`),!1;if(i.value===null)return s.push(`${e}: ${r} 值为空`),console.log(`${e}: ${r} 值为空`),!1}if(i.type==="arr")for(let l of i.arr){if(l.relation===null||l.relation==="")return s.push(`${e}: ${r} 条件为空`),console.log(`${e}: ${r} 条件为空`),!1;if(l.value===null)return s.push(`${e}: ${r} 值为空`),console.log(`${e}: ${r} 值为空`),!1}else{let l=1;if(!i.arr)continue;for(let n of i.arr){if(n.relation===null||n.relation==="")return s.push(`${e}: ${r} 下第${l}条记录key为空`),console.log(`${e}: ${r} 下第${l}条记录key为空`),!1;if(n.relation===null||n.relation==="")return s.push(`${e}: ${r} 下第${l}条记录条件为空`),console.log(`${e}: ${r} 下第${l}条记录条件为空`),!1;if(n.value===null)return s.push(`${e}: ${r} 第${l}条记录值为空`),console.log(`${e}: ${r} 第${l}条记录值为空`),!1;l++}}}return!0}}class y{constructor(){o(this,"ruleName");o(this,"scope");o(this,"configVersion");o(this,"key");o(this,"effectTime");o(this,"enabled")}}class g{constructor(){o(this,"basicInfo",new y);o(this,"config",[]);o(this,"errorMsg",[]);o(this,"isAdd",!1)}fromData(e){this.basicInfo=e.basicInfo,this.config=e.config,this.isAdd=e.isAdd}fromApiOutput(e){this.basicInfo.configVerison=e.configVerison||"v3.0",this.basicInfo.scope=e.scope,this.basicInfo.key=e.key,this.basicInfo.enabled=e.enabled||!1,this.config=e.configs.map(t=>{let a=new m({enabled:t.enabled,side:t.side});return a.parseMatches(t.match),a.parseParameters(t.parameters),a})}toApiInput(e=!1){return this.errorMsg=[],{ruleName:this.basicInfo.ruleName==="_tmp"?this.basicInfo.key+".configurators":this.basicInfo.ruleName,scope:this.basicInfo.scope,key:this.basicInfo.key,enabled:this.basicInfo.enabled,configVersion:this.basicInfo.configVerison||"v3.0",configs:this.config.map((a,s)=>{const r={},i={};if(e){if(a.parametersKeys.length===0)throw this.errorMsg.push(`配置 ${s+1}${c.global.t("dynamicConfigDomain.configType")} 不能为空`),loading.value=!1,new Error("数据检查失败");if(!(a.checkArrConfig(`配置 ${s+1}${c.global.t("dynamicConfigDomain.matchType")} 检查失败`,a.matchesKeys,a.matchesValue,this.errorMsg)&&a.checkArrConfig(`配置 ${s+1}${c.global.t("dynamicConfigDomain.configType")} 检查失败`,a.parametersKeys,a.parametersValue,this.errorMsg)))throw new Error("数据检查失败")}for(let l of a.matchesKeys){let n=a.matchesValue[l];if(n.type==="obj")r[l]={[n.relation]:n.value};else if(n.type==="arr")r[l]={oneof:n.arr.map(f=>({[f.relation]:f.value}))};else{r[l]=[];for(let f of n.arr)r[l].push({key:f.key,value:{[f.relation]:f.value}})}}for(let l of a.parametersKeys){let n=a.parametersValue[l];if(n.type==="obj")i[l]=n.value;else{r[l]={};for(let f of n.arr)i[f.key]=f.value}}return{match:r,parameters:i,enabled:a.enabled,side:a.side}})}}}export{m as C,g as V};
+var h=Object.defineProperty;var p=(u,e,t)=>e in u?h(u,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):u[e]=t;var o=(u,e,t)=>(p(u,typeof e!="symbol"?e+"":e,t),t);import{i as c}from"./index-3zDsduUv.js";class m{constructor(e){o(this,"enabled",!0);o(this,"hasMatch",!1);o(this,"side","provider");o(this,"matches",[]);o(this,"parameters",[]);o(this,"matchesKeys",[]);o(this,"parametersKeys",[]);o(this,"parametersValue",{retries:{type:"obj",relation:"=",value:""},timeout:{type:"obj",relation:"=",value:""},accesslog:{type:"obj",relation:"=",value:""},weight:{type:"obj",relation:"=",value:""},other:{type:"free",arr:[{key:"",relation:"=",value:""}]}});o(this,"matchesValue",{address:{type:"obj",relation:"",value:""},providerAddress:{type:"obj",relation:"",value:""},service:{type:"arr",arr:[{key:"oneof",relation:"",value:""}]},application:{type:"arr",arr:[{key:"oneof",relation:"",value:""}]},param:{type:"free",arr:[{key:"",relation:"",value:""}]}});if(e){for(let t of Object.keys(this))e[t]&&(this[t]=e[t]);this.hasMatch=this.matchesKeys.length>0}}descMatches(){let e=[];for(let t in this.matchesValue){let a=this.matchesValue[t];if(this.matchesKeys.includes(t))if(a.type==="obj")e.push(`${t} ${a.relation} ${a.value}`);else if(a.type==="arr"){let s=a.arr.map(r=>`${r.relation} ${r.value}`).join(", ");e.push(`${t} oneof [${s}]`)}else{let s=a.arr.map(r=>`${r.key} ${r.relation} ${r.value}`).join(", ");e.push(`${t} allof [${s}]`)}}return e}descParameters(){let e=[];for(let t in this.parametersValue){let a=this.parametersValue[t];this.parametersKeys.includes(t)&&(a.type==="obj"?e.push(`${t} = ${a.value}`):e.push(...a.arr.map(s=>`${s.key} ${s.relation} ${s.value}`)))}return e}delArrConfig(e,t,a){e[t].arr.splice(a,1)}addArrConfig(e,t,a,s){e[t].arr.splice(a+1,0,{key:"",relation:(s==null?void 0:s.relation)||"",value:""})}parseMatches(e){let t=this.matchesValue;for(let a in e){this.matchesKeys.push(a),this.hasMatch=!0;let s=e[a];if(t[a])if(t[a].type==="obj")for(let r in s)t[a].relation=r,t[a].value=s[r];else if(t[a].type==="arr"){t[a].arr=[];for(let r in s)for(let i of s[r])for(let l in i)t[a].arr.push({key:r,relation:l,value:i[l]})}else{t[a].arr=[];for(let r of s)for(let i in r.value)t[a].arr.push({key:r.key,relation:i,value:r.value[i]})}}}parseParameters(e){let t=this.parametersValue;for(let a in e){let s=e[a];if(this.parametersValue[a])this.parametersKeys.push(a),t[a].relation="=",t[a].value=s;else{let r="other";this.parametersKeys.push(r),t[r].arr=[],t[r].arr.push({key:a,relation:"=",value:s})}}}checkArrConfig(e,t,a,s){for(let r of t){let i=a[r];if(i.type==="obj"){if(i.relation===null||i.relation==="")return s.push(`${e}: ${r} 条件为空`),console.log(`${e}: ${r} 条件为空`),!1;if(i.value===null)return s.push(`${e}: ${r} 值为空`),console.log(`${e}: ${r} 值为空`),!1}if(i.type==="arr")for(let l of i.arr){if(l.relation===null||l.relation==="")return s.push(`${e}: ${r} 条件为空`),console.log(`${e}: ${r} 条件为空`),!1;if(l.value===null)return s.push(`${e}: ${r} 值为空`),console.log(`${e}: ${r} 值为空`),!1}else{let l=1;if(!i.arr)continue;for(let n of i.arr){if(n.relation===null||n.relation==="")return s.push(`${e}: ${r} 下第${l}条记录key为空`),console.log(`${e}: ${r} 下第${l}条记录key为空`),!1;if(n.relation===null||n.relation==="")return s.push(`${e}: ${r} 下第${l}条记录条件为空`),console.log(`${e}: ${r} 下第${l}条记录条件为空`),!1;if(n.value===null)return s.push(`${e}: ${r} 第${l}条记录值为空`),console.log(`${e}: ${r} 第${l}条记录值为空`),!1;l++}}}return!0}}class y{constructor(){o(this,"ruleName");o(this,"scope");o(this,"configVersion");o(this,"key");o(this,"effectTime");o(this,"enabled")}}class g{constructor(){o(this,"basicInfo",new y);o(this,"config",[]);o(this,"errorMsg",[]);o(this,"isAdd",!1)}fromData(e){this.basicInfo=e.basicInfo,this.config=e.config,this.isAdd=e.isAdd}fromApiOutput(e){this.basicInfo.configVerison=e.configVerison||"v3.0",this.basicInfo.scope=e.scope,this.basicInfo.key=e.key,this.basicInfo.enabled=e.enabled||!1,this.config=e.configs.map(t=>{let a=new m({enabled:t.enabled,side:t.side});return a.parseMatches(t.match),a.parseParameters(t.parameters),a})}toApiInput(e=!1){return this.errorMsg=[],{ruleName:this.basicInfo.ruleName==="_tmp"?this.basicInfo.key+".configurators":this.basicInfo.ruleName,scope:this.basicInfo.scope,key:this.basicInfo.key,enabled:this.basicInfo.enabled,configVersion:this.basicInfo.configVerison||"v3.0",configs:this.config.map((a,s)=>{const r={},i={};if(e){if(a.parametersKeys.length===0)throw this.errorMsg.push(`配置 ${s+1}${c.global.t("dynamicConfigDomain.configType")} 不能为空`),loading.value=!1,new Error("数据检查失败");if(!(a.checkArrConfig(`配置 ${s+1}${c.global.t("dynamicConfigDomain.matchType")} 检查失败`,a.matchesKeys,a.matchesValue,this.errorMsg)&&a.checkArrConfig(`配置 ${s+1}${c.global.t("dynamicConfigDomain.configType")} 检查失败`,a.parametersKeys,a.parametersValue,this.errorMsg)))throw new Error("数据检查失败")}for(let l of a.matchesKeys){let n=a.matchesValue[l];if(n.type==="obj")r[l]={[n.relation]:n.value};else if(n.type==="arr")r[l]={oneof:n.arr.map(f=>({[f.relation]:f.value}))};else{r[l]=[];for(let f of n.arr)r[l].push({key:f.key,value:{[f.relation]:f.value}})}}for(let l of a.parametersKeys){let n=a.parametersValue[l];if(n.type==="obj")i[l]=n.value;else{r[l]={};for(let f of n.arr)i[f.key]=f.value}}return{match:r,parameters:i,enabled:a.enabled,side:a.side}})}}}export{m as C,g as V};
diff --git a/app/dubbo-ui/dist/admin/assets/ConfigPage--FZz2L2D.js b/app/dubbo-ui/dist/admin/assets/ConfigPage--FZz2L2D.js
deleted file mode 100644
index f973829..0000000
--- a/app/dubbo-ui/dist/admin/assets/ConfigPage--FZz2L2D.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as G,l as J,z as K,a as O,c as k,b as a,w as t,e as r,o as l,j as C,n as e,I as h,f as _,t as u,J as Q,K as T,G as m,Q as b,a8 as U,m as w,p as q,h as A,_ as H}from"./index-hmLAZQYT.js";const M=d=>(q("data-v-4c314c51"),d=d(),A(),d),W={class:"__container_common_config"},X={class:"title"},Y=M(()=>C("div",{class:"bg"},null,-1)),Z={class:"truncate-text"},ee={key:0,style:{float:"right"}},te=G({__name:"ConfigPage",props:{options:{}},setup(d){let y=d,s=J(()=>y.options.list[y.options.current[0]]),x=K(null),g=K(!1),I=O();async function N(){g.value=!0,await x.value.validate().catch(c=>{w.error("submit failed [form check]: "+c),g.value=!1});let n=y.options.list[y.options.current[0]];await n.submit(n.form).catch(c=>{w.error("submit failed [server error]: "+c)}),g.value=!1,w.success("submit success")}function V(){s.value.reset(s.value.form)}return(n,c)=>{const L=r("a-tooltip"),P=r("a-menu-item"),R=r("a-menu"),$=r("a-card"),S=r("a-col"),v=r("a-button"),j=r("a-form"),D=r("a-form-item"),E=r("a-spin"),F=r("a-row");return l(),k("div",W,[a(F,{gutter:20},{default:t(()=>[a(S,{span:6},{default:t(()=>[a($,{class:"__opt"},{title:t(()=>[C("div",X,[Y,a(e(h),{class:"title-icon",icon:"icon-park-twotone:application-one"}),a(L,{placement:"topLeft"},{title:t(()=>{var o;return[_(u((o=e(I).params)==null?void 0:o.pathId),1)]}),default:t(()=>{var o;return[C("span",Z,u((o=e(I).params)==null?void 0:o.pathId),1)]}),_:1})])]),default:t(()=>[a(R,{selectedKeys:n.options.current,"onUpdate:selectedKeys":c[0]||(c[0]=o=>n.options.current=o)},{default:t(()=>[(l(!0),k(Q,null,T(n.options.list,(o,i)=>(l(),m(P,{key:i},{default:t(()=>[i===n.options.current[0]?(l(),m(e(h),{key:0,style:{"margin-bottom":"-5px","font-size":"20px"},icon:"material-symbols:settings-b-roll-rounded"})):(l(),m(e(h),{key:1,style:{"margin-bottom":"-5px","font-size":"20px",color:"grey"},icon:"material-symbols:settings-b-roll-outline-rounded"})),_(" "+u(n.$t(o.title)),1)]),_:2},1024))),128))]),_:1},8,["selectedKeys"])]),_:1})]),_:1}),a(S,{span:18},{default:t(()=>[a($,null,{title:t(()=>{var o;return[_(u(n.$t(e(s).title))+" ",1),(o=e(s))!=null&&o.ext?(l(),k("div",ee,[a(v,{type:"primary",onClick:c[1]||(c[1]=i=>{var p,f,z,B;return(B=(p=e(s))==null?void 0:p.ext)==null?void 0:B.fun((z=(f=e(s))==null?void 0:f.form)==null?void 0:z.rules)})},{default:t(()=>{var i,p;return[_(u((p=(i=e(s))==null?void 0:i.ext)==null?void 0:p.title),1)]}),_:1})])):b("",!0)]}),default:t(()=>[a(E,{spinning:e(g)},{default:t(()=>{var o,i;return[(l(),m(j,{style:{overflow:"auto","max-height":"calc(100vh - 450px)"},ref_key:"__config_form",ref:x,key:n.options.current,"wrapper-col":{span:14},model:e(s).form,"label-col":{style:{width:"100px"}},layout:"horizontal"},{default:t(()=>[U(n.$slots,"form_"+e(s).key,{current:e(s)},void 0,!0)]),_:3},8,["model"])),(o=e(s))!=null&&o.submit||(i=e(s))!=null&&i.reset?(l(),m(D,{key:0,style:{margin:"20px 0 0 100px"}},{default:t(()=>{var p,f;return[(p=e(s))!=null&&p.submit?(l(),m(v,{key:0,type:"primary",onClick:N},{default:t(()=>[_(u(n.$t("submit")),1)]),_:1})):b("",!0),(f=e(s))!=null&&f.reset?(l(),m(v,{key:1,style:{"margin-left":"10px"},onClick:V},{default:t(()=>[_(u(n.$t("reset")),1)]),_:1})):b("",!0)]}),_:1})):b("",!0)]}),_:3},8,["spinning"])]),_:3})]),_:3})]),_:3})])}}}),se=H(te,[["__scopeId","data-v-4c314c51"]]);export{se as C};
diff --git a/app/dubbo-ui/dist/admin/assets/ConfigPage-Onvd_SY6.js b/app/dubbo-ui/dist/admin/assets/ConfigPage-Onvd_SY6.js
new file mode 100644
index 0000000..cfd0a00
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/ConfigPage-Onvd_SY6.js
@@ -0,0 +1 @@
+import{d as F,l as J,B as V,a as M,c as k,b as a,w as t,e as r,o as l,j as C,n as e,I as h,f as _,t as u,L as O,M as U,J as m,T as b,a9 as q,m as w,p as A,h as G,_ as H}from"./index-3zDsduUv.js";const Q=d=>(A("data-v-4c314c51"),d=d(),G(),d),W={class:"__container_common_config"},X={class:"title"},Y=Q(()=>C("div",{class:"bg"},null,-1)),Z={class:"truncate-text"},ee={key:0,style:{float:"right"}},te=F({__name:"ConfigPage",props:{options:{}},setup(d){let y=d,s=J(()=>y.options.list[y.options.current[0]]),x=V(null),g=V(!1),I=M();async function z(){g.value=!0,await x.value.validate().catch(c=>{w.error("submit failed [form check]: "+c),g.value=!1});let n=y.options.list[y.options.current[0]];await n.submit(n.form).catch(c=>{w.error("submit failed [server error]: "+c)}),g.value=!1,w.success("submit success")}function K(){s.value.reset(s.value.form)}return(n,c)=>{const L=r("a-tooltip"),P=r("a-menu-item"),R=r("a-menu"),$=r("a-card"),B=r("a-col"),v=r("a-button"),T=r("a-form"),j=r("a-form-item"),D=r("a-spin"),E=r("a-row");return l(),k("div",W,[a(E,{gutter:20},{default:t(()=>[a(B,{span:6},{default:t(()=>[a($,{class:"__opt"},{title:t(()=>[C("div",X,[Y,a(e(h),{class:"title-icon",icon:"icon-park-twotone:application-one"}),a(L,{placement:"topLeft"},{title:t(()=>{var o;return[_(u((o=e(I).params)==null?void 0:o.pathId),1)]}),default:t(()=>{var o;return[C("span",Z,u((o=e(I).params)==null?void 0:o.pathId),1)]}),_:1})])]),default:t(()=>[a(R,{selectedKeys:n.options.current,"onUpdate:selectedKeys":c[0]||(c[0]=o=>n.options.current=o)},{default:t(()=>[(l(!0),k(O,null,U(n.options.list,(o,i)=>(l(),m(P,{key:i},{default:t(()=>[i===n.options.current[0]?(l(),m(e(h),{key:0,style:{"margin-bottom":"-5px","font-size":"20px"},icon:"material-symbols:settings-b-roll-rounded"})):(l(),m(e(h),{key:1,style:{"margin-bottom":"-5px","font-size":"20px",color:"grey"},icon:"material-symbols:settings-b-roll-outline-rounded"})),_(" "+u(n.$t(o.title)),1)]),_:2},1024))),128))]),_:1},8,["selectedKeys"])]),_:1})]),_:1}),a(B,{span:18},{default:t(()=>[a($,null,{title:t(()=>{var o;return[_(u(n.$t(e(s).title))+" ",1),(o=e(s))!=null&&o.ext?(l(),k("div",ee,[a(v,{type:"primary",onClick:c[1]||(c[1]=i=>{var p,f,S,N;return(N=(p=e(s))==null?void 0:p.ext)==null?void 0:N.fun((S=(f=e(s))==null?void 0:f.form)==null?void 0:S.rules)})},{default:t(()=>{var i,p;return[_(u((p=(i=e(s))==null?void 0:i.ext)==null?void 0:p.title),1)]}),_:1})])):b("",!0)]}),default:t(()=>[a(D,{spinning:e(g)},{default:t(()=>{var o,i;return[(l(),m(T,{style:{overflow:"auto","max-height":"calc(100vh - 450px)"},ref_key:"__config_form",ref:x,key:n.options.current,"wrapper-col":{span:14},model:e(s).form,"label-col":{style:{width:"100px"}},layout:"horizontal"},{default:t(()=>[q(n.$slots,"form_"+e(s).key,{current:e(s)},void 0,!0)]),_:3},8,["model"])),(o=e(s))!=null&&o.submit||(i=e(s))!=null&&i.reset?(l(),m(j,{key:0,style:{margin:"20px 0 0 100px"}},{default:t(()=>{var p,f;return[(p=e(s))!=null&&p.submit?(l(),m(v,{key:0,type:"primary",onClick:z},{default:t(()=>[_(u(n.$t("submit")),1)]),_:1})):b("",!0),(f=e(s))!=null&&f.reset?(l(),m(v,{key:1,style:{"margin-left":"10px"},onClick:K},{default:t(()=>[_(u(n.$t("reset")),1)]),_:1})):b("",!0)]}),_:1})):b("",!0)]}),_:3},8,["spinning"])]),_:3})]),_:3})]),_:3})])}}}),se=H(te,[["__scopeId","data-v-4c314c51"]]);export{se as C};
diff --git a/app/dubbo-ui/dist/admin/assets/DateUtil-BI1mUH_z.js b/app/dubbo-ui/dist/admin/assets/DateUtil-BI1mUH_z.js
deleted file mode 100644
index 34471c8..0000000
--- a/app/dubbo-ui/dist/admin/assets/DateUtil-BI1mUH_z.js
+++ /dev/null
@@ -1 +0,0 @@
-import{ab as t}from"./index-hmLAZQYT.js";const m=r=>r&&t(r).format("YYYY-MM-DD HH:mm:ss");export{m as f};
diff --git a/app/dubbo-ui/dist/admin/assets/DateUtil-QXt7LnE3.js b/app/dubbo-ui/dist/admin/assets/DateUtil-QXt7LnE3.js
new file mode 100644
index 0000000..776b9eb
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/DateUtil-QXt7LnE3.js
@@ -0,0 +1 @@
+import{ac as t}from"./index-3zDsduUv.js";const m=r=>r&&t(r).format("YYYY-MM-DD HH:mm:ss");export{m as f};
diff --git a/app/dubbo-ui/dist/admin/assets/GrafanaPage-_hmQyI5w.js b/app/dubbo-ui/dist/admin/assets/GrafanaPage-tT3NMW70.js
similarity index 80%
rename from app/dubbo-ui/dist/admin/assets/GrafanaPage-_hmQyI5w.js
rename to app/dubbo-ui/dist/admin/assets/GrafanaPage-tT3NMW70.js
index c6b9ed8..adc160d 100644
--- a/app/dubbo-ui/dist/admin/assets/GrafanaPage-_hmQyI5w.js
+++ b/app/dubbo-ui/dist/admin/assets/GrafanaPage-tT3NMW70.js
@@ -1 +1 @@
-import{d as l,x as m,y as d,z as _,a as f,W as u,e as p,o as r,c as s,b as g,w as h,j as y,n,Q as v,_ as I}from"./index-hmLAZQYT.js";const w={class:"__container_tabDemo3"},b={class:"__container_iframe_container"},q=["src"],x=l({__name:"GrafanaPage",setup(S){const a=m(d.GRAFANA);_(""),f(),u(async()=>{var t;let e=await a.api({});a.url=`${window.location.origin}/grafana/d/${(t=e.data)==null?void 0:t.baseURL.split("/d/")[1].split("?")[0]}?var-${a.type}=${a.name}&kiosk=tv`,a.showIframe=!0});function o(e){try{e()}catch(t){console.log(t)}}function c(){console.log("The iframe has been loaded."),setTimeout(()=>{try{let e=document.querySelector("#grafanaIframe").contentDocument;o(()=>{e.querySelector("header").remove()}),o(()=>{e.querySelector("[data-testid*='controls']").remove()}),setTimeout(()=>{o(()=>{e.querySelector("[data-testid*='navigation mega-menu']").remove()}),o(()=>{for(let t of e.querySelectorAll("[data-testid*='Panel menu']"))t.remove()})},2e3)}catch{}a.showIframe=!0},1e3)}return(e,t)=>{const i=p("a-spin");return r(),s("div",w,[g(i,{class:"spin",spinning:!n(a).showIframe},{default:h(()=>[y("div",b,[n(a).showIframe?(r(),s("iframe",{key:0,onload:c,id:"grafanaIframe",style:{"padding-top":"60px"},src:n(a).url,frameborder:"0"},null,8,q)):v("",!0)])]),_:1},8,["spinning"])])}}}),A=I(x,[["__scopeId","data-v-c6fbb32b"]]);export{A as G};
+import{d as l,y as m,z as d,B as _,a as f,D as u,e as p,o as r,c as s,b as g,w as h,j as y,n,T as v,_ as I}from"./index-3zDsduUv.js";const w={class:"__container_tabDemo3"},b={class:"__container_iframe_container"},q=["src"],D=l({__name:"GrafanaPage",setup(S){const a=m(d.GRAFANA);_(""),f(),u(async()=>{var t;let e=await a.api({});a.url=`${window.location.origin}/grafana/d/${(t=e.data)==null?void 0:t.baseURL.split("/d/")[1].split("?")[0]}?var-${a.type}=${a.name}&kiosk=tv`,a.showIframe=!0});function o(e){try{e()}catch(t){console.log(t)}}function c(){console.log("The iframe has been loaded."),setTimeout(()=>{try{let e=document.querySelector("#grafanaIframe").contentDocument;o(()=>{e.querySelector("header").remove()}),o(()=>{e.querySelector("[data-testid*='controls']").remove()}),setTimeout(()=>{o(()=>{e.querySelector("[data-testid*='navigation mega-menu']").remove()}),o(()=>{for(let t of e.querySelectorAll("[data-testid*='Panel menu']"))t.remove()})},2e3)}catch{}a.showIframe=!0},1e3)}return(e,t)=>{const i=p("a-spin");return r(),s("div",w,[g(i,{class:"spin",spinning:!n(a).showIframe},{default:h(()=>[y("div",b,[n(a).showIframe?(r(),s("iframe",{key:0,onload:c,id:"grafanaIframe",style:{"padding-top":"60px"},src:n(a).url,frameborder:"0"},null,8,q)):v("",!0)])]),_:1},8,["spinning"])])}}}),x=I(D,[["__scopeId","data-v-c6fbb32b"]]);export{x as G};
diff --git a/app/dubbo-ui/dist/admin/assets/Login-85H3mqPu.css b/app/dubbo-ui/dist/admin/assets/Login-85H3mqPu.css
new file mode 100644
index 0000000..07d6dde
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/Login-85H3mqPu.css
@@ -0,0 +1 @@
+.background[data-v-790dbd2e]{background:url(/admin/assets/login-aBMy9l95.jpg) no-repeat center center fixed;background-size:cover;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.background .login[data-v-790dbd2e]{background-color:#fff;padding:20px;border-radius:12px;box-shadow:0 0 10px #0000001a;display:flex;justify-content:center;width:22vw}.background .login .title[data-v-790dbd2e]{width:100%;display:flex;justify-content:center;font-size:20px;font-weight:500;margin-bottom:20px}.background .login .login-btn[data-v-790dbd2e]{width:100%}
diff --git a/app/dubbo-ui/dist/admin/assets/Login-OEOmZzrT.css b/app/dubbo-ui/dist/admin/assets/Login-OEOmZzrT.css
deleted file mode 100644
index c7ad857..0000000
--- a/app/dubbo-ui/dist/admin/assets/Login-OEOmZzrT.css
+++ /dev/null
@@ -1 +0,0 @@
-.background[data-v-286ee7a5]{background:url(/admin/assets/login-aBMy9l95.jpg) no-repeat center center fixed;background-size:cover;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.background .login[data-v-286ee7a5]{background-color:#fff;padding:20px;border-radius:12px;box-shadow:0 0 10px #0000001a;display:flex;justify-content:center;width:22vw}.background .login .title[data-v-286ee7a5]{width:100%;display:flex;justify-content:center;font-size:20px;font-weight:500;margin-bottom:20px}.background .login .login-btn[data-v-286ee7a5]{width:100%}
diff --git a/app/dubbo-ui/dist/admin/assets/Login-QsM7tdlI.js b/app/dubbo-ui/dist/admin/assets/Login-QsM7tdlI.js
new file mode 100644
index 0000000..3dd112d
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/Login-QsM7tdlI.js
@@ -0,0 +1 @@
+import{l as h,m as b}from"./globalSearch--VMQnq3S.js";import{d as v,r as y,u as S,a as D,c as k,b as e,w as t,e as n,o as C,f as I,t as q,g as B,m as N,i as V,p as $,h as x,j as F,_ as L}from"./index-3zDsduUv.js";import{u as R}from"./request-3an337VF.js";const U=l=>($("data-v-790dbd2e"),l=l(),x(),l),j={class:"background"},z=U(()=>F("div",null,"用户登录",-1)),A=v({__name:"Login",setup(l){const a=y({username:"",password:""}),c=S(),p=D().query.redirect||"/",m=R();function _(){let s=new FormData;s.append("user",a.username),s.append("password",a.password),h(s).then(async()=>{var r;B(!0,a.username);const{data:o}=await b();(!m.mesh||!o.some(u=>u.name===m.mesh))&&(m.mesh=(r=o[0])==null?void 0:r.name),c.replace(p)}).catch(o=>{N.error(V.global.t("loginDomain.authFail"))})}return(s,o)=>{const r=n("a-row"),u=n("a-input"),i=n("a-form-item"),f=n("a-button"),g=n("a-form"),w=n("a-card");return C(),k("div",j,[e(w,{class:"login"},{default:t(()=>[e(r,{class:"title"},{default:t(()=>[z]),_:1}),e(r,null,{default:t(()=>[e(g,{layout:"vertical",model:a,ref:"login-form-ref"},{default:t(()=>[e(i,{class:"item",label:s.$t("loginDomain.username"),name:"username",rules:[{required:!0}]},{default:t(()=>[e(u,{type:"",value:a.username,"onUpdate:value":o[0]||(o[0]=d=>a.username=d)},null,8,["value"])]),_:1},8,["label"]),e(i,{class:"item",label:s.$t("loginDomain.password"),name:"password",rules:[{required:!0}]},{default:t(()=>[e(u,{type:"password",value:a.password,"onUpdate:value":o[1]||(o[1]=d=>a.password=d)},null,8,["value"])]),_:1},8,["label"]),e(i,{class:"item",label:""},{default:t(()=>[e(f,{onClick:_,size:"large",type:"primary",class:"login-btn"},{default:t(()=>[I(q(s.$t("loginDomain.login")),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})])}}}),G=L(A,[["__scopeId","data-v-790dbd2e"]]);export{G as default};
diff --git a/app/dubbo-ui/dist/admin/assets/Login-imIhMlq6.js b/app/dubbo-ui/dist/admin/assets/Login-imIhMlq6.js
deleted file mode 100644
index 59ad047..0000000
--- a/app/dubbo-ui/dist/admin/assets/Login-imIhMlq6.js
+++ /dev/null
@@ -1 +0,0 @@
-import{l as w}from"./login-9T-XtNdg.js";import{d as v,r as b,u as h,a as y,c as D,b as e,w as o,e as s,o as S,f as k,t as C,g as I,m as q,i as B,p as N,h as V,j as $,_ as x}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const F=r=>(N("data-v-286ee7a5"),r=r(),V(),r),L={class:"background"},R=F(()=>$("div",null,"用户登录",-1)),U=v({__name:"Login",setup(r){const a=b({username:"",password:""}),d=h(),m=y().query.redirect||"/";function c(){let t=new FormData;t.append("user",a.username),t.append("password",a.password),w(t).then(()=>{I(!0,a.username),d.replace(m)}).catch(n=>{q.error(B.global.t("loginDomain.authFail"))})}return(t,n)=>{const i=s("a-row"),p=s("a-input"),l=s("a-form-item"),_=s("a-button"),f=s("a-form"),g=s("a-card");return S(),D("div",L,[e(g,{class:"login"},{default:o(()=>[e(i,{class:"title"},{default:o(()=>[R]),_:1}),e(i,null,{default:o(()=>[e(f,{layout:"vertical",model:a,ref:"login-form-ref"},{default:o(()=>[e(l,{class:"item",label:t.$t("loginDomain.username"),name:"username",rules:[{required:!0}]},{default:o(()=>[e(p,{type:"",value:a.username,"onUpdate:value":n[0]||(n[0]=u=>a.username=u)},null,8,["value"])]),_:1},8,["label"]),e(l,{class:"item",label:t.$t("loginDomain.password"),name:"password",rules:[{required:!0}]},{default:o(()=>[e(p,{type:"password",value:a.password,"onUpdate:value":n[1]||(n[1]=u=>a.password=u)},null,8,["value"])]),_:1},8,["label"]),e(l,{class:"item",label:""},{default:o(()=>[e(_,{onClick:c,size:"large",type:"primary",class:"login-btn"},{default:o(()=>[k(C(t.$t("loginDomain.login")),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})])}}}),H=x(U,[["__scopeId","data-v-286ee7a5"]]);export{H as default};
diff --git a/app/dubbo-ui/dist/admin/assets/PromQueryUtil-2EbGMcmH.js b/app/dubbo-ui/dist/admin/assets/PromQueryUtil-4K1j3sa5.js
similarity index 81%
rename from app/dubbo-ui/dist/admin/assets/PromQueryUtil-2EbGMcmH.js
rename to app/dubbo-ui/dist/admin/assets/PromQueryUtil-4K1j3sa5.js
index 2658aad..13a0309 100644
--- a/app/dubbo-ui/dist/admin/assets/PromQueryUtil-2EbGMcmH.js
+++ b/app/dubbo-ui/dist/admin/assets/PromQueryUtil-4K1j3sa5.js
@@ -1 +1 @@
-import{r as c}from"./request-8jI_GZey.js";import{r as i,a3 as s}from"./index-hmLAZQYT.js";const f=async t=>c({url:"promQL/query",method:"get",params:t});async function q(t){var o,a;try{let r=(a=(o=await f({query:t}))==null?void 0:o.data)==null?void 0:a.result[0];return r!=null&&r.value&&r.value.length>0?Number(r.value[1]):"NA"}catch(r){console.error("fetch from prom error: ",r)}return"NA"}function p(t,o,a){var u;const r=i(t);for(let l of o){let e=(u=t==null?void 0:t.data)==null?void 0:u.list;for(let n of e)n[l]="skeleton-loading"}return s(async()=>{var l;try{let e=((l=r==null?void 0:r.data)==null?void 0:l.list)||[];for(let n of e)a(n)}catch(e){console.error(e)}}),r}export{p,q};
+import{r as c}from"./request-3an337VF.js";import{r as i,a4 as s}from"./index-3zDsduUv.js";const f=async t=>c({url:"promQL/query",method:"get",params:t});async function q(t){var o,a;try{let r=(a=(o=await f({query:t}))==null?void 0:o.data)==null?void 0:a.result[0];return r!=null&&r.value&&r.value.length>0?Number(r.value[1]):"NA"}catch(r){console.error("fetch from prom error: ",r)}return"NA"}function p(t,o,a){var u;const r=i(t);for(let l of o){let e=(u=t==null?void 0:t.data)==null?void 0:u.list;for(let n of e)n[l]="skeleton-loading"}return s(async()=>{var l;try{let e=((l=r==null?void 0:r.data)==null?void 0:l.list)||[];for(let n of e)a(n)}catch(e){console.error(e)}}),r}export{p,q};
diff --git a/app/dubbo-ui/dist/admin/assets/SearchUtil-sOWd6ofa.js b/app/dubbo-ui/dist/admin/assets/SearchUtil-bfid3zNl.js
similarity index 81%
rename from app/dubbo-ui/dist/admin/assets/SearchUtil-sOWd6ofa.js
rename to app/dubbo-ui/dist/admin/assets/SearchUtil-bfid3zNl.js
index 99a8c03..b7385e3 100644
--- a/app/dubbo-ui/dist/admin/assets/SearchUtil-sOWd6ofa.js
+++ b/app/dubbo-ui/dist/admin/assets/SearchUtil-bfid3zNl.js
@@ -1 +1 @@
-var Q=Object.defineProperty;var X=(d,o,u)=>o in d?Q(d,o,{enumerable:!0,configurable:!0,writable:!0,value:u}):d[o]=u;var _=(d,o,u)=>(X(d,typeof o!="symbol"?o+"":o,u),u);import{d as Z,v as W,r as A,k as q,x as ee,y as te,l as D,c as m,j as g,b as i,w as n,n as s,e as c,P as ae,o as r,H as oe,J as b,K as C,G as y,f as P,t as S,ad as I,I as T,a8 as U,Z as se,a0 as le,ae as ne,Q as re,m as ie,_ as ce}from"./index-hmLAZQYT.js";const ue={class:"__container_search_table"},de={class:"search-query-container"},pe={class:"custom-column button"},_e={class:"dropdown"},me={class:"body"},he=["onClick"],fe={class:"search-table-container"},ge={key:0},ye={key:1},be=Z({__name:"SearchTable",setup(d){W(a=>({"3d09cf76":s(ae)}));const o=A({customColumns:!1}),{appContext:{config:{globalProperties:u}}}=q(),e=ee(te.SEARCH_DOMAIN);e.table.columns.forEach(a=>{if(a.title){const p=a.title;a.title=D(()=>u.$t(p))}});const h=D(()=>e.noPaged?!1:{pageSize:e.paged.pageSize,current:e.paged.curPage,total:e.paged.total,showTotal:a=>u.$t("searchDomain.total")+": "+a+" "+u.$t("searchDomain.unit")}),f=(a,p,v)=>{e.paged.pageSize=a.pageSize,e.paged.curPage=a.current,e.onSearch()};function k(a){let p=e==null?void 0:e.table.columns.filter(v=>!v.__hide);if(!a.__hide&&p.length<=1){ie.warn("must show at least one column");return}a.__hide=!a.__hide}return(a,p)=>{var N,O,E,V;const v=c("a-radio-button"),R=c("a-radio-group"),B=c("a-select-option"),K=c("a-select"),j=c("a-input"),$=c("a-form-item"),M=c("a-button"),F=c("a-flex"),Y=c("a-form"),x=c("a-col"),H=c("a-card"),J=c("a-row"),L=c("a-skeleton-button"),G=c("a-table");return r(),m("div",ue,[g("div",de,[i(J,null,{default:n(()=>[i(x,{span:18},{default:n(()=>[i(Y,{onKeyup:p[1]||(p[1]=oe(t=>s(e).onSearch(),["enter"]))},{default:n(()=>[i(F,{wrap:"wrap",gap:"large"},{default:n(()=>[(r(!0),m(b,null,C(s(e).params,t=>(r(),y($,{label:a.$t(t.label)},{default:n(()=>[t.dict&&t.dict.length>0?(r(),m(b,{key:0},[t.dictType==="BUTTON"?(r(),y(R,{key:0,"button-style":"solid",value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},{default:n(()=>[(r(!0),m(b,null,C(t.dict,l=>(r(),y(v,{value:l.value},{default:n(()=>[P(S(a.$t(l.label)),1)]),_:2},1032,["value"]))),256))]),_:2},1032,["value","onUpdate:value"])):(r(),y(K,{key:1,class:"select-type",style:I(t.style),value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},{default:n(()=>[(r(!0),m(b,null,C([...t.dict,{label:"none",value:""}],l=>(r(),y(B,{value:l.value},{default:n(()=>[P(S(a.$t(l.label)),1)]),_:2},1032,["value"]))),256))]),_:2},1032,["style","value","onUpdate:value"]))],64)):(r(),y(j,{key:1,style:I(t.style),placeholder:a.$t("placeholder."+(t.placeholder||"typeDefault")),value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},null,8,["style","placeholder","value","onUpdate:value"]))]),_:2},1032,["label"]))),256)),i($,{label:""},{default:n(()=>[i(M,{type:"primary",onClick:p[0]||(p[0]=t=>s(e).onSearch())},{default:n(()=>[i(s(T),{style:{"margin-bottom":"-2px","font-size":"1.3rem"},icon:"ic:outline-manage-search"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),i(x,{span:6},{default:n(()=>[i(F,{style:{"justify-content":"flex-end"}},{default:n(()=>[U(a.$slots,"customOperation",{},void 0,!0),g("div",{class:"common-tool",onClick:p[2]||(p[2]=t=>o.customColumns=!o.customColumns)},[g("div",pe,[i(s(T),{icon:"material-symbols-light:format-list-bulleted-rounded"})]),se(g("div",_e,[i(H,{style:{"max-width":"300px"},title:"Custom Column"},{default:n(()=>{var t;return[g("div",me,[(r(!0),m(b,null,C((t=s(e))==null?void 0:t.table.columns,(l,w)=>(r(),m("div",{class:"item",onClick:ne(z=>k(l),["stop"])},[i(s(T),{style:{"margin-bottom":"-4px","font-size":"1rem","margin-right":"2px"},icon:l.__hide?"zondicons:view-hide":"zondicons:view-show"},null,8,["icon"]),P(" "+S(l.title),1)],8,he))),256))])]}),_:1})],512),[[le,o.customColumns]])])]),_:3})]),_:3})]),_:3})]),g("div",fe,[i(G,{loading:s(e).table.loading,pagination:h.value,scroll:{scrollToFirstRowOnChange:!0,y:((N=s(e).tableStyle)==null?void 0:N.scrollY)||"",x:((O=s(e).tableStyle)==null?void 0:O.scrollX)||""},columns:(E=s(e))==null?void 0:E.table.columns.filter(t=>!t.__hide),"data-source":(V=s(e))==null?void 0:V.result,onChange:f},{bodyCell:n(({text:t,record:l,index:w,column:z})=>[z.key==="idx"?(r(),m("span",ge,S(w+1),1)):re("",!0),t==="skeleton-loading"?(r(),m("span",ye,[i(L,{active:"",size:"small"})])):U(a.$slots,"bodyCell",{key:2,text:t,record:l,index:w,column:z},void 0,!0)]),_:3},8,["loading","pagination","scroll","columns","data-source"])])])}}}),Se=ce(be,[["__scopeId","data-v-e2b01919"]]);class ke{constructor(o,u,e,h,f,k){_(this,"noPaged");_(this,"queryForm");_(this,"params");_(this,"searchApi");_(this,"result");_(this,"handleResult");_(this,"tableStyle");_(this,"table",{columns:[]});_(this,"paged",{curPage:1,pageOffset:"0",total:0,pageSize:10});this.params=o,this.noPaged=f,this.queryForm=A({}),this.table.columns=e,o.forEach(a=>{a.defaultValue&&(this.queryForm[a.param]=a.defaultValue)}),h&&(this.paged={...this.paged,...h}),this.searchApi=u,this.handleResult=k}async onSearch(o){o&&(this.handleResult=o),this.table.loading=!0,setTimeout(()=>{this.table.loading=!1},1e4);const u={...this.queryForm,...this.noPaged?{}:{pageSize:this.paged.pageSize,pageOffset:(this.paged.curPage-1)*this.paged.pageSize}};this.searchApi(u).then(e=>{const{data:{list:h,pageInfo:f}}=e;this.result=o?o(h):h,this.noPaged||(this.paged.total=(f==null?void 0:f.Total)||0)}).catch(e=>{console.error("Error fetching data:",e)}).finally(()=>{this.table.loading=!1})}}function we(d,o){return isNaN(d-o)?d.localeCompare(o):d-o}export{ke as S,Se as a,we as s};
+var G=Object.defineProperty;var Q=(d,o,u)=>o in d?G(d,o,{enumerable:!0,configurable:!0,writable:!0,value:u}):d[o]=u;var _=(d,o,u)=>(Q(d,typeof o!="symbol"?o+"":o,u),u);import{d as W,v as Z,r as A,k as q,y as ee,z as te,l as D,c as m,j as g,b as i,w as n,n as s,e as c,P as ae,o as r,K as oe,L as b,M as C,J as y,f as P,t as S,af as I,I as T,a9 as U,$ as se,a1 as le,ag as ne,T as re,m as ie,_ as ce}from"./index-3zDsduUv.js";const ue={class:"__container_search_table"},de={class:"search-query-container"},pe={class:"custom-column button"},_e={class:"dropdown"},me={class:"body"},he=["onClick"],fe={class:"search-table-container"},ge={key:0},ye={key:1},be=W({__name:"SearchTable",setup(d){Z(a=>({"3d09cf76":s(ae)}));const o=A({customColumns:!1}),{appContext:{config:{globalProperties:u}}}=q(),e=ee(te.SEARCH_DOMAIN);e.table.columns.forEach(a=>{if(a.title){const p=a.title;a.title=D(()=>u.$t(p))}});const h=D(()=>e.noPaged?!1:{pageSize:e.paged.pageSize,current:e.paged.curPage,total:e.paged.total,showTotal:a=>u.$t("searchDomain.total")+": "+a+" "+u.$t("searchDomain.unit")}),f=(a,p,v)=>{e.paged.pageSize=a.pageSize,e.paged.curPage=a.current,e.onSearch()};function k(a){let p=e==null?void 0:e.table.columns.filter(v=>!v.__hide);if(!a.__hide&&p.length<=1){ie.warn("must show at least one column");return}a.__hide=!a.__hide}return(a,p)=>{var N,O,E,V;const v=c("a-radio-button"),R=c("a-radio-group"),B=c("a-select-option"),K=c("a-select"),M=c("a-input"),$=c("a-form-item"),j=c("a-button"),F=c("a-flex"),L=c("a-form"),x=c("a-col"),Y=c("a-card"),J=c("a-row"),H=c("a-skeleton-button"),X=c("a-table");return r(),m("div",ue,[g("div",de,[i(J,null,{default:n(()=>[i(x,{span:18},{default:n(()=>[i(L,{onKeyup:p[1]||(p[1]=oe(t=>s(e).onSearch(),["enter"]))},{default:n(()=>[i(F,{wrap:"wrap",gap:"large"},{default:n(()=>[(r(!0),m(b,null,C(s(e).params,t=>(r(),y($,{label:a.$t(t.label)},{default:n(()=>[t.dict&&t.dict.length>0?(r(),m(b,{key:0},[t.dictType==="BUTTON"?(r(),y(R,{key:0,"button-style":"solid",value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},{default:n(()=>[(r(!0),m(b,null,C(t.dict,l=>(r(),y(v,{value:l.value},{default:n(()=>[P(S(a.$t(l.label)),1)]),_:2},1032,["value"]))),256))]),_:2},1032,["value","onUpdate:value"])):(r(),y(K,{key:1,class:"select-type",style:I(t.style),value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},{default:n(()=>[(r(!0),m(b,null,C([...t.dict,{label:"none",value:""}],l=>(r(),y(B,{value:l.value},{default:n(()=>[P(S(a.$t(l.label)),1)]),_:2},1032,["value"]))),256))]),_:2},1032,["style","value","onUpdate:value"]))],64)):(r(),y(M,{key:1,style:I(t.style),placeholder:a.$t("placeholder."+(t.placeholder||"typeDefault")),value:s(e).queryForm[t.param],"onUpdate:value":l=>s(e).queryForm[t.param]=l},null,8,["style","placeholder","value","onUpdate:value"]))]),_:2},1032,["label"]))),256)),i($,{label:""},{default:n(()=>[i(j,{type:"primary",onClick:p[0]||(p[0]=t=>s(e).onSearch())},{default:n(()=>[i(s(T),{style:{"margin-bottom":"-2px","font-size":"1.3rem"},icon:"ic:outline-manage-search"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),i(x,{span:6},{default:n(()=>[i(F,{style:{"justify-content":"flex-end"}},{default:n(()=>[U(a.$slots,"customOperation",{},void 0,!0),g("div",{class:"common-tool",onClick:p[2]||(p[2]=t=>o.customColumns=!o.customColumns)},[g("div",pe,[i(s(T),{icon:"material-symbols-light:format-list-bulleted-rounded"})]),se(g("div",_e,[i(Y,{style:{"max-width":"300px"},title:"Custom Column"},{default:n(()=>{var t;return[g("div",me,[(r(!0),m(b,null,C((t=s(e))==null?void 0:t.table.columns,(l,w)=>(r(),m("div",{class:"item",onClick:ne(z=>k(l),["stop"])},[i(s(T),{style:{"margin-bottom":"-4px","font-size":"1rem","margin-right":"2px"},icon:l.__hide?"zondicons:view-hide":"zondicons:view-show"},null,8,["icon"]),P(" "+S(l.title),1)],8,he))),256))])]}),_:1})],512),[[le,o.customColumns]])])]),_:3})]),_:3})]),_:3})]),g("div",fe,[i(X,{loading:s(e).table.loading,pagination:h.value,scroll:{scrollToFirstRowOnChange:!0,y:((N=s(e).tableStyle)==null?void 0:N.scrollY)||"",x:((O=s(e).tableStyle)==null?void 0:O.scrollX)||""},columns:(E=s(e))==null?void 0:E.table.columns.filter(t=>!t.__hide),"data-source":(V=s(e))==null?void 0:V.result,onChange:f},{bodyCell:n(({text:t,record:l,index:w,column:z})=>[z.key==="idx"?(r(),m("span",ge,S(w+1),1)):re("",!0),t==="skeleton-loading"?(r(),m("span",ye,[i(H,{active:"",size:"small"})])):U(a.$slots,"bodyCell",{key:2,text:t,record:l,index:w,column:z},void 0,!0)]),_:3},8,["loading","pagination","scroll","columns","data-source"])])])}}}),Se=ce(be,[["__scopeId","data-v-e2b01919"]]);class ke{constructor(o,u,e,h,f,k){_(this,"noPaged");_(this,"queryForm");_(this,"params");_(this,"searchApi");_(this,"result");_(this,"handleResult");_(this,"tableStyle");_(this,"table",{columns:[]});_(this,"paged",{curPage:1,pageOffset:"0",total:0,pageSize:10});this.params=o,this.noPaged=f,this.queryForm=A({}),this.table.columns=e,o.forEach(a=>{a.defaultValue&&(this.queryForm[a.param]=a.defaultValue)}),h&&(this.paged={...this.paged,...h}),this.searchApi=u,this.handleResult=k}async onSearch(o){o&&(this.handleResult=o),this.table.loading=!0,setTimeout(()=>{this.table.loading=!1},1e4);const u={...this.queryForm,...this.noPaged?{}:{pageSize:this.paged.pageSize,pageOffset:(this.paged.curPage-1)*this.paged.pageSize}};this.searchApi(u).then(e=>{const{data:{list:h,pageInfo:f}}=e;this.result=o?o(h):h,this.noPaged||(this.paged.total=(f==null?void 0:f.Total)||0)}).catch(e=>{console.error("Error fetching data:",e)}).finally(()=>{this.table.loading=!1})}}function we(d,o){return isNaN(d-o)?d.localeCompare(o):d-o}export{ke as S,Se as a,we as s};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-Kv0Zh07k.js b/app/dubbo-ui/dist/admin/assets/YAMLView-Kv0Zh07k.js
deleted file mode 100644
index 9287207..0000000
--- a/app/dubbo-ui/dist/admin/assets/YAMLView-Kv0Zh07k.js
+++ /dev/null
@@ -1 +0,0 @@
-import{y as V,_ as L}from"./js-yaml-8Gkz3BRW.js";import{d as R,a as K,z as r,x as P,y as q,W as z,l as G,r as N,u as Q,c as D,b as a,w as e,G as O,Q as b,J as B,e as d,o as y,j as I,K as U,f as v,m as g,a3 as W,p as $,h as H,_ as X}from"./index-hmLAZQYT.js";import{k as Z,l as aa,m as ea}from"./traffic-C2a-KjHH.js";import{V as ta}from"./ConfigModel-QFNd-Zdd.js";import"./request-8jI_GZey.js";const S=m=>($("data-v-68fde8b4"),m=m(),H(),m),sa={class:"editorBox"},na=S(()=>I("p",null,"修改时间: 2024/3/20 15:20:31",-1)),oa=S(()=>I("p",null,"版本号: xo842xqpx834",-1)),la=R({__name:"YAMLView",setup(m){const _=K(),C=r(_.params.isEdit==="1"),h=r(!1),f=r(!1),A=r(8),p=P(q.PROVIDE_INJECT_KEY),u=r(),k=r(),T=r("");z(async()=>{await E()}),G(()=>k.value!==JSON.stringify(u.value));const t=N(new ta);async function E(){var s,l,i;if((s=p.dynamicConfigForm)!=null&&s.data)t.fromData(p.dynamicConfigForm.data);else{if(((l=_.params)==null?void 0:l.pathId)==="_tmp")C.value=!0,t.isAdd=!0;else{t.isAdd=!1;const c=await Z({name:(i=_.params)==null?void 0:i.pathId});t.fromApiOutput(c.data)}p.dynamicConfigForm=N({data:t})}const n=t.toApiInput();T.value=n.ruleName,n.ruleName=void 0;const o=V.dump(n);k.value=JSON.stringify(o),u.value=o}async function F(){f.value=!0;try{p.dynamicConfigForm.data=null,await E(),g.success("config reset success")}finally{f.value=!1}}const j=Q();async function J(){var o;f.value=!0;let n=V.load(u.value);try{if(t.isAdd===!0){aa({name:t.basicInfo.key+".configurators"},n).then(l=>{p.dynamicConfigForm.data=null,W(()=>{j.replace("/traffic/dynamicConfig"),g.success("config add success")})}).catch(l=>{g.error("添加失败: "+l.msg)});return}let s=await ea({name:(o=_.params)==null?void 0:o.pathId},n);t.fromApiOutput(s.data),g.success("config save success")}finally{f.value=!1}}function M(n){t.fromApiOutput(V.load(u.value))}return(n,o)=>{const s=d("a-col"),l=d("a-row"),i=d("a-flex"),c=d("a-button"),x=d("a-card"),Y=d("a-spin");return y(),D(B,null,[a(x,null,{default:e(()=>[a(Y,{spinning:f.value},{default:e(()=>[a(i,{style:{width:"100%"}},{default:e(()=>[a(s,{span:h.value?24-A.value:24,class:"left"},{default:e(()=>[a(i,{vertical:"",align:"end"},{default:e(()=>[a(l,{style:{width:"100%"},justify:"space-between"},{default:e(()=>[a(s,{span:12}),a(s,{span:12})]),_:1}),I("div",sa,[a(L,{modelValue:u.value,"onUpdate:modelValue":o[0]||(o[0]=w=>u.value=w),onChange:M,theme:"vs-dark",height:"calc(100vh - 450px)",language:"yaml",readonly:!C.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),a(s,{span:h.value?A.value:0,class:"right"},{default:e(()=>[h.value?(y(),O(x,{key:0,class:"sliderBox"},{default:e(()=>[(y(),D(B,null,U(2,w=>a(x,{key:w},{default:e(()=>[na,oa,a(i,{justify:"flex-end"},{default:e(()=>[a(c,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[v("查看")]),_:1}),a(c,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[v("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):b("",!0)]),_:1},8,["span"])]),_:1})]),_:1},8,["spinning"])]),_:1}),C.value?(y(),O(i,{key:0,style:{"margin-top":"30px"}},{default:e(()=>[a(c,{type:"primary",onClick:J},{default:e(()=>[v("保存")]),_:1}),a(c,{style:{"margin-left":"30px"},onClick:F},{default:e(()=>[v("重置")]),_:1})]),_:1})):b("",!0)],64)}}}),fa=X(la,[["__scopeId","data-v-68fde8b4"]]);export{fa as default};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-TcLqiDOf.js b/app/dubbo-ui/dist/admin/assets/YAMLView-TcLqiDOf.js
new file mode 100644
index 0000000..9c98636
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/YAMLView-TcLqiDOf.js
@@ -0,0 +1 @@
+import{y as V,_ as Y}from"./js-yaml-eElisXzH.js";import{d as R,a as K,B as r,y as P,z as q,D as z,l as U,r as N,u as $,c as D,b as a,w as e,J as B,T as O,L as T,e as d,o as y,j as I,M as G,f as v,m as g,a4 as H,p as Q,h as W,_ as X}from"./index-3zDsduUv.js";import{k as Z,l as aa,m as ea}from"./traffic-dHGZ6qwp.js";import{V as ta}from"./ConfigModel-IgPiU3B2.js";import"./request-3an337VF.js";const b=m=>(Q("data-v-68fde8b4"),m=m(),W(),m),sa={class:"editorBox"},na=b(()=>I("p",null,"修改时间: 2024/3/20 15:20:31",-1)),oa=b(()=>I("p",null,"版本号: xo842xqpx834",-1)),la=R({__name:"YAMLView",setup(m){const _=K(),C=r(_.params.isEdit==="1"),h=r(!1),f=r(!1),A=r(8),p=P(q.PROVIDE_INJECT_KEY),u=r(),k=r(),S=r("");z(async()=>{await E()}),U(()=>k.value!==JSON.stringify(u.value));const t=N(new ta);async function E(){var s,l,i;if((s=p.dynamicConfigForm)!=null&&s.data)t.fromData(p.dynamicConfigForm.data);else{if(((l=_.params)==null?void 0:l.pathId)==="_tmp")C.value=!0,t.isAdd=!0;else{t.isAdd=!1;const c=await Z({name:(i=_.params)==null?void 0:i.pathId});t.fromApiOutput(c.data)}p.dynamicConfigForm=N({data:t})}const n=t.toApiInput();S.value=n.ruleName,n.ruleName=void 0;const o=V.dump(n);k.value=JSON.stringify(o),u.value=o}async function F(){f.value=!0;try{p.dynamicConfigForm.data=null,await E(),g.success("config reset success")}finally{f.value=!1}}const M=$();async function j(){var o;f.value=!0;let n=V.load(u.value);try{if(t.isAdd===!0){aa({name:t.basicInfo.key+".configurators"},n).then(l=>{p.dynamicConfigForm.data=null,H(()=>{M.replace("/traffic/dynamicConfig"),g.success("config add success")})}).catch(l=>{g.error("添加失败: "+l.msg)});return}let s=await ea({name:(o=_.params)==null?void 0:o.pathId},n);t.fromApiOutput(s.data),g.success("config save success")}finally{f.value=!1}}function J(n){t.fromApiOutput(V.load(u.value))}return(n,o)=>{const s=d("a-col"),l=d("a-row"),i=d("a-flex"),c=d("a-button"),x=d("a-card"),L=d("a-spin");return y(),D(T,null,[a(x,null,{default:e(()=>[a(L,{spinning:f.value},{default:e(()=>[a(i,{style:{width:"100%"}},{default:e(()=>[a(s,{span:h.value?24-A.value:24,class:"left"},{default:e(()=>[a(i,{vertical:"",align:"end"},{default:e(()=>[a(l,{style:{width:"100%"},justify:"space-between"},{default:e(()=>[a(s,{span:12}),a(s,{span:12})]),_:1}),I("div",sa,[a(Y,{modelValue:u.value,"onUpdate:modelValue":o[0]||(o[0]=w=>u.value=w),onChange:J,theme:"vs-dark",height:"calc(100vh - 450px)",language:"yaml",readonly:!C.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),a(s,{span:h.value?A.value:0,class:"right"},{default:e(()=>[h.value?(y(),B(x,{key:0,class:"sliderBox"},{default:e(()=>[(y(),D(T,null,G(2,w=>a(x,{key:w},{default:e(()=>[na,oa,a(i,{justify:"flex-end"},{default:e(()=>[a(c,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[v("查看")]),_:1}),a(c,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[v("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):O("",!0)]),_:1},8,["span"])]),_:1})]),_:1},8,["spinning"])]),_:1}),C.value?(y(),B(i,{key:0,style:{"margin-top":"30px"}},{default:e(()=>[a(c,{type:"primary",onClick:j},{default:e(()=>[v("保存")]),_:1}),a(c,{style:{"margin-left":"30px"},onClick:F},{default:e(()=>[v("重置")]),_:1})]),_:1})):O("",!0)],64)}}}),fa=X(la,[["__scopeId","data-v-68fde8b4"]]);export{fa as default};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-lT4dPq7F.js b/app/dubbo-ui/dist/admin/assets/YAMLView-lT4dPq7F.js
deleted file mode 100644
index 7f83543..0000000
--- a/app/dubbo-ui/dist/admin/assets/YAMLView-lT4dPq7F.js
+++ /dev/null
@@ -1 +0,0 @@
-import{y as D,_ as R}from"./js-yaml-8Gkz3BRW.js";import{g as $}from"./traffic-C2a-KjHH.js";import{d as b,a as A,z as _,W as B,G as m,w as a,e as f,o as c,b as t,f as y,t as I,n as k,a9 as L,aa as S,j as g,c as M,K as O,J as Y,Q as j,p as q,h as z,_ as E}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const w=i=>(q("data-v-76e6a408"),i=i(),z(),i),F={class:"editorBox"},G=w(()=>g("p",null,"修改时间: 2024/3/20 15:20:31",-1)),J=w(()=>g("p",null,"版本号: xo842xqpx834",-1)),K=b({__name:"YAMLView",setup(i){const h=A(),N=_(!0),l=_(!1),V=_(8),v=_("");async function C(){var o,n;let e=await $((o=h.params)==null?void 0:o.ruleName);console.log(e),(e==null?void 0:e.code)===200&&e.data&&((n=h.params)!=null&&n.ruleName)&&e.data.scope==="service"&&(Array.isArray(e.data.conditions)&&(e.data.conditions=e.data.conditions.map(d=>{const s=d.split("=>");if(s.length===2){const r=s[0].trim();let x=s[1].trim();const u=x.match(/other\[(.*?)\]=(.*)/);return u&&u[1]&&u[2]&&(x=`${u[1]}=${u[2]}`),`${r} => ${x}`}return d})),v.value=D.dump(e.data))}return B(()=>{C()}),(e,o)=>{const n=f("a-button"),p=f("a-flex"),d=f("a-col"),s=f("a-card");return c(),m(s,null,{default:a(()=>[t(p,{style:{width:"100%"}},{default:a(()=>[t(d,{span:l.value?24-V.value:24,class:"left"},{default:a(()=>[t(p,{vertical:"",align:"end"},{default:a(()=>[t(n,{type:"text",style:{color:"#0a90d5"},onClick:o[0]||(o[0]=r=>l.value=!l.value)},{default:a(()=>[y(I(e.$t("flowControlDomain.versionRecords"))+" ",1),l.value?(c(),m(k(S),{key:1})):(c(),m(k(L),{key:0}))]),_:1}),g("div",F,[t(R,{modelValue:v.value,"onUpdate:modelValue":o[1]||(o[1]=r=>v.value=r),theme:"vs-dark",height:500,language:"yaml",readonly:N.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),y(" Ï "),t(d,{span:l.value?V.value:0,class:"right"},{default:a(()=>[l.value?(c(),m(s,{key:0,class:"sliderBox"},{default:a(()=>[(c(),M(Y,null,O(2,r=>t(s,{key:r},{default:a(()=>[G,J,t(p,{justify:"flex-end"},{default:a(()=>[t(n,{type:"text",style:{color:"#0a90d5"}},{default:a(()=>[y("查看")]),_:1}),t(n,{type:"text",style:{color:"#0a90d5"}},{default:a(()=>[y("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):j("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),W=E(K,[["__scopeId","data-v-76e6a408"]]);export{W as default};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-mXrxtewG.js b/app/dubbo-ui/dist/admin/assets/YAMLView-mXrxtewG.js
new file mode 100644
index 0000000..d0128de
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/YAMLView-mXrxtewG.js
@@ -0,0 +1 @@
+import{y as b,_ as B}from"./js-yaml-eElisXzH.js";import{g as C}from"./traffic-dHGZ6qwp.js";import{d as R,a as $,B as _,D as A,J as m,w as a,e as f,o as c,b as t,f as y,t as L,n as k,aa as I,ab as M,j as g,c as S,M as O,L as Y,T as j,p as T,h as q,_ as E}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const w=i=>(T("data-v-76e6a408"),i=i(),q(),i),F={class:"editorBox"},J=w(()=>g("p",null,"修改时间: 2024/3/20 15:20:31",-1)),P=w(()=>g("p",null,"版本号: xo842xqpx834",-1)),U=R({__name:"YAMLView",setup(i){const h=$(),D=_(!0),l=_(!1),V=_(8),v=_("");async function N(){var o,n;let e=await C((o=h.params)==null?void 0:o.ruleName);console.log(e),(e==null?void 0:e.code)===200&&e.data&&((n=h.params)!=null&&n.ruleName)&&e.data.scope==="service"&&(Array.isArray(e.data.conditions)&&(e.data.conditions=e.data.conditions.map(d=>{const s=d.split("=>");if(s.length===2){const r=s[0].trim();let x=s[1].trim();const u=x.match(/other\[(.*?)\]=(.*)/);return u&&u[1]&&u[2]&&(x=`${u[1]}=${u[2]}`),`${r} => ${x}`}return d})),v.value=b.dump(e.data))}return A(()=>{N()}),(e,o)=>{const n=f("a-button"),p=f("a-flex"),d=f("a-col"),s=f("a-card");return c(),m(s,null,{default:a(()=>[t(p,{style:{width:"100%"}},{default:a(()=>[t(d,{span:l.value?24-V.value:24,class:"left"},{default:a(()=>[t(p,{vertical:"",align:"end"},{default:a(()=>[t(n,{type:"text",style:{color:"#0a90d5"},onClick:o[0]||(o[0]=r=>l.value=!l.value)},{default:a(()=>[y(L(e.$t("flowControlDomain.versionRecords"))+" ",1),l.value?(c(),m(k(M),{key:1})):(c(),m(k(I),{key:0}))]),_:1}),g("div",F,[t(B,{modelValue:v.value,"onUpdate:modelValue":o[1]||(o[1]=r=>v.value=r),theme:"vs-dark",height:500,language:"yaml",readonly:D.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),y(" Ï "),t(d,{span:l.value?V.value:0,class:"right"},{default:a(()=>[l.value?(c(),m(s,{key:0,class:"sliderBox"},{default:a(()=>[(c(),S(Y,null,O(2,r=>t(s,{key:r},{default:a(()=>[J,P,t(p,{justify:"flex-end"},{default:a(()=>[t(n,{type:"text",style:{color:"#0a90d5"}},{default:a(()=>[y("查看")]),_:1}),t(n,{type:"text",style:{color:"#0a90d5"}},{default:a(()=>[y("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):j("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),Q=E(U,[["__scopeId","data-v-76e6a408"]]);export{Q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-q7Cf5xIc.js b/app/dubbo-ui/dist/admin/assets/YAMLView-q7Cf5xIc.js
deleted file mode 100644
index 2317c5d..0000000
--- a/app/dubbo-ui/dist/admin/assets/YAMLView-q7Cf5xIc.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import{y as D,_ as b}from"./js-yaml-8Gkz3BRW.js";import{e as B}from"./traffic-C2a-KjHH.js";import{d as C,a as R,z as u,W as I,G as r,w as e,e as c,o as s,b as a,f as p,t as L,n as x,a9 as N,aa as S,j as f,c as A,K as M,J as O,Q as T,p as Y,h as $,_ as j}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const h=n=>(Y("data-v-4f1417af"),n=n(),$(),n),q={class:"editorBox"},z=h(()=>f("p",null,"修改时间: 2024/3/20 15:20:31",-1)),E=h(()=>f("p",null,"版本号: xo842xqpx834",-1)),F=C({__name:"YAMLView",setup(n){const k=R(),V=u(!0),t=u(!1),m=u(8),y=u(`configVersion: v3.0
-force: true
-enabled: true
-key: shop-detail
-tags:
- - name: gray
- match:
- - key: env
- value:
- exact: gray`),w=async()=>{var l;const o=await B((l=k.params)==null?void 0:l.ruleName);o.code===200&&(y.value=D.dump(o==null?void 0:o.data))};return I(()=>{w()}),(o,l)=>{const d=c("a-button"),_=c("a-flex"),v=c("a-col"),i=c("a-card");return s(),r(i,null,{default:e(()=>[a(_,{style:{width:"100%"}},{default:e(()=>[a(v,{span:t.value?24-m.value:24,class:"left"},{default:e(()=>[a(_,{vertical:"",align:"end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=g=>t.value=!t.value)},{default:e(()=>[p(L(o.$t("flowControlDomain.versionRecords"))+" ",1),t.value?(s(),r(x(S),{key:1})):(s(),r(x(N),{key:0}))]),_:1}),f("div",q,[a(b,{modelValue:y.value,theme:"vs-dark",height:500,language:"yaml",readonly:V.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),a(v,{span:t.value?m.value:0,class:"right"},{default:e(()=>[t.value?(s(),r(i,{key:0,class:"sliderBox"},{default:e(()=>[(s(),A(O,null,M(2,g=>a(i,{key:g},{default:e(()=>[z,E,a(_,{justify:"flex-end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[p("查看")]),_:1}),a(d,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[p("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):T("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),Q=j(F,[["__scopeId","data-v-4f1417af"]]);export{Q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/YAMLView-s3WMf-Uo.js b/app/dubbo-ui/dist/admin/assets/YAMLView-s3WMf-Uo.js
new file mode 100644
index 0000000..0d3bc38
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/YAMLView-s3WMf-Uo.js
@@ -0,0 +1,10 @@
+import{y as D,_ as b}from"./js-yaml-eElisXzH.js";import{e as B}from"./traffic-dHGZ6qwp.js";import{d as C,a as L,B as u,D as R,J as r,w as e,e as c,o as s,b as a,f as p,t as I,n as x,aa as M,ab as N,j as f,c as S,M as A,L as T,T as O,p as Y,h as $,_ as j}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const h=n=>(Y("data-v-4f1417af"),n=n(),$(),n),q={class:"editorBox"},E=h(()=>f("p",null,"修改时间: 2024/3/20 15:20:31",-1)),F=h(()=>f("p",null,"版本号: xo842xqpx834",-1)),J=C({__name:"YAMLView",setup(n){const k=L(),V=u(!0),t=u(!1),m=u(8),y=u(`configVersion: v3.0
+force: true
+enabled: true
+key: shop-detail
+tags:
+ - name: gray
+ match:
+ - key: env
+ value:
+ exact: gray`),w=async()=>{var l;const o=await B((l=k.params)==null?void 0:l.ruleName);o.code===200&&(y.value=D.dump(o==null?void 0:o.data))};return R(()=>{w()}),(o,l)=>{const d=c("a-button"),_=c("a-flex"),v=c("a-col"),i=c("a-card");return s(),r(i,null,{default:e(()=>[a(_,{style:{width:"100%"}},{default:e(()=>[a(v,{span:t.value?24-m.value:24,class:"left"},{default:e(()=>[a(_,{vertical:"",align:"end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=g=>t.value=!t.value)},{default:e(()=>[p(I(o.$t("flowControlDomain.versionRecords"))+" ",1),t.value?(s(),r(x(N),{key:1})):(s(),r(x(M),{key:0}))]),_:1}),f("div",q,[a(b,{modelValue:y.value,theme:"vs-dark",height:500,language:"yaml",readonly:V.value},null,8,["modelValue","readonly"])])]),_:1})]),_:1},8,["span"]),a(v,{span:t.value?m.value:0,class:"right"},{default:e(()=>[t.value?(s(),r(i,{key:0,class:"sliderBox"},{default:e(()=>[(s(),S(T,null,A(2,g=>a(i,{key:g},{default:e(()=>[E,F,a(_,{justify:"flex-end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[p("查看")]),_:1}),a(d,{type:"text",style:{color:"#0a90d5"}},{default:e(()=>[p("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):O("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),K=j(J,[["__scopeId","data-v-4f1417af"]]);export{K as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByFormView-L619fQ34.js b/app/dubbo-ui/dist/admin/assets/addByFormView-Ia4T74MU.js
similarity index 68%
rename from app/dubbo-ui/dist/admin/assets/addByFormView-L619fQ34.js
rename to app/dubbo-ui/dist/admin/assets/addByFormView-Ia4T74MU.js
index 84e0c27..ce32d97 100644
--- a/app/dubbo-ui/dist/admin/assets/addByFormView-L619fQ34.js
+++ b/app/dubbo-ui/dist/admin/assets/addByFormView-Ia4T74MU.js
@@ -1 +1 @@
-import{u as ce}from"./index-Va7nxJVK.js";import{d as ue,x as de,y as re,W as pe,F as z,k as _e,a as fe,z as N,u as ye,r as ve,D as J,c as W,b as e,w as t,e as i,o as k,f as r,G as g,n as S,a9 as be,aa as he,J as me,K as ke,j as x,t as B,I as L,Q as P,p as ge,h as xe,_ as we}from"./index-hmLAZQYT.js";import{f as $e}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const E=A=>(ge("data-v-74fb5f17"),A=A(),xe(),A),Ce={class:"__container_tagRule_detail"},Ue={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Ke=E(()=>x("br",null,null,-1)),Ne=E(()=>x("br",null,null,-1)),Oe=E(()=>x("br",null,null,-1)),Re=E(()=>x("br",null,null,-1)),Ee=E(()=>x("br",null,null,-1)),Te=E(()=>x("br",null,null,-1)),je={class:"bottom-action-footer"},Se=ue({__name:"addByFormView",setup(A){const w=de(re.PROVIDE_INJECT_KEY);pe(()=>{if(!z.isNil(w.tagRule)){const{enabled:a=!0,key:l,scope:u,runtime:p=!0,tags:n}=w.tagRule;c.enable=a,c.objectOfAction=l,c.ruleGranularity=u,c.runtime=p,n&&n.length&&n.forEach((b,d)=>{m.value.push({tagName:b.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:_}=b;let s=[];_.forEach((y,f)=>{s.push({myKey:y.key,condition:Object.keys(y.value)[0],value:y.value[Object.keys(y.value)[0]]})}),m.value[d]&&m.value[d].scope&&(m.value[d].scope.labels=s)})}}),_e(),fe();const O=N(!1),G=N(8);ce().toClipboard;const Y=ye(),q=(a,l)=>{var n,b,d,_;let u=`对于应用 ${l||"未指定"},将满足 `;const p=[];if(((n=a.scope)==null?void 0:n.type)==="labels"&&((b=a.scope.labels)==null?void 0:b.length)>0)a.scope.labels.forEach(s=>{var C,v;let y="";if(s.myKey==="method")y="请求方法";else if((C=s.myKey)!=null&&C.startsWith("args[")){const T=(v=s.myKey.match(/\[(\d+)\]/))==null?void 0:v[1];T!==void 0?y=`第 ${parseInt(T)+1} 个参数`:y=`标签 ${s.myKey||"未指定"}`}else y=`标签 ${s.myKey||"未指定"}`;let f="";const h=s.value||"未指定";switch(s.condition){case"exact":f=`exact ${h}`;break;case"regex":f=`regex ${h}`;break;case"prefix":f=`prefix ${h}`;break;case"noempty":f="noempty";break;case"empty":f="empty";break;case"wildcard":f=`wildcard ${h}`;break;case"!=":f=`!= ${h}`;break;default:f=`${s.condition||"未知关系"} ${h}`}s.condition!=="empty"&&s.condition!=="noempty"&&!s.value?p.push(`${y} 未填写`):p.push(`${y} ${f}`)});else if(((d=a.scope)==null?void 0:d.type)==="addresses"&&((_=a.scope.addresses)!=null&&_.addressesStr)){const s=a.scope.addresses.condition==="="?"等于":"不等于";p.push(`地址 ${s} [${a.scope.addresses.addressesStr}]`)}return p.length===0?u+="任意请求":u+=p.join(" 且 "),u+=` 的实例,打上 ${a.tagName||"未指定"} 标签,划入 ${a.tagName||"未指定"} 的隔离环境`,u},c=ve({ruleGranularity:"application",objectOfAction:"",enable:!0,faultTolerantProtection:!0,runtime:!0,priority:1,configVersion:"v3.0"});J(c,a=>{const{enable:l,objectOfAction:u,runtime:p,ruleGranularity:n}=a;w.tagRule={...w.tagRule,enabled:l,key:u,runtime:p,scope:n}},{immediate:!!z.isNil(w.tagRule)});const M=N([{label:"labels",value:"labels"}]),Q=N([{label:"exact",value:"exact"},{label:"regex",value:"regex"},{label:"prefix",value:"prefix"},{label:"noempty",value:"noempty"},{label:"empty",value:"empty"},{label:"wildcard",value:"wildcard"}]),H=N([{label:"=",value:"="},{label:"!=",value:"!="}]),X=N([{title:"键",dataIndex:"myKey",key:"myKey"},{title:"关系",dataIndex:"condition",key:"condition"},{title:"值",dataIndex:"value",key:"value"},{title:"操作",dataIndex:"operation",key:"operation"}]),m=N([]);J(m,a=>{console.log(a);const l=[];a.forEach(u=>{const{tagName:p,scope:n}=u,b=n.labels,d={name:p,match:[]};b&&b.length>0&&b.forEach(_=>{d.match.push({key:_.myKey,value:{[_.condition]:_.value}})}),l.push(d)}),w.tagRule={...w.tagRule,tags:l}},{deep:!0,immediate:!!z.isNil(w.tagRule)});const Z=(a,l)=>{if(m.value[a].scope.labels.length===1){m.value[a].scope.type="addresses";return}m.value[a].scope.labels.splice(l,1)},I=a=>{m.value[a].scope.labels.push({myKey:"",condition:"exact",value:""})},ee=()=>{m.value.push({tagName:"",scope:{type:"labels",labels:[{myKey:"",condition:"",value:""}],addresses:{condition:"",addressesStr:""}}})},te=a=>{m.value.splice(a,1)},ae=async()=>{const{ruleGranularity:a,objectOfAction:l,enable:u,faultTolerantProtection:p,runtime:n,priority:b,configVersion:d}=c,_={configVersion:d,scope:a,key:l,enabled:u,runtime:n,tags:[]};m.value.forEach((f,h)=>{const C={name:f.tagName,match:[]};f.scope.labels.forEach((v,T)=>{const D={key:v.myKey,value:{}};D.value[v.condition]=v.value,C.match.push(D)}),_.tags.push(C)});let s="";a=="application"?s=`${l}.tag-router`:s=`${l}:${d}.tag-router`,(await $e(s,_)).code===200&&Y.push("/traffic/tagRule")};return(a,l)=>{const u=i("a-button"),p=i("a-flex"),n=i("a-form-item"),b=i("a-switch"),d=i("a-col"),_=i("a-input"),s=i("a-input-number"),y=i("a-row"),f=i("a-form"),h=i("a-card"),C=i("a-tooltip"),v=i("a-space"),T=i("a-radio-group"),D=i("a-tag"),F=i("a-select"),le=i("a-table"),oe=i("a-textarea"),V=i("a-descriptions-item"),ne=i("a-descriptions"),se=i("a-affix");return k(),W("div",Ce,[e(p,{style:{width:"100%"}},{default:t(()=>[e(d,{span:O.value?24-G.value:24,class:"left"},{default:t(()=>[e(h,null,{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:t(()=>[e(y,null,{default:t(()=>[e(p,{justify:"end",style:{width:"100%"}},{default:t(()=>[e(u,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=o=>O.value=!O.value)},{default:t(()=>[r(" 字段说明 "),O.value?(k(),g(S(he),{key:1})):(k(),g(S(be),{key:0}))]),_:1})]),_:1}),e(h,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:t(()=>[e(f,{layout:"horizontal"},{default:t(()=>[e(y,{style:{width:"100%"}},{default:t(()=>[e(d,{span:12},{default:t(()=>[e(n,{label:"规则粒度",required:""},{default:t(()=>[r(" 应用")]),_:1}),e(n,{label:"容错保护"},{default:t(()=>[e(b,{checked:c.faultTolerantProtection,"onUpdate:checked":l[1]||(l[1]=o=>c.faultTolerantProtection=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(n,{label:"运行时生效"},{default:t(()=>[e(b,{checked:c.runtime,"onUpdate:checked":l[2]||(l[2]=o=>c.runtime=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(d,{span:12},{default:t(()=>[e(n,{label:"作用对象",required:""},{default:t(()=>[e(_,{value:c.objectOfAction,"onUpdate:value":l[3]||(l[3]=o=>c.objectOfAction=o),style:{width:"200px"}},null,8,["value"])]),_:1}),e(n,{label:"立即启用"},{default:t(()=>[e(b,{checked:c.enable,"onUpdate:checked":l[4]||(l[4]=o=>c.enable=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(n,{label:"优先级"},{default:t(()=>[e(s,{min:"1",value:c.priority,"onUpdate:value":l[5]||(l[5]=o=>c.priority=o)},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(h,{title:"标签列表",style:{width:"100%"},class:"_detail"},{default:t(()=>[(k(!0),W(me,null,ke(m.value,(o,j)=>(k(),g(h,{key:j},{title:t(()=>[e(v,{align:"center"},{default:t(()=>[x("div",null,"路由【"+B(j+1)+"】",1),e(C,null,{title:t(()=>[r(B(q(o,c.objectOfAction)),1)]),default:t(()=>[x("div",Ue,B(q(o,c.objectOfAction)),1)]),_:2},1024)]),_:2},1024)]),default:t(()=>[e(f,{layout:"horizontal"},{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical",size:"large"},{default:t(()=>[e(p,{justify:"end"},{default:t(()=>[e(S(L),{onClick:U=>te(j),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),e(n,{label:"标签名",required:""},{default:t(()=>[e(_,{placeholder:"隔离环境名",value:o.tagName,"onUpdate:value":U=>o.tagName=U},null,8,["value","onUpdate:value"])]),_:2},1024),e(n,{label:"作用范围",required:""},{default:t(()=>[e(h,null,{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical"},{default:t(()=>[e(n,{label:"匹配条件类型"},{default:t(()=>[e(T,{value:o.scope.type,"onUpdate:value":U=>o.scope.type=U,options:M.value},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(v,{align:"start",style:{width:"100%"},direction:"horizontal"},{default:t(()=>{var U;return[e(D,{bordered:!1,color:"processing"},{default:t(()=>[r(B(o.scope.type),1)]),_:2},1024),o.scope.type==="labels"?(k(),g(le,{key:0,pagination:!1,columns:X.value,"data-source":(U=o.scope)==null?void 0:U.labels},{bodyCell:t(({column:$,record:R,text:Ae,index:ie})=>[$.key==="myKey"?(k(),g(_,{key:0,placeholder:"label key",value:R.myKey,"onUpdate:value":K=>R.myKey=K},null,8,["value","onUpdate:value"])):P("",!0),$.key==="condition"?(k(),g(F,{key:1,value:R.condition,"onUpdate:value":K=>R.condition=K,style:{width:"120px"},options:Q.value},null,8,["value","onUpdate:value","options"])):P("",!0),$.key==="value"?(k(),g(_,{key:2,placeholder:"label value",value:R.value,"onUpdate:value":K=>R.value=K},null,8,["value","onUpdate:value"])):$.key==="operation"?(k(),g(v,{key:3,align:"center"},{default:t(()=>[e(S(L),{icon:"tdesign:remove",class:"action-icon",onClick:K=>Z(j,ie)},null,8,["onClick"]),e(S(L),{class:"action-icon",icon:"tdesign:add",onClick:K=>I(j)},null,8,["onClick"])]),_:2},1024)):P("",!0)]),_:2},1032,["columns","data-source"])):(k(),g(v,{key:1,align:"start"},{default:t(()=>[e(F,{style:{width:"120px"},value:o.scope.addresses.condition,"onUpdate:value":$=>o.scope.addresses.condition=$,options:H.value},null,8,["value","onUpdate:value","options"]),e(oe,{style:{width:"500px"},value:o.scope.addresses.addressesStr,"onUpdate:value":$=>o.scope.addresses.addressesStr=$,placeholder:'地址列表,如有多个用","隔开'},null,8,["value","onUpdate:value"])]),_:2},1024))]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1}),e(u,{onClick:ee,type:"primary"},{default:t(()=>[r(" 增加标签")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(d,{span:O.value?G.value:0,class:"right"},{default:t(()=>[O.value?(k(),g(h,{key:0,class:"sliderBox"},{default:t(()=>[x("div",null,[e(ne,{title:"字段说明",column:1},{default:t(()=>[e(V,{label:"key"},{default:t(()=>[r(" 作用对象"),Ke,r(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(V,{label:"scope"},{default:t(()=>[r(" 规则粒度"),Ne,r(" 可能的值:application, service ")]),_:1}),e(V,{label:"force"},{default:t(()=>[r(" 容错保护"),Oe,r(" 可能的值:true, false"),Re,r(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(V,{label:"runtime"},{default:t(()=>[r(" 运行时生效"),Ee,r(" 可能的值:true, false"),Te,r(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):P("",!0)]),_:1},8,["span"])]),_:1}),e(se,{"offset-bottom":10},{default:t(()=>[x("div",je,[e(v,{align:"center",size:"large"},{default:t(()=>[e(u,{type:"primary",onClick:ae},{default:t(()=>[r(" 确认")]),_:1}),e(u,null,{default:t(()=>[r(" 取消")]),_:1})]),_:1})])]),_:1})])}}}),ze=we(Se,[["__scopeId","data-v-74fb5f17"]]);export{ze as default};
+import{u as ce}from"./index-HdnVQEsT.js";import{d as ue,y as de,z as re,D as pe,H as z,k as _e,a as fe,B as O,u as ye,r as ve,F as J,c as M,b as e,w as t,e as i,o as k,f as r,J as g,n as S,aa as be,ab as he,L as me,M as ke,j as x,t as V,I as L,T as P,p as ge,h as xe,_ as we}from"./index-3zDsduUv.js";import{f as $e}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const T=A=>(ge("data-v-74fb5f17"),A=A(),xe(),A),Ce={class:"__container_tagRule_detail"},Ue={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Ne=T(()=>x("br",null,null,-1)),Oe=T(()=>x("br",null,null,-1)),Re=T(()=>x("br",null,null,-1)),Ke=T(()=>x("br",null,null,-1)),Te=T(()=>x("br",null,null,-1)),Ee=T(()=>x("br",null,null,-1)),je={class:"bottom-action-footer"},Se=ue({__name:"addByFormView",setup(A){const w=de(re.PROVIDE_INJECT_KEY);pe(()=>{if(!z.isNil(w.tagRule)){const{enabled:a=!0,key:l,scope:u,runtime:p=!0,tags:n}=w.tagRule;c.enable=a,c.objectOfAction=l,c.ruleGranularity=u,c.runtime=p,n&&n.length&&n.forEach((b,d)=>{m.value.push({tagName:b.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:_}=b;let s=[];_.forEach((y,f)=>{s.push({myKey:y.key,condition:Object.keys(y.value)[0],value:y.value[Object.keys(y.value)[0]]})}),m.value[d]&&m.value[d].scope&&(m.value[d].scope.labels=s)})}}),_e(),fe();const R=O(!1),q=O(8);ce().toClipboard;const Y=ye(),F=(a,l)=>{var n,b,d,_;let u=`对于应用 ${l||"未指定"},将满足 `;const p=[];if(((n=a.scope)==null?void 0:n.type)==="labels"&&((b=a.scope.labels)==null?void 0:b.length)>0)a.scope.labels.forEach(s=>{var C,v;let y="";if(s.myKey==="method")y="请求方法";else if((C=s.myKey)!=null&&C.startsWith("args[")){const E=(v=s.myKey.match(/\[(\d+)\]/))==null?void 0:v[1];E!==void 0?y=`第 ${parseInt(E)+1} 个参数`:y=`标签 ${s.myKey||"未指定"}`}else y=`标签 ${s.myKey||"未指定"}`;let f="";const h=s.value||"未指定";switch(s.condition){case"exact":f=`exact ${h}`;break;case"regex":f=`regex ${h}`;break;case"prefix":f=`prefix ${h}`;break;case"noempty":f="noempty";break;case"empty":f="empty";break;case"wildcard":f=`wildcard ${h}`;break;case"!=":f=`!= ${h}`;break;default:f=`${s.condition||"未知关系"} ${h}`}s.condition!=="empty"&&s.condition!=="noempty"&&!s.value?p.push(`${y} 未填写`):p.push(`${y} ${f}`)});else if(((d=a.scope)==null?void 0:d.type)==="addresses"&&((_=a.scope.addresses)!=null&&_.addressesStr)){const s=a.scope.addresses.condition==="="?"等于":"不等于";p.push(`地址 ${s} [${a.scope.addresses.addressesStr}]`)}return p.length===0?u+="任意请求":u+=p.join(" 且 "),u+=` 的实例,打上 ${a.tagName||"未指定"} 标签,划入 ${a.tagName||"未指定"} 的隔离环境`,u},c=ve({ruleGranularity:"application",objectOfAction:"",enable:!0,faultTolerantProtection:!0,runtime:!0,priority:1,configVersion:"v3.0"});J(c,a=>{const{enable:l,objectOfAction:u,runtime:p,ruleGranularity:n}=a;w.tagRule={...w.tagRule,enabled:l,key:u,runtime:p,scope:n}},{immediate:!!z.isNil(w.tagRule)});const H=O([{label:"labels",value:"labels"}]),W=O([{label:"exact",value:"exact"},{label:"regex",value:"regex"},{label:"prefix",value:"prefix"},{label:"noempty",value:"noempty"},{label:"empty",value:"empty"},{label:"wildcard",value:"wildcard"}]),Q=O([{label:"=",value:"="},{label:"!=",value:"!="}]),X=O([{title:"键",dataIndex:"myKey",key:"myKey"},{title:"关系",dataIndex:"condition",key:"condition"},{title:"值",dataIndex:"value",key:"value"},{title:"操作",dataIndex:"operation",key:"operation"}]),m=O([]);J(m,a=>{console.log(a);const l=[];a.forEach(u=>{const{tagName:p,scope:n}=u,b=n.labels,d={name:p,match:[]};b&&b.length>0&&b.forEach(_=>{d.match.push({key:_.myKey,value:{[_.condition]:_.value}})}),l.push(d)}),w.tagRule={...w.tagRule,tags:l}},{deep:!0,immediate:!!z.isNil(w.tagRule)});const Z=(a,l)=>{if(m.value[a].scope.labels.length===1){m.value[a].scope.type="addresses";return}m.value[a].scope.labels.splice(l,1)},I=a=>{m.value[a].scope.labels.push({myKey:"",condition:"exact",value:""})},ee=()=>{m.value.push({tagName:"",scope:{type:"labels",labels:[{myKey:"",condition:"",value:""}],addresses:{condition:"",addressesStr:""}}})},te=a=>{m.value.splice(a,1)},ae=async()=>{const{ruleGranularity:a,objectOfAction:l,enable:u,faultTolerantProtection:p,runtime:n,priority:b,configVersion:d}=c,_={configVersion:d,scope:a,key:l,enabled:u,runtime:n,tags:[]};m.value.forEach((f,h)=>{const C={name:f.tagName,match:[]};f.scope.labels.forEach((v,E)=>{const D={key:v.myKey,value:{}};D.value[v.condition]=v.value,C.match.push(D)}),_.tags.push(C)});let s="";a=="application"?s=`${l}.tag-router`:s=`${l}:${d}.tag-router`,(await $e(s,_)).code===200&&Y.push("/traffic/tagRule")};return(a,l)=>{const u=i("a-button"),p=i("a-flex"),n=i("a-form-item"),b=i("a-switch"),d=i("a-col"),_=i("a-input"),s=i("a-input-number"),y=i("a-row"),f=i("a-form"),h=i("a-card"),C=i("a-tooltip"),v=i("a-space"),E=i("a-radio-group"),D=i("a-tag"),G=i("a-select"),le=i("a-table"),oe=i("a-textarea"),B=i("a-descriptions-item"),ne=i("a-descriptions"),se=i("a-affix");return k(),M("div",Ce,[e(p,{style:{width:"100%"}},{default:t(()=>[e(d,{span:R.value?24-q.value:24,class:"left"},{default:t(()=>[e(h,null,{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:t(()=>[e(y,null,{default:t(()=>[e(p,{justify:"end",style:{width:"100%"}},{default:t(()=>[e(u,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=o=>R.value=!R.value)},{default:t(()=>[r(" 字段说明 "),R.value?(k(),g(S(he),{key:1})):(k(),g(S(be),{key:0}))]),_:1})]),_:1}),e(h,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:t(()=>[e(f,{layout:"horizontal"},{default:t(()=>[e(y,{style:{width:"100%"}},{default:t(()=>[e(d,{span:12},{default:t(()=>[e(n,{label:"规则粒度",required:""},{default:t(()=>[r(" 应用")]),_:1}),e(n,{label:"容错保护"},{default:t(()=>[e(b,{checked:c.faultTolerantProtection,"onUpdate:checked":l[1]||(l[1]=o=>c.faultTolerantProtection=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(n,{label:"运行时生效"},{default:t(()=>[e(b,{checked:c.runtime,"onUpdate:checked":l[2]||(l[2]=o=>c.runtime=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(d,{span:12},{default:t(()=>[e(n,{label:"作用对象",required:""},{default:t(()=>[e(_,{value:c.objectOfAction,"onUpdate:value":l[3]||(l[3]=o=>c.objectOfAction=o),style:{width:"200px"}},null,8,["value"])]),_:1}),e(n,{label:"立即启用"},{default:t(()=>[e(b,{checked:c.enable,"onUpdate:checked":l[4]||(l[4]=o=>c.enable=o),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(n,{label:"优先级"},{default:t(()=>[e(s,{min:"1",value:c.priority,"onUpdate:value":l[5]||(l[5]=o=>c.priority=o)},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(h,{title:"标签列表",style:{width:"100%"},class:"_detail"},{default:t(()=>[(k(!0),M(me,null,ke(m.value,(o,j)=>(k(),g(h,{key:j},{title:t(()=>[e(v,{align:"center"},{default:t(()=>[x("div",null,"路由【"+V(j+1)+"】",1),e(C,null,{title:t(()=>[r(V(F(o,c.objectOfAction)),1)]),default:t(()=>[x("div",Ue,V(F(o,c.objectOfAction)),1)]),_:2},1024)]),_:2},1024)]),default:t(()=>[e(f,{layout:"horizontal"},{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical",size:"large"},{default:t(()=>[e(p,{justify:"end"},{default:t(()=>[e(S(L),{onClick:U=>te(j),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),e(n,{label:"标签名",required:""},{default:t(()=>[e(_,{placeholder:"隔离环境名",value:o.tagName,"onUpdate:value":U=>o.tagName=U},null,8,["value","onUpdate:value"])]),_:2},1024),e(n,{label:"作用范围",required:""},{default:t(()=>[e(h,null,{default:t(()=>[e(v,{style:{width:"100%"},direction:"vertical"},{default:t(()=>[e(n,{label:"匹配条件类型"},{default:t(()=>[e(E,{value:o.scope.type,"onUpdate:value":U=>o.scope.type=U,options:H.value},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(v,{align:"start",style:{width:"100%"},direction:"horizontal"},{default:t(()=>{var U;return[e(D,{bordered:!1,color:"processing"},{default:t(()=>[r(V(o.scope.type),1)]),_:2},1024),o.scope.type==="labels"?(k(),g(le,{key:0,pagination:!1,columns:X.value,"data-source":(U=o.scope)==null?void 0:U.labels},{bodyCell:t(({column:$,record:K,text:Ae,index:ie})=>[$.key==="myKey"?(k(),g(_,{key:0,placeholder:"label key",value:K.myKey,"onUpdate:value":N=>K.myKey=N},null,8,["value","onUpdate:value"])):P("",!0),$.key==="condition"?(k(),g(G,{key:1,value:K.condition,"onUpdate:value":N=>K.condition=N,style:{width:"120px"},options:W.value},null,8,["value","onUpdate:value","options"])):P("",!0),$.key==="value"?(k(),g(_,{key:2,placeholder:"label value",value:K.value,"onUpdate:value":N=>K.value=N},null,8,["value","onUpdate:value"])):$.key==="operation"?(k(),g(v,{key:3,align:"center"},{default:t(()=>[e(S(L),{icon:"tdesign:remove",class:"action-icon",onClick:N=>Z(j,ie)},null,8,["onClick"]),e(S(L),{class:"action-icon",icon:"tdesign:add",onClick:N=>I(j)},null,8,["onClick"])]),_:2},1024)):P("",!0)]),_:2},1032,["columns","data-source"])):(k(),g(v,{key:1,align:"start"},{default:t(()=>[e(G,{style:{width:"120px"},value:o.scope.addresses.condition,"onUpdate:value":$=>o.scope.addresses.condition=$,options:Q.value},null,8,["value","onUpdate:value","options"]),e(oe,{style:{width:"500px"},value:o.scope.addresses.addressesStr,"onUpdate:value":$=>o.scope.addresses.addressesStr=$,placeholder:'地址列表,如有多个用","隔开'},null,8,["value","onUpdate:value"])]),_:2},1024))]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1}),e(u,{onClick:ee,type:"primary"},{default:t(()=>[r(" 增加标签")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(d,{span:R.value?q.value:0,class:"right"},{default:t(()=>[R.value?(k(),g(h,{key:0,class:"sliderBox"},{default:t(()=>[x("div",null,[e(ne,{title:"字段说明",column:1},{default:t(()=>[e(B,{label:"key"},{default:t(()=>[r(" 作用对象"),Ne,r(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(B,{label:"scope"},{default:t(()=>[r(" 规则粒度"),Oe,r(" 可能的值:application, service ")]),_:1}),e(B,{label:"force"},{default:t(()=>[r(" 容错保护"),Re,r(" 可能的值:true, false"),Ke,r(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(B,{label:"runtime"},{default:t(()=>[r(" 运行时生效"),Te,r(" 可能的值:true, false"),Ee,r(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):P("",!0)]),_:1},8,["span"])]),_:1}),e(se,{"offset-bottom":10},{default:t(()=>[x("div",je,[e(v,{align:"center",size:"large"},{default:t(()=>[e(u,{type:"primary",onClick:ae},{default:t(()=>[r(" 确认")]),_:1}),e(u,null,{default:t(()=>[r(" 取消")]),_:1})]),_:1})])]),_:1})])}}}),ze=we(Se,[["__scopeId","data-v-74fb5f17"]]);export{ze as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByFormView-PDTQ6Oi5.js b/app/dubbo-ui/dist/admin/assets/addByFormView-PDTQ6Oi5.js
deleted file mode 100644
index 2f6461e..0000000
--- a/app/dubbo-ui/dist/admin/assets/addByFormView-PDTQ6Oi5.js
+++ /dev/null
@@ -1 +0,0 @@
-import{u as Ue}from"./index-Va7nxJVK.js";import{d as we,x as Re,y as De,W as Ke,F as Q,k as Se,u as qe,z as W,r as Oe,D as le,c as F,b as e,w as l,e as K,o as v,f as C,G as _,n as j,a9 as je,aa as Ee,Q as q,J as L,K as X,j as N,t as A,I as z,p as Ae,h as ze,_ as Be}from"./index-hmLAZQYT.js";import{a as Ve}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const J=Y=>(Ae("data-v-d3c6be66"),Y=Y(),ze(),Y),Ge={class:"__container_routingRule_detail"},Ne={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},me=J(()=>N("br",null,null,-1)),Pe=J(()=>N("br",null,null,-1)),We=J(()=>N("br",null,null,-1)),xe=J(()=>N("br",null,null,-1)),Fe=J(()=>N("br",null,null,-1)),Je=J(()=>N("br",null,null,-1)),Le=we({__name:"addByFormView",setup(Y){const E=Re(De.PROVIDE_INJECT_KEY);Ke(()=>{if(!Q.isNil(E.conditionRule)){const{enabled:s=!0,key:t,scope:i,runtime:h=!0,conditions:$}=E.conditionRule;g.enable=s,g.objectOfAction=t,g.ruleGranularity=i,g.runtime=h,$&&$.length&&$.forEach((r,n)=>{var f,S;const k=r.split("=>"),o=(f=k[0])==null?void 0:f.trim(),M=(S=k[1])==null?void 0:S.trim();d.value[n].requestMatch=$e(o,n),d.value[n].routeDistribute=Te(M,n)})}if(!Q.isNil(E.addConditionRuleSate)){const{version:s,group:t}=E.addConditionRuleSate;g.version=s,g.group=t}}),Se();const ae=qe(),x=W(!1),Z=W(8);Ue().toClipboard;const g=Oe({version:"",ruleGranularity:"",objectOfAction:"",enable:!0,faultTolerantProtection:!1,runtime:!0,priority:null,group:""});le(g,s=>{const{ruleGranularity:t,enable:i=!0,runtime:h=!0,objectOfAction:$}=s;E.conditionRule={...E.conditionRule,enabled:i,key:$,runtime:h,scope:t},E.addConditionRuleSate={version:s.version,group:s.group}},{immediate:!!Q.isNil(E.conditionRule)});const ne=W([{label:"host",value:"host"},{label:"application",value:"application"},{label:"method",value:"method"},{label:"arguments",value:"arguments"},{label:"attachments",value:"attachments"},{label:"其他",value:"other"}]),se=W([{label:"host",value:"host"},{label:"其他",value:"other"}]),m=W([{label:"=",value:"="},{label:"!=",value:"!="}]),oe=W([{label:"应用",value:"application"},{label:"服务",value:"service"}]),d=W([{selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"",value:""},{type:"other",list:[{myKey:"",condition:"",value:""}]}]}]);le(d,s=>{E.conditionRule={...E.conditionRule,conditions:te()}},{deep:!0,immediate:!!Q.isNil(E.conditionRule)});const ie=()=>{d.value.push({selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]})},ue=s=>{d.value.splice(s,1)},ce=s=>{d.value[s].requestMatch=[],d.value[s].selectedMatchConditionTypes=[]},de=s=>{d.value[s].requestMatch=[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[{index:0,condition:"",value:""}]},{type:"attachments",list:[{myKey:"key",condition:"",value:""}]},{type:"other",list:[{myKey:"key",condition:"",value:""}]}]},H=(s,t)=>{d.value[t].selectedMatchConditionTypes=d.value[t].selectedMatchConditionTypes.filter(i=>i!==s)},re=(s,t)=>{d.value[t].selectedRouteDistributeMatchTypes=d.value[t].selectedRouteDistributeMatchTypes.filter(i=>i!==s)},pe=[{dataIndex:"index",key:"index",title:"参数索引"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ve=(s,t)=>{d.value[s].requestMatch[t].list.push({index:0,condition:"=",value:""})},ye=(s,t,i)=>{d.value[s].requestMatch[t].list.length===1&&(d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="arguments")),d.value[s].requestMatch[t].list.splice(i,1)},he=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],fe=(s,t)=>{d.value[s].requestMatch[t].list.push({key:"key",condition:"=",value:""})},_e=(s,t,i)=>{d.value[s].requestMatch[t].list.length===1&&(d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="attachments")),d.value[s].requestMatch[t].list.splice(i,1)},I=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ke=(s,t)=>{d.value[s].requestMatch[t].list.push({myKey:"",condition:"=",value:""})},be=(s,t,i)=>{if(d.value[s].requestMatch[t].list.length===1){d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="other");return}d.value[s].requestMatch[t].list.splice(i,1)},ge=(s,t)=>{d.value[s].routeDistribute[t].list.push({myKey:"",condition:"=",value:""})},Ce=(s,t,i)=>{if(d.value[s].routeDistribute[t].list.length===1){d.value[s].selectedRouteDistributeMatchTypes=d.value[s].selectedRouteDistributeMatchTypes.filter(h=>h!=="other");return}d.value[s].routeDistribute[t].list.splice(i,1)};function ee(s){var f,S;const t=d.value[s],{ruleGranularity:i,objectOfAction:h}=g;let r=`对于${i==="service"?"服务":"应用"}【${h||"未指定"}】`,n=[];(f=t.selectedMatchConditionTypes)==null||f.forEach(U=>{var V,P,p,b;const R=(V=t.requestMatch)==null?void 0:V.find(a=>a.type===U);if(!R)return;let y="";const O=R.condition==="="?"等于":R.condition==="!="?"不等于":R.condition||"",B=R.value||"未指定";switch(U){case"host":y=`请求来源主机 ${O} ${B}`;break;case"application":y=`请求来源应用 ${O} ${B}`;break;case"method":y=`请求方法 ${O} ${B}`;break;case"arguments":const a=(P=R.list)==null?void 0:P.map(u=>{const G=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`参数[${u.index}] ${G} ${D}`}).filter(Boolean);(a==null?void 0:a.length)>0&&(y=a.join(" 且 "));break;case"attachments":const T=(p=R.list)==null?void 0:p.map(u=>{const G=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`附件[${u.myKey||"未指定"}] ${G} ${D}`}).filter(Boolean);(T==null?void 0:T.length)>0&&(y=T.join(" 且 "));break;case"other":const c=(b=R.list)==null?void 0:b.map(u=>{const G=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`自定义匹配[${u.myKey||"未指定"}] ${G} ${D}`}).filter(Boolean);(c==null?void 0:c.length)>0&&(y=c.join(" 且 "));break}y&&((U==="host"||U==="application"||U==="method")&&!R.value?n.push(`${U==="host"?"请求来源主机":U==="application"?"请求来源应用":"请求方法"} 未填写`):n.push(y))});const k=n.length>0?n.join(" 且 "):"任意请求";let o=[];(S=t.selectedRouteDistributeMatchTypes)==null||S.forEach(U=>{var V,P;const R=(V=t.routeDistribute)==null?void 0:V.find(p=>p.type===U);if(!R)return;let y="";const O=R.condition==="="?"等于":R.condition==="!="?"不等于":R.condition||"",B=R.value||"未指定";switch(U){case"host":y=`目标主机 ${O} ${B}`;break;case"other":const p=(P=R.list)==null?void 0:P.map(b=>{const a=b.condition==="="?"等于":b.condition==="!="?"不等于":b.condition||"",T=b.value!==void 0&&b.value!==""?b.value:"未指定";return`目标标签[${b.myKey||"未指定"}] ${a} ${T}`}).filter(Boolean);(p==null?void 0:p.length)>0&&(y=p.join(" 且 "));break}y&&(U==="host"&&!R.value?o.push("目标主机 未填写"):o.push(y))});const M=o.length>0?`满足 【${o.join(" 且 ")}】`:"默认路由规则";return`${r},将满足 【${k}】 条件的请求,转发到 ${M} 的实例。`}function te(){let s=[],t="",i="";return d.value.forEach((h,$)=>{h.selectedMatchConditionTypes.forEach((n,k)=>{h.requestMatch.forEach((o,M)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"arguments":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${n}[${f.index}]${f.condition}${f.value}`});break;case"attachments":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${n}[${f.myKey}]${f.condition}${f.value}`});break;case"other":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${f.myKey}${f.condition}${f.value}`});break;default:t.length>0&&(t+=" & "),t+=`${o.type}${o.condition}${o.value}`}})}),h.selectedRouteDistributeMatchTypes.forEach((n,k)=>{h.routeDistribute.forEach((o,M)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"other":o==null||o.list.forEach((f,S)=>{i.length>0&&(i+=" & "),i+=`${f.myKey}${f.condition}${f.value}`});break;default:i.length>0&&(i+=" & "),i+=`${o.type}${o.condition}${o.value}`}})});let r="";t.length>0&&i.length>0?r=`${t} => ${i}`:t.length>0&&i.length==0&&(r=`${t}`),s.push(r)}),s}const Me=async()=>{const{version:s,ruleGranularity:t,objectOfAction:i,enable:h,faultTolerantProtection:$,runtime:r,group:n}=g,k={configVersion:"v3.0",scope:t,key:i,enabled:h,force:$,runtime:r,conditions:te()};let o="";t=="application"?o=`${i}.condition-router`:o=`${i}:${s||""}:${n||""}.condition-router`,(await Ve(o,k)).code===200&&ae.push("/traffic/routingRule")};function $e(s,t){const i=[],h=s.split(" & ");return[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[]},{type:"attachments",list:[]},{type:"other",list:[]}].forEach(r=>i.push({...r})),h.forEach(r=>{if(r=r.trim(),r.startsWith("host")){d.value[t].selectedMatchConditionTypes.push("host");const n=r.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="host");M.condition=k,M.value=o}}else if(r.startsWith("application")){d.value[t].selectedMatchConditionTypes.push("application");const n=r.match(/^application(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="application");M.condition=k,M.value=o}}else if(r.startsWith("method")){d.value[t].selectedMatchConditionTypes.push("method");const n=r.match(/^method(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="method");M.condition=k,M.value=o}}else if(r.startsWith("arguments")){!d.value[t].selectedMatchConditionTypes.includes("arguments")&&d.value[t].selectedMatchConditionTypes.push("arguments");const n=r.match(/^arguments\[(\d+)\](!=|=)(.+)/);if(n){const k=parseInt(n[1],10),o=n[2],M=n[3].trim();i.find(S=>S.type==="arguments").list.push({index:k,condition:o,value:M})}}else if(r.startsWith("attachments")){!d.value[t].selectedMatchConditionTypes.includes("attachments")&&d.value[t].selectedMatchConditionTypes.push("attachments");const n=r.match(/^attachments\[(.+)\](!=|=)(.+)/);if(n){const k=n[1].trim(),o=n[2],M=n[3].trim();i.find(S=>S.type==="attachments").list.push({myKey:k,condition:o,value:M})}}else{const n=r.match(/^([^!=]+)(!?=)(.+)$/);if(n){!d.value[t].selectedMatchConditionTypes.includes("other")&&d.value[t].selectedMatchConditionTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}function Te(s,t){const i=[],h=s==null?void 0:s.split(" & ");return[{type:"host",condition:"",value:""},{type:"other",list:[]}].forEach(r=>i.push({...r})),h!=null&&h.length&&h.forEach(r=>{if(r=r.trim(),r.startsWith("host")){d.value[t].selectedRouteDistributeMatchTypes.push("host");const n=r.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="host");M.condition=k,M.value=o}}else{const n=r.match(/^([^!=]+)(!?=)(.+)$/);if(n){!d.value[t].selectedRouteDistributeMatchTypes.includes("other")&&d.value[t].selectedRouteDistributeMatchTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}return(s,t)=>{const i=K("a-button"),h=K("a-flex"),$=K("a-select"),r=K("a-form-item"),n=K("a-input"),k=K("a-switch"),o=K("a-col"),M=K("a-input-number"),f=K("a-row"),S=K("a-form"),U=K("a-card"),R=K("a-tooltip"),y=K("a-space"),O=K("a-tag"),B=K("a-table"),V=K("a-descriptions-item"),P=K("a-descriptions");return v(),F("div",Ge,[e(h,{style:{width:"100%"}},{default:l(()=>[e(o,{span:x.value?24-Z.value:24,class:"left"},{default:l(()=>[e(U,null,{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:l(()=>[e(f,null,{default:l(()=>[e(h,{justify:"end",style:{width:"100%"}},{default:l(()=>[e(i,{type:"text",style:{color:"#0a90d5"},onClick:t[0]||(t[0]=p=>x.value=!x.value)},{default:l(()=>[C(" 字段说明 "),x.value?(v(),_(j(Ee),{key:1})):(v(),_(j(je),{key:0}))]),_:1})]),_:1}),e(U,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:l(()=>[e(S,{layout:"horizontal"},{default:l(()=>[e(f,{style:{width:"100%"}},{default:l(()=>[e(o,{span:12},{default:l(()=>[e(r,{label:"规则粒度",required:""},{default:l(()=>[e($,{value:g.ruleGranularity,"onUpdate:value":t[1]||(t[1]=p=>g.ruleGranularity=p),style:{width:"120px"},options:oe.value},null,8,["value","options"])]),_:1}),g.ruleGranularity==="service"?(v(),_(r,{key:0,label:"版本",required:""},{default:l(()=>[e(n,{value:g.version,"onUpdate:value":t[2]||(t[2]=p=>g.version=p),style:{width:"300px"}},null,8,["value"])]),_:1})):q("",!0),e(r,{label:"容错保护"},{default:l(()=>[e(k,{checked:g.faultTolerantProtection,"onUpdate:checked":t[3]||(t[3]=p=>g.faultTolerantProtection=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(r,{label:"运行时生效"},{default:l(()=>[e(k,{checked:g.runtime,"onUpdate:checked":t[4]||(t[4]=p=>g.runtime=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(o,{span:12},{default:l(()=>[e(r,{label:"作用对象",required:""},{default:l(()=>[e(n,{value:g.objectOfAction,"onUpdate:value":t[5]||(t[5]=p=>g.objectOfAction=p),style:{width:"300px"}},null,8,["value"])]),_:1}),g.ruleGranularity==="service"?(v(),_(r,{key:0,label:"分组",required:""},{default:l(()=>[e(n,{value:g.group,"onUpdate:value":t[6]||(t[6]=p=>g.group=p),style:{width:"300px"}},null,8,["value"])]),_:1})):q("",!0),e(r,{label:"立即启用"},{default:l(()=>[e(k,{checked:g.enable,"onUpdate:checked":t[7]||(t[7]=p=>g.enable=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(r,{label:"优先级"},{default:l(()=>[e(M,{value:g.priority,"onUpdate:value":t[8]||(t[8]=p=>g.priority=p),min:"1"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(U,{title:"路由列表",style:{width:"100%"},class:"_detail"},{default:l(()=>[(v(!0),F(L,null,X(d.value,(p,b)=>(v(),_(U,null,{title:l(()=>[e(h,{justify:"space-between"},{default:l(()=>[e(y,{align:"center"},{default:l(()=>[N("div",null,"路由【"+A(b+1)+"】",1),e(R,null,{title:l(()=>[C(A(ee(b)),1)]),default:l(()=>[N("div",Ne,A(ee(b)),1)]),_:2},1024)]),_:2},1024),e(j(z),{onClick:a=>ue(b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)]),default:l(()=>[e(S,{layout:"horizontal"},{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"large"},{default:l(()=>[e(r,{label:"请求匹配"},{default:l(()=>[p.requestMatch.length>0?(v(),_(U,{key:0},{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[e(h,{align:"center",justify:"space-between"},{default:l(()=>[e(r,{label:"匹配条件类型"},{default:l(()=>[e($,{value:p.selectedMatchConditionTypes,"onUpdate:value":a=>p.selectedMatchConditionTypes=a,options:ne.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(j(z),{onClick:a=>ce(b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),(v(!0),F(L,null,X(p.requestMatch,(a,T)=>(v(),F(L,null,[p.selectedMatchConditionTypes.includes("host")&&a.type==="host"?(v(),_(y,{key:0,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>H(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("application")&&a.type==="application"?(v(),_(y,{key:1,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源应用名"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>H(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("method")&&a.type==="method"?(v(),_(y,{key:2,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"方法值"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>H(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("arguments")&&a.type==="arguments"?(v(),_(y,{key:3,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ve(b,T)},{default:l(()=>[C(" 添加argument ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:pe,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:G,index:D})=>[c.key==="index"?(v(),_(n,{key:0,value:u.index,"onUpdate:value":w=>u.index=w,placeholder:"index"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>ye(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("attachments")&&a.type==="attachments"?(v(),_(y,{key:4,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>fe(b,T)},{default:l(()=>[C(" 添加attachment ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:he,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:G,index:D})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":w=>u.myKey=w,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>_e(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("other")&&a.type==="other"?(v(),_(y,{key:5,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ke(b,T)},{default:l(()=>[C(" 添加other ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:I,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:G})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:D=>be(b,T,u.index),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0)],64))),256))]),_:2},1024)]),_:2},1024)):(v(),_(i,{key:1,onClick:a=>de(b),type:"dashed",size:"large"},{icon:l(()=>[e(j(z),{icon:"tdesign:add"})]),default:l(()=>[C(" 增加匹配条件 ")]),_:2},1032,["onClick"]))]),_:2},1024),e(r,{label:"路由分发",required:""},{default:l(()=>[e(U,null,{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[e(h,null,{default:l(()=>[e(r,{label:"匹配条件类型"},{default:l(()=>[e($,{value:p.selectedRouteDistributeMatchTypes,"onUpdate:value":a=>p.selectedRouteDistributeMatchTypes=a,options:se.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024)]),_:2},1024),(v(!0),F(L,null,X(p.routeDistribute,(a,T)=>(v(),F(L,{key:T},[p.selectedRouteDistributeMatchTypes.includes("host")&&a.type==="host"?(v(),_(y,{key:0,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>re(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedRouteDistributeMatchTypes.includes("other")&&a.type==="other"?(v(),_(y,{key:1,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ge(b,T)},{default:l(()=>[C(" 添加其他 ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:I,"data-source":p.routeDistribute[T].list},{bodyCell:l(({column:c,record:u,text:G,index:D})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":w=>u.myKey=w,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>Ce(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0)],64))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1}),e(i,{onClick:ie,type:"primary"},{default:l(()=>[C(" 增加路由")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(o,{span:x.value?Z.value:0,class:"right"},{default:l(()=>[x.value?(v(),_(U,{key:0,class:"sliderBox"},{default:l(()=>[N("div",null,[e(P,{title:"字段说明",column:1},{default:l(()=>[e(V,{label:"key"},{default:l(()=>[C(" 作用对象"),me,C(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(V,{label:"scope"},{default:l(()=>[C(" 规则粒度"),Pe,C(" 可能的值:application, service ")]),_:1}),e(V,{label:"force"},{default:l(()=>[C(" 容错保护"),We,C(" 可能的值:true, false"),xe,C(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(V,{label:"runtime"},{default:l(()=>[C(" 运行时生效"),Fe,C(" 可能的值:true, false"),Je,C(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):q("",!0)]),_:1},8,["span"])]),_:1}),e(U,{class:"footer"},{default:l(()=>[e(h,null,{default:l(()=>[e(i,{type:"primary",onClick:Me},{default:l(()=>[C("确认")]),_:1})]),_:1})]),_:1})])}}}),Ze=Be(Le,[["__scopeId","data-v-d3c6be66"]]);export{Ze as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByFormView-suZAGsdv.js b/app/dubbo-ui/dist/admin/assets/addByFormView-suZAGsdv.js
new file mode 100644
index 0000000..b50ef01
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/addByFormView-suZAGsdv.js
@@ -0,0 +1 @@
+import{u as Ue}from"./index-HdnVQEsT.js";import{d as we,y as Re,z as De,D as Ke,H,k as Se,u as qe,B as W,r as Oe,F as le,c as F,b as e,w as l,e as K,o as v,f as C,J as _,n as j,aa as je,ab as Ee,T as q,L as J,M as X,j as G,t as A,I as z,p as Ae,h as ze,_ as Be}from"./index-3zDsduUv.js";import{a as Ve}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const L=Y=>(Ae("data-v-d3c6be66"),Y=Y(),ze(),Y),Ne={class:"__container_routingRule_detail"},Ge={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},me=L(()=>G("br",null,null,-1)),Pe=L(()=>G("br",null,null,-1)),We=L(()=>G("br",null,null,-1)),xe=L(()=>G("br",null,null,-1)),Fe=L(()=>G("br",null,null,-1)),Le=L(()=>G("br",null,null,-1)),Je=we({__name:"addByFormView",setup(Y){const E=Re(De.PROVIDE_INJECT_KEY);Ke(()=>{if(!H.isNil(E.conditionRule)){const{enabled:s=!0,key:t,scope:i,runtime:h=!0,conditions:$}=E.conditionRule;g.enable=s,g.objectOfAction=t,g.ruleGranularity=i,g.runtime=h,$&&$.length&&$.forEach((r,n)=>{var f,S;const k=r.split("=>"),o=(f=k[0])==null?void 0:f.trim(),M=(S=k[1])==null?void 0:S.trim();d.value[n].requestMatch=$e(o,n),d.value[n].routeDistribute=Te(M,n)})}if(!H.isNil(E.addConditionRuleSate)){const{version:s,group:t}=E.addConditionRuleSate;g.version=s,g.group=t}}),Se();const ae=qe(),x=W(!1),Z=W(8);Ue().toClipboard;const g=Oe({version:"",ruleGranularity:"",objectOfAction:"",enable:!0,faultTolerantProtection:!1,runtime:!0,priority:null,group:""});le(g,s=>{const{ruleGranularity:t,enable:i=!0,runtime:h=!0,objectOfAction:$}=s;E.conditionRule={...E.conditionRule,enabled:i,key:$,runtime:h,scope:t},E.addConditionRuleSate={version:s.version,group:s.group}},{immediate:!!H.isNil(E.conditionRule)});const ne=W([{label:"host",value:"host"},{label:"application",value:"application"},{label:"method",value:"method"},{label:"arguments",value:"arguments"},{label:"attachments",value:"attachments"},{label:"其他",value:"other"}]),se=W([{label:"host",value:"host"},{label:"其他",value:"other"}]),m=W([{label:"=",value:"="},{label:"!=",value:"!="}]),oe=W([{label:"应用",value:"application"},{label:"服务",value:"service"}]),d=W([{selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"",value:""},{type:"other",list:[{myKey:"",condition:"",value:""}]}]}]);le(d,s=>{E.conditionRule={...E.conditionRule,conditions:te()}},{deep:!0,immediate:!!H.isNil(E.conditionRule)});const ie=()=>{d.value.push({selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]})},ue=s=>{d.value.splice(s,1)},ce=s=>{d.value[s].requestMatch=[],d.value[s].selectedMatchConditionTypes=[]},de=s=>{d.value[s].requestMatch=[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[{index:0,condition:"",value:""}]},{type:"attachments",list:[{myKey:"key",condition:"",value:""}]},{type:"other",list:[{myKey:"key",condition:"",value:""}]}]},Q=(s,t)=>{d.value[t].selectedMatchConditionTypes=d.value[t].selectedMatchConditionTypes.filter(i=>i!==s)},re=(s,t)=>{d.value[t].selectedRouteDistributeMatchTypes=d.value[t].selectedRouteDistributeMatchTypes.filter(i=>i!==s)},pe=[{dataIndex:"index",key:"index",title:"参数索引"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ve=(s,t)=>{d.value[s].requestMatch[t].list.push({index:0,condition:"=",value:""})},ye=(s,t,i)=>{d.value[s].requestMatch[t].list.length===1&&(d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="arguments")),d.value[s].requestMatch[t].list.splice(i,1)},he=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],fe=(s,t)=>{d.value[s].requestMatch[t].list.push({key:"key",condition:"=",value:""})},_e=(s,t,i)=>{d.value[s].requestMatch[t].list.length===1&&(d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="attachments")),d.value[s].requestMatch[t].list.splice(i,1)},I=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ke=(s,t)=>{d.value[s].requestMatch[t].list.push({myKey:"",condition:"=",value:""})},be=(s,t,i)=>{if(d.value[s].requestMatch[t].list.length===1){d.value[s].selectedMatchConditionTypes=d.value[s].selectedMatchConditionTypes.filter(h=>h!=="other");return}d.value[s].requestMatch[t].list.splice(i,1)},ge=(s,t)=>{d.value[s].routeDistribute[t].list.push({myKey:"",condition:"=",value:""})},Ce=(s,t,i)=>{if(d.value[s].routeDistribute[t].list.length===1){d.value[s].selectedRouteDistributeMatchTypes=d.value[s].selectedRouteDistributeMatchTypes.filter(h=>h!=="other");return}d.value[s].routeDistribute[t].list.splice(i,1)};function ee(s){var f,S;const t=d.value[s],{ruleGranularity:i,objectOfAction:h}=g;let r=`对于${i==="service"?"服务":"应用"}【${h||"未指定"}】`,n=[];(f=t.selectedMatchConditionTypes)==null||f.forEach(U=>{var V,P,p,b;const R=(V=t.requestMatch)==null?void 0:V.find(a=>a.type===U);if(!R)return;let y="";const O=R.condition==="="?"等于":R.condition==="!="?"不等于":R.condition||"",B=R.value||"未指定";switch(U){case"host":y=`请求来源主机 ${O} ${B}`;break;case"application":y=`请求来源应用 ${O} ${B}`;break;case"method":y=`请求方法 ${O} ${B}`;break;case"arguments":const a=(P=R.list)==null?void 0:P.map(u=>{const N=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`参数[${u.index}] ${N} ${D}`}).filter(Boolean);(a==null?void 0:a.length)>0&&(y=a.join(" 且 "));break;case"attachments":const T=(p=R.list)==null?void 0:p.map(u=>{const N=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`附件[${u.myKey||"未指定"}] ${N} ${D}`}).filter(Boolean);(T==null?void 0:T.length)>0&&(y=T.join(" 且 "));break;case"other":const c=(b=R.list)==null?void 0:b.map(u=>{const N=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",D=u.value!==void 0&&u.value!==""?u.value:"未指定";return`自定义匹配[${u.myKey||"未指定"}] ${N} ${D}`}).filter(Boolean);(c==null?void 0:c.length)>0&&(y=c.join(" 且 "));break}y&&((U==="host"||U==="application"||U==="method")&&!R.value?n.push(`${U==="host"?"请求来源主机":U==="application"?"请求来源应用":"请求方法"} 未填写`):n.push(y))});const k=n.length>0?n.join(" 且 "):"任意请求";let o=[];(S=t.selectedRouteDistributeMatchTypes)==null||S.forEach(U=>{var V,P;const R=(V=t.routeDistribute)==null?void 0:V.find(p=>p.type===U);if(!R)return;let y="";const O=R.condition==="="?"等于":R.condition==="!="?"不等于":R.condition||"",B=R.value||"未指定";switch(U){case"host":y=`目标主机 ${O} ${B}`;break;case"other":const p=(P=R.list)==null?void 0:P.map(b=>{const a=b.condition==="="?"等于":b.condition==="!="?"不等于":b.condition||"",T=b.value!==void 0&&b.value!==""?b.value:"未指定";return`目标标签[${b.myKey||"未指定"}] ${a} ${T}`}).filter(Boolean);(p==null?void 0:p.length)>0&&(y=p.join(" 且 "));break}y&&(U==="host"&&!R.value?o.push("目标主机 未填写"):o.push(y))});const M=o.length>0?`满足 【${o.join(" 且 ")}】`:"默认路由规则";return`${r},将满足 【${k}】 条件的请求,转发到 ${M} 的实例。`}function te(){let s=[],t="",i="";return d.value.forEach((h,$)=>{h.selectedMatchConditionTypes.forEach((n,k)=>{h.requestMatch.forEach((o,M)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"arguments":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${n}[${f.index}]${f.condition}${f.value}`});break;case"attachments":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${n}[${f.myKey}]${f.condition}${f.value}`});break;case"other":o.list.forEach((f,S)=>{t.length>0&&(t+=" & "),t+=`${f.myKey}${f.condition}${f.value}`});break;default:t.length>0&&(t+=" & "),t+=`${o.type}${o.condition}${o.value}`}})}),h.selectedRouteDistributeMatchTypes.forEach((n,k)=>{h.routeDistribute.forEach((o,M)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"other":o==null||o.list.forEach((f,S)=>{i.length>0&&(i+=" & "),i+=`${f.myKey}${f.condition}${f.value}`});break;default:i.length>0&&(i+=" & "),i+=`${o.type}${o.condition}${o.value}`}})});let r="";t.length>0&&i.length>0?r=`${t} => ${i}`:t.length>0&&i.length==0&&(r=`${t}`),s.push(r)}),s}const Me=async()=>{const{version:s,ruleGranularity:t,objectOfAction:i,enable:h,faultTolerantProtection:$,runtime:r,group:n}=g,k={configVersion:"v3.0",scope:t,key:i,enabled:h,force:$,runtime:r,conditions:te()};let o="";t=="application"?o=`${i}.condition-router`:o=`${i}:${s||""}:${n||""}.condition-router`,(await Ve(o,k)).code===200&&ae.push("/traffic/routingRule")};function $e(s,t){const i=[],h=s.split(" & ");return[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[]},{type:"attachments",list:[]},{type:"other",list:[]}].forEach(r=>i.push({...r})),h.forEach(r=>{if(r=r.trim(),r.startsWith("host")){d.value[t].selectedMatchConditionTypes.push("host");const n=r.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="host");M.condition=k,M.value=o}}else if(r.startsWith("application")){d.value[t].selectedMatchConditionTypes.push("application");const n=r.match(/^application(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="application");M.condition=k,M.value=o}}else if(r.startsWith("method")){d.value[t].selectedMatchConditionTypes.push("method");const n=r.match(/^method(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="method");M.condition=k,M.value=o}}else if(r.startsWith("arguments")){!d.value[t].selectedMatchConditionTypes.includes("arguments")&&d.value[t].selectedMatchConditionTypes.push("arguments");const n=r.match(/^arguments\[(\d+)\](!=|=)(.+)/);if(n){const k=parseInt(n[1],10),o=n[2],M=n[3].trim();i.find(S=>S.type==="arguments").list.push({index:k,condition:o,value:M})}}else if(r.startsWith("attachments")){!d.value[t].selectedMatchConditionTypes.includes("attachments")&&d.value[t].selectedMatchConditionTypes.push("attachments");const n=r.match(/^attachments\[(.+)\](!=|=)(.+)/);if(n){const k=n[1].trim(),o=n[2],M=n[3].trim();i.find(S=>S.type==="attachments").list.push({myKey:k,condition:o,value:M})}}else{const n=r.match(/^([^!=]+)(!?=)(.+)$/);if(n){!d.value[t].selectedMatchConditionTypes.includes("other")&&d.value[t].selectedMatchConditionTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}function Te(s,t){const i=[],h=s==null?void 0:s.split(" & ");return[{type:"host",condition:"",value:""},{type:"other",list:[]}].forEach(r=>i.push({...r})),h!=null&&h.length&&h.forEach(r=>{if(r=r.trim(),r.startsWith("host")){d.value[t].selectedRouteDistributeMatchTypes.push("host");const n=r.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),M=i.find(f=>f.type==="host");M.condition=k,M.value=o}}else{const n=r.match(/^([^!=]+)(!?=)(.+)$/);if(n){!d.value[t].selectedRouteDistributeMatchTypes.includes("other")&&d.value[t].selectedRouteDistributeMatchTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}return(s,t)=>{const i=K("a-button"),h=K("a-flex"),$=K("a-select"),r=K("a-form-item"),n=K("a-input"),k=K("a-switch"),o=K("a-col"),M=K("a-input-number"),f=K("a-row"),S=K("a-form"),U=K("a-card"),R=K("a-tooltip"),y=K("a-space"),O=K("a-tag"),B=K("a-table"),V=K("a-descriptions-item"),P=K("a-descriptions");return v(),F("div",Ne,[e(h,{style:{width:"100%"}},{default:l(()=>[e(o,{span:x.value?24-Z.value:24,class:"left"},{default:l(()=>[e(U,null,{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:l(()=>[e(f,null,{default:l(()=>[e(h,{justify:"end",style:{width:"100%"}},{default:l(()=>[e(i,{type:"text",style:{color:"#0a90d5"},onClick:t[0]||(t[0]=p=>x.value=!x.value)},{default:l(()=>[C(" 字段说明 "),x.value?(v(),_(j(Ee),{key:1})):(v(),_(j(je),{key:0}))]),_:1})]),_:1}),e(U,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:l(()=>[e(S,{layout:"horizontal"},{default:l(()=>[e(f,{style:{width:"100%"}},{default:l(()=>[e(o,{span:12},{default:l(()=>[e(r,{label:"规则粒度",required:""},{default:l(()=>[e($,{value:g.ruleGranularity,"onUpdate:value":t[1]||(t[1]=p=>g.ruleGranularity=p),style:{width:"120px"},options:oe.value},null,8,["value","options"])]),_:1}),g.ruleGranularity==="service"?(v(),_(r,{key:0,label:"版本",required:""},{default:l(()=>[e(n,{value:g.version,"onUpdate:value":t[2]||(t[2]=p=>g.version=p),style:{width:"300px"}},null,8,["value"])]),_:1})):q("",!0),e(r,{label:"容错保护"},{default:l(()=>[e(k,{checked:g.faultTolerantProtection,"onUpdate:checked":t[3]||(t[3]=p=>g.faultTolerantProtection=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(r,{label:"运行时生效"},{default:l(()=>[e(k,{checked:g.runtime,"onUpdate:checked":t[4]||(t[4]=p=>g.runtime=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(o,{span:12},{default:l(()=>[e(r,{label:"作用对象",required:""},{default:l(()=>[e(n,{value:g.objectOfAction,"onUpdate:value":t[5]||(t[5]=p=>g.objectOfAction=p),style:{width:"300px"}},null,8,["value"])]),_:1}),g.ruleGranularity==="service"?(v(),_(r,{key:0,label:"分组",required:""},{default:l(()=>[e(n,{value:g.group,"onUpdate:value":t[6]||(t[6]=p=>g.group=p),style:{width:"300px"}},null,8,["value"])]),_:1})):q("",!0),e(r,{label:"立即启用"},{default:l(()=>[e(k,{checked:g.enable,"onUpdate:checked":t[7]||(t[7]=p=>g.enable=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(r,{label:"优先级"},{default:l(()=>[e(M,{value:g.priority,"onUpdate:value":t[8]||(t[8]=p=>g.priority=p),min:"1"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(U,{title:"路由列表",style:{width:"100%"},class:"_detail"},{default:l(()=>[(v(!0),F(J,null,X(d.value,(p,b)=>(v(),_(U,null,{title:l(()=>[e(h,{justify:"space-between"},{default:l(()=>[e(y,{align:"center"},{default:l(()=>[G("div",null,"路由【"+A(b+1)+"】",1),e(R,null,{title:l(()=>[C(A(ee(b)),1)]),default:l(()=>[G("div",Ge,A(ee(b)),1)]),_:2},1024)]),_:2},1024),e(j(z),{onClick:a=>ue(b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)]),default:l(()=>[e(S,{layout:"horizontal"},{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"large"},{default:l(()=>[e(r,{label:"请求匹配"},{default:l(()=>[p.requestMatch.length>0?(v(),_(U,{key:0},{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[e(h,{align:"center",justify:"space-between"},{default:l(()=>[e(r,{label:"匹配条件类型"},{default:l(()=>[e($,{value:p.selectedMatchConditionTypes,"onUpdate:value":a=>p.selectedMatchConditionTypes=a,options:ne.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(j(z),{onClick:a=>ce(b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),(v(!0),F(J,null,X(p.requestMatch,(a,T)=>(v(),F(J,null,[p.selectedMatchConditionTypes.includes("host")&&a.type==="host"?(v(),_(y,{key:0,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>Q(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("application")&&a.type==="application"?(v(),_(y,{key:1,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源应用名"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>Q(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("method")&&a.type==="method"?(v(),_(y,{key:2,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"方法值"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>Q(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("arguments")&&a.type==="arguments"?(v(),_(y,{key:3,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ve(b,T)},{default:l(()=>[C(" 添加argument ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:pe,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:N,index:D})=>[c.key==="index"?(v(),_(n,{key:0,value:u.index,"onUpdate:value":w=>u.index=w,placeholder:"index"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>ye(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("attachments")&&a.type==="attachments"?(v(),_(y,{key:4,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>fe(b,T)},{default:l(()=>[C(" 添加attachment ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:he,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:N,index:D})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":w=>u.myKey=w,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>_e(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0),p.selectedMatchConditionTypes.includes("other")&&a.type==="other"?(v(),_(y,{key:5,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ke(b,T)},{default:l(()=>[C(" 添加other ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:I,"data-source":p.requestMatch[T].list},{bodyCell:l(({column:c,record:u,text:N})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:D=>be(b,T,u.index),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0)],64))),256))]),_:2},1024)]),_:2},1024)):(v(),_(i,{key:1,onClick:a=>de(b),type:"dashed",size:"large"},{icon:l(()=>[e(j(z),{icon:"tdesign:add"})]),default:l(()=>[C(" 增加匹配条件 ")]),_:2},1032,["onClick"]))]),_:2},1024),e(r,{label:"路由分发",required:""},{default:l(()=>[e(U,null,{default:l(()=>[e(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[e(h,null,{default:l(()=>[e(r,{label:"匹配条件类型"},{default:l(()=>[e($,{value:p.selectedRouteDistributeMatchTypes,"onUpdate:value":a=>p.selectedRouteDistributeMatchTypes=a,options:se.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024)]),_:2},1024),(v(!0),F(J,null,X(p.routeDistribute,(a,T)=>(v(),F(J,{key:T},[p.selectedRouteDistributeMatchTypes.includes("host")&&a.type==="host"?(v(),_(y,{key:0,size:"large",align:"center"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A(a==null?void 0:a.type),1)]),_:2},1024),e($,{value:a.condition,"onUpdate:value":c=>a.condition=c,style:{"min-width":"120px"},options:m.value},null,8,["value","onUpdate:value","options"]),e(n,{value:a.value,"onUpdate:value":c=>a.value=c,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),e(j(z),{onClick:c=>re(a==null?void 0:a.type,b),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):q("",!0),p.selectedRouteDistributeMatchTypes.includes("other")&&a.type==="other"?(v(),_(y,{key:1,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[e(O,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(A((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),e(y,{direction:"vertical"},{default:l(()=>[e(i,{type:"primary",onClick:c=>ge(b,T)},{default:l(()=>[C(" 添加其他 ")]),_:2},1032,["onClick"]),e(B,{pagination:!1,columns:I,"data-source":p.routeDistribute[T].list},{bodyCell:l(({column:c,record:u,text:N,index:D})=>[c.key==="myKey"?(v(),_(n,{key:0,value:u.myKey,"onUpdate:value":w=>u.myKey=w,placeholder:"key"},null,8,["value","onUpdate:value"])):c.key==="condition"?(v(),_($,{key:1,value:u.condition,"onUpdate:value":w=>u.condition=w,options:m.value},null,8,["value","onUpdate:value","options"])):c.key==="value"?(v(),_(n,{key:2,value:u.value,"onUpdate:value":w=>u.value=w,placeholder:"value"},null,8,["value","onUpdate:value"])):c.key==="operation"?(v(),_(y,{key:3,align:"center"},{default:l(()=>[e(j(z),{onClick:w=>Ce(b,T,D),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):q("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):q("",!0)],64))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1}),e(i,{onClick:ie,type:"primary"},{default:l(()=>[C(" 增加路由")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(o,{span:x.value?Z.value:0,class:"right"},{default:l(()=>[x.value?(v(),_(U,{key:0,class:"sliderBox"},{default:l(()=>[G("div",null,[e(P,{title:"字段说明",column:1},{default:l(()=>[e(V,{label:"key"},{default:l(()=>[C(" 作用对象"),me,C(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(V,{label:"scope"},{default:l(()=>[C(" 规则粒度"),Pe,C(" 可能的值:application, service ")]),_:1}),e(V,{label:"force"},{default:l(()=>[C(" 容错保护"),We,C(" 可能的值:true, false"),xe,C(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(V,{label:"runtime"},{default:l(()=>[C(" 运行时生效"),Fe,C(" 可能的值:true, false"),Le,C(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):q("",!0)]),_:1},8,["span"])]),_:1}),e(U,{class:"footer"},{default:l(()=>[e(h,null,{default:l(()=>[e(i,{type:"primary",onClick:Me},{default:l(()=>[C("确认")]),_:1})]),_:1})]),_:1})])}}}),Ze=Be(Je,[["__scopeId","data-v-d3c6be66"]]);export{Ze as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByYAMLView--WjgktlZ.js b/app/dubbo-ui/dist/admin/assets/addByYAMLView--WjgktlZ.js
new file mode 100644
index 0000000..1102768
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/addByYAMLView--WjgktlZ.js
@@ -0,0 +1,10 @@
+import{y as g,_ as N}from"./js-yaml-eElisXzH.js";import{f as A}from"./traffic-dHGZ6qwp.js";import{d as D,y as O,z as S,u as Y,a as $,B as p,D as L,H as M,J as m,w as e,e as n,o as v,b as a,f as t,n as B,aa as P,ab as j,j as o,T as J,p as z,h as K,_ as G}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const r=f=>(z("data-v-169bd129"),f=f(),K(),f),H={class:"editorBox"},U={class:"bottom-action-footer"},q=r(()=>o("br",null,null,-1)),F=r(()=>o("br",null,null,-1)),Q=r(()=>o("br",null,null,-1)),W=r(()=>o("br",null,null,-1)),X=r(()=>o("br",null,null,-1)),Z=r(()=>o("br",null,null,-1)),ee=D({__name:"addByYAMLView",setup(f){const y=O(S.PROVIDE_INJECT_KEY),E=Y();$();const I=p(!1),s=p(!1),h=p(8),u=p(`configVersion: v3.0
+force: true
+enabled: true
+key: shop-detail
+tags:
+ - name: gray
+ match:
+ - key: env
+ value:
+ exact: gray`);L(()=>{if(M.isNil(y.tagRule))u.value="";else{const c=y.tagRule;u.value=g.dump(c)}});const T=c=>{y.tagRule=g.load(u.value)},w=async()=>{const c=g.load(u.value),{configVersion:d,scope:i,key:_,runtime:x,force:V,conditions:b}=c;let l="";i=="application"?l=`${_}.tag-router`:l=`${_}:${d}.tag-router`,(await A(l,c)).code===200&&E.push("/traffic/tagRule")};return(c,d)=>{const i=n("a-button"),_=n("a-flex"),x=n("a-space"),V=n("a-affix"),b=n("a-col"),l=n("a-descriptions-item"),R=n("a-descriptions"),k=n("a-card");return v(),m(k,null,{default:e(()=>[a(_,{style:{width:"100%"}},{default:e(()=>[a(b,{span:s.value?24-h.value:24,class:"left"},{default:e(()=>[a(_,{vertical:"",align:"end"},{default:e(()=>[a(i,{type:"text",style:{color:"#0a90d5"},onClick:d[0]||(d[0]=C=>s.value=!s.value)},{default:e(()=>[t(" 字段说明 "),s.value?(v(),m(B(j),{key:1})):(v(),m(B(P),{key:0}))]),_:1}),o("div",H,[a(N,{onChange:T,modelValue:u.value,"onUpdate:modelValue":d[1]||(d[1]=C=>u.value=C),theme:"vs-dark",height:500,language:"yaml",readonly:I.value},null,8,["modelValue","readonly"])])]),_:1}),a(V,{"offset-bottom":10},{default:e(()=>[o("div",U,[a(x,{align:"center",size:"large"},{default:e(()=>[a(i,{type:"primary",onClick:w},{default:e(()=>[t(" 确认 ")]),_:1}),a(i,null,{default:e(()=>[t(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(b,{span:s.value?h.value:0,class:"right"},{default:e(()=>[s.value?(v(),m(k,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[a(R,{title:"字段说明",column:1},{default:e(()=>[a(l,{label:"key"},{default:e(()=>[t(" 作用对象"),q,t(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(l,{label:"scope"},{default:e(()=>[t(" 规则粒度"),F,t(" 可能的值:application, service ")]),_:1}),a(l,{label:"force"},{default:e(()=>[t(" 容错保护"),Q,t(" 可能的值:true, false"),W,t(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(l,{label:"runtime"},{default:e(()=>[t(" 运行时生效"),X,t(" 可能的值:true, false"),Z,t(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):J("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ne=G(ee,[["__scopeId","data-v-169bd129"]]);export{ne as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByYAMLView-KSfwZr8J.js b/app/dubbo-ui/dist/admin/assets/addByYAMLView-KSfwZr8J.js
deleted file mode 100644
index b412c0b..0000000
--- a/app/dubbo-ui/dist/admin/assets/addByYAMLView-KSfwZr8J.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import{y as g,_ as T}from"./js-yaml-8Gkz3BRW.js";import{f as A}from"./traffic-C2a-KjHH.js";import{d as D,x as O,y as S,u as Y,a as $,z as p,W as L,F as M,G as m,w as e,e as n,o as v,b as a,f as t,n as E,a9 as P,aa as j,j as o,Q as z,p as G,h as J,_ as K}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const r=f=>(G("data-v-169bd129"),f=f(),J(),f),F={class:"editorBox"},Q={class:"bottom-action-footer"},U=r(()=>o("br",null,null,-1)),W=r(()=>o("br",null,null,-1)),q=r(()=>o("br",null,null,-1)),H=r(()=>o("br",null,null,-1)),X=r(()=>o("br",null,null,-1)),Z=r(()=>o("br",null,null,-1)),ee=D({__name:"addByYAMLView",setup(f){const y=O(S.PROVIDE_INJECT_KEY),I=Y();$();const w=p(!1),s=p(!1),h=p(8),u=p(`configVersion: v3.0
-force: true
-enabled: true
-key: shop-detail
-tags:
- - name: gray
- match:
- - key: env
- value:
- exact: gray`);L(()=>{if(M.isNil(y.tagRule))u.value="";else{const c=y.tagRule;u.value=g.dump(c)}});const B=c=>{y.tagRule=g.load(u.value)},N=async()=>{const c=g.load(u.value),{configVersion:d,scope:i,key:_,runtime:x,force:V,conditions:b}=c;let l="";i=="application"?l=`${_}.tag-router`:l=`${_}:${d}.tag-router`,(await A(l,c)).code===200&&I.push("/traffic/tagRule")};return(c,d)=>{const i=n("a-button"),_=n("a-flex"),x=n("a-space"),V=n("a-affix"),b=n("a-col"),l=n("a-descriptions-item"),R=n("a-descriptions"),k=n("a-card");return v(),m(k,null,{default:e(()=>[a(_,{style:{width:"100%"}},{default:e(()=>[a(b,{span:s.value?24-h.value:24,class:"left"},{default:e(()=>[a(_,{vertical:"",align:"end"},{default:e(()=>[a(i,{type:"text",style:{color:"#0a90d5"},onClick:d[0]||(d[0]=C=>s.value=!s.value)},{default:e(()=>[t(" 字段说明 "),s.value?(v(),m(E(j),{key:1})):(v(),m(E(P),{key:0}))]),_:1}),o("div",F,[a(T,{onChange:B,modelValue:u.value,"onUpdate:modelValue":d[1]||(d[1]=C=>u.value=C),theme:"vs-dark",height:500,language:"yaml",readonly:w.value},null,8,["modelValue","readonly"])])]),_:1}),a(V,{"offset-bottom":10},{default:e(()=>[o("div",Q,[a(x,{align:"center",size:"large"},{default:e(()=>[a(i,{type:"primary",onClick:N},{default:e(()=>[t(" 确认 ")]),_:1}),a(i,null,{default:e(()=>[t(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(b,{span:s.value?h.value:0,class:"right"},{default:e(()=>[s.value?(v(),m(k,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[a(R,{title:"字段说明",column:1},{default:e(()=>[a(l,{label:"key"},{default:e(()=>[t(" 作用对象"),U,t(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(l,{label:"scope"},{default:e(()=>[t(" 规则粒度"),W,t(" 可能的值:application, service ")]),_:1}),a(l,{label:"force"},{default:e(()=>[t(" 容错保护"),q,t(" 可能的值:true, false"),H,t(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(l,{label:"runtime"},{default:e(()=>[t(" 运行时生效"),X,t(" 可能的值:true, false"),Z,t(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):z("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ne=K(ee,[["__scopeId","data-v-169bd129"]]);export{ne as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByYAMLView-fC-hqbkM.js b/app/dubbo-ui/dist/admin/assets/addByYAMLView-fC-hqbkM.js
new file mode 100644
index 0000000..f8332cc
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/addByYAMLView-fC-hqbkM.js
@@ -0,0 +1,26 @@
+import{y as R,_ as T}from"./js-yaml-eElisXzH.js";import{d as A,y as $,z as O,u as Y,B as h,D as L,H as w,J as v,w as e,e as s,o as b,b as t,f as a,n as B,aa as M,ab as P,j as o,T as J,m as E,p as j,h as z,_ as K}from"./index-3zDsduUv.js";import{a as H}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const c=p=>(j("data-v-f0b44ffc"),p=p(),z(),p),U={class:"editorBox"},q={class:"bottom-action-footer"},F=c(()=>o("br",null,null,-1)),G=c(()=>o("br",null,null,-1)),Q=c(()=>o("br",null,null,-1)),W=c(()=>o("br",null,null,-1)),X=c(()=>o("br",null,null,-1)),Z=c(()=>o("br",null,null,-1)),ee=A({__name:"addByYAMLView",setup(p){const d=$(O.PROVIDE_INJECT_KEY),I=Y(),N=h(!1),r=h(!1),V=h(8),i=h(`conditions:
+ - from:
+ match: >-
+ method=string & arguments[method]=string &
+ arguments[arguments[method]]=string &
+ arguments[arguments[arguments[method]]]=string &
+ arguments[arguments[arguments[arguments[string]]]]!=string
+ to:
+ - match: string!=string
+ weight: 0
+ - from:
+ match: >-
+ method=string & arguments[method]=string &
+ arguments[arguments[method]]=string &
+ arguments[arguments[arguments[string]]]!=string
+ to:
+ - match: string!=lggbond
+ weight: 0
+ - match: ss!=ss
+ weight: 0
+configVersion: v3.1
+enabled: true
+force: false
+key: org.apache.dubbo.samples.CommentService
+runtime: true
+scope: service`);L(()=>{if(w.isNil(d.conditionRule))i.value="";else{const l=d.conditionRule;i.value=R.dump(l)}});const S=l=>{d.conditionRule=R.load(i.value)},D=async()=>{const l=R.load(i.value),{configVersion:_,scope:g,key:u,runtime:C,force:x,conditions:y}=l;let n="";if(u=="application")n=`${u}.condition-router`;else if(w.isNil(d.addConditionRuleSate)){E.error("请先填写版本和分组字段");return}else{const{version:m,group:f}=d.addConditionRuleSate;if(m==""||f==""){E.error("请先填写版本和分组字段");return}n=`${u}:${m}:${f}.condition-router`}l.configVersion="v3.0",(await H(n,l)).code===200&&I.push("/traffic/routingRule")};return(l,_)=>{const g=s("a-button"),u=s("a-flex"),C=s("a-space"),x=s("a-affix"),y=s("a-col"),n=s("a-descriptions-item"),k=s("a-descriptions"),m=s("a-card");return b(),v(m,null,{default:e(()=>[t(u,{style:{width:"100%"}},{default:e(()=>[t(y,{span:r.value?24-V.value:24,class:"left"},{default:e(()=>[t(u,{vertical:"",align:"end"},{default:e(()=>[t(g,{type:"text",style:{color:"#0a90d5"},onClick:_[0]||(_[0]=f=>r.value=!r.value)},{default:e(()=>[a(" 字段说明 "),r.value?(b(),v(B(P),{key:1})):(b(),v(B(M),{key:0}))]),_:1}),o("div",U,[t(T,{onChange:S,modelValue:i.value,"onUpdate:modelValue":_[1]||(_[1]=f=>i.value=f),theme:"vs-dark",height:500,language:"yaml",readonly:N.value},null,8,["modelValue","readonly"])])]),_:1}),t(x,{"offset-bottom":10},{default:e(()=>[o("div",q,[t(C,{align:"center",size:"large"},{default:e(()=>[t(g,{type:"primary",onClick:D},{default:e(()=>[a(" 确认 ")]),_:1}),t(g,null,{default:e(()=>[a(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),t(y,{span:r.value?V.value:0,class:"right"},{default:e(()=>[r.value?(b(),v(m,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[t(k,{title:"字段说明",column:1},{default:e(()=>[t(n,{label:"key"},{default:e(()=>[a(" 作用对象"),F,a(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),t(n,{label:"scope"},{default:e(()=>[a(" 规则粒度"),G,a(" 可能的值:application, service ")]),_:1}),t(n,{label:"force"},{default:e(()=>[a(" 容错保护"),Q,a(" 可能的值:true, false"),W,a(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),t(n,{label:"runtime"},{default:e(()=>[a(" 运行时生效"),X,a(" 可能的值:true, false"),Z,a(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):J("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),se=K(ee,[["__scopeId","data-v-f0b44ffc"]]);export{se as default};
diff --git a/app/dubbo-ui/dist/admin/assets/addByYAMLView-mp4IQp11.js b/app/dubbo-ui/dist/admin/assets/addByYAMLView-mp4IQp11.js
deleted file mode 100644
index 4c6e949..0000000
--- a/app/dubbo-ui/dist/admin/assets/addByYAMLView-mp4IQp11.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import{y as R,_ as D}from"./js-yaml-8Gkz3BRW.js";import{d as T,x as $,y as O,u as Y,z as h,W as L,F as w,G as v,w as e,e as s,o as b,b as t,f as a,n as E,a9 as M,aa as P,j as o,Q as j,m as I,p as z,h as J,_ as K}from"./index-hmLAZQYT.js";import{a as F}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const c=p=>(z("data-v-f0b44ffc"),p=p(),J(),p),G={class:"editorBox"},Q={class:"bottom-action-footer"},U=c(()=>o("br",null,null,-1)),W=c(()=>o("br",null,null,-1)),q=c(()=>o("br",null,null,-1)),H=c(()=>o("br",null,null,-1)),X=c(()=>o("br",null,null,-1)),Z=c(()=>o("br",null,null,-1)),ee=T({__name:"addByYAMLView",setup(p){const d=$(O.PROVIDE_INJECT_KEY),N=Y(),B=h(!1),r=h(!1),V=h(8),i=h(`conditions:
- - from:
- match: >-
- method=string & arguments[method]=string &
- arguments[arguments[method]]=string &
- arguments[arguments[arguments[method]]]=string &
- arguments[arguments[arguments[arguments[string]]]]!=string
- to:
- - match: string!=string
- weight: 0
- - from:
- match: >-
- method=string & arguments[method]=string &
- arguments[arguments[method]]=string &
- arguments[arguments[arguments[string]]]!=string
- to:
- - match: string!=lggbond
- weight: 0
- - match: ss!=ss
- weight: 0
-configVersion: v3.1
-enabled: true
-force: false
-key: org.apache.dubbo.samples.CommentService
-runtime: true
-scope: service`);L(()=>{if(w.isNil(d.conditionRule))i.value="";else{const l=d.conditionRule;i.value=R.dump(l)}});const S=l=>{d.conditionRule=R.load(i.value)},A=async()=>{const l=R.load(i.value),{configVersion:_,scope:g,key:u,runtime:x,force:C,conditions:y}=l;let n="";if(u=="application")n=`${u}.condition-router`;else if(w.isNil(d.addConditionRuleSate)){I.error("请先填写版本和分组字段");return}else{const{version:m,group:f}=d.addConditionRuleSate;if(m==""||f==""){I.error("请先填写版本和分组字段");return}n=`${u}:${m}:${f}.condition-router`}l.configVersion="v3.0",(await F(n,l)).code===200&&N.push("/traffic/routingRule")};return(l,_)=>{const g=s("a-button"),u=s("a-flex"),x=s("a-space"),C=s("a-affix"),y=s("a-col"),n=s("a-descriptions-item"),k=s("a-descriptions"),m=s("a-card");return b(),v(m,null,{default:e(()=>[t(u,{style:{width:"100%"}},{default:e(()=>[t(y,{span:r.value?24-V.value:24,class:"left"},{default:e(()=>[t(u,{vertical:"",align:"end"},{default:e(()=>[t(g,{type:"text",style:{color:"#0a90d5"},onClick:_[0]||(_[0]=f=>r.value=!r.value)},{default:e(()=>[a(" 字段说明 "),r.value?(b(),v(E(P),{key:1})):(b(),v(E(M),{key:0}))]),_:1}),o("div",G,[t(D,{onChange:S,modelValue:i.value,"onUpdate:modelValue":_[1]||(_[1]=f=>i.value=f),theme:"vs-dark",height:500,language:"yaml",readonly:B.value},null,8,["modelValue","readonly"])])]),_:1}),t(C,{"offset-bottom":10},{default:e(()=>[o("div",Q,[t(x,{align:"center",size:"large"},{default:e(()=>[t(g,{type:"primary",onClick:A},{default:e(()=>[a(" 确认 ")]),_:1}),t(g,null,{default:e(()=>[a(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),t(y,{span:r.value?V.value:0,class:"right"},{default:e(()=>[r.value?(b(),v(m,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[t(k,{title:"字段说明",column:1},{default:e(()=>[t(n,{label:"key"},{default:e(()=>[a(" 作用对象"),U,a(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),t(n,{label:"scope"},{default:e(()=>[a(" 规则粒度"),W,a(" 可能的值:application, service ")]),_:1}),t(n,{label:"force"},{default:e(()=>[a(" 容错保护"),q,a(" 可能的值:true, false"),H,a(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),t(n,{label:"runtime"},{default:e(()=>[a(" 运行时生效"),X,a(" 可能的值:true, false"),Z,a(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):j("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),se=K(ee,[["__scopeId","data-v-f0b44ffc"]]);export{se as default};
diff --git a/app/dubbo-ui/dist/admin/assets/app-duU6O0cq.js b/app/dubbo-ui/dist/admin/assets/app-mdoSebGq.js
similarity index 93%
rename from app/dubbo-ui/dist/admin/assets/app-duU6O0cq.js
rename to app/dubbo-ui/dist/admin/assets/app-mdoSebGq.js
index 55cacf1..6360cbc 100644
--- a/app/dubbo-ui/dist/admin/assets/app-duU6O0cq.js
+++ b/app/dubbo-ui/dist/admin/assets/app-mdoSebGq.js
@@ -1 +1 @@
-import{r as a}from"./request-8jI_GZey.js";const r=t=>a({url:"/application/search",method:"get",params:t}),p=t=>a({url:"/application/detail",method:"get",params:t}),i=t=>a({url:"/application/instance/info",method:"get",params:t}),n=t=>a({url:"/application/service/form",method:"get",params:t}),c=t=>a({url:"/application/metric-dashboard",method:"get",params:t}),s=t=>a({url:"/application/trace-dashboard",method:"get",params:t}),l=t=>a({url:"/application/event",method:"get",params:t}),g=t=>a({url:"/application/config/operatorLog",method:"get",params:{appName:t}}),u=(t,o)=>a({url:"/application/config/operatorLog",method:"put",params:{appName:t,operatorLog:o}}),d=t=>a({url:"/application/config/flowWeight",method:"get",params:{appName:t}}),h=(t,o)=>a({url:"/application/config/flowWeight",method:"put",params:{appName:t},data:{flowWeightSets:o}}),m=t=>a({url:"/application/config/gray",method:"get",params:{appName:t}}),f=(t,o)=>a({url:"/application/config/gray",method:"put",params:{appName:t},data:{graySets:o}});export{i as a,n as b,c,s as d,d as e,h as f,p as g,m as h,f as i,g as j,l,r as s,u};
+import{r as a}from"./request-3an337VF.js";const r=t=>a({url:"/application/search",method:"get",params:t}),p=t=>a({url:"/application/detail",method:"get",params:t}),i=t=>a({url:"/application/instance/info",method:"get",params:t}),n=t=>a({url:"/application/service/form",method:"get",params:t}),c=t=>a({url:"/application/metric-dashboard",method:"get",params:t}),s=t=>a({url:"/application/trace-dashboard",method:"get",params:t}),l=t=>a({url:"/application/event",method:"get",params:t}),g=t=>a({url:"/application/config/operatorLog",method:"get",params:{appName:t}}),u=(t,o)=>a({url:"/application/config/operatorLog",method:"put",params:{appName:t,operatorLog:o}}),d=t=>a({url:"/application/config/flowWeight",method:"get",params:{appName:t}}),h=(t,o)=>a({url:"/application/config/flowWeight",method:"put",params:{appName:t},data:{flowWeightSets:o}}),m=t=>a({url:"/application/config/gray",method:"get",params:{appName:t}}),f=(t,o)=>a({url:"/application/config/gray",method:"put",params:{appName:t},data:{graySets:o}});export{i as a,n as b,c,s as d,d as e,h as f,p as g,m as h,f as i,g as j,l,r as s,u};
diff --git a/app/dubbo-ui/dist/admin/assets/config-Bcppce3q.js b/app/dubbo-ui/dist/admin/assets/config-Bcppce3q.js
deleted file mode 100644
index 6c9e6d4..0000000
--- a/app/dubbo-ui/dist/admin/assets/config-Bcppce3q.js
+++ /dev/null
@@ -1 +0,0 @@
-import{C as H}from"./ConfigPage--FZz2L2D.js";import{d as X,a as Y,r as Z,a3 as ee,W as ae,c as W,b as l,w as o,n as I,e as _,o as p,J as T,K as $,G as g,f as C,t as U,j as L,I as j,Q as w,_ as te}from"./index-hmLAZQYT.js";import{u as oe,e as le,f as ne,h as se,i as ie,j as ue}from"./app-duU6O0cq.js";import"./request-8jI_GZey.js";const ce=D=>{var m;(m=document.getElementById(D))==null||m.scrollIntoView({behavior:"smooth"})},re={class:"__container_app_config"},de={style:{float:"right"}},fe={style:{float:"right"}},pe=X({__name:"config",setup(D){const m=Y(),A=[{key:"key",title:"label"},{key:"condition",title:"condition"},{key:"value",title:"value"},{key:"operation",title:"操作"}];let r=Z({list:[{title:"applicationDomain.operatorLog",key:"log",form:{logFlag:!1},submit:e=>new Promise(a=>{a(N(e==null?void 0:e.logFlag))}),reset(e){e.logFlag=!1}},{title:"applicationDomain.flowWeight",key:"flow",ext:{title:"添加权重配置",fun(e){V(),ee(()=>{var t;const a=((t=r.list.find(n=>n.key==="flow"))==null?void 0:t.form.rules.length)-1;a>=0&&ce("flowWeight"+a)})}},form:{rules:[{weight:10,scope:[]}]},submit(e){return new Promise(a=>{a(O())})},reset(){x()}},{title:"applicationDomain.gray",key:"gray",ext:{title:"添加灰度环境",fun(){M()}},form:{rules:[{name:"env-nam",scope:{key:"env",value:{exact:"gray"}}}]},submit(e){return new Promise(a=>{a(K())})},reset(){F()}}],current:[0]});const G=async()=>{var a;const e=await ue((a=m.params)==null?void 0:a.pathId);console.log(e),(e==null?void 0:e.code)==200&&r.list.forEach(t=>{if(t.key==="log"){t.form.logFlag=e.data.operatorLog;return}})},N=async e=>{var t;const a=await oe((t=m.params)==null?void 0:t.pathId,e);console.log(a),(a==null?void 0:a.code)==200&&await G()},x=async()=>{var a;const e=await le((a=m.params)==null?void 0:a.pathId);(e==null?void 0:e.code)==200&&r.list.forEach(t=>{t.key==="flow"&&(t.form.rules=JSON.parse(JSON.stringify(e.data.flowWeightSets)),t.form.rules.forEach(n=>{n.scope.forEach(s=>{s.label=s.key,s.condition=s.value?Object.keys(s.value)[0]:"",s.value=s.value?Object.values(s.value)[0]:""})}))})},O=async()=>{var t;let e=[];r.list.forEach(n=>{n.key==="flow"&&n.form.rules.forEach(s=>{let i={weight:s.weight,scope:[]};s.scope.forEach(b=>{const{key:v,value:E,condition:h}=b;let y={key:b.label||v,value:{}};h&&(y.value[h]=E),i.scope.push(y)}),e.push(i)})}),(await ne((t=m.params)==null?void 0:t.pathId,e)).code===200&&await x()},V=()=>{r.list.forEach(e=>{e.key==="flow"&&e.form.rules.push({weight:10,scope:[{key:"",condition:"",value:""}]})})},z=e=>{r.list.forEach(a=>{a.key==="flow"&&a.form.rules.splice(e,1)})},B=e=>{r.list.forEach(a=>{if(a.key==="flow"){let t={key:"",condition:"",value:""};a.form.rules[e].scope.push(t);return}})},P=(e,a)=>{r.list.forEach(t=>{t.key==="flow"&&t.form.rules[e].scope.splice(a,1)})},J=[{key:"label",title:"label",dataIndex:"label"},{key:"condition",title:"condition",dataIndex:"condition"},{key:"value",title:"value",dataIndex:"value"},{key:"operation",title:"operation",dataIndex:"operation"}],F=async()=>{var a;const e=await se((a=m.params)==null?void 0:a.pathId);(e==null?void 0:e.code)==200&&r.list.forEach(t=>{if(t.key==="gray"){const n=e.data.graySets;n.length>0&&n.forEach(s=>{s.scope.forEach(i=>{i.label=i.key,i.condition=i.value?Object.keys(i.value)[0]:"",i.value=i.value?Object.values(i.value)[0]:""})}),t.form.rules=n}})},K=async()=>{var t;let e=[];r.list.forEach(n=>{n.key==="gray"&&n.form.rules.forEach(s=>{let i={name:s.name,scope:[]};s.scope.forEach(b=>{const{key:v,value:E,condition:h}=b;let y={key:b.label,value:{}};h&&(y.value[h]=E),i.scope.push(y)}),e.push(i)})}),(await ie((t=m.params)==null?void 0:t.pathId,e)).code===200&&await F()},M=()=>{r.list.forEach(e=>{e.key==="gray"&&e.form.rules.push({name:"",scope:[{key:"",condition:"",value:""}]})})},Q=e=>{r.list.forEach(a=>{if(a.key==="gray"){let t={key:"",condition:"",value:""};a.form.rules[e].scope.push(t);return}})},R=(e,a)=>{r.list.forEach(t=>{t.key==="gray"&&t.form.rules[e].scope.splice(a,1)})},q=e=>{r.list.forEach(a=>{a.key==="gray"&&a.form.rules.splice(e,1)})};return ae(()=>{G(),x(),F()}),(e,a)=>{const t=_("a-switch"),n=_("a-form-item"),s=_("a-button"),i=_("a-space"),b=_("a-input-number"),v=_("a-input"),E=_("a-table"),h=_("a-card");return p(),W("div",re,[l(H,{options:I(r)},{form_log:o(({current:y})=>[l(n,{label:e.$t("applicationDomain.operatorLog"),name:"logFlag"},{default:o(()=>[l(t,{checked:y.form.logFlag,"onUpdate:checked":k=>y.form.logFlag=k},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),form_flow:o(({current:y})=>[l(i,{direction:"vertical",size:"middle",class:"flowWeight-box"},{default:o(()=>[(p(!0),W(T,null,$(y.form.rules,(k,u)=>(p(),g(h,{id:"flowWeight"+u},{title:o(()=>[C(U(e.$t("applicationDomain.flowWeight"))+" "+U(u+1)+" ",1),L("div",de,[l(i,null,{default:o(()=>[l(s,{danger:"",type:"dashed",onClick:c=>z(u)},{default:o(()=>[l(I(j),{style:{"font-size":"20px"},icon:"fluent:delete-12-filled"})]),_:2},1032,["onClick"])]),_:2},1024)])]),default:o(()=>[l(n,{name:"rules["+u+"].weight",label:"权重"},{default:o(()=>[l(b,{min:"1",value:k.weight,"onUpdate:value":c=>k.weight=c},null,8,["value","onUpdate:value"])]),_:2},1032,["name"]),l(n,{label:"作用范围"},{default:o(()=>[l(s,{type:"primary",onClick:c=>B(u)},{default:o(()=>[C(" 添加")]),_:2},1032,["onClick"]),l(E,{style:{width:"40vw"},pagination:!1,columns:A,"data-source":k.scope},{bodyCell:o(({column:c,record:d,index:S})=>[c.key==="key"?(p(),g(n,{key:0,name:"rules["+u+"].scope.key"},{default:o(()=>[l(v,{value:d.key,"onUpdate:value":f=>d.key=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="condition"?(p(),g(n,{key:1,name:"rules["+u+"].scope.condition"},{default:o(()=>[l(v,{value:d.condition,"onUpdate:value":f=>d.condition=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="value"?(p(),g(n,{key:2,name:"rules["+u+"].scope.value"},{default:o(()=>[l(v,{value:d.value,"onUpdate:value":f=>d.value=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="operation"?(p(),g(n,{key:3,name:"rules["+u+"].scope.operation"},{default:o(()=>[l(s,{type:"link",onClick:f=>P(u,S)},{default:o(()=>[C(" 删除")]),_:2},1032,["onClick"])]),_:2},1032,["name"])):w("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1032,["id"]))),256))]),_:2},1024)]),form_gray:o(({current:y})=>[l(i,{direction:"vertical",size:"middle"},{default:o(()=>[(p(!0),W(T,null,$(y.form.rules,(k,u)=>(p(),g(h,null,{title:o(()=>[C(U(e.$t("applicationDomain.gray"))+" "+U(u+1)+" ",1),L("div",fe,[l(i,null,{default:o(()=>[l(s,{danger:"",type:"dashed",onClick:c=>q(u)},{default:o(()=>[l(I(j),{style:{"font-size":"20px"},icon:"fluent:delete-12-filled"})]),_:2},1032,["onClick"])]),_:2},1024)])]),default:o(()=>[l(n,{name:"rules["+u+"].name",label:"环境名称"},{default:o(()=>[l(v,{value:k.name,"onUpdate:value":c=>k.name=c},null,8,["value","onUpdate:value"])]),_:2},1032,["name"]),l(n,{label:"作用范围"},{default:o(()=>[l(i,{direction:"vertical",size:"middle"},{default:o(()=>[l(s,{type:"primary",onClick:c=>Q(u)},{default:o(()=>[C(" 添加")]),_:2},1032,["onClick"]),l(E,{style:{width:"40vw"},pagination:!1,columns:J,"data-source":k.scope},{bodyCell:o(({column:c,record:d,index:S})=>[c.key==="label"?(p(),g(n,{key:0,name:"rules["+u+"].scope.key"},{default:o(()=>[l(v,{value:d.label,"onUpdate:value":f=>d.label=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="condition"?(p(),g(n,{key:1,name:"rules["+u+"].scope.condition"},{default:o(()=>[l(v,{value:d.condition,"onUpdate:value":f=>d.condition=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="value"?(p(),g(n,{key:2,name:"rules["+u+"].scope.value"},{default:o(()=>[l(v,{value:d.value,"onUpdate:value":f=>d.value=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="operation"?(p(),g(n,{key:3,name:"rules["+u+"].scope.operation"},{default:o(()=>[l(s,{type:"link",onClick:f=>R(u,S)},{default:o(()=>[C(" 删除")]),_:2},1032,["onClick"])]),_:2},1032,["name"])):w("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:1},8,["options"])])}}}),ke=te(pe,[["__scopeId","data-v-2bf9591a"]]);export{ke as default};
diff --git a/app/dubbo-ui/dist/admin/assets/config-iPQQ4Osw.js b/app/dubbo-ui/dist/admin/assets/config-iPQQ4Osw.js
new file mode 100644
index 0000000..59454ec
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/config-iPQQ4Osw.js
@@ -0,0 +1 @@
+import{C as Q}from"./ConfigPage-Onvd_SY6.js";import{d as X,a as Y,r as Z,a4 as ee,D as ae,c as I,b as l,w as o,n as W,e as _,o as p,L,M as $,J as g,f as C,t as U,j as G,I as j,T as w,_ as te}from"./index-3zDsduUv.js";import{u as oe,e as le,f as ne,h as se,i as ie,j as ue}from"./app-mdoSebGq.js";import"./request-3an337VF.js";const ce=D=>{var m;(m=document.getElementById(D))==null||m.scrollIntoView({behavior:"smooth"})},re={class:"__container_app_config"},de={style:{float:"right"}},fe={style:{float:"right"}},pe=X({__name:"config",setup(D){const m=Y(),A=[{key:"key",title:"label"},{key:"condition",title:"condition"},{key:"value",title:"value"},{key:"operation",title:"操作"}];let r=Z({list:[{title:"applicationDomain.operatorLog",key:"log",form:{logFlag:!1},submit:e=>new Promise(a=>{a(N(e==null?void 0:e.logFlag))}),reset(e){e.logFlag=!1}},{title:"applicationDomain.flowWeight",key:"flow",ext:{title:"添加权重配置",fun(e){V(),ee(()=>{var t;const a=((t=r.list.find(n=>n.key==="flow"))==null?void 0:t.form.rules.length)-1;a>=0&&ce("flowWeight"+a)})}},form:{rules:[{weight:10,scope:[]}]},submit(e){return new Promise(a=>{a(O())})},reset(){x()}},{title:"applicationDomain.gray",key:"gray",ext:{title:"添加灰度环境",fun(){R()}},form:{rules:[{name:"env-nam",scope:{key:"env",value:{exact:"gray"}}}]},submit(e){return new Promise(a=>{a(M())})},reset(){F()}}],current:[0]});const T=async()=>{var a;const e=await ue((a=m.params)==null?void 0:a.pathId);console.log(e),(e==null?void 0:e.code)==200&&r.list.forEach(t=>{if(t.key==="log"){t.form.logFlag=e.data.operatorLog;return}})},N=async e=>{var t;const a=await oe((t=m.params)==null?void 0:t.pathId,e);console.log(a),(a==null?void 0:a.code)==200&&await T()},x=async()=>{var a;const e=await le((a=m.params)==null?void 0:a.pathId);(e==null?void 0:e.code)==200&&r.list.forEach(t=>{t.key==="flow"&&(t.form.rules=JSON.parse(JSON.stringify(e.data.flowWeightSets)),t.form.rules.forEach(n=>{n.scope.forEach(s=>{s.label=s.key,s.condition=s.value?Object.keys(s.value)[0]:"",s.value=s.value?Object.values(s.value)[0]:""})}))})},O=async()=>{var t;let e=[];r.list.forEach(n=>{n.key==="flow"&&n.form.rules.forEach(s=>{let i={weight:s.weight,scope:[]};s.scope.forEach(b=>{const{key:v,value:E,condition:h}=b;let y={key:b.label||v,value:{}};h&&(y.value[h]=E),i.scope.push(y)}),e.push(i)})}),(await ne((t=m.params)==null?void 0:t.pathId,e)).code===200&&await x()},V=()=>{r.list.forEach(e=>{e.key==="flow"&&e.form.rules.push({weight:10,scope:[{key:"",condition:"",value:""}]})})},z=e=>{r.list.forEach(a=>{a.key==="flow"&&a.form.rules.splice(e,1)})},B=e=>{r.list.forEach(a=>{if(a.key==="flow"){let t={key:"",condition:"",value:""};a.form.rules[e].scope.push(t);return}})},P=(e,a)=>{r.list.forEach(t=>{t.key==="flow"&&t.form.rules[e].scope.splice(a,1)})},J=[{key:"label",title:"label",dataIndex:"label"},{key:"condition",title:"condition",dataIndex:"condition"},{key:"value",title:"value",dataIndex:"value"},{key:"operation",title:"operation",dataIndex:"operation"}],F=async()=>{var a;const e=await se((a=m.params)==null?void 0:a.pathId);(e==null?void 0:e.code)==200&&r.list.forEach(t=>{if(t.key==="gray"){const n=e.data.graySets;n.length>0&&n.forEach(s=>{s.scope.forEach(i=>{i.label=i.key,i.condition=i.value?Object.keys(i.value)[0]:"",i.value=i.value?Object.values(i.value)[0]:""})}),t.form.rules=n}})},M=async()=>{var t;let e=[];r.list.forEach(n=>{n.key==="gray"&&n.form.rules.forEach(s=>{let i={name:s.name,scope:[]};s.scope.forEach(b=>{const{key:v,value:E,condition:h}=b;let y={key:b.label,value:{}};h&&(y.value[h]=E),i.scope.push(y)}),e.push(i)})}),(await ie((t=m.params)==null?void 0:t.pathId,e)).code===200&&await F()},R=()=>{r.list.forEach(e=>{e.key==="gray"&&e.form.rules.push({name:"",scope:[{key:"",condition:"",value:""}]})})},q=e=>{r.list.forEach(a=>{if(a.key==="gray"){let t={key:"",condition:"",value:""};a.form.rules[e].scope.push(t);return}})},H=(e,a)=>{r.list.forEach(t=>{t.key==="gray"&&t.form.rules[e].scope.splice(a,1)})},K=e=>{r.list.forEach(a=>{a.key==="gray"&&a.form.rules.splice(e,1)})};return ae(()=>{T(),x(),F()}),(e,a)=>{const t=_("a-switch"),n=_("a-form-item"),s=_("a-button"),i=_("a-space"),b=_("a-input-number"),v=_("a-input"),E=_("a-table"),h=_("a-card");return p(),I("div",re,[l(Q,{options:W(r)},{form_log:o(({current:y})=>[l(n,{label:e.$t("applicationDomain.operatorLog"),name:"logFlag"},{default:o(()=>[l(t,{checked:y.form.logFlag,"onUpdate:checked":k=>y.form.logFlag=k},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),form_flow:o(({current:y})=>[l(i,{direction:"vertical",size:"middle",class:"flowWeight-box"},{default:o(()=>[(p(!0),I(L,null,$(y.form.rules,(k,u)=>(p(),g(h,{id:"flowWeight"+u},{title:o(()=>[C(U(e.$t("applicationDomain.flowWeight"))+" "+U(u+1)+" ",1),G("div",de,[l(i,null,{default:o(()=>[l(s,{danger:"",type:"dashed",onClick:c=>z(u)},{default:o(()=>[l(W(j),{style:{"font-size":"20px"},icon:"fluent:delete-12-filled"})]),_:2},1032,["onClick"])]),_:2},1024)])]),default:o(()=>[l(n,{name:"rules["+u+"].weight",label:"权重"},{default:o(()=>[l(b,{min:"1",value:k.weight,"onUpdate:value":c=>k.weight=c},null,8,["value","onUpdate:value"])]),_:2},1032,["name"]),l(n,{label:"作用范围"},{default:o(()=>[l(s,{type:"primary",onClick:c=>B(u)},{default:o(()=>[C(" 添加")]),_:2},1032,["onClick"]),l(E,{style:{width:"40vw"},pagination:!1,columns:A,"data-source":k.scope},{bodyCell:o(({column:c,record:d,index:S})=>[c.key==="key"?(p(),g(n,{key:0,name:"rules["+u+"].scope.key"},{default:o(()=>[l(v,{value:d.key,"onUpdate:value":f=>d.key=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="condition"?(p(),g(n,{key:1,name:"rules["+u+"].scope.condition"},{default:o(()=>[l(v,{value:d.condition,"onUpdate:value":f=>d.condition=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="value"?(p(),g(n,{key:2,name:"rules["+u+"].scope.value"},{default:o(()=>[l(v,{value:d.value,"onUpdate:value":f=>d.value=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="operation"?(p(),g(n,{key:3,name:"rules["+u+"].scope.operation"},{default:o(()=>[l(s,{type:"link",onClick:f=>P(u,S)},{default:o(()=>[C(" 删除")]),_:2},1032,["onClick"])]),_:2},1032,["name"])):w("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1032,["id"]))),256))]),_:2},1024)]),form_gray:o(({current:y})=>[l(i,{direction:"vertical",size:"middle"},{default:o(()=>[(p(!0),I(L,null,$(y.form.rules,(k,u)=>(p(),g(h,null,{title:o(()=>[C(U(e.$t("applicationDomain.gray"))+" "+U(u+1)+" ",1),G("div",fe,[l(i,null,{default:o(()=>[l(s,{danger:"",type:"dashed",onClick:c=>K(u)},{default:o(()=>[l(W(j),{style:{"font-size":"20px"},icon:"fluent:delete-12-filled"})]),_:2},1032,["onClick"])]),_:2},1024)])]),default:o(()=>[l(n,{name:"rules["+u+"].name",label:"环境名称"},{default:o(()=>[l(v,{value:k.name,"onUpdate:value":c=>k.name=c},null,8,["value","onUpdate:value"])]),_:2},1032,["name"]),l(n,{label:"作用范围"},{default:o(()=>[l(i,{direction:"vertical",size:"middle"},{default:o(()=>[l(s,{type:"primary",onClick:c=>q(u)},{default:o(()=>[C(" 添加")]),_:2},1032,["onClick"]),l(E,{style:{width:"40vw"},pagination:!1,columns:J,"data-source":k.scope},{bodyCell:o(({column:c,record:d,index:S})=>[c.key==="label"?(p(),g(n,{key:0,name:"rules["+u+"].scope.key"},{default:o(()=>[l(v,{value:d.label,"onUpdate:value":f=>d.label=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="condition"?(p(),g(n,{key:1,name:"rules["+u+"].scope.condition"},{default:o(()=>[l(v,{value:d.condition,"onUpdate:value":f=>d.condition=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="value"?(p(),g(n,{key:2,name:"rules["+u+"].scope.value"},{default:o(()=>[l(v,{value:d.value,"onUpdate:value":f=>d.value=f},null,8,["value","onUpdate:value"])]),_:2},1032,["name"])):w("",!0),c.key==="operation"?(p(),g(n,{key:3,name:"rules["+u+"].scope.operation"},{default:o(()=>[l(s,{type:"link",onClick:f=>H(u,S)},{default:o(()=>[C(" 删除")]),_:2},1032,["onClick"])]),_:2},1032,["name"])):w("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:1},8,["options"])])}}}),ke=te(pe,[["__scopeId","data-v-2bf9591a"]]);export{ke as default};
diff --git a/app/dubbo-ui/dist/admin/assets/configuration-c8iwuhKj.js b/app/dubbo-ui/dist/admin/assets/configuration-um3mt9hU.js
similarity index 81%
rename from app/dubbo-ui/dist/admin/assets/configuration-c8iwuhKj.js
rename to app/dubbo-ui/dist/admin/assets/configuration-um3mt9hU.js
index 4d59e4d..9845420 100644
--- a/app/dubbo-ui/dist/admin/assets/configuration-c8iwuhKj.js
+++ b/app/dubbo-ui/dist/admin/assets/configuration-um3mt9hU.js
@@ -1 +1 @@
-import{C as w}from"./ConfigPage--FZz2L2D.js";import{d as _,a as h,r as u,W as b,c as I,b as c,w as l,n as D,e as d,o as k,_ as F}from"./index-hmLAZQYT.js";import{u as y,c as S,d as L,e as P}from"./instance-9-P3Wy8N.js";import"./request-8jI_GZey.js";const C={class:"__container_ins_config"},N=_({__name:"configuration",setup(v){const s=h();let i=u({list:[{title:"instanceDomain.operatorLog",key:"log",form:{logFlag:!1},submit:a=>new Promise(e=>{e(p(a==null?void 0:a.logFlag))}),reset(a){a.logFlag=!1}},{title:"instanceDomain.flowDisabled",form:{flowDisabledFlag:!1},key:"flowDisabled",submit:a=>new Promise(e=>{e(m(a==null?void 0:a.flowDisabledFlag))}),reset(a){a.logFlag=!1}}],current:[0]});const f=async()=>{var e,o;const a=await L((e=s.params)==null?void 0:e.pathId,(o=s.params)==null?void 0:o.appName);(a==null?void 0:a.code)==200&&i.list.forEach(t=>{if(t.key==="log"){t.form.logFlag=a.data.operatorLog;return}})},p=async a=>{var o,t;const e=await y((o=s.params)==null?void 0:o.pathId,(t=s.params)==null?void 0:t.appName,a);(e==null?void 0:e.code)==200&&await f()},g=async()=>{var e,o;const a=await P((e=s.params)==null?void 0:e.pathId,(o=s.params)==null?void 0:o.appName);(a==null?void 0:a.code)==200&&i.list.forEach(t=>{t.key==="flowDisabled"&&(t.form.flowDisabledFlag=a.data.trafficDisable)})},m=async a=>{var o,t;const e=await S((o=s.params)==null?void 0:o.pathId,(t=s.params)==null?void 0:t.appName,a);console.log(e)};return b(()=>{console.log(333),f(),g()}),(a,e)=>{const o=d("a-switch"),t=d("a-form-item");return k(),I("div",C,[c(w,{options:D(i)},{form_log:l(({current:n})=>[c(t,{label:a.$t("instanceDomain.operatorLog"),name:"logFlag"},{default:l(()=>[c(o,{checked:n.form.logFlag,"onUpdate:checked":r=>n.form.logFlag=r},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),form_flowDisabled:l(({current:n})=>[c(t,{label:a.$t("instanceDomain.flowDisabled"),name:"flowDisabledFlag"},{default:l(()=>[c(o,{checked:n.form.flowDisabledFlag,"onUpdate:checked":r=>n.form.flowDisabledFlag=r},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),_:1},8,["options"])])}}}),x=F(N,[["__scopeId","data-v-452f673d"]]);export{x as default};
+import{C as w}from"./ConfigPage-Onvd_SY6.js";import{d as _,a as h,r as u,D as b,c as D,b as c,w as l,n as I,e as d,o as k,_ as F}from"./index-3zDsduUv.js";import{u as y,c as S,d as L,e as P}from"./instance-qriYfOrq.js";import"./request-3an337VF.js";const C={class:"__container_ins_config"},N=_({__name:"configuration",setup(v){const s=h();let i=u({list:[{title:"instanceDomain.operatorLog",key:"log",form:{logFlag:!1},submit:a=>new Promise(e=>{e(p(a==null?void 0:a.logFlag))}),reset(a){a.logFlag=!1}},{title:"instanceDomain.flowDisabled",form:{flowDisabledFlag:!1},key:"flowDisabled",submit:a=>new Promise(e=>{e(m(a==null?void 0:a.flowDisabledFlag))}),reset(a){a.logFlag=!1}}],current:[0]});const f=async()=>{var e,o;const a=await L((e=s.params)==null?void 0:e.pathId,(o=s.params)==null?void 0:o.appName);(a==null?void 0:a.code)==200&&i.list.forEach(t=>{if(t.key==="log"){t.form.logFlag=a.data.operatorLog;return}})},p=async a=>{var o,t;const e=await y((o=s.params)==null?void 0:o.pathId,(t=s.params)==null?void 0:t.appName,a);(e==null?void 0:e.code)==200&&await f()},g=async()=>{var e,o;const a=await P((e=s.params)==null?void 0:e.pathId,(o=s.params)==null?void 0:o.appName);(a==null?void 0:a.code)==200&&i.list.forEach(t=>{t.key==="flowDisabled"&&(t.form.flowDisabledFlag=a.data.trafficDisable)})},m=async a=>{var o,t;const e=await S((o=s.params)==null?void 0:o.pathId,(t=s.params)==null?void 0:t.appName,a);console.log(e)};return b(()=>{console.log(333),f(),g()}),(a,e)=>{const o=d("a-switch"),t=d("a-form-item");return k(),D("div",C,[c(w,{options:I(i)},{form_log:l(({current:n})=>[c(t,{label:a.$t("instanceDomain.operatorLog"),name:"logFlag"},{default:l(()=>[c(o,{checked:n.form.logFlag,"onUpdate:checked":r=>n.form.logFlag=r},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),form_flowDisabled:l(({current:n})=>[c(t,{label:a.$t("instanceDomain.flowDisabled"),name:"flowDisabledFlag"},{default:l(()=>[c(o,{checked:n.form.flowDisabledFlag,"onUpdate:checked":r=>n.form.flowDisabledFlag=r},null,8,["checked","onUpdate:checked"])]),_:2},1032,["label"])]),_:1},8,["options"])])}}}),x=F(N,[["__scopeId","data-v-452f673d"]]);export{x as default};
diff --git a/app/dubbo-ui/dist/admin/assets/cssMode-3d_RQH6d.js b/app/dubbo-ui/dist/admin/assets/cssMode-RYNyR8Bq.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/cssMode-3d_RQH6d.js
rename to app/dubbo-ui/dist/admin/assets/cssMode-RYNyR8Bq.js
index e4e4a69..1418b69 100644
--- a/app/dubbo-ui/dist/admin/assets/cssMode-3d_RQH6d.js
+++ b/app/dubbo-ui/dist/admin/assets/cssMode-RYNyR8Bq.js
@@ -1,4 +1,4 @@
-import{m as tt}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as tt}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/detail-IPVQRAO3.js b/app/dubbo-ui/dist/admin/assets/detail-IPVQRAO3.js
new file mode 100644
index 0000000..3470c3a
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/detail-IPVQRAO3.js
@@ -0,0 +1 @@
+import{u as H}from"./index-HdnVQEsT.js";import{d as K,a as Q,u as U,r as B,k as X,Z as x,D,c,b as o,w as t,e as n,o as u,j as y,f as r,t as a,n as b,a0 as h,J as k,T as P,L as V,M as A,m as ee,_ as oe}from"./index-3zDsduUv.js";import{g as te}from"./instance-qriYfOrq.js";import{f as M}from"./DateUtil-QXt7LnE3.js";import"./request-3an337VF.js";const le={class:"__container_instance_detail"},ae={class:"white_space"},se={class:"white_space"},re={class:"white_space"},pe=K({__name:"detail",setup(de){const S=Q(),j=U(),w=B({}),{appContext:{config:{globalProperties:E}}}=X();x("20");const e=B({});D(async()=>{const{appName:l,pathId:p}=S.params;let s={instanceName:l,instanceIP:p};w.detail=await te(s),Object.assign(e,w.detail.data)});const F=l=>{console.log("appName",l),j.push({path:"/resources/applications/detail/"+l})},J=H().toClipboard;function f(l){ee.success(E.$t("messageDomain.success.copy")),J(l)}const $=l=>l?"开启":"关闭";return(l,p)=>{const s=n("a-descriptions-item"),_=n("a-typography-paragraph"),C=n("a-descriptions"),m=n("a-card"),W=n("a-col"),Y=n("a-row"),v=n("a-typography-link"),Z=n("a-space"),q=n("a-tag"),z=n("a-card-grid"),G=n("a-flex");return u(),c("div",le,[o(G,null,{default:t(()=>[o(z,null,{default:t(()=>[o(Y,{gutter:10},{default:t(()=>[o(W,{span:12},{default:t(()=>[o(m,{class:"_detail"},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.instanceName"),labelStyle:{fontWeight:"bold"}},{default:t(()=>{var d;return[y("p",{onClick:p[0]||(p[0]=i=>{var g;return f((g=b(S).params)==null?void 0:g.appName)}),class:"description-item-content with-card"},[r(a((d=b(S).params)==null?void 0:d.appName)+" ",1),o(b(h))])]}),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.creationTime_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(b(M)(e==null?void 0:e.createTime)),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.deployState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[(e==null?void 0:e.deployState)==="Running"?(u(),k(_,{key:0,type:"success"},{default:t(()=>[r(" Running ")]),_:1})):(u(),k(_,{key:1,type:"danger"},{default:t(()=>[r(" Stop")]),_:1}))]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),o(W,{span:12},{default:t(()=>[o(m,{class:"_detail",style:{height:"100%"}},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.startTime_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(b(M)(e==null?void 0:e.readyTime)),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.registerState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,{type:(e==null?void 0:e.registerState)==="Registed"?"success":"danger"},{default:t(()=>[r(a(e==null?void 0:e.registerState),1)]),_:1},8,["type"])]),_:1},8,["label"])]),_:1})]),_:1})]),_:1})]),_:1}),o(m,{style:{"margin-top":"10px"},class:"_detail"},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.instanceIP"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[y("p",{onClick:p[1]||(p[1]=d=>f(e==null?void 0:e.ip)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.ip)+" ",1),o(b(h))])]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.deployCluster"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(e==null?void 0:e.deployCluster),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.dubboPort"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[e!=null&&e.rpcPort?(u(),c("p",{key:0,onClick:p[2]||(p[2]=d=>f(e==null?void 0:e.rpcPort)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.rpcPort)+" ",1),o(b(h))])):P("",!0)]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.registerCluster"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(Z,null,{default:t(()=>[(u(!0),c(V,null,A(e==null?void 0:e.registerClusters,d=>(u(),k(v,null,{default:t(()=>[r(a(d),1)]),_:2},1024))),256))]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.whichApplication"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(v,{onClick:p[3]||(p[3]=d=>F(e==null?void 0:e.appName))},{default:t(()=>[r(a(e==null?void 0:e.appName),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.node"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[e!=null&&e.node?(u(),c("p",{key:0,onClick:p[4]||(p[4]=d=>f(e==null?void 0:e.node)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.node)+" ",1),o(b(h))])):P("",!0)]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.owningWorkload_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(e==null?void 0:e.workloadName),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.instanceImage_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>[e!=null&&e.image?(u(),c("p",{key:0,onClick:p[5]||(p[5]=d=>f(e==null?void 0:e.image)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.image)+" ",1),o(b(h))])):P("",!0)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.instanceLabel"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>[(u(!0),c(V,null,A(e==null?void 0:e.labels,(d,i)=>(u(),k(q,null,{default:t(()=>[r(a(i)+" : "+a(d),1)]),_:2},1024))),256))]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.healthExamination_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>{var d,i,g,N,I,R,T,L,O;return[y("p",ae," 启动探针(StartupProbe):"+a($((d=e==null?void 0:e.probes)==null?void 0:d.startupProbe.open))+" 类型: "+a((i=e==null?void 0:e.probes)==null?void 0:i.startupProbe.type)+" 端口:"+a((g=e==null?void 0:e.probes)==null?void 0:g.startupProbe.port),1),y("p",se," 就绪探针(ReadinessProbe):"+a($((N=e==null?void 0:e.probes)==null?void 0:N.readinessProbe.open))+" 类型: "+a((I=e==null?void 0:e.probes)==null?void 0:I.readinessProbe.type)+" 端口:"+a((R=e==null?void 0:e.probes)==null?void 0:R.readinessProbe.port),1),y("p",re," 存活探针(LivenessProbe):"+a($((T=e==null?void 0:e.probes)==null?void 0:T.livenessProbe.open))+" 类型: "+a((L=e==null?void 0:e.probes)==null?void 0:L.livenessProbe.type)+" 端口:"+a((O=e==null?void 0:e.probes)==null?void 0:O.livenessProbe.port),1)]}),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1})]),_:1})])}}}),ce=oe(pe,[["__scopeId","data-v-fb65b5f4"]]);export{ce as default};
diff --git a/app/dubbo-ui/dist/admin/assets/detail-NWi5D_Jp.js b/app/dubbo-ui/dist/admin/assets/detail-NWi5D_Jp.js
new file mode 100644
index 0000000..cc60091
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/detail-NWi5D_Jp.js
@@ -0,0 +1 @@
+import{d as L,a as O,r as I,k as T,Z as V,D as W,c as s,b as a,w as e,e as c,o,L as u,M as m,$ as P,J as b,f as S,t as h,n as y,a0 as A,m as j,a1 as $,_ as E}from"./index-3zDsduUv.js";import{g as F}from"./app-mdoSebGq.js";import{u as J}from"./index-HdnVQEsT.js";import"./request-3an337VF.js";const Y={class:"__container_app_detail"},Z={class:"description-item-content no-card"},q=["onClick"],z=L({__name:"detail",setup(G){const M=O(),C=I({}),{appContext:{config:{globalProperties:N}}}=T();V("20");let r=I({left:{},right:{},bottom:{}});W(async()=>{var i;let l=(i=M.params)==null?void 0:i.pathId;C.detail=await F({appName:l}),console.log(C.detail);let{appName:w,rpcProtocols:p,dubboVersions:_,dubboPorts:d,serialProtocols:f,appTypes:x,images:k,workloads:D,deployClusters:t,registerClusters:n,registerModes:g}=C.detail.data;r.left={appName:w,appTypes:x,serialProtocols:f},r.right={rpcProtocols:p,dubboPorts:d,dubboVersions:_},r.bottom={images:k,workloads:D,deployClusters:t,registerClusters:n,registerModes:g},console.log(w)});const R=J().toClipboard;function B(l){j.success(N.$t("messageDomain.success.copy")),R(l)}return(l,w)=>{const p=c("a-descriptions-item"),_=c("a-descriptions"),d=c("a-card"),f=c("a-col"),x=c("a-row"),k=c("a-card-grid"),D=c("a-flex");return o(),s("div",Y,[a(D,null,{default:e(()=>[a(k,null,{default:e(()=>[a(x,{gutter:10},{default:e(()=>[a(f,{span:12},{default:e(()=>[a(d,{class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).left,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold",width:"100px"},label:l.$t("applicationDomain."+n)},{default:e(()=>[S(h(typeof t=="object"?t[0]:t),1)]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1}),a(f,{span:12},{default:e(()=>[a(d,{class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).right,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold",width:"100px"},label:l.$t("applicationDomain."+n)},{default:e(()=>[S(h(t[0]),1)]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1})]),_:1}),a(d,{style:{"margin-top":"10px"},class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).bottom,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold"},label:l.$t("applicationDomain."+n)},{default:e(()=>[(t==null?void 0:t.length)<3?(o(!0),s(u,{key:0},m(t,i=>(o(),s("p",Z,h(i),1))),256)):(o(),b(d,{key:1,class:"description-item-card"},{default:e(()=>[(o(!0),s(u,null,m(t,i=>(o(),s("p",{onClick:H=>B(i.toString()),class:"description-item-content with-card"},[S(h(i)+" ",1),a(y(A))],8,q))),256))]),_:2},1024))]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1})]),_:1})])}}}),v=E(z,[["__scopeId","data-v-2ded24e2"]]);export{v as default};
diff --git a/app/dubbo-ui/dist/admin/assets/detail-ZfcGZsJx.js b/app/dubbo-ui/dist/admin/assets/detail-ZfcGZsJx.js
deleted file mode 100644
index df9699c..0000000
--- a/app/dubbo-ui/dist/admin/assets/detail-ZfcGZsJx.js
+++ /dev/null
@@ -1 +0,0 @@
-import{u as z}from"./index-Va7nxJVK.js";import{d as H,a as U,u as X,r as L,k as Z,Y as x,W as D,c,b as o,w as t,e as n,o as u,j as y,f as r,t as a,n as b,$ as h,G as k,Q as P,J as V,K as A,m as ee,_ as oe}from"./index-hmLAZQYT.js";import{g as te}from"./instance-9-P3Wy8N.js";import{f as j}from"./DateUtil-BI1mUH_z.js";import"./request-8jI_GZey.js";const le={class:"__container_instance_detail"},ae={class:"white_space"},se={class:"white_space"},re={class:"white_space"},pe=H({__name:"detail",setup(de){const S=U(),E=X(),W=L({}),{appContext:{config:{globalProperties:M}}}=Z();x("20");const e=L({});D(async()=>{const{appName:l,pathId:p}=S.params;let s={instanceName:l,instanceIP:p};W.detail=await te(s),Object.assign(e,W.detail.data)});const Y=l=>{console.log("appName",l),E.push({path:"/resources/applications/detail/"+l})},F=z().toClipboard;function f(l){ee.success(M.$t("messageDomain.success.copy")),F(l)}const $=l=>l?"开启":"关闭";return(l,p)=>{const s=n("a-descriptions-item"),_=n("a-typography-paragraph"),C=n("a-descriptions"),m=n("a-card"),w=n("a-col"),G=n("a-row"),v=n("a-typography-link"),J=n("a-space"),K=n("a-tag"),Q=n("a-card-grid"),q=n("a-flex");return u(),c("div",le,[o(q,null,{default:t(()=>[o(Q,null,{default:t(()=>[o(G,{gutter:10},{default:t(()=>[o(w,{span:12},{default:t(()=>[o(m,{class:"_detail"},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.instanceName"),labelStyle:{fontWeight:"bold"}},{default:t(()=>{var d;return[y("p",{onClick:p[0]||(p[0]=i=>{var g;return f((g=b(S).params)==null?void 0:g.appName)}),class:"description-item-content with-card"},[r(a((d=b(S).params)==null?void 0:d.appName)+" ",1),o(b(h))])]}),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.creationTime_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(b(j)(e==null?void 0:e.createTime)),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.deployState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[(e==null?void 0:e.deployState)==="Running"?(u(),k(_,{key:0,type:"success"},{default:t(()=>[r(" Running ")]),_:1})):(u(),k(_,{key:1,type:"danger"},{default:t(()=>[r(" Stop")]),_:1}))]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),o(w,{span:12},{default:t(()=>[o(m,{class:"_detail",style:{height:"100%"}},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.startTime_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(b(j)(e==null?void 0:e.readyTime)),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.registerState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,{type:(e==null?void 0:e.registerState)==="Registed"?"success":"danger"},{default:t(()=>[r(a(e==null?void 0:e.registerState),1)]),_:1},8,["type"])]),_:1},8,["label"])]),_:1})]),_:1})]),_:1})]),_:1}),o(m,{style:{"margin-top":"10px"},class:"_detail"},{default:t(()=>[o(C,{class:"description-column",column:1},{default:t(()=>[o(s,{label:l.$t("instanceDomain.instanceIP"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[y("p",{onClick:p[1]||(p[1]=d=>f(e==null?void 0:e.ip)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.ip)+" ",1),o(b(h))])]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.deployCluster"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(e==null?void 0:e.deployCluster),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.dubboPort"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[e!=null&&e.rpcPort?(u(),c("p",{key:0,onClick:p[2]||(p[2]=d=>f(e==null?void 0:e.rpcPort)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.rpcPort)+" ",1),o(b(h))])):P("",!0)]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.registerCluster"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(J,null,{default:t(()=>[(u(!0),c(V,null,A(e==null?void 0:e.registerClusters,d=>(u(),k(v,null,{default:t(()=>[r(a(d),1)]),_:2},1024))),256))]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.whichApplication"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(v,{onClick:p[3]||(p[3]=d=>Y(e==null?void 0:e.appName))},{default:t(()=>[r(a(e==null?void 0:e.appName),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.node"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[e!=null&&e.node?(u(),c("p",{key:0,onClick:p[4]||(p[4]=d=>f(e==null?void 0:e.node)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.node)+" ",1),o(b(h))])):P("",!0)]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.owningWorkload_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(_,null,{default:t(()=>[r(a(e==null?void 0:e.workloadName),1)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.instanceImage_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>[e!=null&&e.image?(u(),c("p",{key:0,onClick:p[5]||(p[5]=d=>f(e==null?void 0:e.image)),class:"description-item-content with-card"},[r(a(e==null?void 0:e.image)+" ",1),o(b(h))])):P("",!0)]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.instanceLabel"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>[(u(!0),c(V,null,A(e==null?void 0:e.labels,(d,i)=>(u(),k(K,null,{default:t(()=>[r(a(i)+" : "+a(d),1)]),_:2},1024))),256))]),_:1})]),_:1},8,["label"]),o(s,{label:l.$t("instanceDomain.healthExamination_k8s"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(m,{class:"description-item-card"},{default:t(()=>{var d,i,g,N,I,R,T,O,B;return[y("p",ae," 启动探针(StartupProbe):"+a($((d=e==null?void 0:e.probes)==null?void 0:d.startupProbe.open))+" 类型: "+a((i=e==null?void 0:e.probes)==null?void 0:i.startupProbe.type)+" 端口:"+a((g=e==null?void 0:e.probes)==null?void 0:g.startupProbe.port),1),y("p",se," 就绪探针(ReadinessProbe):"+a($((N=e==null?void 0:e.probes)==null?void 0:N.readinessProbe.open))+" 类型: "+a((I=e==null?void 0:e.probes)==null?void 0:I.readinessProbe.type)+" 端口:"+a((R=e==null?void 0:e.probes)==null?void 0:R.readinessProbe.port),1),y("p",re," 存活探针(LivenessProbe):"+a($((T=e==null?void 0:e.probes)==null?void 0:T.livenessProbe.open))+" 类型: "+a((O=e==null?void 0:e.probes)==null?void 0:O.livenessProbe.type)+" 端口:"+a((B=e==null?void 0:e.probes)==null?void 0:B.livenessProbe.port),1)]}),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1})]),_:1})])}}}),ce=oe(pe,[["__scopeId","data-v-fb65b5f4"]]);export{ce as default};
diff --git a/app/dubbo-ui/dist/admin/assets/detail-c9-keEBq.js b/app/dubbo-ui/dist/admin/assets/detail-c9-keEBq.js
deleted file mode 100644
index 10e6626..0000000
--- a/app/dubbo-ui/dist/admin/assets/detail-c9-keEBq.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as B,a as O,r as I,k as T,Y as V,W as A,c as s,b as a,w as e,e as c,o,J as u,K as m,Z as P,G as b,f as S,t as h,n as y,$ as L,m as Y,a0 as $,_ as j}from"./index-hmLAZQYT.js";import{g as E}from"./app-duU6O0cq.js";import{u as F}from"./index-Va7nxJVK.js";import"./request-8jI_GZey.js";const G={class:"__container_app_detail"},J={class:"description-item-content no-card"},K=["onClick"],Z=B({__name:"detail",setup(q){const N=O(),C=I({}),{appContext:{config:{globalProperties:M}}}=T();V("20");let r=I({left:{},right:{},bottom:{}});A(async()=>{var i;let l=(i=N.params)==null?void 0:i.pathId;C.detail=await E({appName:l}),console.log(C.detail);let{appName:w,rpcProtocols:p,dubboVersions:_,dubboPorts:d,serialProtocols:f,appTypes:x,images:k,workloads:D,deployClusters:t,registerClusters:n,registerModes:g}=C.detail.data;r.left={appName:w,appTypes:x,serialProtocols:f},r.right={rpcProtocols:p,dubboPorts:d,dubboVersions:_},r.bottom={images:k,workloads:D,deployClusters:t,registerClusters:n,registerModes:g},console.log(w)});const R=F().toClipboard;function W(l){Y.success(M.$t("messageDomain.success.copy")),R(l)}return(l,w)=>{const p=c("a-descriptions-item"),_=c("a-descriptions"),d=c("a-card"),f=c("a-col"),x=c("a-row"),k=c("a-card-grid"),D=c("a-flex");return o(),s("div",G,[a(D,null,{default:e(()=>[a(k,null,{default:e(()=>[a(x,{gutter:10},{default:e(()=>[a(f,{span:12},{default:e(()=>[a(d,{class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).left,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold",width:"100px"},label:l.$t("applicationDomain."+n)},{default:e(()=>[S(h(typeof t=="object"?t[0]:t),1)]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1}),a(f,{span:12},{default:e(()=>[a(d,{class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).right,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold",width:"100px"},label:l.$t("applicationDomain."+n)},{default:e(()=>[S(h(t[0]),1)]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1})]),_:1}),a(d,{style:{"margin-top":"10px"},class:"_detail"},{default:e(()=>[a(_,{class:"description-column",column:1},{default:e(()=>[(o(!0),s(u,null,m(y(r).bottom,(t,n,g)=>P((o(),b(p,{labelStyle:{fontWeight:"bold"},label:l.$t("applicationDomain."+n)},{default:e(()=>[(t==null?void 0:t.length)<3?(o(!0),s(u,{key:0},m(t,i=>(o(),s("p",J,h(i),1))),256)):(o(),b(d,{key:1,class:"description-item-card"},{default:e(()=>[(o(!0),s(u,null,m(t,i=>(o(),s("p",{onClick:z=>W(i.toString()),class:"description-item-content with-card"},[S(h(i)+" ",1),a(y(L))],8,K))),256))]),_:2},1024))]),_:2},1032,["label"])),[[$,!!t]])),256))]),_:1})]),_:1})]),_:1})]),_:1})])}}}),v=j(Z,[["__scopeId","data-v-2ded24e2"]]);export{v as default};
diff --git a/app/dubbo-ui/dist/admin/assets/distribution-WSPxFnjE.js b/app/dubbo-ui/dist/admin/assets/distribution-WSPxFnjE.js
new file mode 100644
index 0000000..52c7166
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/distribution-WSPxFnjE.js
@@ -0,0 +1 @@
+import{d as $,v as E,u as L,a as U,k as j,B as g,r as x,H as F,c as f,b as s,w as p,e as d,n as r,P as O,o as v,f as m,j as A,I as R,t as b,T as h,L as G,J as H,_ as J}from"./index-3zDsduUv.js";import{g as M}from"./service-Hb3ldtV6.js";import{f as Y}from"./DateUtil-QXt7LnE3.js";import"./request-3an337VF.js";const q={class:"__container_services_tabs_distribution"},K=["onClick"],Q=["onClick"],W=$({__name:"distribution",setup(X){E(a=>({"70895fcd":r(O)}));const I=L(),C=U(),{appContext:{config:{globalProperties:S}}}=j(),y=g(""),z=x([{label:"不指定",value:""},{label:"version=1.0.0",value:"version=1.0.0"},{label:"group=group1",value:"group=group1"},{label:"version=1.0.0,group=group1",value:"version=1.0.0,group=group1"}]);g(z[0].value);const N=g("provider"),D=[{title:"应用名",dataIndex:"appName",width:"20%",customCell:(a,e)=>{const t=o.value[e].appName;return e===0||o.value[e-1].appName!==t?{rowSpan:o.value.filter(i=>i.appName===t).length}:{rowSpan:0}}},{title:"实例数",dataIndex:"instanceNum",width:"15%",customRender:({record:a})=>{const e=a.appName;return o.value.filter(l=>l.appName===e).length??0},customCell:(a,e)=>{const t=o.value[e].appName;return e===0||o.value[e-1].appName!==t?{rowSpan:o.value.filter(i=>i.appName===t).length}:{rowSpan:0}}},{title:"实例名",dataIndex:"instanceName",width:"25%",ellipsis:!0},{title:"RPC端口",dataIndex:"rpcPort",width:"8%"},{title:"超时时间",dataIndex:"timeOut",width:"10%"},{title:"重试次数",dataIndex:"retryNum",width:"10%"}],o=g([]),n=x({total:0,pageSize:10,current:1,pageOffset:0,showTotal:a=>S.$t("searchDomain.total")+": "+a+" "+S.$t("searchDomain.unit")}),w=async()=>{var l,i,_;let a={serviceName:(l=C.params)==null?void 0:l.pathId,side:N.value,version:((i=C.params)==null?void 0:i.version)||"",group:((_=C.params)==null?void 0:_.group)||"",pageOffset:n.pageOffset,pageSize:n.pageSize};const{data:{list:e,pageInfo:t}}=await M(a);o.value=e,n.total=t.Total};w();const k=F.debounce(w,300),P=a=>{n.pageSize=a.pageSize||10,n.current=a.current||1,n.pageOffset=(n.current-1)*n.pageSize,k()};return(a,e)=>{const t=d("a-radio-button"),l=d("a-radio-group"),i=d("a-input-search"),_=d("a-flex"),V=d("a-tag"),B=d("a-table");return v(),f("div",q,[s(_,{vertical:""},{default:p(()=>[s(_,{class:"service-filter"},{default:p(()=>[s(l,{value:N.value,"onUpdate:value":e[0]||(e[0]=u=>N.value=u),"button-style":"solid",onClick:r(k)},{default:p(()=>[s(t,{value:"provider"},{default:p(()=>[m("生产者")]),_:1}),s(t,{value:"consumer"},{default:p(()=>[m("消费者")]),_:1})]),_:1},8,["value","onClick"]),s(i,{value:y.value,"onUpdate:value":e[1]||(e[1]=u=>y.value=u),placeholder:"搜索应用,ip,支持前缀搜索",class:"service-filter-input",onSearch:r(k),"enter-button":""},null,8,["value","onSearch"])]),_:1}),s(B,{columns:D,"data-source":o.value,scroll:{y:"45vh"},pagination:n,onChange:P},{bodyCell:p(({column:u,text:c})=>[u.dataIndex==="appName"?(v(),f("span",{key:0,class:"link",onClick:T=>r(I).push("/resources/applications/detail/"+c)},[A("b",null,[s(r(R),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),m(" "+b(c),1)])],8,K)):h("",!0),u.dataIndex==="instanceName"?(v(),f("span",{key:1,class:"link",onClick:T=>r(I).push("/resources/instances/detail/"+c)},[A("b",null,[s(r(R),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),m(" "+b(c),1)])],8,Q)):h("",!0),u.dataIndex==="timeOut"?(v(),f(G,{key:2},[m(b(r(Y)(c)),1)],64)):h("",!0),u.dataIndex==="label"?(v(),H(V,{key:3,color:r(O)},{default:p(()=>[m(b(c),1)]),_:2},1032,["color"])):h("",!0)]),_:1},8,["data-source","pagination"])]),_:1})])}}}),oe=J(W,[["__scopeId","data-v-549fa778"]]);export{oe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/distribution-rzJg55IY.js b/app/dubbo-ui/dist/admin/assets/distribution-rzJg55IY.js
deleted file mode 100644
index 35734db..0000000
--- a/app/dubbo-ui/dist/admin/assets/distribution-rzJg55IY.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as $,v as E,u as F,a as G,k as U,z as g,r as x,F as j,c as f,b as s,w as p,e as d,n as r,P as O,o as v,f as m,j as A,I as z,t as b,Q as h,J,G as L,_ as M}from"./index-hmLAZQYT.js";import{g as Q}from"./service-HiIVI9X0.js";import{f as Y}from"./DateUtil-BI1mUH_z.js";import"./request-8jI_GZey.js";const q={class:"__container_services_tabs_distribution"},H=["onClick"],K=["onClick"],W=$({__name:"distribution",setup(X){E(a=>({"70895fcd":r(O)}));const I=F(),C=G(),{appContext:{config:{globalProperties:S}}}=U(),y=g(""),R=x([{label:"不指定",value:""},{label:"version=1.0.0",value:"version=1.0.0"},{label:"group=group1",value:"group=group1"},{label:"version=1.0.0,group=group1",value:"version=1.0.0,group=group1"}]);g(R[0].value);const N=g("provider"),D=[{title:"应用名",dataIndex:"appName",width:"20%",customCell:(a,e)=>{const t=o.value[e].appName;return e===0||o.value[e-1].appName!==t?{rowSpan:o.value.filter(i=>i.appName===t).length}:{rowSpan:0}}},{title:"实例数",dataIndex:"instanceNum",width:"15%",customRender:({record:a})=>{const e=a.appName;return o.value.filter(l=>l.appName===e).length??0},customCell:(a,e)=>{const t=o.value[e].appName;return e===0||o.value[e-1].appName!==t?{rowSpan:o.value.filter(i=>i.appName===t).length}:{rowSpan:0}}},{title:"实例名",dataIndex:"instanceName",width:"25%",ellipsis:!0},{title:"RPC端口",dataIndex:"rpcPort",width:"8%"},{title:"超时时间",dataIndex:"timeOut",width:"10%"},{title:"重试次数",dataIndex:"retryNum",width:"10%"}],o=g([]),n=x({total:0,pageSize:10,current:1,pageOffset:0,showTotal:a=>S.$t("searchDomain.total")+": "+a+" "+S.$t("searchDomain.unit")}),w=async()=>{var l,i,_;let a={serviceName:(l=C.params)==null?void 0:l.pathId,side:N.value,version:((i=C.params)==null?void 0:i.version)||"",group:((_=C.params)==null?void 0:_.group)||"",pageOffset:n.pageOffset,pageSize:n.pageSize};const{data:{list:e,pageInfo:t}}=await Q(a);o.value=e,n.total=t.Total};w();const k=j.debounce(w,300),P=a=>{n.pageSize=a.pageSize||10,n.current=a.current||1,n.pageOffset=(n.current-1)*n.pageSize,k()};return(a,e)=>{const t=d("a-radio-button"),l=d("a-radio-group"),i=d("a-input-search"),_=d("a-flex"),V=d("a-tag"),B=d("a-table");return v(),f("div",q,[s(_,{vertical:""},{default:p(()=>[s(_,{class:"service-filter"},{default:p(()=>[s(l,{value:N.value,"onUpdate:value":e[0]||(e[0]=u=>N.value=u),"button-style":"solid",onClick:r(k)},{default:p(()=>[s(t,{value:"provider"},{default:p(()=>[m("生产者")]),_:1}),s(t,{value:"consumer"},{default:p(()=>[m("消费者")]),_:1})]),_:1},8,["value","onClick"]),s(i,{value:y.value,"onUpdate:value":e[1]||(e[1]=u=>y.value=u),placeholder:"搜索应用,ip,支持前缀搜索",class:"service-filter-input",onSearch:r(k),"enter-button":""},null,8,["value","onSearch"])]),_:1}),s(B,{columns:D,"data-source":o.value,scroll:{y:"45vh"},pagination:n,onChange:P},{bodyCell:p(({column:u,text:c})=>[u.dataIndex==="appName"?(v(),f("span",{key:0,class:"link",onClick:T=>r(I).push("/resources/applications/detail/"+c)},[A("b",null,[s(r(z),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),m(" "+b(c),1)])],8,H)):h("",!0),u.dataIndex==="instanceName"?(v(),f("span",{key:1,class:"link",onClick:T=>r(I).push("/resources/instances/detail/"+c)},[A("b",null,[s(r(z),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),m(" "+b(c),1)])],8,K)):h("",!0),u.dataIndex==="timeOut"?(v(),f(J,{key:2},[m(b(r(Y)(c)),1)],64)):h("",!0),u.dataIndex==="label"?(v(),L(V,{key:3,color:r(O)},{default:p(()=>[m(b(c),1)]),_:2},1032,["color"])):h("",!0)]),_:1},8,["data-source","pagination"])]),_:1})])}}}),oe=M(W,[["__scopeId","data-v-549fa778"]]);export{oe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/event-Di8PmXwq.js b/app/dubbo-ui/dist/admin/assets/event-Di8PmXwq.js
new file mode 100644
index 0000000..b21dc56
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/event-Di8PmXwq.js
@@ -0,0 +1 @@
+import{d as e,c as t,o as n}from"./index-3zDsduUv.js";const s=e({__name:"event",setup(o){return(a,c)=>(n(),t("div",null,"event todo"))}});export{s as default};
diff --git a/app/dubbo-ui/dist/admin/assets/event-PfSKfl9X.js b/app/dubbo-ui/dist/admin/assets/event-IjH1CTVp.js
similarity index 76%
rename from app/dubbo-ui/dist/admin/assets/event-PfSKfl9X.js
rename to app/dubbo-ui/dist/admin/assets/event-IjH1CTVp.js
index 36a0702..a861773 100644
--- a/app/dubbo-ui/dist/admin/assets/event-PfSKfl9X.js
+++ b/app/dubbo-ui/dist/admin/assets/event-IjH1CTVp.js
@@ -1 +1 @@
-import{b as s,A as b,d as C,c as d,w as a,e as r,o as p,n as u,J as M,K as S,P as y,f as x,t as _,j as f,p as P,h as w,_ as I}from"./index-hmLAZQYT.js";var j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"};const z=j;function m(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},c=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),c.forEach(function(i){A(e,i,n[i])})}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function(t,n){var c=m({},t,n.attrs);return s(b,m({},c,{icon:z}),null)};o.displayName="MinusCircleOutlined";o.inheritAttrs=!1;const B=o,N=e=>(P("data-v-9245080e"),e=e(),w(),e),D={class:"__container_services_tabs_event"},R={class:"description"},V=N(()=>f("span",null,"过期事件不会存储",-1)),E=C({__name:"event",setup(e){const t=[{time:"2022-01-01",description:"description"},{time:"2022-01-02",description:"description"},{time:"2022-01-03",description:"description"},{time:"2022-01-04",description:"description"},{time:"2022-01-05",description:"description"}];return(n,c)=>{const i=r("a-timeline-item"),v=r("a-tag"),O=r("a-timeline"),g=r("a-card");return p(),d("div",D,[s(g,{class:"timeline-container"},{default:a(()=>[s(O,{class:"timeline"},{default:a(()=>[s(i,null,{dot:a(()=>[s(u(B),{style:{"font-size":"18px"}})]),_:1}),(p(),d(M,null,S(t,(l,h)=>s(i,{key:h},{default:a(()=>[s(v,{class:"time",color:u(y)},{default:a(()=>[x(_(l.time),1)]),_:2},1032,["color"]),f("span",R,_(l.description),1)]),_:2},1024)),64)),s(i,null,{dot:a(()=>[]),default:a(()=>[V]),_:1})]),_:1})]),_:1})])}}}),$=I(E,[["__scopeId","data-v-9245080e"]]);export{$ as default};
+import{b as s,A as b,d as C,c as d,w as a,e as r,o as p,n as u,L as M,M as S,P as y,f as x,t as _,j as f,p as P,h as w,_ as I}from"./index-3zDsduUv.js";var j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"};const z=j;function m(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},c=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),c.forEach(function(i){A(e,i,n[i])})}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function(t,n){var c=m({},t,n.attrs);return s(b,m({},c,{icon:z}),null)};o.displayName="MinusCircleOutlined";o.inheritAttrs=!1;const B=o,N=e=>(P("data-v-9245080e"),e=e(),w(),e),D={class:"__container_services_tabs_event"},L={class:"description"},R=N(()=>f("span",null,"过期事件不会存储",-1)),V=C({__name:"event",setup(e){const t=[{time:"2022-01-01",description:"description"},{time:"2022-01-02",description:"description"},{time:"2022-01-03",description:"description"},{time:"2022-01-04",description:"description"},{time:"2022-01-05",description:"description"}];return(n,c)=>{const i=r("a-timeline-item"),v=r("a-tag"),O=r("a-timeline"),g=r("a-card");return p(),d("div",D,[s(g,{class:"timeline-container"},{default:a(()=>[s(O,{class:"timeline"},{default:a(()=>[s(i,null,{dot:a(()=>[s(u(B),{style:{"font-size":"18px"}})]),_:1}),(p(),d(M,null,S(t,(l,h)=>s(i,{key:h},{default:a(()=>[s(v,{class:"time",color:u(y)},{default:a(()=>[x(_(l.time),1)]),_:2},1032,["color"]),f("span",L,_(l.description),1)]),_:2},1024)),64)),s(i,null,{dot:a(()=>[]),default:a(()=>[R]),_:1})]),_:1})]),_:1})])}}}),$=I(V,[["__scopeId","data-v-9245080e"]]);export{$ as default};
diff --git a/app/dubbo-ui/dist/admin/assets/event-WVUl-Hrs.js b/app/dubbo-ui/dist/admin/assets/event-WVUl-Hrs.js
deleted file mode 100644
index a144244..0000000
--- a/app/dubbo-ui/dist/admin/assets/event-WVUl-Hrs.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as e,c as t,o as n}from"./index-hmLAZQYT.js";const s=e({__name:"event",setup(o){return(a,c)=>(n(),t("div",null,"event todo"))}});export{s as default};
diff --git a/app/dubbo-ui/dist/admin/assets/event-ZoLBaQpy.js b/app/dubbo-ui/dist/admin/assets/event-ZoLBaQpy.js
new file mode 100644
index 0000000..06d6bf3
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/event-ZoLBaQpy.js
@@ -0,0 +1 @@
+import{d as v,v as f,r as h,D as y,c as d,b as r,w as n,e as p,n as l,P as C,o as c,L as x,M as b,J as k,a5 as w,a6 as I,j as e,a7 as S,t as i,p as B,h as R,_ as g}from"./index-3zDsduUv.js";import{l as L}from"./app-mdoSebGq.js";import"./request-3an337VF.js";const M=t=>(B("data-v-e2aef936"),t=t(),R(),t),O={class:"__container_app_event"},V={class:"box"},z=M(()=>e("div",{class:"type"},null,-1)),A={class:"body"},D={class:"title"},E={class:"time"},N=v({__name:"event",setup(t){f(a=>({f166166e:l(C)}));let s=h({list:[]});return y(async()=>{let a=await L({});s.list=a.data.list,console.log(s)}),(a,P)=>{const m=p("a-timeline-item"),u=p("a-timeline");return c(),d("div",O,[r(u,{mode:"left"},{default:n(()=>[(c(!0),d(x,null,b(l(s).list,(o,_)=>(c(),k(m,null,w({default:n(()=>[e("div",V,[e("div",{class:S(["label",{yellow:_===0}])},[z,e("div",A,[e("b",D,i(o.type),1),e("p",null,i(o.desc),1)])],2),e("span",E,i(o.time),1)])]),_:2},[_===0?{name:"dot",fn:n(()=>[r(l(I),{style:{"font-size":"16px",color:"red"}})]),key:"0"}:void 0]),1024))),256))]),_:1})])}}}),Y=g(N,[["__scopeId","data-v-e2aef936"]]);export{Y as default};
diff --git a/app/dubbo-ui/dist/admin/assets/event-ympyACpm.js b/app/dubbo-ui/dist/admin/assets/event-ympyACpm.js
deleted file mode 100644
index d627fc8..0000000
--- a/app/dubbo-ui/dist/admin/assets/event-ympyACpm.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as v,v as f,r as h,W as y,c as d,b as r,w as n,e as p,n as l,P as C,o as c,J as x,K as b,G as k,a4 as w,a5 as I,j as e,a6 as S,t as i,p as B,h as R,_ as g}from"./index-hmLAZQYT.js";import{l as O}from"./app-duU6O0cq.js";import"./request-8jI_GZey.js";const V=t=>(B("data-v-e2aef936"),t=t(),R(),t),z={class:"__container_app_event"},A={class:"box"},E=V(()=>e("div",{class:"type"},null,-1)),L={class:"body"},M={class:"title"},N={class:"time"},P=v({__name:"event",setup(t){f(a=>({f166166e:l(C)}));let s=h({list:[]});return y(async()=>{let a=await O({});s.list=a.data.list,console.log(s)}),(a,j)=>{const m=p("a-timeline-item"),u=p("a-timeline");return c(),d("div",z,[r(u,{mode:"left"},{default:n(()=>[(c(!0),d(x,null,b(l(s).list,(o,_)=>(c(),k(m,null,w({default:n(()=>[e("div",A,[e("div",{class:S(["label",{yellow:_===0}])},[E,e("div",L,[e("b",M,i(o.type),1),e("p",null,i(o.desc),1)])],2),e("span",N,i(o.time),1)])]),_:2},[_===0?{name:"dot",fn:n(()=>[r(l(I),{style:{"font-size":"16px",color:"red"}})]),key:"0"}:void 0]),1024))),256))]),_:1})])}}}),J=g(P,[["__scopeId","data-v-e2aef936"]]);export{J as default};
diff --git a/app/dubbo-ui/dist/admin/assets/formView-2KzX11dd.js b/app/dubbo-ui/dist/admin/assets/formView-2KzX11dd.js
new file mode 100644
index 0000000..c7e2853
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/formView-2KzX11dd.js
@@ -0,0 +1 @@
+import{d as P,v as T,a as L,k as M,l as x,r as A,D as E,c as f,b as t,w as a,L as v,M as w,e as l,n as m,P as F,o as c,j as h,f as n,t as o,a0 as D,J as $,m as G,_ as J}from"./index-3zDsduUv.js";import{u as Y}from"./index-HdnVQEsT.js";import{e as q}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const z={class:"__container_app_detail"},H=P({__name:"formView",setup(K){T(e=>({"0baf33be":m(F)}));const k=L(),{appContext:{config:{globalProperties:O}}}=M(),R=Y().toClipboard;function _(e){G.success(O.$t("messageDomain.success.copy")),R(e)}const b=x(()=>{const e=s.key.split(":");return e[0]?e[0]:""}),s=A({configVersion:"v3.0",scope:"application",key:"shop-user",enabled:!0,runtime:!0,tags:[{name:"gray",match:[{key:"version",value:{exact:"v1"}}]}]}),N=async()=>{var r;const e=await q((r=k.params)==null?void 0:r.ruleName);e.code===200&&Object.assign(s,e.data||{})};return E(()=>{N()}),(e,r)=>{const i=l("a-descriptions-item"),u=l("a-typography-paragraph"),S=l("a-descriptions"),g=l("a-card"),V=l("a-flex"),j=l("a-typography-text"),y=l("a-typography-title"),C=l("a-space"),I=l("a-tag");return c(),f("div",z,[t(V,null,{default:a(()=>[t(g,{class:"_detail"},{default:a(()=>[t(S,{column:2,layout:"vertical",title:""},{default:a(()=>[t(i,{label:e.$t("flowControlDomain.ruleName"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[h("p",{onClick:r[0]||(r[0]=p=>_(s.key)),class:"description-item-content with-card"},[n(o(s.key)+" ",1),t(m(D))])]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.ruleGranularity"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.scope),1)]),_:1})]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.actionObject"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[h("p",{onClick:r[1]||(r[1]=p=>_(b.value)),class:"description-item-content with-card"},[n(o(b.value)+" ",1),t(m(D))])]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.enabledState"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.enabled?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)]),_:1})]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.runTimeEffective"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.runtime?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),(c(!0),f(v,null,w(s.tags,(p,W)=>(c(),$(g,{title:`标签【${W+1}】`,style:{"margin-top":"10px"},class:"_detail"},{default:a(()=>[t(C,{align:"center"},{default:a(()=>[t(y,{level:5},{default:a(()=>[n(o(e.$t("flowControlDomain.labelName"))+": ",1),t(j,{class:"labelName"},{default:a(()=>[n(o(p.name),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),t(C,{align:"start",style:{width:"100%"}},{default:a(()=>[t(y,{level:5},{default:a(()=>[n(o(e.$t("flowControlDomain.actuatingRange"))+": ",1)]),_:1}),(c(!0),f(v,null,w(p.match,(d,B)=>(c(),$(I,{key:B,color:"#2db7f5"},{default:a(()=>[n(o(d.key)+": "+o(Object.keys(d.value)[0])+"="+o(Object.values(d.value)[0]),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["title"]))),256))])}}}),ee=J(H,[["__scopeId","data-v-4f4c877f"]]);export{ee as default};
diff --git a/app/dubbo-ui/dist/admin/assets/formView-RlUvRzIB.js b/app/dubbo-ui/dist/admin/assets/formView-RlUvRzIB.js
new file mode 100644
index 0000000..855e76f
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/formView-RlUvRzIB.js
@@ -0,0 +1 @@
+import{u as G}from"./index-HdnVQEsT.js";import{d as F,k as J,a as U,B as k,r as H,l as K,D as Q,c as $,b as o,w as t,e as i,o as s,f as n,t as r,J as c,n as y,aa as X,ab as Y,j as g,a0 as S,T as v,L as M,M as O,m as Z,p as ee,h as te,_ as oe}from"./index-3zDsduUv.js";import{g as ae}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const A=w=>(ee("data-v-2f7b63ed"),w=w(),te(),w),le={class:"__container_routingRule_detail"},ne=A(()=>g("p",null,"修改时间: 2024/3/20 15:20:31",-1)),se=A(()=>g("p",null,"版本号: xo842xqpx834",-1)),re=F({__name:"formView",setup(w){const{appContext:{config:{globalProperties:T}}}=J(),j=U(),_=k(!1),B=k(8),x=G().toClipboard;function h(e){Z.success(T.$t("messageDomain.success.copy")),x(e)}const a=H({configVersion:"v3.0",scope:"service",key:"org.apache.dubbo.samples.UserService",enabled:!0,runtime:!0,force:!1,conditions:["=>host!=192.168.0.68"],group:"",version:""}),N=K(()=>{const e=a.key.split(":");return a.version=e[1]||"",a.group=e[2]||"",e[0]?e[0]:""}),R=k([]),V=k([]);async function E(){var l;let e=await ae((l=j.params)==null?void 0:l.ruleName);console.log(e),(e==null?void 0:e.code)===200&&(Object.assign(a,(e==null?void 0:e.data)||{}),a.conditions.forEach((p,C)=>{var D,f;const m=p.split(" => "),u=(D=m[1])==null?void 0:D.split(" & "),b=(f=m[0])==null?void 0:f.split(" & ");R.value=R.value.concat(b),V.value=V.value.concat(u)}))}const L=()=>{var l;const e=(l=j.params)==null?void 0:l.ruleName;if(e&&a.scope==="service"){const p=e==null?void 0:e.split(":");a.version=p[1],a.group=p[2].split(".")[0]}};return Q(async()=>{await E(),L()}),(e,l)=>{const p=i("a-typography-title"),C=i("a-button"),m=i("a-flex"),u=i("a-descriptions-item"),b=i("a-typography-paragraph"),D=i("a-descriptions"),f=i("a-card"),z=i("a-row"),P=i("a-tag"),W=i("a-space"),q=i("a-col");return s(),$("div",le,[o(m,{style:{width:"100%"}},{default:t(()=>[o(q,{span:_.value?24-B.value:24,class:"left"},{default:t(()=>[o(z,null,{default:t(()=>[o(m,{justify:"space-between",style:{width:"100%"}},{default:t(()=>[o(p,{level:3},{default:t(()=>[n(" 基础信息")]),_:1}),o(C,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=d=>_.value=!_.value)},{default:t(()=>[n(r(e.$t("flowControlDomain.versionRecords"))+" ",1),_.value?(s(),c(y(Y),{key:1})):(s(),c(y(X),{key:0}))]),_:1})]),_:1}),o(f,{class:"_detail"},{default:t(()=>[o(D,{column:2,layout:"vertical",title:""},{default:t(()=>[o(u,{label:e.$t("flowControlDomain.ruleName"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:l[1]||(l[1]=d=>h(a.key))},[n(r(a.key)+" ",1),o(y(S))])]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.ruleGranularity"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(a.scope),1)]),_:1})]),_:1},8,["label"]),a.scope=="service"?(s(),c(u,{key:0,label:"版本",labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:l[2]||(l[2]=d=>h(a.version))},[n(r(a.version)+" ",1),a.version.length?(s(),c(y(S),{key:0})):v("",!0)])]),_:1})):v("",!0),a.scope=="service"?(s(),c(u,{key:1,label:"分组",labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:l[3]||(l[3]=d=>h(a.group))},[n(r(a.group)+" ",1),a.group.length?(s(),c(y(S),{key:0})):v("",!0)])]),_:1})):v("",!0),o(u,{label:e.$t("flowControlDomain.actionObject"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:l[4]||(l[4]=d=>h(N.value))},[n(r(N.value)+" ",1),o(y(S))])]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.faultTolerantProtection"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(a.force?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.enabledState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(a.enabled?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)]),_:1})]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.runTimeEffective"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(a.runtime?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),o(f,{style:{"margin-top":"10px"},class:"_detail"},{default:t(()=>[o(W,{align:"start",style:{width:"100%"}},{default:t(()=>[o(p,{level:5},{default:t(()=>[n(r(e.$t("flowControlDomain.requestParameterMatching"))+": ",1)]),_:1}),o(W,{align:"center",direction:"horizontal",size:"middle",wrap:""},{default:t(()=>[(s(!0),$(M,null,O(R.value,(d,I)=>(s(),c(P,{key:I,color:"#2db7f5"},{default:t(()=>[n(r(d),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(W,{align:"start",style:{width:"100%"},wrap:""},{default:t(()=>[o(p,{level:5},{default:t(()=>[n(r(e.$t("flowControlDomain.addressSubsetMatching"))+": ",1)]),_:1}),(s(!0),$(M,null,O(V.value,(d,I)=>(s(),c(P,{key:I,color:"#87d068"},{default:t(()=>[n(r(d),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1},8,["span"]),o(q,{span:_.value?B.value:0,class:"right"},{default:t(()=>[_.value?(s(),c(f,{key:0,class:"sliderBox"},{default:t(()=>[(s(),$(M,null,O(2,d=>o(f,{key:d},{default:t(()=>[ne,se,o(m,{justify:"flex-end"},{default:t(()=>[o(C,{type:"text",style:{color:"#0a90d5"}},{default:t(()=>[n("查看")]),_:1}),o(C,{type:"text",style:{color:"#0a90d5"}},{default:t(()=>[n("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):v("",!0)]),_:1},8,["span"])]),_:1})])}}}),pe=oe(re,[["__scopeId","data-v-2f7b63ed"]]);export{pe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/formView-dr6vkirR.js b/app/dubbo-ui/dist/admin/assets/formView-dr6vkirR.js
deleted file mode 100644
index a1cf995..0000000
--- a/app/dubbo-ui/dist/admin/assets/formView-dr6vkirR.js
+++ /dev/null
@@ -1 +0,0 @@
-import{u as L}from"./index-Va7nxJVK.js";import{d as F,k as J,a as K,z as D,r as Q,l as U,W as H,c as $,b as o,w as t,e as i,o as s,f as n,t as r,G as c,n as y,a9 as X,aa as Y,j as g,$ as S,Q as v,J as O,K as j,m as Z,p as ee,h as te,_ as oe}from"./index-hmLAZQYT.js";import{g as le}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const A=w=>(ee("data-v-2f7b63ed"),w=w(),te(),w),ae={class:"__container_routingRule_detail"},ne=A(()=>g("p",null,"修改时间: 2024/3/20 15:20:31",-1)),se=A(()=>g("p",null,"版本号: xo842xqpx834",-1)),re=F({__name:"formView",setup(w){const{appContext:{config:{globalProperties:x}}}=J(),M=K(),_=D(!1),N=D(8),z=L().toClipboard;function h(e){Z.success(x.$t("messageDomain.success.copy")),z(e)}const l=Q({configVersion:"v3.0",scope:"service",key:"org.apache.dubbo.samples.UserService",enabled:!0,runtime:!0,force:!1,conditions:["=>host!=192.168.0.68"],group:"",version:""}),B=U(()=>{const e=l.key.split(":");return l.version=e[1]||"",l.group=e[2]||"",e[0]?e[0]:""}),W=D([]),R=D([]);async function E(){var a;let e=await le((a=M.params)==null?void 0:a.ruleName);console.log(e),(e==null?void 0:e.code)===200&&(Object.assign(l,(e==null?void 0:e.data)||{}),l.conditions.forEach((p,C)=>{var k,f;const m=p.split(" => "),u=(k=m[1])==null?void 0:k.split(" & "),b=(f=m[0])==null?void 0:f.split(" & ");W.value=W.value.concat(b),R.value=R.value.concat(u)}))}const G=()=>{var a;const e=(a=M.params)==null?void 0:a.ruleName;if(e&&l.scope==="service"){const p=e==null?void 0:e.split(":");l.version=p[1],l.group=p[2].split(".")[0]}};return H(async()=>{await E(),G()}),(e,a)=>{const p=i("a-typography-title"),C=i("a-button"),m=i("a-flex"),u=i("a-descriptions-item"),b=i("a-typography-paragraph"),k=i("a-descriptions"),f=i("a-card"),T=i("a-row"),P=i("a-tag"),V=i("a-space"),q=i("a-col");return s(),$("div",ae,[o(m,{style:{width:"100%"}},{default:t(()=>[o(q,{span:_.value?24-N.value:24,class:"left"},{default:t(()=>[o(T,null,{default:t(()=>[o(m,{justify:"space-between",style:{width:"100%"}},{default:t(()=>[o(p,{level:3},{default:t(()=>[n(" 基础信息")]),_:1}),o(C,{type:"text",style:{color:"#0a90d5"},onClick:a[0]||(a[0]=d=>_.value=!_.value)},{default:t(()=>[n(r(e.$t("flowControlDomain.versionRecords"))+" ",1),_.value?(s(),c(y(Y),{key:1})):(s(),c(y(X),{key:0}))]),_:1})]),_:1}),o(f,{class:"_detail"},{default:t(()=>[o(k,{column:2,layout:"vertical",title:""},{default:t(()=>[o(u,{label:e.$t("flowControlDomain.ruleName"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:a[1]||(a[1]=d=>h(l.key))},[n(r(l.key)+" ",1),o(y(S))])]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.ruleGranularity"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(l.scope),1)]),_:1})]),_:1},8,["label"]),l.scope=="service"?(s(),c(u,{key:0,label:"版本",labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:a[2]||(a[2]=d=>h(l.version))},[n(r(l.version)+" ",1),l.version.length?(s(),c(y(S),{key:0})):v("",!0)])]),_:1})):v("",!0),l.scope=="service"?(s(),c(u,{key:1,label:"分组",labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:a[3]||(a[3]=d=>h(l.group))},[n(r(l.group)+" ",1),l.group.length?(s(),c(y(S),{key:0})):v("",!0)])]),_:1})):v("",!0),o(u,{label:e.$t("flowControlDomain.actionObject"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[g("p",{class:"description-item-content with-card",onClick:a[4]||(a[4]=d=>h(B.value))},[n(r(B.value)+" ",1),o(y(S))])]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.faultTolerantProtection"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(l.force?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.enabledState"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(l.enabled?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)]),_:1})]),_:1},8,["label"]),o(u,{label:e.$t("flowControlDomain.runTimeEffective"),labelStyle:{fontWeight:"bold"}},{default:t(()=>[o(b,null,{default:t(()=>[n(r(l.runtime?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),o(f,{style:{"margin-top":"10px"},class:"_detail"},{default:t(()=>[o(V,{align:"start",style:{width:"100%"}},{default:t(()=>[o(p,{level:5},{default:t(()=>[n(r(e.$t("flowControlDomain.requestParameterMatching"))+": ",1)]),_:1}),o(V,{align:"center",direction:"horizontal",size:"middle",wrap:""},{default:t(()=>[(s(!0),$(O,null,j(W.value,(d,I)=>(s(),c(P,{key:I,color:"#2db7f5"},{default:t(()=>[n(r(d),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(V,{align:"start",style:{width:"100%"},wrap:""},{default:t(()=>[o(p,{level:5},{default:t(()=>[n(r(e.$t("flowControlDomain.addressSubsetMatching"))+": ",1)]),_:1}),(s(!0),$(O,null,j(R.value,(d,I)=>(s(),c(P,{key:I,color:"#87d068"},{default:t(()=>[n(r(d),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1},8,["span"]),o(q,{span:_.value?N.value:0,class:"right"},{default:t(()=>[_.value?(s(),c(f,{key:0,class:"sliderBox"},{default:t(()=>[(s(),$(O,null,j(2,d=>o(f,{key:d},{default:t(()=>[ne,se,o(m,{justify:"flex-end"},{default:t(()=>[o(C,{type:"text",style:{color:"#0a90d5"}},{default:t(()=>[n("查看")]),_:1}),o(C,{type:"text",style:{color:"#0a90d5"}},{default:t(()=>[n("回滚")]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})):v("",!0)]),_:1},8,["span"])]),_:1})])}}}),pe=oe(re,[["__scopeId","data-v-2f7b63ed"]]);export{pe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/formView--eWAQ02R.js b/app/dubbo-ui/dist/admin/assets/formView-vzcbtWy_.js
similarity index 98%
rename from app/dubbo-ui/dist/admin/assets/formView--eWAQ02R.js
rename to app/dubbo-ui/dist/admin/assets/formView-vzcbtWy_.js
index ccd701c..c5746bb 100644
--- a/app/dubbo-ui/dist/admin/assets/formView--eWAQ02R.js
+++ b/app/dubbo-ui/dist/admin/assets/formView-vzcbtWy_.js
@@ -1,4 +1,4 @@
-import{d as tn,v as en,x as rn,y as nn,k as sn,a as an,u as on,z as Ge,r as Ke,l as Fi,W as ln,c as Ct,b as D,w as S,G as $,Q as zt,a3 as Ii,e as rt,n as G,P as Ft,o as E,j as Re,J as Wt,K as qt,f as nt,t as dt,ad as un,I as ne,ag as fn,m as ge,_ as hn}from"./index-hmLAZQYT.js";import{u as _n}from"./index-Va7nxJVK.js";import{k as dn,l as cn,m as pn}from"./traffic-C2a-KjHH.js";import{V as mn,C as gn}from"./ConfigModel-QFNd-Zdd.js";import"./request-8jI_GZey.js";function Mt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tr(l,t){l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.__proto__=t}/*!
+import{d as tn,v as en,y as rn,z as nn,k as sn,a as an,u as on,B as Ge,r as Ke,l as Fi,D as ln,c as Ct,b as D,w as S,J as $,T as zt,a4 as Ii,e as rt,n as G,P as Ft,o as E,j as Re,L as Wt,M as qt,f as nt,t as dt,af as un,I as ne,ai as fn,m as ge,_ as hn}from"./index-3zDsduUv.js";import{u as _n}from"./index-HdnVQEsT.js";import{k as dn,l as cn,m as pn}from"./traffic-dHGZ6qwp.js";import{V as mn,C as gn}from"./ConfigModel-IgPiU3B2.js";import"./request-3an337VF.js";function Mt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tr(l,t){l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.__proto__=t}/*!
* GSAP 3.12.7
* https://gsap.com
*
diff --git a/app/dubbo-ui/dist/admin/assets/formView-yOHva0ty.js b/app/dubbo-ui/dist/admin/assets/formView-yOHva0ty.js
deleted file mode 100644
index b3f4d47..0000000
--- a/app/dubbo-ui/dist/admin/assets/formView-yOHva0ty.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as P,v as T,a as x,k as A,l as E,r as G,W as L,c as f,b as t,w as a,J as v,K as w,e as l,n as m,P as M,o as c,j as h,f as n,t as o,$ as D,G as $,m as F,_ as J}from"./index-hmLAZQYT.js";import{u as K}from"./index-Va7nxJVK.js";import{e as Y}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const q={class:"__container_app_detail"},z=P({__name:"formView",setup(H){T(e=>({"0baf33be":m(M)}));const k=x(),{appContext:{config:{globalProperties:O}}}=A(),R=K().toClipboard;function _(e){F.success(O.$t("messageDomain.success.copy")),R(e)}const b=E(()=>{const e=s.key.split(":");return e[0]?e[0]:""}),s=G({configVersion:"v3.0",scope:"application",key:"shop-user",enabled:!0,runtime:!0,tags:[{name:"gray",match:[{key:"version",value:{exact:"v1"}}]}]}),N=async()=>{var r;const e=await Y((r=k.params)==null?void 0:r.ruleName);e.code===200&&Object.assign(s,e.data||{})};return L(()=>{N()}),(e,r)=>{const i=l("a-descriptions-item"),u=l("a-typography-paragraph"),S=l("a-descriptions"),g=l("a-card"),V=l("a-flex"),j=l("a-typography-text"),y=l("a-typography-title"),C=l("a-space"),W=l("a-tag");return c(),f("div",q,[t(V,null,{default:a(()=>[t(g,{class:"_detail"},{default:a(()=>[t(S,{column:2,layout:"vertical",title:""},{default:a(()=>[t(i,{label:e.$t("flowControlDomain.ruleName"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[h("p",{onClick:r[0]||(r[0]=p=>_(s.key)),class:"description-item-content with-card"},[n(o(s.key)+" ",1),t(m(D))])]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.ruleGranularity"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.scope),1)]),_:1})]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.actionObject"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[h("p",{onClick:r[1]||(r[1]=p=>_(b.value)),class:"description-item-content with-card"},[n(o(b.value)+" ",1),t(m(D))])]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.enabledState"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.enabled?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)]),_:1})]),_:1},8,["label"]),t(i,{label:e.$t("flowControlDomain.runTimeEffective"),labelStyle:{fontWeight:"bold"}},{default:a(()=>[t(u,null,{default:a(()=>[n(o(s.runtime?e.$t("flowControlDomain.opened"):e.$t("flowControlDomain.closed")),1)]),_:1})]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),(c(!0),f(v,null,w(s.tags,(p,I)=>(c(),$(g,{title:`标签【${I+1}】`,style:{"margin-top":"10px"},class:"_detail"},{default:a(()=>[t(C,{align:"center"},{default:a(()=>[t(y,{level:5},{default:a(()=>[n(o(e.$t("flowControlDomain.labelName"))+": ",1),t(j,{class:"labelName"},{default:a(()=>[n(o(p.name),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),t(C,{align:"start",style:{width:"100%"}},{default:a(()=>[t(y,{level:5},{default:a(()=>[n(o(e.$t("flowControlDomain.actuatingRange"))+": ",1)]),_:1}),(c(!0),f(v,null,w(p.match,(d,B)=>(c(),$(W,{key:B,color:"#2db7f5"},{default:a(()=>[n(o(d.key)+": "+o(Object.keys(d.value)[0])+"="+o(Object.values(d.value)[0]),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["title"]))),256))])}}}),ee=J(z,[["__scopeId","data-v-4f4c877f"]]);export{ee as default};
diff --git a/app/dubbo-ui/dist/admin/assets/freemarker2-7czNGzoq.js b/app/dubbo-ui/dist/admin/assets/freemarker2-UxhOxt-M.js
similarity index 98%
rename from app/dubbo-ui/dist/admin/assets/freemarker2-7czNGzoq.js
rename to app/dubbo-ui/dist/admin/assets/freemarker2-UxhOxt-M.js
index aa1c139..bd85866 100644
--- a/app/dubbo-ui/dist/admin/assets/freemarker2-7czNGzoq.js
+++ b/app/dubbo-ui/dist/admin/assets/freemarker2-UxhOxt-M.js
@@ -1,4 +1,4 @@
-import{m as F}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as F}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/globalSearch--VMQnq3S.js b/app/dubbo-ui/dist/admin/assets/globalSearch--VMQnq3S.js
new file mode 100644
index 0000000..dd48b25
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/globalSearch--VMQnq3S.js
@@ -0,0 +1 @@
+import{r as t}from"./request-3an337VF.js";const r=e=>t({url:"/auth/login",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}}),s=()=>t({url:"/auth/logout",method:"post"}),a=()=>t({url:"/meshes",method:"get"});export{s as a,r as l,a as m};
diff --git a/app/dubbo-ui/dist/admin/assets/handlebars-WxO52qam.js b/app/dubbo-ui/dist/admin/assets/handlebars-feyIBGtU.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/handlebars-WxO52qam.js
rename to app/dubbo-ui/dist/admin/assets/handlebars-feyIBGtU.js
index f7c5440..516ff2f 100644
--- a/app/dubbo-ui/dist/admin/assets/handlebars-WxO52qam.js
+++ b/app/dubbo-ui/dist/admin/assets/handlebars-feyIBGtU.js
@@ -1,4 +1,4 @@
-import{m as i}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as i}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/html-uljtN73o.js b/app/dubbo-ui/dist/admin/assets/html-XW1o38ac.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/html-uljtN73o.js
rename to app/dubbo-ui/dist/admin/assets/html-XW1o38ac.js
index 059dc54..0df3fe6 100644
--- a/app/dubbo-ui/dist/admin/assets/html-uljtN73o.js
+++ b/app/dubbo-ui/dist/admin/assets/html-XW1o38ac.js
@@ -1,4 +1,4 @@
-import{m as p}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as p}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/htmlMode-X6nY_fAl.js b/app/dubbo-ui/dist/admin/assets/htmlMode-GNYYzuyz.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/htmlMode-X6nY_fAl.js
rename to app/dubbo-ui/dist/admin/assets/htmlMode-GNYYzuyz.js
index c150c2a..96fbf02 100644
--- a/app/dubbo-ui/dist/admin/assets/htmlMode-X6nY_fAl.js
+++ b/app/dubbo-ui/dist/admin/assets/htmlMode-GNYYzuyz.js
@@ -1,4 +1,4 @@
-import{m as ft}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as ft}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/index-0bxuOvJ7.css b/app/dubbo-ui/dist/admin/assets/index-0bxuOvJ7.css
new file mode 100644
index 0000000..306642d
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/index-0bxuOvJ7.css
@@ -0,0 +1 @@
+.__container_menu .icon-wrapper .icon[data-v-0c21c672]{font-size:20px;margin-right:5px;margin-bottom:-4px;font-weight:700}.__container_layout_header .header[data-v-fbb481f3]{background:var(--33f79e48);padding:0}.__container_layout_header .header .mesh-select[data-v-fbb481f3]{min-width:100px}.__container_layout_header .header .mesh-select-item[data-v-fbb481f3] label{color:var(--75bb75af)}.__container_layout_header .header .search-group[data-v-fbb481f3]{display:flex;align-items:center}.__container_layout_header .header .search-group .select-type[data-v-fbb481f3]{width:120px}.__container_layout_header .header .search-group .input-keywords[data-v-fbb481f3]{width:20vw}.__container_layout_header .header .search-group .input-keywords[data-v-fbb481f3]:hover,.__container_layout_header .header .search-group .input-keywords[data-v-fbb481f3]:hover .ant-select-selector{border-color:#d9d9d9}.__container_layout_header .header .search-group .input-keywords[data-v-fbb481f3] .ant-select-selector,.__container_layout_header .header .search-group .input-keywords[data-v-fbb481f3] .ant-select-selector:hover{border-color:#d9d9d9;box-shadow:none}.__container_layout_header .header .search-group .search-icon[data-v-fbb481f3]{width:32px}.__container_layout_header .trigger[data-v-fbb481f3]{font-size:20px;margin-left:20px;color:#fff}.__container_layout_header .username[data-v-fbb481f3]{color:#fff;padding:5px}.__container_layout_header .reset-icon[data-v-fbb481f3]{font-size:25px;color:#fff}.__container_layout_bread[data-v-97925c3f]{padding-left:20px;padding-top:10px}.__container_layout_index[data-v-e6898f0d] .ant-layout-content{padding:16px!important}.__container_layout_index .logo[data-v-e6898f0d]{height:40px;width:auto;margin:10px 15px;padding-left:10px;padding-right:10px;border-radius:8px;background:var(--1cdde0dc);line-height:40px;vertical-align:middle;font-size:22px;color:#fff}.__container_layout_index .logo img[data-v-e6898f0d]{width:28px;height:28px;margin-bottom:5px;margin-right:5px}.__container_layout_index .layout-content[data-v-e6898f0d]{margin:16px;padding:16px 16px 24px;overflow:hidden;height:calc(100vh - 140px)}.__container_layout_index .layout-footer[data-v-e6898f0d]{height:30px;text-align:center}.slide-fade-enter-active{animation:slide-fade-in .5s}@keyframes slide-fade-in{0%{transform:translate(80px);opacity:0}50%{transform:translate(-2px);opacity:20}to{transform:translate(0);opacity:100}}.fade-enter-active{animation:fade-in .6s ease-in-out}.fade-leave-active{animation:fade-in .6s reverse}@keyframes fade-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:100}}
diff --git a/app/dubbo-ui/dist/admin/assets/index-1-DS2ySp.js b/app/dubbo-ui/dist/admin/assets/index-1-DS2ySp.js
deleted file mode 100644
index e9989d3..0000000
--- a/app/dubbo-ui/dist/admin/assets/index-1-DS2ySp.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as N,v as g,a as w,r as b,W as D,D as S,c as n,b as _,w as l,n as p,P as v,R,e as V,o as t,J as y,K as C,G as h,f as d,t as c,X as q,j as A,I as E,Q as B,y as O,_ as M}from"./index-hmLAZQYT.js";import{s as P}from"./app-duU6O0cq.js";import{S as T,a as Y,s as x}from"./SearchUtil-sOWd6ofa.js";import"./request-8jI_GZey.js";const F={class:"__container_resources_application_index"},J=["onClick"],K=N({__name:"index",setup(L){g(e=>({d89413de:p(v)}));let u=w(),k=u.query.query,f=[{title:"appName",key:"appName",dataIndex:"appName",sorter:(e,s)=>x(e.appName,s.appName),width:140,ellipsis:!0},{title:"applicationDomain.instanceCount",key:"instanceCount",dataIndex:"instanceCount",width:100,sorter:(e,s)=>x(e.instanceCount,s.instanceCount)},{title:"applicationDomain.deployClusters",key:"deployClusters",dataIndex:"deployClusters",width:120},{title:"applicationDomain.registryClusters",key:"registryClusters",dataIndex:"registryClusters",width:200}];const a=b(new T([{label:"appName",param:"keywords",defaultValue:k,placeholder:"typeAppName",style:{width:"200px"}}],P,f));return D(()=>{a.onSearch(),a.tableStyle={scrollX:"100",scrollY:"367px"}}),R(O.SEARCH_DOMAIN,a),S(u,(e,s)=>{a.queryForm.keywords=e.query.query,a.onSearch(),console.log(e)}),(e,s)=>{const m=V("a-tag");return t(),n("div",F,[_(Y,{"search-domain":a},{bodyCell:l(({text:i,record:I,index:X,column:r})=>[r.dataIndex==="registryClusters"?(t(!0),n(y,{key:0},C(i,o=>(t(),h(m,null,{default:l(()=>[d(c(o),1)]),_:2},1024))),256)):r.dataIndex==="deployClusters"?(t(!0),n(y,{key:1},C(i,o=>(t(),h(m,null,{default:l(()=>[d(c(o),1)]),_:2},1024))),256)):r.dataIndex==="appName"?(t(),n("span",{key:2,class:"app-link",onClick:o=>p(q).push(`/resources/applications/detail/${I[r.key]}`)},[A("b",null,[_(p(E),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),d(" "+c(i),1)])],8,J)):B("",!0)]),_:1},8,["search-domain"])])}}}),Q=M(K,[["__scopeId","data-v-2d6e7df7"]]);export{Q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-1FKHxc4J.css b/app/dubbo-ui/dist/admin/assets/index-1FKHxc4J.css
deleted file mode 100644
index 136a93c..0000000
--- a/app/dubbo-ui/dist/admin/assets/index-1FKHxc4J.css
+++ /dev/null
@@ -1 +0,0 @@
-.__container_menu .icon-wrapper .icon[data-v-0c21c672]{font-size:20px;margin-right:5px;margin-bottom:-4px;font-weight:700}.__container_layout_header .header[data-v-8929dc94]{background:var(--5b012264);padding:0}.__container_layout_header .header .search-group[data-v-8929dc94]{display:flex;align-items:center}.__container_layout_header .header .search-group .select-type[data-v-8929dc94]{width:120px}.__container_layout_header .header .search-group .input-keywords[data-v-8929dc94]{width:20vw}.__container_layout_header .header .search-group .input-keywords[data-v-8929dc94]:hover,.__container_layout_header .header .search-group .input-keywords[data-v-8929dc94]:hover .ant-select-selector{border-color:#d9d9d9}.__container_layout_header .header .search-group .input-keywords[data-v-8929dc94] .ant-select-selector,.__container_layout_header .header .search-group .input-keywords[data-v-8929dc94] .ant-select-selector:hover{border-color:#d9d9d9;box-shadow:none}.__container_layout_header .header .search-group .search-icon[data-v-8929dc94]{width:32px}.__container_layout_header .trigger[data-v-8929dc94]{font-size:20px;margin-left:20px;color:#fff}.__container_layout_header .username[data-v-8929dc94]{color:#fff;padding:5px}.__container_layout_header .reset-icon[data-v-8929dc94]{font-size:25px;color:#fff}.__container_layout_bread[data-v-97925c3f]{padding-left:20px;padding-top:10px}.__container_layout_index[data-v-bf34dde3] .ant-layout-content{padding:16px!important}.__container_layout_index .logo[data-v-bf34dde3]{height:40px;width:auto;margin:10px 15px;padding-left:10px;padding-right:10px;border-radius:8px;background:var(--0345b33d);line-height:40px;vertical-align:middle;font-size:22px;color:#fff}.__container_layout_index .logo img[data-v-bf34dde3]{width:28px;height:28px;margin-bottom:5px;margin-right:5px}.__container_layout_index .layout-content[data-v-bf34dde3]{margin:16px;padding:16px 16px 24px;overflow:hidden;height:calc(100vh - 140px)}.__container_layout_index .layout-footer[data-v-bf34dde3]{height:30px;text-align:center}.slide-fade-enter-active{animation:slide-fade-in .5s}@keyframes slide-fade-in{0%{transform:translate(80px);opacity:0}50%{transform:translate(-2px);opacity:20}to{transform:translate(0);opacity:100}}.fade-enter-active{animation:fade-in .6s ease-in-out}.fade-leave-active{animation:fade-in .6s reverse}@keyframes fade-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:100}}
diff --git a/app/dubbo-ui/dist/admin/assets/index-3zDsduUv.js b/app/dubbo-ui/dist/admin/assets/index-3zDsduUv.js
new file mode 100644
index 0000000..978fe3f
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/index-3zDsduUv.js
@@ -0,0 +1,566 @@
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
+* @vue/shared v3.4.15
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function Jw(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Mn={},rd=[],Ei=()=>{},kZ=()=>!1,vb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),e2=e=>e.startsWith("onUpdate:"),bo=Object.assign,t2=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},BZ=Object.prototype.hasOwnProperty,dn=(e,t)=>BZ.call(e,t),Lt=Array.isArray,id=e=>mb(e)==="[object Map]",SL=e=>mb(e)==="[object Set]",Ut=e=>typeof e=="function",Qn=e=>typeof e=="string",Jd=e=>typeof e=="symbol",Tn=e=>e!==null&&typeof e=="object",CL=e=>(Tn(e)||Ut(e))&&Ut(e.then)&&Ut(e.catch),$L=Object.prototype.toString,mb=e=>$L.call(e),FZ=e=>mb(e).slice(8,-1),xL=e=>mb(e)==="[object Object]",n2=e=>Qn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nm=Jw(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},HZ=/-(\w)/g,Da=bb(e=>e.replace(HZ,(t,n)=>n?n.toUpperCase():"")),zZ=/\B([A-Z])/g,Vc=bb(e=>e.replace(zZ,"-$1").toLowerCase()),yb=bb(e=>e.charAt(0).toUpperCase()+e.slice(1)),IS=bb(e=>e?`on${yb(e)}`:""),Cs=(e,t)=>!Object.is(e,t),PS=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Zm=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},jZ=e=>{const t=parseFloat(e);return isNaN(t)?e:t},WZ=e=>{const t=Qn(e)?Number(e):NaN;return isNaN(t)?e:t};let v4;const wL=()=>v4||(v4=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vo(e){if(Lt(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Qn(o)?GZ(o):vo(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(Qn(e)||Tn(e))return e}const VZ=/;(?![^(]*\))/g,KZ=/:([^]+)/,UZ=/\/\*[^]*?\*\//g;function GZ(e){const t={};return e.replace(UZ,"").split(VZ).forEach(n=>{if(n){const o=n.split(KZ);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Oo(e){let t="";if(Qn(e))t=e;else if(Lt(e))for(let n=0;n<e.length;n++){const o=Oo(e[n]);o&&(t+=o+" ")}else if(Tn(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const YZ="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XZ=Jw(YZ);function _L(e){return!!e||e===""}const Uo=e=>Qn(e)?e:e==null?"":Lt(e)||Tn(e)&&(e.toString===$L||!Ut(e.toString))?JSON.stringify(e,OL,2):String(e),OL=(e,t)=>t&&t.__v_isRef?OL(e,t.value):id(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[TS(o,i)+" =>"]=r,n),{})}:SL(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>TS(n))}:Jd(t)?TS(t):Tn(t)&&!Lt(t)&&!xL(t)?String(t):t,TS=(e,t="")=>{var n;return Jd(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 li;class IL{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=li,!t&&li&&(this.index=(li.scopes||(li.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=li;try{return li=this,t()}finally{li=n}}}on(){li=this}off(){li=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function o2(e){return new IL(e)}function qZ(e,t=li){t&&t.active&&t.effects.push(e)}function Sb(){return li}function r2(e){li&&li.cleanups.push(e)}let Sc;class i2{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,qZ(this,r)}get dirty(){if(this._dirtyLevel===1){Kc();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(ZZ(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),Uc()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=hs,n=Sc;try{return hs=!0,Sc=this,this._runnings++,m4(this),this.fn()}finally{b4(this),this._runnings--,Sc=n,hs=t}}stop(){var t;this.active&&(m4(this),b4(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ZZ(e){return e.value}function m4(e){e._trackId++,e._depsLength=0}function b4(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)PL(e.deps[t],e);e.deps.length=e._depsLength}}function PL(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let hs=!0,I$=0;const TL=[];function Kc(){TL.push(hs),hs=!1}function Uc(){const e=TL.pop();hs=e===void 0?!0:e}function a2(){I$++}function l2(){for(I$--;!I$&&P$.length;)P$.shift()()}function EL(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&PL(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const P$=[];function AL(e,t,n){a2();for(const o of e.keys())if(o._dirtyLevel<t&&e.get(o)===o._trackId){const r=o._dirtyLevel;o._dirtyLevel=t,r===0&&(o._shouldSchedule=!0,o.trigger())}ML(e),l2()}function ML(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,P$.push(t.scheduler))}const RL=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Qm=new WeakMap,Cc=Symbol(""),T$=Symbol("");function zr(e,t,n){if(hs&&Sc){let o=Qm.get(e);o||Qm.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=RL(()=>o.delete(n))),EL(Sc,r)}}function ml(e,t,n,o,r,i){const a=Qm.get(e);if(!a)return;let l=[];if(t==="clear")l=[...a.values()];else if(n==="length"&&Lt(e)){const s=Number(o);a.forEach((c,u)=>{(u==="length"||!Jd(u)&&u>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(a.get(n)),t){case"add":Lt(e)?n2(n)&&l.push(a.get("length")):(l.push(a.get(Cc)),id(e)&&l.push(a.get(T$)));break;case"delete":Lt(e)||(l.push(a.get(Cc)),id(e)&&l.push(a.get(T$)));break;case"set":id(e)&&l.push(a.get(Cc));break}a2();for(const s of l)s&&AL(s,2);l2()}function QZ(e,t){var n;return(n=Qm.get(e))==null?void 0:n.get(t)}const JZ=Jw("__proto__,__v_isRef,__isVue"),DL=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jd)),y4=eQ();function eQ(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=$t(this);for(let i=0,a=this.length;i<a;i++)zr(o,"get",i+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map($t)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Kc(),a2();const o=$t(this)[t].apply(this,n);return l2(),Uc(),o}}),e}function tQ(e){const t=$t(this);return zr(t,"has",e),t.hasOwnProperty(e)}class LL{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?hQ:FL:i?BL:kL).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=Lt(t);if(!r){if(a&&dn(y4,n))return Reflect.get(y4,n,o);if(n==="hasOwnProperty")return tQ}const l=Reflect.get(t,n,o);return(Jd(n)?DL.has(n):JZ(n))||(r||zr(t,"get",n),i)?l:Wn(l)?a&&n2(n)?l:l.value:Tn(l)?r?u2(l):St(l):l}}class NL extends LL{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._shallow){const s=Sd(i);if(!Jm(o)&&!Sd(o)&&(i=$t(i),o=$t(o)),!Lt(t)&&Wn(i)&&!Wn(o))return s?!1:(i.value=o,!0)}const a=Lt(t)&&n2(n)?Number(n)<t.length:dn(t,n),l=Reflect.set(t,n,o,r);return t===$t(r)&&(a?Cs(o,i)&&ml(t,"set",n,o):ml(t,"add",n,o)),l}deleteProperty(t,n){const o=dn(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&ml(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!Jd(n)||!DL.has(n))&&zr(t,"has",n),o}ownKeys(t){return zr(t,"iterate",Lt(t)?"length":Cc),Reflect.ownKeys(t)}}class nQ extends LL{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const oQ=new NL,rQ=new nQ,iQ=new NL(!0),s2=e=>e,Cb=e=>Reflect.getPrototypeOf(e);function ov(e,t,n=!1,o=!1){e=e.__v_raw;const r=$t(e),i=$t(t);n||(Cs(t,i)&&zr(r,"get",t),zr(r,"get",i));const{has:a}=Cb(r),l=o?s2:n?f2:Gp;if(a.call(r,t))return l(e.get(t));if(a.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function rv(e,t=!1){const n=this.__v_raw,o=$t(n),r=$t(e);return t||(Cs(e,r)&&zr(o,"has",e),zr(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function iv(e,t=!1){return e=e.__v_raw,!t&&zr($t(e),"iterate",Cc),Reflect.get(e,"size",e)}function S4(e){e=$t(e);const t=$t(this);return Cb(t).has.call(t,e)||(t.add(e),ml(t,"add",e,e)),this}function C4(e,t){t=$t(t);const n=$t(this),{has:o,get:r}=Cb(n);let i=o.call(n,e);i||(e=$t(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Cs(t,a)&&ml(n,"set",e,t):ml(n,"add",e,t),this}function $4(e){const t=$t(this),{has:n,get:o}=Cb(t);let r=n.call(t,e);r||(e=$t(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ml(t,"delete",e,void 0),i}function x4(){const e=$t(this),t=e.size!==0,n=e.clear();return t&&ml(e,"clear",void 0,void 0),n}function av(e,t){return function(o,r){const i=this,a=i.__v_raw,l=$t(a),s=t?s2:e?f2:Gp;return!e&&zr(l,"iterate",Cc),a.forEach((c,u)=>o.call(r,s(c),s(u),i))}}function lv(e,t,n){return function(...o){const r=this.__v_raw,i=$t(r),a=id(i),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,c=r[e](...o),u=n?s2:t?f2:Gp;return!t&&zr(i,"iterate",s?T$:Cc),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:l?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Ul(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function aQ(){const e={get(i){return ov(this,i)},get size(){return iv(this)},has:rv,add:S4,set:C4,delete:$4,clear:x4,forEach:av(!1,!1)},t={get(i){return ov(this,i,!1,!0)},get size(){return iv(this)},has:rv,add:S4,set:C4,delete:$4,clear:x4,forEach:av(!1,!0)},n={get(i){return ov(this,i,!0)},get size(){return iv(this,!0)},has(i){return rv.call(this,i,!0)},add:Ul("add"),set:Ul("set"),delete:Ul("delete"),clear:Ul("clear"),forEach:av(!0,!1)},o={get(i){return ov(this,i,!0,!0)},get size(){return iv(this,!0)},has(i){return rv.call(this,i,!0)},add:Ul("add"),set:Ul("set"),delete:Ul("delete"),clear:Ul("clear"),forEach:av(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=lv(i,!1,!1),n[i]=lv(i,!0,!1),t[i]=lv(i,!1,!0),o[i]=lv(i,!0,!0)}),[e,n,t,o]}const[lQ,sQ,cQ,uQ]=aQ();function c2(e,t){const n=t?e?uQ:cQ:e?sQ:lQ;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(dn(n,r)&&r in o?n:o,r,i)}const dQ={get:c2(!1,!1)},fQ={get:c2(!1,!0)},pQ={get:c2(!0,!1)},kL=new WeakMap,BL=new WeakMap,FL=new WeakMap,hQ=new WeakMap;function gQ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vQ(e){return e.__v_skip||!Object.isExtensible(e)?0:gQ(FZ(e))}function St(e){return Sd(e)?e:d2(e,!1,oQ,dQ,kL)}function HL(e){return d2(e,!1,iQ,fQ,BL)}function u2(e){return d2(e,!0,rQ,pQ,FL)}function d2(e,t,n,o,r){if(!Tn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=vQ(e);if(a===0)return e;const l=new Proxy(e,a===2?o:n);return r.set(e,l),l}function gs(e){return Sd(e)?gs(e.__v_raw):!!(e&&e.__v_isReactive)}function Sd(e){return!!(e&&e.__v_isReadonly)}function Jm(e){return!!(e&&e.__v_isShallow)}function zL(e){return gs(e)||Sd(e)}function $t(e){const t=e&&e.__v_raw;return t?$t(t):e}function $b(e){return Zm(e,"__v_skip",!0),e}const Gp=e=>Tn(e)?St(e):e,f2=e=>Tn(e)?u2(e):e;class jL{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new i2(()=>t(this._value),()=>up(this,1),()=>this.dep&&ML(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=$t(this);return(!t._cacheable||t.effect.dirty)&&Cs(t._value,t._value=t.effect.run())&&up(t,2),WL(t),t.effect._dirtyLevel>=1&&up(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function mQ(e,t,n=!1){let o,r;const i=Ut(e);return i?(o=e,r=Ei):(o=e.get,r=e.set),new jL(o,r,i||!r,n)}function WL(e){hs&&Sc&&(e=$t(e),EL(Sc,e.dep||(e.dep=RL(()=>e.dep=void 0,e instanceof jL?e:void 0))))}function up(e,t=2,n){e=$t(e);const o=e.dep;o&&AL(o,t)}function Wn(e){return!!(e&&e.__v_isRef===!0)}function he(e){return VL(e,!1)}function ve(e){return VL(e,!0)}function VL(e,t){return Wn(e)?e:new bQ(e,t)}class bQ{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$t(t),this._value=n?t:Gp(t)}get value(){return WL(this),this._value}set value(t){const n=this.__v_isShallow||Jm(t)||Sd(t);t=n?t:$t(t),Cs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Gp(t),up(this,2))}}function KL(e){up(e,2)}function It(e){return Wn(e)?e.value:e}const yQ={get:(e,t,n)=>It(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Wn(r)&&!Wn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function UL(e){return gs(e)?e:new Proxy(e,yQ)}function oa(e){const t=Lt(e)?new Array(e.length):{};for(const n in e)t[n]=GL(e,n);return t}class SQ{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return QZ($t(this._object),this._key)}}class CQ{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function st(e,t,n){return Wn(e)?e:Ut(e)?new CQ(e):Tn(e)&&arguments.length>1?GL(e,t,n):he(e)}function GL(e,t,n){const o=e[t];return Wn(o)?o:new SQ(e,t,n)}/**
+* @vue/runtime-core v3.4.15
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function vs(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){xb(i,t,n)}return r}function Ai(e,t,n,o){if(Ut(e)){const i=vs(e,t,n,o);return i&&CL(i)&&i.catch(a=>{xb(a,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ai(e[i],t,n,o));return r}function xb(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,l)===!1)return}i=i.parent}const s=t.appContext.config.errorHandler;if(s){vs(s,null,10,[e,a,l]);return}}$Q(e,n,r,o)}function $Q(e,t,n,o=!0){console.error(e)}let Yp=!1,E$=!1;const ir=[];let Oa=0;const ad=[];let ns=null,sc=0;const YL=Promise.resolve();let p2=null;function wt(e){const t=p2||YL;return e?t.then(this?e.bind(this):e):t}function xQ(e){let t=Oa+1,n=ir.length;for(;t<n;){const o=t+n>>>1,r=ir[o],i=Xp(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}function h2(e){(!ir.length||!ir.includes(e,Yp&&e.allowRecurse?Oa+1:Oa))&&(e.id==null?ir.push(e):ir.splice(xQ(e.id),0,e),XL())}function XL(){!Yp&&!E$&&(E$=!0,p2=YL.then(ZL))}function wQ(e){const t=ir.indexOf(e);t>Oa&&ir.splice(t,1)}function _Q(e){Lt(e)?ad.push(...e):(!ns||!ns.includes(e,e.allowRecurse?sc+1:sc))&&ad.push(e),XL()}function w4(e,t,n=Yp?Oa+1:0){for(;n<ir.length;n++){const o=ir[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;ir.splice(n,1),n--,o()}}}function qL(e){if(ad.length){const t=[...new Set(ad)].sort((n,o)=>Xp(n)-Xp(o));if(ad.length=0,ns){ns.push(...t);return}for(ns=t,sc=0;sc<ns.length;sc++)ns[sc]();ns=null,sc=0}}const Xp=e=>e.id==null?1/0:e.id,OQ=(e,t)=>{const n=Xp(e)-Xp(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ZL(e){E$=!1,Yp=!0,ir.sort(OQ);try{for(Oa=0;Oa<ir.length;Oa++){const t=ir[Oa];t&&t.active!==!1&&vs(t,null,14)}}finally{Oa=0,ir.length=0,qL(),Yp=!1,p2=null,(ir.length||ad.length)&&ZL()}}function IQ(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Mn;let r=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=o[u]||Mn;f&&(r=n.map(h=>Qn(h)?h.trim():h)),d&&(r=n.map(jZ))}let l,s=o[l=IS(t)]||o[l=IS(Da(t))];!s&&i&&(s=o[l=IS(Vc(t))]),s&&Ai(s,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ai(c,e,6,r)}}function QL(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},l=!1;if(!Ut(e)){const s=c=>{const u=QL(c,t,!0);u&&(l=!0,bo(a,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Tn(e)&&o.set(e,null),null):(Lt(i)?i.forEach(s=>a[s]=null):bo(a,i),Tn(e)&&o.set(e,a),a)}function wb(e,t){return!e||!vb(t)?!1:(t=t.slice(2).replace(/Once$/,""),dn(e,t[0].toLowerCase()+t.slice(1))||dn(e,Vc(t))||dn(e,t))}let ho=null,_b=null;function e0(e){const t=ho;return ho=e,_b=e&&e.type.__scopeId||null,t}function Ps(e){_b=e}function Ts(){_b=null}function bn(e,t=ho,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&F4(-1);const i=e0(t);let a;try{a=e(...r)}finally{e0(i),o._d&&F4(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ES(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let y,b;const $=e0(e);try{if(n.shapeFlag&4){const _=r||o,w=_;y=_a(u.call(w,_,d,i,h,f,m)),b=s}else{const _=t;y=_a(_.length>1?_(i,{attrs:s,slots:l,emit:c}):_(i,null)),b=t.props?s:PQ(s)}}catch(_){hp.length=0,xb(_,e,1),y=g(kr)}let x=y;if(b&&v!==!1){const _=Object.keys(b),{shapeFlag:w}=x;_.length&&w&7&&(a&&_.some(e2)&&(b=TQ(b,a)),x=ko(x,b))}return n.dirs&&(x=ko(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),y=x,e0($),y}const PQ=e=>{let t;for(const n in e)(n==="class"||n==="style"||vb(n))&&((t||(t={}))[n]=e[n]);return t},TQ=(e,t)=>{const n={};for(const o in e)(!e2(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function EQ(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?_4(o,a,c):!!a;if(s&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(a[f]!==o[f]&&!wb(c,f))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?_4(o,a,c):!0:!!a;return!1}function _4(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!wb(n,i))return!0}return!1}function AQ({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const g2="components",MQ="directives";function Nt(e,t){return v2(g2,e,!0,t)||e}const JL=Symbol.for("v-ndc");function O4(e){return Qn(e)?v2(g2,e,!1)||e:e||JL}function RQ(e){return v2(MQ,e)}function v2(e,t,n=!0,o=!1){const r=ho||Ro;if(r){const i=r.type;if(e===g2){const l=OJ(i,!1);if(l&&(l===t||l===Da(t)||l===yb(Da(t))))return i}const a=I4(r[e]||i[e],t)||I4(r.appContext[e],t);return!a&&o?i:a}}function I4(e,t){return e&&(e[t]||e[Da(t)]||e[yb(Da(t))])}const DQ=e=>e.__isSuspense;function LQ(e,t){t&&t.pendingBranch?Lt(e)?t.effects.push(...e):t.effects.push(e):_Q(e)}const NQ=Symbol.for("v-scx"),kQ=()=>it(NQ);function ct(e,t){return Ob(e,null,t)}function BQ(e,t){return Ob(e,null,{flush:"post"})}const sv={};function Ie(e,t,n){return Ob(e,t,n)}function Ob(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:l}=Mn){if(t&&i){const I=t;t=(...O)=>{I(...O),w()}}const s=Ro,c=I=>o===!0?I:vc(I,o===!1?1:void 0);let u,d=!1,f=!1;if(Wn(e)?(u=()=>e.value,d=Jm(e)):gs(e)?(u=()=>c(e),d=!0):Lt(e)?(f=!0,d=e.some(I=>gs(I)||Jm(I)),u=()=>e.map(I=>{if(Wn(I))return I.value;if(gs(I))return c(I);if(Ut(I))return vs(I,s,2)})):Ut(e)?t?u=()=>vs(e,s,2):u=()=>(h&&h(),Ai(e,s,3,[m])):u=Ei,t&&o){const I=u;u=()=>vc(I())}let h,m=I=>{h=x.onStop=()=>{vs(I,s,4),h=x.onStop=void 0}},v;if(Rb)if(m=Ei,t?n&&Ai(t,s,3,[u(),f?[]:void 0,m]):u(),r==="sync"){const I=kQ();v=I.__watcherHandles||(I.__watcherHandles=[])}else return Ei;let y=f?new Array(e.length).fill(sv):sv;const b=()=>{if(!(!x.active||!x.dirty))if(t){const I=x.run();(o||d||(f?I.some((O,P)=>Cs(O,y[P])):Cs(I,y)))&&(h&&h(),Ai(t,s,3,[I,y===sv?void 0:f&&y[0]===sv?[]:y,m]),y=I)}else x.run()};b.allowRecurse=!!t;let $;r==="sync"?$=b:r==="post"?$=()=>Rr(b,s&&s.suspense):(b.pre=!0,s&&(b.id=s.uid),$=()=>h2(b));const x=new i2(u,Ei,$),_=Sb(),w=()=>{x.stop(),_&&t2(_.effects,x)};return t?n?b():y=x.run():r==="post"?Rr(x.run.bind(x),s&&s.suspense):x.run(),v&&v.push(w),w}function FQ(e,t,n){const o=this.proxy,r=Qn(e)?e.includes(".")?eN(o,e):()=>o[e]:e.bind(o,o);let i;Ut(t)?i=t:(i=t.handler,n=t);const a=Lh(this),l=Ob(r,i.bind(o),n);return a(),l}function eN(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function vc(e,t,n=0,o){if(!Tn(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),Wn(e))vc(e.value,t,n,o);else if(Lt(e))for(let r=0;r<e.length;r++)vc(e[r],t,n,o);else if(SL(e)||id(e))e.forEach(r=>{vc(r,t,n,o)});else if(xL(e))for(const r in e)vc(e[r],t,n,o);return e}function Ln(e,t){if(ho===null)return e;const n=Db(ho)||ho.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,l,s=Mn]=t[r];i&&(Ut(i)&&(i={mounted:i,updated:i}),i.deep&&vc(a),o.push({dir:i,instance:n,value:a,oldValue:void 0,arg:l,modifiers:s}))}return e}function Xs(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];i&&(l.oldValue=i[a].value);let s=l.dir[o];s&&(Kc(),Ai(s,n,8,[e.el,l,e,t]),Uc())}}const os=Symbol("_leaveCb"),cv=Symbol("_enterCb");function tN(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return lt(()=>{e.isMounted=!0}),Ct(()=>{e.isUnmounting=!0}),e}const xi=[Function,Array],nN={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xi,onEnter:xi,onAfterEnter:xi,onEnterCancelled:xi,onBeforeLeave:xi,onLeave:xi,onAfterLeave:xi,onLeaveCancelled:xi,onBeforeAppear:xi,onAppear:xi,onAfterAppear:xi,onAppearCancelled:xi},HQ={name:"BaseTransition",props:nN,setup(e,{slots:t}){const n=Nn(),o=tN();let r;return()=>{const i=t.default&&m2(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const v of i)if(v.type!==kr){a=v;break}}const l=$t(e),{mode:s}=l;if(o.isLeaving)return AS(a);const c=P4(a);if(!c)return AS(a);const u=qp(c,l,o,n);Zp(c,u);const d=n.subTree,f=d&&P4(d);let h=!1;const{getTransitionKey:m}=c.type;if(m){const v=m();r===void 0?r=v:v!==r&&(r=v,h=!0)}if(f&&f.type!==kr&&(!cc(c,f)||h)){const v=qp(f,l,o,n);if(Zp(f,v),s==="out-in")return o.isLeaving=!0,v.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},AS(a);s==="in-out"&&c.type!==kr&&(v.delayLeave=(y,b,$)=>{const x=oN(o,f);x[String(f.key)]=f,y[os]=()=>{b(),y[os]=void 0,delete u.delayedLeave},u.delayedLeave=$})}return a}}},zQ=HQ;function oN(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function qp(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:$}=t,x=String(e.key),_=oN(n,e),w=(P,E)=>{P&&Ai(P,o,9,E)},I=(P,E)=>{const R=E[1];w(P,E),Lt(P)?P.every(A=>A.length<=1)&&R():P.length<=1&&R()},O={mode:i,persisted:a,beforeEnter(P){let E=l;if(!n.isMounted)if(r)E=v||l;else return;P[os]&&P[os](!0);const R=_[x];R&&cc(e,R)&&R.el[os]&&R.el[os](),w(E,[P])},enter(P){let E=s,R=c,A=u;if(!n.isMounted)if(r)E=y||s,R=b||c,A=$||u;else return;let N=!1;const F=P[cv]=W=>{N||(N=!0,W?w(A,[P]):w(R,[P]),O.delayedLeave&&O.delayedLeave(),P[cv]=void 0)};E?I(E,[P,F]):F()},leave(P,E){const R=String(e.key);if(P[cv]&&P[cv](!0),n.isUnmounting)return E();w(d,[P]);let A=!1;const N=P[os]=F=>{A||(A=!0,E(),F?w(m,[P]):w(h,[P]),P[os]=void 0,_[R]===e&&delete _[R])};_[R]=e,f?I(f,[P,N]):N()},clone(P){return qp(P,t,n,o)}};return O}function AS(e){if(Ib(e))return e=ko(e),e.children=null,e}function P4(e){return Ib(e)?e.children?e.children[0]:void 0:e}function Zp(e,t){e.shapeFlag&6&&e.component?Zp(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function m2(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===Je?(a.patchFlag&128&&r++,o=o.concat(m2(a.children,t,l))):(t||a.type!==kr)&&o.push(l!=null?ko(a,{key:l}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function pe(e,t){return Ut(e)?bo({name:e.name},t,{setup:e}):e}const dp=e=>!!e.type.__asyncLoader,Ib=e=>e.type.__isKeepAlive;function Pb(e,t){iN(e,"a",t)}function rN(e,t){iN(e,"da",t)}function iN(e,t,n=Ro){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Tb(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Ib(r.parent.vnode)&&jQ(o,t,n,r),r=r.parent}}function jQ(e,t,n,o){const r=Tb(t,e,o,!0);Fo(()=>{t2(o[t],r)},n)}function Tb(e,t,n=Ro,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Kc();const l=Lh(n),s=Ai(t,n,e,a);return l(),Uc(),s});return o?r.unshift(i):r.push(i),i}}const wl=e=>(t,n=Ro)=>(!Rb||e==="sp")&&Tb(e,(...o)=>t(...o),n),Dh=wl("bm"),lt=wl("m"),Eb=wl("bu"),fr=wl("u"),Ct=wl("bum"),Fo=wl("um"),WQ=wl("sp"),VQ=wl("rtg"),KQ=wl("rtc");function UQ(e,t=Ro){Tb("ec",e,t)}function Cd(e,t,n,o){let r;const i=n&&n[o];if(Lt(e)||Qn(e)){r=new Array(e.length);for(let a=0,l=e.length;a<l;a++)r[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(Tn(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,s=a.length;l<s;l++){const c=a[l];r[l]=t(e[c],c,l,i&&i[l])}}else r=[];return n&&(n[o]=r),r}function xHe(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(Lt(o))for(let r=0;r<o.length;r++)e[o[r].name]=o[r].fn;else o&&(e[o.name]=o.key?(...r)=>{const i=o.fn(...r);return i&&(i.key=o.key),i}:o.fn)}return e}function GQ(e,t,n={},o,r){if(ho.isCE||ho.parent&&dp(ho.parent)&&ho.parent.isCE)return t!=="default"&&(n.name=t),g("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),ht();const a=i&&aN(i(n)),l=jn(Je,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function aN(e){return e.some(t=>mo(t)?!(t.type===kr||t.type===Je&&!aN(t.children)):!0)?e:null}const A$=e=>e?bN(e)?Db(e)||e.proxy:A$(e.parent):null,fp=bo(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>A$(e.parent),$root:e=>A$(e.root),$emit:e=>e.emit,$options:e=>b2(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,h2(e.update)}),$nextTick:e=>e.n||(e.n=wt.bind(e.proxy)),$watch:e=>FQ.bind(e)}),MS=(e,t)=>e!==Mn&&!e.__isScriptSetup&&dn(e,t),YQ={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:l,appContext:s}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(MS(o,t))return a[t]=1,o[t];if(r!==Mn&&dn(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&dn(c,t))return a[t]=3,i[t];if(n!==Mn&&dn(n,t))return a[t]=4,n[t];M$&&(a[t]=0)}}const u=fp[t];let d,f;if(u)return t==="$attrs"&&zr(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Mn&&dn(n,t))return a[t]=4,n[t];if(f=s.config.globalProperties,dn(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return MS(r,t)?(r[t]=n,!0):o!==Mn&&dn(o,t)?(o[t]=n,!0):dn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let l;return!!n[a]||e!==Mn&&dn(e,a)||MS(t,a)||(l=i[0])&&dn(l,a)||dn(o,a)||dn(fp,a)||dn(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function XQ(){return qQ().attrs}function qQ(){const e=Nn();return e.setupContext||(e.setupContext=SN(e))}function T4(e){return Lt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let M$=!0;function ZQ(e){const t=b2(e),n=e.proxy,o=e.ctx;M$=!1,t.beforeCreate&&E4(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:s,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:$,destroyed:x,unmounted:_,render:w,renderTracked:I,renderTriggered:O,errorCaptured:P,serverPrefetch:E,expose:R,inheritAttrs:A,components:N,directives:F,filters:W}=t;if(c&&QQ(c,o,null),a)for(const k in a){const L=a[k];Ut(L)&&(o[k]=L.bind(n))}if(r){const k=r.call(n,n);Tn(k)&&(e.data=St(k))}if(M$=!0,i)for(const k in i){const L=i[k],z=Ut(L)?L.bind(n,n):Ut(L.get)?L.get.bind(n,n):Ei,K=!Ut(L)&&Ut(L.set)?L.set.bind(n):Ei,G=M({get:z,set:K});Object.defineProperty(o,k,{enumerable:!0,configurable:!0,get:()=>G.value,set:Y=>G.value=Y})}if(l)for(const k in l)lN(l[k],o,n,k);if(s){const k=Ut(s)?s.call(n):s;Reflect.ownKeys(k).forEach(L=>{ft(L,k[L])})}u&&E4(u,e,"c");function B(k,L){Lt(L)?L.forEach(z=>k(z.bind(n))):L&&k(L.bind(n))}if(B(Dh,d),B(lt,f),B(Eb,h),B(fr,m),B(Pb,v),B(rN,y),B(UQ,P),B(KQ,I),B(VQ,O),B(Ct,$),B(Fo,_),B(WQ,E),Lt(R))if(R.length){const k=e.exposed||(e.exposed={});R.forEach(L=>{Object.defineProperty(k,L,{get:()=>n[L],set:z=>n[L]=z})})}else e.exposed||(e.exposed={});w&&e.render===Ei&&(e.render=w),A!=null&&(e.inheritAttrs=A),N&&(e.components=N),F&&(e.directives=F)}function QQ(e,t,n=Ei){Lt(e)&&(e=R$(e));for(const o in e){const r=e[o];let i;Tn(r)?"default"in r?i=it(r.from||o,r.default,!0):i=it(r.from||o):i=it(r),Wn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function E4(e,t,n){Ai(Lt(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function lN(e,t,n,o){const r=o.includes(".")?eN(n,o):()=>n[o];if(Qn(e)){const i=t[e];Ut(i)&&Ie(r,i)}else if(Ut(e))Ie(r,e.bind(n));else if(Tn(e))if(Lt(e))e.forEach(i=>lN(i,t,n,o));else{const i=Ut(e.handler)?e.handler.bind(n):t[e.handler];Ut(i)&&Ie(r,i,e)}}function b2(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:!r.length&&!n&&!o?s=t:(s={},r.length&&r.forEach(c=>t0(s,c,a,!0)),t0(s,t,a)),Tn(t)&&i.set(t,s),s}function t0(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&t0(e,i,n,!0),r&&r.forEach(a=>t0(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const l=JQ[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const JQ={data:A4,props:M4,emits:M4,methods:tp,computed:tp,beforeCreate:mr,created:mr,beforeMount:mr,mounted:mr,beforeUpdate:mr,updated:mr,beforeDestroy:mr,beforeUnmount:mr,destroyed:mr,unmounted:mr,activated:mr,deactivated:mr,errorCaptured:mr,serverPrefetch:mr,components:tp,directives:tp,watch:tJ,provide:A4,inject:eJ};function A4(e,t){return t?e?function(){return bo(Ut(e)?e.call(this,this):e,Ut(t)?t.call(this,this):t)}:t:e}function eJ(e,t){return tp(R$(e),R$(t))}function R$(e){if(Lt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mr(e,t){return e?[...new Set([].concat(e,t))]:t}function tp(e,t){return e?bo(Object.create(null),e,t):t}function M4(e,t){return e?Lt(e)&&Lt(t)?[...new Set([...e,...t])]:bo(Object.create(null),T4(e),T4(t??{})):t}function tJ(e,t){if(!e)return t;if(!t)return e;const n=bo(Object.create(null),e);for(const o in t)n[o]=mr(e[o],t[o]);return n}function sN(){return{app:null,config:{isNativeTag:kZ,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let nJ=0;function oJ(e,t){return function(o,r=null){Ut(o)||(o=bo({},o)),r!=null&&!Tn(r)&&(r=null);const i=sN(),a=new WeakSet;let l=!1;const s=i.app={_uid:nJ++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:PJ,get config(){return i.config},set config(c){},use(c,...u){return a.has(c)||(c&&Ut(c.install)?(a.add(c),c.install(s,...u)):Ut(c)&&(a.add(c),c(s,...u))),s},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),s},component(c,u){return u?(i.components[c]=u,s):i.components[c]},directive(c,u){return u?(i.directives[c]=u,s):i.directives[c]},mount(c,u,d){if(!l){const f=g(o,r);return f.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(f,c):e(f,c,d),l=!0,s._container=c,c.__vue_app__=s,Db(f.component)||f.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(c,u){return i.provides[c]=u,s},runWithContext(c){Qp=s;try{return c()}finally{Qp=null}}};return s}}let Qp=null;function ft(e,t){if(Ro){let n=Ro.provides;const o=Ro.parent&&Ro.parent.provides;o===n&&(n=Ro.provides=Object.create(o)),n[e]=t}}function it(e,t,n=!1){const o=Ro||ho;if(o||Qp){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Qp._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Ut(t)?t.call(o&&o.proxy):t}}function rJ(){return!!(Ro||ho||Qp)}function iJ(e,t,n,o=!1){const r={},i={};Zm(i,Mb,1),e.propsDefaults=Object.create(null),cN(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:HL(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function aJ(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,l=$t(r),[s]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(wb(e.emitsOptions,f))continue;const h=t[f];if(s)if(dn(i,f))h!==i[f]&&(i[f]=h,c=!0);else{const m=Da(f);r[m]=D$(s,l,m,h,e,!1)}else h!==i[f]&&(i[f]=h,c=!0)}}}else{cN(e,t,r,i)&&(c=!0);let u;for(const d in l)(!t||!dn(t,d)&&((u=Vc(d))===d||!dn(t,u)))&&(s?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=D$(s,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!dn(t,d))&&(delete i[d],c=!0)}c&&ml(e,"set","$attrs")}function cN(e,t,n,o){const[r,i]=e.propsOptions;let a=!1,l;if(t)for(let s in t){if(nm(s))continue;const c=t[s];let u;r&&dn(r,u=Da(s))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:wb(e.emitsOptions,s)||(!(s in o)||c!==o[s])&&(o[s]=c,a=!0)}if(i){const s=$t(n),c=l||Mn;for(let u=0;u<i.length;u++){const d=i[u];n[d]=D$(r,s,d,c[d],e,!dn(c,d))}}return a}function D$(e,t,n,o,r,i){const a=e[n];if(a!=null){const l=dn(a,"default");if(l&&o===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&Ut(s)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=Lh(r);o=c[n]=s.call(null,t),u()}}else o=s}a[0]&&(i&&!l?o=!1:a[1]&&(o===""||o===Vc(n))&&(o=!0))}return o}function uN(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},l=[];let s=!1;if(!Ut(e)){const u=d=>{s=!0;const[f,h]=uN(d,t,!0);bo(a,f),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!s)return Tn(e)&&o.set(e,rd),rd;if(Lt(i))for(let u=0;u<i.length;u++){const d=Da(i[u]);R4(d)&&(a[d]=Mn)}else if(i)for(const u in i){const d=Da(u);if(R4(d)){const f=i[u],h=a[d]=Lt(f)||Ut(f)?{type:f}:bo({},f);if(h){const m=N4(Boolean,h.type),v=N4(String,h.type);h[0]=m>-1,h[1]=v<0||m<v,(m>-1||dn(h,"default"))&&l.push(d)}}}const c=[a,l];return Tn(e)&&o.set(e,c),c}function R4(e){return e[0]!=="$"}function D4(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function L4(e,t){return D4(e)===D4(t)}function N4(e,t){return Lt(t)?t.findIndex(n=>L4(n,e)):Ut(t)&&L4(t,e)?0:-1}const dN=e=>e[0]==="_"||e==="$stable",y2=e=>Lt(e)?e.map(_a):[_a(e)],lJ=(e,t,n)=>{if(t._n)return t;const o=bn((...r)=>y2(t(...r)),n);return o._c=!1,o},fN=(e,t,n)=>{const o=e._ctx;for(const r in e){if(dN(r))continue;const i=e[r];if(Ut(i))t[r]=lJ(r,i,o);else if(i!=null){const a=y2(i);t[r]=()=>a}}},pN=(e,t)=>{const n=y2(t);e.slots.default=()=>n},sJ=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$t(t),Zm(t,"_",n)):fN(t,e.slots={})}else e.slots={},t&&pN(e,t);Zm(e.slots,Mb,1)},cJ=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Mn;if(o.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(bo(r,t),!n&&l===1&&delete r._):(i=!t.$stable,fN(t,r)),a=t}else t&&(pN(e,t),a={default:1});if(i)for(const l in r)!dN(l)&&a[l]==null&&delete r[l]};function L$(e,t,n,o,r=!1){if(Lt(e)){e.forEach((f,h)=>L$(f,t&&(Lt(t)?t[h]:t),n,o,r));return}if(dp(o)&&!r)return;const i=o.shapeFlag&4?Db(o.component)||o.component.proxy:o.el,a=r?null:i,{i:l,r:s}=e,c=t&&t.r,u=l.refs===Mn?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==s&&(Qn(c)?(u[c]=null,dn(d,c)&&(d[c]=null)):Wn(c)&&(c.value=null)),Ut(s))vs(s,l,12,[a,u]);else{const f=Qn(s),h=Wn(s),m=e.f;if(f||h){const v=()=>{if(m){const y=f?dn(d,s)?d[s]:u[s]:s.value;r?Lt(y)&&t2(y,i):Lt(y)?y.includes(i)||y.push(i):f?(u[s]=[i],dn(d,s)&&(d[s]=u[s])):(s.value=[i],e.k&&(u[e.k]=s.value))}else f?(u[s]=a,dn(d,s)&&(d[s]=a)):h&&(s.value=a,e.k&&(u[e.k]=a))};r||m?v():(v.id=-1,Rr(v,n))}}}const Rr=LQ;function uJ(e){return dJ(e)}function dJ(e,t){const n=wL();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:l,createComment:s,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Ei,insertStaticContent:m}=e,v=(H,j,q,se=null,ae=null,ge=null,Se=void 0,$e=null,_e=!!j.dynamicChildren)=>{if(H===j)return;H&&!cc(H,j)&&(se=ee(H),Y(H,ae,ge,!0),H=null),j.patchFlag===-2&&(_e=!1,j.dynamicChildren=null);const{type:be,ref:Te,shapeFlag:Pe}=j;switch(be){case _l:y(H,j,q,se);break;case kr:b(H,j,q,se);break;case om:H==null&&$(j,q,se,Se);break;case Je:N(H,j,q,se,ae,ge,Se,$e,_e);break;default:Pe&1?w(H,j,q,se,ae,ge,Se,$e,_e):Pe&6?F(H,j,q,se,ae,ge,Se,$e,_e):(Pe&64||Pe&128)&&be.process(H,j,q,se,ae,ge,Se,$e,_e,X)}Te!=null&&ae&&L$(Te,H&&H.ref,ge,j||H,!j)},y=(H,j,q,se)=>{if(H==null)o(j.el=l(j.children),q,se);else{const ae=j.el=H.el;j.children!==H.children&&c(ae,j.children)}},b=(H,j,q,se)=>{H==null?o(j.el=s(j.children||""),q,se):j.el=H.el},$=(H,j,q,se)=>{[H.el,H.anchor]=m(H.children,j,q,se,H.el,H.anchor)},x=({el:H,anchor:j},q,se)=>{let ae;for(;H&&H!==j;)ae=f(H),o(H,q,se),H=ae;o(j,q,se)},_=({el:H,anchor:j})=>{let q;for(;H&&H!==j;)q=f(H),r(H),H=q;r(j)},w=(H,j,q,se,ae,ge,Se,$e,_e)=>{j.type==="svg"?Se="svg":j.type==="math"&&(Se="mathml"),H==null?I(j,q,se,ae,ge,Se,$e,_e):E(H,j,ae,ge,Se,$e,_e)},I=(H,j,q,se,ae,ge,Se,$e)=>{let _e,be;const{props:Te,shapeFlag:Pe,transition:oe,dirs:le}=H;if(_e=H.el=a(H.type,ge,Te&&Te.is,Te),Pe&8?u(_e,H.children):Pe&16&&P(H.children,_e,null,se,ae,RS(H,ge),Se,$e),le&&Xs(H,null,se,"created"),O(_e,H,H.scopeId,Se,se),Te){for(const Ae in Te)Ae!=="value"&&!nm(Ae)&&i(_e,Ae,null,Te[Ae],ge,H.children,se,ae,te);"value"in Te&&i(_e,"value",null,Te.value,ge),(be=Te.onVnodeBeforeMount)&&ya(be,se,H)}le&&Xs(H,null,se,"beforeMount");const xe=fJ(ae,oe);xe&&oe.beforeEnter(_e),o(_e,j,q),((be=Te&&Te.onVnodeMounted)||xe||le)&&Rr(()=>{be&&ya(be,se,H),xe&&oe.enter(_e),le&&Xs(H,null,se,"mounted")},ae)},O=(H,j,q,se,ae)=>{if(q&&h(H,q),se)for(let ge=0;ge<se.length;ge++)h(H,se[ge]);if(ae){let ge=ae.subTree;if(j===ge){const Se=ae.vnode;O(H,Se,Se.scopeId,Se.slotScopeIds,ae.parent)}}},P=(H,j,q,se,ae,ge,Se,$e,_e=0)=>{for(let be=_e;be<H.length;be++){const Te=H[be]=$e?rs(H[be]):_a(H[be]);v(null,Te,j,q,se,ae,ge,Se,$e)}},E=(H,j,q,se,ae,ge,Se)=>{const $e=j.el=H.el;let{patchFlag:_e,dynamicChildren:be,dirs:Te}=j;_e|=H.patchFlag&16;const Pe=H.props||Mn,oe=j.props||Mn;let le;if(q&&qs(q,!1),(le=oe.onVnodeBeforeUpdate)&&ya(le,q,j,H),Te&&Xs(j,H,q,"beforeUpdate"),q&&qs(q,!0),be?R(H.dynamicChildren,be,$e,q,se,RS(j,ae),ge):Se||L(H,j,$e,null,q,se,RS(j,ae),ge,!1),_e>0){if(_e&16)A($e,j,Pe,oe,q,se,ae);else if(_e&2&&Pe.class!==oe.class&&i($e,"class",null,oe.class,ae),_e&4&&i($e,"style",Pe.style,oe.style,ae),_e&8){const xe=j.dynamicProps;for(let Ae=0;Ae<xe.length;Ae++){const Be=xe[Ae],Ye=Pe[Be],Re=oe[Be];(Re!==Ye||Be==="value")&&i($e,Be,Ye,Re,ae,H.children,q,se,te)}}_e&1&&H.children!==j.children&&u($e,j.children)}else!Se&&be==null&&A($e,j,Pe,oe,q,se,ae);((le=oe.onVnodeUpdated)||Te)&&Rr(()=>{le&&ya(le,q,j,H),Te&&Xs(j,H,q,"updated")},se)},R=(H,j,q,se,ae,ge,Se)=>{for(let $e=0;$e<j.length;$e++){const _e=H[$e],be=j[$e],Te=_e.el&&(_e.type===Je||!cc(_e,be)||_e.shapeFlag&70)?d(_e.el):q;v(_e,be,Te,null,se,ae,ge,Se,!0)}},A=(H,j,q,se,ae,ge,Se)=>{if(q!==se){if(q!==Mn)for(const $e in q)!nm($e)&&!($e in se)&&i(H,$e,q[$e],null,Se,j.children,ae,ge,te);for(const $e in se){if(nm($e))continue;const _e=se[$e],be=q[$e];_e!==be&&$e!=="value"&&i(H,$e,be,_e,Se,j.children,ae,ge,te)}"value"in se&&i(H,"value",q.value,se.value,Se)}},N=(H,j,q,se,ae,ge,Se,$e,_e)=>{const be=j.el=H?H.el:l(""),Te=j.anchor=H?H.anchor:l("");let{patchFlag:Pe,dynamicChildren:oe,slotScopeIds:le}=j;le&&($e=$e?$e.concat(le):le),H==null?(o(be,q,se),o(Te,q,se),P(j.children||[],q,Te,ae,ge,Se,$e,_e)):Pe>0&&Pe&64&&oe&&H.dynamicChildren?(R(H.dynamicChildren,oe,q,ae,ge,Se,$e),(j.key!=null||ae&&j===ae.subTree)&&S2(H,j,!0)):L(H,j,q,Te,ae,ge,Se,$e,_e)},F=(H,j,q,se,ae,ge,Se,$e,_e)=>{j.slotScopeIds=$e,H==null?j.shapeFlag&512?ae.ctx.activate(j,q,se,Se,_e):W(j,q,se,ae,ge,Se,_e):D(H,j,_e)},W=(H,j,q,se,ae,ge,Se)=>{const $e=H.component=$J(H,se,ae);if(Ib(H)&&($e.ctx.renderer=X),xJ($e),$e.asyncDep){if(ae&&ae.registerDep($e,B),!H.el){const _e=$e.subTree=g(kr);b(null,_e,j,q)}}else B($e,H,j,q,ae,ge,Se)},D=(H,j,q)=>{const se=j.component=H.component;if(EQ(H,j,q))if(se.asyncDep&&!se.asyncResolved){k(se,j,q);return}else se.next=j,wQ(se.update),se.effect.dirty=!0,se.update();else j.el=H.el,se.vnode=j},B=(H,j,q,se,ae,ge,Se)=>{const $e=()=>{if(H.isMounted){let{next:Te,bu:Pe,u:oe,parent:le,vnode:xe}=H;{const Le=hN(H);if(Le){Te&&(Te.el=xe.el,k(H,Te,Se)),Le.asyncDep.then(()=>{H.isUnmounted||$e()});return}}let Ae=Te,Be;qs(H,!1),Te?(Te.el=xe.el,k(H,Te,Se)):Te=xe,Pe&&PS(Pe),(Be=Te.props&&Te.props.onVnodeBeforeUpdate)&&ya(Be,le,Te,xe),qs(H,!0);const Ye=ES(H),Re=H.subTree;H.subTree=Ye,v(Re,Ye,d(Re.el),ee(Re),H,ae,ge),Te.el=Ye.el,Ae===null&&AQ(H,Ye.el),oe&&Rr(oe,ae),(Be=Te.props&&Te.props.onVnodeUpdated)&&Rr(()=>ya(Be,le,Te,xe),ae)}else{let Te;const{el:Pe,props:oe}=j,{bm:le,m:xe,parent:Ae}=H,Be=dp(j);if(qs(H,!1),le&&PS(le),!Be&&(Te=oe&&oe.onVnodeBeforeMount)&&ya(Te,Ae,j),qs(H,!0),Pe&&ye){const Ye=()=>{H.subTree=ES(H),ye(Pe,H.subTree,H,ae,null)};Be?j.type.__asyncLoader().then(()=>!H.isUnmounted&&Ye()):Ye()}else{const Ye=H.subTree=ES(H);v(null,Ye,q,se,H,ae,ge),j.el=Ye.el}if(xe&&Rr(xe,ae),!Be&&(Te=oe&&oe.onVnodeMounted)){const Ye=j;Rr(()=>ya(Te,Ae,Ye),ae)}(j.shapeFlag&256||Ae&&dp(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&H.a&&Rr(H.a,ae),H.isMounted=!0,j=q=se=null}},_e=H.effect=new i2($e,Ei,()=>h2(be),H.scope),be=H.update=()=>{_e.dirty&&_e.run()};be.id=H.uid,qs(H,!0),be()},k=(H,j,q)=>{j.component=H;const se=H.vnode.props;H.vnode=j,H.next=null,aJ(H,j.props,se,q),cJ(H,j.children,q),Kc(),w4(H),Uc()},L=(H,j,q,se,ae,ge,Se,$e,_e=!1)=>{const be=H&&H.children,Te=H?H.shapeFlag:0,Pe=j.children,{patchFlag:oe,shapeFlag:le}=j;if(oe>0){if(oe&128){K(be,Pe,q,se,ae,ge,Se,$e,_e);return}else if(oe&256){z(be,Pe,q,se,ae,ge,Se,$e,_e);return}}le&8?(Te&16&&te(be,ae,ge),Pe!==be&&u(q,Pe)):Te&16?le&16?K(be,Pe,q,se,ae,ge,Se,$e,_e):te(be,ae,ge,!0):(Te&8&&u(q,""),le&16&&P(Pe,q,se,ae,ge,Se,$e,_e))},z=(H,j,q,se,ae,ge,Se,$e,_e)=>{H=H||rd,j=j||rd;const be=H.length,Te=j.length,Pe=Math.min(be,Te);let oe;for(oe=0;oe<Pe;oe++){const le=j[oe]=_e?rs(j[oe]):_a(j[oe]);v(H[oe],le,q,null,ae,ge,Se,$e,_e)}be>Te?te(H,ae,ge,!0,!1,Pe):P(j,q,se,ae,ge,Se,$e,_e,Pe)},K=(H,j,q,se,ae,ge,Se,$e,_e)=>{let be=0;const Te=j.length;let Pe=H.length-1,oe=Te-1;for(;be<=Pe&&be<=oe;){const le=H[be],xe=j[be]=_e?rs(j[be]):_a(j[be]);if(cc(le,xe))v(le,xe,q,null,ae,ge,Se,$e,_e);else break;be++}for(;be<=Pe&&be<=oe;){const le=H[Pe],xe=j[oe]=_e?rs(j[oe]):_a(j[oe]);if(cc(le,xe))v(le,xe,q,null,ae,ge,Se,$e,_e);else break;Pe--,oe--}if(be>Pe){if(be<=oe){const le=oe+1,xe=le<Te?j[le].el:se;for(;be<=oe;)v(null,j[be]=_e?rs(j[be]):_a(j[be]),q,xe,ae,ge,Se,$e,_e),be++}}else if(be>oe)for(;be<=Pe;)Y(H[be],ae,ge,!0),be++;else{const le=be,xe=be,Ae=new Map;for(be=xe;be<=oe;be++){const Ue=j[be]=_e?rs(j[be]):_a(j[be]);Ue.key!=null&&Ae.set(Ue.key,be)}let Be,Ye=0;const Re=oe-xe+1;let Le=!1,Ne=0;const Ke=new Array(Re);for(be=0;be<Re;be++)Ke[be]=0;for(be=le;be<=Pe;be++){const Ue=H[be];if(Ye>=Re){Y(Ue,ae,ge,!0);continue}let Xe;if(Ue.key!=null)Xe=Ae.get(Ue.key);else for(Be=xe;Be<=oe;Be++)if(Ke[Be-xe]===0&&cc(Ue,j[Be])){Xe=Be;break}Xe===void 0?Y(Ue,ae,ge,!0):(Ke[Xe-xe]=be+1,Xe>=Ne?Ne=Xe:Le=!0,v(Ue,j[Xe],q,null,ae,ge,Se,$e,_e),Ye++)}const Ze=Le?pJ(Ke):rd;for(Be=Ze.length-1,be=Re-1;be>=0;be--){const Ue=xe+be,Xe=j[Ue],xt=Ue+1<Te?j[Ue+1].el:se;Ke[be]===0?v(null,Xe,q,xt,ae,ge,Se,$e,_e):Le&&(Be<0||be!==Ze[Be]?G(Xe,q,xt,2):Be--)}}},G=(H,j,q,se,ae=null)=>{const{el:ge,type:Se,transition:$e,children:_e,shapeFlag:be}=H;if(be&6){G(H.component.subTree,j,q,se);return}if(be&128){H.suspense.move(j,q,se);return}if(be&64){Se.move(H,j,q,X);return}if(Se===Je){o(ge,j,q);for(let Pe=0;Pe<_e.length;Pe++)G(_e[Pe],j,q,se);o(H.anchor,j,q);return}if(Se===om){x(H,j,q);return}if(se!==2&&be&1&&$e)if(se===0)$e.beforeEnter(ge),o(ge,j,q),Rr(()=>$e.enter(ge),ae);else{const{leave:Pe,delayLeave:oe,afterLeave:le}=$e,xe=()=>o(ge,j,q),Ae=()=>{Pe(ge,()=>{xe(),le&&le()})};oe?oe(ge,xe,Ae):Ae()}else o(ge,j,q)},Y=(H,j,q,se=!1,ae=!1)=>{const{type:ge,props:Se,ref:$e,children:_e,dynamicChildren:be,shapeFlag:Te,patchFlag:Pe,dirs:oe}=H;if($e!=null&&L$($e,null,q,H,!0),Te&256){j.ctx.deactivate(H);return}const le=Te&1&&oe,xe=!dp(H);let Ae;if(xe&&(Ae=Se&&Se.onVnodeBeforeUnmount)&&ya(Ae,j,H),Te&6)J(H.component,q,se);else{if(Te&128){H.suspense.unmount(q,se);return}le&&Xs(H,null,j,"beforeUnmount"),Te&64?H.type.remove(H,j,q,ae,X,se):be&&(ge!==Je||Pe>0&&Pe&64)?te(be,j,q,!1,!0):(ge===Je&&Pe&384||!ae&&Te&16)&&te(_e,j,q),se&&ne(H)}(xe&&(Ae=Se&&Se.onVnodeUnmounted)||le)&&Rr(()=>{Ae&&ya(Ae,j,H),le&&Xs(H,null,j,"unmounted")},q)},ne=H=>{const{type:j,el:q,anchor:se,transition:ae}=H;if(j===Je){re(q,se);return}if(j===om){_(H);return}const ge=()=>{r(q),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(H.shapeFlag&1&&ae&&!ae.persisted){const{leave:Se,delayLeave:$e}=ae,_e=()=>Se(q,ge);$e?$e(H.el,ge,_e):_e()}else ge()},re=(H,j)=>{let q;for(;H!==j;)q=f(H),r(H),H=q;r(j)},J=(H,j,q)=>{const{bum:se,scope:ae,update:ge,subTree:Se,um:$e}=H;se&&PS(se),ae.stop(),ge&&(ge.active=!1,Y(Se,H,j,q)),$e&&Rr($e,j),Rr(()=>{H.isUnmounted=!0},j),j&&j.pendingBranch&&!j.isUnmounted&&H.asyncDep&&!H.asyncResolved&&H.suspenseId===j.pendingId&&(j.deps--,j.deps===0&&j.resolve())},te=(H,j,q,se=!1,ae=!1,ge=0)=>{for(let Se=ge;Se<H.length;Se++)Y(H[Se],j,q,se,ae)},ee=H=>H.shapeFlag&6?ee(H.component.subTree):H.shapeFlag&128?H.suspense.next():f(H.anchor||H.el);let fe=!1;const ie=(H,j,q)=>{H==null?j._vnode&&Y(j._vnode,null,null,!0):v(j._vnode||null,H,j,null,null,null,q),fe||(fe=!0,w4(),qL(),fe=!1),j._vnode=H},X={p:v,um:Y,m:G,r:ne,mt:W,mc:P,pc:L,pbc:R,n:ee,o:e};let ue,ye;return t&&([ue,ye]=t(X)),{render:ie,hydrate:ue,createApp:oJ(ie,ue)}}function RS({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fJ(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function S2(e,t,n=!1){const o=e.children,r=t.children;if(Lt(o)&&Lt(r))for(let i=0;i<o.length;i++){const a=o[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=rs(r[i]),l.el=a.el),n||S2(a,l)),l.type===_l&&(l.el=a.el)}}function pJ(e){const t=e.slice(),n=[0];let o,r,i,a,l;const s=e.length;for(o=0;o<s;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<c?i=l+1:a=l;c<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function hN(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hN(t)}const hJ=e=>e.__isTeleport,pp=e=>e&&(e.disabled||e.disabled===""),k4=e=>typeof SVGElement<"u"&&e instanceof SVGElement,B4=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,N$=(e,t)=>{const n=e&&e.to;return Qn(n)?t?t(n):null:n},gJ={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,l,s,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:v,createComment:y}}=c,b=pp(t.props);let{shapeFlag:$,children:x,dynamicChildren:_}=t;if(e==null){const w=t.el=v(""),I=t.anchor=v("");h(w,n,o),h(I,n,o);const O=t.target=N$(t.props,m),P=t.targetAnchor=v("");O&&(h(P,O),a==="svg"||k4(O)?a="svg":(a==="mathml"||B4(O))&&(a="mathml"));const E=(R,A)=>{$&16&&u(x,R,A,r,i,a,l,s)};b?E(n,I):O&&E(O,P)}else{t.el=e.el;const w=t.anchor=e.anchor,I=t.target=e.target,O=t.targetAnchor=e.targetAnchor,P=pp(e.props),E=P?n:I,R=P?w:O;if(a==="svg"||k4(I)?a="svg":(a==="mathml"||B4(I))&&(a="mathml"),_?(f(e.dynamicChildren,_,E,r,i,a,l),S2(e,t,!0)):s||d(e,t,E,R,r,i,a,l,!1),b)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):uv(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=N$(t.props,m);A&&uv(t,A,null,c,0)}else P&&uv(t,I,O,c,1)}gN(t)},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:l,children:s,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),a&&i(c),l&16){const h=a||!pp(f);for(let m=0;m<s.length;m++){const v=s[m];r(v,t,n,h,!!v.dynamicChildren)}}},move:uv,hydrate:vJ};function uv(e,t,n,{o:{insert:o},m:r},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:s,children:c,props:u}=e,d=i===2;if(d&&o(a,t,n),(!d||pp(u))&&s&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&o(l,t,n)}function vJ(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:l,querySelector:s}},c){const u=t.target=N$(t.props,s);if(u){const d=u._lpa||u.firstChild;if(t.shapeFlag&16)if(pp(t.props))t.anchor=c(a(e),t,l(e),n,o,r,i),t.targetAnchor=d;else{t.anchor=a(e);let f=d;for(;f;)if(f=a(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,u._lpa=t.targetAnchor&&a(t.targetAnchor);break}c(d,t,u,n,o,r,i)}gN(t)}return t.anchor&&a(t.anchor)}const Ab=gJ;function gN(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Je=Symbol.for("v-fgt"),_l=Symbol.for("v-txt"),kr=Symbol.for("v-cmt"),om=Symbol.for("v-stc"),hp=[];let ea=null;function ht(e=!1){hp.push(ea=e?null:[])}function mJ(){hp.pop(),ea=hp[hp.length-1]||null}let Jp=1;function F4(e){Jp+=e}function vN(e){return e.dynamicChildren=Jp>0?ea||rd:null,mJ(),Jp>0&&ea&&ea.push(e),e}function qt(e,t,n,o,r,i){return vN(tt(e,t,n,o,r,i,!0))}function jn(e,t,n,o,r){return vN(g(e,t,n,o,r,!0))}function mo(e){return e?e.__v_isVNode===!0:!1}function cc(e,t){return e.type===t.type&&e.key===t.key}const Mb="__vInternal",mN=({key:e})=>e??null,rm=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Qn(e)||Wn(e)||Ut(e)?{i:ho,r:e,k:t,f:!!n}:e:null);function tt(e,t=null,n=null,o=0,r=null,i=e===Je?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mN(t),ref:t&&rm(t),scopeId:_b,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ho};return l?(C2(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=Qn(n)?8:16),Jp>0&&!a&&ea&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&ea.push(s),s}const g=bJ;function bJ(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===JL)&&(e=kr),mo(e)){const l=ko(e,t,!0);return n&&C2(l,n),Jp>0&&!i&&ea&&(l.shapeFlag&6?ea[ea.indexOf(e)]=l:ea.push(l)),l.patchFlag|=-2,l}if(IJ(e)&&(e=e.__vccOpts),t){t=yJ(t);let{class:l,style:s}=t;l&&!Qn(l)&&(t.class=Oo(l)),Tn(s)&&(zL(s)&&!Lt(s)&&(s=bo({},s)),t.style=vo(s))}const a=Qn(e)?1:DQ(e)?128:hJ(e)?64:Tn(e)?4:Ut(e)?2:0;return tt(e,t,n,o,r,a,i,!0)}function yJ(e){return e?zL(e)||Mb in e?bo({},e):e:null}function ko(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,l=t?k$(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&mN(l),ref:t&&t.ref?n&&r?Lt(r)?r.concat(rm(t)):[r,rm(t)]:rm(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ko(e.ssContent),ssFallback:e.ssFallback&&ko(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Do(e=" ",t=0){return g(_l,null,e,t)}function zn(e="",t=!1){return t?(ht(),jn(kr,null,e)):g(kr,null,e)}function _a(e){return e==null||typeof e=="boolean"?g(kr):Lt(e)?g(Je,null,e.slice()):typeof e=="object"?rs(e):g(_l,null,String(e))}function rs(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ko(e)}function C2(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Lt(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),C2(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Mb in t)?t._ctx=ho:r===3&&ho&&(ho.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ut(t)?(t={default:t,_ctx:ho},n=32):(t=String(t),o&64?(n=16,t=[Do(t)]):n=8);e.children=t,e.shapeFlag|=n}function k$(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Oo([t.class,o.class]));else if(r==="style")t.style=vo([t.style,o.style]);else if(vb(r)){const i=t[r],a=o[r];a&&i!==a&&!(Lt(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=o[r])}return t}function ya(e,t,n,o=null){Ai(e,t,7,[n,o])}const SJ=sN();let CJ=0;function $J(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||SJ,i={uid:CJ++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new IL(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:uN(o,r),emitsOptions:QL(o,r),emit:null,emitted:null,propsDefaults:Mn,inheritAttrs:o.inheritAttrs,ctx:Mn,data:Mn,props:Mn,attrs:Mn,slots:Mn,refs:Mn,setupState:Mn,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=IQ.bind(null,i),e.ce&&e.ce(i),i}let Ro=null;const Nn=()=>Ro||ho;let n0,B$;{const e=wL(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};n0=t("__VUE_INSTANCE_SETTERS__",n=>Ro=n),B$=t("__VUE_SSR_SETTERS__",n=>Rb=n)}const Lh=e=>{const t=Ro;return n0(e),e.scope.on(),()=>{e.scope.off(),n0(t)}},H4=()=>{Ro&&Ro.scope.off(),n0(null)};function bN(e){return e.vnode.shapeFlag&4}let Rb=!1;function xJ(e,t=!1){t&&B$(t);const{props:n,children:o}=e.vnode,r=bN(e);iJ(e,n,r,t),sJ(e,o);const i=r?wJ(e,t):void 0;return t&&B$(!1),i}function wJ(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$b(new Proxy(e.ctx,YQ));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?SN(e):null,i=Lh(e);Kc();const a=vs(o,e,0,[e.props,r]);if(Uc(),i(),CL(a)){if(a.then(H4,H4),t)return a.then(l=>{z4(e,l,t)}).catch(l=>{xb(l,e,0)});e.asyncDep=a}else z4(e,a,t)}else yN(e,t)}function z4(e,t,n){Ut(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Tn(t)&&(e.setupState=UL(t)),yN(e,n)}let j4;function yN(e,t,n){const o=e.type;if(!e.render){if(!t&&j4&&!o.render){const r=o.template||b2(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,c=bo(bo({isCustomElement:i,delimiters:l},a),s);o.render=j4(r,c)}}e.render=o.render||Ei}{const r=Lh(e);Kc();try{ZQ(e)}finally{Uc(),r()}}}function _J(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return zr(e,"get","$attrs"),t[n]}}))}function SN(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _J(e)},slots:e.slots,emit:e.emit,expose:t}}function Db(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(UL($b(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fp)return fp[n](e)},has(t,n){return n in t||n in fp}}))}function OJ(e,t=!0){return Ut(e)?e.displayName||e.name:e.name||t&&e.__name}function IJ(e){return Ut(e)&&"__vccOpts"in e}const M=(e,t)=>mQ(e,t,Rb);function Ni(e,t,n){const o=arguments.length;return o===2?Tn(t)&&!Lt(t)?mo(t)?g(e,null,[t]):g(e,t):g(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&mo(n)&&(n=[n]),g(e,t,n))}const PJ="3.4.15";/**
+* @vue/runtime-dom v3.4.15
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/const TJ="http://www.w3.org/2000/svg",EJ="http://www.w3.org/1998/Math/MathML",is=typeof document<"u"?document:null,W4=is&&is.createElement("template"),AJ={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?is.createElementNS(TJ,e):t==="mathml"?is.createElementNS(EJ,e):is.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>is.createTextNode(e),createComment:e=>is.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>is.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{W4.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const l=W4.content;if(o==="svg"||o==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gl="transition",Ff="animation",$d=Symbol("_vtc"),so=(e,{slots:t})=>Ni(zQ,$N(e),t);so.displayName="Transition";const CN={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},MJ=so.props=bo({},nN,CN),Zs=(e,t=[])=>{Lt(e)?e.forEach(n=>n(...t)):e&&e(...t)},V4=e=>e?Lt(e)?e.some(t=>t.length>1):e.length>1:!1;function $N(e){const t={};for(const N in e)N in CN||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:c=a,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=RJ(r),v=m&&m[0],y=m&&m[1],{onBeforeEnter:b,onEnter:$,onEnterCancelled:x,onLeave:_,onLeaveCancelled:w,onBeforeAppear:I=b,onAppear:O=$,onAppearCancelled:P=x}=t,E=(N,F,W)=>{Jl(N,F?u:l),Jl(N,F?c:a),W&&W()},R=(N,F)=>{N._isLeaving=!1,Jl(N,d),Jl(N,h),Jl(N,f),F&&F()},A=N=>(F,W)=>{const D=N?O:$,B=()=>E(F,N,W);Zs(D,[F,B]),K4(()=>{Jl(F,N?s:i),il(F,N?u:l),V4(D)||U4(F,o,v,B)})};return bo(t,{onBeforeEnter(N){Zs(b,[N]),il(N,i),il(N,a)},onBeforeAppear(N){Zs(I,[N]),il(N,s),il(N,c)},onEnter:A(!1),onAppear:A(!0),onLeave(N,F){N._isLeaving=!0;const W=()=>R(N,F);il(N,d),wN(),il(N,f),K4(()=>{N._isLeaving&&(Jl(N,d),il(N,h),V4(_)||U4(N,o,y,W))}),Zs(_,[N,W])},onEnterCancelled(N){E(N,!1),Zs(x,[N])},onAppearCancelled(N){E(N,!0),Zs(P,[N])},onLeaveCancelled(N){R(N),Zs(w,[N])}})}function RJ(e){if(e==null)return null;if(Tn(e))return[DS(e.enter),DS(e.leave)];{const t=DS(e);return[t,t]}}function DS(e){return WZ(e)}function il(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$d]||(e[$d]=new Set)).add(t)}function Jl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[$d];n&&(n.delete(t),n.size||(e[$d]=void 0))}function K4(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let DJ=0;function U4(e,t,n,o){const r=e._endId=++DJ,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:s}=xN(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=s&&d()};setTimeout(()=>{u<s&&d()},l+1),e.addEventListener(c,f)}function xN(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),r=o(`${Gl}Delay`),i=o(`${Gl}Duration`),a=G4(r,i),l=o(`${Ff}Delay`),s=o(`${Ff}Duration`),c=G4(l,s);let u=null,d=0,f=0;t===Gl?a>0&&(u=Gl,d=a,f=i.length):t===Ff?c>0&&(u=Ff,d=c,f=s.length):(d=Math.max(a,c),u=d>0?a>c?Gl:Ff:null,f=u?u===Gl?i.length:s.length:0);const h=u===Gl&&/\b(transform|all)(,|$)/.test(o(`${Gl}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function G4(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Y4(n)+Y4(e[o])))}function Y4(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wN(){return document.body.offsetHeight}function LJ(e,t,n){const o=e[$d];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $2=Symbol("_vod"),Bo={beforeMount(e,{value:t},{transition:n}){e[$2]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Hf(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Hf(e,!0),o.enter(e)):o.leave(e,()=>{Hf(e,!1)}):Hf(e,t))},beforeUnmount(e,{value:t}){Hf(e,t)}};function Hf(e,t){e.style.display=t?e[$2]:"none"}const _N=Symbol("");function ON(e){const t=Nn();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>H$(i,r))},o=()=>{const r=e(t.proxy);F$(t.subTree,r),n(r)};BQ(o),lt(()=>{const r=new MutationObserver(o);r.observe(t.subTree.el.parentNode,{childList:!0}),Fo(()=>r.disconnect())})}function F$(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{F$(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)H$(e.el,t);else if(e.type===Je)e.children.forEach(n=>F$(n,t));else if(e.type===om){let{el:n,anchor:o}=e;for(;n&&(H$(n,t),n!==o);)n=n.nextSibling}}function H$(e,t){if(e.nodeType===1){const n=e.style;let o="";for(const r in t)n.setProperty(`--${r}`,t[r]),o+=`--${r}: ${t[r]};`;n[_N]=o}}function NJ(e,t,n){const o=e.style,r=o.display,i=Qn(n);if(n&&!i){if(t&&!Qn(t))for(const a in t)n[a]==null&&z$(o,a,"");for(const a in n)z$(o,a,n[a])}else if(i){if(t!==n){const a=o[_N];a&&(n+=";"+a),o.cssText=n}}else t&&e.removeAttribute("style");$2 in e&&(o.display=r)}const X4=/\s*!important$/;function z$(e,t,n){if(Lt(n))n.forEach(o=>z$(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=kJ(e,t);X4.test(n)?e.setProperty(Vc(o),n.replace(X4,""),"important"):e[o]=n}}const q4=["Webkit","Moz","ms"],LS={};function kJ(e,t){const n=LS[t];if(n)return n;let o=Da(t);if(o!=="filter"&&o in e)return LS[t]=o;o=yb(o);for(let r=0;r<q4.length;r++){const i=q4[r]+o;if(i in e)return LS[t]=i}return t}const Z4="http://www.w3.org/1999/xlink";function BJ(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Z4,t.slice(6,t.length)):e.setAttributeNS(Z4,t,n);else{const i=XZ(t);n==null||i&&!_L(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function FJ(e,t,n,o,r,i,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,r,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let s=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=_L(n):n==null&&c==="string"?(n="",s=!0):c==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function HJ(e,t,n,o){e.addEventListener(t,n,o)}function zJ(e,t,n,o){e.removeEventListener(t,n,o)}const Q4=Symbol("_vei");function jJ(e,t,n,o,r=null){const i=e[Q4]||(e[Q4]={}),a=i[t];if(o&&a)a.value=o;else{const[l,s]=WJ(t);if(o){const c=i[t]=UJ(o,r);HJ(e,l,c,s)}else a&&(zJ(e,l,a,s),i[t]=void 0)}}const J4=/(?:Once|Passive|Capture)$/;function WJ(e){let t;if(J4.test(e)){t={};let o;for(;o=e.match(J4);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vc(e.slice(2)),t]}let NS=0;const VJ=Promise.resolve(),KJ=()=>NS||(VJ.then(()=>NS=0),NS=Date.now());function UJ(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Ai(GJ(o,n.value),t,5,[o])};return n.value=e,n.attached=KJ(),n}function GJ(e,t){if(Lt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const e3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,YJ=(e,t,n,o,r,i,a,l,s)=>{const c=r==="svg";t==="class"?LJ(e,o,c):t==="style"?NJ(e,n,o):vb(t)?e2(t)||jJ(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):XJ(e,t,o,c))?FJ(e,t,o,i,a,l,s):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),BJ(e,t,o,c))};function XJ(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&e3(t)&&Ut(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return e3(t)&&Qn(n)?!1:t in e}const IN=new WeakMap,PN=new WeakMap,o0=Symbol("_moveCb"),t3=Symbol("_enterCb"),TN={name:"TransitionGroup",props:bo({},MJ,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Nn(),o=tN();let r,i;return fr(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!eee(r[0].el,n.vnode.el,a))return;r.forEach(ZJ),r.forEach(QJ);const l=r.filter(JJ);wN(),l.forEach(s=>{const c=s.el,u=c.style;il(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[o0]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[o0]=null,Jl(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=$t(e),l=$N(a);let s=a.tag||Je;r=i,i=t.default?m2(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&Zp(u,qp(u,l,o,n))}if(r)for(let c=0;c<r.length;c++){const u=r[c];Zp(u,qp(u,l,o,n)),IN.set(u,u.el.getBoundingClientRect())}return g(s,null,i)}}},qJ=e=>delete e.mode;TN.props;const Lb=TN;function ZJ(e){const t=e.el;t[o0]&&t[o0](),t[t3]&&t[t3]()}function QJ(e){PN.set(e,e.el.getBoundingClientRect())}function JJ(e){const t=IN.get(e),n=PN.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function eee(e,t,n){const o=e.cloneNode(),r=e[$d];r&&r.forEach(l=>{l.split(/\s+/).forEach(s=>s&&o.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=xN(o);return i.removeChild(o),a}const tee=["ctrl","shift","alt","meta"],nee={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tee.some(n=>e[`${n}Key`]&&!t.includes(n))},n3=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a<t.length;a++){const l=nee[t[a]];if(l&&l(r,t))return}return e(r,...i)})},oee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wHe=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Vc(r.key);if(t.some(a=>a===i||oee[a]===i))return e(r)})},ree=bo({patchProp:YJ},AJ);let o3;function EN(){return o3||(o3=uJ(ree))}const Ec=(...e)=>{EN().render(...e)},AN=(...e)=>{const t=EN().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=aee(o);if(!r)return;const i=t._component;!Ut(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,iee(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function iee(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aee(e){return Qn(e)?document.querySelector(e):e}function eh(e){"@babel/helpers - typeof";return eh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eh(e)}function lee(e,t){if(eh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(eh(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function see(e){var t=lee(e,"string");return eh(t)=="symbol"?t:String(t)}function cee(e,t,n){return t=see(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?r3(Object(n),!0).forEach(function(o){cee(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r3(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S.apply(this,arguments)}const uee=e=>typeof e=="function",dee=Array.isArray,fee=e=>typeof e=="string",pee=e=>e!==null&&typeof e=="object",hee=/^on[^a-z]/,gee=e=>hee.test(e),x2=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vee=/-(\w)/g,Gc=x2(e=>e.replace(vee,(t,n)=>n?n.toUpperCase():"")),mee=/\B([A-Z])/g,bee=x2(e=>e.replace(mee,"-$1").toLowerCase()),yee=x2(e=>e.charAt(0).toUpperCase()+e.slice(1)),See=Object.prototype.hasOwnProperty,i3=(e,t)=>See.call(e,t);function Cee(e,t,n,o){const r=e[n];if(r!=null){const i=i3(r,"default");if(i&&o===void 0){const a=r.default;o=r.type!==Function&&uee(a)?a():a}r.type===Boolean&&(!i3(t,n)&&!i?o=!1:o===""&&(o=!0))}return o}function $ee(e){return Object.keys(e).reduce((t,n)=>((n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n]),t),{})}function uc(e){return typeof e=="number"?`${e}px`:e}function Xu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function xee(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,i)=>n.then(r,i),o.promise=n,o}function me(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(fee(n))e.push(n);else if(dee(n))for(let o=0;o<n.length;o++){const r=me(n[o]);r&&e.push(r)}else if(pee(n))for(const o in n)n[o]&&e.push(o)}}return e.join(" ")}var MN=function(){if(typeof Map<"u")return Map;function e(t,n){var o=-1;return t.some(function(r,i){return r[0]===n?(o=i,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var o=e(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(n,o){var r=e(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},t.prototype.delete=function(n){var o=this.__entries__,r=e(o,n);~r&&o.splice(r,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,o){o===void 0&&(o=null);for(var r=0,i=this.__entries__;r<i.length;r++){var a=i[r];n.call(o,a[1],a[0])}},t}()}(),j$=typeof window<"u"&&typeof document<"u"&&window.document===document,r0=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),wee=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(r0):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),_ee=2;function Oee(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){wee(i)}function l(){var s=Date.now();if(n){if(s-r<_ee)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=s}return l}var Iee=20,Pee=["top","right","bottom","left","width","height","size","weight"],Tee=typeof MutationObserver<"u",Eee=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Oee(this.refresh.bind(this),Iee)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,o=n.indexOf(t);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!j$||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Tee?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!j$||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=Pee.some(function(i){return!!~o.indexOf(i)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),RN=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},xd=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r0},DN=Nb(0,0,0,0);function i0(e){return parseFloat(e)||0}function a3(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(o,r){var i=e["border-"+r+"-width"];return o+i0(i)},0)}function Aee(e){for(var t=["top","right","bottom","left"],n={},o=0,r=t;o<r.length;o++){var i=r[o],a=e["padding-"+i];n[i]=i0(a)}return n}function Mee(e){var t=e.getBBox();return Nb(0,0,t.width,t.height)}function Ree(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return DN;var o=xd(e).getComputedStyle(e),r=Aee(o),i=r.left+r.right,a=r.top+r.bottom,l=i0(o.width),s=i0(o.height);if(o.boxSizing==="border-box"&&(Math.round(l+i)!==t&&(l-=a3(o,"left","right")+i),Math.round(s+a)!==n&&(s-=a3(o,"top","bottom")+a)),!Lee(e)){var c=Math.round(l+i)-t,u=Math.round(s+a)-n;Math.abs(c)!==1&&(l-=c),Math.abs(u)!==1&&(s-=u)}return Nb(r.left,r.top,l,s)}var Dee=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof xd(e).SVGGraphicsElement}:function(e){return e instanceof xd(e).SVGElement&&typeof e.getBBox=="function"}}();function Lee(e){return e===xd(e).document.documentElement}function Nee(e){return j$?Dee(e)?Mee(e):Ree(e):DN}function kee(e){var t=e.x,n=e.y,o=e.width,r=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return RN(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}function Nb(e,t,n,o){return{x:e,y:t,width:n,height:o}}var Bee=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Nb(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Nee(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Fee=function(){function e(t,n){var o=kee(n);RN(this,{target:t,contentRect:o})}return e}(),Hee=function(){function e(t,n,o){if(this.activeObservations_=[],this.observations_=new MN,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=o}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof xd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Bee(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof xd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new Fee(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),LN=typeof WeakMap<"u"?new WeakMap:new MN,NN=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Eee.getInstance(),o=new Hee(t,n,this);LN.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){NN.prototype[e]=function(){var t;return(t=LN.get(this))[e].apply(t,arguments)}});var zee=function(){return typeof r0.ResizeObserver<"u"?r0.ResizeObserver:NN}();const w2=zee,W$=e=>e!=null&&e!=="",bt=(e,t)=>{const n=S({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},_2=e=>{const t=Object.keys(e),n={},o={},r={};for(let i=0,a=t.length;i<a;i++){const l=t[i];gee(l)?(n[l[2].toLowerCase()+l.slice(3)]=e[l],o[l]=e[l]):r[l]=e[l]}return{onEvents:o,events:n,extraAttrs:r}},jee=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(i){if(i){const a=i.split(r);if(a.length>1){const l=t?Gc(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},ul=(e,t)=>e[t]!==void 0,kN=Symbol("skipFlatten"),ln=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...ln(r,t)):r&&r.type===Je?r.key===kN?o.push(r):o.push(...ln(r.children,t)):r&&mo(r)?t&&!Nh(r)?o.push(r):t||o.push(r):W$(r)&&o.push(r)}),o},kb=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(mo(e))return e.type===Je?t==="default"?ln(e.children):[]:e.children&&e.children[t]?ln(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return ln(o)}},Nr=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},BN=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],i=bee(o);(r!==void 0||i in n)&&(t[o]=r)})}else if(mo(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(i=>{o[Gc(i)]=n[i]});const r=e.type.props||{};Object.keys(r).forEach(i=>{const a=Cee(r,o,i,o[i]);(a!==void 0||i in o)&&(t[i]=a)})}return t},FN=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&o?i(n):i;r=e.$slots[t],r=o&&r?r(n):r}else if(mo(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&o?i(n):i;e.type===Je?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=ln(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function l3(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=S(S({},n),e.$attrs):n=S(S({},n),e.props),_2(n)[t?"onEvents":"events"]}function Wee(e){const n=((mo(e)?e.props:e.$attrs)||{}).class||{};let o={};return typeof n=="string"?n.split(" ").forEach(r=>{o[r.trim()]=!0}):Array.isArray(n)?me(n).split(" ").forEach(r=>{o[r.trim()]=!0}):o=S(S({},o),n),o}function HN(e,t){let o=((mo(e)?e.props:e.$attrs)||{}).style||{};if(typeof o=="string")o=jee(o,t);else if(t&&o){const r={};return Object.keys(o).forEach(i=>r[Gc(i)]=o[i]),r}return o}function Vee(e){return e.length===1&&e[0].type===Je}function Kee(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function Nh(e){return e&&(e.type===kr||e.type===Je&&e.children.length===0||e.type===_l&&e.children.trim()==="")}function Uee(e){return e&&e.type===_l}function _n(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===Je?t.push(..._n(n.children)):t.push(n)}),t.filter(n=>!Nh(n))}function zf(e){if(e){const t=_n(e);return t.length?t:void 0}else return e}function Jn(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function lo(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}const ki=pe({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=St({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,i=null;const a=()=>{i&&(i.disconnect(),i=null)},l=u=>{const{onResize:d}=e,f=u[0].target,{width:h,height:m}=f.getBoundingClientRect(),{offsetWidth:v,offsetHeight:y}=f,b=Math.floor(h),$=Math.floor(m);if(o.width!==b||o.height!==$||o.offsetWidth!==v||o.offsetHeight!==y){const x={width:b,height:$,offsetWidth:v,offsetHeight:y};S(o,x),d&&Promise.resolve().then(()=>{d(S(S({},x),{offsetWidth:v,offsetHeight:y}),f)})}},s=Nn(),c=()=>{const{disabled:u}=e;if(u){a();return}const d=Nr(s);d!==r&&(a(),r=d),!i&&d&&(i=new w2(l),i.observe(d))};return lt(()=>{c()}),fr(()=>{c()}),Fo(()=>{a()}),Ie(()=>e.disabled,()=>{c()},{flush:"post"}),()=>{var u;return(u=n.default)===null||u===void 0?void 0:u.call(n)[0]}}});let zN=e=>setTimeout(e,16),jN=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(zN=e=>window.requestAnimationFrame(e),jN=e=>window.cancelAnimationFrame(e));let s3=0;const O2=new Map;function WN(e){O2.delete(e)}function mt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;s3+=1;const n=s3;function o(r){if(r===0)WN(n),e();else{const i=zN(()=>{o(r-1)});O2.set(n,i)}}return o(t),n}mt.cancel=e=>{const t=O2.get(e);return WN(t),jN(t)};function V$(e){let t;const n=r=>()=>{t=null,e(...r)},o=function(){if(t==null){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=mt(n(i))}};return o.cancel=()=>{mt.cancel(t),t=null},o}const Go=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Gee=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},$n=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Ac(){return{type:[Function,Array]}}function qe(e){return{type:Object,default:e}}function De(e){return{type:Boolean,default:e}}function Oe(e){return{type:Function,default:e}}function cn(e,t){const n={validator:()=>!0,default:e};return n}function rr(){return{validator:()=>!0}}function kt(e){return{type:Array,default:e}}function Qe(e){return{type:String,default:e}}function rt(e,t){return e?{type:e,default:t}:cn(t)}let VN=!1;try{const e=Object.defineProperty({},"passive",{get(){VN=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}const fo=VN;function wn(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&fo&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}function dv(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function c3(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function u3(e,t,n){if(n!==void 0&&t.bottom<e.bottom+n){const o=window.innerHeight-t.bottom;return`${n+o}px`}}const KN=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];let gp=[];function d3(e,t){if(!e)return;let n=gp.find(o=>o.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},gp.push(n),KN.forEach(o=>{n.eventHandlers[o]=wn(e,o,()=>{n.affixList.forEach(r=>{const{lazyUpdatePosition:i}=r.exposed;i()},(o==="touchstart"||o==="touchmove")&&fo?{passive:!0}:!1)})}))}function f3(e){const t=gp.find(n=>{const o=n.affixList.some(r=>r===e);return o&&(n.affixList=n.affixList.filter(r=>r!==e)),o});t&&t.affixList.length===0&&(gp=gp.filter(n=>n!==t),KN.forEach(n=>{const o=t.eventHandlers[n];o&&o.remove&&o.remove()}))}const I2="anticon",UN=Symbol("GlobalFormContextKey"),Yee=e=>{ft(UN,e)},Xee=()=>it(UN,{validateMessages:M(()=>{})}),qee=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:qe(),input:qe(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:qe(),pageHeader:qe(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:qe(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:qe(),pagination:qe(),theme:qe(),select:qe(),wave:qe()}),P2=Symbol("configProvider"),GN={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:M(()=>I2),getPopupContainer:M(()=>()=>document.body),direction:M(()=>"ltr")},Bb=()=>it(P2,GN),Zee=e=>ft(P2,e),YN=Symbol("DisabledContextKey"),jr=()=>it(YN,he(void 0)),XN=e=>{const t=jr();return ft(YN,M(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},qN={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},Qee={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},Jee=Qee,ete={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},ZN=ete,tte={lang:S({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Jee),timePickerLocale:S({},ZN)},th=tte,ei="${label} is not a valid ${type}",cr={locale:"en",Pagination:qN,DatePicker:th,TimePicker:ZN,Calendar:th,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ei,method:ei,array:ei,object:ei,number:ei,date:ei,boolean:ei,integer:ei,float:ei,regexp:ei,email:ei,url:ei,hex:ei},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},Yc=pe({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=it("localeData",{}),r=M(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||cr[a||"global"],{antLocale:c}=o,u=a&&c?c[a]:{};return S(S({},typeof s=="function"?s():s),u||{})}),i=M(()=>{const{antLocale:a}=o,l=a&&a.locale;return a&&a.exist&&!l?cr.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=o;return a==null?void 0:a(r.value,i.value,l)}}});function Wi(e,t,n){const o=it("localeData",{});return[M(()=>{const{antLocale:i}=o,a=It(t)||cr[e||"global"],l=e&&i?i[e]:{};return S(S(S({},typeof a=="function"?a():a),l||{}),It(n)||{})})]}function T2(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const p3="%";class nte{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(p3):t)||null}update(t,n){const o=Array.isArray(t)?t.join(p3):t,r=this.cache.get(o),i=n(r);i===null?this.cache.delete(o):this.cache.set(o,i)}}const ote=nte,E2="data-token-hash",ms="data-css-hash",qu="__cssinjs_instance__";function wd(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${ms}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[qu]=r[qu]||e,r[qu]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${ms}]`)).forEach(r=>{var i;const a=r.getAttribute(ms);o[a]?r[qu]===e&&((i=r.parentNode)===null||i===void 0||i.removeChild(r)):o[a]=!0})}return new ote(e)}const QN=Symbol("StyleContextKey"),rte=()=>{var e,t,n;const o=Nn();let r;if(o&&o.appContext){const i=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;i?r=i:(r=wd(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=wd();return r},JN={cache:wd(),defaultCache:!0,hashPriority:"low"},kh=()=>{const e=rte();return it(QN,ve(S(S({},JN),{cache:e})))},e7=e=>{const t=kh(),n=ve(S(S({},JN),{cache:wd()}));return Ie([()=>It(e),t],()=>{const o=S({},t.value),r=It(e);Object.keys(r).forEach(a=>{const l=r[a];r[a]!==void 0&&(o[a]=l)});const{cache:i}=r;o.cache=o.cache||wd(),o.defaultCache=!i&&t.value.defaultCache,n.value=o},{immediate:!0}),ft(QN,n),n},ite=()=>({autoClear:De(),mock:Qe(),cache:qe(),defaultCache:De(),hashPriority:Qe(),container:rt(),ssrInline:De(),transformers:kt(),linters:kt()}),ate=$n(pe({name:"AStyleProvider",inheritAttrs:!1,props:ite(),setup(e,t){let{slots:n}=t;return e7(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function t7(e,t,n,o){const r=kh(),i=ve(""),a=ve();ct(()=>{i.value=[e,...t.value].join("%")});const l=s=>{r.value.cache.update(s,c=>{const[u=0,d]=c||[];return u-1===0?(o==null||o(d,!1),null):[u-1,d]})};return Ie(i,(s,c)=>{c&&l(c),r.value.cache.update(s,u=>{const[d=0,f]=u||[],m=f||n();return[d+1,m]}),a.value=r.value.cache.get(i.value)[1]},{immediate:!0}),Ct(()=>{l(i.value)}),a}function ur(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ss(e,t){return e&&e.contains?e.contains(t):!1}const h3="data-vc-order",lte="vc-util-key",K$=new Map;function n7(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:lte}function Fb(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ste(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function o7(e){return Array.from((K$.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function r7(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ur())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(h3,ste(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const i=Fb(t),{firstChild:a}=i;if(o){if(o==="queue"){const l=o7(i).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(h3)));if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function i7(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Fb(t);return o7(n).find(o=>o.getAttribute(n7(t))===e)}function a0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=i7(e,t);n&&Fb(t).removeChild(n)}function cte(e,t){const n=K$.get(e);if(!n||!ss(document,n)){const o=r7("",t),{parentNode:r}=o;K$.set(e,r),e.removeChild(o)}}function nh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,i;const a=Fb(n);cte(a,n);const l=i7(t,n);if(l)return!((o=n.csp)===null||o===void 0)&&o.nonce&&l.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(l.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=r7(e,n);return s.setAttribute(n7(n),t),s}function ute(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class _d{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var i;o?o=(i=o==null?void 0:o.map)===null||i===void 0?void 0:i.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>_d.MAX_CACHE_SIZE+_d.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((i,a)=>{const[,l]=i;return this.internalGet(a)[1]<l?[a,this.internalGet(a)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(r)}this.keys.push(t)}let o=this.cache;t.forEach((r,i)=>{if(i===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const a=o.get(r);a?a.map||(a.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const i=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!ute(n,t)),this.deleteByPath(this.cache,t)}}_d.MAX_CACHE_SIZE=20;_d.MAX_CACHE_OFFSET=5;let g3={};function dte(e,t){}function fte(e,t){}function a7(e,t,n){!t&&!g3[n]&&(e(!1,n),g3[n]=!0)}function Hb(e,t){a7(dte,e,t)}function pte(e,t){a7(fte,e,t)}function hte(){}let gte=hte;const Sn=gte;let v3=0;class A2{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=v3,t.length===0&&Sn(t.length>0),v3+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const kS=new _d;function M2(e){const t=Array.isArray(e)?e:[e];return kS.has(t)||kS.set(t,new A2(t)),kS.get(t)}const m3=new WeakMap;function l0(e){let t=m3.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof A2?t+=o.id:o&&typeof o=="object"?t+=l0(o):t+=o}),m3.set(e,t)),t}function vte(e,t){return T2(`${t}_${l0(e)}`)}const vp=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),l7="_bAmBoO_";function mte(e,t,n){var o,r;if(ur()){nh(e,vp);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i);const a=n?n(i):(o=getComputedStyle(i).content)===null||o===void 0?void 0:o.includes(l7);return(r=i.parentNode)===null||r===void 0||r.removeChild(i),a0(vp),a}return!1}let BS;function bte(){return BS===void 0&&(BS=mte(`@layer ${vp} { .${vp} { content: "${l7}"!important; } }`,e=>{e.className=vp})),BS}const b3={},yte=!0,Ste=!1,Cte=!yte&&!Ste?"css-dev-only-do-not-override":"css",dc=new Map;function $te(e){dc.set(e,(dc.get(e)||0)+1)}function xte(e,t){typeof document<"u"&&document.querySelectorAll(`style[${E2}="${e}"]`).forEach(o=>{var r;o[qu]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const wte=0;function _te(e,t){dc.set(e,(dc.get(e)||0)-1);const n=Array.from(dc.keys()),o=n.filter(r=>(dc.get(r)||0)<=0);n.length-o.length>wte&&o.forEach(r=>{xte(r,t),dc.delete(r)})}const Ote=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let i=S(S({},r),t);return o&&(i=o(i)),i};function s7(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:he({});const o=kh(),r=M(()=>S({},...t.value)),i=M(()=>l0(r.value)),a=M(()=>l0(n.value.override||b3));return t7("token",M(()=>[n.value.salt||"",e.value.id,i.value,a.value]),()=>{const{salt:s="",override:c=b3,formatToken:u,getComputedToken:d}=n.value,f=d?d(r.value,c,e.value):Ote(r.value,c,e.value,u),h=vte(f,s);f._tokenKey=h,$te(h);const m=`${Cte}-${T2(h)}`;return f._hashId=m,[f,m]},s=>{var c;_te(s[0]._tokenKey,(c=o.value)===null||c===void 0?void 0:c.cache.instanceId)})}var c7={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},u7="comm",d7="rule",f7="decl",Ite="@import",Pte="@keyframes",Tte="@layer",p7=Math.abs,R2=String.fromCharCode;function h7(e){return e.trim()}function im(e,t,n){return e.replace(t,n)}function Ete(e,t,n){return e.indexOf(t,n)}function oh(e,t){return e.charCodeAt(t)|0}function rh(e,t,n){return e.slice(t,n)}function cl(e){return e.length}function Ate(e){return e.length}function fv(e,t){return t.push(e),e}var zb=1,Od=1,g7=0,Bi=0,po=0,ef="";function D2(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:zb,column:Od,length:a,return:"",siblings:l}}function Mte(){return po}function Rte(){return po=Bi>0?oh(ef,--Bi):0,Od--,po===10&&(Od=1,zb--),po}function ra(){return po=Bi<g7?oh(ef,Bi++):0,Od++,po===10&&(Od=1,zb++),po}function $c(){return oh(ef,Bi)}function am(){return Bi}function jb(e,t){return rh(ef,e,t)}function U$(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dte(e){return zb=Od=1,g7=cl(ef=e),Bi=0,[]}function Lte(e){return ef="",e}function FS(e){return h7(jb(Bi-1,G$(e===91?e+2:e===40?e+1:e)))}function Nte(e){for(;(po=$c())&&po<33;)ra();return U$(e)>2||U$(po)>3?"":" "}function kte(e,t){for(;--t&&ra()&&!(po<48||po>102||po>57&&po<65||po>70&&po<97););return jb(e,am()+(t<6&&$c()==32&&ra()==32))}function G$(e){for(;ra();)switch(po){case e:return Bi;case 34:case 39:e!==34&&e!==39&&G$(po);break;case 40:e===41&&G$(e);break;case 92:ra();break}return Bi}function Bte(e,t){for(;ra()&&e+po!==57;)if(e+po===84&&$c()===47)break;return"/*"+jb(t,Bi-1)+"*"+R2(e===47?e:ra())}function Fte(e){for(;!U$($c());)ra();return jb(e,Bi)}function Hte(e){return Lte(lm("",null,null,null,[""],e=Dte(e),0,[0],e))}function lm(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,f=0,h=0,m=0,v=1,y=1,b=1,$=0,x="",_=r,w=i,I=o,O=x;y;)switch(m=$,$=ra()){case 40:if(m!=108&&oh(O,d-1)==58){Ete(O+=im(FS($),"&","&\f"),"&\f",p7(c?l[c-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:O+=FS($);break;case 9:case 10:case 13:case 32:O+=Nte(m);break;case 92:O+=kte(am()-1,7);continue;case 47:switch($c()){case 42:case 47:fv(zte(Bte(ra(),am()),t,n,s),s);break;default:O+="/"}break;case 123*v:l[c++]=cl(O)*b;case 125*v:case 59:case 0:switch($){case 0:case 125:y=0;case 59+u:b==-1&&(O=im(O,/\f/g,"")),h>0&&cl(O)-d&&fv(h>32?S3(O+";",o,n,d-1,s):S3(im(O," ","")+";",o,n,d-2,s),s);break;case 59:O+=";";default:if(fv(I=y3(O,t,n,c,u,r,l,x,_=[],w=[],d,i),i),$===123)if(u===0)lm(O,t,I,I,_,i,d,l,w);else switch(f===99&&oh(O,3)===110?100:f){case 100:case 108:case 109:case 115:lm(e,I,I,o&&fv(y3(e,I,I,0,0,r,l,x,r,_=[],d,w),w),r,w,d,l,o?_:w);break;default:lm(O,I,I,I,[""],w,0,l,w)}}c=u=h=0,v=b=1,x=O="",d=a;break;case 58:d=1+cl(O),h=m;default:if(v<1){if($==123)--v;else if($==125&&v++==0&&Rte()==125)continue}switch(O+=R2($),$*v){case 38:b=u>0?1:(O+="\f",-1);break;case 44:l[c++]=(cl(O)-1)*b,b=1;break;case 64:$c()===45&&(O+=FS(ra())),f=$c(),u=d=cl(x=O+=Fte(am())),$++;break;case 45:m===45&&cl(O)==2&&(v=0)}}return i}function y3(e,t,n,o,r,i,a,l,s,c,u,d){for(var f=r-1,h=r===0?i:[""],m=Ate(h),v=0,y=0,b=0;v<o;++v)for(var $=0,x=rh(e,f+1,f=p7(y=a[v])),_=e;$<m;++$)(_=h7(y>0?h[$]+" "+x:im(x,/&\f/g,h[$])))&&(s[b++]=_);return D2(e,t,n,r===0?d7:l,s,c,u,d)}function zte(e,t,n,o){return D2(e,t,n,u7,R2(Mte()),rh(e,2,-2),0,o)}function S3(e,t,n,o,r){return D2(e,t,n,f7,rh(e,0,o),rh(e,o+1,-1),o,r)}function Y$(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function jte(e,t,n,o){switch(e.type){case Tte:if(e.children.length)break;case Ite:case f7:return e.return=e.return||e.value;case u7:return"";case Pte:return e.return=e.value+"{"+Y$(e.children,o)+"}";case d7:if(!cl(e.value=e.props.join(",")))return""}return cl(n=Y$(e.children,o))?e.return=e.value+"{"+n+"}":""}function Zu(e,t){const{path:n,parentSelectors:o}=t;Hb(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${o.length?` Selector info: ${o.join(" -> ")}`:""}`)}function Wte(e){var t;return(((t=e.match(/:not\(([^)]*)\)/))===null||t===void 0?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(r=>r).length>1}function Vte(e){return e.parentSelectors.reduce((t,n)=>t?n.includes("&")?n.replace(/&/g,t):`${t} ${n}`:n,"")}const Kte=(e,t,n)=>{const r=Vte(n).match(/:not\([^)]*\)/g)||[];r.length>0&&r.some(Wte)&&Zu("Concat ':not' selector not support in legacy browsers.",n)},Ute=Kte,Gte=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Zu(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof t=="string"){const o=t.split(" ").map(r=>r.trim());o.length===4&&o[1]!==o[3]&&Zu(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case"clear":case"textAlign":(t==="left"||t==="right")&&Zu(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"borderRadius":typeof t=="string"&&t.split("/").map(i=>i.trim()).reduce((i,a)=>{if(i)return i;const l=a.split(" ").map(s=>s.trim());return l.length>=2&&l[0]!==l[1]||l.length===3&&l[1]!==l[2]||l.length===4&&l[2]!==l[3]?!0:i},!1)&&Zu(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return}},Yte=Gte,Xte=(e,t,n)=>{n.parentSelectors.some(o=>o.split(",").some(i=>i.split("&").length>2))&&Zu("Should not use more than one `&` in a selector.",n)},qte=Xte,mp="data-ant-cssinjs-cache-path",Zte="_FILE_STYLE__";function Qte(e){return Object.keys(e).map(t=>{const n=e[t];return`${t}:${n}`}).join(";")}let xc,v7=!0;function Jte(){var e;if(!xc&&(xc={},ur())){const t=document.createElement("div");t.className=mp,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(r=>{const[i,a]=r.split(":");xc[i]=a});const o=document.querySelector(`style[${mp}]`);o&&(v7=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function ene(e){return Jte(),!!xc[e]}function tne(e){const t=xc[e];let n=null;if(t&&ur())if(v7)n=Zte;else{const o=document.querySelector(`style[${ms}="${xc[e]}"]`);o?n=o.innerHTML:delete xc[e]}return[n,t]}const C3=ur(),nne="_skip_check_",m7="_multi_value_";function X$(e){return Y$(Hte(e),jte).replace(/\{%%%\:[^;];}/g,";")}function one(e){return typeof e=="object"&&e&&(nne in e||m7 in e)}function rne(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let c=s[0]||"";const u=((l=c.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return c=`${u}${r}${c.slice(u.length)}`,[c,...s.slice(1)].join(" ")}).join(",")}const $3=new Set,q$=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:a,path:l,hashPriority:s,transformers:c=[],linters:u=[]}=t;let d="",f={};function h(y){const b=y.getName(i);if(!f[b]){const[$]=q$(y.style,t,{root:!1,parentSelectors:r});f[b]=`@keyframes ${y.getName(i)}${$}`}}function m(y){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach($=>{Array.isArray($)?m($,b):$&&b.push($)}),b}if(m(Array.isArray(e)?e:[e]).forEach(y=>{const b=typeof y=="string"&&!n?{}:y;if(typeof b=="string")d+=`${b}
+`;else if(b._keyframe)h(b);else{const $=c.reduce((x,_)=>{var w;return((w=_==null?void 0:_.visit)===null||w===void 0?void 0:w.call(_,x))||x},b);Object.keys($).forEach(x=>{var _;const w=$[x];if(typeof w=="object"&&w&&(x!=="animationName"||!w._keyframe)&&!one(w)){let I=!1,O=x.trim(),P=!1;(n||o)&&i?O.startsWith("@")?I=!0:O=rne(x,i,s):n&&!i&&(O==="&"||O==="")&&(O="",P=!0);const[E,R]=q$(w,t,{root:P,injectHash:I,parentSelectors:[...r,O]});f=S(S({},f),R),d+=`${O}${E}`}else{let I=function(P,E){const R=P.replace(/[A-Z]/g,N=>`-${N.toLowerCase()}`);let A=E;!c7[P]&&typeof A=="number"&&A!==0&&(A=`${A}px`),P==="animationName"&&(E!=null&&E._keyframe)&&(h(E),A=E.getName(i)),d+=`${R}:${A};`};const O=(_=w==null?void 0:w.value)!==null&&_!==void 0?_:w;typeof w=="object"&&(w!=null&&w[m7])&&Array.isArray(O)?O.forEach(P=>{I(x,P)}):I(x,O)}})}}),!n)d=`{${d}}`;else if(a&&bte()){const y=a.split(",");d=`@layer ${y[y.length-1].trim()} {${d}}`,y.length>1&&(d=`@layer ${a}{%%%:%}${d}`)}return[d,f]};function ine(e,t){return T2(`${e.join("%")}${t}`)}function s0(e,t){const n=kh(),o=M(()=>e.value.token._tokenKey),r=M(()=>[o.value,...e.value.path]);let i=C3;return t7("style",r,()=>{const{path:a,hashId:l,layer:s,nonce:c,clientOnly:u,order:d=0}=e.value,f=r.value.join("|");if(ene(f)){const[O,P]=tne(f);if(O)return[O,o.value,P,{},u,d]}const h=t(),{hashPriority:m,container:v,transformers:y,linters:b,cache:$}=n.value,[x,_]=q$(h,{hashId:l,hashPriority:m,layer:s,path:a.join("-"),transformers:y,linters:b}),w=X$(x),I=ine(r.value,w);if(i){const O={mark:ms,prepend:"queue",attachTo:v,priority:d},P=typeof c=="function"?c():c;P&&(O.csp={nonce:P});const E=nh(w,I,O);E[qu]=$.instanceId,E.setAttribute(E2,o.value),Object.keys(_).forEach(R=>{$3.has(R)||($3.add(R),nh(X$(_[R]),`_effect-${R}`,{mark:ms,prepend:"queue",attachTo:v}))})}return[w,o.value,I,_,u,d]},(a,l)=>{let[,,s]=a;(l||n.value.autoClear)&&C3&&a0(s,{mark:ms})}),a=>a}function ane(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n="style%",o=Array.from(e.cache.keys()).filter(c=>c.startsWith(n)),r={},i={};let a="";function l(c,u,d){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const h=S(S({},f),{[E2]:u,[ms]:d}),m=Object.keys(h).map(v=>{const y=h[v];return y?`${v}="${y}"`:null}).filter(v=>v).join(" ");return t?c:`<style ${m}>${c}</style>`}return o.map(c=>{const u=c.slice(n.length).replace(/%/g,"|"),[d,f,h,m,v,y]=e.cache.get(c)[1];if(v)return null;const b={"data-vc-order":"prependQueue","data-vc-priority":`${y}`};let $=l(d,f,h,b);return i[u]=h,m&&Object.keys(m).forEach(_=>{r[_]||(r[_]=!0,$+=l(X$(m[_]),f,`_effect-${_}`,b))}),[y,$]}).filter(c=>c).sort((c,u)=>c[0]-u[0]).forEach(c=>{let[,u]=c;a+=u}),a+=l(`.${mp}{content:"${Qte(i)}";}`,void 0,void 0,{[mp]:mp}),a}class lne{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const Pt=lne;function sne(e){if(typeof e=="number")return[e];const t=String(e).split(/\s+/);let n="",o=0;return t.reduce((r,i)=>(i.includes("(")?(n+=i,o+=i.split("(").length-1):i.includes(")")?(n+=` ${i}`,o-=i.split(")").length-1,o===0&&(r.push(n),n="")):o>0?n+=` ${i}`:r.push(i),r),[])}function Iu(e){return e.notSplit=!0,e}const cne={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Iu(["borderTop","borderBottom"]),borderBlockStart:Iu(["borderTop"]),borderBlockEnd:Iu(["borderBottom"]),borderInline:Iu(["borderLeft","borderRight"]),borderInlineStart:Iu(["borderLeft"]),borderInlineEnd:Iu(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function pv(e){return{_skip_check_:!0,value:e}}const une={visit:e=>{const t={};return Object.keys(e).forEach(n=>{const o=e[n],r=cne[n];if(r&&(typeof o=="number"||typeof o=="string")){const i=sne(o);r.length&&r.notSplit?r.forEach(a=>{t[a]=pv(o)}):r.length===1?t[r[0]]=pv(o):r.length===2?r.forEach((a,l)=>{var s;t[a]=pv((s=i[l])!==null&&s!==void 0?s:i[0])}):r.length===4?r.forEach((a,l)=>{var s,c;t[a]=pv((c=(s=i[l])!==null&&s!==void 0?s:i[l-2])!==null&&c!==void 0?c:i[0])}):t[n]=o}else t[n]=o}),t}},dne=une,HS=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function fne(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return Math.round(o/10)*10/n}const pne=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{rootValue:t=16,precision:n=5,mediaQuery:o=!1}=e,r=(a,l)=>{if(!l)return a;const s=parseFloat(l);return s<=1?a:`${fne(s/t,n)}rem`};return{visit:a=>{const l=S({},a);return Object.entries(a).forEach(s=>{let[c,u]=s;if(typeof u=="string"&&u.includes("px")){const f=u.replace(HS,r);l[c]=f}!c7[c]&&typeof u=="number"&&u!==0&&(l[c]=`${u}px`.replace(HS,r));const d=c.trim();if(d.startsWith("@")&&d.includes("px")&&o){const f=c.replace(HS,r);l[f]=l[c],delete l[c]}}),l}}},hne=pne,gne={Theme:A2,createTheme:M2,useStyleRegister:s0,useCacheToken:s7,createCache:wd,useStyleInject:kh,useStyleProvider:e7,Keyframes:Pt,extractStyle:ane,legacyLogicalPropertiesTransformer:dne,px2remTransformer:hne,logicalPropertiesLinter:Yte,legacyNotSelectorLinter:Ute,parentSelectorLinter:qte,StyleProvider:ate},vne=gne,b7="4.1.2",ih=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Vo(e,t){mne(e)&&(e="100%");var n=bne(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function hv(e){return Math.min(1,Math.max(0,e))}function mne(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function bne(e){return typeof e=="string"&&e.indexOf("%")!==-1}function y7(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gv(e){return e<=1?"".concat(Number(e)*100,"%"):e}function mc(e){return e.length===1?"0"+e:String(e)}function yne(e,t,n){return{r:Vo(e,255)*255,g:Vo(t,255)*255,b:Vo(n,255)*255}}function x3(e,t,n){e=Vo(e,255),t=Vo(t,255),n=Vo(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=0,l=(o+r)/2;if(o===r)a=0,i=0;else{var s=o-r;switch(a=l>.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,l}}function zS(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Sne(e,t,n){var o,r,i;if(e=Vo(e,360),t=Vo(t,100),n=Vo(n,100),t===0)r=n,i=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=zS(l,a,e+1/3),r=zS(l,a,e),i=zS(l,a,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function Z$(e,t,n){e=Vo(e,255),t=Vo(t,255),n=Vo(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s,v:a}}function Cne(e,t,n){e=Vo(e,360)*6,t=Vo(t,100),n=Vo(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6,c=[n,a,i,i,l,n][s],u=[l,n,n,a,i,i][s],d=[i,i,l,n,n,a][s];return{r:c*255,g:u*255,b:d*255}}function Q$(e,t,n,o){var r=[mc(Math.round(e).toString(16)),mc(Math.round(t).toString(16)),mc(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function $ne(e,t,n,o,r){var i=[mc(Math.round(e).toString(16)),mc(Math.round(t).toString(16)),mc(Math.round(n).toString(16)),mc(xne(o))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function xne(e){return Math.round(parseFloat(e)*255).toString(16)}function w3(e){return ri(e)/255}function ri(e){return parseInt(e,16)}function wne(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var J$={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Wu(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=Ine(e)),typeof e=="object"&&(Qa(e.r)&&Qa(e.g)&&Qa(e.b)?(t=yne(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qa(e.h)&&Qa(e.s)&&Qa(e.v)?(o=gv(e.s),r=gv(e.v),t=Cne(e.h,o,r),a=!0,l="hsv"):Qa(e.h)&&Qa(e.s)&&Qa(e.l)&&(o=gv(e.s),i=gv(e.l),t=Sne(e.h,o,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=y7(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var _ne="[-\\+]?\\d+%?",One="[-\\+]?\\d*\\.\\d+%?",ds="(?:".concat(One,")|(?:").concat(_ne,")"),jS="[\\s|\\(]+(".concat(ds,")[,|\\s]+(").concat(ds,")[,|\\s]+(").concat(ds,")\\s*\\)?"),WS="[\\s|\\(]+(".concat(ds,")[,|\\s]+(").concat(ds,")[,|\\s]+(").concat(ds,")[,|\\s]+(").concat(ds,")\\s*\\)?"),Zi={CSS_UNIT:new RegExp(ds),rgb:new RegExp("rgb"+jS),rgba:new RegExp("rgba"+WS),hsl:new RegExp("hsl"+jS),hsla:new RegExp("hsla"+WS),hsv:new RegExp("hsv"+jS),hsva:new RegExp("hsva"+WS),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ine(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(J$[e])e=J$[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Zi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Zi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Zi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Zi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Zi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Zi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Zi.hex8.exec(e),n?{r:ri(n[1]),g:ri(n[2]),b:ri(n[3]),a:w3(n[4]),format:t?"name":"hex8"}:(n=Zi.hex6.exec(e),n?{r:ri(n[1]),g:ri(n[2]),b:ri(n[3]),format:t?"name":"hex"}:(n=Zi.hex4.exec(e),n?{r:ri(n[1]+n[1]),g:ri(n[2]+n[2]),b:ri(n[3]+n[3]),a:w3(n[4]+n[4]),format:t?"name":"hex8"}:(n=Zi.hex3.exec(e),n?{r:ri(n[1]+n[1]),g:ri(n[2]+n[2]),b:ri(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Qa(e){return!!Zi.CSS_UNIT.exec(String(e))}var Zt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=wne(t)),this.originalInput=t;var r=Wu(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,i=t.r/255,a=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=y7(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Z$(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Z$(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=x3(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=x3(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Q$(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),$ne(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Vo(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Vo(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Q$(this.r,this.g,this.b,!1),n=0,o=Object.entries(J$);n<o.length;n++){var r=o[n],i=r[0],a=r[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var o=!1,r=this.a<1&&this.a>=0,i=!n&&r&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=hv(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=hv(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=hv(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=hv(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),i=n/100,a={r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,i=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],i=360/t,a=1;a<t;a++)r.push(new e({h:(o+a*i)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),vv=2,_3=.16,Pne=.05,Tne=.05,Ene=.15,S7=5,C7=4,Ane=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function O3(e){var t=e.r,n=e.g,o=e.b,r=Z$(t,n,o);return{h:r.h*360,s:r.s,v:r.v}}function mv(e){var t=e.r,n=e.g,o=e.b;return"#".concat(Q$(t,n,o,!1))}function Mne(e,t,n){var o=n/100,r={r:(t.r-e.r)*o+e.r,g:(t.g-e.g)*o+e.g,b:(t.b-e.b)*o+e.b};return r}function I3(e,t,n){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-vv*t:Math.round(e.h)+vv*t:o=n?Math.round(e.h)+vv*t:Math.round(e.h)-vv*t,o<0?o+=360:o>=360&&(o-=360),o}function P3(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-_3*t:t===C7?o=e.s+_3:o=e.s+Pne*t,o>1&&(o=1),n&&t===S7&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function T3(e,t,n){var o;return n?o=e.v+Tne*t:o=e.v-Ene*t,o>1&&(o=1),Number(o.toFixed(2))}function Mc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=Wu(e),r=S7;r>0;r-=1){var i=O3(o),a=mv(Wu({h:I3(i,r,!0),s:P3(i,r,!0),v:T3(i,r,!0)}));n.push(a)}n.push(mv(o));for(var l=1;l<=C7;l+=1){var s=O3(o),c=mv(Wu({h:I3(s,l),s:P3(s,l),v:T3(s,l)}));n.push(c)}return t.theme==="dark"?Ane.map(function(u){var d=u.index,f=u.opacity,h=mv(Mne(Wu(t.backgroundColor||"#141414"),Wu(n[d]),f*100));return h}):n}var ld={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},bp={},VS={};Object.keys(ld).forEach(function(e){bp[e]=Mc(ld[e]),bp[e].primary=bp[e][5],VS[e]=Mc(ld[e],{theme:"dark",backgroundColor:"#141414"}),VS[e].primary=VS[e][5]});var Rne=bp.gold,Dne=bp.blue;const Lne=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Nne(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const $7={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},kne=S(S({},$7),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
+'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
+'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),Wb=kne;function Bne(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:u}=e,d=n(s),f=n(r),h=n(i),m=n(a),v=n(l),y=o(c,u);return S(S({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorBgMask:new Zt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Fne=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e>16?16:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}};function Hne(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return S({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},Fne(o))}const Ja=(e,t)=>new Zt(e).setAlpha(t).toRgbString(),jf=(e,t)=>new Zt(e).darken(t).toHexString(),zne=e=>{const t=Mc(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},jne=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:Ja(o,.88),colorTextSecondary:Ja(o,.65),colorTextTertiary:Ja(o,.45),colorTextQuaternary:Ja(o,.25),colorFill:Ja(o,.15),colorFillSecondary:Ja(o,.06),colorFillTertiary:Ja(o,.04),colorFillQuaternary:Ja(o,.02),colorBgLayout:jf(n,4),colorBgContainer:jf(n,0),colorBgElevated:jf(n,0),colorBgSpotlight:Ja(o,.85),colorBorder:jf(n,15),colorBorderSecondary:jf(n,6)}};function Wne(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,i=e*Math.pow(2.71828,r/5),a=o>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const Vne=e=>{const t=Wne(e),n=t.map(r=>r.size),o=t.map(r=>r.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};function Kne(e){const t=Object.keys($7).map(n=>{const o=Mc(e[n]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${n}-${a+1}`]=o[a],r),{})}).reduce((n,o)=>(n=S(S({},n),o),n),{});return S(S(S(S(S(S(S({},e),t),Bne(e,{generateColorPalettes:zne,generateNeutralColorPalettes:jne})),Vne(e.fontSize)),Nne(e)),Lne(e)),Hne(e))}function KS(e){return e>=0&&e<=255}function bv(e,t){const{r:n,g:o,b:r,a:i}=new Zt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:s}=new Zt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((o-l*(1-c))/c),f=Math.round((r-s*(1-c))/c);if(KS(u)&&KS(d)&&KS(f))return new Zt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Zt({r:n,g:o,b:r,a:1}).toRgbString()}var Une=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Gne(e){const{override:t}=e,n=Une(e,["override"]),o=S({},t);Object.keys(Wb).forEach(h=>{delete o[h]});const r=S(S({},n),o),i=480,a=576,l=768,s=992,c=1200,u=1600,d=2e3;return S(S(S({},r),{colorLink:r.colorInfoText,colorLinkHover:r.colorInfoHover,colorLinkActive:r.colorInfoActive,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:bv(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:bv(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:bv(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:bv(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
+ `,boxShadowSecondary:`
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
+ `,boxShadowTertiary:`
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
+ `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,screenXXLMax:d-1,screenXXXL:d,screenXXXLMin:d,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:`
+ 0 1px 2px -2px ${new Zt("rgba(0, 0, 0, 0.16)").toRgbString()},
+ 0 3px 6px 0 ${new Zt("rgba(0, 0, 0, 0.12)").toRgbString()},
+ 0 5px 12px 4px ${new Zt("rgba(0, 0, 0, 0.09)").toRgbString()}
+ `,boxShadowDrawerRight:`
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
+ `,boxShadowDrawerLeft:`
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
+ `,boxShadowDrawerUp:`
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
+ `,boxShadowDrawerDown:`
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}const Vb=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),L2=(e,t,n,o,r)=>{const i=e/2,a=0,l=i,s=n*1/Math.sqrt(2),c=i-n*(1-1/Math.sqrt(2)),u=i-t*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),f=2*i-u,h=d,m=2*i-s,v=c,y=2*i-a,b=l,$=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),x=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:$,height:$,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${x}px 100%, 50% ${x}px, ${2*i-x}px 100%, ${x}px 100%)`,`path('M ${a} ${l} A ${n} ${n} 0 0 0 ${s} ${c} L ${u} ${d} A ${t} ${t} 0 0 1 ${f} ${h} L ${m} ${v} A ${n} ${n} 0 0 0 ${y} ${b} Z')`]},content:'""'}}};function c0(e,t){return ih.reduce((n,o)=>{const r=e[`${o}-1`],i=e[`${o}-3`],a=e[`${o}-6`],l=e[`${o}-7`];return S(S({},n),t(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:l}))},{})}const eo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},vt=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Xc=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),aa=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Yne=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Xne=(e,t)=>{const{fontFamily:n,fontSize:o}=e,r=`[class^="${t}"], [class*=" ${t}"]`;return{[r]:{fontFamily:n,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},yl=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Sl=e=>({"&:focus-visible":S({},yl(e))});function pt(e,t,n){return o=>{const r=M(()=>o==null?void 0:o.value),[i,a,l]=Ol(),{getPrefixCls:s,iconPrefixCls:c}=Bb(),u=M(()=>s()),d=M(()=>({theme:i.value,token:a.value,hashId:l.value,path:["Shared",u.value]}));s0(d,()=>[{"&":Yne(a.value)}]);const f=M(()=>({theme:i.value,token:a.value,hashId:l.value,path:[e,r.value,c.value]}));return[s0(f,()=>{const{token:h,flush:m}=Zne(a.value),v=typeof n=="function"?n(h):n,y=S(S({},v),a.value[e]),b=`.${r.value}`,$=nt(h,{componentCls:b,prefixCls:r.value,iconCls:`.${c.value}`,antCls:`.${u.value}`},y),x=t($,{hashId:l.value,prefixCls:r.value,rootPrefixCls:u.value,iconPrefixCls:c.value,overrideComponentToken:a.value[e]});return m(e,y),[Xne(a.value,r.value),x]}),l]}}const x7=typeof CSSINJS_STATISTIC<"u";let ex=!0;function nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!x7)return S({},...t);ex=!1;const o={};return t.forEach(r=>{Object.keys(r).forEach(a=>{Object.defineProperty(o,a,{configurable:!0,enumerable:!0,get:()=>r[a]})})}),ex=!0,o}function qne(){}function Zne(e){let t,n=e,o=qne;return x7&&(t=new Set,n=new Proxy(e,{get(r,i){return ex&&t.add(i),r[i]}}),o=(r,i)=>{Array.from(t)}),{token:n,keys:t,flush:o}}const Qne=M2(Kne),w7={token:Wb,hashed:!0},_7=Symbol("DesignTokenContext"),tx=ve(),Jne=e=>{ft(_7,e),Ie(e,()=>{tx.value=It(e),KL(tx)},{immediate:!0,deep:!0})},eoe=pe({props:{value:qe()},setup(e,t){let{slots:n}=t;return Jne(M(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function Ol(){const e=it(_7,M(()=>tx.value||w7)),t=M(()=>`${b7}-${e.value.hashed||""}`),n=M(()=>e.value.theme||Qne),o=s7(n,M(()=>[Wb,e.value.token]),M(()=>({salt:t.value,override:S({override:e.value.token},e.value.components),formatToken:Gne})));return[n,M(()=>o.value[0]),M(()=>e.value.hashed?o.value[1]:"")]}const O7=pe({compatConfig:{MODE:3},setup(){const[,e]=Ol(),t=M(()=>new Zt(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>g("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[g("g",{fill:"none","fill-rule":"evenodd"},[g("g",{transform:"translate(24 31.67)"},[g("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),g("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),g("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),g("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),g("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),g("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),g("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[g("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),g("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});O7.PRESENTED_IMAGE_DEFAULT=!0;const toe=O7,I7=pe({compatConfig:{MODE:3},setup(){const[,e]=Ol(),t=M(()=>{const{colorFill:n,colorFillTertiary:o,colorFillQuaternary:r,colorBgContainer:i}=e.value;return{borderColor:new Zt(n).onBackground(i).toHexString(),shadowColor:new Zt(o).onBackground(i).toHexString(),contentColor:new Zt(r).onBackground(i).toHexString()}});return()=>g("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[g("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[g("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),g("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[g("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),g("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});I7.PRESENTED_IMAGE_SIMPLE=!0;const noe=I7,ooe=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},roe=pt("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,o=nt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[ooe(o)]});var ioe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const P7=g(toe,null,null),T7=g(noe,null,null),aoe=()=>({prefixCls:String,imageStyle:qe(),image:cn(),description:cn()}),N2=pe({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:aoe(),setup(e,t){let{slots:n={},attrs:o}=t;const{direction:r,prefixCls:i}=Ve("empty",e),[a,l]=roe(i);return()=>{var s,c;const u=i.value,d=S(S({},e),o),{image:f=((s=n.image)===null||s===void 0?void 0:s.call(n))||P7,description:h=((c=n.description)===null||c===void 0?void 0:c.call(n))||void 0,imageStyle:m,class:v=""}=d,y=ioe(d,["image","description","imageStyle","class"]);return a(g(Yc,{componentName:"Empty",children:b=>{const $=typeof h<"u"?h:b.description,x=typeof $=="string"?$:"empty";let _=null;return typeof f=="string"?_=g("img",{alt:x,src:f},null):_=f,g("div",V({class:me(u,v,l.value,{[`${u}-normal`]:f===T7,[`${u}-rtl`]:r.value==="rtl"})},y),[g("div",{class:`${u}-image`,style:m},[_]),$&&g("p",{class:`${u}-description`},[$]),n.default&&g("div",{class:`${u}-footer`},[_n(n.default())])])}},null))}}});N2.PRESENTED_IMAGE_DEFAULT=P7;N2.PRESENTED_IMAGE_SIMPLE=T7;const cs=$n(N2),k2=e=>{const{prefixCls:t}=Ve("empty",e);return(o=>{switch(o){case"Table":case"List":return g(cs,{image:cs.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return g(cs,{image:cs.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return g(cs,null,null)}})(e.componentName)};function loe(e){return g(k2,{componentName:e},null)}const E7=Symbol("SizeContextKey"),A7=()=>it(E7,he(void 0)),M7=e=>{const t=A7();return ft(E7,M(()=>e.value||t.value)),e},Ve=(e,t)=>{const n=A7(),o=jr(),r=it(P2,S(S({},GN),{renderEmpty:O=>Ni(k2,{componentName:O})})),i=M(()=>r.getPrefixCls(e,t.prefixCls)),a=M(()=>{var O,P;return(O=t.direction)!==null&&O!==void 0?O:(P=r.direction)===null||P===void 0?void 0:P.value}),l=M(()=>{var O;return(O=t.iconPrefixCls)!==null&&O!==void 0?O:r.iconPrefixCls.value}),s=M(()=>r.getPrefixCls()),c=M(()=>{var O;return(O=r.autoInsertSpaceInButton)===null||O===void 0?void 0:O.value}),u=r.renderEmpty,d=r.space,f=r.pageHeader,h=r.form,m=M(()=>{var O,P;return(O=t.getTargetContainer)!==null&&O!==void 0?O:(P=r.getTargetContainer)===null||P===void 0?void 0:P.value}),v=M(()=>{var O,P,E;return(P=(O=t.getContainer)!==null&&O!==void 0?O:t.getPopupContainer)!==null&&P!==void 0?P:(E=r.getPopupContainer)===null||E===void 0?void 0:E.value}),y=M(()=>{var O,P;return(O=t.dropdownMatchSelectWidth)!==null&&O!==void 0?O:(P=r.dropdownMatchSelectWidth)===null||P===void 0?void 0:P.value}),b=M(()=>{var O;return(t.virtual===void 0?((O=r.virtual)===null||O===void 0?void 0:O.value)!==!1:t.virtual!==!1)&&y.value!==!1}),$=M(()=>t.size||n.value),x=M(()=>{var O,P,E;return(O=t.autocomplete)!==null&&O!==void 0?O:(E=(P=r.input)===null||P===void 0?void 0:P.value)===null||E===void 0?void 0:E.autocomplete}),_=M(()=>{var O;return(O=t.disabled)!==null&&O!==void 0?O:o.value}),w=M(()=>{var O;return(O=t.csp)!==null&&O!==void 0?O:r.csp}),I=M(()=>{var O,P;return(O=t.wave)!==null&&O!==void 0?O:(P=r.wave)===null||P===void 0?void 0:P.value});return{configProvider:r,prefixCls:i,direction:a,size:$,getTargetContainer:m,getPopupContainer:v,space:d,pageHeader:f,form:h,autoInsertSpaceInButton:c,renderEmpty:u,virtual:b,dropdownMatchSelectWidth:y,rootPrefixCls:s,getPrefixCls:r.getPrefixCls,autocomplete:x,csp:w,iconPrefixCls:l,disabled:_,select:r.select,wave:I}};function _t(e,t){const n=S({},e);for(let o=0;o<t.length;o+=1){const r=t[o];delete n[r]}return n}const soe=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},coe=pt("Affix",e=>{const t=nt(e,{zIndexPopup:e.zIndexBase+10});return[soe(t)]});function uoe(){return typeof window<"u"?window:null}var Qu;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(Qu||(Qu={}));const doe=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:uoe},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),foe=pe({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:doe(),setup(e,t){let{slots:n,emit:o,expose:r,attrs:i}=t;const a=ve(),l=ve(),s=St({affixStyle:void 0,placeholderStyle:void 0,status:Qu.None,lastAffix:!1,prevTarget:null,timeout:null}),c=Nn(),u=M(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),d=M(()=>e.offsetBottom),f=()=>{const{status:x,lastAffix:_}=s,{target:w}=e;if(x!==Qu.Prepare||!l.value||!a.value||!w)return;const I=w();if(!I)return;const O={status:Qu.None},P=dv(a.value);if(P.top===0&&P.left===0&&P.width===0&&P.height===0)return;const E=dv(I),R=c3(P,E,u.value),A=u3(P,E,d.value);if(!(P.top===0&&P.left===0&&P.width===0&&P.height===0)){if(R!==void 0){const N=`${P.width}px`,F=`${P.height}px`;O.affixStyle={position:"fixed",top:R,width:N,height:F},O.placeholderStyle={width:N,height:F}}else if(A!==void 0){const N=`${P.width}px`,F=`${P.height}px`;O.affixStyle={position:"fixed",bottom:A,width:N,height:F},O.placeholderStyle={width:N,height:F}}O.lastAffix=!!O.affixStyle,_!==O.lastAffix&&o("change",O.lastAffix),S(s,O)}},h=()=>{S(s,{status:Qu.Prepare,affixStyle:void 0,placeholderStyle:void 0})},m=V$(()=>{h()}),v=V$(()=>{const{target:x}=e,{affixStyle:_}=s;if(x&&_){const w=x();if(w&&a.value){const I=dv(w),O=dv(a.value),P=c3(O,I,u.value),E=u3(O,I,d.value);if(P!==void 0&&_.top===P||E!==void 0&&_.bottom===E)return}}h()});r({updatePosition:m,lazyUpdatePosition:v}),Ie(()=>e.target,x=>{const _=(x==null?void 0:x())||null;s.prevTarget!==_&&(f3(c),_&&(d3(_,c),m()),s.prevTarget=_)}),Ie(()=>[e.offsetTop,e.offsetBottom],m),lt(()=>{const{target:x}=e;x&&(s.timeout=setTimeout(()=>{d3(x(),c),m()}))}),fr(()=>{f()}),Fo(()=>{clearTimeout(s.timeout),f3(c),m.cancel(),v.cancel()});const{prefixCls:y}=Ve("affix",e),[b,$]=coe(y);return()=>{var x;const{affixStyle:_,placeholderStyle:w,status:I}=s,O=me({[y.value]:_,[$.value]:!0}),P=_t(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return b(g(ki,{onResize:m},{default:()=>[g("div",V(V(V({},P),i),{},{ref:a,"data-measure-status":I}),[_&&g("div",{style:w,"aria-hidden":"true"},null),g("div",{class:O,ref:l,style:_},[(x=n.default)===null||x===void 0?void 0:x.call(n)])])]}))}}}),R7=$n(foe);function E3(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function A3(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function US(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return A3(n.overflowY,t)||A3(n.overflowX,t)||function(o){var r=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}}(o);return!!r&&(r.clientHeight<o.scrollHeight||r.clientWidth<o.scrollWidth)}(e)}return!1}function yv(e,t,n,o,r,i,a,l){return i<e&&a>t||i>e&&a<t?0:i<=e&&l<=n||a>=t&&l>=n?i-e-o:a>t&&l<n||i<e&&l>n?a-t+r:0}var M3=function(e,t){var n=window,o=t.scrollMode,r=t.block,i=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,s=typeof a=="function"?a:function(j){return j!==a};if(!E3(e))throw new TypeError("Invalid target");for(var c,u,d=document.scrollingElement||document.documentElement,f=[],h=e;E3(h)&&s(h);){if((h=(u=(c=h).parentElement)==null?c.getRootNode().host||null:u)===d){f.push(h);break}h!=null&&h===document.body&&US(h)&&!US(document.documentElement)||h!=null&&US(h,l)&&f.push(h)}for(var m=n.visualViewport?n.visualViewport.width:innerWidth,v=n.visualViewport?n.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,$=e.getBoundingClientRect(),x=$.height,_=$.width,w=$.top,I=$.right,O=$.bottom,P=$.left,E=r==="start"||r==="nearest"?w:r==="end"?O:w+x/2,R=i==="center"?P+_/2:i==="end"?I:P,A=[],N=0;N<f.length;N++){var F=f[N],W=F.getBoundingClientRect(),D=W.height,B=W.width,k=W.top,L=W.right,z=W.bottom,K=W.left;if(o==="if-needed"&&w>=0&&P>=0&&O<=v&&I<=m&&w>=k&&O<=z&&P>=K&&I<=L)return A;var G=getComputedStyle(F),Y=parseInt(G.borderLeftWidth,10),ne=parseInt(G.borderTopWidth,10),re=parseInt(G.borderRightWidth,10),J=parseInt(G.borderBottomWidth,10),te=0,ee=0,fe="offsetWidth"in F?F.offsetWidth-F.clientWidth-Y-re:0,ie="offsetHeight"in F?F.offsetHeight-F.clientHeight-ne-J:0,X="offsetWidth"in F?F.offsetWidth===0?0:B/F.offsetWidth:0,ue="offsetHeight"in F?F.offsetHeight===0?0:D/F.offsetHeight:0;if(d===F)te=r==="start"?E:r==="end"?E-v:r==="nearest"?yv(b,b+v,v,ne,J,b+E,b+E+x,x):E-v/2,ee=i==="start"?R:i==="center"?R-m/2:i==="end"?R-m:yv(y,y+m,m,Y,re,y+R,y+R+_,_),te=Math.max(0,te+b),ee=Math.max(0,ee+y);else{te=r==="start"?E-k-ne:r==="end"?E-z+J+ie:r==="nearest"?yv(k,z,D,ne,J+ie,E,E+x,x):E-(k+D/2)+ie/2,ee=i==="start"?R-K-Y:i==="center"?R-(K+B/2)+fe/2:i==="end"?R-L+re+fe:yv(K,L,B,Y,re+fe,R,R+_,_);var ye=F.scrollLeft,H=F.scrollTop;E+=H-(te=Math.max(0,Math.min(H+te/ue,F.scrollHeight-D/ue+ie))),R+=ye-(ee=Math.max(0,Math.min(ye+ee/X,F.scrollWidth-B/X+fe)))}A.push({el:F,top:te,left:ee})}return A};function D7(e){return e===Object(e)&&Object.keys(e).length!==0}function poe(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(o){var r=o.el,i=o.top,a=o.left;r.scroll&&n?r.scroll({top:i,left:a,behavior:t}):(r.scrollTop=i,r.scrollLeft=a)})}function hoe(e){return e===!1?{block:"end",inline:"nearest"}:D7(e)?e:{block:"start",inline:"nearest"}}function L7(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(D7(t)&&typeof t.behavior=="function")return t.behavior(n?M3(e,t):[]);if(n){var o=hoe(t);return poe(M3(e,o),o.behavior)}}function goe(e,t,n,o){const r=n-t;return e/=o/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}function nx(e){return e!=null&&e===e.window}function B2(e,t){var n,o;if(typeof window>"u")return 0;const r=t?"scrollTop":"scrollLeft";let i=0;return nx(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[r]:(e instanceof HTMLElement||e)&&(i=e[r]),e&&!nx(e)&&typeof i!="number"&&(i=(o=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||o===void 0?void 0:o[r]),i}function F2(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:o,duration:r=450}=t,i=n(),a=B2(i,!0),l=Date.now(),s=()=>{const u=Date.now()-l,d=goe(u>r?r:u,a,e,r);nx(i)?i.scrollTo(window.pageXOffset,d):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=d:i.scrollTop=d,u<r?mt(s):typeof o=="function"&&o()};mt(s)}function Sv(){}const N7=Symbol("anchorContextKey"),voe=e=>{ft(N7,e)},moe=()=>it(N7,{registerLink:Sv,unregisterLink:Sv,scrollTo:Sv,activeLink:M(()=>""),handleClick:Sv,direction:M(()=>"vertical")}),boe=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:o,lineWidthBold:r,colorPrimary:i,lineType:a,colorSplit:l}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:S(S({},vt(e)),{position:"relative",paddingInlineStart:r,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":S(S({},eo),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${r}px ${a} ${l}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${o} ease-in-out`,width:r,backgroundColor:i,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},yoe=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:o,colorPrimary:r}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:o,backgroundColor:r}}}}},Soe=pt("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:o,paddingXXS:r}=e,i=nt(e,{holderOffsetBlock:r,anchorPaddingBlock:r,anchorPaddingBlockSecondary:r/2,anchorPaddingInline:o,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[boe(i),yoe(i)]}),Coe=()=>({prefixCls:String,href:String,title:cn(),target:String,customTitleProps:qe()}),H2=pe({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:bt(Coe(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t,r=null;const{handleClick:i,scrollTo:a,unregisterLink:l,registerLink:s,activeLink:c}=moe(),{prefixCls:u}=Ve("anchor",e),d=f=>{const{href:h}=e;i(f,{title:r,href:h}),a(h)};return Ie(()=>e.href,(f,h)=>{wt(()=>{l(h),s(f)})}),lt(()=>{s(e.href)}),Ct(()=>{l(e.href)}),()=>{var f;const{href:h,target:m,title:v=n.title,customTitleProps:y={}}=e,b=u.value;r=typeof v=="function"?v(y):v;const $=c.value===h,x=me(`${b}-link`,{[`${b}-link-active`]:$},o.class),_=me(`${b}-link-title`,{[`${b}-link-title-active`]:$});return g("div",V(V({},o),{},{class:x}),[g("a",{class:_,href:h,title:typeof r=="string"?r:"",target:m,onClick:d},[n.customTitle?n.customTitle(y):r]),(f=n.default)===null||f===void 0?void 0:f.call(n)])}}});function R3(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k7(e,t,n){return t&&R3(e.prototype,t),n&&R3(e,n),e}function sm(){return(sm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function B7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function F7(e,t){if(e==null)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(n=i[o])>=0||(r[n]=e[n]);return r}function D3(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var H7=Object.prototype,z7=H7.toString,$oe=H7.hasOwnProperty,j7=/^\s*function (\w+)/;function L3(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var o=n.toString().match(j7);return o?o[1]:""}return""}var Rc=function(e){var t,n;return D3(e)!==!1&&typeof(t=e.constructor)=="function"&&D3(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},xoe=function(e){return e},Sr=xoe,ah=function(e,t){return $oe.call(e,t)},woe=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Id=Array.isArray||function(e){return z7.call(e)==="[object Array]"},Pd=function(e){return z7.call(e)==="[object Function]"},u0=function(e){return Rc(e)&&ah(e,"_vueTypes_name")},W7=function(e){return Rc(e)&&(ah(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return ah(e,t)}))};function z2(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function qc(e,t,n){var o;n===void 0&&(n=!1);var r=!0,i="";o=Rc(e)?e:{type:e};var a=u0(o)?o._vueTypes_name+" - ":"";if(W7(o)&&o.type!==null){if(o.type===void 0||o.type===!0||!o.required&&t===void 0)return r;Id(o.type)?(r=o.type.some(function(d){return qc(d,t,!0)===!0}),i=o.type.map(function(d){return L3(d)}).join(" or ")):r=(i=L3(o))==="Array"?Id(t):i==="Object"?Rc(t):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(d){if(d==null)return"";var f=d.constructor.toString().match(j7);return f?f[1]:""}(t)===i:t instanceof o.type}if(!r){var l=a+'value "'+t+'" should be of type "'+i+'"';return n===!1?(Sr(l),!1):l}if(ah(o,"validator")&&Pd(o.validator)){var s=Sr,c=[];if(Sr=function(d){c.push(d)},r=o.validator(t),Sr=s,!r){var u=(c.length>1?"* ":"")+c.join(`
+* `);return c.length=0,n===!1?(Sr(u),r):u}}return r}function ui(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(r){return r!==void 0||this.default?Pd(r)||qc(this,r,!0)===!0?(this.default=Id(r)?function(){return[].concat(r)}:Rc(r)?function(){return Object.assign({},r)}:r,this):(Sr(this._vueTypes_name+' - invalid default value: "'+r+'"'),this):this}}}),o=n.validator;return Pd(o)&&(n.validator=z2(o,n)),n}function La(e,t){var n=ui(e,t);return Object.defineProperty(n,"validate",{value:function(o){return Pd(this.validator)&&Sr(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
+`+JSON.stringify(this)),this.validator=z2(o,this),this}})}function N3(e,t,n){var o,r,i=(o=t,r={},Object.getOwnPropertyNames(o).forEach(function(d){r[d]=Object.getOwnPropertyDescriptor(o,d)}),Object.defineProperties({},r));if(i._vueTypes_name=e,!Rc(n))return i;var a,l,s=n.validator,c=F7(n,["validator"]);if(Pd(s)){var u=i.validator;u&&(u=(l=(a=u).__original)!==null&&l!==void 0?l:a),i.validator=z2(u?function(d){return u.call(this,d)&&s.call(this,d)}:s,i)}return Object.assign(i,c)}function Kb(e){return e.replace(/^(?!\s*$)/gm," ")}var _oe=function(){return La("any",{})},Ooe=function(){return La("function",{type:Function})},Ioe=function(){return La("boolean",{type:Boolean})},Poe=function(){return La("string",{type:String})},Toe=function(){return La("number",{type:Number})},Eoe=function(){return La("array",{type:Array})},Aoe=function(){return La("object",{type:Object})},Moe=function(){return ui("integer",{type:Number,validator:function(e){return woe(e)}})},Roe=function(){return ui("symbol",{validator:function(e){return typeof e=="symbol"}})};function Doe(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return ui(e.name||"<<anonymous function>>",{validator:function(n){var o=e(n);return o||Sr(this._vueTypes_name+" - "+t),o}})}function Loe(e){if(!Id(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(o,r){if(r!=null){var i=r.constructor;o.indexOf(i)===-1&&o.push(i)}return o},[]);return ui("oneOf",{type:n.length>0?n:void 0,validator:function(o){var r=e.indexOf(o)!==-1;return r||Sr(t),r}})}function Noe(e){if(!Id(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],o=0;o<e.length;o+=1){var r=e[o];if(W7(r)){if(u0(r)&&r._vueTypes_name==="oneOf"){n=n.concat(r.type);continue}if(Pd(r.validator)&&(t=!0),r.type!==!0&&r.type){n=n.concat(r.type);continue}}n.push(r)}return n=n.filter(function(i,a){return n.indexOf(i)===a}),ui("oneOfType",t?{type:n,validator:function(i){var a=[],l=e.some(function(s){var c=qc(u0(s)&&s._vueTypes_name==="oneOf"?s.type||null:s,i,!0);return typeof c=="string"&&a.push(c),c===!0});return l||Sr("oneOfType - provided value does not match any of the "+a.length+` passed-in validators:
+`+Kb(a.join(`
+`))),l}}:{type:n})}function koe(e){return ui("arrayOf",{type:Array,validator:function(t){var n,o=t.every(function(r){return(n=qc(e,r,!0))===!0});return o||Sr(`arrayOf - value validation error:
+`+Kb(n)),o}})}function Boe(e){return ui("instanceOf",{type:e})}function Foe(e){return ui("objectOf",{type:Object,validator:function(t){var n,o=Object.keys(t).every(function(r){return(n=qc(e,t[r],!0))===!0});return o||Sr(`objectOf - value validation error:
+`+Kb(n)),o}})}function Hoe(e){var t=Object.keys(e),n=t.filter(function(r){var i;return!!(!((i=e[r])===null||i===void 0)&&i.required)}),o=ui("shape",{type:Object,validator:function(r){var i=this;if(!Rc(r))return!1;var a=Object.keys(r);if(n.length>0&&n.some(function(s){return a.indexOf(s)===-1})){var l=n.filter(function(s){return a.indexOf(s)===-1});return Sr(l.length===1?'shape - required property "'+l[0]+'" is not defined.':'shape - required properties "'+l.join('", "')+'" are not defined.'),!1}return a.every(function(s){if(t.indexOf(s)===-1)return i._vueTypes_isLoose===!0||(Sr('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var c=qc(e[s],r[s],!0);return typeof c=="string"&&Sr('shape - "'+s+`" property validation error:
+ `+Kb(c)),c===!0})}});return Object.defineProperty(o,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(o,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),o}var Ca=function(){function e(){}return e.extend=function(t){var n=this;if(Id(t))return t.forEach(function(d){return n.extend(d)}),this;var o=t.name,r=t.validate,i=r!==void 0&&r,a=t.getter,l=a!==void 0&&a,s=F7(t,["name","validate","getter"]);if(ah(this,o))throw new TypeError('[VueTypes error]: Type "'+o+'" already defined');var c,u=s.type;return u0(u)?(delete s.type,Object.defineProperty(this,o,l?{get:function(){return N3(o,u,s)}}:{value:function(){var d,f=N3(o,u,s);return f.validator&&(f.validator=(d=f.validator).bind.apply(d,[f].concat([].slice.call(arguments)))),f}})):(c=l?{get:function(){var d=Object.assign({},s);return i?La(o,d):ui(o,d)},enumerable:!0}:{value:function(){var d,f,h=Object.assign({},s);return d=i?La(o,h):ui(o,h),h.validator&&(d.validator=(f=h.validator).bind.apply(f,[d].concat([].slice.call(arguments)))),d},enumerable:!0},Object.defineProperty(this,o,c))},k7(e,null,[{key:"any",get:function(){return _oe()}},{key:"func",get:function(){return Ooe().def(this.defaults.func)}},{key:"bool",get:function(){return Ioe().def(this.defaults.bool)}},{key:"string",get:function(){return Poe().def(this.defaults.string)}},{key:"number",get:function(){return Toe().def(this.defaults.number)}},{key:"array",get:function(){return Eoe().def(this.defaults.array)}},{key:"object",get:function(){return Aoe().def(this.defaults.object)}},{key:"integer",get:function(){return Moe().def(this.defaults.integer)}},{key:"symbol",get:function(){return Roe()}}]),e}();function V7(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function o(){return n.apply(this,arguments)||this}return B7(o,n),k7(o,null,[{key:"sensibleDefaults",get:function(){return sm({},this.defaults)},set:function(r){this.defaults=r!==!1?sm({},r!==!0?r:e):{}}}]),o}(Ca)).defaults=sm({},e),t}Ca.defaults={},Ca.custom=Doe,Ca.oneOf=Loe,Ca.instanceOf=Boe,Ca.oneOfType=Noe,Ca.arrayOf=koe,Ca.objectOf=Foe,Ca.shape=Hoe,Ca.utils={validate:function(e,t){return qc(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?La(e,t):ui(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return B7(t,e),t})(V7());const Z=V7({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});Z.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function K7(e){return e.default=void 0,e}const pn=(e,t,n)=>{Hb(e,`[ant-design-vue: ${t}] ${n}`)};function zoe(){return window}function k3(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}const B3=/#([\S ]+)$/,joe=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:kt(),direction:Z.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),fc=pe({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:joe(),setup(e,t){let{emit:n,attrs:o,slots:r,expose:i}=t;const{prefixCls:a,getTargetContainer:l,direction:s}=Ve("anchor",e),c=M(()=>{var O;return(O=e.direction)!==null&&O!==void 0?O:"vertical"}),u=he(null),d=he(),f=St({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),h=he(null),m=M(()=>{const{getContainer:O}=e;return O||(l==null?void 0:l.value)||zoe}),v=function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const E=[],R=m.value();return f.links.forEach(A=>{const N=B3.exec(A.toString());if(!N)return;const F=document.getElementById(N[1]);if(F){const W=k3(F,R);W<O+P&&E.push({link:A,top:W})}}),E.length?E.reduce((N,F)=>F.top>N.top?F:N).link:""},y=O=>{const{getCurrentAnchor:P}=e;h.value!==O&&(h.value=typeof P=="function"?P(O):O,n("change",O))},b=O=>{const{offsetTop:P,targetOffset:E}=e;y(O);const R=B3.exec(O);if(!R)return;const A=document.getElementById(R[1]);if(!A)return;const N=m.value(),F=B2(N,!0),W=k3(A,N);let D=F+W;D-=E!==void 0?E:P||0,f.animating=!0,F2(D,{callback:()=>{f.animating=!1},getContainer:m.value})};i({scrollTo:b});const $=()=>{if(f.animating)return;const{offsetTop:O,bounds:P,targetOffset:E}=e,R=v(E!==void 0?E:O||0,P);y(R)},x=()=>{const O=d.value.querySelector(`.${a.value}-link-title-active`);if(O&&u.value){const P=c.value==="horizontal";u.value.style.top=P?"":`${O.offsetTop+O.clientHeight/2}px`,u.value.style.height=P?"":`${O.clientHeight}px`,u.value.style.left=P?`${O.offsetLeft}px`:"",u.value.style.width=P?`${O.clientWidth}px`:"",P&&L7(O,{scrollMode:"if-needed",block:"nearest"})}};voe({registerLink:O=>{f.links.includes(O)||f.links.push(O)},unregisterLink:O=>{const P=f.links.indexOf(O);P!==-1&&f.links.splice(P,1)},activeLink:h,scrollTo:b,handleClick:(O,P)=>{n("click",O,P)},direction:c}),lt(()=>{wt(()=>{const O=m.value();f.scrollContainer=O,f.scrollEvent=wn(f.scrollContainer,"scroll",$),$()})}),Ct(()=>{f.scrollEvent&&f.scrollEvent.remove()}),fr(()=>{if(f.scrollEvent){const O=m.value();f.scrollContainer!==O&&(f.scrollContainer=O,f.scrollEvent.remove(),f.scrollEvent=wn(f.scrollContainer,"scroll",$),$())}x()});const _=O=>Array.isArray(O)?O.map(P=>{const{children:E,key:R,href:A,target:N,class:F,style:W,title:D}=P;return g(H2,{key:R,href:A,target:N,class:F,style:W,title:D,customTitleProps:P},{default:()=>[c.value==="vertical"?_(E):null],customTitle:r.customTitle})}):null,[w,I]=Soe(a);return()=>{var O;const{offsetTop:P,affix:E,showInkInFixed:R}=e,A=a.value,N=me(`${A}-ink`,{[`${A}-ink-visible`]:h.value}),F=me(I.value,e.wrapperClass,`${A}-wrapper`,{[`${A}-wrapper-horizontal`]:c.value==="horizontal",[`${A}-rtl`]:s.value==="rtl"}),W=me(A,{[`${A}-fixed`]:!E&&!R}),D=S({maxHeight:P?`calc(100vh - ${P}px)`:"100vh"},e.wrapperStyle),B=g("div",{class:F,style:D,ref:d},[g("div",{class:W},[g("span",{class:N,ref:u},null),Array.isArray(e.items)?_(e.items):(O=r.default)===null||O===void 0?void 0:O.call(r)])]);return w(E?g(R7,V(V({},o),{},{offsetTop:P,target:m.value}),{default:()=>[B]}):B)}}});fc.Link=H2;fc.install=function(e){return e.component(fc.name,fc),e.component(fc.Link.name,fc.Link),e};function F3(e,t){const{key:n}=e;let o;return"value"in e&&({value:o}=e),n??(o!==void 0?o:`rc-index-key-${t}`)}function U7(e,t){const{label:n,value:o,options:r}=e||{};return{label:n||(t?"children":"label"),value:o||"value",options:r||"options"}}function Woe(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=[],{label:r,value:i,options:a}=U7(t,!1);function l(s,c){s.forEach(u=>{const d=u[r];if(c||!(a in u)){const f=u[i];o.push({key:F3(u,o.length),groupOption:c,data:u,label:d,value:f})}else{let f=d;f===void 0&&n&&(f=u.label),o.push({key:F3(u,o.length),group:!0,data:u,label:f}),l(u[a],!0)}})}return l(e,!1),o}function ox(e){const t=S({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function Voe(e,t){if(!t||!t.length)return null;let n=!1;function o(i,a){let[l,...s]=a;if(!l)return[i];const c=i.split(l);return n=n||c.length>1,c.reduce((u,d)=>[...u,...o(d,s)],[]).filter(u=>u)}const r=o(e,t);return n?r:null}function Koe(){return""}function Uoe(e){return e?e.ownerDocument:window.document}function G7(){}const Y7=()=>({action:Z.oneOfType([Z.string,Z.arrayOf(Z.string)]).def([]),showAction:Z.any.def([]),hideAction:Z.any.def([]),getPopupClassNameFromAlign:Z.any.def(Koe),onPopupVisibleChange:Function,afterPopupVisibleChange:Z.func.def(G7),popup:Z.any,popupStyle:{type:Object,default:void 0},prefixCls:Z.string.def("rc-trigger-popup"),popupClassName:Z.string.def(""),popupPlacement:String,builtinPlacements:Z.object,popupTransitionName:String,popupAnimation:Z.any,mouseEnterDelay:Z.number.def(0),mouseLeaveDelay:Z.number.def(.1),zIndex:Number,focusDelay:Z.number.def(0),blurDelay:Z.number.def(.15),getPopupContainer:Function,getDocument:Z.func.def(Uoe),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:Z.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),j2={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},Goe=S(S({},j2),{mobile:{type:Object}}),Yoe=S(S({},j2),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function W2(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function X7(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:i,maskTransitionName:a}=e;if(!r)return null;let l={};return(a||i)&&(l=W2({prefixCls:t,transitionName:a,animation:i})),g(so,V({appear:!0},l),{default:()=>[Ln(g("div",{style:{zIndex:o},class:`${t}-mask`},null),[[RQ("if"),n]])]})}X7.displayName="Mask";const Xoe=pe({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Goe,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=he();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var i;const{zIndex:a,visible:l,prefixCls:s,mobile:{popupClassName:c,popupStyle:u,popupMotion:d={},popupRender:f}={}}=e,h=S({zIndex:a},u);let m=ln((i=o.default)===null||i===void 0?void 0:i.call(o));m.length>1&&(m=g("div",{class:`${s}-content`},[m])),f&&(m=f(m));const v=me(s,c);return g(so,V({ref:r},d),{default:()=>[l?g("div",{class:v,style:h},[m]):null]})}}});var qoe=function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(u){try{c(o.next(u))}catch(d){a(d)}}function s(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(l,s)}c((o=o.apply(e,t||[])).next())})};const H3=["measure","align",null,"motion"],Zoe=(e,t)=>{const n=ve(null),o=ve(),r=ve(!1);function i(s){r.value||(n.value=s)}function a(){mt.cancel(o.value)}function l(s){a(),o.value=mt(()=>{let c=n.value;switch(n.value){case"align":c="motion";break;case"motion":c="stable";break}i(c),s==null||s()})}return Ie(e,()=>{i("measure")},{immediate:!0,flush:"post"}),lt(()=>{Ie(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=mt(()=>qoe(void 0,void 0,void 0,function*(){const s=H3.indexOf(n.value),c=H3[s+1];c&&s!==-1&&i(c)})))},{immediate:!0,flush:"post"})}),Ct(()=>{r.value=!0,a()}),[n,l]},Qoe=e=>{const t=ve({width:0,height:0});function n(r){t.value={width:r.offsetWidth,height:r.offsetHeight}}return[M(()=>{const r={};if(e.value){const{width:i,height:a}=t.value;e.value.indexOf("height")!==-1&&a?r.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(r.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&i?r.width=`${i}px`:e.value.indexOf("minWidth")!==-1&&i&&(r.minWidth=`${i}px`)}return r}),n]};function z3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function j3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z3(Object(n),!0).forEach(function(o){Joe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z3(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function rx(e){"@babel/helpers - typeof";return rx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rx(e)}function Joe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wf,ere={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function d0(){if(Wf!==void 0)return Wf;Wf="";var e=document.createElement("p").style,t="Transform";for(var n in ere)n+t in e&&(Wf=n);return Wf}function q7(){return d0()?"".concat(d0(),"TransitionProperty"):"transitionProperty"}function Ub(){return d0()?"".concat(d0(),"Transform"):"transform"}function W3(e,t){var n=q7();n&&(e.style[n]=t,n!=="transitionProperty"&&(e.style.transitionProperty=t))}function GS(e,t){var n=Ub();n&&(e.style[n]=t,n!=="transform"&&(e.style.transform=t))}function tre(e){return e.style.transitionProperty||e.style[q7()]}function nre(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(Ub());if(n&&n!=="none"){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}var ore=/matrix\((.*)\)/,rre=/matrix3d\((.*)\)/;function ire(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(Ub());if(o&&o!=="none"){var r,i=o.match(ore);if(i)i=i[1],r=i.split(",").map(function(l){return parseFloat(l,10)}),r[4]=t.x,r[5]=t.y,GS(e,"matrix(".concat(r.join(","),")"));else{var a=o.match(rre)[1];r=a.split(",").map(function(l){return parseFloat(l,10)}),r[12]=t.x,r[13]=t.y,GS(e,"matrix3d(".concat(r.join(","),")"))}}else GS(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var are=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,Bh;function V3(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function sd(e,t,n){var o=n;if(rx(t)==="object"){for(var r in t)t.hasOwnProperty(r)&&sd(e,r,t[r]);return}if(typeof o<"u"){typeof o=="number"&&(o="".concat(o,"px")),e.style[t]=o;return}return Bh(e,t)}function lre(e){var t,n,o,r=e.ownerDocument,i=r.body,a=r&&r.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),o=Math.floor(t.top),n-=a.clientLeft||i.clientLeft||0,o-=a.clientTop||i.clientTop||0,{left:n,top:o}}function Z7(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function Q7(e){return Z7(e)}function J7(e){return Z7(e,!0)}function lh(e){var t=lre(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=Q7(o),t.top+=J7(o),t}function V2(e){return e!=null&&e==e.window}function ek(e){return V2(e)?e.document:e.nodeType===9?e:e.ownerDocument}function sre(e,t,n){var o=n,r="",i=ek(e);return o=o||i.defaultView.getComputedStyle(e,null),o&&(r=o.getPropertyValue(t)||o[t]),r}var cre=new RegExp("^(".concat(are,")(?!px)[a-z%]+$"),"i"),ure=/^(top|right|bottom|left)$/,YS="currentStyle",XS="runtimeStyle",Qs="left",dre="px";function fre(e,t){var n=e[YS]&&e[YS][t];if(cre.test(n)&&!ure.test(t)){var o=e.style,r=o[Qs],i=e[XS][Qs];e[XS][Qs]=e[YS][Qs],o[Qs]=t==="fontSize"?"1em":n||0,n=o.pixelLeft+dre,o[Qs]=r,e[XS][Qs]=i}return n===""?"auto":n}typeof window<"u"&&(Bh=window.getComputedStyle?sre:fre);function Cv(e,t){return e==="left"?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function K3(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function U3(e,t,n){sd(e,"position")==="static"&&(e.style.position="relative");var o=-999,r=-999,i=Cv("left",n),a=Cv("top",n),l=K3(i),s=K3(a);i!=="left"&&(o=999),a!=="top"&&(r=999);var c="",u=lh(e);("left"in t||"top"in t)&&(c=tre(e)||"",W3(e,"none")),"left"in t&&(e.style[l]="",e.style[i]="".concat(o,"px")),"top"in t&&(e.style[s]="",e.style[a]="".concat(r,"px")),V3(e);var d=lh(e),f={};for(var h in t)if(t.hasOwnProperty(h)){var m=Cv(h,n),v=h==="left"?o:r,y=u[h]-d[h];m===h?f[m]=v+y:f[m]=v-y}sd(e,f),V3(e),("left"in t||"top"in t)&&W3(e,c);var b={};for(var $ in t)if(t.hasOwnProperty($)){var x=Cv($,n),_=t[$]-u[$];$===x?b[x]=f[x]+_:b[x]=f[x]-_}sd(e,b)}function pre(e,t){var n=lh(e),o=nre(e),r={x:o.x,y:o.y};"left"in t&&(r.x=o.x+t.left-n.left),"top"in t&&(r.y=o.y+t.top-n.top),ire(e,r)}function hre(e,t,n){if(n.ignoreShake){var o=lh(e),r=o.left.toFixed(0),i=o.top.toFixed(0),a=t.left.toFixed(0),l=t.top.toFixed(0);if(r===a&&i===l)return}n.useCssRight||n.useCssBottom?U3(e,t,n):n.useCssTransform&&Ub()in document.body.style?pre(e,t):U3(e,t,n)}function K2(e,t){for(var n=0;n<e.length;n++)t(e[n])}function tk(e){return Bh(e,"boxSizing")==="border-box"}var gre=["margin","border","padding"],ix=-1,vre=2,ax=1,mre=0;function bre(e,t,n){var o={},r=e.style,i;for(i in t)t.hasOwnProperty(i)&&(o[i]=r[i],r[i]=t[i]);n.call(e);for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i])}function np(e,t,n){var o=0,r,i,a;for(i=0;i<t.length;i++)if(r=t[i],r)for(a=0;a<n.length;a++){var l=void 0;r==="border"?l="".concat(r).concat(n[a],"Width"):l=r+n[a],o+=parseFloat(Bh(e,l))||0}return o}var Ia={getParent:function(t){var n=t;do n.nodeType===11&&n.host?n=n.host:n=n.parentNode;while(n&&n.nodeType!==1&&n.nodeType!==9);return n}};K2(["Width","Height"],function(e){Ia["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Ia["viewport".concat(e)](n))},Ia["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,r=o.body,i=o.documentElement,a=i[n];return o.compatMode==="CSS1Compat"&&a||r&&r[n]||a}});function G3(e,t,n){var o=n;if(V2(e))return t==="width"?Ia.viewportWidth(e):Ia.viewportHeight(e);if(e.nodeType===9)return t==="width"?Ia.docWidth(e):Ia.docHeight(e);var r=t==="width"?["Left","Right"]:["Top","Bottom"],i=Math.floor(t==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),a=tk(e),l=0;(i==null||i<=0)&&(i=void 0,l=Bh(e,t),(l==null||Number(l)<0)&&(l=e.style[t]||0),l=Math.floor(parseFloat(l))||0),o===void 0&&(o=a?ax:ix);var s=i!==void 0||a,c=i||l;return o===ix?s?c-np(e,["border","padding"],r):l:s?o===ax?c:c+(o===vre?-np(e,["border"],r):np(e,["margin"],r)):l+np(e,gre.slice(o),r)}var yre={position:"absolute",visibility:"hidden",display:"block"};function Y3(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t[0];return r.offsetWidth!==0?o=G3.apply(void 0,t):bre(r,yre,function(){o=G3.apply(void 0,t)}),o}K2(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Ia["outer".concat(t)]=function(o,r){return o&&Y3(o,e,r?mre:ax)};var n=e==="width"?["Left","Right"]:["Top","Bottom"];Ia[e]=function(o,r){var i=r;if(i!==void 0){if(o){var a=tk(o);return a&&(i+=np(o,["padding","border"],n)),sd(o,e,i)}return}return o&&Y3(o,e,ix)}});function nk(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var Vt={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var n=t.ownerDocument||t;return n.defaultView||n.parentWindow},getDocument:ek,offset:function(t,n,o){if(typeof n<"u")hre(t,n,o||{});else return lh(t)},isWindow:V2,each:K2,css:sd,clone:function(t){var n,o={};for(n in t)t.hasOwnProperty(n)&&(o[n]=t[n]);var r=t.overflow;if(r)for(n in t)t.hasOwnProperty(n)&&(o.overflow[n]=t.overflow[n]);return o},mix:nk,getWindowScrollLeft:function(t){return Q7(t)},getWindowScrollTop:function(t){return J7(t)},merge:function(){for(var t={},n=0;n<arguments.length;n++)Vt.mix(t,n<0||arguments.length<=n?void 0:arguments[n]);return t},viewportWidth:0,viewportHeight:0};nk(Vt,Ia);var qS=Vt.getParent;function lx(e){if(Vt.isWindow(e)||e.nodeType===9)return null;var t=Vt.getDocument(e),n=t.body,o,r=Vt.css(e,"position"),i=r==="fixed"||r==="absolute";if(!i)return e.nodeName.toLowerCase()==="html"?null:qS(e);for(o=qS(e);o&&o!==n&&o.nodeType!==9;o=qS(o))if(r=Vt.css(o,"position"),r!=="static")return o;return null}var X3=Vt.getParent;function Sre(e){if(Vt.isWindow(e)||e.nodeType===9)return!1;var t=Vt.getDocument(e),n=t.body,o=null;for(o=X3(e);o&&o!==n&&o!==t;o=X3(o)){var r=Vt.css(o,"position");if(r==="fixed")return!0}return!1}function U2(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=lx(e),r=Vt.getDocument(e),i=r.defaultView||r.parentWindow,a=r.body,l=r.documentElement;o;){if((navigator.userAgent.indexOf("MSIE")===-1||o.clientWidth!==0)&&o!==a&&o!==l&&Vt.css(o,"overflow")!=="visible"){var s=Vt.offset(o);s.left+=o.clientLeft,s.top+=o.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+o.clientWidth),n.bottom=Math.min(n.bottom,s.top+o.clientHeight),n.left=Math.max(n.left,s.left)}else if(o===a||o===l)break;o=lx(o)}var c=null;if(!Vt.isWindow(e)&&e.nodeType!==9){c=e.style.position;var u=Vt.css(e,"position");u==="absolute"&&(e.style.position="fixed")}var d=Vt.getWindowScrollLeft(i),f=Vt.getWindowScrollTop(i),h=Vt.viewportWidth(i),m=Vt.viewportHeight(i),v=l.scrollWidth,y=l.scrollHeight,b=window.getComputedStyle(a);if(b.overflowX==="hidden"&&(v=i.innerWidth),b.overflowY==="hidden"&&(y=i.innerHeight),e.style&&(e.style.position=c),t||Sre(e))n.left=Math.max(n.left,d),n.top=Math.max(n.top,f),n.right=Math.min(n.right,d+h),n.bottom=Math.min(n.bottom,f+m);else{var $=Math.max(v,d+h);n.right=Math.min(n.right,$);var x=Math.max(y,f+m);n.bottom=Math.min(n.bottom,x)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Cre(e,t,n,o){var r=Vt.clone(e),i={width:t.width,height:t.height};return o.adjustX&&r.left<n.left&&(r.left=n.left),o.resizeWidth&&r.left>=n.left&&r.left+i.width>n.right&&(i.width-=r.left+i.width-n.right),o.adjustX&&r.left+i.width>n.right&&(r.left=Math.max(n.right-i.width,n.left)),o.adjustY&&r.top<n.top&&(r.top=n.top),o.resizeHeight&&r.top>=n.top&&r.top+i.height>n.bottom&&(i.height-=r.top+i.height-n.bottom),o.adjustY&&r.top+i.height>n.bottom&&(r.top=Math.max(n.bottom-i.height,n.top)),Vt.mix(r,i)}function G2(e){var t,n,o;if(!Vt.isWindow(e)&&e.nodeType!==9)t=Vt.offset(e),n=Vt.outerWidth(e),o=Vt.outerHeight(e);else{var r=Vt.getWindow(e);t={left:Vt.getWindowScrollLeft(r),top:Vt.getWindowScrollTop(r)},n=Vt.viewportWidth(r),o=Vt.viewportHeight(r)}return t.width=n,t.height=o,t}function q3(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,a=e.left,l=e.top;return n==="c"?l+=i/2:n==="b"&&(l+=i),o==="c"?a+=r/2:o==="r"&&(a+=r),{left:a,top:l}}function $v(e,t,n,o,r){var i=q3(t,n[1]),a=q3(e,n[0]),l=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-l[0]+o[0]-r[0]),top:Math.round(e.top-l[1]+o[1]-r[1])}}function Z3(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Q3(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function $re(e,t,n){return e.left>n.right||e.left+t.width<n.left}function xre(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function xv(e,t,n){var o=[];return Vt.each(e,function(r){o.push(r.replace(t,function(i){return n[i]}))}),o}function wv(e,t){return e[t]=-e[t],e}function J3(e,t){var n;return/%$/.test(e)?n=parseInt(e.substring(0,e.length-1),10)/100*t:n=parseInt(e,10),n||0}function eA(e,t){e[0]=J3(e[0],t.width),e[1]=J3(e[1],t.height)}function ok(e,t,n,o){var r=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],l=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a),l=l||{};var c={},u=0,d=!!(l&&l.alwaysByViewport),f=U2(s,d),h=G2(s);eA(i,h),eA(a,t);var m=$v(h,t,r,i,a),v=Vt.merge(h,m);if(f&&(l.adjustX||l.adjustY)&&o){if(l.adjustX&&Z3(m,h,f)){var y=xv(r,/[lr]/gi,{l:"r",r:"l"}),b=wv(i,0),$=wv(a,0),x=$v(h,t,y,b,$);$re(x,h,f)||(u=1,r=y,i=b,a=$)}if(l.adjustY&&Q3(m,h,f)){var _=xv(r,/[tb]/gi,{t:"b",b:"t"}),w=wv(i,1),I=wv(a,1),O=$v(h,t,_,w,I);xre(O,h,f)||(u=1,r=_,i=w,a=I)}u&&(m=$v(h,t,r,i,a),Vt.mix(v,m));var P=Z3(m,h,f),E=Q3(m,h,f);if(P||E){var R=r;P&&(R=xv(r,/[lr]/gi,{l:"r",r:"l"})),E&&(R=xv(r,/[tb]/gi,{t:"b",b:"t"})),r=R,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=l.adjustX&&P,c.adjustY=l.adjustY&&E,(c.adjustX||c.adjustY)&&(v=Cre(m,h,f,c))}return v.width!==h.width&&Vt.css(s,"width",Vt.width(s)+v.width-h.width),v.height!==h.height&&Vt.css(s,"height",Vt.height(s)+v.height-h.height),Vt.offset(s,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:c}}function wre(e,t){var n=U2(e,t),o=G2(e);return!n||o.left+o.width<=n.left||o.top+o.height<=n.top||o.left>=n.right||o.top>=n.bottom}function Y2(e,t,n){var o=n.target||t,r=G2(o),i=!wre(o,n.overflow&&n.overflow.alwaysByViewport);return ok(e,r,n,i)}Y2.__getOffsetParent=lx;Y2.__getVisibleRectForElement=U2;function _re(e,t,n){var o,r,i=Vt.getDocument(e),a=i.defaultView||i.parentWindow,l=Vt.getWindowScrollLeft(a),s=Vt.getWindowScrollTop(a),c=Vt.viewportWidth(a),u=Vt.viewportHeight(a);"pageX"in t?o=t.pageX:o=l+t.clientX,"pageY"in t?r=t.pageY:r=s+t.clientY;var d={left:o,top:r,width:0,height:0},f=o>=0&&o<=l+c&&r>=0&&r<=s+u,h=[n.points[0],"cc"];return ok(e,d,j3(j3({},n),{},{points:h}),f)}function Gt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=e;if(Array.isArray(e)&&(r=_n(e)[0]),!r)return null;const i=ko(r,t,o);return i.props=n?S(S({},i.props),t):i.props,Sn(typeof i.props.class!="object"),i}function Ore(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(o=>Gt(o,t,n))}function yp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Array.isArray(e))return e.map(r=>yp(r,t,n,o));{if(!mo(e))return e;const r=Gt(e,t,n,o);return Array.isArray(r.children)&&(r.children=yp(r.children)),r}}function Ire(e,t,n){Ec(ko(e,S({},t)),n)}const rk=e=>(e||[]).some(t=>mo(t)?!(t.type===kr||t.type===Je&&!rk(t.children)):!0)?e:null;function Gb(e,t,n,o){var r;const i=(r=e[t])===null||r===void 0?void 0:r.call(e,n);return rk(i)?i:o==null?void 0:o()}const Yb=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function Pre(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function Tre(e,t){e!==document.activeElement&&ss(t,e)&&typeof e.focus=="function"&&e.focus()}function tA(e,t){let n=null,o=null;function r(a){let[{target:l}]=a;if(!document.documentElement.contains(l))return;const{width:s,height:c}=l.getBoundingClientRect(),u=Math.floor(s),d=Math.floor(c);(n!==u||o!==d)&&Promise.resolve().then(()=>{t({width:u,height:d})}),n=u,o=d}const i=new w2(r);return e&&i.observe(e),()=>{i.disconnect()}}const Ere=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function i(a){if(!n||a===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,i()},t.value)}return[i,()=>{n=!1,r()}]};function Are(){this.__data__=[],this.size=0}function Fh(e,t){return e===t||e!==e&&t!==t}function Xb(e,t){for(var n=e.length;n--;)if(Fh(e[n][0],t))return n;return-1}var Mre=Array.prototype,Rre=Mre.splice;function Dre(e){var t=this.__data__,n=Xb(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Rre.call(t,n,1),--this.size,!0}function Lre(e){var t=this.__data__,n=Xb(t,e);return n<0?void 0:t[n][1]}function Nre(e){return Xb(this.__data__,e)>-1}function kre(e,t){var n=this.__data__,o=Xb(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Il(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Il.prototype.clear=Are;Il.prototype.delete=Dre;Il.prototype.get=Lre;Il.prototype.has=Nre;Il.prototype.set=kre;function Bre(){this.__data__=new Il,this.size=0}function Fre(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Hre(e){return this.__data__.get(e)}function zre(e){return this.__data__.has(e)}var ik=typeof global=="object"&&global&&global.Object===Object&&global,jre=typeof self=="object"&&self&&self.Object===Object&&self,ua=ik||jre||Function("return this")(),Fi=ua.Symbol,ak=Object.prototype,Wre=ak.hasOwnProperty,Vre=ak.toString,Vf=Fi?Fi.toStringTag:void 0;function Kre(e){var t=Wre.call(e,Vf),n=e[Vf];try{e[Vf]=void 0;var o=!0}catch{}var r=Vre.call(e);return o&&(t?e[Vf]=n:delete e[Vf]),r}var Ure=Object.prototype,Gre=Ure.toString;function Yre(e){return Gre.call(e)}var Xre="[object Null]",qre="[object Undefined]",nA=Fi?Fi.toStringTag:void 0;function Es(e){return e==null?e===void 0?qre:Xre:nA&&nA in Object(e)?Kre(e):Yre(e)}function Wr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Zre="[object AsyncFunction]",Qre="[object Function]",Jre="[object GeneratorFunction]",eie="[object Proxy]";function X2(e){if(!Wr(e))return!1;var t=Es(e);return t==Qre||t==Jre||t==Zre||t==eie}var ZS=ua["__core-js_shared__"],oA=function(){var e=/[^.]+$/.exec(ZS&&ZS.keys&&ZS.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tie(e){return!!oA&&oA in e}var nie=Function.prototype,oie=nie.toString;function Zc(e){if(e!=null){try{return oie.call(e)}catch{}try{return e+""}catch{}}return""}var rie=/[\\^$.*+?()[\]{}|]/g,iie=/^\[object .+?Constructor\]$/,aie=Function.prototype,lie=Object.prototype,sie=aie.toString,cie=lie.hasOwnProperty,uie=RegExp("^"+sie.call(cie).replace(rie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function die(e){if(!Wr(e)||tie(e))return!1;var t=X2(e)?uie:iie;return t.test(Zc(e))}function fie(e,t){return e==null?void 0:e[t]}function Qc(e,t){var n=fie(e,t);return die(n)?n:void 0}var sh=Qc(ua,"Map"),ch=Qc(Object,"create");function pie(){this.__data__=ch?ch(null):{},this.size=0}function hie(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gie="__lodash_hash_undefined__",vie=Object.prototype,mie=vie.hasOwnProperty;function bie(e){var t=this.__data__;if(ch){var n=t[e];return n===gie?void 0:n}return mie.call(t,e)?t[e]:void 0}var yie=Object.prototype,Sie=yie.hasOwnProperty;function Cie(e){var t=this.__data__;return ch?t[e]!==void 0:Sie.call(t,e)}var $ie="__lodash_hash_undefined__";function xie(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ch&&t===void 0?$ie:t,this}function Dc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Dc.prototype.clear=pie;Dc.prototype.delete=hie;Dc.prototype.get=bie;Dc.prototype.has=Cie;Dc.prototype.set=xie;function wie(){this.size=0,this.__data__={hash:new Dc,map:new(sh||Il),string:new Dc}}function _ie(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qb(e,t){var n=e.__data__;return _ie(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Oie(e){var t=qb(this,e).delete(e);return this.size-=t?1:0,t}function Iie(e){return qb(this,e).get(e)}function Pie(e){return qb(this,e).has(e)}function Tie(e,t){var n=qb(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function Pl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Pl.prototype.clear=wie;Pl.prototype.delete=Oie;Pl.prototype.get=Iie;Pl.prototype.has=Pie;Pl.prototype.set=Tie;var Eie=200;function Aie(e,t){var n=this.__data__;if(n instanceof Il){var o=n.__data__;if(!sh||o.length<Eie-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pl(o)}return n.set(e,t),this.size=n.size,this}function ia(e){var t=this.__data__=new Il(e);this.size=t.size}ia.prototype.clear=Bre;ia.prototype.delete=Fre;ia.prototype.get=Hre;ia.prototype.has=zre;ia.prototype.set=Aie;var Mie="__lodash_hash_undefined__";function Rie(e){return this.__data__.set(e,Mie),this}function Die(e){return this.__data__.has(e)}function Td(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Pl;++t<n;)this.add(e[t])}Td.prototype.add=Td.prototype.push=Rie;Td.prototype.has=Die;function Lie(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function f0(e,t){return e.has(t)}var Nie=1,kie=2;function lk(e,t,n,o,r,i){var a=n&Nie,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&kie?new Td:void 0;for(i.set(e,t),i.set(t,e);++d<l;){var m=e[d],v=t[d];if(o)var y=a?o(v,m,d,t,e,i):o(m,v,d,e,t,i);if(y!==void 0){if(y)continue;f=!1;break}if(h){if(!Lie(t,function(b,$){if(!f0(h,$)&&(m===b||r(m,b,n,o,i)))return h.push($)})){f=!1;break}}else if(!(m===v||r(m,v,n,o,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var p0=ua.Uint8Array;function Bie(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function q2(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var Fie=1,Hie=2,zie="[object Boolean]",jie="[object Date]",Wie="[object Error]",Vie="[object Map]",Kie="[object Number]",Uie="[object RegExp]",Gie="[object Set]",Yie="[object String]",Xie="[object Symbol]",qie="[object ArrayBuffer]",Zie="[object DataView]",rA=Fi?Fi.prototype:void 0,QS=rA?rA.valueOf:void 0;function Qie(e,t,n,o,r,i,a){switch(n){case Zie:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case qie:return!(e.byteLength!=t.byteLength||!i(new p0(e),new p0(t)));case zie:case jie:case Kie:return Fh(+e,+t);case Wie:return e.name==t.name&&e.message==t.message;case Uie:case Yie:return e==t+"";case Vie:var l=Bie;case Gie:var s=o&Fie;if(l||(l=q2),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;o|=Hie,a.set(e,t);var u=lk(l(e),l(t),o,r,i,a);return a.delete(e),u;case Xie:if(QS)return QS.call(e)==QS.call(t)}return!1}function Z2(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var xr=Array.isArray;function sk(e,t,n){var o=t(e);return xr(e)?o:Z2(o,n(e))}function Jie(e,t){for(var n=-1,o=e==null?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}function ck(){return[]}var eae=Object.prototype,tae=eae.propertyIsEnumerable,iA=Object.getOwnPropertySymbols,Q2=iA?function(e){return e==null?[]:(e=Object(e),Jie(iA(e),function(t){return tae.call(e,t)}))}:ck;function nae(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}function la(e){return e!=null&&typeof e=="object"}var oae="[object Arguments]";function aA(e){return la(e)&&Es(e)==oae}var uk=Object.prototype,rae=uk.hasOwnProperty,iae=uk.propertyIsEnumerable,aae=aA(function(){return arguments}())?aA:function(e){return la(e)&&rae.call(e,"callee")&&!iae.call(e,"callee")};const Ed=aae;function lae(){return!1}var dk=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lA=dk&&typeof module=="object"&&module&&!module.nodeType&&module,sae=lA&&lA.exports===dk,sA=sae?ua.Buffer:void 0,cae=sA?sA.isBuffer:void 0,Ad=cae||lae,uae=9007199254740991,dae=/^(?:0|[1-9]\d*)$/;function Zb(e,t){var n=typeof e;return t=t??uae,!!t&&(n=="number"||n!="symbol"&&dae.test(e))&&e>-1&&e%1==0&&e<t}var fae=9007199254740991;function J2(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fae}var pae="[object Arguments]",hae="[object Array]",gae="[object Boolean]",vae="[object Date]",mae="[object Error]",bae="[object Function]",yae="[object Map]",Sae="[object Number]",Cae="[object Object]",$ae="[object RegExp]",xae="[object Set]",wae="[object String]",_ae="[object WeakMap]",Oae="[object ArrayBuffer]",Iae="[object DataView]",Pae="[object Float32Array]",Tae="[object Float64Array]",Eae="[object Int8Array]",Aae="[object Int16Array]",Mae="[object Int32Array]",Rae="[object Uint8Array]",Dae="[object Uint8ClampedArray]",Lae="[object Uint16Array]",Nae="[object Uint32Array]",An={};An[Pae]=An[Tae]=An[Eae]=An[Aae]=An[Mae]=An[Rae]=An[Dae]=An[Lae]=An[Nae]=!0;An[pae]=An[hae]=An[Oae]=An[gae]=An[Iae]=An[vae]=An[mae]=An[bae]=An[yae]=An[Sae]=An[Cae]=An[$ae]=An[xae]=An[wae]=An[_ae]=!1;function kae(e){return la(e)&&J2(e.length)&&!!An[Es(e)]}function Qb(e){return function(t){return e(t)}}var fk=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sp=fk&&typeof module=="object"&&module&&!module.nodeType&&module,Bae=Sp&&Sp.exports===fk,JS=Bae&&ik.process,Md=function(){try{var e=Sp&&Sp.require&&Sp.require("util").types;return e||JS&&JS.binding&&JS.binding("util")}catch{}}(),cA=Md&&Md.isTypedArray,Fae=cA?Qb(cA):kae;const Jb=Fae;var Hae=Object.prototype,zae=Hae.hasOwnProperty;function pk(e,t){var n=xr(e),o=!n&&Ed(e),r=!n&&!o&&Ad(e),i=!n&&!o&&!r&&Jb(e),a=n||o||r||i,l=a?nae(e.length,String):[],s=l.length;for(var c in e)(t||zae.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Zb(c,s)))&&l.push(c);return l}var jae=Object.prototype;function ey(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||jae;return e===n}function hk(e,t){return function(n){return e(t(n))}}var Wae=hk(Object.keys,Object),Vae=Object.prototype,Kae=Vae.hasOwnProperty;function gk(e){if(!ey(e))return Wae(e);var t=[];for(var n in Object(e))Kae.call(e,n)&&n!="constructor"&&t.push(n);return t}function Jc(e){return e!=null&&J2(e.length)&&!X2(e)}function tf(e){return Jc(e)?pk(e):gk(e)}function sx(e){return sk(e,tf,Q2)}var Uae=1,Gae=Object.prototype,Yae=Gae.hasOwnProperty;function Xae(e,t,n,o,r,i){var a=n&Uae,l=sx(e),s=l.length,c=sx(t),u=c.length;if(s!=u&&!a)return!1;for(var d=s;d--;){var f=l[d];if(!(a?f in t:Yae.call(t,f)))return!1}var h=i.get(e),m=i.get(t);if(h&&m)return h==t&&m==e;var v=!0;i.set(e,t),i.set(t,e);for(var y=a;++d<s;){f=l[d];var b=e[f],$=t[f];if(o)var x=a?o($,b,f,t,e,i):o(b,$,f,e,t,i);if(!(x===void 0?b===$||r(b,$,n,o,i):x)){v=!1;break}y||(y=f=="constructor")}if(v&&!y){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof w=="function"&&w instanceof w)&&(v=!1)}return i.delete(e),i.delete(t),v}var cx=Qc(ua,"DataView"),ux=Qc(ua,"Promise"),cd=Qc(ua,"Set"),dx=Qc(ua,"WeakMap"),uA="[object Map]",qae="[object Object]",dA="[object Promise]",fA="[object Set]",pA="[object WeakMap]",hA="[object DataView]",Zae=Zc(cx),Qae=Zc(sh),Jae=Zc(ux),ele=Zc(cd),tle=Zc(dx),ic=Es;(cx&&ic(new cx(new ArrayBuffer(1)))!=hA||sh&&ic(new sh)!=uA||ux&&ic(ux.resolve())!=dA||cd&&ic(new cd)!=fA||dx&&ic(new dx)!=pA)&&(ic=function(e){var t=Es(e),n=t==qae?e.constructor:void 0,o=n?Zc(n):"";if(o)switch(o){case Zae:return hA;case Qae:return uA;case Jae:return dA;case ele:return fA;case tle:return pA}return t});const Rd=ic;var nle=1,gA="[object Arguments]",vA="[object Array]",_v="[object Object]",ole=Object.prototype,mA=ole.hasOwnProperty;function rle(e,t,n,o,r,i){var a=xr(e),l=xr(t),s=a?vA:Rd(e),c=l?vA:Rd(t);s=s==gA?_v:s,c=c==gA?_v:c;var u=s==_v,d=c==_v,f=s==c;if(f&&Ad(e)){if(!Ad(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new ia),a||Jb(e)?lk(e,t,n,o,r,i):Qie(e,t,s,n,o,r,i);if(!(n&nle)){var h=u&&mA.call(e,"__wrapped__"),m=d&&mA.call(t,"__wrapped__");if(h||m){var v=h?e.value():e,y=m?t.value():t;return i||(i=new ia),r(v,y,n,o,i)}}return f?(i||(i=new ia),Xae(e,t,n,o,r,i)):!1}function ty(e,t,n,o,r){return e===t?!0:e==null||t==null||!la(e)&&!la(t)?e!==e&&t!==t:rle(e,t,n,o,ty,r)}function e_(e,t){return ty(e,t)}const ile={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function bA(e){return typeof e!="function"?null:e()}function yA(e){return typeof e!="object"||!e?null:e}const ale=pe({compatConfig:{MODE:3},name:"Align",props:ile,emits:["align"],setup(e,t){let{expose:n,slots:o}=t;const r=he({}),i=he(),[a,l]=Ere(()=>{const{disabled:f,target:h,align:m,onAlign:v}=e;if(!f&&h&&i.value){const y=i.value;let b;const $=bA(h),x=yA(h);r.value.element=$,r.value.point=x,r.value.align=m;const{activeElement:_}=document;return $&&Yb($)?b=Y2(y,$,m):x&&(b=_re(y,x,m)),Tre(_,y),v&&b&&v(y,b),!0}return!1},M(()=>e.monitorBufferTime)),s=he({cancel:()=>{}}),c=he({cancel:()=>{}}),u=()=>{const f=e.target,h=bA(f),m=yA(f);i.value!==c.value.element&&(c.value.cancel(),c.value.element=i.value,c.value.cancel=tA(i.value,a)),(r.value.element!==h||!Pre(r.value.point,m)||!e_(r.value.align,e.align))&&(a(),s.value.element!==h&&(s.value.cancel(),s.value.element=h,s.value.cancel=tA(h,a)))};lt(()=>{wt(()=>{u()})}),fr(()=>{wt(()=>{u()})}),Ie(()=>e.disabled,f=>{f?l():a()},{immediate:!0,flush:"post"});const d=he(null);return Ie(()=>e.monitorWindowResize,f=>{f?d.value||(d.value=wn(window,"resize",a)):d.value&&(d.value.remove(),d.value=null)},{flush:"post"}),Fo(()=>{s.value.cancel(),c.value.cancel(),d.value&&d.value.remove(),l()}),n({forceAlign:()=>a(!0)}),()=>{const f=o==null?void 0:o.default();return f?Gt(f[0],{ref:i},!0,!0):null}}});Go("bottomLeft","bottomRight","topLeft","topRight");const t_=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Hi=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return S(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},ny=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return S(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},dr=(e,t,n)=>n!==void 0?n:`${e}-${t}`,lle=pe({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:j2,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const i=ve(),a=ve(),l=ve(),[s,c]=Qoe(st(e,"stretch")),u=()=>{e.stretch&&c(e.getRootDomNode())},d=ve(!1);let f;Ie(()=>e.visible,I=>{clearTimeout(f),I?f=setTimeout(()=>{d.value=e.visible}):d.value=!1},{immediate:!0});const[h,m]=Zoe(d,u),v=ve(),y=()=>e.point?e.point:e.getRootDomNode,b=()=>{var I;(I=i.value)===null||I===void 0||I.forceAlign()},$=(I,O)=>{var P;const E=e.getClassNameFromAlign(O),R=l.value;l.value!==E&&(l.value=E),h.value==="align"&&(R!==E?Promise.resolve().then(()=>{b()}):m(()=>{var A;(A=v.value)===null||A===void 0||A.call(v)}),(P=e.onAlign)===null||P===void 0||P.call(e,I,O))},x=M(()=>{const I=typeof e.animation=="object"?e.animation:W2(e);return["onAfterEnter","onAfterLeave"].forEach(O=>{const P=I[O];I[O]=E=>{m(),h.value="stable",P==null||P(E)}}),I}),_=()=>new Promise(I=>{v.value=I});Ie([x,h],()=>{!x.value&&h.value==="motion"&&m()},{immediate:!0}),n({forceAlign:b,getElement:()=>a.value.$el||a.value});const w=M(()=>{var I;return!(!((I=e.align)===null||I===void 0)&&I.points&&(h.value==="align"||h.value==="stable"))});return()=>{var I;const{zIndex:O,align:P,prefixCls:E,destroyPopupOnHide:R,onMouseenter:A,onMouseleave:N,onTouchstart:F=()=>{},onMousedown:W}=e,D=h.value,B=[S(S({},s.value),{zIndex:O,opacity:D==="motion"||D==="stable"||!d.value?null:0,pointerEvents:!d.value&&D!=="stable"?"none":null}),o.style];let k=ln((I=r.default)===null||I===void 0?void 0:I.call(r,{visible:e.visible}));k.length>1&&(k=g("div",{class:`${E}-content`},[k]));const L=me(E,o.class,l.value),K=d.value||!e.visible?Hi(x.value.name,x.value):{};return g(so,V(V({ref:a},K),{},{onBeforeEnter:_}),{default:()=>!R||e.visible?Ln(g(ale,{target:y(),key:"popup",ref:i,monitorWindowResize:!0,disabled:w.value,align:P,onAlign:$},{default:()=>g("div",{class:L,onMouseenter:A,onMouseleave:N,onMousedown:n3(W,["capture"]),[fo?"onTouchstartPassive":"onTouchstart"]:n3(F,["capture"]),style:B},[k])}),[[Bo,d.value]]):null})}}}),sle=pe({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Yoe,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const i=ve(!1),a=ve(!1),l=ve(),s=ve();return Ie([()=>e.visible,()=>e.mobile],()=>{i.value=e.visible,e.visible&&e.mobile&&(a.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var c;(c=l.value)===null||c===void 0||c.forceAlign()},getElement:()=>{var c;return(c=l.value)===null||c===void 0?void 0:c.getElement()}}),()=>{const c=S(S(S({},e),n),{visible:i.value}),u=a.value?g(Xoe,V(V({},c),{},{mobile:e.mobile,ref:l}),{default:o.default}):g(lle,V(V({},c),{},{ref:l}),{default:o.default});return g("div",{ref:s},[g(X7,c,null),u])}}});function cle(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function SA(e,t,n){const o=e[t]||{};return S(S({},o),n)}function ule(e,t,n,o){const{points:r}=n,i=Object.keys(e);for(let a=0;a<i.length;a+=1){const l=i[a];if(cle(e[l].points,r,o))return`${t}-placement-${l}`}return""}const eu={methods:{setState(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const o=this.getDerivedStateFromProps(BN(this),S(S({},this.$data),n));if(o===null)return;n=S(S({},n),o||{})}S(this.$data,n),this._.isMounted&&this.$forceUpdate(),wt(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let o=0,r=n.length;o<r;o++)n[o](...e.slice(1));else n(...e.slice(1))}}},vk=Symbol("PortalContextKey"),n_=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};ft(vk,{inTriggerContext:t.inTriggerContext,shouldRender:M(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:i}=e||{};let a=!1;return(n||o||r)&&(a=!0),!n&&i&&(a=!1),a})})},dle=()=>{n_({},{inTriggerContext:!1});const e=it(vk,{shouldRender:M(()=>!1),inTriggerContext:!1});return{shouldRender:M(()=>e.shouldRender.value||e.inTriggerContext===!1)}},mk=pe({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:Z.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:i}=dle();function a(){i.value&&(r=e.getContainer())}Dh(()=>{o=!1,a()}),lt(()=>{r||a()});const l=Ie(i,()=>{i.value&&!r&&(r=e.getContainer()),r&&l()});return fr(()=>{wt(()=>{var s;i.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return i.value?o?(s=n.default)===null||s===void 0?void 0:s.call(n):r?g(Ab,{to:r},n):null:null}}});let eC;function h0(e){if(typeof document>"u")return 0;if(e||eC===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const r=t.offsetWidth;n.style.overflow="scroll";let i=t.offsetWidth;r===i&&(i=n.clientWidth),document.body.removeChild(n),eC=r-i}return eC}function CA(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?h0():n}function fle(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:CA(t),height:CA(n)}}const ple=`vc-util-locker-${Date.now()}`;let $A=0;function hle(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function gle(e){const t=M(()=>!!e&&!!e.value);$A+=1;const n=`${ple}_${$A}`;ct(o=>{if(ur()){if(t.value){const r=h0(),i=hle();nh(`
+html body {
+ overflow-y: hidden;
+ ${i?`width: calc(100% - ${r}px);`:""}
+}`,n)}else a0(n);o(()=>{a0(n)})}},{flush:"post"})}let Js=0;const cm=ur(),xA=e=>{if(!cm)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},Hh=pe({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:Z.any,visible:{type:Boolean,default:void 0},autoLock:De(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=ve(),r=ve(),i=ve(),a=ve(1),l=ur()&&document.createElement("div"),s=()=>{var h,m;o.value===l&&((m=(h=o.value)===null||h===void 0?void 0:h.parentNode)===null||m===void 0||m.removeChild(o.value)),o.value=null};let c=null;const u=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||o.value&&!o.value.parentNode?(c=xA(e.getContainer),c?(c.appendChild(o.value),!0):!1):!0},d=()=>cm?(o.value||(o.value=l,u(!0)),f(),o.value):null,f=()=>{const{wrapperClassName:h}=e;o.value&&h&&h!==o.value.className&&(o.value.className=h)};return fr(()=>{f(),u()}),gle(M(()=>e.autoLock&&e.visible&&ur()&&(o.value===document.body||o.value===l))),lt(()=>{let h=!1;Ie([()=>e.visible,()=>e.getContainer],(m,v)=>{let[y,b]=m,[$,x]=v;cm&&(c=xA(e.getContainer),c===document.body&&(y&&!$?Js+=1:h&&(Js-=1))),h&&(typeof b=="function"&&typeof x=="function"?b.toString()!==x.toString():b!==x)&&s(),h=!0},{immediate:!0,flush:"post"}),wt(()=>{u()||(i.value=mt(()=>{a.value+=1}))})}),Ct(()=>{const{visible:h}=e;cm&&c===document.body&&(Js=h&&Js?Js-1:Js),s(),mt.cancel(i.value)}),()=>{const{forceRender:h,visible:m}=e;let v=null;const y={getOpenCount:()=>Js,getContainer:d};return a.value&&(h||m||r.value)&&(v=g(mk,{getContainer:d,ref:r,didUpdate:e.didUpdate},{default:()=>{var b;return(b=n.default)===null||b===void 0?void 0:b.call(n,y)}})),v}}}),vle=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],tu=pe({compatConfig:{MODE:3},name:"Trigger",mixins:[eu],inheritAttrs:!1,props:Y7(),setup(e){const t=M(()=>{const{popupPlacement:r,popupAlign:i,builtinPlacements:a}=e;return r&&a?SA(a,r,i):i}),n=ve(null),o=r=>{n.value=r};return{vcTriggerContext:it("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:ve(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,vle.forEach(n=>{this[`fire${n}`]=o=>{this.fireEvents(n,o)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){ft("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),n_(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),mt.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=wn(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=wn(n,"touchstart",this.onDocumentClick,fo?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=wn(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=wn(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&ss((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){ss(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),o=this.getPopupDomNode();(!ss(n,t)||this.isContextMenuOnly())&&!ss(o,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,o;const{getTriggerDOMNode:r}=this.$props;if(r){const i=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Nr(this.triggerRef);return Nr(r(i))}try{const i=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Nr(this.triggerRef);if(i)return i}catch{}return Nr(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:i,alignPoint:a,getPopupClassNameFromAlign:l}=n;return o&&r&&t.push(ule(r,i,e,a)),l&&t.push(l(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?SA(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[fo?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:i,popupClassName:a,popupAnimation:l,popupTransitionName:s,popupStyle:c,mask:u,maskAnimation:d,maskTransitionName:f,zIndex:h,stretch:m,alignPoint:v,mobile:y,forceRender:b}=this.$props,{sPopupVisible:$,point:x}=this.$data,_=S(S({prefixCls:r,destroyPopupOnHide:i,visible:$,point:v?x:null,align:this.align,animation:l,getClassNameFromAlign:t,stretch:m,getRootDomNode:n,mask:u,zIndex:h,transitionName:s,maskAnimation:d,maskTransitionName:f,class:a,style:c,onAlign:o.onPopupAlign||G7},e),{ref:this.setPopupRef,mobile:y,forceRender:b});return g(sle,_,{default:this.$slots.popup||(()=>FN(this,"popup"))})},attachParent(e){mt.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,o=this.getRootDomNode();let r;t?(o||t.length===0)&&(r=t(o)):r=n(this.getRootDomNode()).body,r?r.appendChild(e):this.attachId=mt(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:o,onPopupVisibleChange:r}=this;this.clearDelayTimer(),o!==e&&(ul(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:o}),r&&r(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const o=t*1e3;if(this.clearDelayTimer(),o){const r=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,r),this.clearDelayTimer()},o)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=l3(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=_n(kb(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=l3(r);const i={key:"trigger"};this.isContextmenuToShow()?i.onContextmenu=this.onContextmenu:i.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(i.onClick=this.onClick,i.onMousedown=this.onMousedown,i[fo?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(i.onClick=this.createTwoChains("onClick"),i.onMousedown=this.createTwoChains("onMousedown"),i[fo?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(i.onMouseenter=this.onMouseenter,n&&(i.onMousemove=this.onMouseMove)):i.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?i.onMouseleave=this.onMouseleave:i.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(i.onFocus=this.onFocus,i.onBlur=this.onBlur):(i.onFocus=this.createTwoChains("onFocus"),i.onBlur=c=>{c&&(!c.relatedTarget||!ss(c.target,c.relatedTarget))&&this.createTwoChains("onBlur")(c)});const a=me(r&&r.props&&r.props.class,e.class);a&&(i.class=a);const l=Gt(r,S(S({},i),{ref:"triggerRef"}),!0,!0),s=g(Hh,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return g(Je,null,[l,s])}});var mle=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ble=e=>{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},yle=pe({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:Z.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:Z.oneOfType([Number,Boolean]).def(!0),popupElement:Z.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=M(()=>{const{dropdownMatchSelectWidth:l}=e;return ble(l)}),a=he();return r({getPopupElement:()=>a.value}),()=>{const l=S(S({},e),o),{empty:s=!1}=l,c=mle(l,["empty"]),{visible:u,dropdownAlign:d,prefixCls:f,popupElement:h,dropdownClassName:m,dropdownStyle:v,direction:y="ltr",placement:b,dropdownMatchSelectWidth:$,containerWidth:x,dropdownRender:_,animation:w,transitionName:I,getPopupContainer:O,getTriggerDOMNode:P,onPopupVisibleChange:E,onPopupMouseEnter:R,onPopupFocusin:A,onPopupFocusout:N}=c,F=`${f}-dropdown`;let W=h;_&&(W=_({menuNode:h,props:e}));const D=w?`${F}-${w}`:I,B=S({minWidth:`${x}px`},v);return typeof $=="number"?B.width=`${$}px`:$&&(B.width=`${x}px`),g(tu,V(V({},e),{},{showAction:E?["click"]:[],hideAction:E?["click"]:[],popupPlacement:b||(y==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:i.value,prefixCls:F,popupTransitionName:D,popupAlign:d,popupVisible:u,getPopupContainer:O,popupClassName:me(m,{[`${F}-empty`]:s}),popupStyle:B,getTriggerDOMNode:P,onPopupVisibleChange:E}),{default:n.default,popup:()=>g("div",{ref:a,onMouseenter:R,onFocusin:A,onFocusout:N},[W])})}}}),Sle=yle,Rt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Rt.F1&&n<=Rt.F12)return!1;switch(n){case Rt.ALT:case Rt.CAPS_LOCK:case Rt.CONTEXT_MENU:case Rt.CTRL:case Rt.DOWN:case Rt.END:case Rt.ESC:case Rt.HOME:case Rt.INSERT:case Rt.LEFT:case Rt.MAC_FF_META:case Rt.META:case Rt.NUMLOCK:case Rt.NUM_CENTER:case Rt.PAGE_DOWN:case Rt.PAGE_UP:case Rt.PAUSE:case Rt.PRINT_SCREEN:case Rt.RIGHT:case Rt.SHIFT:case Rt.UP:case Rt.WIN_KEY:case Rt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Rt.ZERO&&t<=Rt.NINE||t>=Rt.NUM_ZERO&&t<=Rt.NUM_MULTIPLY||t>=Rt.A&&t<=Rt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Rt.SPACE:case Rt.QUESTION_MARK:case Rt.NUM_PLUS:case Rt.NUM_MINUS:case Rt.NUM_PERIOD:case Rt.NUM_DIVISION:case Rt.SEMICOLON:case Rt.DASH:case Rt.EQUALS:case Rt.COMMA:case Rt.PERIOD:case Rt.SLASH:case Rt.APOSTROPHE:case Rt.SINGLE_QUOTE:case Rt.OPEN_SQUARE_BRACKET:case Rt.BACKSLASH:case Rt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Fe=Rt,oy=(e,t)=>{let{slots:n}=t;var o;const{class:r,customizeIcon:i,customizeIconProps:a,onMousedown:l,onClick:s}=e;let c;return typeof i=="function"?c=i(a):c=i,g("span",{class:r,onMousedown:u=>{u.preventDefault(),l&&l(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[c!==void 0?c:g("span",{class:r.split(/\s+/).map(u=>`${u}-icon`)},[(o=n.default)===null||o===void 0?void 0:o.call(n)])])};oy.inheritAttrs=!1;oy.displayName="TransBtn";oy.props={class:String,customizeIcon:Z.any,customizeIconProps:Z.any,onMousedown:Function,onClick:Function};const g0=oy;function Cle(e){e.target.composing=!0}function wA(e){e.target.composing&&(e.target.composing=!1,$le(e.target,"input"))}function $le(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function tC(e,t,n,o){e.addEventListener(t,n,o)}const xle={created(e,t){(!t.modifiers||!t.modifiers.lazy)&&(tC(e,"compositionstart",Cle),tC(e,"compositionend",wA),tC(e,"change",wA))}},nf=xle,wle={inputRef:Z.any,prefixCls:String,id:String,inputElement:Z.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:Z.oneOfType([Z.number,Z.string]),attrs:Z.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},_le=pe({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:wle,setup(e){let t=null;const n=it("VCSelectContainerEvent");return()=>{var o;const{prefixCls:r,id:i,inputElement:a,disabled:l,tabindex:s,autofocus:c,autocomplete:u,editable:d,activeDescendantId:f,value:h,onKeydown:m,onMousedown:v,onChange:y,onPaste:b,onCompositionstart:$,onCompositionend:x,onFocus:_,onBlur:w,open:I,inputRef:O,attrs:P}=e;let E=a||Ln(g("input",null,null),[[nf]]);const R=E.props||{},{onKeydown:A,onInput:N,onFocus:F,onBlur:W,onMousedown:D,onCompositionstart:B,onCompositionend:k,style:L}=R;return E=Gt(E,S(S(S(S(S({type:"search"},R),{id:i,ref:O,disabled:l,tabindex:s,autocomplete:u||"off",autofocus:c,class:me(`${r}-selection-search-input`,(o=E==null?void 0:E.props)===null||o===void 0?void 0:o.class),role:"combobox","aria-expanded":I,"aria-haspopup":"listbox","aria-owns":`${i}_list`,"aria-autocomplete":"list","aria-controls":`${i}_list`,"aria-activedescendant":f}),P),{value:d?h:"",readonly:!d,unselectable:d?null:"on",style:S(S({},L),{opacity:d?null:0}),onKeydown:z=>{m(z),A&&A(z)},onMousedown:z=>{v(z),D&&D(z)},onInput:z=>{y(z),N&&N(z)},onCompositionstart(z){$(z),B&&B(z)},onCompositionend(z){x(z),k&&k(z)},onPaste:b,onFocus:function(){clearTimeout(t),F&&F(arguments.length<=0?void 0:arguments[0]),_&&_(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var z=arguments.length,K=new Array(z),G=0;G<z;G++)K[G]=arguments[G];t=setTimeout(()=>{W&&W(K[0]),w&&w(K[0]),n==null||n.blur(K[0])},100)}}),E.type==="textarea"?{}:{type:"search"}),!0,!0),E}}}),bk=_le,Ole=`accept acceptcharset accesskey action allowfullscreen allowtransparency
+alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
+charset checked classid classname colspan cols content contenteditable contextmenu
+controls coords crossorigin data datetime default defer dir disabled download draggable
+enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
+headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
+is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
+mediagroup method min minlength multiple muted name novalidate nonce open
+optimum pattern placeholder poster preload radiogroup readonly rel required
+reversed role rowspan rows sandbox scope scoped scrolling seamless selected
+shape size sizes span spellcheck src srcdoc srclang srcset start step style
+summary tabindex target title type usemap value width wmode wrap`,Ile=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
+ onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
+ onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
+ onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
+ onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
+ onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
+ onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,_A=`${Ole} ${Ile}`.split(/[\s\n]+/),Ple="aria-",Tle="data-";function OA(e,t){return e.indexOf(t)===0}function As(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=S({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||OA(r,Ple))||n.data&&OA(r,Tle)||n.attr&&(_A.includes(r)||_A.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const yk=Symbol("OverflowContextProviderKey"),fx=pe({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return ft(yk,M(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Ele=()=>it(yk,M(()=>null));var Ale=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Pu=void 0,um=pe({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:Z.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:Z.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:o}=t;const r=M(()=>e.responsive&&!e.display),i=he();o({itemNodeRef:i});function a(l){e.registerSize(e.itemKey,l)}return Fo(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:c,item:u,renderItem:d,responsive:f,registerSize:h,itemKey:m,display:v,order:y,component:b="div"}=e,$=Ale(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),x=(l=n.default)===null||l===void 0?void 0:l.call(n),_=d&&u!==Pu?d(u):x;let w;c||(w={opacity:r.value?0:1,height:r.value?0:Pu,overflowY:r.value?"hidden":Pu,order:f?y:Pu,pointerEvents:r.value?"none":Pu,position:r.value?"absolute":Pu});const I={};return r.value&&(I["aria-hidden"]=!0),g(ki,{disabled:!f,onResize:O=>{let{offsetWidth:P}=O;a(P)}},{default:()=>g(b,V(V(V({class:me(!c&&s),style:w},I),$),{},{ref:i}),{default:()=>[_]})})}}});var nC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Mle=pe({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:Z.any,title:Z.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:o}=t;const r=Ele();return()=>{var i;if(!r.value){const{component:d="div"}=e,f=nC(e,["component"]);return g(d,V(V({},f),o),{default:()=>[(i=n.default)===null||i===void 0?void 0:i.call(n)]})}const a=r.value,{className:l}=a,s=nC(a,["className"]),{class:c}=o,u=nC(o,["class"]);return g(fx,{value:null},{default:()=>[g(um,V(V(V({class:me(l,c)},s),u),e),n)]})}}});var Rle=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Sk="responsive",Ck="invalidate";function Dle(e){return`+ ${e.length} ...`}const Lle=()=>({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:Z.any,component:String,itemComponent:Z.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),ry=pe({name:"Overflow",inheritAttrs:!1,props:Lle(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const i=M(()=>e.ssr==="full"),a=ve(null),l=M(()=>a.value||0),s=ve(new Map),c=ve(0),u=ve(0),d=ve(0),f=ve(null),h=ve(null),m=M(()=>h.value===null&&i.value?Number.MAX_SAFE_INTEGER:h.value||0),v=ve(!1),y=M(()=>`${e.prefixCls}-item`),b=M(()=>Math.max(c.value,u.value)),$=M(()=>!!(e.data.length&&e.maxCount===Sk)),x=M(()=>e.maxCount===Ck),_=M(()=>$.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),w=M(()=>{let D=e.data;return $.value?a.value===null&&i.value?D=e.data:D=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(D=e.data.slice(0,e.maxCount)),D}),I=M(()=>$.value?e.data.slice(m.value+1):e.data.slice(w.value.length)),O=(D,B)=>{var k;return typeof e.itemKey=="function"?e.itemKey(D):(k=e.itemKey&&(D==null?void 0:D[e.itemKey]))!==null&&k!==void 0?k:B},P=M(()=>e.renderItem||(D=>D)),E=(D,B)=>{h.value=D,B||(v.value=D<e.data.length-1,o("visibleChange",D))},R=(D,B)=>{a.value=B.clientWidth},A=(D,B)=>{const k=new Map(s.value);B===null?k.delete(D):k.set(D,B),s.value=k},N=(D,B)=>{c.value=u.value,u.value=B},F=(D,B)=>{d.value=B},W=D=>s.value.get(O(w.value[D],D));return Ie([l,s,u,d,()=>e.itemKey,w],()=>{if(l.value&&b.value&&w.value){let D=d.value;const B=w.value.length,k=B-1;if(!B){E(0),f.value=null;return}for(let L=0;L<B;L+=1){const z=W(L);if(z===void 0){E(L-1,!0);break}if(D+=z,k===0&&D<=l.value||L===k-1&&D+W(k)<=l.value){E(k),f.value=null;break}else if(D+b.value>l.value){E(L-1),f.value=D-z-d.value+u.value;break}}e.suffix&&W(0)+d.value>l.value&&(f.value=null)}}),()=>{const D=v.value&&!!I.value.length,{itemComponent:B,renderRawItem:k,renderRawRest:L,renderRest:z,prefixCls:K="rc-overflow",suffix:G,component:Y="div",id:ne,onMousedown:re}=e,{class:J,style:te}=n,ee=Rle(n,["class","style"]);let fe={};f.value!==null&&$.value&&(fe={position:"absolute",left:`${f.value}px`,top:0});const ie={prefixCls:y.value,responsive:$.value,component:B,invalidate:x.value},X=k?(j,q)=>{const se=O(j,q);return g(fx,{key:se,value:S(S({},ie),{order:q,item:j,itemKey:se,registerSize:A,display:q<=m.value})},{default:()=>[k(j,q)]})}:(j,q)=>{const se=O(j,q);return g(um,V(V({},ie),{},{order:q,key:se,item:j,renderItem:P.value,itemKey:se,registerSize:A,display:q<=m.value}),null)};let ue=()=>null;const ye={order:D?m.value:Number.MAX_SAFE_INTEGER,className:`${y.value} ${y.value}-rest`,registerSize:N,display:D};if(L)L&&(ue=()=>g(fx,{value:S(S({},ie),ye)},{default:()=>[L(I.value)]}));else{const j=z||Dle;ue=()=>g(um,V(V({},ie),ye),{default:()=>typeof j=="function"?j(I.value):j})}const H=()=>{var j;return g(Y,V({id:ne,class:me(!x.value&&K,J),style:te,onMousedown:re},ee),{default:()=>[w.value.map(X),_.value?ue():null,G&&g(um,V(V({},ie),{},{order:m.value,class:`${y.value}-suffix`,registerSize:F,display:!0,style:fe}),{default:()=>G}),(j=r.default)===null||j===void 0?void 0:j.call(r)]})};return g(ki,{disabled:!$.value,onResize:R},{default:H})}}});ry.Item=Mle;ry.RESPONSIVE=Sk;ry.INVALIDATE=Ck;const ud=ry,$k=Symbol("TreeSelectLegacyContextPropsKey");function Nle(e){return ft($k,e)}function iy(){return it($k,{})}const kle={id:String,prefixCls:String,values:Z.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:Z.any,placeholder:Z.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:Z.oneOfType([Z.number,Z.string]),removeIcon:Z.any,choiceTransitionName:String,maxTagCount:Z.oneOfType([Z.number,Z.string]),maxTagTextLength:Number,maxTagPlaceholder:Z.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},IA=e=>{e.preventDefault(),e.stopPropagation()},Ble=pe({name:"MultipleSelectSelector",inheritAttrs:!1,props:kle,setup(e){const t=ve(),n=ve(0),o=ve(!1),r=iy(),i=M(()=>`${e.prefixCls}-selection`),a=M(()=>e.open||e.mode==="tags"?e.searchValue:""),l=M(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value));lt(()=>{Ie(a,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function s(f,h,m,v,y){return g("span",{class:me(`${i.value}-item`,{[`${i.value}-item-disabled`]:m}),title:typeof f=="string"||typeof f=="number"?f.toString():void 0},[g("span",{class:`${i.value}-item-content`},[h]),v&&g(g0,{class:`${i.value}-item-remove`,onMousedown:IA,onClick:y,customizeIcon:e.removeIcon},{default:()=>[Do("×")]})])}function c(f,h,m,v,y,b){var $;const x=w=>{IA(w),e.onToggleOpen(!open)};let _=b;return r.keyEntities&&(_=(($=r.keyEntities[f])===null||$===void 0?void 0:$.node)||{}),g("span",{key:f,onMousedown:x},[e.tagRender({label:h,value:f,disabled:m,closable:v,onClose:y,option:_})])}function u(f){const{disabled:h,label:m,value:v,option:y}=f,b=!e.disabled&&!h;let $=m;if(typeof e.maxTagTextLength=="number"&&(typeof m=="string"||typeof m=="number")){const _=String($);_.length>e.maxTagTextLength&&($=`${_.slice(0,e.maxTagTextLength)}...`)}const x=_=>{var w;_&&_.stopPropagation(),(w=e.onRemove)===null||w===void 0||w.call(e,f)};return typeof e.tagRender=="function"?c(v,$,h,b,x,y):s(m,$,h,b,x)}function d(f){const{maxTagPlaceholder:h=v=>`+ ${v.length} ...`}=e,m=typeof h=="function"?h(f):h;return s(m,m,!1)}return()=>{const{id:f,prefixCls:h,values:m,open:v,inputRef:y,placeholder:b,disabled:$,autofocus:x,autocomplete:_,activeDescendantId:w,tabindex:I,onInputChange:O,onInputPaste:P,onInputKeyDown:E,onInputMouseDown:R,onInputCompositionStart:A,onInputCompositionEnd:N}=e,F=g("div",{class:`${i.value}-search`,style:{width:n.value+"px"},key:"input"},[g(bk,{inputRef:y,open:v,prefixCls:h,id:f,inputElement:null,disabled:$,autofocus:x,autocomplete:_,editable:l.value,activeDescendantId:w,value:a.value,onKeydown:E,onMousedown:R,onChange:O,onPaste:P,onCompositionstart:A,onCompositionend:N,tabindex:I,attrs:As(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),g("span",{ref:t,class:`${i.value}-search-mirror`,"aria-hidden":!0},[a.value,Do(" ")])]),W=g(ud,{prefixCls:`${i.value}-overflow`,data:m,renderItem:u,renderRest:d,suffix:F,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return g(Je,null,[W,!m.length&&!a.value&&g("span",{class:`${i.value}-placeholder`},[b])])}}}),Fle=Ble,Hle={inputElement:Z.any,id:String,prefixCls:String,values:Z.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:Z.any,placeholder:Z.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:Z.oneOfType([Z.number,Z.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},o_=pe({name:"SingleSelector",setup(e){const t=ve(!1),n=M(()=>e.mode==="combobox"),o=M(()=>n.value||e.showSearch),r=M(()=>{let c=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(c=e.activeValue),c}),i=iy();Ie([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const a=M(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value),l=M(()=>{const c=e.values[0];return c&&(typeof c.label=="string"||typeof c.label=="number")?c.label.toString():void 0}),s=()=>{if(e.values[0])return null;const c=a.value?{visibility:"hidden"}:void 0;return g("span",{class:`${e.prefixCls}-selection-placeholder`,style:c},[e.placeholder])};return()=>{var c,u,d,f;const{inputElement:h,prefixCls:m,id:v,values:y,inputRef:b,disabled:$,autofocus:x,autocomplete:_,activeDescendantId:w,open:I,tabindex:O,optionLabelRender:P,onInputKeyDown:E,onInputMouseDown:R,onInputChange:A,onInputPaste:N,onInputCompositionStart:F,onInputCompositionEnd:W}=e,D=y[0];let B=null;if(D&&i.customSlots){const k=(c=D.key)!==null&&c!==void 0?c:D.value,L=((u=i.keyEntities[k])===null||u===void 0?void 0:u.node)||{};B=i.customSlots[(d=L.slots)===null||d===void 0?void 0:d.title]||i.customSlots.title||D.label,typeof B=="function"&&(B=B(L))}else B=P&&D?P(D.option):D==null?void 0:D.label;return g(Je,null,[g("span",{class:`${m}-selection-search`},[g(bk,{inputRef:b,prefixCls:m,id:v,open:I,inputElement:h,disabled:$,autofocus:x,autocomplete:_,editable:o.value,activeDescendantId:w,value:r.value,onKeydown:E,onMousedown:R,onChange:k=>{t.value=!0,A(k)},onPaste:N,onCompositionstart:F,onCompositionend:W,tabindex:O,attrs:As(e,!0)},null)]),!n.value&&D&&!a.value&&g("span",{class:`${m}-selection-item`,title:l.value},[g(Je,{key:(f=D.key)!==null&&f!==void 0?f:D.value},[B])]),s()])}}});o_.props=Hle;o_.inheritAttrs=!1;const zle=o_;function jle(e){return![Fe.ESC,Fe.SHIFT,Fe.BACKSPACE,Fe.TAB,Fe.WIN_KEY,Fe.ALT,Fe.META,Fe.WIN_KEY_RIGHT,Fe.CTRL,Fe.SEMICOLON,Fe.EQUALS,Fe.CAPS_LOCK,Fe.CONTEXT_MENU,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12].includes(e)}function xk(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;Ct(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function uh(){const e=t=>{e.current=t};return e}const Wle=pe({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:Z.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:Z.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:Z.oneOfType([Z.number,Z.string]),disabled:{type:Boolean,default:void 0},placeholder:Z.any,removeIcon:Z.any,maxTagCount:Z.oneOfType([Z.number,Z.string]),maxTagTextLength:Number,maxTagPlaceholder:Z.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=uh();let r=!1;const[i,a]=xk(0),l=b=>{const{which:$}=b;($===Fe.UP||$===Fe.DOWN)&&b.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(b),$===Fe.ENTER&&e.mode==="tags"&&!r&&!e.open&&e.onSearchSubmit(b.target.value),jle($)&&e.onToggleOpen(!0)},s=()=>{a(!0)};let c=null;const u=b=>{e.onSearch(b,!0,r)!==!1&&e.onToggleOpen(!0)},d=()=>{r=!0},f=b=>{r=!1,e.mode!=="combobox"&&u(b.target.value)},h=b=>{let{target:{value:$}}=b;if(e.tokenWithEnter&&c&&/[\r\n]/.test(c)){const x=c.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$=$.replace(x,c)}c=null,u($)},m=b=>{const{clipboardData:$}=b;c=$.getData("text")},v=b=>{let{target:$}=b;$!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},y=b=>{const $=i();b.target!==o.current&&!$&&b.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!$)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:b,domRef:$,mode:x}=e,_={inputRef:o,onInputKeyDown:l,onInputMouseDown:s,onInputChange:h,onInputPaste:m,onInputCompositionStart:d,onInputCompositionEnd:f},w=x==="multiple"||x==="tags"?g(Fle,V(V({},e),_),null):g(zle,V(V({},e),_),null);return g("div",{ref:$,class:`${b}-selector`,onClick:v,onMousedown:y},[w])}}}),Vle=Wle;function Kle(e,t,n){function o(r){var i,a,l;let s=r.target;s.shadowRoot&&r.composed&&(s=r.composedPath()[0]||s);const c=[(i=e[0])===null||i===void 0?void 0:i.value,(l=(a=e[1])===null||a===void 0?void 0:a.value)===null||l===void 0?void 0:l.getPopupElement()];t.value&&c.every(u=>u&&!u.contains(s)&&u!==s)&&n(!1)}lt(()=>{window.addEventListener("mousedown",o)}),Ct(()=>{window.removeEventListener("mousedown",o)})}function Ule(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=ve(!1);let n;const o=()=>{clearTimeout(n)};return lt(()=>{o()}),[t,(i,a)=>{o(),n=setTimeout(()=>{t.value=i,a&&a()},e)},o]}const wk=Symbol("BaseSelectContextKey");function Gle(e){return ft(wk,e)}function zh(){return it(wk,{})}const r_=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function v0(e){if(!Wn(e))return St(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return St(t)}var Yle=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Xle=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],qle=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:Z.any,emptyOptions:Boolean}),ay=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:Z.any,placeholder:Z.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:Z.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:Z.any,clearIcon:Z.any,removeIcon:Z.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),Zle=()=>S(S({},qle()),ay());function _k(e){return e==="tags"||e==="multiple"}const i_=pe({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:bt(Zle(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=M(()=>_k(e.mode)),a=M(()=>e.showSearch!==void 0?e.showSearch:i.value||e.mode==="combobox"),l=ve(!1);lt(()=>{l.value=r_()});const s=iy(),c=ve(null),u=uh(),d=ve(null),f=ve(null),h=ve(null),m=he(!1),[v,y,b]=Ule();o({focus:()=>{var X;(X=f.value)===null||X===void 0||X.focus()},blur:()=>{var X;(X=f.value)===null||X===void 0||X.blur()},scrollTo:X=>{var ue;return(ue=h.value)===null||ue===void 0?void 0:ue.scrollTo(X)}});const _=M(()=>{var X;if(e.mode!=="combobox")return e.searchValue;const ue=(X=e.displayValues[0])===null||X===void 0?void 0:X.value;return typeof ue=="string"||typeof ue=="number"?String(ue):""}),w=e.open!==void 0?e.open:e.defaultOpen,I=ve(w),O=ve(w),P=X=>{I.value=e.open!==void 0?e.open:X,O.value=I.value};Ie(()=>e.open,()=>{P(e.open)});const E=M(()=>!e.notFoundContent&&e.emptyOptions);ct(()=>{O.value=I.value,(e.disabled||E.value&&O.value&&e.mode==="combobox")&&(O.value=!1)});const R=M(()=>E.value?!1:O.value),A=X=>{const ue=X!==void 0?X:!O.value;O.value!==ue&&!e.disabled&&(P(ue),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(ue))},N=M(()=>(e.tokenSeparators||[]).some(X=>[`
+`,`\r
+`].includes(X))),F=(X,ue,ye)=>{var H,j;let q=!0,se=X;(H=e.onActiveValueChange)===null||H===void 0||H.call(e,null);const ae=ye?null:Voe(X,e.tokenSeparators);return e.mode!=="combobox"&&ae&&(se="",(j=e.onSearchSplit)===null||j===void 0||j.call(e,ae),A(!1),q=!1),e.onSearch&&_.value!==se&&e.onSearch(se,{source:ue?"typing":"effect"}),q},W=X=>{var ue;!X||!X.trim()||(ue=e.onSearch)===null||ue===void 0||ue.call(e,X,{source:"submit"})};Ie(O,()=>{!O.value&&!i.value&&e.mode!=="combobox"&&F("",!1,!1)},{immediate:!0,flush:"post"}),Ie(()=>e.disabled,()=>{I.value&&e.disabled&&P(!1),e.disabled&&!m.value&&y(!1)},{immediate:!0});const[D,B]=xk(),k=function(X){var ue;const ye=D(),{which:H}=X;if(H===Fe.ENTER&&(e.mode!=="combobox"&&X.preventDefault(),O.value||A(!0)),B(!!_.value),H===Fe.BACKSPACE&&!ye&&i.value&&!_.value&&e.displayValues.length){const ae=[...e.displayValues];let ge=null;for(let Se=ae.length-1;Se>=0;Se-=1){const $e=ae[Se];if(!$e.disabled){ae.splice(Se,1),ge=$e;break}}ge&&e.onDisplayValuesChange(ae,{type:"remove",values:[ge]})}for(var j=arguments.length,q=new Array(j>1?j-1:0),se=1;se<j;se++)q[se-1]=arguments[se];O.value&&h.value&&h.value.onKeydown(X,...q),(ue=e.onKeydown)===null||ue===void 0||ue.call(e,X,...q)},L=function(X){for(var ue=arguments.length,ye=new Array(ue>1?ue-1:0),H=1;H<ue;H++)ye[H-1]=arguments[H];O.value&&h.value&&h.value.onKeyup(X,...ye),e.onKeyup&&e.onKeyup(X,...ye)},z=X=>{const ue=e.displayValues.filter(ye=>ye!==X);e.onDisplayValuesChange(ue,{type:"remove",values:[X]})},K=ve(!1),G=function(){y(!0),e.disabled||(e.onFocus&&!K.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&A(!0)),K.value=!0},Y=he(!1),ne=function(){if(Y.value||(m.value=!0,y(!1,()=>{K.value=!1,m.value=!1,A(!1)}),e.disabled))return;const X=_.value;X&&(e.mode==="tags"?e.onSearch(X,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},re=()=>{Y.value=!0},J=()=>{Y.value=!1};ft("VCSelectContainerEvent",{focus:G,blur:ne});const te=[];lt(()=>{te.forEach(X=>clearTimeout(X)),te.splice(0,te.length)}),Ct(()=>{te.forEach(X=>clearTimeout(X)),te.splice(0,te.length)});const ee=function(X){var ue,ye;const{target:H}=X,j=(ue=d.value)===null||ue===void 0?void 0:ue.getPopupElement();if(j&&j.contains(H)){const ge=setTimeout(()=>{var Se;const $e=te.indexOf(ge);$e!==-1&&te.splice($e,1),b(),!l.value&&!j.contains(document.activeElement)&&((Se=f.value)===null||Se===void 0||Se.focus())});te.push(ge)}for(var q=arguments.length,se=new Array(q>1?q-1:0),ae=1;ae<q;ae++)se[ae-1]=arguments[ae];(ye=e.onMousedown)===null||ye===void 0||ye.call(e,X,...se)},fe=ve(null),ie=()=>{};return lt(()=>{Ie(R,()=>{var X;if(R.value){const ue=Math.ceil((X=c.value)===null||X===void 0?void 0:X.offsetWidth);fe.value!==ue&&!Number.isNaN(ue)&&(fe.value=ue)}},{immediate:!0,flush:"post"})}),Kle([c,d],R,A),Gle(v0(S(S({},oa(e)),{open:O,triggerOpen:R,showSearch:a,multiple:i,toggleOpen:A}))),()=>{const X=S(S({},e),n),{prefixCls:ue,id:ye,open:H,defaultOpen:j,mode:q,showSearch:se,searchValue:ae,onSearch:ge,allowClear:Se,clearIcon:$e,showArrow:_e,inputIcon:be,disabled:Te,loading:Pe,getInputElement:oe,getPopupContainer:le,placement:xe,animation:Ae,transitionName:Be,dropdownStyle:Ye,dropdownClassName:Re,dropdownMatchSelectWidth:Le,dropdownRender:Ne,dropdownAlign:Ke,showAction:Ze,direction:Ue,tokenSeparators:Xe,tagRender:xt,optionLabelRender:Mt,onPopupScroll:Ft,onDropdownVisibleChange:jt,onFocus:Yt,onBlur:Vn,onKeyup:Gn,onKeydown:oo,onMousedown:kn,onClear:yo,omitDomProps:Yo,getRawInputElement:wr,displayValues:Ur,onDisplayValuesChange:Ao,emptyOptions:za,activeDescendantId:We,activeValue:gt,OptionList:ut}=X,un=Yle(X,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Yn=q==="combobox"&&oe&&oe()||null,Bn=typeof wr=="function"&&wr(),Xo=S({},un);let So;Bn&&(So=Zo=>{A(Zo)}),Xle.forEach(Zo=>{delete Xo[Zo]}),Yo==null||Yo.forEach(Zo=>{delete Xo[Zo]});const hi=_e!==void 0?_e:Pe||!i.value&&q!=="combobox";let qo;hi&&(qo=g(g0,{class:me(`${ue}-arrow`,{[`${ue}-arrow-loading`]:Pe}),customizeIcon:be,customizeIconProps:{loading:Pe,searchValue:_.value,open:O.value,focused:v.value,showSearch:a.value}},null));let _r;const Cn=()=>{yo==null||yo(),Ao([],{type:"clear",values:Ur}),F("",!1,!1)};!Te&&Se&&(Ur.length||_.value)&&(_r=g(g0,{class:`${ue}-clear`,onMousedown:Cn,customizeIcon:$e},{default:()=>[Do("×")]}));const Gr=g(ut,{ref:h},S(S({},s.customSlots),{option:r.option})),Or=me(ue,n.class,{[`${ue}-focused`]:v.value,[`${ue}-multiple`]:i.value,[`${ue}-single`]:!i.value,[`${ue}-allow-clear`]:Se,[`${ue}-show-arrow`]:hi,[`${ue}-disabled`]:Te,[`${ue}-loading`]:Pe,[`${ue}-open`]:O.value,[`${ue}-customize-input`]:Yn,[`${ue}-show-search`]:a.value}),pa=g(Sle,{ref:d,disabled:Te,prefixCls:ue,visible:R.value,popupElement:Gr,containerWidth:fe.value,animation:Ae,transitionName:Be,dropdownStyle:Ye,dropdownClassName:Re,direction:Ue,dropdownMatchSelectWidth:Le,dropdownRender:Ne,dropdownAlign:Ke,placement:xe,getPopupContainer:le,empty:za,getTriggerDOMNode:()=>u.current,onPopupVisibleChange:So,onPopupMouseEnter:ie,onPopupFocusin:re,onPopupFocusout:J},{default:()=>Bn?Jn(Bn)&&Gt(Bn,{ref:u},!1,!0):g(Vle,V(V({},e),{},{domRef:u,prefixCls:ue,inputElement:Yn,ref:f,id:ye,showSearch:a.value,mode:q,activeDescendantId:We,tagRender:xt,optionLabelRender:Mt,values:Ur,open:O.value,onToggleOpen:A,activeValue:gt,searchValue:_.value,onSearch:F,onSearchSubmit:W,onRemove:z,tokenWithEnter:N.value}),null)});let ha;return Bn?ha=pa:ha=g("div",V(V({},Xo),{},{class:Or,ref:c,onMousedown:ee,onKeydown:k,onKeyup:L}),[v.value&&!O.value&&g("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Ur.map(Zo=>{let{label:Ll,value:Qo}=Zo;return["number","string"].includes(typeof Ll)?Ll:Qo}).join(", ")}`]),pa,qo,_r]),ha}}}),ly=(e,t)=>{let{height:n,offset:o,prefixCls:r,onInnerResize:i}=e,{slots:a}=t;var l;let s={},c={display:"flex",flexDirection:"column"};return o!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},c=S(S({},c),{transform:`translateY(${o}px)`,position:"absolute",left:0,right:0,top:0})),g("div",{style:s},[g(ki,{onResize:u=>{let{offsetHeight:d}=u;d&&i&&i()}},{default:()=>[g("div",{style:c,class:me({[`${r}-holder-inner`]:r})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};ly.displayName="Filter";ly.inheritAttrs=!1;ly.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const Qle=ly,Ok=(e,t)=>{let{setRef:n}=e,{slots:o}=t;var r;const i=ln((r=o.default)===null||r===void 0?void 0:r.call(o));return i&&i.length?ko(i[0],{ref:n}):i};Ok.props={setRef:{type:Function,default:()=>{}}};const Jle=Ok,ese=20;function PA(e){return"touches"in e?e.touches[0].pageY:e.pageY}const tse=pe({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:uh(),thumbRef:uh(),visibleTimeout:null,state:St({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,fo?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,fo?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,fo?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,fo?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,fo?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,fo?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),mt.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;S(this.state,{dragging:!0,pageY:PA(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:o}=this.state,{onScroll:r}=this.$props;if(mt.cancel(this.moveRaf),t){const i=PA(e)-n,a=o+i,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),c=s?a/s:0,u=Math.ceil(c*l);this.moveRaf=mt(()=>{r(u)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,ese),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,o=this.getSpinHeight()+"px",r=this.getTop()+"px",i=this.showScroll(),a=i&&t;return g("div",{ref:this.scrollbarRef,class:me(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:i}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[g("div",{ref:this.thumbRef,class:me(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:o,top:r,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function nse(e,t,n,o){const r=new Map,i=new Map,a=he(Symbol("update"));Ie(e,()=>{a.value=Symbol("update")});let l;function s(){mt.cancel(l)}function c(){s(),l=mt(()=>{r.forEach((d,f)=>{if(d&&d.offsetParent){const{offsetHeight:h}=d;i.get(f)!==h&&(a.value=Symbol("update"),i.set(f,d.offsetHeight))}})})}function u(d,f){const h=t(d),m=r.get(h);f?(r.set(h,f.$el||f),c()):r.delete(h),!m!=!f&&(f?n==null||n(d):o==null||o(d))}return Fo(()=>{s()}),[u,c,i,a]}function ose(e,t,n,o,r,i,a,l){let s;return c=>{if(c==null){l();return}mt.cancel(s);const u=t.value,d=o.itemHeight;if(typeof c=="number")a(c);else if(c&&typeof c=="object"){let f;const{align:h}=c;"index"in c?{index:f}=c:f=u.findIndex(y=>r(y)===c.key);const{offset:m=0}=c,v=(y,b)=>{if(y<0||!e.value)return;const $=e.value.clientHeight;let x=!1,_=b;if($){const w=b||h;let I=0,O=0,P=0;const E=Math.min(u.length,f);for(let N=0;N<=E;N+=1){const F=r(u[N]);O=I;const W=n.get(F);P=O+(W===void 0?d:W),I=P,N===f&&W===void 0&&(x=!0)}const R=e.value.scrollTop;let A=null;switch(w){case"top":A=O-m;break;case"bottom":A=P-$+m;break;default:{const N=R+$;O<R?_="top":P>N&&(_="bottom")}}A!==null&&A!==R&&a(A)}s=mt(()=>{x&&i(),v(y-1,_)},2)};v(5)}}}const rse=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),Ik=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o),n=!0,o=setTimeout(()=>{n=!1},50)}return function(i){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=i<0&&e.value||i>0&&t.value;return a&&l?(clearTimeout(o),n=!1):(!l||n)&&r(),!n&&l}};function ise(e,t,n,o){let r=0,i=null,a=null,l=!1;const s=Ik(t,n);function c(d){if(!e.value)return;mt.cancel(i);const{deltaY:f}=d;r+=f,a=f,!s(f)&&(rse||d.preventDefault(),i=mt(()=>{o(r*(l?10:1)),r=0}))}function u(d){e.value&&(l=d.detail===a)}return[c,u]}const ase=14/15;function lse(e,t,n){let o=!1,r=0,i=null,a=null;const l=()=>{i&&(i.removeEventListener("touchmove",s),i.removeEventListener("touchend",c))},s=f=>{if(o){const h=Math.ceil(f.touches[0].pageY);let m=r-h;r=h,n(m)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{m*=ase,(!n(m,!0)||Math.abs(m)<=.1)&&clearInterval(a)},16)}},c=()=>{o=!1,l()},u=f=>{l(),f.touches.length===1&&!o&&(o=!0,r=Math.ceil(f.touches[0].pageY),i=f.target,i.addEventListener("touchmove",s,{passive:!1}),i.addEventListener("touchend",c))},d=()=>{};lt(()=>{document.addEventListener("touchmove",d,{passive:!1}),Ie(e,f=>{t.value.removeEventListener("touchstart",u),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",u,{passive:!1})},{immediate:!0})}),Ct(()=>{document.removeEventListener("touchmove",d)})}var sse=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const cse=[],use={overflowY:"auto",overflowAnchor:"none"};function dse(e,t,n,o,r,i){let{getKey:a}=i;return e.slice(t,n+1).map((l,s)=>{const c=t+s,u=r(l,c,{}),d=a(l);return g(Jle,{key:d,setRef:f=>o(l,f)},{default:()=>[u]})})}const fse=pe({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:Z.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const o=M(()=>{const{height:z,itemHeight:K,virtual:G}=e;return!!(G!==!1&&z&&K)}),r=M(()=>{const{height:z,itemHeight:K,data:G}=e;return o.value&&G&&K*G.length>z}),i=St({scrollTop:0,scrollMoving:!1}),a=M(()=>e.data||cse),l=ve([]);Ie(a,()=>{l.value=$t(a.value).slice()},{immediate:!0});const s=ve(z=>{});Ie(()=>e.itemKey,z=>{typeof z=="function"?s.value=z:s.value=K=>K==null?void 0:K[z]},{immediate:!0});const c=ve(),u=ve(),d=ve(),f=z=>s.value(z),h={getKey:f};function m(z){let K;typeof z=="function"?K=z(i.scrollTop):K=z;const G=I(K);c.value&&(c.value.scrollTop=G),i.scrollTop=G}const[v,y,b,$]=nse(l,f,null,null),x=St({scrollHeight:void 0,start:0,end:0,offset:void 0}),_=ve(0);lt(()=>{wt(()=>{var z;_.value=((z=u.value)===null||z===void 0?void 0:z.offsetHeight)||0})}),fr(()=>{wt(()=>{var z;_.value=((z=u.value)===null||z===void 0?void 0:z.offsetHeight)||0})}),Ie([o,l],()=>{o.value||S(x,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),Ie([o,l,_,r],()=>{o.value&&!r.value&&S(x,{scrollHeight:_.value,start:0,end:l.value.length-1,offset:void 0}),c.value&&(i.scrollTop=c.value.scrollTop)},{immediate:!0}),Ie([r,o,()=>i.scrollTop,l,$,()=>e.height,_],()=>{if(!o.value||!r.value)return;let z=0,K,G,Y;const ne=l.value.length,re=l.value,J=i.scrollTop,{itemHeight:te,height:ee}=e,fe=J+ee;for(let ie=0;ie<ne;ie+=1){const X=re[ie],ue=f(X);let ye=b.get(ue);ye===void 0&&(ye=te);const H=z+ye;K===void 0&&H>=J&&(K=ie,G=z),Y===void 0&&H>fe&&(Y=ie),z=H}K===void 0&&(K=0,G=0,Y=Math.ceil(ee/te)),Y===void 0&&(Y=ne-1),Y=Math.min(Y+1,ne),S(x,{scrollHeight:z,start:K,end:Y,offset:G})},{immediate:!0});const w=M(()=>x.scrollHeight-e.height);function I(z){let K=z;return Number.isNaN(w.value)||(K=Math.min(K,w.value)),K=Math.max(K,0),K}const O=M(()=>i.scrollTop<=0),P=M(()=>i.scrollTop>=w.value),E=Ik(O,P);function R(z){m(z)}function A(z){var K;const{scrollTop:G}=z.currentTarget;G!==i.scrollTop&&m(G),(K=e.onScroll)===null||K===void 0||K.call(e,z)}const[N,F]=ise(o,O,P,z=>{m(K=>K+z)});lse(o,c,(z,K)=>E(z,K)?!1:(N({preventDefault(){},deltaY:z}),!0));function W(z){o.value&&z.preventDefault()}const D=()=>{c.value&&(c.value.removeEventListener("wheel",N,fo?{passive:!1}:!1),c.value.removeEventListener("DOMMouseScroll",F),c.value.removeEventListener("MozMousePixelScroll",W))};ct(()=>{wt(()=>{c.value&&(D(),c.value.addEventListener("wheel",N,fo?{passive:!1}:!1),c.value.addEventListener("DOMMouseScroll",F),c.value.addEventListener("MozMousePixelScroll",W))})}),Ct(()=>{D()});const B=ose(c,l,b,e,f,y,m,()=>{var z;(z=d.value)===null||z===void 0||z.delayHidden()});n({scrollTo:B});const k=M(()=>{let z=null;return e.height&&(z=S({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},use),o.value&&(z.overflowY="hidden",i.scrollMoving&&(z.pointerEvents="none"))),z});return Ie([()=>x.start,()=>x.end,l],()=>{if(e.onVisibleChange){const z=l.value.slice(x.start,x.end+1);e.onVisibleChange(z,l.value)}},{flush:"post"}),{state:i,mergedData:l,componentStyle:k,onFallbackScroll:A,onScrollBar:R,componentRef:c,useVirtual:o,calRes:x,collectHeight:y,setInstance:v,sharedConfig:h,scrollBarRef:d,fillerInnerRef:u,delayHideScrollBar:()=>{var z;(z=d.value)===null||z===void 0||z.delayHidden()}}},render(){const e=S(S({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:o,fullHeight:r,data:i,itemKey:a,virtual:l,component:s="div",onScroll:c,children:u=this.$slots.default,style:d,class:f}=e,h=sse(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),m=me(t,f),{scrollTop:v}=this.state,{scrollHeight:y,offset:b,start:$,end:x}=this.calRes,{componentStyle:_,onFallbackScroll:w,onScrollBar:I,useVirtual:O,collectHeight:P,sharedConfig:E,setInstance:R,mergedData:A,delayHideScrollBar:N}=this;return g("div",V({style:S(S({},d),{position:"relative"}),class:m},h),[g(s,{class:`${t}-holder`,style:_,ref:"componentRef",onScroll:w,onMouseenter:N},{default:()=>[g(Qle,{prefixCls:t,height:y,offset:b,onInnerResize:P,ref:"fillerInnerRef"},{default:()=>dse(A,$,x,R,u,E)})]}),O&&g(tse,{ref:"scrollBarRef",prefixCls:t,scrollTop:v,height:n,scrollHeight:y,count:A.length,onScroll:I,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}}),Pk=fse;function a_(e,t,n){const o=he(e());return Ie(t,(r,i)=>{n?n(r,i)&&(o.value=e()):o.value=e()}),o}function pse(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const Tk=Symbol("SelectContextKey");function hse(e){return ft(Tk,e)}function gse(){return it(Tk,{})}var vse=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function TA(e){return typeof e=="string"||typeof e=="number"}const mse=pe({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{expose:n,slots:o}=t;const r=zh(),i=gse(),a=M(()=>`${r.prefixCls}-item`),l=a_(()=>i.flattenOptions,[()=>r.open,()=>i.flattenOptions],w=>w[0]),s=uh(),c=w=>{w.preventDefault()},u=w=>{s.current&&s.current.scrollTo(typeof w=="number"?{index:w}:w)},d=function(w){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const O=l.value.length;for(let P=0;P<O;P+=1){const E=(w+P*I+O)%O,{group:R,data:A}=l.value[E];if(!R&&!A.disabled)return E}return-1},f=St({activeIndex:d(0)}),h=function(w){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;f.activeIndex=w;const O={source:I?"keyboard":"mouse"},P=l.value[w];if(!P){i.onActiveValue(null,-1,O);return}i.onActiveValue(P.value,w,O)};Ie([()=>l.value.length,()=>r.searchValue],()=>{h(i.defaultActiveFirstOption!==!1?d(0):-1)},{immediate:!0});const m=w=>i.rawValues.has(w)&&r.mode!=="combobox";Ie([()=>r.open,()=>r.searchValue],()=>{if(!r.multiple&&r.open&&i.rawValues.size===1){const w=Array.from(i.rawValues)[0],I=$t(l.value).findIndex(O=>{let{data:P}=O;return P[i.fieldNames.value]===w});I!==-1&&(h(I),wt(()=>{u(I)}))}r.open&&wt(()=>{var w;(w=s.current)===null||w===void 0||w.scrollTo(void 0)})},{immediate:!0,flush:"post"});const v=w=>{w!==void 0&&i.onSelect(w,{selected:!i.rawValues.has(w)}),r.multiple||r.toggleOpen(!1)},y=w=>typeof w.label=="function"?w.label():w.label;function b(w){const I=l.value[w];if(!I)return null;const O=I.data||{},{value:P}=O,{group:E}=I,R=As(O,!0),A=y(I);return I?g("div",V(V({"aria-label":typeof A=="string"&&!E?A:null},R),{},{key:w,role:E?"presentation":"option",id:`${r.id}_list_${w}`,"aria-selected":m(P)}),[P]):null}return n({onKeydown:w=>{const{which:I,ctrlKey:O}=w;switch(I){case Fe.N:case Fe.P:case Fe.UP:case Fe.DOWN:{let P=0;if(I===Fe.UP?P=-1:I===Fe.DOWN?P=1:pse()&&O&&(I===Fe.N?P=1:I===Fe.P&&(P=-1)),P!==0){const E=d(f.activeIndex+P,P);u(E),h(E,!0)}break}case Fe.ENTER:{const P=l.value[f.activeIndex];P&&!P.data.disabled?v(P.value):v(void 0),r.open&&w.preventDefault();break}case Fe.ESC:r.toggleOpen(!1),r.open&&w.stopPropagation()}},onKeyup:()=>{},scrollTo:w=>{u(w)}}),()=>{const{id:w,notFoundContent:I,onPopupScroll:O}=r,{menuItemSelectedIcon:P,fieldNames:E,virtual:R,listHeight:A,listItemHeight:N}=i,F=o.option,{activeIndex:W}=f,D=Object.keys(E).map(B=>E[B]);return l.value.length===0?g("div",{role:"listbox",id:`${w}_list`,class:`${a.value}-empty`,onMousedown:c},[I]):g(Je,null,[g("div",{role:"listbox",id:`${w}_list`,style:{height:0,width:0,overflow:"hidden"}},[b(W-1),b(W),b(W+1)]),g(Pk,{itemKey:"key",ref:s,data:l.value,height:A,itemHeight:N,fullHeight:!1,onMousedown:c,onScroll:O,virtual:R},{default:(B,k)=>{var L;const{group:z,groupOption:K,data:G,value:Y}=B,{key:ne}=G,re=typeof B.label=="function"?B.label():B.label;if(z){const $e=(L=G.title)!==null&&L!==void 0?L:TA(re)&&re;return g("div",{class:me(a.value,`${a.value}-group`),title:$e},[F?F(G):re!==void 0?re:ne])}const{disabled:J,title:te,children:ee,style:fe,class:ie,className:X}=G,ue=vse(G,["disabled","title","children","style","class","className"]),ye=_t(ue,D),H=m(Y),j=`${a.value}-option`,q=me(a.value,j,ie,X,{[`${j}-grouped`]:K,[`${j}-active`]:W===k&&!J,[`${j}-disabled`]:J,[`${j}-selected`]:H}),se=y(B),ae=!P||typeof P=="function"||H,ge=typeof se=="number"?se:se||Y;let Se=TA(ge)?ge.toString():void 0;return te!==void 0&&(Se=te),g("div",V(V({},ye),{},{"aria-selected":H,class:q,title:Se,onMousemove:$e=>{ue.onMousemove&&ue.onMousemove($e),!(W===k||J)&&h(k)},onClick:$e=>{J||v(Y),ue.onClick&&ue.onClick($e)},style:fe}),[g("div",{class:`${j}-content`},[F?F(G):ge]),Jn(P)||H,ae&&g(g0,{class:`${a.value}-option-state`,customizeIcon:P,customizeIconProps:{isSelected:H}},{default:()=>[H?"✓":null]})])}})])}}}),bse=mse;var yse=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Sse(e){const t=e,{key:n,children:o}=t,r=t.props,{value:i,disabled:a}=r,l=yse(r,["value","disabled"]),s=o==null?void 0:o.default;return S({key:n,value:i!==void 0?i:n,children:s,disabled:a||a===""},l)}function Ek(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ln(e).map((o,r)=>{var i;if(!Jn(o)||!o.type)return null;const{type:{isSelectOptGroup:a},key:l,children:s,props:c}=o;if(t||!a)return Sse(o);const u=s&&s.default?s.default():void 0,d=(c==null?void 0:c.label)||((i=s.label)===null||i===void 0?void 0:i.call(s))||l;return S(S({key:`__RC_SELECT_GRP__${l===null?r:String(l)}__`},c),{label:d,options:Ek(u||[])})}).filter(o=>o)}function Cse(e,t,n){const o=ve(),r=ve(),i=ve(),a=ve([]);return Ie([e,t],()=>{e.value?a.value=$t(e.value).slice():a.value=Ek(t.value)},{immediate:!0,deep:!0}),ct(()=>{const l=a.value,s=new Map,c=new Map,u=n.value;function d(f){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let m=0;m<f.length;m+=1){const v=f[m];!v[u.options]||h?(s.set(v[u.value],v),c.set(v[u.label],v)):d(v[u.options],!0)}}d(l),o.value=l,r.value=s,i.value=c}),{options:o,valueOptions:r,labelOptions:i}}let EA=0;const $se=ur();function xse(){let e;return $se?(e=EA,EA+=1):e="TEST_OR_SSR",e}function l_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:he("");const t=`rc_select_${xse()}`;return e.value||t}function Ak(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function oC(e,t){return Ak(e).join("").toUpperCase().includes(t)}const wse=(e,t,n,o,r)=>M(()=>{const i=n.value,a=r==null?void 0:r.value,l=o==null?void 0:o.value;if(!i||l===!1)return e.value;const{options:s,label:c,value:u}=t.value,d=[],f=typeof l=="function",h=i.toUpperCase(),m=f?l:(y,b)=>a?oC(b[a],h):b[s]?oC(b[c!=="children"?c:"label"],h):oC(b[u],h),v=f?y=>ox(y):y=>y;return e.value.forEach(y=>{if(y[s]){if(m(i,v(y)))d.push(y);else{const $=y[s].filter(x=>m(i,v(x)));$.length&&d.push(S(S({},y),{[s]:$}))}return}m(i,v(y))&&d.push(y)}),d}),_se=(e,t)=>{const n=ve({values:new Map,options:new Map});return[M(()=>{const{values:i,options:a}=n.value,l=e.value.map(u=>{var d;return u.label===void 0?S(S({},u),{label:(d=i.get(u.value))===null||d===void 0?void 0:d.label}):u}),s=new Map,c=new Map;return l.forEach(u=>{s.set(u.value,u),c.set(u.value,t.value.get(u.value)||a.get(u.value))}),n.value.values=s,n.value.options=c,l}),i=>t.value.get(i)||n.value.options.get(i)]};function yn(e,t){const{defaultValue:n,value:o=he()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=It(o)),n!==void 0&&(r=typeof n=="function"?n():n);const i=he(r),a=he(r);ct(()=>{let s=o.value!==void 0?o.value:i.value;t.postState&&(s=t.postState(s)),a.value=s});function l(s){const c=a.value;i.value=s,$t(a.value)!==s&&t.onChange&&t.onChange(s,c)}return Ie(o,()=>{i.value=o.value}),[a,l]}function nn(e){const t=typeof e=="function"?e():e,n=he(t);function o(r){n.value=r}return[n,o]}const Ose=["inputValue"];function Mk(){return S(S({},ay()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:Z.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:Z.any,defaultValue:Z.any,onChange:Function,children:Array})}function Ise(e){return!e||typeof e!="object"}const Pse=pe({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:bt(Mk(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:o,slots:r}=t;const i=l_(st(e,"id")),a=M(()=>_k(e.mode)),l=M(()=>!!(!e.options&&e.children)),s=M(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),c=M(()=>U7(e.fieldNames,l.value)),[u,d]=yn("",{value:M(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:ie=>ie||""}),f=Cse(st(e,"options"),st(e,"children"),c),{valueOptions:h,labelOptions:m,options:v}=f,y=ie=>Ak(ie).map(ue=>{var ye,H;let j,q,se,ae;Ise(ue)?j=ue:(se=ue.key,q=ue.label,j=(ye=ue.value)!==null&&ye!==void 0?ye:se);const ge=h.value.get(j);return ge&&(q===void 0&&(q=ge==null?void 0:ge[e.optionLabelProp||c.value.label]),se===void 0&&(se=(H=ge==null?void 0:ge.key)!==null&&H!==void 0?H:j),ae=ge==null?void 0:ge.disabled),{label:q,value:j,key:se,disabled:ae,option:ge}}),[b,$]=yn(e.defaultValue,{value:st(e,"value")}),x=M(()=>{var ie;const X=y(b.value);return e.mode==="combobox"&&!(!((ie=X[0])===null||ie===void 0)&&ie.value)?[]:X}),[_,w]=_se(x,h),I=M(()=>{if(!e.mode&&_.value.length===1){const ie=_.value[0];if(ie.value===null&&(ie.label===null||ie.label===void 0))return[]}return _.value.map(ie=>{var X;return S(S({},ie),{label:(X=typeof ie.label=="function"?ie.label():ie.label)!==null&&X!==void 0?X:ie.value})})}),O=M(()=>new Set(_.value.map(ie=>ie.value)));ct(()=>{var ie;if(e.mode==="combobox"){const X=(ie=_.value[0])===null||ie===void 0?void 0:ie.value;X!=null&&d(String(X))}},{flush:"post"});const P=(ie,X)=>{const ue=X??ie;return{[c.value.value]:ie,[c.value.label]:ue}},E=ve();ct(()=>{if(e.mode!=="tags"){E.value=v.value;return}const ie=v.value.slice(),X=ue=>h.value.has(ue);[..._.value].sort((ue,ye)=>ue.value<ye.value?-1:1).forEach(ue=>{const ye=ue.value;X(ye)||ie.push(P(ye,ue.label))}),E.value=ie});const R=wse(E,c,u,s,st(e,"optionFilterProp")),A=M(()=>e.mode!=="tags"||!u.value||R.value.some(ie=>ie[e.optionFilterProp||"value"]===u.value)?R.value:[P(u.value),...R.value]),N=M(()=>e.filterSort?[...A.value].sort((ie,X)=>e.filterSort(ie,X)):A.value),F=M(()=>Woe(N.value,{fieldNames:c.value,childrenAsData:l.value})),W=ie=>{const X=y(ie);if($(X),e.onChange&&(X.length!==_.value.length||X.some((ue,ye)=>{var H;return((H=_.value[ye])===null||H===void 0?void 0:H.value)!==(ue==null?void 0:ue.value)}))){const ue=e.labelInValue?X.map(H=>S(S({},H),{originLabel:H.label,label:typeof H.label=="function"?H.label():H.label})):X.map(H=>H.value),ye=X.map(H=>ox(w(H.value)));e.onChange(a.value?ue:ue[0],a.value?ye:ye[0])}},[D,B]=nn(null),[k,L]=nn(0),z=M(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),K=function(ie,X){let{source:ue="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L(X),e.backfill&&e.mode==="combobox"&&ie!==null&&ue==="keyboard"&&B(String(ie))},G=(ie,X)=>{const ue=()=>{var ye;const H=w(ie),j=H==null?void 0:H[c.value.label];return[e.labelInValue?{label:typeof j=="function"?j():j,originLabel:j,value:ie,key:(ye=H==null?void 0:H.key)!==null&&ye!==void 0?ye:ie}:ie,ox(H)]};if(X&&e.onSelect){const[ye,H]=ue();e.onSelect(ye,H)}else if(!X&&e.onDeselect){const[ye,H]=ue();e.onDeselect(ye,H)}},Y=(ie,X)=>{let ue;const ye=a.value?X.selected:!0;ye?ue=a.value?[..._.value,ie]:[ie]:ue=_.value.filter(H=>H.value!==ie),W(ue),G(ie,ye),e.mode==="combobox"?B(""):(!a.value||e.autoClearSearchValue)&&(d(""),B(""))},ne=(ie,X)=>{W(ie),(X.type==="remove"||X.type==="clear")&&X.values.forEach(ue=>{G(ue.value,!1)})},re=(ie,X)=>{var ue;if(d(ie),B(null),X.source==="submit"){const ye=(ie||"").trim();if(ye){const H=Array.from(new Set([...O.value,ye]));W(H),G(ye,!0),d("")}return}X.source!=="blur"&&(e.mode==="combobox"&&W(ie),(ue=e.onSearch)===null||ue===void 0||ue.call(e,ie))},J=ie=>{let X=ie;e.mode!=="tags"&&(X=ie.map(ye=>{const H=m.value.get(ye);return H==null?void 0:H.value}).filter(ye=>ye!==void 0));const ue=Array.from(new Set([...O.value,...X]));W(ue),ue.forEach(ye=>{G(ye,!0)})},te=M(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);hse(v0(S(S({},f),{flattenOptions:F,onActiveValue:K,defaultActiveFirstOption:z,onSelect:Y,menuItemSelectedIcon:st(e,"menuItemSelectedIcon"),rawValues:O,fieldNames:c,virtual:te,listHeight:st(e,"listHeight"),listItemHeight:st(e,"listItemHeight"),childrenAsData:l})));const ee=he();n({focus(){var ie;(ie=ee.value)===null||ie===void 0||ie.focus()},blur(){var ie;(ie=ee.value)===null||ie===void 0||ie.blur()},scrollTo(ie){var X;(X=ee.value)===null||X===void 0||X.scrollTo(ie)}});const fe=M(()=>_t(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>g(i_,V(V(V({},fe.value),o),{},{id:i,prefixCls:e.prefixCls,ref:ee,omitDomProps:Ose,mode:e.mode,displayValues:I.value,onDisplayValuesChange:ne,searchValue:u.value,onSearch:re,onSearchSplit:J,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:bse,emptyOptions:!F.value.length,activeValue:D.value,activeDescendantId:`${i}_list_${k.value}`}),r)}}),s_=()=>null;s_.isSelectOption=!0;s_.displayName="ASelectOption";const Tse=s_,c_=()=>null;c_.isSelectOptGroup=!0;c_.displayName="ASelectOptGroup";const Ese=c_;var Ase={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const Mse=Ase;var Rse=Symbol("iconContext"),Rk=function(){return it(Rse,{prefixCls:he("anticon"),rootClassName:he(""),csp:he()})};function u_(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Dse(e,t){return e&&e.contains?e.contains(t):!1}var AA="data-vc-order",Lse="vc-icon-key",px=new Map;function Dk(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Lse}function d_(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Nse(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Lk(e){return Array.from((px.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Nk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!u_())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(AA,Nse(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var i=d_(t),a=i.firstChild;if(o){if(o==="queue"){var l=Lk(i).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(AA))});if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function kse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=d_(t);return Lk(n).find(function(o){return o.getAttribute(Dk(t))===e})}function Bse(e,t){var n=px.get(e);if(!n||!Dse(document,n)){var o=Nk("",t),r=o.parentNode;px.set(e,r),e.removeChild(o)}}function Fse(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=d_(n);Bse(o,n);var r=kse(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var i=Nk(e,n);return i.setAttribute(Dk(n),t),i}function MA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Hse(e,r,n[r])})}return e}function Hse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RA(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function hx(e,t,n){return n?Ni(e.tag,MA({key:t},n,e.attrs),(e.children||[]).map(function(o,r){return hx(o,"".concat(t,"-").concat(e.tag,"-").concat(r))})):Ni(e.tag,MA({key:t},e.attrs),(e.children||[]).map(function(o,r){return hx(o,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function kk(e){return Mc(e)[0]}function Bk(e){return e?Array.isArray(e)?e:[e]:[]}var zse=`
+.anticon {
+ display: inline-block;
+ color: inherit;
+ font-style: normal;
+ line-height: 0;
+ text-align: center;
+ text-transform: none;
+ vertical-align: -0.125em;
+ text-rendering: optimizeLegibility;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.anticon > * {
+ line-height: 1;
+}
+
+.anticon svg {
+ display: inline-block;
+}
+
+.anticon::before {
+ display: none;
+}
+
+.anticon .anticon-icon {
+ display: block;
+}
+
+.anticon[tabindex] {
+ cursor: pointer;
+}
+
+.anticon-spin::before,
+.anticon-spin {
+ display: inline-block;
+ -webkit-animation: loadingCircle 1s infinite linear;
+ animation: loadingCircle 1s infinite linear;
+}
+
+@-webkit-keyframes loadingCircle {
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
+
+@keyframes loadingCircle {
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
+`;function Fk(e){return e&&e.getRootNode&&e.getRootNode()}function jse(e){return u_()?Fk(e)instanceof ShadowRoot:!1}function Wse(e){return jse(e)?Fk(e):null}var Vse=function(){var t=Rk(),n=t.prefixCls,o=t.csp,r=Nn(),i=zse;n&&(i=i.replace(/anticon/g,n.value)),wt(function(){if(u_()){var a=r.vnode.el,l=Wse(a);Fse(i,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:l})}})},Kse=["icon","primaryColor","secondaryColor"];function Use(e,t){if(e==null)return{};var n=Gse(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function Gse(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function dm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yse(e,r,n[r])})}return e}function Yse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cp=St({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function Xse(e){var t=e.primaryColor,n=e.secondaryColor;Cp.primaryColor=t,Cp.secondaryColor=n||kk(t),Cp.calculated=!!n}function qse(){return dm({},Cp)}var of=function(t,n){var o=dm({},t,n.attrs),r=o.icon,i=o.primaryColor,a=o.secondaryColor,l=Use(o,Kse),s=Cp;if(i&&(s={primaryColor:i,secondaryColor:a||kk(i)}),RA(r),!RA(r))return null;var c=r;return c&&typeof c.icon=="function"&&(c=dm({},c,{icon:c.icon(s.primaryColor,s.secondaryColor)})),hx(c.icon,"svg-".concat(c.name),dm({},l,{"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};of.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String};of.inheritAttrs=!1;of.displayName="IconBase";of.getTwoToneColors=qse;of.setTwoToneColors=Xse;const f_=of;function Zse(e,t){return tce(e)||ece(e,t)||Jse(e,t)||Qse()}function Qse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jse(e,t){if(e){if(typeof e=="string")return DA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DA(e,t)}}function DA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ece(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,i=!1,a,l;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(o.push(a.value),!(t&&o.length===t));r=!0);}catch(s){i=!0,l=s}finally{try{!r&&n.return!=null&&n.return()}finally{if(i)throw l}}return o}}function tce(e){if(Array.isArray(e))return e}function Hk(e){var t=Bk(e),n=Zse(t,2),o=n[0],r=n[1];return f_.setTwoToneColors({primaryColor:o,secondaryColor:r})}function nce(){var e=f_.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var oce=pe({name:"InsertStyles",setup:function(){return Vse(),function(){return null}}}),rce=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function ice(e,t){return cce(e)||sce(e,t)||lce(e,t)||ace()}function ace(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lce(e,t){if(e){if(typeof e=="string")return LA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LA(e,t)}}function LA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function sce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,i=!1,a,l;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(o.push(a.value),!(t&&o.length===t));r=!0);}catch(s){i=!0,l=s}finally{try{!r&&n.return!=null&&n.return()}finally{if(i)throw l}}return o}}function cce(e){if(Array.isArray(e))return e}function NA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){op(e,r,n[r])})}return e}function op(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uce(e,t){if(e==null)return{};var n=dce(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function dce(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}Hk(Dne.primary);var rf=function(t,n){var o,r=NA({},t,n.attrs),i=r.class,a=r.icon,l=r.spin,s=r.rotate,c=r.tabindex,u=r.twoToneColor,d=r.onClick,f=uce(r,rce),h=Rk(),m=h.prefixCls,v=h.rootClassName,y=(o={},op(o,v.value,!!v.value),op(o,m.value,!0),op(o,"".concat(m.value,"-").concat(a.name),!!a.name),op(o,"".concat(m.value,"-spin"),!!l||a.name==="loading"),o),b=c;b===void 0&&d&&(b=-1);var $=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,x=Bk(u),_=ice(x,2),w=_[0],I=_[1];return g("span",NA({role:"img","aria-label":a.name},f,{onClick:d,class:[y,i],tabindex:b}),[g(f_,{icon:a,primaryColor:w,secondaryColor:I,style:$},null),g(oce,null,null)])};rf.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};rf.displayName="AntdIcon";rf.inheritAttrs=!1;rf.getTwoToneColor=nce;rf.setTwoToneColor=Hk;const Ot=rf;function kA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){fce(e,r,n[r])})}return e}function fce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p_=function(t,n){var o=kA({},t,n.attrs);return g(Ot,kA({},o,{icon:Mse}),null)};p_.displayName="DownOutlined";p_.inheritAttrs=!1;const jh=p_;var pce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const hce=pce;function BA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){gce(e,r,n[r])})}return e}function gce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h_=function(t,n){var o=BA({},t,n.attrs);return g(Ot,BA({},o,{icon:hce}),null)};h_.displayName="LoadingOutlined";h_.inheritAttrs=!1;const di=h_;var vce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const mce=vce;function FA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){bce(e,r,n[r])})}return e}function bce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g_=function(t,n){var o=FA({},t,n.attrs);return g(Ot,FA({},o,{icon:mce}),null)};g_.displayName="CheckOutlined";g_.inheritAttrs=!1;const sy=g_;var yce={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const Sce=yce;function HA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Cce(e,r,n[r])})}return e}function Cce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v_=function(t,n){var o=HA({},t,n.attrs);return g(Ot,HA({},o,{icon:Sce}),null)};v_.displayName="CloseOutlined";v_.inheritAttrs=!1;const Vr=v_;var $ce={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const xce=$ce;function zA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){wce(e,r,n[r])})}return e}function wce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m_=function(t,n){var o=zA({},t,n.attrs);return g(Ot,zA({},o,{icon:xce}),null)};m_.displayName="CloseCircleFilled";m_.inheritAttrs=!1;const Kr=m_;var _ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const Oce=_ce;function jA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Ice(e,r,n[r])})}return e}function Ice(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b_=function(t,n){var o=jA({},t,n.attrs);return g(Ot,jA({},o,{icon:Oce}),null)};b_.displayName="SearchOutlined";b_.inheritAttrs=!1;const cy=b_;function y_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:o,prefixCls:r,hasFeedback:i,feedbackIcon:a,showArrow:l}=e,s=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),c=e.clearIcon||t.clearIcon&&t.clearIcon(),u=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),d=e.removeIcon||t.removeIcon&&t.removeIcon(),f=c??g(Kr,null,null),h=b=>g(Je,null,[l!==!1&&b,i&&a]);let m=null;if(s!==void 0)m=h(s);else if(n)m=h(g(di,{spin:!0},null));else{const b=`${r}-suffix`;m=$=>{let{open:x,showSearch:_}=$;return h(x&&_?g(cy,{class:b},null):g(jh,{class:b},null))}}let v=null;u!==void 0?v=u:o?v=g(sy,null,null):v=null;let y=null;return d!==void 0?y=d:y=g(Vr,null,null),{clearIcon:f,suffixIcon:m,itemIcon:v,removeIcon:y}}function S_(e){const t=Symbol("contextKey");return{useProvide:(r,i)=>{const a=St({});return ft(t,a),ct(()=>{S(a,r,i||{})}),a},useInject:()=>it(t,e)||{}}}const m0=Symbol("ContextProps"),b0=Symbol("InternalContextProps"),Pce=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:M(()=>!0);const n=he(new Map),o=(i,a)=>{n.value.set(i,a),n.value=new Map(n.value)},r=i=>{n.value.delete(i),n.value=new Map(n.value)};Nn(),Ie([t,n],()=>{}),ft(m0,e),ft(b0,{addFormItemField:o,removeFormItemField:r})},gx={id:M(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},vx={addFormItemField:()=>{},removeFormItemField:()=>{}},co=()=>{const e=it(b0,vx),t=Symbol("FormItemFieldKey"),n=Nn();return e.addFormItemField(t,n.type),Ct(()=>{e.removeFormItemField(t)}),ft(b0,vx),ft(m0,gx),it(m0,gx)},y0=pe({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return ft(b0,vx),ft(m0,gx),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),To=S_({}),S0=pe({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return To.useProvide({}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function sr(e,t,n){return me({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const da=(e,t)=>t||e,Tce=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Ece=Tce,Ace=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-space-item`]:{"&:empty":{display:"none"}}}}},zk=pt("Space",e=>[Ace(e),Ece(e)]);var Mce="[object Symbol]";function uy(e){return typeof e=="symbol"||la(e)&&Es(e)==Mce}function dy(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var Rce=1/0,WA=Fi?Fi.prototype:void 0,VA=WA?WA.toString:void 0;function jk(e){if(typeof e=="string")return e;if(xr(e))return dy(e,jk)+"";if(uy(e))return VA?VA.call(e):"";var t=e+"";return t=="0"&&1/e==-Rce?"-0":t}var Dce=/\s/;function Lce(e){for(var t=e.length;t--&&Dce.test(e.charAt(t)););return t}var Nce=/^\s+/;function kce(e){return e&&e.slice(0,Lce(e)+1).replace(Nce,"")}var KA=NaN,Bce=/^[-+]0x[0-9a-f]+$/i,Fce=/^0b[01]+$/i,Hce=/^0o[0-7]+$/i,zce=parseInt;function mx(e){if(typeof e=="number")return e;if(uy(e))return KA;if(Wr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Wr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=kce(e);var n=Fce.test(e);return n||Hce.test(e)?zce(e.slice(2),n?2:8):Bce.test(e)?KA:+e}var UA=1/0,jce=17976931348623157e292;function Wce(e){if(!e)return e===0?e:0;if(e=mx(e),e===UA||e===-UA){var t=e<0?-1:1;return t*jce}return e===e?e:0}function Vce(e){var t=Wce(e),n=t%1;return t===t?n?t-n:t:0}function C_(e){return e}var GA=Object.create,Kce=function(){function e(){}return function(t){if(!Wr(t))return{};if(GA)return GA(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Uce(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Gce(){}function Wk(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Yce=800,Xce=16,qce=Date.now;function Zce(e){var t=0,n=0;return function(){var o=qce(),r=Xce-(o-n);if(n=o,r>0){if(++t>=Yce)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Qce(e){return function(){return e}}var C0=function(){try{var e=Qc(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Jce=C0?function(e,t){return C0(e,"toString",{configurable:!0,enumerable:!1,value:Qce(t),writable:!0})}:C_;const eue=Jce;var Vk=Zce(eue);function tue(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}function Kk(e,t,n,o){for(var r=e.length,i=n+(o?1:-1);o?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function nue(e){return e!==e}function oue(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}function rue(e,t,n){return t===t?oue(e,t,n):Kk(e,nue,n)}function Uk(e,t){var n=e==null?0:e.length;return!!n&&rue(e,t,0)>-1}function $_(e,t,n){t=="__proto__"&&C0?C0(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var iue=Object.prototype,aue=iue.hasOwnProperty;function x_(e,t,n){var o=e[t];(!(aue.call(e,t)&&Fh(o,n))||n===void 0&&!(t in e))&&$_(e,t,n)}function af(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=o?o(n[l],e[l],l,n,e):void 0;s===void 0&&(s=e[l]),r?$_(n,l,s):x_(n,l,s)}return n}var YA=Math.max;function Gk(e,t,n){return t=YA(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=YA(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=n(a),Uce(e,this,l)}}function Yk(e,t){return Vk(Gk(e,t,C_),e+"")}function lue(e,t,n){if(!Wr(n))return!1;var o=typeof t;return(o=="number"?Jc(n)&&Zb(t,n.length):o=="string"&&t in n)?Fh(n[t],e):!1}function sue(e){return Yk(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&lue(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var l=n[o];l&&e(t,l,o,i)}return t})}function cue(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var uue=Object.prototype,due=uue.hasOwnProperty;function fue(e){if(!Wr(e))return cue(e);var t=ey(e),n=[];for(var o in e)o=="constructor"&&(t||!due.call(e,o))||n.push(o);return n}function Wh(e){return Jc(e)?pk(e,!0):fue(e)}var pue=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hue=/^\w*$/;function w_(e,t){if(xr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||uy(e)?!0:hue.test(e)||!pue.test(e)||t!=null&&e in Object(t)}var gue="Expected a function";function __(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(gue);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(__.Cache||Pl),n}__.Cache=Pl;var vue=500;function mue(e){var t=__(e,function(o){return n.size===vue&&n.clear(),o}),n=t.cache;return t}var bue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yue=/\\(\\)?/g,Sue=mue(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(bue,function(n,o,r,i){t.push(r?i.replace(yue,"$1"):o||n)}),t});function Cue(e){return e==null?"":jk(e)}function lf(e,t){return xr(e)?e:w_(e,t)?[e]:Sue(Cue(e))}var $ue=1/0;function sf(e){if(typeof e=="string"||uy(e))return e;var t=e+"";return t=="0"&&1/e==-$ue?"-0":t}function fy(e,t){t=lf(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[sf(t[n++])];return n&&n==o?e:void 0}function xue(e,t,n){var o=e==null?void 0:fy(e,t);return o===void 0?n:o}var XA=Fi?Fi.isConcatSpreadable:void 0;function wue(e){return xr(e)||Ed(e)||!!(XA&&e&&e[XA])}function Xk(e,t,n,o,r){var i=-1,a=e.length;for(n||(n=wue),r||(r=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?Xk(l,t-1,n,o,r):Z2(r,l):o||(r[r.length]=l)}return r}function _ue(e){var t=e==null?0:e.length;return t?Xk(e,1):[]}function qk(e){return Vk(Gk(e,void 0,_ue),e+"")}var O_=hk(Object.getPrototypeOf,Object),Oue="[object Object]",Iue=Function.prototype,Pue=Object.prototype,Zk=Iue.toString,Tue=Pue.hasOwnProperty,Eue=Zk.call(Object);function py(e){if(!la(e)||Es(e)!=Oue)return!1;var t=O_(e);if(t===null)return!0;var n=Tue.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Zk.call(n)==Eue}function Aue(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+t];return i}function Mue(e,t){return e&&af(t,tf(t),e)}function Rue(e,t){return e&&af(t,Wh(t),e)}var Qk=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qA=Qk&&typeof module=="object"&&module&&!module.nodeType&&module,Due=qA&&qA.exports===Qk,ZA=Due?ua.Buffer:void 0,QA=ZA?ZA.allocUnsafe:void 0;function Jk(e,t){if(t)return e.slice();var n=e.length,o=QA?QA(n):new e.constructor(n);return e.copy(o),o}function Lue(e,t){return af(e,Q2(e),t)}var Nue=Object.getOwnPropertySymbols,e9=Nue?function(e){for(var t=[];e;)Z2(t,Q2(e)),e=O_(e);return t}:ck;function kue(e,t){return af(e,e9(e),t)}function t9(e){return sk(e,Wh,e9)}var Bue=Object.prototype,Fue=Bue.hasOwnProperty;function Hue(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Fue.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function I_(e){var t=new e.constructor(e.byteLength);return new p0(t).set(new p0(e)),t}function zue(e,t){var n=t?I_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var jue=/\w*$/;function Wue(e){var t=new e.constructor(e.source,jue.exec(e));return t.lastIndex=e.lastIndex,t}var JA=Fi?Fi.prototype:void 0,eM=JA?JA.valueOf:void 0;function Vue(e){return eM?Object(eM.call(e)):{}}function n9(e,t){var n=t?I_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Kue="[object Boolean]",Uue="[object Date]",Gue="[object Map]",Yue="[object Number]",Xue="[object RegExp]",que="[object Set]",Zue="[object String]",Que="[object Symbol]",Jue="[object ArrayBuffer]",ede="[object DataView]",tde="[object Float32Array]",nde="[object Float64Array]",ode="[object Int8Array]",rde="[object Int16Array]",ide="[object Int32Array]",ade="[object Uint8Array]",lde="[object Uint8ClampedArray]",sde="[object Uint16Array]",cde="[object Uint32Array]";function ude(e,t,n){var o=e.constructor;switch(t){case Jue:return I_(e);case Kue:case Uue:return new o(+e);case ede:return zue(e,n);case tde:case nde:case ode:case rde:case ide:case ade:case lde:case sde:case cde:return n9(e,n);case Gue:return new o;case Yue:case Zue:return new o(e);case Xue:return Wue(e);case que:return new o;case Que:return Vue(e)}}function o9(e){return typeof e.constructor=="function"&&!ey(e)?Kce(O_(e)):{}}var dde="[object Map]";function fde(e){return la(e)&&Rd(e)==dde}var tM=Md&&Md.isMap,pde=tM?Qb(tM):fde,hde="[object Set]";function gde(e){return la(e)&&Rd(e)==hde}var nM=Md&&Md.isSet,vde=nM?Qb(nM):gde,mde=1,bde=2,yde=4,r9="[object Arguments]",Sde="[object Array]",Cde="[object Boolean]",$de="[object Date]",xde="[object Error]",i9="[object Function]",wde="[object GeneratorFunction]",_de="[object Map]",Ode="[object Number]",a9="[object Object]",Ide="[object RegExp]",Pde="[object Set]",Tde="[object String]",Ede="[object Symbol]",Ade="[object WeakMap]",Mde="[object ArrayBuffer]",Rde="[object DataView]",Dde="[object Float32Array]",Lde="[object Float64Array]",Nde="[object Int8Array]",kde="[object Int16Array]",Bde="[object Int32Array]",Fde="[object Uint8Array]",Hde="[object Uint8ClampedArray]",zde="[object Uint16Array]",jde="[object Uint32Array]",In={};In[r9]=In[Sde]=In[Mde]=In[Rde]=In[Cde]=In[$de]=In[Dde]=In[Lde]=In[Nde]=In[kde]=In[Bde]=In[_de]=In[Ode]=In[a9]=In[Ide]=In[Pde]=In[Tde]=In[Ede]=In[Fde]=In[Hde]=In[zde]=In[jde]=!0;In[xde]=In[i9]=In[Ade]=!1;function $p(e,t,n,o,r,i){var a,l=t&mde,s=t&bde,c=t&yde;if(n&&(a=r?n(e,o,r,i):n(e)),a!==void 0)return a;if(!Wr(e))return e;var u=xr(e);if(u){if(a=Hue(e),!l)return Wk(e,a)}else{var d=Rd(e),f=d==i9||d==wde;if(Ad(e))return Jk(e,l);if(d==a9||d==r9||f&&!r){if(a=s||f?{}:o9(e),!l)return s?kue(e,Rue(a,e)):Lue(e,Mue(a,e))}else{if(!In[d])return r?e:{};a=ude(e,d,l)}}i||(i=new ia);var h=i.get(e);if(h)return h;i.set(e,a),vde(e)?e.forEach(function(y){a.add($p(y,t,n,y,e,i))}):pde(e)&&e.forEach(function(y,b){a.set(b,$p(y,t,n,b,e,i))});var m=c?s?t9:sx:s?Wh:tf,v=u?void 0:m(e);return tue(v||e,function(y,b){v&&(b=y,y=e[b]),x_(a,b,$p(y,t,n,b,e,i))}),a}var Wde=1,Vde=4;function fm(e){return $p(e,Wde|Vde)}var Kde=1,Ude=2;function Gde(e,t,n,o){var r=n.length,i=r,a=!o;if(e==null)return!i;for(e=Object(e);r--;){var l=n[r];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<i;){l=n[r];var s=l[0],c=e[s],u=l[1];if(a&&l[2]){if(c===void 0&&!(s in e))return!1}else{var d=new ia;if(o)var f=o(c,u,s,e,t,d);if(!(f===void 0?ty(u,c,Kde|Ude,o,d):f))return!1}}return!0}function l9(e){return e===e&&!Wr(e)}function Yde(e){for(var t=tf(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,l9(r)]}return t}function s9(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Xde(e){var t=Yde(e);return t.length==1&&t[0][2]?s9(t[0][0],t[0][1]):function(n){return n===e||Gde(n,e,t)}}function qde(e,t){return e!=null&&t in Object(e)}function Zde(e,t,n){t=lf(t,e);for(var o=-1,r=t.length,i=!1;++o<r;){var a=sf(t[o]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++o!=r?i:(r=e==null?0:e.length,!!r&&J2(r)&&Zb(a,r)&&(xr(e)||Ed(e)))}function c9(e,t){return e!=null&&Zde(e,t,qde)}var Qde=1,Jde=2;function efe(e,t){return w_(e)&&l9(t)?s9(sf(e),t):function(n){var o=xue(n,e);return o===void 0&&o===t?c9(n,e):ty(t,o,Qde|Jde)}}function tfe(e){return function(t){return t==null?void 0:t[e]}}function nfe(e){return function(t){return fy(t,e)}}function ofe(e){return w_(e)?tfe(sf(e)):nfe(e)}function P_(e){return typeof e=="function"?e:e==null?C_:typeof e=="object"?xr(e)?efe(e[0],e[1]):Xde(e):ofe(e)}function rfe(e,t,n,o){for(var r=-1,i=e==null?0:e.length;++r<i;){var a=e[r];t(o,a,n(a),e)}return o}function ife(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),l=a.length;l--;){var s=a[e?l:++r];if(n(i[s],s,i)===!1)break}return t}}var u9=ife();function afe(e,t){return e&&u9(e,t,tf)}function lfe(e,t){return function(n,o){if(n==null)return n;if(!Jc(n))return e(n,o);for(var r=n.length,i=t?r:-1,a=Object(n);(t?i--:++i<r)&&o(a[i],i,a)!==!1;);return n}}var sfe=lfe(afe);function cfe(e,t,n,o){return sfe(e,function(r,i,a){t(o,r,n(r),a)}),o}function ufe(e,t){return function(n,o){var r=xr(n)?rfe:cfe,i=t?t():{};return r(n,e,P_(o),i)}}var rC=function(){return ua.Date.now()},dfe="Expected a function",ffe=Math.max,pfe=Math.min;function T_(e,t,n){var o,r,i,a,l,s,c=0,u=!1,d=!1,f=!0;if(typeof e!="function")throw new TypeError(dfe);t=mx(t)||0,Wr(n)&&(u=!!n.leading,d="maxWait"in n,i=d?ffe(mx(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f);function h(I){var O=o,P=r;return o=r=void 0,c=I,a=e.apply(P,O),a}function m(I){return c=I,l=setTimeout(b,t),u?h(I):a}function v(I){var O=I-s,P=I-c,E=t-O;return d?pfe(E,i-P):E}function y(I){var O=I-s,P=I-c;return s===void 0||O>=t||O<0||d&&P>=i}function b(){var I=rC();if(y(I))return $(I);l=setTimeout(b,v(I))}function $(I){return l=void 0,f&&o?h(I):(o=r=void 0,a)}function x(){l!==void 0&&clearTimeout(l),c=0,o=s=r=l=void 0}function _(){return l===void 0?a:$(rC())}function w(){var I=rC(),O=y(I);if(o=arguments,r=this,s=I,O){if(l===void 0)return m(s);if(d)return clearTimeout(l),l=setTimeout(b,t),h(s)}return l===void 0&&(l=setTimeout(b,t)),a}return w.cancel=x,w.flush=_,w}function bx(e,t,n){(n!==void 0&&!Fh(e[t],n)||n===void 0&&!(t in e))&&$_(e,t,n)}function d9(e){return la(e)&&Jc(e)}function yx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function hfe(e){return af(e,Wh(e))}function gfe(e,t,n,o,r,i,a){var l=yx(e,n),s=yx(t,n),c=a.get(s);if(c){bx(e,n,c);return}var u=i?i(l,s,n+"",e,t,a):void 0,d=u===void 0;if(d){var f=xr(s),h=!f&&Ad(s),m=!f&&!h&&Jb(s);u=s,f||h||m?xr(l)?u=l:d9(l)?u=Wk(l):h?(d=!1,u=Jk(s,!0)):m?(d=!1,u=n9(s,!0)):u=[]:py(s)||Ed(s)?(u=l,Ed(l)?u=hfe(l):(!Wr(l)||X2(l))&&(u=o9(s))):d=!1}d&&(a.set(s,u),r(u,s,o,i,a),a.delete(s)),bx(e,n,u)}function f9(e,t,n,o,r){e!==t&&u9(t,function(i,a){if(r||(r=new ia),Wr(i))gfe(e,t,a,n,f9,o,r);else{var l=o?o(yx(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),bx(e,a,l)}},Wh)}function p9(e,t,n){for(var o=-1,r=e==null?0:e.length;++o<r;)if(n(t,e[o]))return!0;return!1}function vfe(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function mfe(e){return function(t,n,o){var r=Object(t);if(!Jc(t)){var i=P_(n);t=tf(t),n=function(l){return i(r[l],l,r)}}var a=e(t,n,o);return a>-1?r[i?t[a]:a]:void 0}}var bfe=Math.max;function yfe(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var r=n==null?0:Vce(n);return r<0&&(r=bfe(o+r,0)),Kk(e,P_(t),r)}var Sfe=mfe(yfe);function Cfe(e){for(var t=-1,n=e==null?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}var $fe=Math.min;function xfe(e,t,n){for(var o=n?p9:Uk,r=e[0].length,i=e.length,a=i,l=Array(i),s=1/0,c=[];a--;){var u=e[a];a&&t&&(u=dy(u,Qb(t))),s=$fe(u.length,s),l[a]=!n&&(t||r>=120&&u.length>=120)?new Td(a&&u):void 0}u=e[0];var d=-1,f=l[0];e:for(;++d<r&&c.length<s;){var h=u[d],m=t?t(h):h;if(h=n||h!==0?h:0,!(f?f0(f,m):o(c,m,n))){for(a=i;--a;){var v=l[a];if(!(v?f0(v,m):o(e[a],m,n)))continue e}f&&f.push(m),c.push(h)}}return c}function wfe(e){return d9(e)?e:[]}var _fe=Yk(function(e){var t=dy(e,wfe);return t.length&&t[0]===e[0]?xfe(t):[]});function Ofe(e,t){return t.length<2?e:fy(e,Aue(t,0,-1))}var Ife="[object Map]",Pfe="[object Set]",Tfe=Object.prototype,Efe=Tfe.hasOwnProperty;function h9(e){if(e==null)return!0;if(Jc(e)&&(xr(e)||typeof e=="string"||typeof e.splice=="function"||Ad(e)||Jb(e)||Ed(e)))return!e.length;var t=Rd(e);if(t==Ife||t==Pfe)return!e.size;if(ey(e))return!gk(e).length;for(var n in e)if(Efe.call(e,n))return!1;return!0}var Afe="[object Number]";function Mfe(e){return typeof e=="number"||la(e)&&Es(e)==Afe}var Rfe=sue(function(e,t,n){f9(e,t,n)});const hy=Rfe;function Dfe(e,t){return t=lf(t,e),e=Ofe(e,t),e==null||delete e[sf(vfe(t))]}function Lfe(e){return py(e)?void 0:e}var Nfe=1,kfe=2,Bfe=4,Ffe=qk(function(e,t){var n={};if(e==null)return n;var o=!1;t=dy(t,function(i){return i=lf(i,e),o||(o=i.length>1),i}),af(e,t9(e),n),o&&(n=$p(n,Nfe|kfe|Bfe,Lfe));for(var r=t.length;r--;)Dfe(n,t[r]);return n});function Hfe(e,t,n,o){if(!Wr(e))return e;t=lf(t,e);for(var r=-1,i=t.length,a=i-1,l=e;l!=null&&++r<i;){var s=sf(t[r]),c=n;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(r!=a){var u=l[s];c=o?o(u,s,l):void 0,c===void 0&&(c=Wr(u)?u:Zb(t[r+1])?[]:{})}x_(l,s,c),l=l[s]}return e}function zfe(e,t,n){for(var o=-1,r=t.length,i={};++o<r;){var a=t[o],l=fy(e,a);n(l,a)&&Hfe(i,lf(a,e),l)}return i}var jfe=ufe(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});const Wfe=jfe;function Vfe(e,t){return zfe(e,t,function(n,o){return c9(e,o)})}var g9=qk(function(e,t){return e==null?{}:Vfe(e,t)}),Kfe=1/0,Ufe=cd&&1/q2(new cd([,-0]))[1]==Kfe?function(e){return new cd(e)}:Gce,Gfe=200;function Yfe(e,t,n){var o=-1,r=Uk,i=e.length,a=!0,l=[],s=l;if(n)a=!1,r=p9;else if(i>=Gfe){var c=t?null:Ufe(e);if(c)return q2(c);a=!1,r=f0,s=new Td}else s=t?[]:l;e:for(;++o<i;){var u=e[o],d=t?t(u):u;if(u=n||u!==0?u:0,a&&d===d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(u)}else r(s,d,n)||(s!==l&&s.push(d),l.push(u))}return l}function iC(e){return e&&e.length?Yfe(e):[]}const Xfe=()=>({compactSize:String,compactDirection:Z.oneOf(Go("horizontal","vertical")).def("horizontal"),isFirstItem:De(),isLastItem:De()}),gy=S_(null),Ms=(e,t)=>{const n=gy.useInject(),o=M(()=>{if(!n||h9(n))return"";const{compactDirection:r,isFirstItem:i,isLastItem:a}=n,l=r==="vertical"?"-vertical-":"-";return me({[`${e.value}-compact${l}item`]:!0,[`${e.value}-compact${l}first-item`]:i,[`${e.value}-compact${l}last-item`]:a,[`${e.value}-compact${l}item-rtl`]:t.value==="rtl"})});return{compactSize:M(()=>n==null?void 0:n.compactSize),compactDirection:M(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}},dh=pe({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return gy.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),qfe=()=>({prefixCls:String,size:{type:String},direction:Z.oneOf(Go("horizontal","vertical")).def("horizontal"),align:Z.oneOf(Go("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),Zfe=pe({name:"CompactItem",props:Xfe(),setup(e,t){let{slots:n}=t;return gy.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Qfe=pe({name:"ASpaceCompact",inheritAttrs:!1,props:qfe(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:i}=Ve("space-compact",e),a=gy.useInject(),[l,s]=zk(r),c=M(()=>me(r.value,s.value,{[`${r.value}-rtl`]:i.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var u;const d=ln(((u=o.default)===null||u===void 0?void 0:u.call(o))||[]);return d.length===0?null:l(g("div",V(V({},n),{},{class:[c.value,n.class]}),[d.map((f,h)=>{var m;const v=f&&f.key||`${r.value}-item-${h}`,y=!a||h9(a);return g(Zfe,{key:v,compactSize:(m=e.size)!==null&&m!==void 0?m:"middle",compactDirection:e.direction,isFirstItem:h===0&&(y||(a==null?void 0:a.isFirstItem)),isLastItem:h===d.length-1&&(y||(a==null?void 0:a.isLastItem))},{default:()=>[f]})})]))}}}),$0=Qfe,Jfe=e=>({animationDuration:e,animationFillMode:"both"}),epe=e=>({animationDuration:e,animationFillMode:"both"}),Vh=function(e,t,n,o){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
+ ${i}${e}-enter,
+ ${i}${e}-appear
+ `]:S(S({},Jfe(o)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:S(S({},epe(o)),{animationPlayState:"paused"}),[`
+ ${i}${e}-enter${e}-enter-active,
+ ${i}${e}-appear${e}-appear-active
+ `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},tpe=new Pt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),npe=new Pt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),E_=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,o=`${n}-fade`,r=t?"&":"";return[Vh(o,tpe,npe,e.motionDurationMid,t),{[`
+ ${r}${o}-enter,
+ ${r}${o}-appear
+ `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${o}-leave`]:{animationTimingFunction:"linear"}}]},ope=new Pt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),rpe=new Pt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ipe=new Pt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ape=new Pt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),lpe=new Pt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),spe=new Pt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),cpe=new Pt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),upe=new Pt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),dpe={"move-up":{inKeyframes:cpe,outKeyframes:upe},"move-down":{inKeyframes:ope,outKeyframes:rpe},"move-left":{inKeyframes:ipe,outKeyframes:ape},"move-right":{inKeyframes:lpe,outKeyframes:spe}},Dd=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=dpe[t];return[Vh(o,r,i,e.motionDurationMid),{[`
+ ${o}-enter,
+ ${o}-appear
+ `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},vy=new Pt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),my=new Pt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),by=new Pt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),yy=new Pt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),fpe=new Pt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ppe=new Pt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),hpe=new Pt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),gpe=new Pt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),vpe={"slide-up":{inKeyframes:vy,outKeyframes:my},"slide-down":{inKeyframes:by,outKeyframes:yy},"slide-left":{inKeyframes:fpe,outKeyframes:ppe},"slide-right":{inKeyframes:hpe,outKeyframes:gpe}},Na=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=vpe[t];return[Vh(o,r,i,e.motionDurationMid),{[`
+ ${o}-enter,
+ ${o}-appear
+ `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},A_=new Pt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),mpe=new Pt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),oM=new Pt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),rM=new Pt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),bpe=new Pt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),ype=new Pt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Spe=new Pt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Cpe=new Pt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),$pe=new Pt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),xpe=new Pt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),wpe=new Pt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),_pe=new Pt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Ope={zoom:{inKeyframes:A_,outKeyframes:mpe},"zoom-big":{inKeyframes:oM,outKeyframes:rM},"zoom-big-fast":{inKeyframes:oM,outKeyframes:rM},"zoom-left":{inKeyframes:Spe,outKeyframes:Cpe},"zoom-right":{inKeyframes:$pe,outKeyframes:xpe},"zoom-up":{inKeyframes:bpe,outKeyframes:ype},"zoom-down":{inKeyframes:wpe,outKeyframes:_pe}},cf=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=Ope[t];return[Vh(o,r,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
+ ${o}-enter,
+ ${o}-appear
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Ipe=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Kh=Ipe,iM=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},Ppe=e=>{const{antCls:t,componentCls:n}=e,o=`${n}-item`;return[{[`${n}-dropdown`]:S(S({},vt(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
+ &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft,
+ &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft
+ `]:{animationName:vy},[`
+ &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft,
+ &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft
+ `]:{animationName:by},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:my},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:yy},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${o}-empty`]:S(S({},iM(e)),{color:e.colorTextDisabled}),[`${o}`]:S(S({},iM(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":S({flex:"auto"},eo),"&-state":{flex:"none"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${o}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},Na(e,"slide-up"),Na(e,"slide-down"),Dd(e,"move-up"),Dd(e,"move-down")]},Tpe=Ppe,Tu=2;function v9(e){let{controlHeightSM:t,controlHeight:n,lineWidth:o}=e;const r=(n-t)/2-o,i=Math.ceil(r/2);return[r,i]}function aC(e,t){const{componentCls:n,iconCls:o}=e,r=`${n}-selection-overflow`,i=e.controlHeightSM,[a]=v9(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-Tu}px ${Tu*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Tu}px 0`,lineHeight:`${i}px`,content:'"\\a0"'}},[`
+ &${n}-show-arrow ${n}-selector,
+ &${n}-allow-clear ${n}-selector
+ `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:Tu,marginBottom:Tu,lineHeight:`${i-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Tu*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":S(S({},Xc()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function Epe(e){const{componentCls:t}=e,n=nt(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,o]=v9(e);return[aC(e),aC(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:o}}},aC(nt(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function lC(e,t){const{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.controlHeight-e.lineWidth*2,a=Math.ceil(e.fontSize*1.25),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,[`${n}-selector`]:S(S({},vt(e)),{display:"flex",borderRadius:r,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[`
+ ${n}-selection-item,
+ ${n}-selection-placeholder
+ `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
+ &${n}-show-arrow ${n}-selection-item,
+ &${n}-show-arrow ${n}-selection-placeholder
+ `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}function Ape(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[lC(e),lC(nt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[`
+ &${t}-show-arrow ${t}-selection-item,
+ &${t}-show-arrow ${t}-selection-placeholder
+ `]:{paddingInlineEnd:e.fontSize*1.5}}}},lC(nt(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function Mpe(e,t,n){const{focusElCls:o,focus:r,borderElCls:i}=n,a=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":S(S({[l]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Rpe(e,t,n){const{borderElCls:o}=n,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:S(S({},Mpe(e,o,t)),Rpe(n,o,t))}}const Dpe=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},sC=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:o,borderHoverColor:r,outlineColor:i,antCls:a}=t,l=n?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${a}-pagination-size-changer)`]:S(S({},l),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${i}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},Lpe=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Npe=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[t]:S(S({},vt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:S(S({},Dpe(e)),Lpe(e)),[`${t}-selection-item`]:S({flex:1,fontWeight:"normal"},eo),[`${t}-selection-placeholder`]:S(S({},eo),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:S(S({},Xc()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},kpe=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},Npe(e),Ape(e),Epe(e),Tpe(e),{[`${t}-rtl`]:{direction:"rtl"}},sC(t,nt(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),sC(`${t}-status-error`,nt(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),sC(`${t}-status-warning`,nt(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),uf(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},M_=pt("Select",(e,t)=>{let{rootPrefixCls:n}=t;const o=nt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[kpe(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),Sy=()=>S(S({},_t(Mk(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:rt([Array,Object,String,Number]),defaultValue:rt([Array,Object,String,Number]),notFoundContent:Z.any,suffixIcon:Z.any,itemIcon:Z.any,size:Qe(),mode:Qe(),bordered:De(!0),transitionName:String,choiceTransitionName:Qe(""),popupClassName:String,dropdownClassName:String,placement:Qe(),status:Qe(),"onUpdate:value":Oe()}),aM="SECRET_COMBOBOX_MODE_DO_NOT_USE",wa=pe({compatConfig:{MODE:3},name:"ASelect",Option:Tse,OptGroup:Ese,inheritAttrs:!1,props:bt(Sy(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:aM,slots:Object,setup(e,t){let{attrs:n,emit:o,slots:r,expose:i}=t;const a=he(),l=co(),s=To.useInject(),c=M(()=>da(s.status,e.status)),u=()=>{var Y;(Y=a.value)===null||Y===void 0||Y.focus()},d=()=>{var Y;(Y=a.value)===null||Y===void 0||Y.blur()},f=Y=>{var ne;(ne=a.value)===null||ne===void 0||ne.scrollTo(Y)},h=M(()=>{const{mode:Y}=e;if(Y!=="combobox")return Y===aM?"combobox":Y}),{prefixCls:m,direction:v,configProvider:y,renderEmpty:b,size:$,getPrefixCls:x,getPopupContainer:_,disabled:w,select:I}=Ve("select",e),{compactSize:O,compactItemClassnames:P}=Ms(m,v),E=M(()=>O.value||$.value),R=jr(),A=M(()=>{var Y;return(Y=w.value)!==null&&Y!==void 0?Y:R.value}),[N,F]=M_(m),W=M(()=>x()),D=M(()=>e.placement!==void 0?e.placement:v.value==="rtl"?"bottomRight":"bottomLeft"),B=M(()=>dr(W.value,t_(D.value),e.transitionName)),k=M(()=>me({[`${m.value}-lg`]:E.value==="large",[`${m.value}-sm`]:E.value==="small",[`${m.value}-rtl`]:v.value==="rtl",[`${m.value}-borderless`]:!e.bordered,[`${m.value}-in-form-item`]:s.isFormItemInput},sr(m.value,c.value,s.hasFeedback),P.value,F.value)),L=function(){for(var Y=arguments.length,ne=new Array(Y),re=0;re<Y;re++)ne[re]=arguments[re];o("update:value",ne[0]),o("change",...ne),l.onFieldChange()},z=Y=>{o("blur",Y),l.onFieldBlur()};i({blur:d,focus:u,scrollTo:f});const K=M(()=>h.value==="multiple"||h.value==="tags"),G=M(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(K.value||h.value==="combobox"));return()=>{var Y,ne,re,J;const{notFoundContent:te,listHeight:ee=256,listItemHeight:fe=24,popupClassName:ie,dropdownClassName:X,virtual:ue,dropdownMatchSelectWidth:ye,id:H=l.id.value,placeholder:j=(Y=r.placeholder)===null||Y===void 0?void 0:Y.call(r),showArrow:q}=e,{hasFeedback:se,feedbackIcon:ae}=s;let ge;te!==void 0?ge=te:r.notFoundContent?ge=r.notFoundContent():h.value==="combobox"?ge=null:ge=(b==null?void 0:b("Select"))||g(k2,{componentName:"Select"},null);const{suffixIcon:Se,itemIcon:$e,removeIcon:_e,clearIcon:be}=y_(S(S({},e),{multiple:K.value,prefixCls:m.value,hasFeedback:se,feedbackIcon:ae,showArrow:G.value}),r),Te=_t(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Pe=me(ie||X,{[`${m.value}-dropdown-${v.value}`]:v.value==="rtl"},F.value);return N(g(Pse,V(V(V({ref:a,virtual:ue,dropdownMatchSelectWidth:ye},Te),n),{},{showSearch:(ne=e.showSearch)!==null&&ne!==void 0?ne:(re=I==null?void 0:I.value)===null||re===void 0?void 0:re.showSearch,placeholder:j,listHeight:ee,listItemHeight:fe,mode:h.value,prefixCls:m.value,direction:v.value,inputIcon:Se,menuItemSelectedIcon:$e,removeIcon:_e,clearIcon:be,notFoundContent:ge,class:[k.value,n.class],getPopupContainer:_==null?void 0:_.value,dropdownClassName:Pe,onChange:L,onBlur:z,id:H,dropdownRender:Te.dropdownRender||r.dropdownRender,transitionName:B.value,children:(J=r.default)===null||J===void 0?void 0:J.call(r),tagRender:e.tagRender||r.tagRender,optionLabelRender:r.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:se||q,disabled:A.value}),{option:r.option}))}}});wa.install=function(e){return e.component(wa.name,wa),e.component(wa.Option.displayName,wa.Option),e.component(wa.OptGroup.displayName,wa.OptGroup),e};const Bpe=wa.Option,Fpe=wa.OptGroup,Cl=wa,R_=()=>null;R_.isSelectOption=!0;R_.displayName="AAutoCompleteOption";const dd=R_,D_=()=>null;D_.isSelectOptGroup=!0;D_.displayName="AAutoCompleteOptGroup";const pm=D_;function Hpe(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const zpe=()=>S(S({},_t(Sy(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),jpe=dd,Wpe=pm,cC=pe({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:zpe(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:r}=t;Sn(),Sn(),Sn(!e.dropdownClassName);const i=he(),a=()=>{var u;const d=ln((u=n.default)===null||u===void 0?void 0:u.call(n));return d.length?d[0]:void 0};r({focus:()=>{var u;(u=i.value)===null||u===void 0||u.focus()},blur:()=>{var u;(u=i.value)===null||u===void 0||u.blur()}});const{prefixCls:c}=Ve("select",e);return()=>{var u,d,f;const{size:h,dataSource:m,notFoundContent:v=(u=n.notFoundContent)===null||u===void 0?void 0:u.call(n)}=e;let y;const{class:b}=o,$={[b]:!!b,[`${c.value}-lg`]:h==="large",[`${c.value}-sm`]:h==="small",[`${c.value}-show-search`]:!0,[`${c.value}-auto-complete`]:!0};if(e.options===void 0){const _=((d=n.dataSource)===null||d===void 0?void 0:d.call(n))||((f=n.options)===null||f===void 0?void 0:f.call(n))||[];_.length&&Hpe(_[0])?y=_:y=m?m.map(w=>{if(Jn(w))return w;switch(typeof w){case"string":return g(dd,{key:w,value:w},{default:()=>[w]});case"object":return g(dd,{key:w.value,value:w.value},{default:()=>[w.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const x=_t(S(S(S({},e),o),{mode:Cl.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:a,notFoundContent:v,class:$,popupClassName:e.popupClassName||e.dropdownClassName,ref:i}),["dataSource","loading"]);return g(Cl,x,V({default:()=>[y]},_t(n,["default","dataSource","options"])))}}}),Vpe=S(cC,{Option:dd,OptGroup:pm,install(e){return e.component(cC.name,cC),e.component(dd.displayName,dd),e.component(pm.displayName,pm),e}});var Kpe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const Upe=Kpe;function lM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gpe(e,r,n[r])})}return e}function Gpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L_=function(t,n){var o=lM({},t,n.attrs);return g(Ot,lM({},o,{icon:Upe}),null)};L_.displayName="CheckCircleOutlined";L_.inheritAttrs=!1;const m9=L_;var Ype={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};const Xpe=Ype;function sM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qpe(e,r,n[r])})}return e}function qpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N_=function(t,n){var o=sM({},t,n.attrs);return g(Ot,sM({},o,{icon:Xpe}),null)};N_.displayName="ExclamationCircleOutlined";N_.inheritAttrs=!1;const b9=N_;var Zpe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};const Qpe=Zpe;function cM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Jpe(e,r,n[r])})}return e}function Jpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k_=function(t,n){var o=cM({},t,n.attrs);return g(Ot,cM({},o,{icon:Qpe}),null)};k_.displayName="InfoCircleOutlined";k_.inheritAttrs=!1;const y9=k_;var ehe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"};const the=ehe;function uM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){nhe(e,r,n[r])})}return e}function nhe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B_=function(t,n){var o=uM({},t,n.attrs);return g(Ot,uM({},o,{icon:the}),null)};B_.displayName="CloseCircleOutlined";B_.inheritAttrs=!1;const S9=B_;var ohe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const rhe=ohe;function dM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ihe(e,r,n[r])})}return e}function ihe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F_=function(t,n){var o=dM({},t,n.attrs);return g(Ot,dM({},o,{icon:rhe}),null)};F_.displayName="CheckCircleFilled";F_.inheritAttrs=!1;const Tl=F_;var ahe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const lhe=ahe;function fM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){she(e,r,n[r])})}return e}function she(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H_=function(t,n){var o=fM({},t,n.attrs);return g(Ot,fM({},o,{icon:lhe}),null)};H_.displayName="ExclamationCircleFilled";H_.inheritAttrs=!1;const El=H_;var che={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const uhe=che;function pM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){dhe(e,r,n[r])})}return e}function dhe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z_=function(t,n){var o=pM({},t,n.attrs);return g(Ot,pM({},o,{icon:uhe}),null)};z_.displayName="InfoCircleFilled";z_.inheritAttrs=!1;const df=z_,Ov=(e,t,n,o,r)=>({backgroundColor:e,border:`${o.lineWidth}px ${o.lineType} ${t}`,[`${r}-icon`]:{color:n}}),fhe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:o,marginSM:r,fontSize:i,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:c,alertIconSizeLG:u,colorText:d,paddingContentVerticalSM:f,alertPaddingHorizontal:h,paddingMD:m,paddingContentHorizontalLG:v}=e;return{[t]:S(S({},vt(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${f}px ${h}px`,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:o,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:l},"&-message":{color:d},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c},
+ padding-top ${n} ${c}, padding-bottom ${n} ${c},
+ margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:v,paddingBlock:m,[`${t}-icon`]:{marginInlineEnd:r,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:o,color:d,fontSize:a},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},phe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:o,colorSuccessBg:r,colorWarning:i,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":Ov(r,o,n,e,t),"&-info":Ov(h,f,d,e,t),"&-warning":Ov(l,a,i,e,t),"&-error":S(S({},Ov(u,c,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},hhe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:o,marginXS:r,fontSizeIcon:i,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:r},[`${t}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:i,lineHeight:`${i}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${o}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${o}`,"&:hover":{color:l}}}}},ghe=e=>[fhe(e),phe(e),hhe(e)],vhe=pt("Alert",e=>{const{fontSizeHeading3:t}=e,n=nt(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[ghe(n)]}),mhe={success:Tl,info:df,error:Kr,warning:El},bhe={success:m9,info:y9,error:S9,warning:b9},yhe=Go("success","info","warning","error"),She=()=>({type:Z.oneOf(yhe),closable:{type:Boolean,default:void 0},closeText:Z.any,message:Z.any,description:Z.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:Z.any,closeIcon:Z.any,onClose:Function}),Che=pe({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:She(),setup(e,t){let{slots:n,emit:o,attrs:r,expose:i}=t;const{prefixCls:a,direction:l}=Ve("alert",e),[s,c]=vhe(a),u=ve(!1),d=ve(!1),f=ve(),h=b=>{b.preventDefault();const $=f.value;$.style.height=`${$.offsetHeight}px`,$.style.height=`${$.offsetHeight}px`,u.value=!0,o("close",b)},m=()=>{var b;u.value=!1,d.value=!0,(b=e.afterClose)===null||b===void 0||b.call(e)},v=M(()=>{const{type:b}=e;return b!==void 0?b:e.banner?"warning":"info"});i({animationEnd:m});const y=ve({});return()=>{var b,$,x,_,w,I,O,P,E,R;const{banner:A,closeIcon:N=(b=n.closeIcon)===null||b===void 0?void 0:b.call(n)}=e;let{closable:F,showIcon:W}=e;const D=($=e.closeText)!==null&&$!==void 0?$:(x=n.closeText)===null||x===void 0?void 0:x.call(n),B=(_=e.description)!==null&&_!==void 0?_:(w=n.description)===null||w===void 0?void 0:w.call(n),k=(I=e.message)!==null&&I!==void 0?I:(O=n.message)===null||O===void 0?void 0:O.call(n),L=(P=e.icon)!==null&&P!==void 0?P:(E=n.icon)===null||E===void 0?void 0:E.call(n),z=(R=n.action)===null||R===void 0?void 0:R.call(n);W=A&&W===void 0?!0:W;const K=(B?bhe:mhe)[v.value]||null;D&&(F=!0);const G=a.value,Y=me(G,{[`${G}-${v.value}`]:!0,[`${G}-closing`]:u.value,[`${G}-with-description`]:!!B,[`${G}-no-icon`]:!W,[`${G}-banner`]:!!A,[`${G}-closable`]:F,[`${G}-rtl`]:l.value==="rtl",[c.value]:!0}),ne=F?g("button",{type:"button",onClick:h,class:`${G}-close-icon`,tabindex:0},[D?g("span",{class:`${G}-close-text`},[D]):N===void 0?g(Vr,null,null):N]):null,re=L&&(Jn(L)?Gt(L,{class:`${G}-icon`}):g("span",{class:`${G}-icon`},[L]))||g(K,{class:`${G}-icon`},null),J=Hi(`${G}-motion`,{appear:!1,css:!0,onAfterLeave:m,onBeforeLeave:te=>{te.style.maxHeight=`${te.offsetHeight}px`},onLeave:te=>{te.style.maxHeight="0px"}});return s(d.value?null:g(so,J,{default:()=>[Ln(g("div",V(V({role:"alert"},r),{},{style:[r.style,y.value],class:[r.class,Y],"data-show":!u.value,ref:f}),[W?re:null,g("div",{class:`${G}-content`},[k?g("div",{class:`${G}-message`},[k]):null,B?g("div",{class:`${G}-description`},[B]):null]),z?g("div",{class:`${G}-action`},[z]):null,ne]),[[Bo,!u.value]])]}))}}}),$he=$n(Che),pl=["xxxl","xxl","xl","lg","md","sm","xs"],xhe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function j_(){const[,e]=Ol();return M(()=>{const t=xhe(e.value),n=new Map;let o=-1,r={};return{matchHandlers:{},dispatch(i){return r=i,n.forEach(a=>a(r)),n.size>=1},subscribe(i){return n.size||this.register(),o+=1,n.set(o,i),i(r),o},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const a=t[i],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const a=t[i],l=c=>{let{matches:u}=c;this.dispatch(S(S({},r),{[i]:u}))},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s)})},responsiveMap:t}})}function ff(){const e=ve({});let t=null;const n=j_();return lt(()=>{t=n.value.subscribe(o=>{e.value=o})}),Fo(()=>{n.value.unsubscribe(t)}),e}function ai(e){const t=ve();return ct(()=>{t.value=e()},{flush:"sync"}),t}const whe=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:r,avatarColor:i,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:m,lineWidth:v,lineType:y}=e,b=($,x,_)=>({width:$,height:$,lineHeight:`${$-v*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:_},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:x,[`> ${o}`]:{margin:0}}});return{[n]:S(S(S(S({},vt(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${v}px ${y} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),b(a,c,f)),{"&-lg":S({},b(l,u,h)),"&-sm":S({},b(s,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},_he=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:o,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:o}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}},C9=pt("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=nt(e,{avatarBg:n,avatarColor:t});return[whe(o),_he(o)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:r,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((i+a)/2),textFontSizeLG:l,textFontSizeSM:r,groupSpace:c,groupOverlapping:-s,groupBorderColor:u}}),$9=Symbol("AvatarContextKey"),Ohe=()=>it($9,{}),Ihe=e=>ft($9,e),Phe=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:Z.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),The=pe({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:Phe(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const r=ve(!0),i=ve(!1),a=ve(1),l=ve(null),s=ve(null),{prefixCls:c}=Ve("avatar",e),[u,d]=C9(c),f=Ohe(),h=M(()=>e.size==="default"?f.size:e.size),m=ff(),v=ai(()=>{if(typeof e.size!="object")return;const x=pl.find(w=>m.value[w]);return e.size[x]}),y=x=>v.value?{width:`${v.value}px`,height:`${v.value}px`,lineHeight:`${v.value}px`,fontSize:`${x?v.value/2:18}px`}:{},b=()=>{if(!l.value||!s.value)return;const x=l.value.offsetWidth,_=s.value.offsetWidth;if(x!==0&&_!==0){const{gap:w=4}=e;w*2<_&&(a.value=_-w*2<x?(_-w*2)/x:1)}},$=()=>{const{loadError:x}=e;(x==null?void 0:x())!==!1&&(r.value=!1)};return Ie(()=>e.src,()=>{wt(()=>{r.value=!0,a.value=1})}),Ie(()=>e.gap,()=>{wt(()=>{b()})}),lt(()=>{wt(()=>{b(),i.value=!0})}),()=>{var x,_;const{shape:w,src:I,alt:O,srcset:P,draggable:E,crossOrigin:R}=e,A=(x=f.shape)!==null&&x!==void 0?x:w,N=lo(n,e,"icon"),F=c.value,W={[`${o.class}`]:!!o.class,[F]:!0,[`${F}-lg`]:h.value==="large",[`${F}-sm`]:h.value==="small",[`${F}-${A}`]:!0,[`${F}-image`]:I&&r.value,[`${F}-icon`]:N,[d.value]:!0},D=typeof h.value=="number"?{width:`${h.value}px`,height:`${h.value}px`,lineHeight:`${h.value}px`,fontSize:N?`${h.value/2}px`:"18px"}:{},B=(_=n.default)===null||_===void 0?void 0:_.call(n);let k;if(I&&r.value)k=g("img",{draggable:E,src:I,srcset:P,onError:$,alt:O,crossorigin:R},null);else if(N)k=N;else if(i.value||a.value!==1){const L=`scale(${a.value}) translateX(-50%)`,z={msTransform:L,WebkitTransform:L,transform:L},K=typeof h.value=="number"?{lineHeight:`${h.value}px`}:{};k=g(ki,{onResize:b},{default:()=>[g("span",{class:`${F}-string`,ref:l,style:S(S({},K),z)},[B])]})}else k=g("span",{class:`${F}-string`,ref:l,style:{opacity:0}},[B]);return u(g("span",V(V({},o),{},{ref:s,class:W,style:[D,y(!!N),o.style]}),[k]))}}}),wc=The,wi={adjustX:1,adjustY:1},_i=[0,0],x9={left:{points:["cr","cl"],overflow:wi,offset:[-4,0],targetOffset:_i},right:{points:["cl","cr"],overflow:wi,offset:[4,0],targetOffset:_i},top:{points:["bc","tc"],overflow:wi,offset:[0,-4],targetOffset:_i},bottom:{points:["tc","bc"],overflow:wi,offset:[0,4],targetOffset:_i},topLeft:{points:["bl","tl"],overflow:wi,offset:[0,-4],targetOffset:_i},leftTop:{points:["tr","tl"],overflow:wi,offset:[-4,0],targetOffset:_i},topRight:{points:["br","tr"],overflow:wi,offset:[0,-4],targetOffset:_i},rightTop:{points:["tl","tr"],overflow:wi,offset:[4,0],targetOffset:_i},bottomRight:{points:["tr","br"],overflow:wi,offset:[0,4],targetOffset:_i},rightBottom:{points:["bl","br"],overflow:wi,offset:[4,0],targetOffset:_i},bottomLeft:{points:["tl","bl"],overflow:wi,offset:[0,4],targetOffset:_i},leftBottom:{points:["br","bl"],overflow:wi,offset:[-4,0],targetOffset:_i}},Ehe={prefixCls:String,id:String,overlayInnerStyle:Z.any},Ahe=pe({compatConfig:{MODE:3},name:"TooltipContent",props:Ehe,setup(e,t){let{slots:n}=t;return()=>{var o;return g("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(o=n.overlay)===null||o===void 0?void 0:o.call(n)])}}});var Mhe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function hM(){}const Rhe=pe({compatConfig:{MODE:3},name:"Tooltip",inheritAttrs:!1,props:{trigger:Z.any.def(["hover"]),defaultVisible:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:Z.string.def("right"),transitionName:String,animation:Z.any,afterVisibleChange:Z.func.def(()=>{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:Z.string.def("rc-tooltip"),mouseEnterDelay:Z.number.def(.1),mouseLeaveDelay:Z.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:Z.object.def(()=>({})),arrowContent:Z.any.def(null),tipId:String,builtinPlacements:Z.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=ve(),a=()=>{const{prefixCls:u,tipId:d,overlayInnerStyle:f}=e;return[g("div",{class:`${u}-arrow`,key:"arrow"},[lo(n,e,"arrowContent")]),g(Ahe,{key:"content",prefixCls:u,id:d,overlayInnerStyle:f},{overlay:n.overlay})]};r({getPopupDomNode:()=>i.value.getPopupDomNode(),triggerDOM:i,forcePopupAlign:()=>{var u;return(u=i.value)===null||u===void 0?void 0:u.forcePopupAlign()}});const s=ve(!1),c=ve(!1);return ct(()=>{const{destroyTooltipOnHide:u}=e;if(typeof u=="boolean")s.value=u;else if(u&&typeof u=="object"){const{keepParent:d}=u;s.value=d===!0,c.value=d===!1}}),()=>{const{overlayClassName:u,trigger:d,mouseEnterDelay:f,mouseLeaveDelay:h,overlayStyle:m,prefixCls:v,afterVisibleChange:y,transitionName:b,animation:$,placement:x,align:_,destroyTooltipOnHide:w,defaultVisible:I}=e,O=Mhe(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),P=S({},O);e.visible!==void 0&&(P.popupVisible=e.visible);const E=S(S(S({popupClassName:u,prefixCls:v,action:d,builtinPlacements:x9,popupPlacement:x,popupAlign:_,afterPopupVisibleChange:y,popupTransitionName:b,popupAnimation:$,defaultPopupVisible:I,destroyPopupOnHide:s.value,autoDestroy:c.value,mouseLeaveDelay:h,popupStyle:m,mouseEnterDelay:f},P),o),{onPopupVisibleChange:e.onVisibleChange||hM,onPopupAlign:e.onPopupAlign||hM,ref:i,popup:a()});return g(tu,E,{default:n.default})}}}),W_=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:qe(),overlayInnerStyle:qe(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:qe(),builtinPlacements:qe(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),Dhe={adjustX:1,adjustY:1},gM={adjustX:0,adjustY:0},Lhe=[0,0];function vM(e){return typeof e=="boolean"?e?Dhe:gM:S(S({},gM),e)}function V_(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:o=8,autoAdjustOverflow:r,arrowPointAtCenter:i}=e,a={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(o+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(o+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,o+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,o+t]}};return Object.keys(a).forEach(l=>{a[l]=i?S(S({},a[l]),{overflow:vM(r),targetOffset:Lhe}):S(S({},x9[l]),{overflow:vM(r)}),a[l].ignoreShake=!0}),a}function x0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t<n;t++)if(e[t]!==void 0)return e[t]}const Nhe=ih.map(e=>`${e}-inverse`),khe=["success","processing","error","default","warning"];function Cy(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...Nhe,...ih].includes(e):ih.includes(e)}function Bhe(e){return khe.includes(e)}function Fhe(e,t){const n=Cy(t),o=me({[`${e}-${t}`]:t&&n}),r={},i={};return t&&!n&&(r.background=t,i["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:i}}function Iv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const K_=8;function w9(e){const t=K_,{sizePopupArrow:n,contentRadius:o,borderRadiusOuter:r,limitVerticalRadius:i}=e,a=n/2-Math.ceil(r*(Math.sqrt(2)-1)),l=(o>12?o+2:12)-a,s=i?t-a:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:s}}function U_(e,t){const{componentCls:n,sizePopupArrow:o,marginXXS:r,borderRadiusXS:i,borderRadiusOuter:a,boxShadowPopoverArrow:l}=e,{colorBg:s,showArrowCls:c,contentRadius:u=e.borderRadiusLG,limitVerticalRadius:d}=t,{dropdownArrowOffsetVertical:f,dropdownArrowOffset:h}=w9({sizePopupArrow:o,contentRadius:u,borderRadiusOuter:a,limitVerticalRadius:d}),m=o/2+r;return{[n]:{[`${n}-arrow`]:[S(S({position:"absolute",zIndex:1,display:"block"},L2(o,i,a,s,l)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:f},[`&-placement-leftBottom ${n}-arrow`]:{bottom:f},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:f},[`&-placement-rightBottom ${n}-arrow`]:{bottom:f},[Iv(["&-placement-topLeft","&-placement-top","&-placement-topRight"],c)]:{paddingBottom:m},[Iv(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],c)]:{paddingTop:m},[Iv(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],c)]:{paddingRight:{_skip_check_:!0,value:m}},[Iv(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],c)]:{paddingLeft:{_skip_check_:!0,value:m}}}}}const Hhe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:S(S(S(S({},vt(e)),{position:"absolute",zIndex:a,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${c/2}px ${u}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,K_)}},[`${t}-content`]:{position:"relative"}}),c0(e,(f,h)=>{let{darkColor:m}=h;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},U_(nt(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},zhe=(e,t)=>pt("Tooltip",o=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:r,colorTextLightSolid:i,colorBgDefault:a,borderRadiusOuter:l}=o,s=nt(o,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:r,tooltipBg:a,tooltipRadiusOuter:l>4?4:l});return[Hhe(s),cf(o,"zoom-big-fast")]},o=>{let{zIndexPopupBase:r,colorBgSpotlight:i}=o;return{zIndexPopup:r+70,colorBgDefault:i}})(e),jhe=(e,t)=>{const n={},o=S({},e);return t.forEach(r=>{e&&r in e&&(n[r]=e[r],delete o[r])}),{picked:n,omitted:o}},_9=()=>S(S({},W_()),{title:Z.any}),O9=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),Whe=pe({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:bt(_9(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r,expose:i}=t;const{prefixCls:a,getPopupContainer:l,direction:s,rootPrefixCls:c}=Ve("tooltip",e),u=M(()=>{var R;return(R=e.open)!==null&&R!==void 0?R:e.visible}),d=he(x0([e.open,e.visible])),f=he();let h;Ie(u,R=>{mt.cancel(h),h=mt(()=>{d.value=!!R})});const m=()=>{var R;const A=(R=e.title)!==null&&R!==void 0?R:n.title;return!A&&A!==0},v=R=>{const A=m();u.value===void 0&&(d.value=A?!1:R),A||(o("update:visible",R),o("visibleChange",R),o("update:open",R),o("openChange",R))};i({getPopupDomNode:()=>f.value.getPopupDomNode(),open:d,forcePopupAlign:()=>{var R;return(R=f.value)===null||R===void 0?void 0:R.forcePopupAlign()}});const b=M(()=>{const{builtinPlacements:R,arrowPointAtCenter:A,autoAdjustOverflow:N}=e;return R||V_({arrowPointAtCenter:A,autoAdjustOverflow:N})}),$=R=>R||R==="",x=R=>{const A=R.type;if(typeof A=="object"&&R.props&&((A.__ANT_BUTTON===!0||A==="button")&&$(R.props.disabled)||A.__ANT_SWITCH===!0&&($(R.props.disabled)||$(R.props.loading))||A.__ANT_RADIO===!0&&$(R.props.disabled))){const{picked:N,omitted:F}=jhe(HN(R),["position","left","right","top","bottom","float","display","zIndex"]),W=S(S({display:"inline-block"},N),{cursor:"not-allowed",lineHeight:1,width:R.props&&R.props.block?"100%":void 0}),D=S(S({},F),{pointerEvents:"none"}),B=Gt(R,{style:D},!0);return g("span",{style:W,class:`${a.value}-disabled-compatible-wrapper`},[B])}return R},_=()=>{var R,A;return(R=e.title)!==null&&R!==void 0?R:(A=n.title)===null||A===void 0?void 0:A.call(n)},w=(R,A)=>{const N=b.value,F=Object.keys(N).find(W=>{var D,B;return N[W].points[0]===((D=A.points)===null||D===void 0?void 0:D[0])&&N[W].points[1]===((B=A.points)===null||B===void 0?void 0:B[1])});if(F){const W=R.getBoundingClientRect(),D={top:"50%",left:"50%"};F.indexOf("top")>=0||F.indexOf("Bottom")>=0?D.top=`${W.height-A.offset[1]}px`:(F.indexOf("Top")>=0||F.indexOf("bottom")>=0)&&(D.top=`${-A.offset[1]}px`),F.indexOf("left")>=0||F.indexOf("Right")>=0?D.left=`${W.width-A.offset[0]}px`:(F.indexOf("right")>=0||F.indexOf("Left")>=0)&&(D.left=`${-A.offset[0]}px`),R.style.transformOrigin=`${D.left} ${D.top}`}},I=M(()=>Fhe(a.value,e.color)),O=M(()=>r["data-popover-inject"]),[P,E]=zhe(a,M(()=>!O.value));return()=>{var R,A;const{openClassName:N,overlayClassName:F,overlayStyle:W,overlayInnerStyle:D}=e;let B=(A=_n((R=n.default)===null||R===void 0?void 0:R.call(n)))!==null&&A!==void 0?A:null;B=B.length===1?B[0]:B;let k=d.value;if(u.value===void 0&&m()&&(k=!1),!B)return null;const L=x(Jn(B)&&!Vee(B)?B:g("span",null,[B])),z=me({[N||`${a.value}-open`]:!0,[L.props&&L.props.class]:L.props&&L.props.class}),K=me(F,{[`${a.value}-rtl`]:s.value==="rtl"},I.value.className,E.value),G=S(S({},I.value.overlayStyle),D),Y=I.value.arrowStyle,ne=S(S(S({},r),e),{prefixCls:a.value,getPopupContainer:l==null?void 0:l.value,builtinPlacements:b.value,visible:k,ref:f,overlayClassName:K,overlayStyle:S(S({},Y),W),overlayInnerStyle:G,onVisibleChange:v,onPopupAlign:w,transitionName:dr(c.value,"zoom-big-fast",e.transitionName)});return P(g(Rhe,ne,{default:()=>[d.value?Gt(L,{class:z}):L],arrowContent:()=>g("span",{class:`${a.value}-arrow-content`},null),overlay:_}))}}}),Br=$n(Whe),Vhe=e=>{const{componentCls:t,popoverBg:n,popoverColor:o,width:r,fontWeightStrong:i,popoverPadding:a,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,marginXS:d,colorBgElevated:f}=e;return[{[t]:S(S({},vt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:c,boxShadow:l,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:i},[`${t}-inner-content`]:{color:o}})},U_(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},Khe=e=>{const{componentCls:t}=e;return{[t]:ih.map(n=>{const o=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}})}},Uhe=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:i,controlHeight:a,fontSize:l,lineHeight:s,padding:c}=e,u=a-Math.round(l*s),d=u/2,f=u/2-n,h=c;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d}px ${h}px ${f}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${i}px ${h}px`}}}},Ghe=pt("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,r=nt(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[Vhe(r),Khe(r),o&&Uhe(r),cf(r,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),Yhe=()=>S(S({},W_()),{content:cn(),title:cn()}),Xhe=pe({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:bt(Yhe(),S(S({},O9()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const i=he();Sn(e.visible===void 0),n({getPopupDomNode:()=>{var f,h;return(h=(f=i.value)===null||f===void 0?void 0:f.getPopupDomNode)===null||h===void 0?void 0:h.call(f)}});const{prefixCls:a,configProvider:l}=Ve("popover",e),[s,c]=Ghe(a),u=M(()=>l.getPrefixCls()),d=()=>{var f,h;const{title:m=_n((f=o.title)===null||f===void 0?void 0:f.call(o)),content:v=_n((h=o.content)===null||h===void 0?void 0:h.call(o))}=e,y=!!(Array.isArray(m)?m.length:m),b=!!(Array.isArray(v)?v.length:m);return!y&&!b?null:g(Je,null,[y&&g("div",{class:`${a.value}-title`},[m]),g("div",{class:`${a.value}-inner-content`},[v])])};return()=>{const f=me(e.overlayClassName,c.value);return s(g(Br,V(V(V({},_t(e,["title","content"])),r),{},{prefixCls:a.value,ref:i,overlayClassName:f,transitionName:dr(u.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:d,default:o.default}))}}}),G_=$n(Xhe),qhe=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),Zhe=pe({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:qhe(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("avatar",e),a=M(()=>`${r.value}-group`),[l,s]=C9(r);return ct(()=>{const c={size:e.size,shape:e.shape};Ihe(c)}),()=>{const{maxPopoverPlacement:c="top",maxCount:u,maxStyle:d,maxPopoverTrigger:f="hover",shape:h}=e,m={[a.value]:!0,[`${a.value}-rtl`]:i.value==="rtl",[`${o.class}`]:!!o.class,[s.value]:!0},v=lo(n,e),y=ln(v).map(($,x)=>Gt($,{key:`avatar-key-${x}`})),b=y.length;if(u&&u<b){const $=y.slice(0,u),x=y.slice(u,b);return $.push(g(G_,{key:"avatar-popover-key",content:x,trigger:f,placement:c,overlayClassName:`${a.value}-popover`},{default:()=>[g(wc,{style:d,shape:h},{default:()=>[`+${b-u}`]})]})),l(g("div",V(V({},o),{},{class:m,style:o.style}),[$]))}return l(g("div",V(V({},o),{},{class:m,style:o.style}),[y]))}}}),w0=Zhe;wc.Group=w0;wc.install=function(e){return e.component(wc.name,wc),e.component(w0.name,w0),e};function mM(e){let{prefixCls:t,value:n,current:o,offset:r=0}=e,i;return r&&(i={position:"absolute",top:`${r}00%`,left:0}),g("p",{style:i,class:me(`${t}-only-unit`,{current:o})},[n])}function Qhe(e,t,n){let o=e,r=0;for(;(o+10)%10!==t;)o+=n,r+=n;return r}const Jhe=pe({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(e){const t=M(()=>Number(e.value)),n=M(()=>Math.abs(e.count)),o=St({prevValue:t.value,prevCount:n.value}),r=()=>{o.prevValue=t.value,o.prevCount=n.value},i=he();return Ie(t,()=>{clearTimeout(i.value),i.value=setTimeout(()=>{r()},1e3)},{flush:"post"}),Fo(()=>{clearTimeout(i.value)}),()=>{let a,l={};const s=t.value;if(o.prevValue===s||Number.isNaN(s)||Number.isNaN(o.prevValue))a=[mM(S(S({},e),{current:!0}))],l={transition:"none"};else{a=[];const c=s+10,u=[];for(let h=s;h<=c;h+=1)u.push(h);const d=u.findIndex(h=>h%10===o.prevValue);a=u.map((h,m)=>{const v=h%10;return mM(S(S({},e),{value:v,offset:m-d,current:m===d}))});const f=o.prevCount<n.value?1:-1;l={transform:`translateY(${-Qhe(o.prevValue,s,f)}00%)`}}return g("span",{class:`${e.prefixCls}-only`,style:l,onTransitionend:()=>r()},[a])}}});var ege=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const tge={prefixCls:String,count:Z.any,component:String,title:Z.any,show:Boolean},nge=pe({compatConfig:{MODE:3},name:"ScrollNumber",inheritAttrs:!1,props:tge,setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r}=Ve("scroll-number",e);return()=>{var i;const a=S(S({},e),n),{prefixCls:l,count:s,title:c,show:u,component:d="sup",class:f,style:h}=a,m=ege(a,["prefixCls","count","title","show","component","class","style"]),v=S(S({},m),{style:h,"data-show":e.show,class:me(r.value,f),title:c});let y=s;if(s&&Number(s)%1===0){const $=String(s).split("");y=$.map((x,_)=>g(Jhe,{prefixCls:r.value,count:Number(s),value:x,key:$.length-_},null))}h&&h.borderColor&&(v.style=S(S({},h),{boxShadow:`0 0 0 1px ${h.borderColor} inset`}));const b=_n((i=o.default)===null||i===void 0?void 0:i.call(o));return b&&b.length?Gt(b,{class:me(`${r.value}-custom-component`)},!1):g(d,v,{default:()=>[y]})}}}),oge=new Pt("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),rge=new Pt("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),ige=new Pt("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),age=new Pt("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),lge=new Pt("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),sge=new Pt("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),cge=e=>{const{componentCls:t,iconCls:n,antCls:o,badgeFontHeight:r,badgeShadowSize:i,badgeHeightSm:a,motionDurationSlow:l,badgeStatusSize:s,marginXS:c,badgeRibbonOffset:u}=e,d=`${o}-scroll-number`,f=`${o}-ribbon`,h=`${o}-ribbon-wrapper`,m=c0(e,(y,b)=>{let{darkColor:$}=b;return{[`&${t} ${t}-color-${y}`]:{background:$,[`&:not(${t}-count)`]:{color:$}}}}),v=c0(e,(y,b)=>{let{darkColor:$}=b;return{[`&${f}-color-${y}`]:{background:$,color:$}}});return{[t]:S(S(S(S({},vt(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:a,height:a,fontSize:e.badgeFontSizeSm,lineHeight:`${a}px`,borderRadius:a/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`},[`${t}-dot${d}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${d}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:sge,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:oge,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:c,color:e.colorText,fontSize:e.fontSize}}}),m),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:rge,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:ige,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:age,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:lge,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${d}-custom-component, ${t}-count`]:{transform:"none"},[`${d}-custom-component, ${d}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${d}`]:{overflow:"hidden",[`${d}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${d}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${d}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${d}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${h}`]:{position:"relative"},[`${f}`]:S(S(S(S({},vt(e)),{position:"absolute",top:c,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${r}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${f}-text`]:{color:e.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${u/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),v),{[`&${f}-placement-end`]:{insetInlineEnd:-u,borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:-u,borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},I9=pt("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:o,lineWidth:r,marginXS:i,colorBorderBg:a}=e,l=Math.round(t*n),s=r,c="auto",u=l-2*s,d=e.colorBgContainer,f="normal",h=o,m=e.colorError,v=e.colorErrorHover,y=t,b=o/2,$=o,x=o/2,_=nt(e,{badgeFontHeight:l,badgeShadowSize:s,badgeZIndex:c,badgeHeight:u,badgeTextColor:d,badgeFontWeight:f,badgeFontSize:h,badgeColor:m,badgeColorHover:v,badgeShadowColor:a,badgeHeightSm:y,badgeDotSize:b,badgeFontSizeSm:$,badgeStatusSize:x,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[cge(_)]});var uge=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const dge=()=>({prefix:String,color:{type:String},text:Z.any,placement:{type:String,default:"end"}}),_0=pe({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:dge(),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:i}=Ve("ribbon",e),[a,l]=I9(r),s=M(()=>Cy(e.color,!1)),c=M(()=>[r.value,`${r.value}-placement-${e.placement}`,{[`${r.value}-rtl`]:i.value==="rtl",[`${r.value}-color-${e.color}`]:s.value}]);return()=>{var u,d;const{class:f,style:h}=n,m=uge(n,["class","style"]),v={},y={};return e.color&&!s.value&&(v.background=e.color,y.color=e.color),a(g("div",V({class:`${r.value}-wrapper ${l.value}`},m),[(u=o.default)===null||u===void 0?void 0:u.call(o),g("div",{class:[c.value,f,l.value],style:S(S({},v),h)},[g("span",{class:`${r.value}-text`},[e.text||((d=o.text)===null||d===void 0?void 0:d.call(o))]),g("div",{class:`${r.value}-corner`,style:y},null)])]))}}}),O0=e=>!isNaN(parseFloat(e))&&isFinite(e),fge=()=>({count:Z.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:Z.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),xp=pe({compatConfig:{MODE:3},name:"ABadge",Ribbon:_0,inheritAttrs:!1,props:fge(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("badge",e),[a,l]=I9(r),s=M(()=>e.count>e.overflowCount?`${e.overflowCount}+`:e.count),c=M(()=>s.value==="0"||s.value===0),u=M(()=>e.count===null||c.value&&!e.showZero),d=M(()=>(e.status!==null&&e.status!==void 0||e.color!==null&&e.color!==void 0)&&u.value),f=M(()=>e.dot&&!c.value),h=M(()=>f.value?"":s.value),m=M(()=>(h.value===null||h.value===void 0||h.value===""||c.value&&!e.showZero)&&!f.value),v=he(e.count),y=he(h.value),b=he(f.value);Ie([()=>e.count,h,f],()=>{m.value||(v.value=e.count,y.value=h.value,b.value=f.value)},{immediate:!0});const $=M(()=>Cy(e.color,!1)),x=M(()=>({[`${r.value}-status-dot`]:d.value,[`${r.value}-status-${e.status}`]:!!e.status,[`${r.value}-color-${e.color}`]:$.value})),_=M(()=>e.color&&!$.value?{background:e.color,color:e.color}:{}),w=M(()=>({[`${r.value}-dot`]:b.value,[`${r.value}-count`]:!b.value,[`${r.value}-count-sm`]:e.size==="small",[`${r.value}-multiple-words`]:!b.value&&y.value&&y.value.toString().length>1,[`${r.value}-status-${e.status}`]:!!e.status,[`${r.value}-color-${e.color}`]:$.value}));return()=>{var I,O;const{offset:P,title:E,color:R}=e,A=o.style,N=lo(n,e,"text"),F=r.value,W=v.value;let D=ln((I=n.default)===null||I===void 0?void 0:I.call(n));D=D.length?D:null;const B=!!(!m.value||n.count),k=(()=>{if(!P)return S({},A);const re={marginTop:O0(P[1])?`${P[1]}px`:P[1]};return i.value==="rtl"?re.left=`${parseInt(P[0],10)}px`:re.right=`${-parseInt(P[0],10)}px`,S(S({},re),A)})(),L=E??(typeof W=="string"||typeof W=="number"?W:void 0),z=B||!N?null:g("span",{class:`${F}-status-text`},[N]),K=typeof W=="object"||W===void 0&&n.count?Gt(W??((O=n.count)===null||O===void 0?void 0:O.call(n)),{style:k},!1):null,G=me(F,{[`${F}-status`]:d.value,[`${F}-not-a-wrapper`]:!D,[`${F}-rtl`]:i.value==="rtl"},o.class,l.value);if(!D&&d.value){const re=k.color;return a(g("span",V(V({},o),{},{class:G,style:k}),[g("span",{class:x.value,style:_.value},null),g("span",{style:{color:re},class:`${F}-status-text`},[N])]))}const Y=Hi(D?`${F}-zoom`:"",{appear:!1});let ne=S(S({},k),e.numberStyle);return R&&!$.value&&(ne=ne||{},ne.background=R),a(g("span",V(V({},o),{},{class:G}),[D,g(so,Y,{default:()=>[Ln(g(nge,{prefixCls:e.scrollNumberPrefixCls,show:B,class:w.value,count:y.value,title:L,style:ne,key:"scrollNumber"},{default:()=>[K]}),[[Bo,B]])]}),z]))}}});xp.install=function(e){return e.component(xp.name,xp),e.component(_0.name,_0),e};const Eu={adjustX:1,adjustY:1},Au=[0,0],pge={topLeft:{points:["bl","tl"],overflow:Eu,offset:[0,-4],targetOffset:Au},topCenter:{points:["bc","tc"],overflow:Eu,offset:[0,-4],targetOffset:Au},topRight:{points:["br","tr"],overflow:Eu,offset:[0,-4],targetOffset:Au},bottomLeft:{points:["tl","bl"],overflow:Eu,offset:[0,4],targetOffset:Au},bottomCenter:{points:["tc","bc"],overflow:Eu,offset:[0,4],targetOffset:Au},bottomRight:{points:["tr","br"],overflow:Eu,offset:[0,4],targetOffset:Au}},hge=pge;var gge=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const P9=pe({compatConfig:{MODE:3},props:{minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},arrow:{type:Boolean,default:!1},prefixCls:Z.string.def("rc-dropdown"),transitionName:String,overlayClassName:Z.string.def(""),openClassName:String,animation:Z.any,align:Z.object,overlayStyle:{type:Object,default:void 0},placement:Z.string.def("bottomLeft"),overlay:Z.any,trigger:Z.oneOfType([Z.string,Z.arrayOf(Z.string)]).def("hover"),alignPoint:{type:Boolean,default:void 0},showAction:Z.array,hideAction:Z.array,getPopupContainer:Function,visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},mouseEnterDelay:Z.number.def(.15),mouseLeaveDelay:Z.number.def(.1)},emits:["visibleChange","overlayClick"],setup(e,t){let{slots:n,emit:o,expose:r}=t;const i=he(!!e.visible);Ie(()=>e.visible,h=>{h!==void 0&&(i.value=h)});const a=he();r({triggerRef:a});const l=h=>{e.visible===void 0&&(i.value=!1),o("overlayClick",h)},s=h=>{e.visible===void 0&&(i.value=h),o("visibleChange",h)},c=()=>{var h;const m=(h=n.overlay)===null||h===void 0?void 0:h.call(n),v={prefixCls:`${e.prefixCls}-menu`,onClick:l};return g(Je,{key:kN},[e.arrow&&g("div",{class:`${e.prefixCls}-arrow`},null),Gt(m,v,!1)])},u=M(()=>{const{minOverlayWidthMatchTrigger:h=!e.alignPoint}=e;return h}),d=()=>{var h;const m=(h=n.default)===null||h===void 0?void 0:h.call(n);return i.value&&m?Gt(m[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):m},f=M(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:h,arrow:m,showAction:v,overlayStyle:y,trigger:b,placement:$,align:x,getPopupContainer:_,transitionName:w,animation:I,overlayClassName:O}=e,P=gge(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return g(tu,V(V({},P),{},{prefixCls:h,ref:a,popupClassName:me(O,{[`${h}-show-arrow`]:m}),popupStyle:y,builtinPlacements:hge,action:b,showAction:v,hideAction:f.value||[],popupPlacement:$,popupAlign:x,popupTransitionName:w,popupAnimation:I,popupVisible:i.value,stretch:u.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:_}),{popup:c,default:d})}}}),vge=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},mge=pt("Wave",e=>[vge(e)]);function bge(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function uC(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&bge(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function yge(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return uC(t)?t:uC(n)?n:uC(o)?o:null}function dC(e){return Number.isNaN(e)?0:e}const Sge=pe({props:{target:qe(),className:String},setup(e){const t=ve(null),[n,o]=nn(null),[r,i]=nn([]),[a,l]=nn(0),[s,c]=nn(0),[u,d]=nn(0),[f,h]=nn(0),[m,v]=nn(!1);function y(){const{target:O}=e,P=getComputedStyle(O);o(yge(O));const E=P.position==="static",{borderLeftWidth:R,borderTopWidth:A}=P;l(E?O.offsetLeft:dC(-parseFloat(R))),c(E?O.offsetTop:dC(-parseFloat(A))),d(O.offsetWidth),h(O.offsetHeight);const{borderTopLeftRadius:N,borderTopRightRadius:F,borderBottomLeftRadius:W,borderBottomRightRadius:D}=P;i([N,F,D,W].map(B=>dC(parseFloat(B))))}let b,$,x;const _=()=>{clearTimeout(x),mt.cancel($),b==null||b.disconnect()},w=()=>{var O;const P=(O=t.value)===null||O===void 0?void 0:O.parentElement;P&&(Ec(null,P),P.parentElement&&P.parentElement.removeChild(P))};lt(()=>{_(),x=setTimeout(()=>{w()},5e3);const{target:O}=e;O&&($=mt(()=>{y(),v(!0)}),typeof ResizeObserver<"u"&&(b=new ResizeObserver(y),b.observe(O)))}),Ct(()=>{_()});const I=O=>{O.propertyName==="opacity"&&w()};return()=>{if(!m.value)return null;const O={left:`${a.value}px`,top:`${s.value}px`,width:`${u.value}px`,height:`${f.value}px`,borderRadius:r.value.map(P=>`${P}px`).join(" ")};return n&&(O["--wave-color"]=n.value),g(so,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[g("div",{ref:t,class:e.className,style:O,onTransitionend:I},null)]})}}});function Cge(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),Ec(g(Sge,{target:e,className:t},null),n)}function $ge(e,t,n){function o(){var r;const i=Nr(e);!((r=n==null?void 0:n.value)===null||r===void 0)&&r.disabled||!i||Cge(i,t.value)}return o}const Y_=pe({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const o=Nn(),{prefixCls:r,wave:i}=Ve("wave",e),[,a]=mge(r),l=$ge(o,M(()=>me(r.value,a.value)),i);let s;const c=()=>{Nr(o).removeEventListener("click",s,!0)};return lt(()=>{Ie(()=>e.disabled,()=>{c(),wt(()=>{const u=Nr(o);u==null||u.removeEventListener("click",s,!0),!(!u||u.nodeType!==1||e.disabled)&&(s=d=>{d.target.tagName==="INPUT"||!Yb(d.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l()},u.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),Ct(()=>{c()}),()=>{var u;return(u=n.default)===null||u===void 0?void 0:u.call(n)[0]}}});function I0(e){return e==="danger"?{danger:!0}:{type:e}}const T9=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:Z.any,href:String,target:String,title:String,onClick:Ac(),onMousedown:Ac()}),bM=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},yM=e=>{wt(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},SM=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},xge=pe({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:o}=e;if(t)return g("span",{class:`${n}-loading-icon`},[g(di,null,null)]);const r=!!o;return g(so,{name:`${n}-loading-icon-motion`,onBeforeEnter:bM,onEnter:yM,onAfterEnter:SM,onBeforeLeave:yM,onLeave:i=>{setTimeout(()=>{bM(i)})},onAfterLeave:SM},{default:()=>[r?g("span",{class:`${n}-loading-icon`},[g(di,null,null)]):null]})}}}),CM=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),wge=e=>{const{componentCls:t,fontSize:n,lineWidth:o,colorPrimaryHover:r,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-o,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},CM(`${t}-primary`,r),CM(`${t}-danger`,i)]}},_ge=wge;function Oge(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ige(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Pge(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:S(S({},Oge(e,t)),Ige(e.componentCls,t))}}const Tge=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":S({},Sl(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},$l=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),Ege=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Age=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Sx=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),P0=(e,t,n,o,r,i,a)=>({[`&${e}-background-ghost`]:S(S({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},$l(S({backgroundColor:"transparent"},i),S({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:r||void 0}})}),X_=e=>({"&:disabled":S({},Sx(e))}),E9=e=>S({},X_(e)),T0=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),A9=e=>S(S(S(S(S({},E9(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),$l({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),P0(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:S(S(S({color:e.colorError,borderColor:e.colorError},$l({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),P0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),X_(e))}),Mge=e=>S(S(S(S(S({},E9(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),$l({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),P0(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:S(S(S({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},$l({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),P0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),X_(e))}),Rge=e=>S(S({},A9(e)),{borderStyle:"dashed"}),Dge=e=>S(S(S({color:e.colorLink},$l({color:e.colorLinkHover},{color:e.colorLinkActive})),T0(e)),{[`&${e.componentCls}-dangerous`]:S(S({color:e.colorError},$l({color:e.colorErrorHover},{color:e.colorErrorActive})),T0(e))}),Lge=e=>S(S(S({},$l({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),T0(e)),{[`&${e.componentCls}-dangerous`]:S(S({color:e.colorError},T0(e)),$l({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),Nge=e=>S(S({},Sx(e)),{[`&${e.componentCls}:hover`]:S({},Sx(e))}),kge=e=>{const{componentCls:t}=e;return{[`${t}-default`]:A9(e),[`${t}-primary`]:Mge(e),[`${t}-dashed`]:Rge(e),[`${t}-link`]:Dge(e),[`${t}-text`]:Lge(e),[`${t}-disabled`]:Nge(e)}},q_=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:o,controlHeight:r,fontSize:i,lineHeight:a,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:c}=e,u=Math.max(0,(r-i*a)/2-l),d=c-l,f=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:i,height:r,padding:`${u}px ${d}px`,borderRadius:s,[`&${f}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${f}) ${n}-loading-icon > ${o}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:Ege(e)},{[`${n}${n}-round${t}`]:Age(e)}]},Bge=e=>q_(e),Fge=e=>{const t=nt(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return q_(t,`${e.componentCls}-sm`)},Hge=e=>{const t=nt(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return q_(t,`${e.componentCls}-lg`)},zge=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},jge=pt("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,o=nt(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[Tge(o),Fge(o),Bge(o),Hge(o),zge(o),kge(o),_ge(o),uf(e,{focus:!1}),Pge(e)]}),Wge=()=>({prefixCls:String,size:{type:String}}),M9=S_(),E0=pe({compatConfig:{MODE:3},name:"AButtonGroup",props:Wge(),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=Ve("btn-group",e),[,,i]=Ol();M9.useProvide(St({size:M(()=>e.size)}));const a=M(()=>{const{size:l}=e;let s="";switch(l){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:pn(!l,"Button.Group","Invalid prop `size`.")}return{[`${o.value}`]:!0,[`${o.value}-${s}`]:s,[`${o.value}-rtl`]:r.value==="rtl",[i.value]:!0}});return()=>{var l;return g("div",{class:a.value},[ln((l=n.default)===null||l===void 0?void 0:l.call(n))])}}}),$M=/^[\u4e00-\u9fa5]{2}$/,xM=$M.test.bind($M);function Pv(e){return e==="text"||e==="link"}const Un=pe({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:bt(T9(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r,expose:i}=t;const{prefixCls:a,autoInsertSpaceInButton:l,direction:s,size:c}=Ve("btn",e),[u,d]=jge(a),f=M9.useInject(),h=jr(),m=M(()=>{var D;return(D=e.disabled)!==null&&D!==void 0?D:h.value}),v=ve(null),y=ve(void 0);let b=!1;const $=ve(!1),x=ve(!1),_=M(()=>l.value!==!1),{compactSize:w,compactItemClassnames:I}=Ms(a,s),O=M(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);Ie(O,D=>{clearTimeout(y.value),typeof O.value=="number"?y.value=setTimeout(()=>{$.value=D},O.value):$.value=D},{immediate:!0});const P=M(()=>{const{type:D,shape:B="default",ghost:k,block:L,danger:z}=e,K=a.value,G={large:"lg",small:"sm",middle:void 0},Y=w.value||(f==null?void 0:f.size)||c.value,ne=Y&&G[Y]||"";return[I.value,{[d.value]:!0,[`${K}`]:!0,[`${K}-${B}`]:B!=="default"&&B,[`${K}-${D}`]:D,[`${K}-${ne}`]:ne,[`${K}-loading`]:$.value,[`${K}-background-ghost`]:k&&!Pv(D),[`${K}-two-chinese-chars`]:x.value&&_.value,[`${K}-block`]:L,[`${K}-dangerous`]:!!z,[`${K}-rtl`]:s.value==="rtl"}]}),E=()=>{const D=v.value;if(!D||l.value===!1)return;const B=D.textContent;b&&xM(B)?x.value||(x.value=!0):x.value&&(x.value=!1)},R=D=>{if($.value||m.value){D.preventDefault();return}r("click",D)},A=D=>{r("mousedown",D)},N=(D,B)=>{const k=B?" ":"";if(D.type===_l){let L=D.children.trim();return xM(L)&&(L=L.split("").join(k)),g("span",null,[L])}return D};return ct(()=>{pn(!(e.ghost&&Pv(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),lt(E),fr(E),Ct(()=>{y.value&&clearTimeout(y.value)}),i({focus:()=>{var D;(D=v.value)===null||D===void 0||D.focus()},blur:()=>{var D;(D=v.value)===null||D===void 0||D.blur()}}),()=>{var D,B;const{icon:k=(D=n.icon)===null||D===void 0?void 0:D.call(n)}=e,L=ln((B=n.default)===null||B===void 0?void 0:B.call(n));b=L.length===1&&!k&&!Pv(e.type);const{type:z,htmlType:K,href:G,title:Y,target:ne}=e,re=$.value?"loading":k,J=S(S({},o),{title:Y,disabled:m.value,class:[P.value,o.class,{[`${a.value}-icon-only`]:L.length===0&&!!re}],onClick:R,onMousedown:A});m.value||delete J.disabled;const te=k&&!$.value?k:g(xge,{existIcon:!!k,prefixCls:a.value,loading:!!$.value},null),ee=L.map(ie=>N(ie,b&&_.value));if(G!==void 0)return u(g("a",V(V({},J),{},{href:G,target:ne,ref:v}),[te,ee]));let fe=g("button",V(V({},J),{},{ref:v,type:K}),[te,ee]);if(!Pv(z)){const ie=function(){return fe}();fe=g(Y_,{ref:"wave",disabled:!!$.value},{default:()=>[ie]})}return u(fe)}}});Un.Group=E0;Un.install=function(e){return e.component(Un.name,Un),e.component(E0.name,E0),e};const R9=()=>({arrow:rt([Boolean,Object]),trigger:{type:[Array,String]},menu:qe(),overlay:Z.any,visible:De(),open:De(),disabled:De(),danger:De(),autofocus:De(),align:qe(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:qe(),forceRender:De(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:De(),destroyPopupOnHide:De(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),fC=T9(),Vge=()=>S(S({},R9()),{type:fC.type,size:String,htmlType:fC.htmlType,href:String,disabled:De(),prefixCls:String,icon:Z.any,title:String,loading:fC.loading,onClick:Ac()});var Kge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const Uge=Kge;function wM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gge(e,r,n[r])})}return e}function Gge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z_=function(t,n){var o=wM({},t,n.attrs);return g(Ot,wM({},o,{icon:Uge}),null)};Z_.displayName="EllipsisOutlined";Z_.inheritAttrs=!1;const Q_=Z_,Yge=e=>{const{componentCls:t,antCls:n,paddingXS:o,opacityLoading:r}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:r},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:o}}}}},Xge=Yge,qge=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},Zge=qge,Qge=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,dropdownArrowOffset:i,sizePopupArrow:a,antCls:l,iconCls:s,motionDurationMid:c,dropdownPaddingVertical:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:h,fontSizeIcon:m,controlPaddingHorizontal:v,colorBgElevated:y,boxShadowPopoverArrow:b}=e;return[{[t]:S(S({},vt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:-r+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`
+ &-show-arrow${t}-placement-topLeft,
+ &-show-arrow${t}-placement-top,
+ &-show-arrow${t}-placement-topRight
+ `]:{paddingBottom:r},[`
+ &-show-arrow${t}-placement-bottomLeft,
+ &-show-arrow${t}-placement-bottom,
+ &-show-arrow${t}-placement-bottomRight
+ `]:{paddingTop:r},[`${t}-arrow`]:S({position:"absolute",zIndex:1,display:"block"},L2(a,e.borderRadiusXS,e.borderRadiusOuter,y,b)),[`
+ &-placement-top > ${t}-arrow,
+ &-placement-topLeft > ${t}-arrow,
+ &-placement-topRight > ${t}-arrow
+ `]:{bottom:r,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:i}},[`
+ &-placement-bottom > ${t}-arrow,
+ &-placement-bottomLeft > ${t}-arrow,
+ &-placement-bottomRight > ${t}-arrow
+ `]:{top:r,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:i}},[`&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomLeft,
+ &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomLeft,
+ &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottom,
+ &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottom,
+ &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomRight,
+ &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:vy},[`&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topLeft,
+ &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topLeft,
+ &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-top,
+ &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-top,
+ &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topRight,
+ &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topRight`]:{animationName:by},[`&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomLeft,
+ &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom,
+ &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:my},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft,
+ &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top,
+ &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:yy}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:S(S({padding:f,listStyleType:"none",backgroundColor:y,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Sl(e)),{[`${n}-item-group-title`]:{padding:`${u}px ${v}px`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:S(S({clear:"both",margin:0,padding:`${u}px ${v}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Sl(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:y,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:v+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:y,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[Na(e,"slide-up"),Na(e,"slide-down"),Dd(e,"move-up"),Dd(e,"move-down"),cf(e,"zoom-big")]]},D9=pt("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:o,sizePopupArrow:r,controlHeight:i,fontSize:a,lineHeight:l,paddingXXS:s,componentCls:c,borderRadiusOuter:u,borderRadiusLG:d}=e,f=(i-a*l)/2,{dropdownArrowOffset:h}=w9({sizePopupArrow:r,contentRadius:d,borderRadiusOuter:u}),m=nt(e,{menuCls:`${c}-menu`,rootPrefixCls:n,dropdownArrowDistance:r/2+o,dropdownArrowOffset:h,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[Qge(m),Xge(m),Zge(m)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var Jge=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const eve=Un.Group,fh=pe({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:bt(Vge(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const i=f=>{r("update:visible",f),r("visibleChange",f),r("update:open",f),r("openChange",f)},{prefixCls:a,direction:l,getPopupContainer:s}=Ve("dropdown",e),c=M(()=>`${a.value}-button`),[u,d]=D9(a);return()=>{var f,h;const m=S(S({},e),o),{type:v="default",disabled:y,danger:b,loading:$,htmlType:x,class:_="",overlay:w=(f=n.overlay)===null||f===void 0?void 0:f.call(n),trigger:I,align:O,open:P,visible:E,onVisibleChange:R,placement:A=l.value==="rtl"?"bottomLeft":"bottomRight",href:N,title:F,icon:W=((h=n.icon)===null||h===void 0?void 0:h.call(n))||g(Q_,null,null),mouseEnterDelay:D,mouseLeaveDelay:B,overlayClassName:k,overlayStyle:L,destroyPopupOnHide:z,onClick:K,"onUpdate:open":G}=m,Y=Jge(m,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),ne={align:O,disabled:y,trigger:y?[]:I,placement:A,getPopupContainer:s==null?void 0:s.value,onOpenChange:i,mouseEnterDelay:D,mouseLeaveDelay:B,open:P??E,overlayClassName:k,overlayStyle:L,destroyPopupOnHide:z},re=g(Un,{danger:b,type:v,disabled:y,loading:$,onClick:K,htmlType:x,href:N,title:F},{default:n.default}),J=g(Un,{danger:b,type:v,icon:W},null);return u(g(eve,V(V({},Y),{},{class:me(c.value,_,d.value)}),{default:()=>[n.leftButton?n.leftButton({button:re}):re,g(Ta,ne,{default:()=>[n.rightButton?n.rightButton({button:J}):J],overlay:()=>w})]}))}}});var tve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const nve=tve;function _M(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ove(e,r,n[r])})}return e}function ove(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J_=function(t,n){var o=_M({},t,n.attrs);return g(Ot,_M({},o,{icon:nve}),null)};J_.displayName="RightOutlined";J_.inheritAttrs=!1;const sa=J_,L9=Symbol("OverrideContextKey"),N9=()=>it(L9,void 0),eO=e=>{var t,n,o;const{prefixCls:r,mode:i,selectable:a,validator:l,onClick:s,expandIcon:c}=N9()||{};ft(L9,{prefixCls:M(()=>{var u,d;return(d=(u=e.prefixCls)===null||u===void 0?void 0:u.value)!==null&&d!==void 0?d:r==null?void 0:r.value}),mode:M(()=>{var u,d;return(d=(u=e.mode)===null||u===void 0?void 0:u.value)!==null&&d!==void 0?d:i==null?void 0:i.value}),selectable:M(()=>{var u,d;return(d=(u=e.selectable)===null||u===void 0?void 0:u.value)!==null&&d!==void 0?d:a==null?void 0:a.value}),validator:(t=e.validator)!==null&&t!==void 0?t:l,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(o=e.expandIcon)!==null&&o!==void 0?o:c==null?void 0:c.value})},k9=pe({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:bt(R9(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:i,rootPrefixCls:a,direction:l,getPopupContainer:s}=Ve("dropdown",e),[c,u]=D9(i),d=M(()=>{const{placement:y="",transitionName:b}=e;return b!==void 0?b:y.includes("top")?`${a.value}-slide-down`:`${a.value}-slide-up`});eO({prefixCls:M(()=>`${i.value}-menu`),expandIcon:M(()=>g("span",{class:`${i.value}-menu-submenu-arrow`},[g(sa,{class:`${i.value}-menu-submenu-arrow-icon`},null)])),mode:M(()=>"vertical"),selectable:M(()=>!1),onClick:()=>{},validator:y=>{Sn()}});const f=()=>{var y,b,$;const x=e.overlay||((y=n.overlay)===null||y===void 0?void 0:y.call(n)),_=Array.isArray(x)?x[0]:x;if(!_)return null;const w=_.props||{};pn(!w.mode||w.mode==="vertical","Dropdown",`mode="${w.mode}" is not supported for Dropdown's Menu.`);const{selectable:I=!1,expandIcon:O=($=(b=_.children)===null||b===void 0?void 0:b.expandIcon)===null||$===void 0?void 0:$.call(b)}=w,P=typeof O<"u"&&Jn(O)?O:g("span",{class:`${i.value}-menu-submenu-arrow`},[g(sa,{class:`${i.value}-menu-submenu-arrow-icon`},null)]);return Jn(_)?Gt(_,{mode:"vertical",selectable:I,expandIcon:()=>P}):_},h=M(()=>{const y=e.placement;if(!y)return l.value==="rtl"?"bottomRight":"bottomLeft";if(y.includes("Center")){const b=y.slice(0,y.indexOf("Center"));return pn(!y.includes("Center"),"Dropdown",`You are using '${y}' placement in Dropdown, which is deprecated. Try to use '${b}' instead.`),b}return y}),m=M(()=>typeof e.visible=="boolean"?e.visible:e.open),v=y=>{r("update:visible",y),r("visibleChange",y),r("update:open",y),r("openChange",y)};return()=>{var y,b;const{arrow:$,trigger:x,disabled:_,overlayClassName:w}=e,I=(y=n.default)===null||y===void 0?void 0:y.call(n)[0],O=Gt(I,S({class:me((b=I==null?void 0:I.props)===null||b===void 0?void 0:b.class,{[`${i.value}-rtl`]:l.value==="rtl"},`${i.value}-trigger`)},_?{disabled:_}:{})),P=me(w,u.value,{[`${i.value}-rtl`]:l.value==="rtl"}),E=_?[]:x;let R;E&&E.includes("contextmenu")&&(R=!0);const A=V_({arrowPointAtCenter:typeof $=="object"&&$.pointAtCenter,autoAdjustOverflow:!0}),N=_t(S(S(S({},e),o),{visible:m.value,builtinPlacements:A,overlayClassName:P,arrow:!!$,alignPoint:R,prefixCls:i.value,getPopupContainer:s==null?void 0:s.value,transitionName:d.value,trigger:E,onVisibleChange:v,placement:h.value}),["overlay","onUpdate:visible"]);return c(g(P9,N,{default:()=>[O],overlay:f}))}}});k9.Button=fh;const Ta=k9;var rve=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ive=()=>({prefixCls:String,href:String,separator:Z.any,dropdownProps:qe(),overlay:Z.any,onClick:Ac()}),ph=pe({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:ive(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:i}=Ve("breadcrumb",e),a=(s,c)=>{const u=lo(n,e,"overlay");return u?g(Ta,V(V({},e.dropdownProps),{},{overlay:u,placement:"bottom"}),{default:()=>[g("span",{class:`${c}-overlay-link`},[s,g(jh,null,null)])]}):s},l=s=>{r("click",s)};return()=>{var s;const c=(s=lo(n,e,"separator"))!==null&&s!==void 0?s:"/",u=lo(n,e),{class:d,style:f}=o,h=rve(o,["class","style"]);let m;return e.href!==void 0?m=g("a",V({class:`${i.value}-link`,onClick:l},h),[u]):m=g("span",V({class:`${i.value}-link`,onClick:l},h),[u]),m=a(m,i.value),u!=null?g("li",{class:d,style:f},[m,c&&g("span",{class:`${i.value}-separator`},[c])]):null}}});function ave(e,t,n,o){let r=n?n.call(o,e,t):void 0;if(r!==void 0)return!!r;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const l=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<i.length;s++){const c=i[s];if(!l(c))return!1;const u=e[c],d=t[c];if(r=n?n.call(o,u,d,c):void 0,r===!1||r===void 0&&u!==d)return!1}return!0}function Vu(e,t){return ave($t(e),$t(t))}const B9=Symbol("menuContextKey"),F9=e=>{ft(B9,e)},Al=()=>it(B9),H9=Symbol("ForceRenderKey"),lve=e=>{ft(H9,e)},z9=()=>it(H9,!1),j9=Symbol("menuFirstLevelContextKey"),W9=e=>{ft(j9,e)},sve=()=>it(j9,!0),A0=pe({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const o=Al(),r=S({},o);return e.mode!==void 0&&(r.mode=st(e,"mode")),e.overflowDisabled!==void 0&&(r.overflowDisabled=st(e,"overflowDisabled")),F9(r),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}}),cve=F9,V9=Symbol("siderCollapsed"),K9=Symbol("siderHookProvider"),Tv="$$__vc-menu-more__key",U9=Symbol("KeyPathContext"),tO=()=>it(U9,{parentEventKeys:M(()=>[]),parentKeys:M(()=>[]),parentInfo:{}}),uve=(e,t,n)=>{const{parentEventKeys:o,parentKeys:r}=tO(),i=M(()=>[...o.value,e]),a=M(()=>[...r.value,t]);return ft(U9,{parentEventKeys:i,parentKeys:a,parentInfo:n}),a},G9=Symbol("measure"),OM=pe({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return ft(G9,!0),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),nO=()=>it(G9,!1),dve=uve;function Y9(e){const{mode:t,rtl:n,inlineIndent:o}=Al();return M(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*o.value}px`}:{paddingLeft:`${e.value*o.value}px`})}let fve=0;const pve=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:Z.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:qe()}),Ea=pe({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:pve(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const i=Nn(),a=nO(),l=typeof i.vnode.key=="symbol"?String(i.vnode.key):i.vnode.key;pn(typeof i.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(l)}"\` not support Symbol type`);const s=`menu_item_${++fve}_$$_${l}`,{parentEventKeys:c,parentKeys:u}=tO(),{prefixCls:d,activeKeys:f,disabled:h,changeActiveKeys:m,rtl:v,inlineCollapsed:y,siderCollapsed:b,onItemClick:$,selectedKeys:x,registerMenuInfo:_,unRegisterMenuInfo:w}=Al(),I=sve(),O=ve(!1),P=M(()=>[...u.value,l]);_(s,{eventKey:s,key:l,parentEventKeys:c,parentKeys:u,isLeaf:!0}),Ct(()=>{w(s)}),Ie(f,()=>{O.value=!!f.value.find(G=>G===l)},{immediate:!0});const R=M(()=>h.value||e.disabled),A=M(()=>x.value.includes(l)),N=M(()=>{const G=`${d.value}-item`;return{[`${G}`]:!0,[`${G}-danger`]:e.danger,[`${G}-active`]:O.value,[`${G}-selected`]:A.value,[`${G}-disabled`]:R.value}}),F=G=>({key:l,eventKey:s,keyPath:P.value,eventKeyPath:[...c.value,s],domEvent:G,item:S(S({},e),r)}),W=G=>{if(R.value)return;const Y=F(G);o("click",G),$(Y)},D=G=>{R.value||(m(P.value),o("mouseenter",G))},B=G=>{R.value||(m([]),o("mouseleave",G))},k=G=>{if(o("keydown",G),G.which===Fe.ENTER){const Y=F(G);o("click",G),$(Y)}},L=G=>{m(P.value),o("focus",G)},z=(G,Y)=>{const ne=g("span",{class:`${d.value}-title-content`},[Y]);return(!G||Jn(Y)&&Y.type==="span")&&Y&&y.value&&I&&typeof Y=="string"?g("div",{class:`${d.value}-inline-collapsed-noicon`},[Y.charAt(0)]):ne},K=Y9(M(()=>P.value.length));return()=>{var G,Y,ne,re,J;if(a)return null;const te=(G=e.title)!==null&&G!==void 0?G:(Y=n.title)===null||Y===void 0?void 0:Y.call(n),ee=ln((ne=n.default)===null||ne===void 0?void 0:ne.call(n)),fe=ee.length;let ie=te;typeof te>"u"?ie=I&&fe?ee:"":te===!1&&(ie="");const X={title:ie};!b.value&&!y.value&&(X.title=null,X.open=!1);const ue={};e.role==="option"&&(ue["aria-selected"]=A.value);const ye=(re=e.icon)!==null&&re!==void 0?re:(J=n.icon)===null||J===void 0?void 0:J.call(n,e);return g(Br,V(V({},X),{},{placement:v.value?"left":"right",overlayClassName:`${d.value}-inline-collapsed-tooltip`}),{default:()=>[g(ud.Item,V(V(V({component:"li"},r),{},{id:e.id,style:S(S({},r.style||{}),K.value),class:[N.value,{[`${r.class}`]:!!r.class,[`${d.value}-item-only-child`]:(ye?fe+1:fe)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":l,"aria-disabled":e.disabled},ue),{},{onMouseenter:D,onMouseleave:B,onClick:W,onKeydown:k,onFocus:L,title:typeof te=="string"?te:void 0}),{default:()=>[Gt(typeof ye=="function"?ye(e.originItemValue):ye,{class:`${d.value}-item-icon`},!1),z(ye,ee)]})]})}}}),fs={adjustX:1,adjustY:1},hve={topLeft:{points:["bl","tl"],overflow:fs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fs,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:fs,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:fs,offset:[4,0]}},gve={topLeft:{points:["bl","tl"],overflow:fs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fs,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:fs,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:fs,offset:[4,0]}},vve={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},IM=pe({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:o}=t;const r=ve(!1),{getPopupContainer:i,rtl:a,subMenuOpenDelay:l,subMenuCloseDelay:s,builtinPlacements:c,triggerSubMenuAction:u,forceSubMenuRender:d,motion:f,defaultMotions:h,rootClassName:m}=Al(),v=z9(),y=M(()=>a.value?S(S({},gve),c.value):S(S({},hve),c.value)),b=M(()=>vve[e.mode]),$=ve();Ie(()=>e.visible,w=>{mt.cancel($.value),$.value=mt(()=>{r.value=w})},{immediate:!0}),Ct(()=>{mt.cancel($.value)});const x=w=>{o("visibleChange",w)},_=M(()=>{var w,I;const O=f.value||((w=h.value)===null||w===void 0?void 0:w[e.mode])||((I=h.value)===null||I===void 0?void 0:I.other),P=typeof O=="function"?O():O;return P?Hi(P.name,{css:!0}):void 0});return()=>{const{prefixCls:w,popupClassName:I,mode:O,popupOffset:P,disabled:E}=e;return g(tu,{prefixCls:w,popupClassName:me(`${w}-popup`,{[`${w}-rtl`]:a.value},I,m.value),stretch:O==="horizontal"?"minWidth":null,getPopupContainer:i.value,builtinPlacements:y.value,popupPlacement:b.value,popupVisible:r.value,popupAlign:P&&{offset:P},action:E?[]:[u.value],mouseEnterDelay:l.value,mouseLeaveDelay:s.value,onPopupVisibleChange:x,forceRender:v||d.value,popupAnimation:_.value},{popup:n.popup,default:n.default})}}}),X9=(e,t)=>{let{slots:n,attrs:o}=t;var r;const{prefixCls:i,mode:a}=Al();return g("ul",V(V({},o),{},{class:me(i.value,`${i.value}-sub`,`${i.value}-${a.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(r=n.default)===null||r===void 0?void 0:r.call(n)])};X9.displayName="SubMenuList";const q9=X9,mve=pe({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const o=M(()=>"inline"),{motion:r,mode:i,defaultMotions:a}=Al(),l=M(()=>i.value===o.value),s=he(!l.value),c=M(()=>l.value?e.open:!1);Ie(i,()=>{l.value&&(s.value=!1)},{flush:"post"});const u=M(()=>{var d,f;const h=r.value||((d=a.value)===null||d===void 0?void 0:d[o.value])||((f=a.value)===null||f===void 0?void 0:f.other),m=typeof h=="function"?h():h;return S(S({},m),{appear:e.keyPath.length<=1})});return()=>{var d;return s.value?null:g(A0,{mode:o.value},{default:()=>[g(so,u.value,{default:()=>[Ln(g(q9,{id:e.id},{default:()=>[(d=n.default)===null||d===void 0?void 0:d.call(n)]}),[[Bo,c.value]])]})]})}}});let PM=0;const bve=()=>({icon:Z.any,title:Z.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:qe()}),Lc=pe({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:bve(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;var i,a;W9(!1);const l=nO(),s=Nn(),c=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;pn(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(c)}"\` not support Symbol type`);const u=W$(c)?c:`sub_menu_${++PM}_$$_not_set_key`,d=(i=e.eventKey)!==null&&i!==void 0?i:W$(c)?`sub_menu_${++PM}_$$_${c}`:u,{parentEventKeys:f,parentInfo:h,parentKeys:m}=tO(),v=M(()=>[...m.value,u]),y=ve([]),b={eventKey:d,key:u,parentEventKeys:f,childrenEventKeys:y,parentKeys:m};(a=h.childrenEventKeys)===null||a===void 0||a.value.push(d),Ct(()=>{var Se;h.childrenEventKeys&&(h.childrenEventKeys.value=(Se=h.childrenEventKeys)===null||Se===void 0?void 0:Se.value.filter($e=>$e!=d))}),dve(d,u,b);const{prefixCls:$,activeKeys:x,disabled:_,changeActiveKeys:w,mode:I,inlineCollapsed:O,openKeys:P,overflowDisabled:E,onOpenChange:R,registerMenuInfo:A,unRegisterMenuInfo:N,selectedSubMenuKeys:F,expandIcon:W,theme:D}=Al(),B=c!=null,k=!l&&(z9()||!B);lve(k),(l&&B||!l&&!B||k)&&(A(d,b),Ct(()=>{N(d)}));const L=M(()=>`${$.value}-submenu`),z=M(()=>_.value||e.disabled),K=ve(),G=ve(),Y=M(()=>P.value.includes(u)),ne=M(()=>!E.value&&Y.value),re=M(()=>F.value.includes(u)),J=ve(!1);Ie(x,()=>{J.value=!!x.value.find(Se=>Se===u)},{immediate:!0});const te=Se=>{z.value||(r("titleClick",Se,u),I.value==="inline"&&R(u,!Y.value))},ee=Se=>{z.value||(w(v.value),r("mouseenter",Se))},fe=Se=>{z.value||(w([]),r("mouseleave",Se))},ie=Y9(M(()=>v.value.length)),X=Se=>{I.value!=="inline"&&R(u,Se)},ue=()=>{w(v.value)},ye=d&&`${d}-popup`,H=M(()=>me($.value,`${$.value}-${e.theme||D.value}`,e.popupClassName)),j=(Se,$e)=>{if(!$e)return O.value&&!m.value.length&&Se&&typeof Se=="string"?g("div",{class:`${$.value}-inline-collapsed-noicon`},[Se.charAt(0)]):g("span",{class:`${$.value}-title-content`},[Se]);const _e=Jn(Se)&&Se.type==="span";return g(Je,null,[Gt(typeof $e=="function"?$e(e.originItemValue):$e,{class:`${$.value}-item-icon`},!1),_e?Se:g("span",{class:`${$.value}-title-content`},[Se])])},q=M(()=>I.value!=="inline"&&v.value.length>1?"vertical":I.value),se=M(()=>I.value==="horizontal"?"vertical":I.value),ae=M(()=>q.value==="horizontal"?"vertical":q.value),ge=()=>{var Se,$e;const _e=L.value,be=(Se=e.icon)!==null&&Se!==void 0?Se:($e=n.icon)===null||$e===void 0?void 0:$e.call(n,e),Te=e.expandIcon||n.expandIcon||W.value,Pe=j(lo(n,e,"title"),be);return g("div",{style:ie.value,class:`${_e}-title`,tabindex:z.value?null:-1,ref:K,title:typeof Pe=="string"?Pe:null,"data-menu-id":u,"aria-expanded":ne.value,"aria-haspopup":!0,"aria-controls":ye,"aria-disabled":z.value,onClick:te,onFocus:ue},[Pe,I.value!=="horizontal"&&Te?Te(S(S({},e),{isOpen:ne.value})):g("i",{class:`${_e}-arrow`},null)])};return()=>{var Se;if(l)return B?(Se=n.default)===null||Se===void 0?void 0:Se.call(n):null;const $e=L.value;let _e=()=>null;if(!E.value&&I.value!=="inline"){const be=I.value==="horizontal"?[0,8]:[10,0];_e=()=>g(IM,{mode:q.value,prefixCls:$e,visible:!e.internalPopupClose&&ne.value,popupClassName:H.value,popupOffset:e.popupOffset||be,disabled:z.value,onVisibleChange:X},{default:()=>[ge()],popup:()=>g(A0,{mode:ae.value},{default:()=>[g(q9,{id:ye,ref:G},{default:n.default})]})})}else _e=()=>g(IM,null,{default:ge});return g(A0,{mode:se.value},{default:()=>[g(ud.Item,V(V({component:"li"},o),{},{role:"none",class:me($e,`${$e}-${I.value}`,o.class,{[`${$e}-open`]:ne.value,[`${$e}-active`]:J.value,[`${$e}-selected`]:re.value,[`${$e}-disabled`]:z.value}),onMouseenter:ee,onMouseleave:fe,"data-submenu-id":u}),{default:()=>g(Je,null,[_e(),!E.value&&g(mve,{id:ye,open:ne.value,keyPath:v.value},{default:n.default})])})]})}}});function Z9(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function Cx(e,t){e.classList?e.classList.add(t):Z9(e,t)||(e.className=`${e.className} ${t}`)}function $x(e,t){if(e.classList)e.classList.remove(t);else if(Z9(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const Uh=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",Cx(n,e)},onEnter:n=>{wt(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&($x(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{Cx(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&($x(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},yve=()=>({title:Z.any,originItemValue:qe()}),hh=pe({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:yve(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Al(),i=M(()=>`${r.value}-item-group`),a=nO();return()=>{var l,s;return a?(l=n.default)===null||l===void 0?void 0:l.call(n):g("li",V(V({},o),{},{onClick:c=>c.stopPropagation(),class:i.value}),[g("div",{title:typeof e.title=="string"?e.title:void 0,class:`${i.value}-title`},[lo(n,e,"title")]),g("ul",{class:`${i.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),Sve=()=>({prefixCls:String,dashed:Boolean}),gh=pe({compatConfig:{MODE:3},name:"AMenuDivider",props:Sve(),setup(e){const{prefixCls:t}=Al(),n=M(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>g("li",{class:n.value},null)}});var Cve=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function xx(e,t,n){return(e||[]).map((o,r)=>{if(o&&typeof o=="object"){const i=o,{label:a,children:l,key:s,type:c}=i,u=Cve(i,["label","children","key","type"]),d=s??`tmp-${r}`,f=n?n.parentKeys.slice():[],h=[],m={eventKey:d,key:d,parentEventKeys:he(f),parentKeys:he(f),childrenEventKeys:he(h),isLeaf:!1};if(l||c==="group"){if(c==="group"){const y=xx(l,t,n);return g(hh,V(V({key:d},u),{},{title:a,originItemValue:o}),{default:()=>[y]})}t.set(d,m),n&&n.childrenEventKeys.push(d);const v=xx(l,t,{childrenEventKeys:h,parentKeys:[].concat(f,d)});return g(Lc,V(V({key:d},u),{},{title:a,originItemValue:o}),{default:()=>[v]})}return c==="divider"?g(gh,V({key:d},u),null):(m.isLeaf=!0,t.set(d,m),g(Ea,V(V({key:d},u),{},{originItemValue:o}),{default:()=>[a]}))}return null}).filter(o=>o)}function $ve(e){const t=ve([]),n=ve(!1),o=ve(new Map);return Ie(()=>e.items,()=>{const r=new Map;n.value=!1,e.items?(n.value=!0,t.value=xx(e.items,r)):t.value=void 0,o.value=r},{immediate:!0,deep:!0}),{itemsNodes:t,store:o,hasItmes:n}}const xve=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:o,colorSplit:r,lineWidth:i,lineType:a,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${o}px`,border:0,borderBottom:`${i}px ${a} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,
+ > ${t}-item-active,
+ > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},wve=xve,_ve=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,
+ ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},Ove=_ve,TM=e=>S({},yl(e)),Ive=(e,t)=>{const{componentCls:n,colorItemText:o,colorItemTextSelected:r,colorGroupTitle:i,colorItemBg:a,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:c,colorActiveBarWidth:u,colorActiveBarBorderSize:d,motionDurationSlow:f,motionEaseInOut:h,motionEaseOut:m,menuItemPaddingInline:v,motionDurationMid:y,colorItemTextHover:b,lineType:$,colorSplit:x,colorItemTextDisabled:_,colorDangerItemText:w,colorDangerItemTextHover:I,colorDangerItemTextSelected:O,colorDangerItemBgActive:P,colorDangerItemBgSelected:E,colorItemBgHover:R,menuSubMenuBg:A,colorItemTextSelectedHorizontal:N,colorItemBgSelectedHorizontal:F}=e;return{[`${n}-${t}`]:{color:o,background:a,[`&${n}-root:focus-visible`]:S({},TM(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${_} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:I}},[`&${n}-item:active`]:{background:P}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:O},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:E}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:S({},TM(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:A},[`&${n}-popup > ${n}`]:{backgroundColor:a},[`&${n}-horizontal`]:S(S({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:v,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${f} ${h}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:c,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:F,"&::after":{borderBottomWidth:c,borderBottomColor:N}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${$} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:d&&u?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${m}`,`opacity ${y} ${m}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:O}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${h}`,`opacity ${y} ${h}`].join(",")}}}}}},EM=Ive,AM=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:i,marginXS:a,marginXXS:l}=e,s=r+i+a;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:l,width:`calc(100% - ${o*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item,
+ > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,
+ ${t}-submenu-title`]:{paddingInlineEnd:s}}},Pve=e=>{const{componentCls:t,iconCls:n,menuItemHeight:o,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:c,fontSizeSM:u,fontSizeLG:d,motionDurationSlow:f,paddingXS:h,boxShadowSecondary:m}=e,v={height:o,lineHeight:`${o}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":S({[`&${t}-root`]:{boxShadow:"none"}},AM(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:S(S({},AM(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${a*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:o*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,
+ > ${t}-item-group > ${t}-item-group-list > ${t}-item,
+ > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
+ > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${u}px)`,textOverflow:"clip",[`
+ ${t}-submenu-arrow,
+ ${t}-submenu-expand-icon
+ `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:d,lineHeight:`${o}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:S(S({},eo),{paddingInline:h})}}]},Tve=Pve,MM=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding ${o} ${i}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${r} ${a}`,`margin ${o} ${i}`,`color ${o}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${o} ${i}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:S({},Xc()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},RM=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:i*.6,height:i*.15,backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},Eve=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,lineHeight:l,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:f,borderRadiusLG:h,radiusSubMenuItem:m,menuArrowSize:v,menuArrowOffset:y,lineType:b,menuPanelMaskInset:$}=e;return[{"":{[`${n}`]:S(S({},aa()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:S(S(S(S(S(S(S({},vt(e)),aa()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${c}px`,fontSize:o,lineHeight:l,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${a}`,`padding ${r} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:b,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),MM(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${o*2}px ${c}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,background:"transparent",borderRadius:h,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${$}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:$},[`> ${n}`]:S(S(S({borderRadius:h},MM(e)),RM(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${a}`}})}}),RM(e)),{[`&-inline-collapsed ${n}-submenu-arrow,
+ &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${y})`},"&::after":{transform:`rotate(45deg) translateX(-${y})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${v*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${y})`},"&::before":{transform:`rotate(45deg) translateX(${y})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Ave=(e,t)=>pt("Menu",(o,r)=>{let{overrideComponentToken:i}=r;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:a,colorPrimary:l,colorError:s,colorErrorHover:c,colorTextLightSolid:u}=o,{controlHeightLG:d,fontSize:f}=o,h=f/7*5,m=nt(o,{menuItemHeight:d,menuItemPaddingInline:o.margin,menuArrowSize:h,menuHorizontalHeight:d*1.15,menuArrowOffset:`${h*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:a}),v=new Zt(u).setAlpha(.65).toRgbString(),y=nt(m,{colorItemText:v,colorItemTextHover:u,colorGroupTitle:v,colorItemTextSelected:u,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Zt(u).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:c,colorDangerItemTextSelected:u,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:u,colorItemBgSelectedHorizontal:l},S({},i));return[Eve(m),wve(m),Tve(m),EM(m,"light"),EM(y,"dark"),Ove(m),Kh(m),Na(m,"slide-up"),Na(m,"slide-down"),cf(m,"zoom-big")]},o=>{const{colorPrimary:r,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:h,lineWidthBold:m,controlItemBgActive:v,colorBgTextHover:y}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:r,colorGroupTitle:c,colorItemTextSelected:r,colorItemTextSelectedHorizontal:r,colorItemBg:u,colorItemBgHover:y,colorItemBgActive:f,colorSubItemBg:d,colorItemBgSelected:v,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:m,colorActiveBarBorderSize:h,colorItemTextDisabled:a,colorDangerItemText:i,colorDangerItemTextHover:i,colorDangerItemTextSelected:i,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:o.marginXXS}})(e),Mve=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),DM=[],qn=pe({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Mve(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{direction:i,getPrefixCls:a}=Ve("menu",e),l=N9(),s=M(()=>{var te;return a("menu",e.prefixCls||((te=l==null?void 0:l.prefixCls)===null||te===void 0?void 0:te.value))}),[c,u]=Ave(s,M(()=>!l)),d=ve(new Map),f=it(V9,he(void 0)),h=M(()=>f.value!==void 0?f.value:e.inlineCollapsed),{itemsNodes:m}=$ve(e),v=ve(!1);lt(()=>{v.value=!0}),ct(()=>{pn(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),pn(!(f.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const y=he([]),b=he([]),$=he({});Ie(d,()=>{const te={};for(const ee of d.value.values())te[ee.key]=ee;$.value=te},{flush:"post"}),ct(()=>{if(e.activeKey!==void 0){let te=[];const ee=e.activeKey?$.value[e.activeKey]:void 0;ee&&e.activeKey!==void 0?te=iC([].concat(It(ee.parentKeys),e.activeKey)):te=[],Vu(y.value,te)||(y.value=te)}}),Ie(()=>e.selectedKeys,te=>{te&&(b.value=te.slice())},{immediate:!0,deep:!0});const x=he([]);Ie([$,b],()=>{let te=[];b.value.forEach(ee=>{const fe=$.value[ee];fe&&(te=te.concat(It(fe.parentKeys)))}),te=iC(te),Vu(x.value,te)||(x.value=te)},{immediate:!0});const _=te=>{if(e.selectable){const{key:ee}=te,fe=b.value.includes(ee);let ie;e.multiple?fe?ie=b.value.filter(ue=>ue!==ee):ie=[...b.value,ee]:ie=[ee];const X=S(S({},te),{selectedKeys:ie});Vu(ie,b.value)||(e.selectedKeys===void 0&&(b.value=ie),o("update:selectedKeys",ie),fe&&e.multiple?o("deselect",X):o("select",X))}R.value!=="inline"&&!e.multiple&&w.value.length&&F(DM)},w=he([]);Ie(()=>e.openKeys,function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w.value;Vu(w.value,te)||(w.value=te.slice())},{immediate:!0,deep:!0});let I;const O=te=>{clearTimeout(I),I=setTimeout(()=>{e.activeKey===void 0&&(y.value=te),o("update:activeKey",te[te.length-1])})},P=M(()=>!!e.disabled),E=M(()=>i.value==="rtl"),R=he("vertical"),A=ve(!1);ct(()=>{var te;(e.mode==="inline"||e.mode==="vertical")&&h.value?(R.value="vertical",A.value=h.value):(R.value=e.mode,A.value=!1),!((te=l==null?void 0:l.mode)===null||te===void 0)&&te.value&&(R.value=l.mode.value)});const N=M(()=>R.value==="inline"),F=te=>{w.value=te,o("update:openKeys",te),o("openChange",te)},W=he(w.value),D=ve(!1);Ie(w,()=>{N.value&&(W.value=w.value)},{immediate:!0}),Ie(N,()=>{if(!D.value){D.value=!0;return}N.value?w.value=W.value:F(DM)},{immediate:!0});const B=M(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${R.value}`]:!0,[`${s.value}-inline-collapsed`]:A.value,[`${s.value}-rtl`]:E.value,[`${s.value}-${e.theme}`]:!0})),k=M(()=>a()),L=M(()=>({horizontal:{name:`${k.value}-slide-up`},inline:Uh(`${k.value}-motion-collapse`),other:{name:`${k.value}-zoom-big`}}));W9(!0);const z=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ee=[],fe=d.value;return te.forEach(ie=>{const{key:X,childrenEventKeys:ue}=fe.get(ie);ee.push(X,...z(It(ue)))}),ee},K=te=>{var ee;o("click",te),_(te),(ee=l==null?void 0:l.onClick)===null||ee===void 0||ee.call(l)},G=(te,ee)=>{var fe;const ie=((fe=$.value[te])===null||fe===void 0?void 0:fe.childrenEventKeys)||[];let X=w.value.filter(ue=>ue!==te);if(ee)X.push(te);else if(R.value!=="inline"){const ue=z(It(ie));X=iC(X.filter(ye=>!ue.includes(ye)))}Vu(w,X)||F(X)},Y=(te,ee)=>{d.value.set(te,ee),d.value=new Map(d.value)},ne=te=>{d.value.delete(te),d.value=new Map(d.value)},re=he(0),J=M(()=>{var te;return e.expandIcon||n.expandIcon||!((te=l==null?void 0:l.expandIcon)===null||te===void 0)&&te.value?ee=>{let fe=e.expandIcon||n.expandIcon;return fe=typeof fe=="function"?fe(ee):fe,Gt(fe,{class:`${s.value}-submenu-expand-icon`},!1)}:null});return cve({prefixCls:s,activeKeys:y,openKeys:w,selectedKeys:b,changeActiveKeys:O,disabled:P,rtl:E,mode:R,inlineIndent:M(()=>e.inlineIndent),subMenuCloseDelay:M(()=>e.subMenuCloseDelay),subMenuOpenDelay:M(()=>e.subMenuOpenDelay),builtinPlacements:M(()=>e.builtinPlacements),triggerSubMenuAction:M(()=>e.triggerSubMenuAction),getPopupContainer:M(()=>e.getPopupContainer),inlineCollapsed:A,theme:M(()=>e.theme),siderCollapsed:f,defaultMotions:M(()=>v.value?L.value:null),motion:M(()=>v.value?e.motion:null),overflowDisabled:ve(void 0),onOpenChange:G,onItemClick:K,registerMenuInfo:Y,unRegisterMenuInfo:ne,selectedSubMenuKeys:x,expandIcon:J,forceSubMenuRender:M(()=>e.forceSubMenuRender),rootClassName:u}),()=>{var te,ee;const fe=m.value||ln((te=n.default)===null||te===void 0?void 0:te.call(n)),ie=re.value>=fe.length-1||R.value!=="horizontal"||e.disabledOverflow,X=R.value!=="horizontal"||e.disabledOverflow?fe:fe.map((ye,H)=>g(A0,{key:ye.key,overflowDisabled:H>re.value},{default:()=>ye})),ue=((ee=n.overflowedIndicator)===null||ee===void 0?void 0:ee.call(n))||g(Q_,null,null);return c(g(ud,V(V({},r),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:Ea,class:[B.value,r.class,u.value],role:"menu",id:e.id,data:X,renderRawItem:ye=>ye,renderRawRest:ye=>{const H=ye.length,j=H?fe.slice(-H):null;return g(Je,null,[g(Lc,{eventKey:Tv,key:Tv,title:ue,disabled:ie,internalPopupClose:H===0},{default:()=>j}),g(OM,null,{default:()=>[g(Lc,{eventKey:Tv,key:Tv,title:ue,disabled:ie,internalPopupClose:H===0},{default:()=>j})]})])},maxCount:R.value!=="horizontal"||e.disabledOverflow?ud.INVALIDATE:ud.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:ye=>{re.value=ye}}),{default:()=>[g(Ab,{to:"body"},{default:()=>[g("div",{style:{display:"none"},"aria-hidden":!0},[g(OM,null,{default:()=>[X]})])]})]}))}}});qn.install=function(e){return e.component(qn.name,qn),e.component(Ea.name,Ea),e.component(Lc.name,Lc),e.component(gh.name,gh),e.component(hh.name,hh),e};qn.Item=Ea;qn.Divider=gh;qn.SubMenu=Lc;qn.ItemGroup=hh;const Rve=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:S(S({},vt(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:S({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},Sl(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[`
+ > ${n} + span,
+ > ${n} + a
+ `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Dve=pt("Breadcrumb",e=>{const t=nt(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[Rve(t)]}),Lve=()=>({prefixCls:String,routes:{type:Array},params:Z.any,separator:Z.any,itemRender:{type:Function}});function Nve(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(r,i)=>t[i]||r)}function LM(e){const{route:t,params:n,routes:o,paths:r}=e,i=o.indexOf(t)===o.length-1,a=Nve(t,n);return i?g("span",null,[a]):g("a",{href:`#/${r.join("/")}`},[a])}const _c=pe({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:Lve(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("breadcrumb",e),[a,l]=Dve(r),s=(d,f)=>(d=(d||"").replace(/^\//,""),Object.keys(f).forEach(h=>{d=d.replace(`:${h}`,f[h])}),d),c=(d,f,h)=>{const m=[...d],v=s(f||"",h);return v&&m.push(v),m},u=d=>{let{routes:f=[],params:h={},separator:m,itemRender:v=LM}=d;const y=[];return f.map(b=>{const $=s(b.path,h);$&&y.push($);const x=[...y];let _=null;b.children&&b.children.length&&(_=g(qn,{items:b.children.map(I=>({key:I.path||I.breadcrumbName,label:v({route:I,params:h,routes:f,paths:c(x,I.path,h)})}))},null));const w={separator:m};return _&&(w.overlay=_),g(ph,V(V({},w),{},{key:$||b.breadcrumbName}),{default:()=>[v({route:b,params:h,routes:f,paths:x})]})})};return()=>{var d;let f;const{routes:h,params:m={}}=e,v=ln(lo(n,e)),y=(d=lo(n,e,"separator"))!==null&&d!==void 0?d:"/",b=e.itemRender||n.itemRender||LM;h&&h.length>0?f=u({routes:h,params:m,separator:y,itemRender:b}):v.length&&(f=v.map((x,_)=>(Sn(typeof x.type=="object"&&(x.type.__ANT_BREADCRUMB_ITEM||x.type.__ANT_BREADCRUMB_SEPARATOR)),ko(x,{separator:y,key:_}))));const $={[r.value]:!0,[`${r.value}-rtl`]:i.value==="rtl",[`${o.class}`]:!!o.class,[l.value]:!0};return a(g("nav",V(V({},o),{},{class:$}),[g("ol",null,[f])]))}}});var kve=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Bve=()=>({prefixCls:String}),M0=pe({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:Bve(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Ve("breadcrumb",e);return()=>{var i;const{separator:a,class:l}=o,s=kve(o,["separator","class"]),c=ln((i=n.default)===null||i===void 0?void 0:i.call(n));return g("span",V({class:[`${r.value}-separator`,l]},s),[c.length>0?c:"/"])}}});_c.Item=ph;_c.Separator=M0;_c.install=function(e){return e.component(_c.name,_c),e.component(ph.name,ph),e.component(M0.name,M0),e};var Lr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q9={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",l="minute",s="hour",c="day",u="week",d="month",f="quarter",h="year",m="date",v="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(W){var D=["th","st","nd","rd"],B=W%100;return"["+W+(D[(B-20)%10]||D[B]||D[0])+"]"}},x=function(W,D,B){var k=String(W);return!k||k.length>=D?W:""+Array(D+1-k.length).join(B)+W},_={s:x,z:function(W){var D=-W.utcOffset(),B=Math.abs(D),k=Math.floor(B/60),L=B%60;return(D<=0?"+":"-")+x(k,2,"0")+":"+x(L,2,"0")},m:function W(D,B){if(D.date()<B.date())return-W(B,D);var k=12*(B.year()-D.year())+(B.month()-D.month()),L=D.clone().add(k,d),z=B-L<0,K=D.clone().add(k+(z?-1:1),d);return+(-(k+(B-L)/(z?L-K:K-L))||0)},a:function(W){return W<0?Math.ceil(W)||0:Math.floor(W)},p:function(W){return{M:d,y:h,w:u,d:c,D:m,h:s,m:l,s:a,ms:i,Q:f}[W]||String(W||"").toLowerCase().replace(/s$/,"")},u:function(W){return W===void 0}},w="en",I={};I[w]=$;var O="$isDayjsObject",P=function(W){return W instanceof N||!(!W||!W[O])},E=function W(D,B,k){var L;if(!D)return w;if(typeof D=="string"){var z=D.toLowerCase();I[z]&&(L=z),B&&(I[z]=B,L=z);var K=D.split("-");if(!L&&K.length>1)return W(K[0])}else{var G=D.name;I[G]=D,L=G}return!k&&L&&(w=L),L||!k&&w},R=function(W,D){if(P(W))return W.clone();var B=typeof D=="object"?D:{};return B.date=W,B.args=arguments,new N(B)},A=_;A.l=E,A.i=P,A.w=function(W,D){return R(W,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var N=function(){function W(B){this.$L=E(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[O]=!0}var D=W.prototype;return D.parse=function(B){this.$d=function(k){var L=k.date,z=k.utc;if(L===null)return new Date(NaN);if(A.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var K=L.match(y);if(K){var G=K[2]-1||0,Y=(K[7]||"0").substring(0,3);return z?new Date(Date.UTC(K[1],G,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)):new Date(K[1],G,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)}}return new Date(L)}(B),this.init()},D.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},D.$utils=function(){return A},D.isValid=function(){return this.$d.toString()!==v},D.isSame=function(B,k){var L=R(B);return this.startOf(k)<=L&&L<=this.endOf(k)},D.isAfter=function(B,k){return R(B)<this.startOf(k)},D.isBefore=function(B,k){return this.endOf(k)<R(B)},D.$g=function(B,k,L){return A.u(B)?this[k]:this.set(L,B)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(B,k){var L=this,z=!!A.u(k)||k,K=A.p(B),G=function(ie,X){var ue=A.w(L.$u?Date.UTC(L.$y,X,ie):new Date(L.$y,X,ie),L);return z?ue:ue.endOf(c)},Y=function(ie,X){return A.w(L.toDate()[ie].apply(L.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(X)),L)},ne=this.$W,re=this.$M,J=this.$D,te="set"+(this.$u?"UTC":"");switch(K){case h:return z?G(1,0):G(31,11);case d:return z?G(1,re):G(0,re+1);case u:var ee=this.$locale().weekStart||0,fe=(ne<ee?ne+7:ne)-ee;return G(z?J-fe:J+(6-fe),re);case c:case m:return Y(te+"Hours",0);case s:return Y(te+"Minutes",1);case l:return Y(te+"Seconds",2);case a:return Y(te+"Milliseconds",3);default:return this.clone()}},D.endOf=function(B){return this.startOf(B,!1)},D.$set=function(B,k){var L,z=A.p(B),K="set"+(this.$u?"UTC":""),G=(L={},L[c]=K+"Date",L[m]=K+"Date",L[d]=K+"Month",L[h]=K+"FullYear",L[s]=K+"Hours",L[l]=K+"Minutes",L[a]=K+"Seconds",L[i]=K+"Milliseconds",L)[z],Y=z===c?this.$D+(k-this.$W):k;if(z===d||z===h){var ne=this.clone().set(m,1);ne.$d[G](Y),ne.init(),this.$d=ne.set(m,Math.min(this.$D,ne.daysInMonth())).$d}else G&&this.$d[G](Y);return this.init(),this},D.set=function(B,k){return this.clone().$set(B,k)},D.get=function(B){return this[A.p(B)]()},D.add=function(B,k){var L,z=this;B=Number(B);var K=A.p(k),G=function(re){var J=R(z);return A.w(J.date(J.date()+Math.round(re*B)),z)};if(K===d)return this.set(d,this.$M+B);if(K===h)return this.set(h,this.$y+B);if(K===c)return G(1);if(K===u)return G(7);var Y=(L={},L[l]=o,L[s]=r,L[a]=n,L)[K]||1,ne=this.$d.getTime()+B*Y;return A.w(ne,this)},D.subtract=function(B,k){return this.add(-1*B,k)},D.format=function(B){var k=this,L=this.$locale();if(!this.isValid())return L.invalidDate||v;var z=B||"YYYY-MM-DDTHH:mm:ssZ",K=A.z(this),G=this.$H,Y=this.$m,ne=this.$M,re=L.weekdays,J=L.months,te=L.meridiem,ee=function(X,ue,ye,H){return X&&(X[ue]||X(k,z))||ye[ue].slice(0,H)},fe=function(X){return A.s(G%12||12,X,"0")},ie=te||function(X,ue,ye){var H=X<12?"AM":"PM";return ye?H.toLowerCase():H};return z.replace(b,function(X,ue){return ue||function(ye){switch(ye){case"YY":return String(k.$y).slice(-2);case"YYYY":return A.s(k.$y,4,"0");case"M":return ne+1;case"MM":return A.s(ne+1,2,"0");case"MMM":return ee(L.monthsShort,ne,J,3);case"MMMM":return ee(J,ne);case"D":return k.$D;case"DD":return A.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return ee(L.weekdaysMin,k.$W,re,2);case"ddd":return ee(L.weekdaysShort,k.$W,re,3);case"dddd":return re[k.$W];case"H":return String(G);case"HH":return A.s(G,2,"0");case"h":return fe(1);case"hh":return fe(2);case"a":return ie(G,Y,!0);case"A":return ie(G,Y,!1);case"m":return String(Y);case"mm":return A.s(Y,2,"0");case"s":return String(k.$s);case"ss":return A.s(k.$s,2,"0");case"SSS":return A.s(k.$ms,3,"0");case"Z":return K}return null}(X)||K.replace(":","")})},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(B,k,L){var z,K=this,G=A.p(k),Y=R(B),ne=(Y.utcOffset()-this.utcOffset())*o,re=this-Y,J=function(){return A.m(K,Y)};switch(G){case h:z=J()/12;break;case d:z=J();break;case f:z=J()/3;break;case u:z=(re-ne)/6048e5;break;case c:z=(re-ne)/864e5;break;case s:z=re/r;break;case l:z=re/o;break;case a:z=re/n;break;default:z=re}return L?z:A.a(z)},D.daysInMonth=function(){return this.endOf(d).$D},D.$locale=function(){return I[this.$L]},D.locale=function(B,k){if(!B)return this.$L;var L=this.clone(),z=E(B,k,!0);return z&&(L.$L=z),L},D.clone=function(){return A.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},W}(),F=N.prototype;return R.prototype=F,[["$ms",i],["$s",a],["$m",l],["$H",s],["$W",c],["$M",d],["$y",h],["$D",m]].forEach(function(W){F[W[1]]=function(D){return this.$g(D,W[0],W[1])}}),R.extend=function(W,D){return W.$i||(W(D,N,R),W.$i=!0),R},R.locale=E,R.isDayjs=P,R.unix=function(W){return R(1e3*W)},R.en=I[w],R.Ls=I,R.p={},R})})(Q9);var Fve=Q9.exports;const xo=Ba(Fve);var J9={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){return function(n,o){o.prototype.weekday=function(r){var i=this.$locale().weekStart||0,a=this.$W,l=(a<i?a+7:a)-i;return this.$utils().u(r)?l:this.subtract(l,"day").add(r,"day")}}})})(J9);var Hve=J9.exports;const zve=Ba(Hve);var eB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){return function(n,o,r){var i=o.prototype,a=function(d){return d&&(d.indexOf?d:d.s)},l=function(d,f,h,m,v){var y=d.name?d:d.$locale(),b=a(y[f]),$=a(y[h]),x=b||$.map(function(w){return w.slice(0,m)});if(!v)return x;var _=y.weekStart;return x.map(function(w,I){return x[(I+(_||0))%7]})},s=function(){return r.Ls[r.locale()]},c=function(d,f){return d.formats[f]||function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(m,v,y){return v||y.slice(1)})}(d.formats[f.toUpperCase()])},u=function(){var d=this;return{months:function(f){return f?f.format("MMMM"):l(d,"months")},monthsShort:function(f){return f?f.format("MMM"):l(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):l(d,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):l(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):l(d,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return c(d.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return u.bind(this)()},r.localeData=function(){var d=s();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(f){return c(d,f)},meridiem:d.meridiem,ordinal:d.ordinal}},r.months=function(){return l(s(),"months")},r.monthsShort=function(){return l(s(),"monthsShort","months",3)},r.weekdays=function(d){return l(s(),"weekdays",null,null,d)},r.weekdaysShort=function(d){return l(s(),"weekdaysShort","weekdays",3,d)},r.weekdaysMin=function(d){return l(s(),"weekdaysMin","weekdays",2,d)}}})})(eB);var jve=eB.exports;const Wve=Ba(jve);var tB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){var n="week",o="year";return function(r,i,a){var l=i.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=a(this).startOf(o).add(1,o).date(c),d=a(this).endOf(n);if(u.isBefore(d))return 1}var f=a(this).startOf(o).date(c).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?a(this).startOf("week").week():Math.ceil(h)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(tB);var Vve=tB.exports;const Kve=Ba(Vve);var nB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){return function(n,o){o.prototype.weekYear=function(){var r=this.month(),i=this.week(),a=this.year();return i===1&&r===11?a+1:r===0&&i>=52?a-1:a}}})})(nB);var Uve=nB.exports;const Gve=Ba(Uve);var oB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){var n="month",o="quarter";return function(r,i){var a=i.prototype;a.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var l=a.add;a.add=function(c,u){return c=Number(c),this.$utils().p(u)===o?this.add(3*c,n):l.bind(this)(c,u)};var s=a.startOf;a.startOf=function(c,u){var d=this.$utils(),f=!!d.u(u)||u;if(d.p(c)===o){var h=this.quarter()-1;return f?this.month(3*h).startOf(n).startOf("day"):this.month(3*h+2).endOf(n).endOf("day")}return s.bind(this)(c,u)}}})})(oB);var Yve=oB.exports;const Xve=Ba(Yve);var rB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){return function(n,o){var r=o.prototype,i=r.format;r.format=function(a){var l=this,s=this.$locale();if(!this.isValid())return i.bind(this)(a);var c=this.$utils(),u=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),d==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return d}});return i.bind(this)(u)}}})})(rB);var qve=rB.exports;const Zve=Ba(qve);var iB={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,l={},s=function(v){return(v=+v)+(v>68?1900:2e3)},c=function(v){return function(y){this[v]=+y}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),$=60*b[1]+(+b[2]||0);return $===0?0:b[0]==="+"?-$:$}(v)}],d=function(v){var y=l[v];return y&&(y.indexOf?y:y.s.concat(y.f))},f=function(v,y){var b,$=l.meridiem;if($){for(var x=1;x<=24;x+=1)if(v.indexOf($(x,0,y))>-1){b=x>12;break}}else b=v===(y?"pm":"PM");return b},h={A:[a,function(v){this.afternoon=f(v,!1)}],a:[a,function(v){this.afternoon=f(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[r,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[i,c("seconds")],ss:[i,c("seconds")],m:[i,c("minutes")],mm:[i,c("minutes")],H:[i,c("hours")],h:[i,c("hours")],HH:[i,c("hours")],hh:[i,c("hours")],D:[i,c("day")],DD:[r,c("day")],Do:[a,function(v){var y=l.ordinal,b=v.match(/\d+/);if(this.day=b[0],y)for(var $=1;$<=31;$+=1)y($).replace(/\[|\]/g,"")===v&&(this.day=$)}],M:[i,c("month")],MM:[r,c("month")],MMM:[a,function(v){var y=d("months"),b=(d("monthsShort")||y.map(function($){return $.slice(0,3)})).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[a,function(v){var y=d("months").indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(v){this.year=s(v)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function m(v){var y,b;y=v,b=l&&l.formats;for(var $=(v=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(E,R,A){var N=A&&A.toUpperCase();return R||b[A]||n[A]||b[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,W,D){return W||D.slice(1)})})).match(o),x=$.length,_=0;_<x;_+=1){var w=$[_],I=h[w],O=I&&I[0],P=I&&I[1];$[_]=P?{regex:O,parser:P}:w.replace(/^\[|\]$/g,"")}return function(E){for(var R={},A=0,N=0;A<x;A+=1){var F=$[A];if(typeof F=="string")N+=F.length;else{var W=F.regex,D=F.parser,B=E.slice(N),k=W.exec(B)[0];D.call(R,k),E=E.replace(k,"")}}return function(L){var z=L.afternoon;if(z!==void 0){var K=L.hours;z?K<12&&(L.hours+=12):K===12&&(L.hours=0),delete L.afternoon}}(R),R}}return function(v,y,b){b.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(s=v.parseTwoDigitYear);var $=y.prototype,x=$.parse;$.parse=function(_){var w=_.date,I=_.utc,O=_.args;this.$u=I;var P=O[1];if(typeof P=="string"){var E=O[2]===!0,R=O[3]===!0,A=E||R,N=O[2];R&&(N=O[2]),l=this.$locale(),!E&&N&&(l=b.Ls[N]),this.$d=function(B,k,L){try{if(["x","X"].indexOf(k)>-1)return new Date((k==="X"?1e3:1)*B);var z=m(k)(B),K=z.year,G=z.month,Y=z.day,ne=z.hours,re=z.minutes,J=z.seconds,te=z.milliseconds,ee=z.zone,fe=new Date,ie=Y||(K||G?1:fe.getDate()),X=K||fe.getFullYear(),ue=0;K&&!G||(ue=G>0?G-1:fe.getMonth());var ye=ne||0,H=re||0,j=J||0,q=te||0;return ee?new Date(Date.UTC(X,ue,ie,ye,H,j,q+60*ee.offset*1e3)):L?new Date(Date.UTC(X,ue,ie,ye,H,j,q)):new Date(X,ue,ie,ye,H,j,q)}catch{return new Date("")}}(w,P,I),this.init(),N&&N!==!0&&(this.$L=this.locale(N).$L),A&&w!=this.format(P)&&(this.$d=new Date("")),l={}}else if(P instanceof Array)for(var F=P.length,W=1;W<=F;W+=1){O[1]=P[W-1];var D=b.apply(this,O);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}W===F&&(this.$d=new Date(""))}else x.call(this,_)}}})})(iB);var Qve=iB.exports;const Jve=Ba(Qve);xo.extend(Jve);xo.extend(Zve);xo.extend(zve);xo.extend(Wve);xo.extend(Kve);xo.extend(Gve);xo.extend(Xve);xo.extend((e,t)=>{const n=t.prototype,o=n.format;n.format=function(i){const a=(i||"").replace("Wo","wo");return o.bind(this)(a)}});const eme={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},ec=e=>eme[e]||e.split("_")[0],NM=()=>{pte(!1,"Not match any format. Please help to fire a issue about this.")},tme=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function kM(e,t,n){const o=[...new Set(e.split(n))];let r=0;for(let i=0;i<o.length;i++){const a=o[i];if(r+=a.length,r>t)return a;r+=n.length}}const BM=(e,t)=>{if(!e)return null;if(xo.isDayjs(e))return e;const n=t.matchAll(tme);let o=xo(e,t);if(n===null)return o;for(const r of n){const i=r[0],a=r.index;if(i==="Q"){const l=e.slice(a-1,a),s=kM(e,a,l).match(/\d+/)[0];o=o.quarter(parseInt(s))}if(i.toLowerCase()==="wo"){const l=e.slice(a-1,a),s=kM(e,a,l).match(/\d+/)[0];o=o.week(parseInt(s))}i.toLowerCase()==="ww"&&(o=o.week(parseInt(e.slice(a,a+i.length)))),i.toLowerCase()==="w"&&(o=o.week(parseInt(e.slice(a,a+i.length+1))))}return o},nme={getNow:()=>xo(),getFixedDate:e=>xo(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>xo().locale(ec(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(ec(e)).weekday(0),getWeek:(e,t)=>t.locale(ec(e)).week(),getShortWeekDays:e=>xo().locale(ec(e)).localeData().weekdaysMin(),getShortMonths:e=>xo().locale(ec(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(ec(e)).format(n),parse:(e,t,n)=>{const o=ec(e);for(let r=0;r<n.length;r+=1){const i=n[r],a=t;if(i.includes("wo")||i.includes("Wo")){const s=a.split("-")[0],c=a.split("-")[1],u=xo(s,"YYYY").startOf("year").locale(o);for(let d=0;d<=52;d+=1){const f=u.add(d,"week");if(f.format("Wo")===c)return f}return NM(),null}const l=xo(a,i,!0).locale(o);if(l.isValid())return l}return t||NM(),null}},toDate:(e,t)=>Array.isArray(e)?e.map(n=>BM(n,t)):BM(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>xo.isDayjs(n)?n.format(t):n):xo.isDayjs(e)?e.format(t):e},oO=nme;function to(e){const t=XQ();return S(S({},e),t)}const aB=Symbol("PanelContextProps"),rO=e=>{ft(aB,e)},Fa=()=>it(aB,{}),Ev={visibility:"hidden"};function Rs(e,t){let{slots:n}=t;var o;const r=to(e),{prefixCls:i,prevIcon:a="‹",nextIcon:l="›",superPrevIcon:s="«",superNextIcon:c="»",onSuperPrev:u,onSuperNext:d,onPrev:f,onNext:h}=r,{hideNextBtn:m,hidePrevBtn:v}=Fa();return g("div",{class:i},[u&&g("button",{type:"button",onClick:u,tabindex:-1,class:`${i}-super-prev-btn`,style:v.value?Ev:{}},[s]),f&&g("button",{type:"button",onClick:f,tabindex:-1,class:`${i}-prev-btn`,style:v.value?Ev:{}},[a]),g("div",{class:`${i}-view`},[(o=n.default)===null||o===void 0?void 0:o.call(n)]),h&&g("button",{type:"button",onClick:h,tabindex:-1,class:`${i}-next-btn`,style:m.value?Ev:{}},[l]),d&&g("button",{type:"button",onClick:d,tabindex:-1,class:`${i}-super-next-btn`,style:m.value?Ev:{}},[c])])}Rs.displayName="Header";Rs.inheritAttrs=!1;function iO(e){const t=to(e),{prefixCls:n,generateConfig:o,viewDate:r,onPrevDecades:i,onNextDecades:a}=t,{hideHeader:l}=Fa();if(l)return null;const s=`${n}-header`,c=o.getYear(r),u=Math.floor(c/hl)*hl,d=u+hl-1;return g(Rs,V(V({},t),{},{prefixCls:s,onSuperPrev:i,onSuperNext:a}),{default:()=>[u,Do("-"),d]})}iO.displayName="DecadeHeader";iO.inheritAttrs=!1;function lB(e,t,n,o,r){let i=e.setHour(t,n);return i=e.setMinute(i,o),i=e.setSecond(i,r),i}function hm(e,t,n){if(!n)return t;let o=t;return o=e.setHour(o,e.getHour(n)),o=e.setMinute(o,e.getMinute(n)),o=e.setSecond(o,e.getSecond(n)),o}function ome(e,t,n,o,r,i){const a=Math.floor(e/o)*o;if(a<e)return[a,60-r,60-i];const l=Math.floor(t/r)*r;if(l<t)return[a,l,60-i];const s=Math.floor(n/i)*i;return[a,l,s]}function rme(e,t){const n=e.getYear(t),o=e.getMonth(t)+1,r=e.getEndDate(e.getFixedDate(`${n}-${o}-01`)),i=e.getDate(r),a=o<10?`0${o}`:`${o}`;return`${n}-${a}-${i}`}function nu(e){const{prefixCls:t,disabledDate:n,onSelect:o,picker:r,rowNum:i,colNum:a,prefixColumn:l,rowClassName:s,baseDate:c,getCellClassName:u,getCellText:d,getCellNode:f,getCellDate:h,generateConfig:m,titleCell:v,headerCells:y}=to(e),{onDateMouseenter:b,onDateMouseleave:$,mode:x}=Fa(),_=`${t}-cell`,w=[];for(let I=0;I<i;I+=1){const O=[];let P;for(let E=0;E<a;E+=1){const R=I*a+E,A=h(c,R),N=Ix({cellDate:A,mode:x.value,disabledDate:n,generateConfig:m});E===0&&(P=A,l&&O.push(l(P)));const F=v&&v(A);O.push(g("td",{key:E,title:F,class:me(_,S({[`${_}-disabled`]:N,[`${_}-start`]:d(A)===1||r==="year"&&Number(F)%10===0,[`${_}-end`]:F===rme(m,A)||r==="year"&&Number(F)%10===9},u(A))),onClick:W=>{W.stopPropagation(),N||o(A)},onMouseenter:()=>{!N&&b&&b(A)},onMouseleave:()=>{!N&&$&&$(A)}},[f?f(A):g("div",{class:`${_}-inner`},[d(A)])]))}w.push(g("tr",{key:I,class:s&&s(P)},[O]))}return g("div",{class:`${t}-body`},[g("table",{class:`${t}-content`},[y&&g("thead",null,[g("tr",null,[y])]),g("tbody",null,[w])])])}nu.displayName="PanelBody";nu.inheritAttrs=!1;const wx=3,FM=4;function aO(e){const t=to(e),n=Ji-1,{prefixCls:o,viewDate:r,generateConfig:i}=t,a=`${o}-cell`,l=i.getYear(r),s=Math.floor(l/Ji)*Ji,c=Math.floor(l/hl)*hl,u=c+hl-1,d=i.setYear(r,c-Math.ceil((wx*FM*Ji-hl)/2)),f=h=>{const m=i.getYear(h),v=m+n;return{[`${a}-in-view`]:c<=m&&v<=u,[`${a}-selected`]:m===s}};return g(nu,V(V({},t),{},{rowNum:FM,colNum:wx,baseDate:d,getCellText:h=>{const m=i.getYear(h);return`${m}-${m+n}`},getCellClassName:f,getCellDate:(h,m)=>i.addYear(h,m*Ji)}),null)}aO.displayName="DecadeBody";aO.inheritAttrs=!1;const Av=new Map;function ime(e,t){let n;function o(){Yb(e)?t():n=mt(()=>{o()})}return o(),()=>{mt.cancel(n)}}function _x(e,t,n){if(Av.get(e)&&mt.cancel(Av.get(e)),n<=0){Av.set(e,mt(()=>{e.scrollTop=t}));return}const r=(t-e.scrollTop)/n*10;Av.set(e,mt(()=>{e.scrollTop+=r,e.scrollTop!==t&&_x(e,t,n-10)}))}function pf(e,t){let{onLeftRight:n,onCtrlLeftRight:o,onUpDown:r,onPageUpDown:i,onEnter:a}=t;const{which:l,ctrlKey:s,metaKey:c}=e;switch(l){case Fe.LEFT:if(s||c){if(o)return o(-1),!0}else if(n)return n(-1),!0;break;case Fe.RIGHT:if(s||c){if(o)return o(1),!0}else if(n)return n(1),!0;break;case Fe.UP:if(r)return r(-1),!0;break;case Fe.DOWN:if(r)return r(1),!0;break;case Fe.PAGE_UP:if(i)return i(-1),!0;break;case Fe.PAGE_DOWN:if(i)return i(1),!0;break;case Fe.ENTER:if(a)return a(),!0;break}return!1}function sB(e,t,n,o){let r=e;if(!r)switch(t){case"time":r=o?"hh:mm:ss a":"HH:mm:ss";break;case"week":r="gggg-wo";break;case"month":r="YYYY-MM";break;case"quarter":r="YYYY-[Q]Q";break;case"year":r="YYYY";break;default:r=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return r}function cB(e,t,n){const o=e==="time"?8:10,r=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(o,r)+2}let Kf=null;const Mv=new Set;function ame(e){return!Kf&&typeof window<"u"&&window.addEventListener&&(Kf=t=>{[...Mv].forEach(n=>{n(t)})},window.addEventListener("mousedown",Kf)),Mv.add(e),()=>{Mv.delete(e),Mv.size===0&&(window.removeEventListener("mousedown",Kf),Kf=null)}}function lme(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const sme=e=>e==="month"||e==="date"?"year":e,cme=e=>e==="date"?"month":e,ume=e=>e==="month"||e==="date"?"quarter":e,dme=e=>e==="date"?"week":e,fme={year:sme,month:cme,quarter:ume,week:dme,time:null,date:null};function uB(e,t){return e.some(n=>n&&n.contains(t))}const Ji=10,hl=Ji*10;function lO(e){const t=to(e),{prefixCls:n,onViewDateChange:o,generateConfig:r,viewDate:i,operationRef:a,onSelect:l,onPanelChange:s}=t,c=`${n}-decade-panel`;a.value={onKeydown:f=>pf(f,{onLeftRight:h=>{l(r.addYear(i,h*Ji),"key")},onCtrlLeftRight:h=>{l(r.addYear(i,h*hl),"key")},onUpDown:h=>{l(r.addYear(i,h*Ji*wx),"key")},onEnter:()=>{s("year",i)}})};const u=f=>{const h=r.addYear(i,f*hl);o(h),s(null,h)},d=f=>{l(f,"mouse"),s("year",f)};return g("div",{class:c},[g(iO,V(V({},t),{},{prefixCls:n,onPrevDecades:()=>{u(-1)},onNextDecades:()=>{u(1)}}),null),g(aO,V(V({},t),{},{prefixCls:n,onSelect:d}),null)])}lO.displayName="DecadePanel";lO.inheritAttrs=!1;const gm=7;function ou(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function pme(e,t,n){const o=ou(t,n);if(typeof o=="boolean")return o;const r=Math.floor(e.getYear(t)/10),i=Math.floor(e.getYear(n)/10);return r===i}function $y(e,t,n){const o=ou(t,n);return typeof o=="boolean"?o:e.getYear(t)===e.getYear(n)}function Ox(e,t){return Math.floor(e.getMonth(t)/3)+1}function dB(e,t,n){const o=ou(t,n);return typeof o=="boolean"?o:$y(e,t,n)&&Ox(e,t)===Ox(e,n)}function sO(e,t,n){const o=ou(t,n);return typeof o=="boolean"?o:$y(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function gl(e,t,n){const o=ou(t,n);return typeof o=="boolean"?o:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function hme(e,t,n){const o=ou(t,n);return typeof o=="boolean"?o:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function fB(e,t,n,o){const r=ou(n,o);return typeof r=="boolean"?r:e.locale.getWeek(t,n)===e.locale.getWeek(t,o)}function fd(e,t,n){return gl(e,t,n)&&hme(e,t,n)}function Rv(e,t,n,o){return!t||!n||!o?!1:!gl(e,t,o)&&!gl(e,n,o)&&e.isAfter(o,t)&&e.isAfter(n,o)}function gme(e,t,n){const o=t.locale.getWeekFirstDay(e),r=t.setDate(n,1),i=t.getWeekDay(r);let a=t.addDate(r,o-i);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function wp(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,o*10);case"quarter":case"month":return n.addYear(e,o);default:return n.addMonth(e,o)}}function Wo(e,t){let{generateConfig:n,locale:o,format:r}=t;return typeof r=="function"?r(e):n.locale.format(o.locale,e,r)}function pB(e,t){let{generateConfig:n,locale:o,formatList:r}=t;return!e||typeof r[0]=="function"?null:n.locale.parse(o.locale,e,r)}function Ix(e){let{cellDate:t,mode:n,disabledDate:o,generateConfig:r}=e;if(!o)return!1;const i=(a,l,s)=>{let c=l;for(;c<=s;){let u;switch(a){case"date":{if(u=r.setDate(t,c),!o(u))return!1;break}case"month":{if(u=r.setMonth(t,c),!Ix({cellDate:u,mode:"month",generateConfig:r,disabledDate:o}))return!1;break}case"year":{if(u=r.setYear(t,c),!Ix({cellDate:u,mode:"year",generateConfig:r,disabledDate:o}))return!1;break}}c+=1}return!0};switch(n){case"date":case"week":return o(t);case"month":{const l=r.getDate(r.getEndDate(t));return i("date",1,l)}case"quarter":{const a=Math.floor(r.getMonth(t)/3)*3,l=a+2;return i("month",a,l)}case"year":return i("month",0,11);case"decade":{const a=r.getYear(t),l=Math.floor(a/Ji)*Ji,s=l+Ji-1;return i("year",l,s)}}}function cO(e){const t=to(e),{hideHeader:n}=Fa();if(n.value)return null;const{prefixCls:o,generateConfig:r,locale:i,value:a,format:l}=t,s=`${o}-header`;return g(Rs,{prefixCls:s},{default:()=>[a?Wo(a,{locale:i,format:l,generateConfig:r}):" "]})}cO.displayName="TimeHeader";cO.inheritAttrs=!1;const Dv=pe({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=Fa(),n=ve(null),o=he(new Map),r=he();return Ie(()=>e.value,()=>{const i=o.value.get(e.value);i&&t.value!==!1&&_x(n.value,i.offsetTop,120)}),Ct(()=>{var i;(i=r.value)===null||i===void 0||i.call(r)}),Ie(t,()=>{var i;(i=r.value)===null||i===void 0||i.call(r),wt(()=>{if(t.value){const a=o.value.get(e.value);a&&(r.value=ime(a,()=>{_x(n.value,a.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:i,units:a,onSelect:l,value:s,active:c,hideDisabledOptions:u}=e,d=`${i}-cell`;return g("ul",{class:me(`${i}-column`,{[`${i}-column-active`]:c}),ref:n,style:{position:"relative"}},[a.map(f=>u&&f.disabled?null:g("li",{key:f.value,ref:h=>{o.value.set(f.value,h)},class:me(d,{[`${d}-disabled`]:f.disabled,[`${d}-selected`]:s===f.value}),onClick:()=>{f.disabled||l(f.value)}},[g("div",{class:`${d}-inner`},[f.label])]))])}}});function hB(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",o=String(e);for(;o.length<t;)o=`${n}${e}`;return o}const vme=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t};function gB(e){return e==null?[]:Array.isArray(e)?e:[e]}function vB(e){const t={};return Object.keys(e).forEach(n=>{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function rn(e,t){return e?e[t]:null}function Ii(e,t,n){const o=[rn(e,0),rn(e,1)];return o[n]=typeof t=="function"?t(o[n]):t,!o[0]&&!o[1]?null:o}function pC(e,t,n,o){const r=[];for(let i=e;i<=t;i+=n)r.push({label:hB(i,2),value:i,disabled:(o||[]).includes(i)});return r}const mme=pe({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=M(()=>e.value?e.generateConfig.getHour(e.value):-1),n=M(()=>e.use12Hours?t.value>=12:!1),o=M(()=>e.use12Hours?t.value%12:t.value),r=M(()=>e.value?e.generateConfig.getMinute(e.value):-1),i=M(()=>e.value?e.generateConfig.getSecond(e.value):-1),a=he(e.generateConfig.getNow()),l=he(),s=he(),c=he();Eb(()=>{a.value=e.generateConfig.getNow()}),ct(()=>{if(e.disabledTime){const y=e.disabledTime(a);[l.value,s.value,c.value]=[y.disabledHours,y.disabledMinutes,y.disabledSeconds]}else[l.value,s.value,c.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const u=(y,b,$,x)=>{let _=e.value||e.generateConfig.getNow();const w=Math.max(0,b),I=Math.max(0,$),O=Math.max(0,x);return _=lB(e.generateConfig,_,!e.use12Hours||!y?w:w+12,I,O),_},d=M(()=>{var y;return pC(0,23,(y=e.hourStep)!==null&&y!==void 0?y:1,l.value&&l.value())}),f=M(()=>{if(!e.use12Hours)return[!1,!1];const y=[!0,!0];return d.value.forEach(b=>{let{disabled:$,value:x}=b;$||(x>=12?y[1]=!1:y[0]=!1)}),y}),h=M(()=>e.use12Hours?d.value.filter(n.value?y=>y.value>=12:y=>y.value<12).map(y=>{const b=y.value%12,$=b===0?"12":hB(b,2);return S(S({},y),{label:$,value:b})}):d.value),m=M(()=>{var y;return pC(0,59,(y=e.minuteStep)!==null&&y!==void 0?y:1,s.value&&s.value(t.value))}),v=M(()=>{var y;return pC(0,59,(y=e.secondStep)!==null&&y!==void 0?y:1,c.value&&c.value(t.value,r.value))});return()=>{const{prefixCls:y,operationRef:b,activeColumnIndex:$,showHour:x,showMinute:_,showSecond:w,use12Hours:I,hideDisabledOptions:O,onSelect:P}=e,E=[],R=`${y}-content`,A=`${y}-time-panel`;b.value={onUpDown:W=>{const D=E[$];if(D){const B=D.units.findIndex(L=>L.value===D.value),k=D.units.length;for(let L=1;L<k;L+=1){const z=D.units[(B+W*L+k)%k];if(z.disabled!==!0){D.onSelect(z.value);break}}}}};function N(W,D,B,k,L){W!==!1&&E.push({node:Gt(D,{prefixCls:A,value:B,active:$===E.length,onSelect:L,units:k,hideDisabledOptions:O}),onSelect:L,value:B,units:k})}N(x,g(Dv,{key:"hour"},null),o.value,h.value,W=>{P(u(n.value,W,r.value,i.value),"mouse")}),N(_,g(Dv,{key:"minute"},null),r.value,m.value,W=>{P(u(n.value,o.value,W,i.value),"mouse")}),N(w,g(Dv,{key:"second"},null),i.value,v.value,W=>{P(u(n.value,o.value,r.value,W),"mouse")});let F=-1;return typeof n.value=="boolean"&&(F=n.value?1:0),N(I===!0,g(Dv,{key:"12hours"},null),F,[{label:"AM",value:0,disabled:f.value[0]},{label:"PM",value:1,disabled:f.value[1]}],W=>{P(u(!!W,o.value,r.value,i.value),"mouse")}),g("div",{class:R},[E.map(W=>{let{node:D}=W;return D})])}}}),bme=mme,yme=e=>e.filter(t=>t!==!1).length;function xy(e){const t=to(e),{generateConfig:n,format:o="HH:mm:ss",prefixCls:r,active:i,operationRef:a,showHour:l,showMinute:s,showSecond:c,use12Hours:u=!1,onSelect:d,value:f}=t,h=`${r}-time-panel`,m=he(),v=he(-1),y=yme([l,s,c,u]);return a.value={onKeydown:b=>pf(b,{onLeftRight:$=>{v.value=(v.value+$+y)%y},onUpDown:$=>{v.value===-1?v.value=0:m.value&&m.value.onUpDown($)},onEnter:()=>{d(f||n.getNow(),"key"),v.value=-1}}),onBlur:()=>{v.value=-1}},g("div",{class:me(h,{[`${h}-active`]:i})},[g(cO,V(V({},t),{},{format:o,prefixCls:r}),null),g(bme,V(V({},t),{},{prefixCls:r,activeColumnIndex:v.value,operationRef:m}),null)])}xy.displayName="TimePanel";xy.inheritAttrs=!1;function wy(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:o,hoverRangedValue:r,isInView:i,isSameCell:a,offsetCell:l,today:s,value:c}=e;function u(d){const f=l(d,-1),h=l(d,1),m=rn(o,0),v=rn(o,1),y=rn(r,0),b=rn(r,1),$=Rv(n,y,b,d);function x(E){return a(m,E)}function _(E){return a(v,E)}const w=a(y,d),I=a(b,d),O=($||I)&&(!i(f)||_(f)),P=($||w)&&(!i(h)||x(h));return{[`${t}-in-view`]:i(d),[`${t}-in-range`]:Rv(n,m,v,d),[`${t}-range-start`]:x(d),[`${t}-range-end`]:_(d),[`${t}-range-start-single`]:x(d)&&!v,[`${t}-range-end-single`]:_(d)&&!m,[`${t}-range-start-near-hover`]:x(d)&&(a(f,y)||Rv(n,y,b,f)),[`${t}-range-end-near-hover`]:_(d)&&(a(h,b)||Rv(n,y,b,h)),[`${t}-range-hover`]:$,[`${t}-range-hover-start`]:w,[`${t}-range-hover-end`]:I,[`${t}-range-hover-edge-start`]:O,[`${t}-range-hover-edge-end`]:P,[`${t}-range-hover-edge-start-near-range`]:O&&a(f,v),[`${t}-range-hover-edge-end-near-range`]:P&&a(h,m),[`${t}-today`]:a(s,d),[`${t}-selected`]:a(c,d)}}return u}const mB=Symbol("RangeContextProps"),Sme=e=>{ft(mB,e)},Gh=()=>it(mB,{rangedValue:he(),hoverRangedValue:he(),inRange:he(),panelPosition:he()}),Cme=pe({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const o={rangedValue:he(e.value.rangedValue),hoverRangedValue:he(e.value.hoverRangedValue),inRange:he(e.value.inRange),panelPosition:he(e.value.panelPosition)};return Sme(o),Ie(()=>e.value,()=>{Object.keys(e.value).forEach(r=>{o[r]&&(o[r].value=e.value[r])})}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function _y(e){const t=to(e),{prefixCls:n,generateConfig:o,prefixColumn:r,locale:i,rowCount:a,viewDate:l,value:s,dateRender:c}=t,{rangedValue:u,hoverRangedValue:d}=Gh(),f=gme(i.locale,o,l),h=`${n}-cell`,m=o.locale.getWeekFirstDay(i.locale),v=o.getNow(),y=[],b=i.shortWeekDays||(o.locale.getShortWeekDays?o.locale.getShortWeekDays(i.locale):[]);r&&y.push(g("th",{key:"empty","aria-label":"empty cell"},null));for(let _=0;_<gm;_+=1)y.push(g("th",{key:_},[b[(_+m)%gm]]));const $=wy({cellPrefixCls:h,today:v,value:s,generateConfig:o,rangedValue:r?null:u.value,hoverRangedValue:r?null:d.value,isSameCell:(_,w)=>gl(o,_,w),isInView:_=>sO(o,_,l),offsetCell:(_,w)=>o.addDate(_,w)}),x=c?_=>c({current:_,today:v}):void 0;return g(nu,V(V({},t),{},{rowNum:a,colNum:gm,baseDate:f,getCellNode:x,getCellText:o.getDate,getCellClassName:$,getCellDate:o.addDate,titleCell:_=>Wo(_,{locale:i,format:"YYYY-MM-DD",generateConfig:o}),headerCells:y}),null)}_y.displayName="DateBody";_y.inheritAttrs=!1;_y.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function uO(e){const t=to(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:i,onNextMonth:a,onPrevMonth:l,onNextYear:s,onPrevYear:c,onYearClick:u,onMonthClick:d}=t,{hideHeader:f}=Fa();if(f.value)return null;const h=`${n}-header`,m=r.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(r.locale):[]),v=o.getMonth(i),y=g("button",{type:"button",key:"year",onClick:u,tabindex:-1,class:`${n}-year-btn`},[Wo(i,{locale:r,format:r.yearFormat,generateConfig:o})]),b=g("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[r.monthFormat?Wo(i,{locale:r,format:r.monthFormat,generateConfig:o}):m[v]]),$=r.monthBeforeYear?[b,y]:[y,b];return g(Rs,V(V({},t),{},{prefixCls:h,onSuperPrev:c,onPrev:l,onNext:a,onSuperNext:s}),{default:()=>[$]})}uO.displayName="DateHeader";uO.inheritAttrs=!1;const $me=6;function Yh(e){const t=to(e),{prefixCls:n,panelName:o="date",keyboardConfig:r,active:i,operationRef:a,generateConfig:l,value:s,viewDate:c,onViewDateChange:u,onPanelChange:d,onSelect:f}=t,h=`${n}-${o}-panel`;a.value={onKeydown:y=>pf(y,S({onLeftRight:b=>{f(l.addDate(s||c,b),"key")},onCtrlLeftRight:b=>{f(l.addYear(s||c,b),"key")},onUpDown:b=>{f(l.addDate(s||c,b*gm),"key")},onPageUpDown:b=>{f(l.addMonth(s||c,b),"key")}},r))};const m=y=>{const b=l.addYear(c,y);u(b),d(null,b)},v=y=>{const b=l.addMonth(c,y);u(b),d(null,b)};return g("div",{class:me(h,{[`${h}-active`]:i})},[g(uO,V(V({},t),{},{prefixCls:n,value:s,viewDate:c,onPrevYear:()=>{m(-1)},onNextYear:()=>{m(1)},onPrevMonth:()=>{v(-1)},onNextMonth:()=>{v(1)},onMonthClick:()=>{d("month",c)},onYearClick:()=>{d("year",c)}}),null),g(_y,V(V({},t),{},{onSelect:y=>f(y,"mouse"),prefixCls:n,value:s,viewDate:c,rowCount:$me}),null)])}Yh.displayName="DatePanel";Yh.inheritAttrs=!1;const HM=vme("date","time");function dO(e){const t=to(e),{prefixCls:n,operationRef:o,generateConfig:r,value:i,defaultValue:a,disabledTime:l,showTime:s,onSelect:c}=t,u=`${n}-datetime-panel`,d=he(null),f=he({}),h=he({}),m=typeof s=="object"?S({},s):{};function v(x){const _=HM.indexOf(d.value)+x;return HM[_]||null}const y=x=>{h.value.onBlur&&h.value.onBlur(x),d.value=null};o.value={onKeydown:x=>{if(x.which===Fe.TAB){const _=v(x.shiftKey?-1:1);return d.value=_,_&&x.preventDefault(),!0}if(d.value){const _=d.value==="date"?f:h;return _.value&&_.value.onKeydown&&_.value.onKeydown(x),!0}return[Fe.LEFT,Fe.RIGHT,Fe.UP,Fe.DOWN].includes(x.which)?(d.value="date",!0):!1},onBlur:y,onClose:y};const b=(x,_)=>{let w=x;_==="date"&&!i&&m.defaultValue?(w=r.setHour(w,r.getHour(m.defaultValue)),w=r.setMinute(w,r.getMinute(m.defaultValue)),w=r.setSecond(w,r.getSecond(m.defaultValue))):_==="time"&&!i&&a&&(w=r.setYear(w,r.getYear(a)),w=r.setMonth(w,r.getMonth(a)),w=r.setDate(w,r.getDate(a))),c&&c(w,"mouse")},$=l?l(i||null):{};return g("div",{class:me(u,{[`${u}-active`]:d.value})},[g(Yh,V(V({},t),{},{operationRef:f,active:d.value==="date",onSelect:x=>{b(hm(r,x,!i&&typeof s=="object"?s.defaultValue:null),"date")}}),null),g(xy,V(V(V(V({},t),{},{format:void 0},m),$),{},{disabledTime:null,defaultValue:void 0,operationRef:h,active:d.value==="time",onSelect:x=>{b(x,"time")}}),null)])}dO.displayName="DatetimePanel";dO.inheritAttrs=!1;function fO(e){const t=to(e),{prefixCls:n,generateConfig:o,locale:r,value:i}=t,a=`${n}-cell`,l=u=>g("td",{key:"week",class:me(a,`${a}-week`)},[o.locale.getWeek(r.locale,u)]),s=`${n}-week-panel-row`,c=u=>me(s,{[`${s}-selected`]:fB(o,r.locale,i,u)});return g(Yh,V(V({},t),{},{panelName:"week",prefixColumn:l,rowClassName:c,keyboardConfig:{onLeftRight:null}}),null)}fO.displayName="WeekPanel";fO.inheritAttrs=!1;function pO(e){const t=to(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:i,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:c}=Fa();if(c.value)return null;const u=`${n}-header`;return g(Rs,V(V({},t),{},{prefixCls:u,onSuperPrev:l,onSuperNext:a}),{default:()=>[g("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Wo(i,{locale:r,format:r.yearFormat,generateConfig:o})])]})}pO.displayName="MonthHeader";pO.inheritAttrs=!1;const bB=3,xme=4;function hO(e){const t=to(e),{prefixCls:n,locale:o,value:r,viewDate:i,generateConfig:a,monthCellRender:l}=t,{rangedValue:s,hoverRangedValue:c}=Gh(),u=`${n}-cell`,d=wy({cellPrefixCls:u,value:r,generateConfig:a,rangedValue:s.value,hoverRangedValue:c.value,isSameCell:(v,y)=>sO(a,v,y),isInView:()=>!0,offsetCell:(v,y)=>a.addMonth(v,y)}),f=o.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(o.locale):[]),h=a.setMonth(i,0),m=l?v=>l({current:v,locale:o}):void 0;return g(nu,V(V({},t),{},{rowNum:xme,colNum:bB,baseDate:h,getCellNode:m,getCellText:v=>o.monthFormat?Wo(v,{locale:o,format:o.monthFormat,generateConfig:a}):f[a.getMonth(v)],getCellClassName:d,getCellDate:a.addMonth,titleCell:v=>Wo(v,{locale:o,format:"YYYY-MM",generateConfig:a})}),null)}hO.displayName="MonthBody";hO.inheritAttrs=!1;function gO(e){const t=to(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:i,value:a,viewDate:l,onPanelChange:s,onSelect:c}=t,u=`${n}-month-panel`;o.value={onKeydown:f=>pf(f,{onLeftRight:h=>{c(i.addMonth(a||l,h),"key")},onCtrlLeftRight:h=>{c(i.addYear(a||l,h),"key")},onUpDown:h=>{c(i.addMonth(a||l,h*bB),"key")},onEnter:()=>{s("date",a||l)}})};const d=f=>{const h=i.addYear(l,f);r(h),s(null,h)};return g("div",{class:u},[g(pO,V(V({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),g(hO,V(V({},t),{},{prefixCls:n,onSelect:f=>{c(f,"mouse"),s("date",f)}}),null)])}gO.displayName="MonthPanel";gO.inheritAttrs=!1;function vO(e){const t=to(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:i,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:c}=Fa();if(c.value)return null;const u=`${n}-header`;return g(Rs,V(V({},t),{},{prefixCls:u,onSuperPrev:l,onSuperNext:a}),{default:()=>[g("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Wo(i,{locale:r,format:r.yearFormat,generateConfig:o})])]})}vO.displayName="QuarterHeader";vO.inheritAttrs=!1;const wme=4,_me=1;function mO(e){const t=to(e),{prefixCls:n,locale:o,value:r,viewDate:i,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Gh(),c=`${n}-cell`,u=wy({cellPrefixCls:c,value:r,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(f,h)=>dB(a,f,h),isInView:()=>!0,offsetCell:(f,h)=>a.addMonth(f,h*3)}),d=a.setDate(a.setMonth(i,0),1);return g(nu,V(V({},t),{},{rowNum:_me,colNum:wme,baseDate:d,getCellText:f=>Wo(f,{locale:o,format:o.quarterFormat||"[Q]Q",generateConfig:a}),getCellClassName:u,getCellDate:(f,h)=>a.addMonth(f,h*3),titleCell:f=>Wo(f,{locale:o,format:"YYYY-[Q]Q",generateConfig:a})}),null)}mO.displayName="QuarterBody";mO.inheritAttrs=!1;function bO(e){const t=to(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:i,value:a,viewDate:l,onPanelChange:s,onSelect:c}=t,u=`${n}-quarter-panel`;o.value={onKeydown:f=>pf(f,{onLeftRight:h=>{c(i.addMonth(a||l,h*3),"key")},onCtrlLeftRight:h=>{c(i.addYear(a||l,h),"key")},onUpDown:h=>{c(i.addYear(a||l,h),"key")}})};const d=f=>{const h=i.addYear(l,f);r(h),s(null,h)};return g("div",{class:u},[g(vO,V(V({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),g(mO,V(V({},t),{},{prefixCls:n,onSelect:f=>{c(f,"mouse")}}),null)])}bO.displayName="QuarterPanel";bO.inheritAttrs=!1;function yO(e){const t=to(e),{prefixCls:n,generateConfig:o,viewDate:r,onPrevDecade:i,onNextDecade:a,onDecadeClick:l}=t,{hideHeader:s}=Fa();if(s.value)return null;const c=`${n}-header`,u=o.getYear(r),d=Math.floor(u/ps)*ps,f=d+ps-1;return g(Rs,V(V({},t),{},{prefixCls:c,onSuperPrev:i,onSuperNext:a}),{default:()=>[g("button",{type:"button",onClick:l,class:`${n}-decade-btn`},[d,Do("-"),f])]})}yO.displayName="YearHeader";yO.inheritAttrs=!1;const Px=3,zM=4;function SO(e){const t=to(e),{prefixCls:n,value:o,viewDate:r,locale:i,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Gh(),c=`${n}-cell`,u=a.getYear(r),d=Math.floor(u/ps)*ps,f=d+ps-1,h=a.setYear(r,d-Math.ceil((Px*zM-ps)/2)),m=y=>{const b=a.getYear(y);return d<=b&&b<=f},v=wy({cellPrefixCls:c,value:o,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(y,b)=>$y(a,y,b),isInView:m,offsetCell:(y,b)=>a.addYear(y,b)});return g(nu,V(V({},t),{},{rowNum:zM,colNum:Px,baseDate:h,getCellText:a.getYear,getCellClassName:v,getCellDate:a.addYear,titleCell:y=>Wo(y,{locale:i,format:"YYYY",generateConfig:a})}),null)}SO.displayName="YearBody";SO.inheritAttrs=!1;const ps=10;function CO(e){const t=to(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:i,value:a,viewDate:l,sourceMode:s,onSelect:c,onPanelChange:u}=t,d=`${n}-year-panel`;o.value={onKeydown:h=>pf(h,{onLeftRight:m=>{c(i.addYear(a||l,m),"key")},onCtrlLeftRight:m=>{c(i.addYear(a||l,m*ps),"key")},onUpDown:m=>{c(i.addYear(a||l,m*Px),"key")},onEnter:()=>{u(s==="date"?"date":"month",a||l)}})};const f=h=>{const m=i.addYear(l,h*10);r(m),u(null,m)};return g("div",{class:d},[g(yO,V(V({},t),{},{prefixCls:n,onPrevDecade:()=>{f(-1)},onNextDecade:()=>{f(1)},onDecadeClick:()=>{u("decade",l)}}),null),g(SO,V(V({},t),{},{prefixCls:n,onSelect:h=>{u(s==="date"?"date":"month",h),c(h,"mouse")}}),null)])}CO.displayName="YearPanel";CO.inheritAttrs=!1;function yB(e,t,n){return n?g("div",{class:`${e}-footer-extra`},[n(t)]):null}function SB(e){let{prefixCls:t,components:n={},needConfirmButton:o,onNow:r,onOk:i,okDisabled:a,showNow:l,locale:s}=e,c,u;if(o){const d=n.button||"button";r&&l!==!1&&(c=g("li",{class:`${t}-now`},[g("a",{class:`${t}-now-btn`,onClick:r},[s.now])])),u=o&&g("li",{class:`${t}-ok`},[g(d,{disabled:a,onClick:f=>{f.stopPropagation(),i&&i()}},{default:()=>[s.ok]})])}return!c&&!u?null:g("ul",{class:`${t}-ranges`},[c,u])}function Ome(){return pe({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const o=M(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),r=M(()=>24%e.hourStep===0),i=M(()=>60%e.minuteStep===0),a=M(()=>60%e.secondStep===0),l=Fa(),{operationRef:s,onSelect:c,hideRanges:u,defaultOpenValue:d}=l,{inRange:f,panelPosition:h,rangedValue:m,hoverRangedValue:v}=Gh(),y=he({}),[b,$]=yn(null,{value:st(e,"value"),defaultValue:e.defaultValue,postState:k=>!k&&(d!=null&&d.value)&&e.picker==="time"?d.value:k}),[x,_]=yn(null,{value:st(e,"pickerValue"),defaultValue:e.defaultPickerValue||b.value,postState:k=>{const{generateConfig:L,showTime:z,defaultValue:K}=e,G=L.getNow();return k?!b.value&&e.showTime?typeof z=="object"?hm(L,Array.isArray(k)?k[0]:k,z.defaultValue||G):K?hm(L,Array.isArray(k)?k[0]:k,K):hm(L,Array.isArray(k)?k[0]:k,G):k:G}}),w=k=>{_(k),e.onPickerValueChange&&e.onPickerValueChange(k)},I=k=>{const L=fme[e.picker];return L?L(k):k},[O,P]=yn(()=>e.picker==="time"?"time":I("date"),{value:st(e,"mode")});Ie(()=>e.picker,()=>{P(e.picker)});const E=he(O.value),R=k=>{E.value=k},A=(k,L)=>{const{onPanelChange:z,generateConfig:K}=e,G=I(k||O.value);R(O.value),P(G),z&&(O.value!==G||fd(K,x.value,x.value))&&z(L,G)},N=function(k,L){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:K,generateConfig:G,onSelect:Y,onChange:ne,disabledDate:re}=e;(O.value===K||z)&&($(k),Y&&Y(k),c&&c(k,L),ne&&!fd(G,k,b.value)&&!(re!=null&&re(k))&&ne(k))},F=k=>y.value&&y.value.onKeydown?([Fe.LEFT,Fe.RIGHT,Fe.UP,Fe.DOWN,Fe.PAGE_UP,Fe.PAGE_DOWN,Fe.ENTER].includes(k.which)&&k.preventDefault(),y.value.onKeydown(k)):!1,W=k=>{y.value&&y.value.onBlur&&y.value.onBlur(k)},D=()=>{const{generateConfig:k,hourStep:L,minuteStep:z,secondStep:K}=e,G=k.getNow(),Y=ome(k.getHour(G),k.getMinute(G),k.getSecond(G),r.value?L:1,i.value?z:1,a.value?K:1),ne=lB(k,G,Y[0],Y[1],Y[2]);N(ne,"submit")},B=M(()=>{const{prefixCls:k,direction:L}=e;return me(`${k}-panel`,{[`${k}-panel-has-range`]:m&&m.value&&m.value[0]&&m.value[1],[`${k}-panel-has-range-hover`]:v&&v.value&&v.value[0]&&v.value[1],[`${k}-panel-rtl`]:L==="rtl"})});return rO(S(S({},l),{mode:O,hideHeader:M(()=>{var k;return e.hideHeader!==void 0?e.hideHeader:(k=l.hideHeader)===null||k===void 0?void 0:k.value}),hidePrevBtn:M(()=>f.value&&h.value==="right"),hideNextBtn:M(()=>f.value&&h.value==="left")})),Ie(()=>e.value,()=>{e.value&&_(e.value)}),()=>{const{prefixCls:k="ant-picker",locale:L,generateConfig:z,disabledDate:K,picker:G="date",tabindex:Y=0,showNow:ne,showTime:re,showToday:J,renderExtraFooter:te,onMousedown:ee,onOk:fe,components:ie}=e;s&&h.value!=="right"&&(s.value={onKeydown:F,onClose:()=>{y.value&&y.value.onClose&&y.value.onClose()}});let X;const ue=S(S(S({},n),e),{operationRef:y,prefixCls:k,viewDate:x.value,value:b.value,onViewDateChange:w,sourceMode:E.value,onPanelChange:A,disabledDate:K});switch(delete ue.onChange,delete ue.onSelect,O.value){case"decade":X=g(lO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;case"year":X=g(CO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;case"month":X=g(gO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;case"quarter":X=g(bO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;case"week":X=g(fO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;case"time":delete ue.showTime,X=g(xy,V(V(V({},ue),typeof re=="object"?re:null),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null);break;default:re?X=g(dO,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null):X=g(Yh,V(V({},ue),{},{onSelect:(q,se)=>{w(q),N(q,se)}}),null)}let ye,H;u!=null&&u.value||(ye=yB(k,O.value,te),H=SB({prefixCls:k,components:ie,needConfirmButton:o.value,okDisabled:!b.value||K&&K(b.value),locale:L,showNow:ne,onNow:o.value&&D,onOk:()=>{b.value&&(N(b.value,"submit",!0),fe&&fe(b.value))}}));let j;if(J&&O.value==="date"&&G==="date"&&!re){const q=z.getNow(),se=`${k}-today-btn`,ae=K&&K(q);j=g("a",{class:me(se,ae&&`${se}-disabled`),"aria-disabled":ae,onClick:()=>{ae||N(q,"mouse",!0)}},[L.today])}return g("div",{tabindex:Y,class:me(B.value,n.class),style:n.style,onKeydown:F,onBlur:W,onMousedown:ee},[X,ye||H||j?g("div",{class:`${k}-footer`},[ye,H,j]):null])}}})}const Ime=Ome(),$O=e=>g(Ime,e),Pme={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function CB(e,t){let{slots:n}=t;const{prefixCls:o,popupStyle:r,visible:i,dropdownClassName:a,dropdownAlign:l,transitionName:s,getPopupContainer:c,range:u,popupPlacement:d,direction:f}=to(e),h=`${o}-dropdown`;return g(tu,{showAction:[],hideAction:[],popupPlacement:d!==void 0?d:f==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Pme,prefixCls:h,popupTransitionName:s,popupAlign:l,popupVisible:i,popupClassName:me(a,{[`${h}-range`]:u,[`${h}-rtl`]:f==="rtl"}),popupStyle:r,getPopupContainer:c},{default:n.default,popup:n.popupElement})}const $B=pe({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?g("div",{class:`${e.prefixCls}-presets`},[g("ul",null,[e.presets.map((t,n)=>{let{label:o,value:r}=t;return g("li",{key:n,onClick:()=>{e.onClick(r)},onMouseenter:()=>{var i;(i=e.onHover)===null||i===void 0||i.call(e,r)},onMouseleave:()=>{var i;(i=e.onHover)===null||i===void 0||i.call(e,null)}},[o])})])]):null}});function Tx(e){let{open:t,value:n,isClickOutside:o,triggerOpen:r,forwardKeydown:i,onKeydown:a,blurToCancel:l,onSubmit:s,onCancel:c,onFocus:u,onBlur:d}=e;const f=ve(!1),h=ve(!1),m=ve(!1),v=ve(!1),y=ve(!1),b=M(()=>({onMousedown:()=>{f.value=!0,r(!0)},onKeydown:x=>{if(a(x,()=>{y.value=!0}),!y.value){switch(x.which){case Fe.ENTER:{t.value?s()!==!1&&(f.value=!0):r(!0),x.preventDefault();return}case Fe.TAB:{f.value&&t.value&&!x.shiftKey?(f.value=!1,x.preventDefault()):!f.value&&t.value&&!i(x)&&x.shiftKey&&(f.value=!0,x.preventDefault());return}case Fe.ESC:{f.value=!0,c();return}}!t.value&&![Fe.SHIFT].includes(x.which)?r(!0):f.value||i(x)}},onFocus:x=>{f.value=!0,h.value=!0,u&&u(x)},onBlur:x=>{if(m.value||!o(document.activeElement)){m.value=!1;return}l.value?setTimeout(()=>{let{activeElement:_}=document;for(;_&&_.shadowRoot;)_=_.shadowRoot.activeElement;o(_)&&c()},0):t.value&&(r(!1),v.value&&s()),h.value=!1,d&&d(x)}}));Ie(t,()=>{v.value=!1}),Ie(n,()=>{v.value=!0});const $=ve();return lt(()=>{$.value=ame(x=>{const _=lme(x);if(t.value){const w=o(_);w?(!h.value||w)&&r(!1):(m.value=!0,mt(()=>{m.value=!1}))}})}),Ct(()=>{$.value&&$.value()}),[b,{focused:h,typing:f}]}function Ex(e){let{valueTexts:t,onTextChange:n}=e;const o=he("");function r(a){o.value=a,n(a)}function i(){o.value=t.value[0]}return Ie(()=>[...t.value],function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];a.join("||")!==l.join("||")&&t.value.every(s=>s!==o.value)&&i()},{immediate:!0}),[o,r,i]}function R0(e,t){let{formatList:n,generateConfig:o,locale:r}=t;const i=a_(()=>{if(!e.value)return[[""],""];let s="";const c=[];for(let u=0;u<n.value.length;u+=1){const d=n.value[u],f=Wo(e.value,{generateConfig:o.value,locale:r.value,format:d});c.push(f),u===0&&(s=f)}return[c,s]},[e,n],(s,c)=>c[0]!==s[0]||!Vu(c[1],s[1])),a=M(()=>i.value[0]),l=M(()=>i.value[1]);return[a,l]}function Ax(e,t){let{formatList:n,generateConfig:o,locale:r}=t;const i=he(null);let a;function l(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(mt.cancel(a),f){i.value=d;return}a=mt(()=>{i.value=d})}const[,s]=R0(i,{formatList:n,generateConfig:o,locale:r});function c(d){l(d)}function u(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l(null,d)}return Ie(e,()=>{u(!0)}),Ct(()=>{mt.cancel(a)}),[s,c,u]}function xB(e,t){return M(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Hb(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(o=>{const r=t.value[o],i=typeof r=="function"?r():r;return{label:o,value:i}})):[])}function Tme(){return pe({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:o}=t;const r=he(null),i=M(()=>e.presets),a=xB(i),l=M(()=>{var K;return(K=e.picker)!==null&&K!==void 0?K:"date"}),s=M(()=>l.value==="date"&&!!e.showTime||l.value==="time"),c=M(()=>gB(sB(e.format,l.value,e.showTime,e.use12Hours))),u=he(null),d=he(null),f=he(null),[h,m]=yn(null,{value:st(e,"value"),defaultValue:e.defaultValue}),v=he(h.value),y=K=>{v.value=K},b=he(null),[$,x]=yn(!1,{value:st(e,"open"),defaultValue:e.defaultOpen,postState:K=>e.disabled?!1:K,onChange:K=>{e.onOpenChange&&e.onOpenChange(K),!K&&b.value&&b.value.onClose&&b.value.onClose()}}),[_,w]=R0(v,{formatList:c,generateConfig:st(e,"generateConfig"),locale:st(e,"locale")}),[I,O,P]=Ex({valueTexts:_,onTextChange:K=>{const G=pB(K,{locale:e.locale,formatList:c.value,generateConfig:e.generateConfig});G&&(!e.disabledDate||!e.disabledDate(G))&&y(G)}}),E=K=>{const{onChange:G,generateConfig:Y,locale:ne}=e;y(K),m(K),G&&!fd(Y,h.value,K)&&G(K,K?Wo(K,{generateConfig:Y,locale:ne,format:c.value[0]}):"")},R=K=>{e.disabled&&K||x(K)},A=K=>$.value&&b.value&&b.value.onKeydown?b.value.onKeydown(K):!1,N=function(){e.onMouseup&&e.onMouseup(...arguments),r.value&&(r.value.focus(),R(!0))},[F,{focused:W,typing:D}]=Tx({blurToCancel:s,open:$,value:I,triggerOpen:R,forwardKeydown:A,isClickOutside:K=>!uB([u.value,d.value,f.value],K),onSubmit:()=>!v.value||e.disabledDate&&e.disabledDate(v.value)?!1:(E(v.value),R(!1),P(),!0),onCancel:()=>{R(!1),y(h.value),P()},onKeydown:(K,G)=>{var Y;(Y=e.onKeydown)===null||Y===void 0||Y.call(e,K,G)},onFocus:K=>{var G;(G=e.onFocus)===null||G===void 0||G.call(e,K)},onBlur:K=>{var G;(G=e.onBlur)===null||G===void 0||G.call(e,K)}});Ie([$,_],()=>{$.value||(y(h.value),!_.value.length||_.value[0]===""?O(""):w.value!==I.value&&P())}),Ie(l,()=>{$.value||P()}),Ie(h,()=>{y(h.value)});const[B,k,L]=Ax(I,{formatList:c,generateConfig:st(e,"generateConfig"),locale:st(e,"locale")}),z=(K,G)=>{(G==="submit"||G!=="key"&&!s.value)&&(E(K),R(!1))};return rO({operationRef:b,hideHeader:M(()=>l.value==="time"),onSelect:z,open:$,defaultOpenValue:st(e,"defaultOpenValue"),onDateMouseenter:k,onDateMouseleave:L}),o({focus:()=>{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()}}),()=>{const{prefixCls:K="rc-picker",id:G,tabindex:Y,dropdownClassName:ne,dropdownAlign:re,popupStyle:J,transitionName:te,generateConfig:ee,locale:fe,inputReadOnly:ie,allowClear:X,autofocus:ue,picker:ye="date",defaultOpenValue:H,suffixIcon:j,clearIcon:q,disabled:se,placeholder:ae,getPopupContainer:ge,panelRender:Se,onMousedown:$e,onMouseenter:_e,onMouseleave:be,onContextmenu:Te,onClick:Pe,onSelect:oe,direction:le,autocomplete:xe="off"}=e,Ae=S(S(S({},e),n),{class:me({[`${K}-panel-focused`]:!D.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let Be=g("div",{class:`${K}-panel-layout`},[g($B,{prefixCls:K,presets:a.value,onClick:Ue=>{E(Ue),R(!1)}},null),g($O,V(V({},Ae),{},{generateConfig:ee,value:v.value,locale:fe,tabindex:-1,onSelect:Ue=>{oe==null||oe(Ue),y(Ue)},direction:le,onPanelChange:(Ue,Xe)=>{const{onPanelChange:xt}=e;L(!0),xt==null||xt(Ue,Xe)}}),null)]);Se&&(Be=Se(Be));const Ye=g("div",{class:`${K}-panel-container`,ref:u,onMousedown:Ue=>{Ue.preventDefault()}},[Be]);let Re;j&&(Re=g("span",{class:`${K}-suffix`},[j]));let Le;X&&h.value&&!se&&(Le=g("span",{onMousedown:Ue=>{Ue.preventDefault(),Ue.stopPropagation()},onMouseup:Ue=>{Ue.preventDefault(),Ue.stopPropagation(),E(null),R(!1)},class:`${K}-clear`,role:"button"},[q||g("span",{class:`${K}-clear-btn`},null)]));const Ne=S(S(S(S({id:G,tabindex:Y,disabled:se,readonly:ie||typeof c.value[0]=="function"||!D.value,value:B.value||I.value,onInput:Ue=>{O(Ue.target.value)},autofocus:ue,placeholder:ae,ref:r,title:I.value},F.value),{size:cB(ye,c.value[0],ee)}),vB(e)),{autocomplete:xe}),Ke=e.inputRender?e.inputRender(Ne):g("input",Ne,null),Ze=le==="rtl"?"bottomRight":"bottomLeft";return g("div",{ref:f,class:me(K,n.class,{[`${K}-disabled`]:se,[`${K}-focused`]:W.value,[`${K}-rtl`]:le==="rtl"}),style:n.style,onMousedown:$e,onMouseup:N,onMouseenter:_e,onMouseleave:be,onContextmenu:Te,onClick:Pe},[g("div",{class:me(`${K}-input`,{[`${K}-input-placeholder`]:!!B.value}),ref:d},[Ke,Re,Le]),g(CB,{visible:$.value,popupStyle:J,prefixCls:K,dropdownClassName:ne,dropdownAlign:re,getPopupContainer:ge,transitionName:te,popupPlacement:Ze,direction:le},{default:()=>[g("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>Ye})])}}})}const Eme=Tme();function Ame(e,t){let{picker:n,locale:o,selectedValue:r,disabledDate:i,disabled:a,generateConfig:l}=e;const s=M(()=>rn(r.value,0)),c=M(()=>rn(r.value,1));function u(v){return l.value.locale.getWeekFirstDate(o.value.locale,v)}function d(v){const y=l.value.getYear(v),b=l.value.getMonth(v);return y*100+b}function f(v){const y=l.value.getYear(v),b=Ox(l.value,v);return y*10+b}return[v=>{var y;if(i&&(!((y=i==null?void 0:i.value)===null||y===void 0)&&y.call(i,v)))return!0;if(a[1]&&c)return!gl(l.value,v,c.value)&&l.value.isAfter(v,c.value);if(t.value[1]&&c.value)switch(n.value){case"quarter":return f(v)>f(c.value);case"month":return d(v)>d(c.value);case"week":return u(v)>u(c.value);default:return!gl(l.value,v,c.value)&&l.value.isAfter(v,c.value)}return!1},v=>{var y;if(!((y=i.value)===null||y===void 0)&&y.call(i,v))return!0;if(a[0]&&s)return!gl(l.value,v,c.value)&&l.value.isAfter(s.value,v);if(t.value[0]&&s.value)switch(n.value){case"quarter":return f(v)<f(s.value);case"month":return d(v)<d(s.value);case"week":return u(v)<u(s.value);default:return!gl(l.value,v,s.value)&&l.value.isAfter(s.value,v)}return!1}]}function Mme(e,t,n,o){const r=wp(e,n,o,1);function i(a){return a(e,t)?"same":a(r,t)?"closing":"far"}switch(n){case"year":return i((a,l)=>pme(o,a,l));case"quarter":case"month":return i((a,l)=>$y(o,a,l));default:return i((a,l)=>sO(o,a,l))}}function Rme(e,t,n,o){const r=rn(e,0),i=rn(e,1);if(t===0)return r;if(r&&i)switch(Mme(r,i,n,o)){case"same":return r;case"closing":return r;default:return wp(i,n,o,-1)}return r}function Dme(e){let{values:t,picker:n,defaultDates:o,generateConfig:r}=e;const i=he([rn(o,0),rn(o,1)]),a=he(null),l=M(()=>rn(t.value,0)),s=M(()=>rn(t.value,1)),c=h=>i.value[h]?i.value[h]:rn(a.value,h)||Rme(t.value,h,n.value,r.value)||l.value||s.value||r.value.getNow(),u=he(null),d=he(null);ct(()=>{u.value=c(0),d.value=c(1)});function f(h,m){if(h){let v=Ii(a.value,h,m);i.value=Ii(i.value,null,m)||[null,null];const y=(m+1)%2;rn(t.value,y)||(v=Ii(v,h,y)),a.value=v}else(l.value||s.value)&&(a.value=null)}return[u,d,f]}function wB(e){return Sb()?(r2(e),!0):!1}function Lme(e){return typeof e=="function"?e():It(e)}function xO(e){var t;const n=Lme(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Nme(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Nn()?lt(e):t?e():wt(e)}function _B(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=ve(),o=()=>n.value=!!e();return o(),Nme(o,t),n}var hC;const OB=typeof window<"u";OB&&(!((hC=window==null?void 0:window.navigator)===null||hC===void 0)&&hC.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const IB=OB?window:void 0;var kme=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Bme(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=IB}=n,r=kme(n,["window"]);let i;const a=_B(()=>o&&"ResizeObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},s=Ie(()=>xO(e),u=>{l(),a.value&&o&&u&&(i=new ResizeObserver(t),i.observe(u,r))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return wB(c),{isSupported:a,stop:c}}function Uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:o="content-box"}=n,r=ve(t.width),i=ve(t.height);return Bme(e,a=>{let[l]=a;const s=o==="border-box"?l.borderBoxSize:o==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;s?(r.value=s.reduce((c,u)=>{let{inlineSize:d}=u;return c+d},0),i.value=s.reduce((c,u)=>{let{blockSize:d}=u;return c+d},0)):(r.value=l.contentRect.width,i.value=l.contentRect.height)},n),Ie(()=>xO(e),a=>{r.value=a?t.width:0,i.value=a?t.height:0}),{width:r,height:i}}function jM(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function WM(e,t,n,o){return!!(e||o&&o[t]||n[(t+1)%2])}function Fme(){return pe({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:o}=t;const r=M(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=M(()=>e.presets),a=M(()=>e.ranges),l=xB(i,a),s=he({}),c=he(null),u=he(null),d=he(null),f=he(null),h=he(null),m=he(null),v=he(null),y=he(null),b=M(()=>gB(sB(e.format,e.picker,e.showTime,e.use12Hours))),[$,x]=yn(0,{value:st(e,"activePickerIndex")}),_=he(null),w=M(()=>{const{disabled:We}=e;return Array.isArray(We)?We:[We||!1,We||!1]}),[I,O]=yn(null,{value:st(e,"value"),defaultValue:e.defaultValue,postState:We=>e.picker==="time"&&!e.order?We:jM(We,e.generateConfig)}),[P,E,R]=Dme({values:I,picker:st(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:st(e,"generateConfig")}),[A,N]=yn(I.value,{postState:We=>{let gt=We;if(w.value[0]&&w.value[1])return gt;for(let ut=0;ut<2;ut+=1)w.value[ut]&&!rn(gt,ut)&&!rn(e.allowEmpty,ut)&&(gt=Ii(gt,e.generateConfig.getNow(),ut));return gt}}),[F,W]=yn([e.picker,e.picker],{value:st(e,"mode")});Ie(()=>e.picker,()=>{W([e.picker,e.picker])});const D=(We,gt)=>{var ut;W(We),(ut=e.onPanelChange)===null||ut===void 0||ut.call(e,gt,We)},[B,k]=Ame({picker:st(e,"picker"),selectedValue:A,locale:st(e,"locale"),disabled:w,disabledDate:st(e,"disabledDate"),generateConfig:st(e,"generateConfig")},s),[L,z]=yn(!1,{value:st(e,"open"),defaultValue:e.defaultOpen,postState:We=>w.value[$.value]?!1:We,onChange:We=>{var gt;(gt=e.onOpenChange)===null||gt===void 0||gt.call(e,We),!We&&_.value&&_.value.onClose&&_.value.onClose()}}),K=M(()=>L.value&&$.value===0),G=M(()=>L.value&&$.value===1),Y=he(0),ne=he(0),re=he(0),{width:J}=Uf(c);Ie([L,J],()=>{!L.value&&c.value&&(re.value=J.value)});const{width:te}=Uf(u),{width:ee}=Uf(y),{width:fe}=Uf(d),{width:ie}=Uf(h);Ie([$,L,te,ee,fe,ie,()=>e.direction],()=>{ne.value=0,$.value?d.value&&h.value&&(ne.value=fe.value+ie.value,te.value&&ee.value&&ne.value>te.value-ee.value-(e.direction==="rtl"||y.value.offsetLeft>ne.value?0:y.value.offsetLeft)&&(Y.value=ne.value)):$.value===0&&(Y.value=0)},{immediate:!0});const X=he();function ue(We,gt){if(We)clearTimeout(X.value),s.value[gt]=!0,x(gt),z(We),L.value||R(null,gt);else if($.value===gt){z(We);const ut=s.value;X.value=setTimeout(()=>{ut===s.value&&(s.value={})})}}function ye(We){ue(!0,We),setTimeout(()=>{const gt=[m,v][We];gt.value&>.value.focus()},0)}function H(We,gt){let ut=We,un=rn(ut,0),Yn=rn(ut,1);const{generateConfig:Bn,locale:Xo,picker:So,order:hi,onCalendarChange:qo,allowEmpty:_r,onChange:Cn,showTime:Gr}=e;un&&Yn&&Bn.isAfter(un,Yn)&&(So==="week"&&!fB(Bn,Xo.locale,un,Yn)||So==="quarter"&&!dB(Bn,un,Yn)||So!=="week"&&So!=="quarter"&&So!=="time"&&!(Gr?fd(Bn,un,Yn):gl(Bn,un,Yn))?(gt===0?(ut=[un,null],Yn=null):(un=null,ut=[null,Yn]),s.value={[gt]:!0}):(So!=="time"||hi!==!1)&&(ut=jM(ut,Bn))),N(ut);const Or=ut&&ut[0]?Wo(ut[0],{generateConfig:Bn,locale:Xo,format:b.value[0]}):"",pa=ut&&ut[1]?Wo(ut[1],{generateConfig:Bn,locale:Xo,format:b.value[0]}):"";qo&&qo(ut,[Or,pa],{range:gt===0?"start":"end"});const ha=WM(un,0,w.value,_r),Zo=WM(Yn,1,w.value,_r);(ut===null||ha&&Zo)&&(O(ut),Cn&&(!fd(Bn,rn(I.value,0),un)||!fd(Bn,rn(I.value,1),Yn))&&Cn(ut,[Or,pa]));let Qo=null;gt===0&&!w.value[1]?Qo=1:gt===1&&!w.value[0]&&(Qo=0),Qo!==null&&Qo!==$.value&&(!s.value[Qo]||!rn(ut,Qo))&&rn(ut,gt)?ye(Qo):ue(!1,gt)}const j=We=>L&&_.value&&_.value.onKeydown?_.value.onKeydown(We):!1,q={formatList:b,generateConfig:st(e,"generateConfig"),locale:st(e,"locale")},[se,ae]=R0(M(()=>rn(A.value,0)),q),[ge,Se]=R0(M(()=>rn(A.value,1)),q),$e=(We,gt)=>{const ut=pB(We,{locale:e.locale,formatList:b.value,generateConfig:e.generateConfig});ut&&!(gt===0?B:k)(ut)&&(N(Ii(A.value,ut,gt)),R(ut,gt))},[_e,be,Te]=Ex({valueTexts:se,onTextChange:We=>$e(We,0)}),[Pe,oe,le]=Ex({valueTexts:ge,onTextChange:We=>$e(We,1)}),[xe,Ae]=nn(null),[Be,Ye]=nn(null),[Re,Le,Ne]=Ax(_e,q),[Ke,Ze,Ue]=Ax(Pe,q),Xe=We=>{Ye(Ii(A.value,We,$.value)),$.value===0?Le(We):Ze(We)},xt=()=>{Ye(Ii(A.value,null,$.value)),$.value===0?Ne():Ue()},Mt=(We,gt)=>({forwardKeydown:j,onBlur:ut=>{var un;(un=e.onBlur)===null||un===void 0||un.call(e,ut)},isClickOutside:ut=>!uB([u.value,d.value,f.value,c.value],ut),onFocus:ut=>{var un;x(We),(un=e.onFocus)===null||un===void 0||un.call(e,ut)},triggerOpen:ut=>{ue(ut,We)},onSubmit:()=>{if(!A.value||e.disabledDate&&e.disabledDate(A.value[We]))return!1;H(A.value,We),gt()},onCancel:()=>{ue(!1,We),N(I.value),gt()}}),[Ft,{focused:jt,typing:Yt}]=Tx(S(S({},Mt(0,Te)),{blurToCancel:r,open:K,value:_e,onKeydown:(We,gt)=>{var ut;(ut=e.onKeydown)===null||ut===void 0||ut.call(e,We,gt)}})),[Vn,{focused:Gn,typing:oo}]=Tx(S(S({},Mt(1,le)),{blurToCancel:r,open:G,value:Pe,onKeydown:(We,gt)=>{var ut;(ut=e.onKeydown)===null||ut===void 0||ut.call(e,We,gt)}})),kn=We=>{var gt;(gt=e.onClick)===null||gt===void 0||gt.call(e,We),!L.value&&!m.value.contains(We.target)&&!v.value.contains(We.target)&&(w.value[0]?w.value[1]||ye(1):ye(0))},yo=We=>{var gt;(gt=e.onMousedown)===null||gt===void 0||gt.call(e,We),L.value&&(jt.value||Gn.value)&&!m.value.contains(We.target)&&!v.value.contains(We.target)&&We.preventDefault()},Yo=M(()=>{var We;return!((We=I.value)===null||We===void 0)&&We[0]?Wo(I.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),wr=M(()=>{var We;return!((We=I.value)===null||We===void 0)&&We[1]?Wo(I.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});Ie([L,se,ge],()=>{L.value||(N(I.value),!se.value.length||se.value[0]===""?be(""):ae.value!==_e.value&&Te(),!ge.value.length||ge.value[0]===""?oe(""):Se.value!==Pe.value&&le())}),Ie([Yo,wr],()=>{N(I.value)}),o({focus:()=>{m.value&&m.value.focus()},blur:()=>{m.value&&m.value.blur(),v.value&&v.value.blur()}});const Ur=M(()=>L.value&&Be.value&&Be.value[0]&&Be.value[1]&&e.generateConfig.isAfter(Be.value[1],Be.value[0])?Be.value:null);function Ao(){let We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:ut,showTime:un,dateRender:Yn,direction:Bn,disabledTime:Xo,prefixCls:So,locale:hi}=e;let qo=un;if(un&&typeof un=="object"&&un.defaultValue){const Cn=un.defaultValue;qo=S(S({},un),{defaultValue:rn(Cn,$.value)||void 0})}let _r=null;return Yn&&(_r=Cn=>{let{current:Gr,today:Or}=Cn;return Yn({current:Gr,today:Or,info:{range:$.value?"end":"start"}})}),g(Cme,{value:{inRange:!0,panelPosition:We,rangedValue:xe.value||A.value,hoverRangedValue:Ur.value}},{default:()=>[g($O,V(V(V({},e),gt),{},{dateRender:_r,showTime:qo,mode:F.value[$.value],generateConfig:ut,style:void 0,direction:Bn,disabledDate:$.value===0?B:k,disabledTime:Cn=>Xo?Xo(Cn,$.value===0?"start":"end"):!1,class:me({[`${So}-panel-focused`]:$.value===0?!Yt.value:!oo.value}),value:rn(A.value,$.value),locale:hi,tabIndex:-1,onPanelChange:(Cn,Gr)=>{$.value===0&&Ne(!0),$.value===1&&Ue(!0),D(Ii(F.value,Gr,$.value),Ii(A.value,Cn,$.value));let Or=Cn;We==="right"&&F.value[$.value]===Gr&&(Or=wp(Or,Gr,ut,-1)),R(Or,$.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:$.value===0?rn(A.value,1):rn(A.value,0)}),null)]})}const za=(We,gt)=>{const ut=Ii(A.value,We,$.value);gt==="submit"||gt!=="key"&&!r.value?(H(ut,$.value),$.value===0?Ne():Ue()):N(ut)};return rO({operationRef:_,hideHeader:M(()=>e.picker==="time"),onDateMouseenter:Xe,onDateMouseleave:xt,hideRanges:M(()=>!0),onSelect:za,open:L}),()=>{const{prefixCls:We="rc-picker",id:gt,popupStyle:ut,dropdownClassName:un,transitionName:Yn,dropdownAlign:Bn,getPopupContainer:Xo,generateConfig:So,locale:hi,placeholder:qo,autofocus:_r,picker:Cn="date",showTime:Gr,separator:Or="~",disabledDate:pa,panelRender:ha,allowClear:Zo,suffixIcon:Ll,clearIcon:Qo,inputReadOnly:yf,renderExtraFooter:m1,onMouseenter:b1,onMouseleave:cg,onMouseup:ug,onOk:Sf,components:y1,direction:ks,autocomplete:dg="off"}=e,S1=ks==="rtl"?{right:`${ne.value}px`}:{left:`${ne.value}px`};function fg(){let Jo;const Ki=yB(We,F.value[$.value],m1),$f=SB({prefixCls:We,components:y1,needConfirmButton:r.value,okDisabled:!rn(A.value,$.value)||pa&&pa(A.value[$.value]),locale:hi,onOk:()=>{rn(A.value,$.value)&&(H(A.value,$.value),Sf&&Sf(A.value))}});if(Cn!=="time"&&!Gr){const ga=$.value===0?P.value:E.value,vg=wp(ga,Cn,So),Fs=F.value[$.value]===Cn,ja=Ao(Fs?"left":!1,{pickerValue:ga,onPickerValueChange:pu=>{R(pu,$.value)}}),xf=Ao("right",{pickerValue:vg,onPickerValueChange:pu=>{R(wp(pu,Cn,So,-1),$.value)}});ks==="rtl"?Jo=g(Je,null,[xf,Fs&&ja]):Jo=g(Je,null,[ja,Fs&&xf])}else Jo=Ao();let Bs=g("div",{class:`${We}-panel-layout`},[g($B,{prefixCls:We,presets:l.value,onClick:ga=>{H(ga,null),ue(!1,$.value)},onHover:ga=>{Ae(ga)}},null),g("div",null,[g("div",{class:`${We}-panels`},[Jo]),(Ki||$f)&&g("div",{class:`${We}-footer`},[Ki,$f])])]);return ha&&(Bs=ha(Bs)),g("div",{class:`${We}-panel-container`,style:{marginLeft:`${Y.value}px`},ref:u,onMousedown:ga=>{ga.preventDefault()}},[Bs])}const pg=g("div",{class:me(`${We}-range-wrapper`,`${We}-${Cn}-range-wrapper`),style:{minWidth:`${re.value}px`}},[g("div",{ref:y,class:`${We}-range-arrow`,style:S1},null),fg()]);let Cf;Ll&&(Cf=g("span",{class:`${We}-suffix`},[Ll]));let du;Zo&&(rn(I.value,0)&&!w.value[0]||rn(I.value,1)&&!w.value[1])&&(du=g("span",{onMousedown:Jo=>{Jo.preventDefault(),Jo.stopPropagation()},onMouseup:Jo=>{Jo.preventDefault(),Jo.stopPropagation();let Ki=I.value;w.value[0]||(Ki=Ii(Ki,null,0)),w.value[1]||(Ki=Ii(Ki,null,1)),H(Ki,null),ue(!1,$.value)},class:`${We}-clear`},[Qo||g("span",{class:`${We}-clear-btn`},null)]));const hg={size:cB(Cn,b.value[0],So)};let fu=0,Nl=0;d.value&&f.value&&h.value&&($.value===0?Nl=d.value.offsetWidth:(fu=ne.value,Nl=f.value.offsetWidth));const gg=ks==="rtl"?{right:`${fu}px`}:{left:`${fu}px`};return g("div",V({ref:c,class:me(We,`${We}-range`,n.class,{[`${We}-disabled`]:w.value[0]&&w.value[1],[`${We}-focused`]:$.value===0?jt.value:Gn.value,[`${We}-rtl`]:ks==="rtl"}),style:n.style,onClick:kn,onMouseenter:b1,onMouseleave:cg,onMousedown:yo,onMouseup:ug},vB(e)),[g("div",{class:me(`${We}-input`,{[`${We}-input-active`]:$.value===0,[`${We}-input-placeholder`]:!!Re.value}),ref:d},[g("input",V(V(V({id:gt,disabled:w.value[0],readonly:yf||typeof b.value[0]=="function"||!Yt.value,value:Re.value||_e.value,onInput:Jo=>{be(Jo.target.value)},autofocus:_r,placeholder:rn(qo,0)||"",ref:m},Ft.value),hg),{},{autocomplete:dg}),null)]),g("div",{class:`${We}-range-separator`,ref:h},[Or]),g("div",{class:me(`${We}-input`,{[`${We}-input-active`]:$.value===1,[`${We}-input-placeholder`]:!!Ke.value}),ref:f},[g("input",V(V(V({disabled:w.value[1],readonly:yf||typeof b.value[0]=="function"||!oo.value,value:Ke.value||Pe.value,onInput:Jo=>{oe(Jo.target.value)},placeholder:rn(qo,1)||"",ref:v},Vn.value),hg),{},{autocomplete:dg}),null)]),g("div",{class:`${We}-active-bar`,style:S(S({},gg),{width:`${Nl}px`,position:"absolute"})},null),Cf,du,g(CB,{visible:L.value,popupStyle:ut,prefixCls:We,dropdownClassName:un,dropdownAlign:Bn,getPopupContainer:Xo,transitionName:Yn,range:!0,direction:ks},{default:()=>[g("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>pg})])}}})}const Hme=Fme(),zme=Hme;var jme=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Wme={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:Z.any,required:Boolean},PB=pe({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:bt(Wme,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup(e,t){let{attrs:n,emit:o,expose:r}=t;const i=he(e.checked===void 0?e.defaultChecked:e.checked),a=he();Ie(()=>e.checked,()=>{i.value=e.checked}),r({focus(){var u;(u=a.value)===null||u===void 0||u.focus()},blur(){var u;(u=a.value)===null||u===void 0||u.blur()}});const l=he(),s=u=>{if(e.disabled)return;e.checked===void 0&&(i.value=u.target.checked),u.shiftKey=l.value;const d={target:S(S({},e),{checked:u.target.checked}),stopPropagation(){u.stopPropagation()},preventDefault(){u.preventDefault()},nativeEvent:u};e.checked!==void 0&&(a.value.checked=!!e.checked),o("change",d),l.value=!1},c=u=>{o("click",u),l.value=u.shiftKey};return()=>{const{prefixCls:u,name:d,id:f,type:h,disabled:m,readonly:v,tabindex:y,autofocus:b,value:$,required:x}=e,_=jme(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:w,onFocus:I,onBlur:O,onKeydown:P,onKeypress:E,onKeyup:R}=n,A=S(S({},_),n),N=Object.keys(A).reduce((D,B)=>((B.startsWith("data-")||B.startsWith("aria-")||B==="role")&&(D[B]=A[B]),D),{}),F=me(u,w,{[`${u}-checked`]:i.value,[`${u}-disabled`]:m}),W=S(S({name:d,id:f,type:h,readonly:v,disabled:m,tabindex:y,class:`${u}-input`,checked:!!i.value,autofocus:b,value:$},N),{onChange:s,onClick:c,onFocus:I,onBlur:O,onKeydown:P,onKeypress:E,onKeyup:R,required:x});return g("span",{class:F},[g("input",V({ref:a},W),null),g("span",{class:`${u}-inner`},null)])}}}),TB=Symbol("radioGroupContextKey"),Vme=e=>{ft(TB,e)},Kme=()=>it(TB,void 0),EB=Symbol("radioOptionTypeContextKey"),Ume=e=>{ft(EB,e)},Gme=()=>it(EB,void 0),Yme=new Pt("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),Xme=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-group`;return{[o]:S(S({},vt(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},qme=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:o,radioSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:l,motionEaseInOutCirc:s,radioButtonBg:c,colorBorder:u,lineWidth:d,radioDotSize:f,colorBgContainerDisabled:h,colorTextDisabled:m,paddingXS:v,radioDotDisabledColor:y,lineType:b,radioDotDisabledSize:$,wireframe:x,colorWhite:_}=e,w=`${t}-inner`;return{[`${t}-wrapper`]:S(S({},vt(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${b} ${o}`,borderRadius:"50%",visibility:"hidden",animationName:Yme,animationDuration:i,animationTimingFunction:l,animationFillMode:"both",content:'""'},[t]:S(S({},vt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &,
+ &:hover ${w}`]:{borderColor:o},[`${t}-input:focus-visible + ${w}`]:S({},yl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:r,height:r,marginBlockStart:r/-2,marginInlineStart:r/-2,backgroundColor:x?o:_,borderBlockStart:0,borderInlineStart:0,borderRadius:r,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:r,height:r,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[w]:{borderColor:o,backgroundColor:x?c:o,"&::after":{transform:`scale(${f/r})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:h,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:y}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[w]:{"&::after":{transform:`scale(${$/r})`}}}},[`span${t} + *`]:{paddingInlineStart:v,paddingInlineEnd:v}})}},Zme=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:o,lineWidth:r,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,radioButtonPaddingHorizontal:c,fontSize:u,radioButtonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:m,paddingXS:v,borderRadius:y,borderRadiusSM:b,borderRadiusLG:$,radioCheckedColor:x,radioButtonCheckedBg:_,radioButtonHoverColor:w,radioButtonActiveColor:I,radioSolidCheckedColor:O,colorTextDisabled:P,colorBgContainerDisabled:E,radioDisabledButtonCheckedColor:R,radioDisabledButtonCheckedBg:A}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:`${n-r*2}px`,background:d,border:`${r}px ${i} ${a}`,borderBlockStartWidth:r+.02,borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-r,insetInlineStart:-r,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${r}px ${i} ${a}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${o}-group-large &`]:{height:h,fontSize:f,lineHeight:`${h-r*2}px`,"&:first-child":{borderStartStartRadius:$,borderEndStartRadius:$},"&:last-child":{borderStartEndRadius:$,borderEndEndRadius:$}},[`${o}-group-small &`]:{height:m,paddingInline:v-r,paddingBlock:0,lineHeight:`${m-r*2}px`,"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:x},"&:has(:focus-visible)":S({},yl(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:x,background:_,borderColor:x,"&::before":{backgroundColor:x},"&:first-child":{borderColor:x},"&:hover":{color:w,borderColor:w,"&::before":{backgroundColor:w}},"&:active":{color:I,borderColor:I,"&::before":{backgroundColor:I}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:O,background:x,borderColor:x,"&:hover":{color:O,background:w,borderColor:w},"&:active":{color:O,background:I,borderColor:I}},"&-disabled":{color:P,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:P,backgroundColor:E,borderColor:a}},[`&-disabled${o}-button-wrapper-checked`]:{color:R,backgroundColor:A,borderColor:a,boxShadow:"none"}}}},AB=pt("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:o,colorTextDisabled:r,colorBgContainer:i,fontSizeLG:a,controlOutline:l,colorPrimaryHover:s,colorPrimaryActive:c,colorText:u,colorPrimary:d,marginXS:f,controlOutlineWidth:h,colorTextLightSolid:m,wireframe:v}=e,y=`0 0 0 ${h}px ${l}`,b=y,$=a,x=4,_=$-x*2,w=v?_:$-(x+n)*2,I=d,O=u,P=s,E=c,R=t-n,F=nt(e,{radioFocusShadow:y,radioButtonFocusShadow:b,radioSize:$,radioDotSize:w,radioDotDisabledSize:_,radioCheckedColor:I,radioDotDisabledColor:r,radioSolidCheckedColor:m,radioButtonBg:i,radioButtonCheckedBg:i,radioButtonColor:O,radioButtonHoverColor:P,radioButtonActiveColor:E,radioButtonPaddingHorizontal:R,radioDisabledButtonCheckedBg:o,radioDisabledButtonCheckedColor:r,radioWrapperMarginRight:f});return[Xme(F),qme(F),Zme(F)]});var Qme=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const MB=()=>({prefixCls:String,checked:De(),disabled:De(),isGroup:De(),value:Z.any,name:String,id:String,autofocus:De(),onChange:Oe(),onFocus:Oe(),onBlur:Oe(),onClick:Oe(),"onUpdate:checked":Oe(),"onUpdate:value":Oe()}),yr=pe({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:MB(),setup(e,t){let{emit:n,expose:o,slots:r,attrs:i}=t;const a=co(),l=To.useInject(),s=Gme(),c=Kme(),u=jr(),d=M(()=>{var P;return(P=v.value)!==null&&P!==void 0?P:u.value}),f=he(),{prefixCls:h,direction:m,disabled:v}=Ve("radio",e),y=M(()=>(c==null?void 0:c.optionType.value)==="button"||s==="button"?`${h.value}-button`:h.value),b=jr(),[$,x]=AB(h);o({focus:()=>{f.value.focus()},blur:()=>{f.value.blur()}});const I=P=>{const E=P.target.checked;n("update:checked",E),n("update:value",E),n("change",P),a.onFieldChange()},O=P=>{n("change",P),c&&c.onChange&&c.onChange(P)};return()=>{var P;const E=c,{prefixCls:R,id:A=a.id.value}=e,N=Qme(e,["prefixCls","id"]),F=S(S({prefixCls:y.value,id:A},_t(N,["onUpdate:checked","onUpdate:value"])),{disabled:(P=v.value)!==null&&P!==void 0?P:b.value});E?(F.name=E.name.value,F.onChange=O,F.checked=e.value===E.value.value,F.disabled=d.value||E.disabled.value):F.onChange=I;const W=me({[`${y.value}-wrapper`]:!0,[`${y.value}-wrapper-checked`]:F.checked,[`${y.value}-wrapper-disabled`]:F.disabled,[`${y.value}-wrapper-rtl`]:m.value==="rtl",[`${y.value}-wrapper-in-form-item`]:l.isFormItemInput},i.class,x.value);return $(g("label",V(V({},i),{},{class:W}),[g(PB,V(V({},F),{},{type:"radio",ref:f}),null),r.default&&g("span",null,[r.default()])]))}}}),Jme=()=>({prefixCls:String,value:Z.any,size:Qe(),options:kt(),disabled:De(),name:String,buttonStyle:Qe("outline"),id:String,optionType:Qe("default"),onChange:Oe(),"onUpdate:value":Oe()}),wO=pe({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:Jme(),setup(e,t){let{slots:n,emit:o,attrs:r}=t;const i=co(),{prefixCls:a,direction:l,size:s}=Ve("radio",e),[c,u]=AB(a),d=he(e.value),f=he(!1);return Ie(()=>e.value,m=>{d.value=m,f.value=!1}),Vme({onChange:m=>{const v=d.value,{value:y}=m.target;"value"in e||(d.value=y),!f.value&&y!==v&&(f.value=!0,o("update:value",y),o("change",m),i.onFieldChange()),wt(()=>{f.value=!1})},value:d,disabled:M(()=>e.disabled),name:M(()=>e.name),optionType:M(()=>e.optionType)}),()=>{var m;const{options:v,buttonStyle:y,id:b=i.id.value}=e,$=`${a.value}-group`,x=me($,`${$}-${y}`,{[`${$}-${s.value}`]:s.value,[`${$}-rtl`]:l.value==="rtl"},r.class,u.value);let _=null;return v&&v.length>0?_=v.map(w=>{if(typeof w=="string"||typeof w=="number")return g(yr,{key:w,prefixCls:a.value,disabled:e.disabled,value:w,checked:d.value===w},{default:()=>[w]});const{value:I,disabled:O,label:P}=w;return g(yr,{key:`radio-group-value-options-${I}`,prefixCls:a.value,disabled:O||e.disabled,value:I,checked:d.value===I},{default:()=>[P]})}):_=(m=n.default)===null||m===void 0?void 0:m.call(n),c(g("div",V(V({},r),{},{class:x,id:b}),[_]))}}}),D0=pe({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:MB(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Ve("radio",e);return Ume("button"),()=>{var i;return g(yr,V(V(V({},o),e),{},{prefixCls:r.value}),{default:()=>[(i=n.default)===null||i===void 0?void 0:i.call(n)]})}}});yr.Group=wO;yr.Button=D0;yr.install=function(e){return e.component(yr.name,yr),e.component(yr.Group.name,yr.Group),e.component(yr.Button.name,yr.Button),e};const e0e=10,t0e=20;function RB(e){const{fullscreen:t,validRange:n,generateConfig:o,locale:r,prefixCls:i,value:a,onChange:l,divRef:s}=e,c=o.getYear(a||o.getNow());let u=c-e0e,d=u+t0e;n&&(u=o.getYear(n[0]),d=o.getYear(n[1])+1);const f=r&&r.year==="年"?"年":"",h=[];for(let m=u;m<d;m++)h.push({label:`${m}${f}`,value:m});return g(Cl,{size:t?void 0:"small",options:h,value:c,class:`${i}-year-select`,onChange:m=>{let v=o.setYear(a,m);if(n){const[y,b]=n,$=o.getYear(v),x=o.getMonth(v);$===o.getYear(b)&&x>o.getMonth(b)&&(v=o.setMonth(v,o.getMonth(b))),$===o.getYear(y)&&x<o.getMonth(y)&&(v=o.setMonth(v,o.getMonth(y)))}l(v)},getPopupContainer:()=>s.value},null)}RB.inheritAttrs=!1;function DB(e){const{prefixCls:t,fullscreen:n,validRange:o,value:r,generateConfig:i,locale:a,onChange:l,divRef:s}=e,c=i.getMonth(r||i.getNow());let u=0,d=11;if(o){const[m,v]=o,y=i.getYear(r);i.getYear(v)===y&&(d=i.getMonth(v)),i.getYear(m)===y&&(u=i.getMonth(m))}const f=a.shortMonths||i.locale.getShortMonths(a.locale),h=[];for(let m=u;m<=d;m+=1)h.push({label:f[m],value:m});return g(Cl,{size:n?void 0:"small",class:`${t}-month-select`,value:c,options:h,onChange:m=>{l(i.setMonth(r,m))},getPopupContainer:()=>s.value},null)}DB.inheritAttrs=!1;function LB(e){const{prefixCls:t,locale:n,mode:o,fullscreen:r,onModeChange:i}=e;return g(wO,{onChange:a=>{let{target:{value:l}}=a;i(l)},value:o,size:r?void 0:"small",class:`${t}-mode-switch`},{default:()=>[g(D0,{value:"month"},{default:()=>[n.month]}),g(D0,{value:"year"},{default:()=>[n.year]})]})}LB.inheritAttrs=!1;const n0e=pe({name:"CalendarHeader",inheritAttrs:!1,props:["mode","prefixCls","value","validRange","generateConfig","locale","mode","fullscreen"],setup(e,t){let{attrs:n}=t;const o=he(null),r=To.useInject();return To.useProvide(r,{isFormItemInput:!1}),()=>{const i=S(S({},e),n),{prefixCls:a,fullscreen:l,mode:s,onChange:c,onModeChange:u}=i,d=S(S({},i),{fullscreen:l,divRef:o});return g("div",{class:`${a}-header`,ref:o},[g(RB,V(V({},d),{},{onChange:f=>{c(f,"year")}}),null),s==="month"&&g(DB,V(V({},d),{},{onChange:f=>{c(f,"month")}}),null),g(LB,V(V({},d),{},{onModeChange:u}),null)])}}}),_O=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),hf=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),$s=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),OO=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":S({},hf(nt(e,{inputBorderHoverColor:e.colorBorder})))}),NB=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:o,borderRadiusLG:r,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:o,borderRadius:r}},IO=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),Xh=(e,t)=>{const{componentCls:n,colorError:o,colorWarning:r,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":S({},$s(nt(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:i}))),[`${n}-prefix`]:{color:o}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":S({},$s(nt(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix`]:{color:r}}}},ru=e=>S(S({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},_O(e.colorTextPlaceholder)),{"&:hover":S({},hf(e)),"&:focus, &-focused":S({},$s(e)),"&-disabled, &[disabled]":S({},OO(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":S({},NB(e)),"&-sm":S({},IO(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),kB=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:S({},NB(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:S({},IO(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:S(S({display:"block"},aa()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
+ & > ${n}-select-auto-complete ${t},
+ & > ${n}-cascader-picker ${t},
+ & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
+ & > ${n}-select:first-child > ${n}-select-selector,
+ & > ${n}-select-auto-complete:first-child ${t},
+ & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
+ & > ${n}-select:last-child > ${n}-select-selector,
+ & > ${n}-cascader-picker:last-child ${t},
+ & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},o0e=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:o}=e,i=(n-o*2-16)/2;return{[t]:S(S(S(S({},vt(e)),ru(e)),Xh(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}}})}},r0e=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},i0e=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:o,motionDurationSlow:r,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:S(S(S(S(S({},ru(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:S(S({},hf(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),r0e(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}}),Xh(e,`${t}-affix-wrapper`))}},a0e=e=>{const{componentCls:t,colorError:n,colorSuccess:o,borderRadiusLG:r,borderRadiusSM:i}=e;return{[`${t}-group`]:S(S(S({},vt(e)),kB(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:o,borderColor:o}}}})}},l0e=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-search`;return{[o]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${o}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${o}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${o}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${o}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${o}-button`]:{height:e.controlHeightLG},[`&-small ${o}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
+ > ${t},
+ ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function iu(e){return nt(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const s0e=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:o}=e,r=`${t}-textarea`;return{[r]:{position:"relative",[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:o}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},PO=pt("Input",e=>{const t=iu(e);return[o0e(t),s0e(t),i0e(t),a0e(t),l0e(t),uf(t)]}),gC=(e,t,n,o)=>{const{lineHeight:r}=e,i=Math.floor(n*r)+2,a=Math.max((t-i)/2,0),l=Math.max(t-i-a,0);return{padding:`${a}px ${o}px ${l}px`}},c0e=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:o,pickerPanelCellHeight:r,motionDurationSlow:i,borderRadiusSM:a,motionDurationMid:l,controlItemBgHover:s,lineWidth:c,lineType:u,colorPrimary:d,controlItemBgActive:f,colorTextLightSolid:h,controlHeightSM:m,pickerDateHoverRangeBorderColor:v,pickerCellBorderGap:y,pickerBasicCellHoverWithRangeColor:b,pickerPanelCellWidth:$,colorTextDisabled:x,colorBgContainerDisabled:_}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",transition:`all ${i}`,content:'""'},[o]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:`${r}px`,borderRadius:a,transition:`background ${l}, border ${l}`},[`&:hover:not(${n}-in-view),
+ &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[o]:{background:s}},[`&-in-view${n}-today ${o}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${c}px ${u} ${d}`,borderRadius:a,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:f}},[`&-in-view${n}-selected ${o},
+ &-in-view${n}-range-start ${o},
+ &-in-view${n}-range-end ${o}`]:{color:h,background:d},[`&-in-view${n}-range-start:not(${n}-range-start-single),
+ &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:f}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end),
+ &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end),
+ &-in-view${n}-range-hover-start${n}-range-start-single,
+ &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover,
+ &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover,
+ &-in-view${n}-range-hover-end${n}-range-end-single,
+ &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:m,borderTop:`${c}px dashed ${v}`,borderBottom:`${c}px dashed ${v}`,transform:"translateY(-50%)",transition:`all ${i}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:y},[`&-in-view${n}-in-range${n}-range-hover::before,
+ &-in-view${n}-range-start${n}-range-hover::before,
+ &-in-view${n}-range-end${n}-range-hover::before,
+ &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before,
+ &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before,
+ ${t}-panel
+ > :not(${t}-date-panel)
+ &-in-view${n}-in-range${n}-range-hover-start::before,
+ ${t}-panel
+ > :not(${t}-date-panel)
+ &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:b},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${o}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after,
+ tr > &-in-view${n}-range-hover-end:first-child::after,
+ &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after,
+ &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after,
+ &-in-view${n}-range-hover-start::after`]:{insetInlineStart:($-r)/2,borderInlineStart:`${c}px dashed ${v}`,borderStartStartRadius:c,borderEndStartRadius:c},[`tr > &-in-view${n}-range-hover:last-child::after,
+ tr > &-in-view${n}-range-hover-start:last-child::after,
+ &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after,
+ &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after,
+ &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:($-r)/2,borderInlineEnd:`${c}px dashed ${v}`,borderStartEndRadius:c,borderEndEndRadius:c},"&-disabled":{color:x,pointerEvents:"none",[o]:{background:"transparent"},"&::before":{background:_}},[`&-disabled${n}-today ${o}::before`]:{borderColor:x}}},BB=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:o,pickerControlIconSize:r,pickerPanelCellWidth:i,paddingSM:a,paddingXS:l,paddingXXS:s,colorBgContainer:c,lineWidth:u,lineType:d,borderRadiusLG:f,colorPrimary:h,colorTextHeading:m,colorSplit:v,pickerControlIconBorderWidth:y,colorIcon:b,pickerTextHeight:$,motionDurationMid:x,colorIconHover:_,fontWeightStrong:w,pickerPanelCellHeight:I,pickerCellPaddingVertical:O,colorTextDisabled:P,colorText:E,fontSize:R,pickerBasicCellHoverWithRangeColor:A,motionDurationSlow:N,pickerPanelWithoutTimeCellHeight:F,pickerQuarterPanelContentHeight:W,colorLink:D,colorLinkActive:B,colorLinkHover:k,pickerDateHoverRangeBorderColor:L,borderRadiusSM:z,colorTextLightSolid:K,borderRadius:G,controlItemBgHover:Y,pickerTimePanelColumnHeight:ne,pickerTimePanelColumnWidth:re,pickerTimePanelCellHeight:J,controlItemBgActive:te,marginXXS:ee}=e,fe=i*7+a*2+4,ie=(fe-l*2)/3-o-a;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:c,border:`${u}px ${d} ${v}`,borderRadius:f,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
+ ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
+ ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:fe},"&-header":{display:"flex",padding:`0 ${l}px`,color:m,borderBottom:`${u}px ${d} ${v}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:`${$}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`},"> button":{minWidth:"1.6em",fontSize:R,"&:hover":{color:_}},"&-view":{flex:"auto",fontWeight:w,lineHeight:`${$}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:r,height:r,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(r/2),insetInlineStart:Math.ceil(r/2),display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:I,fontWeight:"normal"},th:{height:I+O*2,color:E,verticalAlign:"middle"}},"&-cell":S({padding:`${O}px 0`,color:P,cursor:"pointer","&-in-view":{color:E}},c0e(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n},
+ &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:A,transition:`all ${N}`,content:'""'}},[`&-date-panel
+ ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start
+ ${n}::after`]:{insetInlineEnd:-(i-I)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(i-I)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:F*4},[n]:{padding:`0 ${l}px`}},"&-quarter-panel":{[`${t}-content`]:{height:W}},[`&-panel ${t}-footer`]:{borderTop:`${u}px ${d} ${v}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${$-2*u}px`,textAlign:"center","&-extra":{padding:`0 ${a}`,lineHeight:`${$-2*u}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${u}px ${d} ${v}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:D,"&:hover":{color:k},"&:active":{color:B},[`&${t}-today-btn-disabled`]:{color:P,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${l/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${l}px`},[n]:{width:o},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:ie,borderInlineStart:`${u}px dashed ${L}`,borderStartStartRadius:z,borderBottomStartRadius:z,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:ie,borderInlineEnd:`${u}px dashed ${L}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:z,borderBottomEndRadius:z}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:ie,borderInlineEnd:`${u}px dashed ${L}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:G,borderEndEndRadius:G,[`${t}-panel-rtl &`]:{insetInlineStart:ie,borderInlineStart:`${u}px dashed ${L}`,borderStartStartRadius:G,borderEndStartRadius:G,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${l}px ${a}px`},[`${t}-cell`]:{[`&:hover ${n},
+ &-selected ${n},
+ ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${x}`,"&:first-child":{borderStartStartRadius:z,borderEndStartRadius:z},"&:last-child":{borderStartEndRadius:z,borderEndEndRadius:z}},"&:hover td":{background:Y},"&-selected td,\n &-selected:hover td":{background:h,[`&${t}-cell-week`]:{color:new Zt(K).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:K},[n]:{color:K}}}},"&-date-panel":{[`${t}-body`]:{padding:`${l}px ${a}px`},[`${t}-content`]:{width:i*7,th:{width:i}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${u}px ${d} ${v}`},[`${t}-date-panel,
+ ${t}-time-panel`]:{transition:`opacity ${N}`},"&-active":{[`${t}-date-panel,
+ ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:ne},"&-column":{flex:"1 0 auto",width:re,margin:`${s}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::after":{display:"block",height:ne-J,content:'""'},"&:not(:first-child)":{borderInlineStart:`${u}px ${d} ${v}`},"&-active":{background:new Zt(te).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:ee,[`${t}-time-panel-cell-inner`]:{display:"block",width:re-2*ee,height:J,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(re-J)/2,color:E,lineHeight:`${J}px`,borderRadius:z,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:Y}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:te}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:P,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:ne-J+s*2}}}},u0e=e=>{const{componentCls:t,colorBgContainer:n,colorError:o,colorErrorOutline:r,colorWarning:i,colorWarningOutline:a}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:o},"&-focused, &:focus":S({},$s(nt(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:r}))),[`${t}-active-bar`]:{background:o}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:i},"&-focused, &:focus":S({},$s(nt(e,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:a}))),[`${t}-active-bar`]:{background:i}}}}},d0e=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:o,controlHeight:r,fontSize:i,inputPaddingHorizontal:a,colorBgContainer:l,lineWidth:s,lineType:c,colorBorder:u,borderRadius:d,motionDurationMid:f,colorBgContainerDisabled:h,colorTextDisabled:m,colorTextPlaceholder:v,controlHeightLG:y,fontSizeLG:b,controlHeightSM:$,inputPaddingHorizontalSM:x,paddingXS:_,marginXS:w,colorTextDescription:I,lineWidthBold:O,lineHeight:P,colorPrimary:E,motionDurationSlow:R,zIndexPopup:A,paddingXXS:N,paddingSM:F,pickerTextHeight:W,controlItemBgActive:D,colorPrimaryBorder:B,sizePopupArrow:k,borderRadiusXS:L,borderRadiusOuter:z,colorBgElevated:K,borderRadiusLG:G,boxShadowSecondary:Y,borderRadiusSM:ne,colorSplit:re,controlItemBgHover:J,presetsWidth:te,presetsMaxWidth:ee}=e;return[{[t]:S(S(S({},vt(e)),gC(e,r,i,a)),{position:"relative",display:"inline-flex",alignItems:"center",background:l,lineHeight:1,border:`${s}px ${c} ${u}`,borderRadius:d,transition:`border ${f}, box-shadow ${f}`,"&:hover, &-focused":S({},hf(e)),"&-focused":S({},$s(e)),[`&${t}-disabled`]:{background:h,borderColor:u,cursor:"not-allowed",[`${t}-suffix`]:{color:m}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":S(S({},ru(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:v}}},"&-large":S(S({},gC(e,y,b,a)),{[`${t}-input > input`]:{fontSize:b}}),"&-small":S({},gC(e,$,i,x)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:_/2,color:m,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:w}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:m,lineHeight:1,background:l,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${f}, color ${f}`,"> *":{verticalAlign:"top"},"&:hover":{color:I}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:b,color:m,fontSize:b,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:I},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:a},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-s,height:O,marginInlineStart:a,background:E,opacity:0,transition:`all ${R} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${_}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:x},[`${t}-active-bar`]:{marginInlineStart:x}}},"&-dropdown":S(S(S({},vt(e)),BB(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:A,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft,
+ &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
+ &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
+ &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:by},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
+ &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
+ &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
+ &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:vy},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:yy},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:my},[`${t}-panel > ${t}-time-panel`]:{paddingTop:N},[`${t}-ranges`]:{marginBottom:0,padding:`${N}px ${F}px`,overflow:"hidden",lineHeight:`${W-2*s-_/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:E,background:D,borderColor:B,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:S({position:"absolute",zIndex:1,display:"none",marginInlineStart:a*1.5,transition:`left ${R} ease-out`},L2(k,L,z,K,o)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:K,borderRadius:G,boxShadow:Y,transition:`margin ${R}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:te,maxWidth:ee,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:_,borderInlineEnd:`${s}px ${c} ${re}`,li:S(S({},eo),{borderRadius:ne,paddingInline:_,paddingBlock:($-Math.round(i*P))/2,cursor:"pointer",transition:`all ${R}`,"+ li":{marginTop:w},"&:hover":{background:J}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${s}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
+ table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${k*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Na(e,"slide-up"),Na(e,"slide-down"),Dd(e,"move-up"),Dd(e,"move-down")]},FB=e=>{const{componentCls:n,controlHeightLG:o,controlHeightSM:r,colorPrimary:i,paddingXXS:a}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:o,pickerPanelCellWidth:r*1.5,pickerPanelCellHeight:r,pickerDateHoverRangeBorderColor:new Zt(i).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new Zt(i).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:o*1.65,pickerYearMonthCellWidth:o*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:o*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:o*1.4,pickerCellPaddingVertical:a,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},HB=pt("DatePicker",e=>{const t=nt(iu(e),FB(e));return[d0e(t),u0e(t),uf(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),f0e=e=>{const{calendarCls:t,componentCls:n,calendarFullBg:o,calendarFullPanelBg:r,calendarItemActiveBg:i}=e;return{[t]:S(S(S({},BB(e)),vt(e)),{background:o,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${e.paddingSM}px 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:r,border:0,borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${e.paddingXS}px 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${e.weekHeight}px`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:o,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${e.weekHeight}px`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${e.marginXS/2}px`,padding:`${e.paddingXS/2}px ${e.paddingXS}px 0`,border:0,borderTop:`${e.lineWidthBold}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${e.dateValueHeight}px`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${e.screenXS}px) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${e.paddingXS}px)`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},p0e=pt("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=nt(iu(e),FB(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,calendarFullBg:e.colorBgContainer,calendarFullPanelBg:e.colorBgContainer,calendarItemActiveBg:e.controlItemBgActive,dateValueHeight:e.controlHeightSM,weekHeight:e.controlHeightSM*.75,dateContentHeight:(e.fontSizeSM*e.lineHeightSM+e.marginXS)*3+e.lineWidth*2});return[f0e(n)]},{yearControlWidth:80,monthControlWidth:70,miniContentHeight:256});function h0e(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function o(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}const r=pe({name:"ACalendar",inheritAttrs:!1,props:{prefixCls:String,locale:{type:Object,default:void 0},validRange:{type:Array,default:void 0},disabledDate:{type:Function,default:void 0},dateFullCellRender:{type:Function,default:void 0},dateCellRender:{type:Function,default:void 0},monthFullCellRender:{type:Function,default:void 0},monthCellRender:{type:Function,default:void 0},headerRender:{type:Function,default:void 0},value:{type:[Object,String],default:void 0},defaultValue:{type:[Object,String],default:void 0},mode:{type:String,default:void 0},fullscreen:{type:Boolean,default:void 0},onChange:{type:Function,default:void 0},"onUpdate:value":{type:Function,default:void 0},onPanelChange:{type:Function,default:void 0},onSelect:{type:Function,default:void 0},valueFormat:{type:String,default:void 0}},slots:Object,setup(i,a){let{emit:l,slots:s,attrs:c}=a;const u=i,{prefixCls:d,direction:f}=Ve("picker",u),[h,m]=p0e(d),v=M(()=>`${d.value}-calendar`),y=D=>u.valueFormat?e.toString(D,u.valueFormat):D,b=M(()=>u.value?u.valueFormat?e.toDate(u.value,u.valueFormat):u.value:u.value===""?void 0:u.value),$=M(()=>u.defaultValue?u.valueFormat?e.toDate(u.defaultValue,u.valueFormat):u.defaultValue:u.defaultValue===""?void 0:u.defaultValue),[x,_]=yn(()=>b.value||e.getNow(),{defaultValue:$.value,value:b}),[w,I]=yn("month",{value:st(u,"mode")}),O=M(()=>w.value==="year"?"month":"date"),P=M(()=>D=>{var B;return(u.validRange?e.isAfter(u.validRange[0],D)||e.isAfter(D,u.validRange[1]):!1)||!!(!((B=u.disabledDate)===null||B===void 0)&&B.call(u,D))}),E=(D,B)=>{l("panelChange",y(D),B)},R=D=>{if(_(D),!o(D,x.value)){(O.value==="date"&&!n(D,x.value)||O.value==="month"&&!t(D,x.value))&&E(D,w.value);const B=y(D);l("update:value",B),l("change",B)}},A=D=>{I(D),E(x.value,D)},N=(D,B)=>{R(D),l("select",y(D),{source:B})},F=M(()=>{const{locale:D}=u,B=S(S({},th),D);return B.lang=S(S({},B.lang),(D||{}).lang),B}),[W]=Wi("Calendar",F);return()=>{const D=e.getNow(),{dateFullCellRender:B=s==null?void 0:s.dateFullCellRender,dateCellRender:k=s==null?void 0:s.dateCellRender,monthFullCellRender:L=s==null?void 0:s.monthFullCellRender,monthCellRender:z=s==null?void 0:s.monthCellRender,headerRender:K=s==null?void 0:s.headerRender,fullscreen:G=!0,validRange:Y}=u,ne=J=>{let{current:te}=J;return B?B({current:te}):g("div",{class:me(`${d.value}-cell-inner`,`${v.value}-date`,{[`${v.value}-date-today`]:o(D,te)})},[g("div",{class:`${v.value}-date-value`},[String(e.getDate(te)).padStart(2,"0")]),g("div",{class:`${v.value}-date-content`},[k&&k({current:te})])])},re=(J,te)=>{let{current:ee}=J;if(L)return L({current:ee});const fe=te.shortMonths||e.locale.getShortMonths(te.locale);return g("div",{class:me(`${d.value}-cell-inner`,`${v.value}-date`,{[`${v.value}-date-today`]:n(D,ee)})},[g("div",{class:`${v.value}-date-value`},[fe[e.getMonth(ee)]]),g("div",{class:`${v.value}-date-content`},[z&&z({current:ee})])])};return h(g("div",V(V({},c),{},{class:me(v.value,{[`${v.value}-full`]:G,[`${v.value}-mini`]:!G,[`${v.value}-rtl`]:f.value==="rtl"},c.class,m.value)}),[K?K({value:x.value,type:w.value,onChange:J=>{N(J,"customize")},onTypeChange:A}):g(n0e,{prefixCls:v.value,value:x.value,generateConfig:e,mode:w.value,fullscreen:G,locale:W.value.lang,validRange:Y,onChange:N,onModeChange:A},null),g($O,{value:x.value,prefixCls:d.value,locale:W.value.lang,generateConfig:e,dateRender:ne,monthCellRender:J=>re(J,W.value.lang),onSelect:J=>{N(J,O.value)},mode:O.value,picker:O.value,disabledDate:P.value,hideHeader:!0},null)]))}}});return r.install=function(i){return i.component(r.name,r),i},r}const g0e=h0e(oO),v0e=$n(g0e);function m0e(e){const t=ve(),n=ve(!1);function o(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.value||(mt.cancel(t.value),t.value=mt(()=>{e(...i)}))}return Ct(()=>{n.value=!0,mt.cancel(t.value)}),o}function b0e(e){const t=ve([]),n=ve(typeof e=="function"?e():e),o=m0e(()=>{let i=n.value;t.value.forEach(a=>{i=a(i)}),t.value=[],n.value=i});function r(i){t.value.push(i),o()}return[n,r]}const y0e=pe({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:o}=t;const r=he();function i(s){var c;!((c=e.tab)===null||c===void 0)&&c.disabled||e.onClick(s)}n({domRef:r});function a(s){var c;s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:(c=e.tab)===null||c===void 0?void 0:c.key,event:s})}const l=M(()=>{var s;return e.editable&&e.closable!==!1&&!(!((s=e.tab)===null||s===void 0)&&s.disabled)});return()=>{var s;const{prefixCls:c,id:u,active:d,tab:{key:f,tab:h,disabled:m,closeIcon:v},renderWrapper:y,removeAriaLabel:b,editable:$,onFocus:x}=e,_=`${c}-tab`,w=g("div",{key:f,ref:r,class:me(_,{[`${_}-with-remove`]:l.value,[`${_}-active`]:d,[`${_}-disabled`]:m}),style:o.style,onClick:i},[g("div",{role:"tab","aria-selected":d,id:u&&`${u}-tab-${f}`,class:`${_}-btn`,"aria-controls":u&&`${u}-panel-${f}`,"aria-disabled":m,tabindex:m?null:0,onClick:I=>{I.stopPropagation(),i(I)},onKeydown:I=>{[Fe.SPACE,Fe.ENTER].includes(I.which)&&(I.preventDefault(),i(I))},onFocus:x},[typeof h=="function"?h():h]),l.value&&g("button",{type:"button","aria-label":b||"remove",tabindex:0,class:`${_}-remove`,onClick:I=>{I.stopPropagation(),a(I)}},[(v==null?void 0:v())||((s=$.removeIcon)===null||s===void 0?void 0:s.call($))||"×"])]);return y?y(w):w}}}),VM={width:0,height:0,left:0,top:0};function S0e(e,t){const n=he(new Map);return ct(()=>{var o,r;const i=new Map,a=e.value,l=t.value.get((o=a[0])===null||o===void 0?void 0:o.key)||VM,s=l.left+l.width;for(let c=0;c<a.length;c+=1){const{key:u}=a[c];let d=t.value.get(u);d||(d=t.value.get((r=a[c-1])===null||r===void 0?void 0:r.key)||VM);const f=i.get(u)||S({},d);f.right=s-f.left-f.width,i.set(u,f)}n.value=new Map(i)}),n}const zB=pe({compatConfig:{MODE:3},name:"AddButton",inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup(e,t){let{expose:n,attrs:o}=t;const r=he();return n({domRef:r}),()=>{const{prefixCls:i,editable:a,locale:l}=e;return!a||a.showAdd===!1?null:g("button",{ref:r,type:"button",class:`${i}-nav-add`,style:o.style,"aria-label":(l==null?void 0:l.addAriaLabel)||"Add tab",onClick:s=>{a.onEdit("add",{event:s})}},[a.addIcon?a.addIcon():"+"])}}}),C0e={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:Z.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:Oe()},$0e=pe({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:C0e,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const[r,i]=nn(!1),[a,l]=nn(null),s=h=>{const m=e.tabs.filter(b=>!b.disabled);let v=m.findIndex(b=>b.key===a.value)||0;const y=m.length;for(let b=0;b<y;b+=1){v=(v+h+y)%y;const $=m[v];if(!$.disabled){l($.key);return}}},c=h=>{const{which:m}=h;if(!r.value){[Fe.DOWN,Fe.SPACE,Fe.ENTER].includes(m)&&(i(!0),h.preventDefault());return}switch(m){case Fe.UP:s(-1),h.preventDefault();break;case Fe.DOWN:s(1),h.preventDefault();break;case Fe.ESC:i(!1);break;case Fe.SPACE:case Fe.ENTER:a.value!==null&&e.onTabClick(a.value,h);break}},u=M(()=>`${e.id}-more-popup`),d=M(()=>a.value!==null?`${u.value}-${a.value}`:null),f=(h,m)=>{h.preventDefault(),h.stopPropagation(),e.editable.onEdit("remove",{key:m,event:h})};return lt(()=>{Ie(a,()=>{const h=document.getElementById(d.value);h&&h.scrollIntoView&&h.scrollIntoView(!1)},{flush:"post",immediate:!0})}),Ie(r,()=>{r.value||l(null)}),eO({}),()=>{var h;const{prefixCls:m,id:v,tabs:y,locale:b,mobile:$,moreIcon:x=((h=o.moreIcon)===null||h===void 0?void 0:h.call(o))||g(Q_,null,null),moreTransitionName:_,editable:w,tabBarGutter:I,rtl:O,onTabClick:P,popupClassName:E}=e;if(!y.length)return null;const R=`${m}-dropdown`,A=b==null?void 0:b.dropdownAriaLabel,N={[O?"marginRight":"marginLeft"]:I};y.length||(N.visibility="hidden",N.order=1);const F=me({[`${R}-rtl`]:O,[`${E}`]:!0}),W=$?null:g(P9,{prefixCls:R,trigger:["hover"],visible:r.value,transitionName:_,onVisibleChange:i,overlayClassName:F,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>g(qn,{onClick:D=>{let{key:B,domEvent:k}=D;P(B,k),i(!1)},id:u.value,tabindex:-1,role:"listbox","aria-activedescendant":d.value,selectedKeys:[a.value],"aria-label":A!==void 0?A:"expanded dropdown"},{default:()=>[y.map(D=>{var B,k;const L=w&&D.closable!==!1&&!D.disabled;return g(Ea,{key:D.key,id:`${u.value}-${D.key}`,role:"option","aria-controls":v&&`${v}-panel-${D.key}`,disabled:D.disabled},{default:()=>[g("span",null,[typeof D.tab=="function"?D.tab():D.tab]),L&&g("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${R}-menu-item-remove`,onClick:z=>{z.stopPropagation(),f(z,D.key)}},[((B=D.closeIcon)===null||B===void 0?void 0:B.call(D))||((k=w.removeIcon)===null||k===void 0?void 0:k.call(w))||"×"])]})})]}),default:()=>g("button",{type:"button",class:`${m}-nav-more`,style:N,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":u.value,id:`${v}-more`,"aria-expanded":r.value,onKeydown:c},[x])});return g("div",{class:me(`${m}-nav-operations`,n.class),style:n.style},[W,g(zB,{prefixCls:m,locale:b,editable:w},null)])}}}),jB=Symbol("tabsContextKey"),x0e=e=>{ft(jB,e)},WB=()=>it(jB,{tabs:he([]),prefixCls:he()}),w0e=.1,KM=.01,vm=20,UM=Math.pow(.995,vm);function _0e(e,t){const[n,o]=nn(),[r,i]=nn(0),[a,l]=nn(0),[s,c]=nn(),u=he();function d(w){const{screenX:I,screenY:O}=w.touches[0];o({x:I,y:O}),clearInterval(u.value)}function f(w){if(!n.value)return;w.preventDefault();const{screenX:I,screenY:O}=w.touches[0],P=I-n.value.x,E=O-n.value.y;t(P,E),o({x:I,y:O});const R=Date.now();l(R-r.value),i(R),c({x:P,y:E})}function h(){if(!n.value)return;const w=s.value;if(o(null),c(null),w){const I=w.x/a.value,O=w.y/a.value,P=Math.abs(I),E=Math.abs(O);if(Math.max(P,E)<w0e)return;let R=I,A=O;u.value=setInterval(()=>{if(Math.abs(R)<KM&&Math.abs(A)<KM){clearInterval(u.value);return}R*=UM,A*=UM,t(R*vm,A*vm)},vm)}}const m=he();function v(w){const{deltaX:I,deltaY:O}=w;let P=0;const E=Math.abs(I),R=Math.abs(O);E===R?P=m.value==="x"?I:O:E>R?(P=I,m.value="x"):(P=O,m.value="y"),t(-P,-P)&&w.preventDefault()}const y=he({onTouchStart:d,onTouchMove:f,onTouchEnd:h,onWheel:v});function b(w){y.value.onTouchStart(w)}function $(w){y.value.onTouchMove(w)}function x(w){y.value.onTouchEnd(w)}function _(w){y.value.onWheel(w)}lt(()=>{var w,I;document.addEventListener("touchmove",$,{passive:!1}),document.addEventListener("touchend",x,{passive:!1}),(w=e.value)===null||w===void 0||w.addEventListener("touchstart",b,{passive:!1}),(I=e.value)===null||I===void 0||I.addEventListener("wheel",_,{passive:!1})}),Ct(()=>{document.removeEventListener("touchmove",$),document.removeEventListener("touchend",x)})}function GM(e,t){const n=he(e);function o(r){const i=typeof r=="function"?r(n.value):r;i!==n.value&&t(i,n.value),n.value=i}return[n,o]}const TO=()=>{const e=he(new Map),t=n=>o=>{e.value.set(n,o)};return Eb(()=>{e.value=new Map}),[t,e]},YM={width:0,height:0,left:0,top:0,right:0},O0e=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:qe(),editable:qe(),moreIcon:Z.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:qe(),popupClassName:String,getPopupContainer:Oe(),onTabClick:{type:Function},onTabScroll:{type:Function}}),XM=pe({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:O0e(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:o}=t;const{tabs:r,prefixCls:i}=WB(),a=ve(),l=ve(),s=ve(),c=ve(),[u,d]=TO(),f=M(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[h,m]=GM(0,(ae,ge)=>{f.value&&e.onTabScroll&&e.onTabScroll({direction:ae>ge?"left":"right"})}),[v,y]=GM(0,(ae,ge)=>{!f.value&&e.onTabScroll&&e.onTabScroll({direction:ae>ge?"top":"bottom"})}),[b,$]=nn(0),[x,_]=nn(0),[w,I]=nn(null),[O,P]=nn(null),[E,R]=nn(0),[A,N]=nn(0),[F,W]=b0e(new Map),D=S0e(r,F),B=M(()=>`${i.value}-nav-operations-hidden`),k=ve(0),L=ve(0);ct(()=>{f.value?e.rtl?(k.value=0,L.value=Math.max(0,b.value-w.value)):(k.value=Math.min(0,w.value-b.value),L.value=0):(k.value=Math.min(0,O.value-x.value),L.value=0)});const z=ae=>ae<k.value?k.value:ae>L.value?L.value:ae,K=ve(),[G,Y]=nn(),ne=()=>{Y(Date.now())},re=()=>{clearTimeout(K.value)},J=(ae,ge)=>{ae(Se=>z(Se+ge))};_0e(a,(ae,ge)=>{if(f.value){if(w.value>=b.value)return!1;J(m,ae)}else{if(O.value>=x.value)return!1;J(y,ge)}return re(),ne(),!0}),Ie(G,()=>{re(),G.value&&(K.value=setTimeout(()=>{Y(0)},100))});const te=function(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const ge=D.value.get(ae)||{width:0,height:0,left:0,right:0,top:0};if(f.value){let Se=h.value;e.rtl?ge.right<h.value?Se=ge.right:ge.right+ge.width>h.value+w.value&&(Se=ge.right+ge.width-w.value):ge.left<-h.value?Se=-ge.left:ge.left+ge.width>-h.value+w.value&&(Se=-(ge.left+ge.width-w.value)),y(0),m(z(Se))}else{let Se=v.value;ge.top<-v.value?Se=-ge.top:ge.top+ge.height>-v.value+O.value&&(Se=-(ge.top+ge.height-O.value)),m(0),y(z(Se))}},ee=ve(0),fe=ve(0);ct(()=>{let ae,ge,Se,$e,_e,be;const Te=D.value;["top","bottom"].includes(e.tabPosition)?(ae="width",$e=w.value,_e=b.value,be=E.value,ge=e.rtl?"right":"left",Se=Math.abs(h.value)):(ae="height",$e=O.value,_e=b.value,be=A.value,ge="top",Se=-v.value);let Pe=$e;_e+be>$e&&_e<$e&&(Pe=$e-be);const oe=r.value;if(!oe.length)return[ee.value,fe.value]=[0,0];const le=oe.length;let xe=le;for(let Be=0;Be<le;Be+=1){const Ye=Te.get(oe[Be].key)||YM;if(Ye[ge]+Ye[ae]>Se+Pe){xe=Be-1;break}}let Ae=0;for(let Be=le-1;Be>=0;Be-=1)if((Te.get(oe[Be].key)||YM)[ge]<Se){Ae=Be+1;break}return[ee.value,fe.value]=[Ae,xe]});const ie=()=>{var ae,ge,Se,$e,_e;const be=((ae=a.value)===null||ae===void 0?void 0:ae.offsetWidth)||0,Te=((ge=a.value)===null||ge===void 0?void 0:ge.offsetHeight)||0,Pe=((Se=c.value)===null||Se===void 0?void 0:Se.$el)||{},oe=Pe.offsetWidth||0,le=Pe.offsetHeight||0;I(be),P(Te),R(oe),N(le);const xe=((($e=l.value)===null||$e===void 0?void 0:$e.offsetWidth)||0)-oe,Ae=(((_e=l.value)===null||_e===void 0?void 0:_e.offsetHeight)||0)-le;$(xe),_(Ae),W(()=>{const Be=new Map;return r.value.forEach(Ye=>{let{key:Re}=Ye;const Le=d.value.get(Re),Ne=(Le==null?void 0:Le.$el)||Le;Ne&&Be.set(Re,{width:Ne.offsetWidth,height:Ne.offsetHeight,left:Ne.offsetLeft,top:Ne.offsetTop})}),Be})},X=M(()=>[...r.value.slice(0,ee.value),...r.value.slice(fe.value+1)]),[ue,ye]=nn(),H=M(()=>D.value.get(e.activeKey)),j=ve(),q=()=>{mt.cancel(j.value)};Ie([H,f,()=>e.rtl],()=>{const ae={};H.value&&(f.value?(e.rtl?ae.right=uc(H.value.right):ae.left=uc(H.value.left),ae.width=uc(H.value.width)):(ae.top=uc(H.value.top),ae.height=uc(H.value.height))),q(),j.value=mt(()=>{ye(ae)})}),Ie([()=>e.activeKey,H,D,f],()=>{te()},{flush:"post"}),Ie([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>r.value],()=>{ie()},{flush:"post"});const se=ae=>{let{position:ge,prefixCls:Se,extra:$e}=ae;if(!$e)return null;const _e=$e==null?void 0:$e({position:ge});return _e?g("div",{class:`${Se}-extra-content`},[_e]):null};return Ct(()=>{re(),q()}),()=>{const{id:ae,animated:ge,activeKey:Se,rtl:$e,editable:_e,locale:be,tabPosition:Te,tabBarGutter:Pe,onTabClick:oe}=e,{class:le,style:xe}=n,Ae=i.value,Be=!!X.value.length,Ye=`${Ae}-nav-wrap`;let Re,Le,Ne,Ke;f.value?$e?(Le=h.value>0,Re=h.value+w.value<b.value):(Re=h.value<0,Le=-h.value+w.value<b.value):(Ne=v.value<0,Ke=-v.value+O.value<x.value);const Ze={};Te==="top"||Te==="bottom"?Ze[$e?"marginRight":"marginLeft"]=typeof Pe=="number"?`${Pe}px`:Pe:Ze.marginTop=typeof Pe=="number"?`${Pe}px`:Pe;const Ue=r.value.map((Xe,xt)=>{const{key:Mt}=Xe;return g(y0e,{id:ae,prefixCls:Ae,key:Mt,tab:Xe,style:xt===0?void 0:Ze,closable:Xe.closable,editable:_e,active:Mt===Se,removeAriaLabel:be==null?void 0:be.removeAriaLabel,ref:u(Mt),onClick:Ft=>{oe(Mt,Ft)},onFocus:()=>{te(Mt),ne(),a.value&&($e||(a.value.scrollLeft=0),a.value.scrollTop=0)}},o)});return g("div",{role:"tablist",class:me(`${Ae}-nav`,le),style:xe,onKeydown:()=>{ne()}},[g(se,{position:"left",prefixCls:Ae,extra:o.leftExtra},null),g(ki,{onResize:ie},{default:()=>[g("div",{class:me(Ye,{[`${Ye}-ping-left`]:Re,[`${Ye}-ping-right`]:Le,[`${Ye}-ping-top`]:Ne,[`${Ye}-ping-bottom`]:Ke}),ref:a},[g(ki,{onResize:ie},{default:()=>[g("div",{ref:l,class:`${Ae}-nav-list`,style:{transform:`translate(${h.value}px, ${v.value}px)`,transition:G.value?"none":void 0}},[Ue,g(zB,{ref:c,prefixCls:Ae,locale:be,editable:_e,style:S(S({},Ue.length===0?void 0:Ze),{visibility:Be?"hidden":null})},null),g("div",{class:me(`${Ae}-ink-bar`,{[`${Ae}-ink-bar-animated`]:ge.inkBar}),style:ue.value},null)])]})])]}),g($0e,V(V({},e),{},{removeAriaLabel:be==null?void 0:be.removeAriaLabel,ref:s,prefixCls:Ae,tabs:X.value,class:!Be&&B.value}),g9(o,["moreIcon"])),g(se,{position:"right",prefixCls:Ae,extra:o.rightExtra},null),g(se,{position:"right",prefixCls:Ae,extra:o.tabBarExtraContent},null)])}}}),I0e=pe({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=WB();return()=>{const{id:o,activeKey:r,animated:i,tabPosition:a,rtl:l,destroyInactiveTabPane:s}=e,c=i.tabPane,u=n.value,d=t.value.findIndex(f=>f.key===r);return g("div",{class:`${u}-content-holder`},[g("div",{class:[`${u}-content`,`${u}-content-${a}`,{[`${u}-content-animated`]:c}],style:d&&c?{[l?"marginRight":"marginLeft"]:`-${d}00%`}:null},[t.value.map(f=>Gt(f.node,{key:f.key,prefixCls:u,tabKey:f.key,id:o,animated:c,active:f.key===r,destroyInactiveTabPane:s}))])])}}});var P0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const T0e=P0e;function qM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){E0e(e,r,n[r])})}return e}function E0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EO=function(t,n){var o=qM({},t,n.attrs);return g(Ot,qM({},o,{icon:T0e}),null)};EO.displayName="PlusOutlined";EO.inheritAttrs=!1;const A0e=EO,M0e=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Na(e,"slide-up"),Na(e,"slide-down")]]},R0e=M0e,D0e=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:o,tabsCardGutter:r,colorSplit:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${e.lineWidth}px ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${r}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${r}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},L0e=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:S(S({},vt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":S(S({},eo),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},N0e=e=>{const{componentCls:t,margin:n,colorSplit:o}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
+ right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
+ > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},k0e=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},B0e=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:o,iconCls:r,tabsHorizontalGutter:i}=e,a=`${t}-tab`;return{[a]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":S({"&:focus:not(:focus-visible), &:active":{color:n}},Sl(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${a}-active ${a}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${a}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${a}-disabled ${a}-btn, &${a}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${a}-remove ${r}`]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${a} + ${a}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${i}px`}}}},F0e=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:o,tabsCardGutter:r}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${r}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},H0e=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:o,tabsCardGutter:r,tabsHoverColor:i,tabsActiveColor:a,colorSplit:l}=e;return{[t]:S(S(S(S({},vt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:S({minWidth:`${o}px`,marginLeft:{_skip_check_:!0,value:`${r}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},Sl(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),B0e(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},z0e=pt("Tabs",e=>{const t=e.controlHeightLG,n=nt(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[k0e(n),F0e(n),N0e(n),L0e(n),D0e(n),H0e(n),R0e(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let ZM=0;const VB=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:Oe(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:Qe(),animated:rt([Boolean,Object]),renderTabBar:Oe(),tabBarGutter:{type:Number},tabBarStyle:qe(),tabPosition:Qe(),destroyInactiveTabPane:De(),hideAdd:Boolean,type:Qe(),size:Qe(),centered:Boolean,onEdit:Oe(),onChange:Oe(),onTabClick:Oe(),onTabScroll:Oe(),"onUpdate:activeKey":Oe(),locale:qe(),onPrevClick:Oe(),onNextClick:Oe(),tabBarExtraContent:Z.any});function j0e(e){return e.map(t=>{if(Jn(t)){const n=S({},t.props||{});for(const[f,h]of Object.entries(n))delete n[f],n[Gc(f)]=h;const o=t.children||{},r=t.key!==void 0?t.key:void 0,{tab:i=o.tab,disabled:a,forceRender:l,closable:s,animated:c,active:u,destroyInactiveTabPane:d}=n;return S(S({key:r},n),{node:t,closeIcon:o.closeIcon,tab:i,disabled:a===""||a,forceRender:l===""||l,closable:s===""||s,animated:c===""||c,active:u===""||u,destroyInactiveTabPane:d===""||d})}return null}).filter(t=>t)}const W0e=pe({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:S(S({},bt(VB(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:kt()}),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;pn(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),pn(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),pn(o.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:r,direction:i,size:a,rootPrefixCls:l,getPopupContainer:s}=Ve("tabs",e),[c,u]=z0e(r),d=M(()=>i.value==="rtl"),f=M(()=>{const{animated:O,tabPosition:P}=e;return O===!1||["left","right"].includes(P)?{inkBar:!1,tabPane:!1}:O===!0?{inkBar:!0,tabPane:!0}:S({inkBar:!0,tabPane:!1},typeof O=="object"?O:{})}),[h,m]=nn(!1);lt(()=>{m(r_())});const[v,y]=yn(()=>{var O;return(O=e.tabs[0])===null||O===void 0?void 0:O.key},{value:M(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[b,$]=nn(()=>e.tabs.findIndex(O=>O.key===v.value));ct(()=>{var O;let P=e.tabs.findIndex(E=>E.key===v.value);P===-1&&(P=Math.max(0,Math.min(b.value,e.tabs.length-1)),y((O=e.tabs[P])===null||O===void 0?void 0:O.key)),$(P)});const[x,_]=yn(null,{value:M(()=>e.id)}),w=M(()=>h.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);lt(()=>{e.id||(_(`rc-tabs-${ZM}`),ZM+=1)});const I=(O,P)=>{var E,R;(E=e.onTabClick)===null||E===void 0||E.call(e,O,P);const A=O!==v.value;y(O),A&&((R=e.onChange)===null||R===void 0||R.call(e,O))};return x0e({tabs:M(()=>e.tabs),prefixCls:r}),()=>{const{id:O,type:P,tabBarGutter:E,tabBarStyle:R,locale:A,destroyInactiveTabPane:N,renderTabBar:F=o.renderTabBar,onTabScroll:W,hideAdd:D,centered:B}=e,k={id:x.value,activeKey:v.value,animated:f.value,tabPosition:w.value,rtl:d.value,mobile:h.value};let L;P==="editable-card"&&(L={onEdit:(Y,ne)=>{let{key:re,event:J}=ne;var te;(te=e.onEdit)===null||te===void 0||te.call(e,Y==="add"?J:re,Y)},removeIcon:()=>g(Vr,null,null),addIcon:o.addIcon?o.addIcon:()=>g(A0e,null,null),showAdd:D!==!0});let z;const K=S(S({},k),{moreTransitionName:`${l.value}-slide-up`,editable:L,locale:A,tabBarGutter:E,onTabClick:I,onTabScroll:W,style:R,getPopupContainer:s.value,popupClassName:me(e.popupClassName,u.value)});F?z=F(S(S({},K),{DefaultTabBar:XM})):z=g(XM,K,g9(o,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const G=r.value;return c(g("div",V(V({},n),{},{id:O,class:me(G,`${G}-${w.value}`,{[u.value]:!0,[`${G}-${a.value}`]:a.value,[`${G}-card`]:["card","editable-card"].includes(P),[`${G}-editable-card`]:P==="editable-card",[`${G}-centered`]:B,[`${G}-mobile`]:h.value,[`${G}-editable`]:P==="editable-card",[`${G}-rtl`]:d.value},n.class)}),[z,g(I0e,V(V({destroyInactiveTabPane:N},k),{},{animated:f.value}),null)]))}}}),Oc=pe({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:bt(VB(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r}=t;const i=a=>{r("update:activeKey",a),r("change",a)};return()=>{var a;const l=j0e(ln((a=o.default)===null||a===void 0?void 0:a.call(o)));return g(W0e,V(V(V({},_t(e,["onUpdate:activeKey"])),n),{},{onChange:i,tabs:l}),o)}}}),V0e=()=>({tab:Z.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),L0=pe({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:V0e(),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const r=he(e.forceRender);Ie([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?r.value=!0:e.destroyInactiveTabPane&&(r.value=!1)},{immediate:!0});const i=M(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var a;const{prefixCls:l,forceRender:s,id:c,active:u,tabKey:d}=e;return g("div",{id:c&&`${c}-panel-${d}`,role:"tabpanel",tabindex:u?0:-1,"aria-labelledby":c&&`${c}-tab-${d}`,"aria-hidden":!u,style:[i.value,n.style],class:[`${l}-tabpane`,u&&`${l}-tabpane-active`,n.class]},[(u||r.value||s)&&((a=o.default)===null||a===void 0?void 0:a.call(o))])}}});Oc.TabPane=L0;Oc.install=function(e){return e.component(Oc.name,Oc),e.component(L0.name,L0),e};const K0e=e=>{const{antCls:t,componentCls:n,cardHeadHeight:o,cardPaddingBase:r,cardHeadTabsMarginBottom:i}=e;return S(S({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:o,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},aa()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":S(S({display:"inline-block",flex:1},eo),{[`
+ > ${n}-typography,
+ > ${n}-typography-edit-content
+ `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},U0e=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:o,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
+ ${r}px 0 0 0 ${n},
+ 0 ${r}px 0 0 ${n},
+ ${r}px ${r}px 0 0 ${n},
+ ${r}px 0 0 0 ${n} inset,
+ 0 ${r}px 0 0 ${n} inset;
+ `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:o}}},G0e=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:o,cardActionsIconSize:r,colorBorderSecondary:i}=e;return S(S({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},aa()),{"& > li":{margin:o,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:r,lineHeight:`${r*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`}}})},Y0e=e=>S(S({margin:`-${e.marginXXS}px 0`,display:"flex"},aa()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":S({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},eo),"&-description":{color:e.colorTextDescription}}),X0e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:o}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:o,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},q0e=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Z0e=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:o,colorBorderSecondary:r,boxShadow:i,cardPaddingBase:a}=e;return{[t]:S(S({},vt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:K0e(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:S({padding:a,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},aa()),[`${t}-grid`]:U0e(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:G0e(e),[`${t}-meta`]:Y0e(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:o}}},[`${t}-type-inner`]:X0e(e),[`${t}-loading`]:q0e(e),[`${t}-rtl`]:{direction:"rtl"}}},Q0e=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:o,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:o,paddingTop:0,display:"flex",alignItems:"center"}}}}},J0e=pt("Card",e=>{const t=nt(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Z0e(t),Q0e(t)]}),ebe=()=>({prefixCls:String,width:{type:[Number,String]}}),tbe=pe({compatConfig:{MODE:3},name:"SkeletonTitle",props:ebe(),setup(e){return()=>{const{prefixCls:t,width:n}=e,o=typeof n=="number"?`${n}px`:n;return g("h3",{class:t,style:{width:o}},null)}}}),Oy=tbe,nbe=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),obe=pe({compatConfig:{MODE:3},name:"SkeletonParagraph",props:nbe(),setup(e){const t=n=>{const{width:o,rows:r=2}=e;if(Array.isArray(o))return o[n];if(r-1===n)return o};return()=>{const{prefixCls:n,rows:o}=e,r=[...Array(o)].map((i,a)=>{const l=t(a);return g("li",{key:a,style:{width:typeof l=="number"?`${l}px`:l}},null)});return g("ul",{class:n},[r])}}}),rbe=obe,Iy=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),KB=e=>{const{prefixCls:t,size:n,shape:o}=e,r=me({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),i=me({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),a=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return g("span",{class:me(t,r,i),style:a},null)};KB.displayName="SkeletonElement";const Py=KB,ibe=new Pt("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),Ty=e=>({height:e,lineHeight:`${e}px`}),pd=e=>S({width:e},Ty(e)),abe=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:ibe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),vC=e=>S({width:e*5,minWidth:e*5},Ty(e)),lbe=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:o,controlHeightLG:r,controlHeightSM:i}=e;return{[`${t}`]:S({display:"inline-block",verticalAlign:"top",background:n},pd(o)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:S({},pd(r)),[`${t}${t}-sm`]:S({},pd(i))}},sbe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:o,controlHeightLG:r,controlHeightSM:i,color:a}=e;return{[`${o}`]:S({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},vC(t)),[`${o}-lg`]:S({},vC(r)),[`${o}-sm`]:S({},vC(i))}},QM=e=>S({width:e},Ty(e)),cbe=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:o,borderRadiusSM:r}=e;return{[`${t}`]:S(S({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:o,borderRadius:r},QM(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:S(S({},QM(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},mC=(e,t,n)=>{const{skeletonButtonCls:o}=e;return{[`${n}${o}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${o}-round`]:{borderRadius:t}}},bC=e=>S({width:e*2,minWidth:e*2},Ty(e)),ube=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:o,controlHeightLG:r,controlHeightSM:i,color:a}=e;return S(S(S(S(S({[`${n}`]:S({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:o*2,minWidth:o*2},bC(o))},mC(e,o,n)),{[`${n}-lg`]:S({},bC(r))}),mC(e,r,`${n}-lg`)),{[`${n}-sm`]:S({},bC(i))}),mC(e,i,`${n}-sm`))},dbe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:o,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,color:d,padding:f,marginSM:h,borderRadius:m,skeletonTitleHeight:v,skeletonBlockRadius:y,skeletonParagraphLineHeight:b,controlHeightXS:$,skeletonParagraphMarginTop:x}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:S({display:"inline-block",verticalAlign:"top",background:d},pd(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:S({},pd(c)),[`${n}-sm`]:S({},pd(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${o}`]:{width:"100%",height:v,background:d,borderRadius:y,[`+ ${r}`]:{marginBlockStart:u}},[`${r}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:d,borderRadius:y,"+ li":{marginBlockStart:$}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${o}, ${r} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[`${o}`]:{marginBlockStart:h,[`+ ${r}`]:{marginBlockStart:x}}},[`${t}${t}-element`]:S(S(S(S({display:"inline-block",width:"auto"},ube(e)),lbe(e)),sbe(e)),cbe(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
+ ${o},
+ ${r} > li,
+ ${n},
+ ${i},
+ ${a},
+ ${l}
+ `]:S({},abe(e))}}},qh=pt("Skeleton",e=>{const{componentCls:t}=e,n=nt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[dbe(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),fbe=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function yC(e){return e&&typeof e=="object"?e:{}}function pbe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function hbe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function gbe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const vbe=pe({compatConfig:{MODE:3},name:"ASkeleton",props:bt(fbe(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=Ve("skeleton",e),[i,a]=qh(o);return()=>{var l;const{loading:s,avatar:c,title:u,paragraph:d,active:f,round:h}=e,m=o.value;if(s||e.loading===void 0){const v=!!c||c==="",y=!!u||u==="",b=!!d||d==="";let $;if(v){const w=S(S({prefixCls:`${m}-avatar`},pbe(y,b)),yC(c));$=g("div",{class:`${m}-header`},[g(Py,w,null)])}let x;if(y||b){let w;if(y){const O=S(S({prefixCls:`${m}-title`},hbe(v,b)),yC(u));w=g(Oy,O,null)}let I;if(b){const O=S(S({prefixCls:`${m}-paragraph`},gbe(v,y)),yC(d));I=g(rbe,O,null)}x=g("div",{class:`${m}-content`},[w,I])}const _=me(m,{[`${m}-with-avatar`]:v,[`${m}-active`]:f,[`${m}-rtl`]:r.value==="rtl",[`${m}-round`]:h,[a.value]:!0});return i(g("div",{class:_},[$,x]))}return(l=n.default)===null||l===void 0?void 0:l.call(n)}}}),or=vbe,mbe=()=>S(S({},Iy()),{size:String,block:Boolean}),bbe=pe({compatConfig:{MODE:3},name:"ASkeletonButton",props:bt(mbe(),{size:"default"}),setup(e){const{prefixCls:t}=Ve("skeleton",e),[n,o]=qh(t),r=M(()=>me(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},o.value));return()=>n(g("div",{class:r.value},[g(Py,V(V({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),AO=bbe,ybe=pe({compatConfig:{MODE:3},name:"ASkeletonInput",props:S(S({},_t(Iy(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=Ve("skeleton",e),[n,o]=qh(t),r=M(()=>me(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},o.value));return()=>n(g("div",{class:r.value},[g(Py,V(V({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),MO=ybe,Sbe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",Cbe=pe({compatConfig:{MODE:3},name:"ASkeletonImage",props:_t(Iy(),["size","shape","active"]),setup(e){const{prefixCls:t}=Ve("skeleton",e),[n,o]=qh(t),r=M(()=>me(t.value,`${t.value}-element`,o.value));return()=>n(g("div",{class:r.value},[g("div",{class:`${t.value}-image`},[g("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[g("path",{d:Sbe,class:`${t.value}-image-path`},null)])])]))}}),RO=Cbe,$be=()=>S(S({},Iy()),{shape:String}),xbe=pe({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:bt($be(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=Ve("skeleton",e),[n,o]=qh(t),r=M(()=>me(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},o.value));return()=>n(g("div",{class:r.value},[g(Py,V(V({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),DO=xbe;or.Button=AO;or.Avatar=DO;or.Input=MO;or.Image=RO;or.Title=Oy;or.install=function(e){return e.component(or.name,or),e.component(or.Button.name,AO),e.component(or.Avatar.name,DO),e.component(or.Input.name,MO),e.component(or.Image.name,RO),e.component(or.Title.name,Oy),e};const{TabPane:wbe}=Oc,_be=()=>({prefixCls:String,title:Z.any,extra:Z.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:Z.any,tabList:{type:Array},tabBarExtraContent:Z.any,activeTabKey:String,defaultActiveTabKey:String,cover:Z.any,onTabChange:{type:Function}}),Obe=pe({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:_be(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i,size:a}=Ve("card",e),[l,s]=J0e(r),c=f=>f.map((m,v)=>mo(m)&&!Nh(m)||!mo(m)?g("li",{style:{width:`${100/f.length}%`},key:`action-${v}`},[g("span",null,[m])]):null),u=f=>{var h;(h=e.onTabChange)===null||h===void 0||h.call(e,f)},d=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h;return f.forEach(m=>{m&&py(m.type)&&m.type.__ANT_CARD_GRID&&(h=!0)}),h};return()=>{var f,h,m,v,y,b;const{headStyle:$={},bodyStyle:x={},loading:_,bordered:w=!0,type:I,tabList:O,hoverable:P,activeTabKey:E,defaultActiveTabKey:R,tabBarExtraContent:A=zf((f=n.tabBarExtraContent)===null||f===void 0?void 0:f.call(n)),title:N=zf((h=n.title)===null||h===void 0?void 0:h.call(n)),extra:F=zf((m=n.extra)===null||m===void 0?void 0:m.call(n)),actions:W=zf((v=n.actions)===null||v===void 0?void 0:v.call(n)),cover:D=zf((y=n.cover)===null||y===void 0?void 0:y.call(n))}=e,B=ln((b=n.default)===null||b===void 0?void 0:b.call(n)),k=r.value,L={[`${k}`]:!0,[s.value]:!0,[`${k}-loading`]:_,[`${k}-bordered`]:w,[`${k}-hoverable`]:!!P,[`${k}-contain-grid`]:d(B),[`${k}-contain-tabs`]:O&&O.length,[`${k}-${a.value}`]:a.value,[`${k}-type-${I}`]:!!I,[`${k}-rtl`]:i.value==="rtl"},z=g(or,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[B]}),K=E!==void 0,G={size:"large",[K?"activeKey":"defaultActiveKey"]:K?E:R,onChange:u,class:`${k}-head-tabs`};let Y;const ne=O&&O.length?g(Oc,G,{default:()=>[O.map(ee=>{const{tab:fe,slots:ie}=ee,X=ie==null?void 0:ie.tab;pn(!ie,"Card","tabList slots is deprecated, Please use `customTab` instead.");let ue=fe!==void 0?fe:n[X]?n[X](ee):null;return ue=Gb(n,"customTab",ee,()=>[ue]),g(wbe,{tab:ue,key:ee.key,disabled:ee.disabled},null)})],rightExtra:A?()=>A:null}):null;(N||F||ne)&&(Y=g("div",{class:`${k}-head`,style:$},[g("div",{class:`${k}-head-wrapper`},[N&&g("div",{class:`${k}-head-title`},[N]),F&&g("div",{class:`${k}-extra`},[F])]),ne]));const re=D?g("div",{class:`${k}-cover`},[D]):null,J=g("div",{class:`${k}-body`,style:x},[_?z:B]),te=W&&W.length?g("ul",{class:`${k}-actions`},[c(W)]):null;return l(g("div",V(V({ref:"cardContainerRef"},o),{},{class:[L,o.class]}),[Y,re,B&&B.length?J:null,te]))}}}),hd=Obe,Ibe=()=>({prefixCls:String,title:rr(),description:rr(),avatar:rr()}),N0=pe({compatConfig:{MODE:3},name:"ACardMeta",props:Ibe(),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ve("card",e);return()=>{const r={[`${o.value}-meta`]:!0},i=lo(n,e,"avatar"),a=lo(n,e,"title"),l=lo(n,e,"description"),s=i?g("div",{class:`${o.value}-meta-avatar`},[i]):null,c=a?g("div",{class:`${o.value}-meta-title`},[a]):null,u=l?g("div",{class:`${o.value}-meta-description`},[l]):null,d=c||u?g("div",{class:`${o.value}-meta-detail`},[c,u]):null;return g("div",{class:r},[s,d])}}}),Pbe=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),k0=pe({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:Pbe(),setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ve("card",e),r=M(()=>({[`${o.value}-grid`]:!0,[`${o.value}-grid-hoverable`]:e.hoverable}));return()=>{var i;return g("div",{class:r.value},[(i=n.default)===null||i===void 0?void 0:i.call(n)])}}});hd.Meta=N0;hd.Grid=k0;hd.install=function(e){return e.component(hd.name,hd),e.component(N0.name,N0),e.component(k0.name,k0),e};const Tbe=()=>({prefixCls:String,activeKey:rt([Array,Number,String]),defaultActiveKey:rt([Array,Number,String]),accordion:De(),destroyInactivePanel:De(),bordered:De(),expandIcon:Oe(),openAnimation:Z.object,expandIconPosition:Qe(),collapsible:Qe(),ghost:De(),onChange:Oe(),"onUpdate:activeKey":Oe()}),UB=()=>({openAnimation:Z.object,prefixCls:String,header:Z.any,headerClass:String,showArrow:De(),isActive:De(),destroyInactivePanel:De(),disabled:De(),accordion:De(),forceRender:De(),expandIcon:Oe(),extra:Z.any,panelKey:rt(),collapsible:Qe(),role:String,onItemClick:Oe()}),Ebe=e=>{const{componentCls:t,collapseContentBg:n,padding:o,collapseContentPaddingHorizontal:r,collapseHeaderBg:i,collapseHeaderPadding:a,collapsePanelBorderRadius:l,lineWidth:s,lineType:c,colorBorder:u,colorText:d,colorTextHeading:f,colorTextDisabled:h,fontSize:m,lineHeight:v,marginSM:y,paddingSM:b,motionDurationSlow:$,fontSizeIcon:x}=e,_=`${s}px ${c} ${u}`;return{[t]:S(S({},vt(e)),{backgroundColor:i,border:_,borderBottom:0,borderRadius:`${l}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:_,"&:last-child":{[`
+ &,
+ & > ${t}-header`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:f,lineHeight:v,cursor:"pointer",transition:`all ${$}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:m*v,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:S(S({},Xc()),{fontSize:x,svg:{transition:`transform ${$}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}},[`&${t}-no-arrow`]:{[`> ${t}-header`]:{paddingInlineStart:b}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:_,[`& > ${t}-content-box`]:{padding:`${o}px ${r}px`},"&-hidden":{display:"none"}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},Abe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Mbe=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:o,colorBorder:r}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${r}`},[`
+ > ${t}-item:last-child,
+ > ${t}-item:last-child ${t}-header
+ `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:o}}}},Rbe=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Dbe=pt("Collapse",e=>{const t=nt(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[Ebe(t),Mbe(t),Rbe(t),Abe(t),Kh(t)]});function JM(e){let t=e;if(!Array.isArray(t)){const n=typeof t;t=n==="number"||n==="string"?[t]:[]}return t.map(n=>String(n))}const _p=pe({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:bt(Tbe(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r}=t;const i=he(JM(x0([e.activeKey,e.defaultActiveKey])));Ie(()=>e.activeKey,()=>{i.value=JM(e.activeKey)},{deep:!0});const{prefixCls:a,direction:l,rootPrefixCls:s}=Ve("collapse",e),[c,u]=Dbe(a),d=M(()=>{const{expandIconPosition:b}=e;return b!==void 0?b:l.value==="rtl"?"end":"start"}),f=b=>{const{expandIcon:$=o.expandIcon}=e,x=$?$(b):g(sa,{rotate:b.isActive?90:void 0},null);return g("div",{class:[`${a.value}-expand-icon`,u.value],onClick:()=>["header","icon"].includes(e.collapsible)&&m(b.panelKey)},[Jn(Array.isArray($)?x[0]:x)?Gt(x,{class:`${a.value}-arrow`},!1):x])},h=b=>{e.activeKey===void 0&&(i.value=b);const $=e.accordion?b[0]:b;r("update:activeKey",$),r("change",$)},m=b=>{let $=i.value;if(e.accordion)$=$[0]===b?[]:[b];else{$=[...$];const x=$.indexOf(b);x>-1?$.splice(x,1):$.push(b)}h($)},v=(b,$)=>{var x,_,w;if(Nh(b))return;const I=i.value,{accordion:O,destroyInactivePanel:P,collapsible:E,openAnimation:R}=e,A=R||Uh(`${s.value}-motion-collapse`),N=String((x=b.key)!==null&&x!==void 0?x:$),{header:F=(w=(_=b.children)===null||_===void 0?void 0:_.header)===null||w===void 0?void 0:w.call(_),headerClass:W,collapsible:D,disabled:B}=b.props||{};let k=!1;O?k=I[0]===N:k=I.indexOf(N)>-1;let L=D??E;(B||B==="")&&(L="disabled");const z={key:N,panelKey:N,header:F,headerClass:W,isActive:k,prefixCls:a.value,destroyInactivePanel:P,openAnimation:A,accordion:O,onItemClick:L==="disabled"?null:m,expandIcon:f,collapsible:L};return Gt(b,z)},y=()=>{var b;return ln((b=o.default)===null||b===void 0?void 0:b.call(o)).map(v)};return()=>{const{accordion:b,bordered:$,ghost:x}=e,_=me(a.value,{[`${a.value}-borderless`]:!$,[`${a.value}-icon-position-${d.value}`]:!0,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-ghost`]:!!x,[n.class]:!!n.class},u.value);return c(g("div",V(V({class:_},$ee(n)),{},{style:n.style,role:b?"tablist":null}),[y()]))}}}),Lbe=pe({compatConfig:{MODE:3},name:"PanelContent",props:UB(),setup(e,t){let{slots:n}=t;const o=ve(!1);return ct(()=>{(e.isActive||e.forceRender)&&(o.value=!0)}),()=>{var r;if(!o.value)return null;const{prefixCls:i,isActive:a,role:l}=e;return g("div",{class:me(`${i}-content`,{[`${i}-content-active`]:a,[`${i}-content-inactive`]:!a}),role:l},[g("div",{class:`${i}-content-box`},[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}}),B0=pe({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:bt(UB(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;pn(e.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:i}=Ve("collapse",e),a=()=>{o("itemClick",e.panelKey)},l=s=>{(s.key==="Enter"||s.keyCode===13||s.which===13)&&a()};return()=>{var s,c;const{header:u=(s=n.header)===null||s===void 0?void 0:s.call(n),headerClass:d,isActive:f,showArrow:h,destroyInactivePanel:m,accordion:v,forceRender:y,openAnimation:b,expandIcon:$=n.expandIcon,extra:x=(c=n.extra)===null||c===void 0?void 0:c.call(n),collapsible:_}=e,w=_==="disabled",I=i.value,O=me(`${I}-header`,{[d]:d,[`${I}-header-collapsible-only`]:_==="header",[`${I}-icon-collapsible-only`]:_==="icon"}),P=me({[`${I}-item`]:!0,[`${I}-item-active`]:f,[`${I}-item-disabled`]:w,[`${I}-no-arrow`]:!h,[`${r.class}`]:!!r.class});let E=g("i",{class:"arrow"},null);h&&typeof $=="function"&&(E=$(e));const R=Ln(g(Lbe,{prefixCls:I,isActive:f,forceRender:y,role:v?"tabpanel":null},{default:n.default}),[[Bo,f]]),A=S({appear:!1,css:!1},b);return g("div",V(V({},r),{},{class:P}),[g("div",{class:O,onClick:()=>!["header","icon"].includes(_)&&a(),role:v?"tab":"button",tabindex:w?-1:0,"aria-expanded":f,onKeypress:l},[h&&E,g("span",{onClick:()=>_==="header"&&a(),class:`${I}-header-text`},[u]),x&&g("div",{class:`${I}-extra`},[x])]),g(so,A,{default:()=>[!m||f?R:null]})])}}});_p.Panel=B0;_p.install=function(e){return e.component(_p.name,_p),e.component(B0.name,B0),e};const Nbe=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},kbe=function(e){return/[height|width]$/.test(e)},e6=function(e){let t="";const n=Object.keys(e);return n.forEach(function(o,r){let i=e[o];o=Nbe(o),kbe(o)&&typeof i=="number"&&(i=i+"px"),i===!0?t+=o:i===!1?t+="not "+o:t+="("+o+": "+i+")",r<n.length-1&&(t+=" and ")}),t};function SC(e){let t="";return typeof e=="string"?e:e instanceof Array?(e.forEach(function(n,o){t+=e6(n),o<e.length-1&&(t+=", ")}),t):e6(e)}const Bbe={accessibility:{type:Boolean,default:!0},adaptiveHeight:{type:Boolean,default:!1},afterChange:Z.any.def(null),arrows:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!1},autoplaySpeed:Z.number.def(3e3),beforeChange:Z.any.def(null),centerMode:{type:Boolean,default:!1},centerPadding:Z.string.def("50px"),cssEase:Z.string.def("ease"),dots:{type:Boolean,default:!1},dotsClass:Z.string.def("slick-dots"),draggable:{type:Boolean,default:!0},unslick:{type:Boolean,default:!1},easing:Z.string.def("linear"),edgeFriction:Z.number.def(.35),fade:{type:Boolean,default:!1},focusOnSelect:{type:Boolean,default:!1},infinite:{type:Boolean,default:!0},initialSlide:Z.number.def(0),lazyLoad:Z.any.def(null),verticalSwiping:{type:Boolean,default:!1},asNavFor:Z.any.def(null),pauseOnDotsHover:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},responsive:Z.array,rows:Z.number.def(1),rtl:{type:Boolean,default:!1},slide:Z.string.def("div"),slidesPerRow:Z.number.def(1),slidesToScroll:Z.number.def(1),slidesToShow:Z.number.def(1),speed:Z.number.def(500),swipe:{type:Boolean,default:!0},swipeEvent:Z.any.def(null),swipeToSlide:{type:Boolean,default:!1},touchMove:{type:Boolean,default:!0},touchThreshold:Z.number.def(5),useCSS:{type:Boolean,default:!0},useTransform:{type:Boolean,default:!0},variableWidth:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},waitForAnimate:{type:Boolean,default:!0},children:Z.array,__propsSymbol__:Z.any},GB=Bbe,Fbe={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},Hbe=Fbe;function Mx(e,t,n){return Math.max(t,Math.min(e,n))}const gd=e=>{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},F0=e=>{const t=[],n=YB(e),o=XB(e);for(let r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},YB=e=>e.currentSlide-zbe(e),XB=e=>e.currentSlide+jbe(e),zbe=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,jbe=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,Rx=e=>e&&e.offsetWidth||0,LO=e=>e&&e.offsetHeight||0,qB=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const o=e.startX-e.curX,r=e.startY-e.curY,i=Math.atan2(r,o);return n=Math.round(i*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},Ey=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},CC=(e,t)=>{const n={};return t.forEach(o=>n[o]=e[o]),n},Wbe=e=>{const t=e.children.length,n=e.listRef,o=Math.ceil(Rx(n)),r=e.trackRef,i=Math.ceil(Rx(r));let a;if(e.vertical)a=o;else{let h=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(h*=o/100),a=Math.ceil((o-h)/e.slidesToShow)}const l=n&&LO(n.querySelector('[data-index="0"]')),s=l*e.slidesToShow;let c=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(c=t-1-e.initialSlide);let u=e.lazyLoadedList||[];const d=F0(S(S({},e),{currentSlide:c,lazyLoadedList:u}));u=u.concat(d);const f={slideCount:t,slideWidth:a,listWidth:o,trackWidth:i,currentSlide:c,slideHeight:l,listHeight:s,lazyLoadedList:u};return e.autoplaying===null&&e.autoplay&&(f.autoplaying="playing"),f},Vbe=e=>{const{waitForAnimate:t,animating:n,fade:o,infinite:r,index:i,slideCount:a,lazyLoad:l,currentSlide:s,centerMode:c,slidesToScroll:u,slidesToShow:d,useCSS:f}=e;let{lazyLoadedList:h}=e;if(t&&n)return{};let m=i,v,y,b,$={},x={};const _=r?i:Mx(i,0,a-1);if(o){if(!r&&(i<0||i>=a))return{};i<0?m=i+a:i>=a&&(m=i-a),l&&h.indexOf(m)<0&&(h=h.concat(m)),$={animating:!0,currentSlide:m,lazyLoadedList:h,targetSlide:m},x={animating:!1,targetSlide:m}}else v=m,m<0?(v=m+a,r?a%u!==0&&(v=a-a%u):v=0):!Ey(e)&&m>s?m=v=s:c&&m>=a?(m=r?a:a-1,v=r?0:a-1):m>=a&&(v=m-a,r?a%u!==0&&(v=0):v=a-d),!r&&m+d>=a&&(v=a-d),y=mh(S(S({},e),{slideIndex:m})),b=mh(S(S({},e),{slideIndex:v})),r||(y===b&&(m=v),y=b),l&&(h=h.concat(F0(S(S({},e),{currentSlide:m})))),f?($={animating:!0,currentSlide:v,trackStyle:ZB(S(S({},e),{left:y})),lazyLoadedList:h,targetSlide:_},x={animating:!1,currentSlide:v,trackStyle:vh(S(S({},e),{left:b})),swipeLeft:null,targetSlide:_}):$={currentSlide:v,trackStyle:vh(S(S({},e),{left:b})),lazyLoadedList:h,targetSlide:_};return{state:$,nextState:x}},Kbe=(e,t)=>{let n,o,r;const{slidesToScroll:i,slidesToShow:a,slideCount:l,currentSlide:s,targetSlide:c,lazyLoad:u,infinite:d}=e,h=l%i!==0?0:(l-s)%i;if(t.message==="previous")o=h===0?i:a-h,r=s-o,u&&!d&&(n=s-o,r=n===-1?l-1:n),d||(r=c-i);else if(t.message==="next")o=h===0?i:h,r=s+o,u&&!d&&(r=(s+i)%l+h),d||(r=c+i);else if(t.message==="dots")r=t.index*t.slidesToScroll;else if(t.message==="children"){if(r=t.index,d){const m=Qbe(S(S({},e),{targetSlide:r}));r>t.currentSlide&&m==="left"?r=r-l:r<t.currentSlide&&m==="right"&&(r=r+l)}}else t.message==="index"&&(r=Number(t.index));return r},Ube=(e,t,n)=>e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",Gbe=(e,t,n)=>(e.target.tagName==="IMG"&&gd(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),Ybe=(e,t)=>{const{scrolling:n,animating:o,vertical:r,swipeToSlide:i,verticalSwiping:a,rtl:l,currentSlide:s,edgeFriction:c,edgeDragged:u,onEdge:d,swiped:f,swiping:h,slideCount:m,slidesToScroll:v,infinite:y,touchObject:b,swipeEvent:$,listHeight:x,listWidth:_}=t;if(n)return;if(o)return gd(e);r&&i&&a&&gd(e);let w,I={};const O=mh(t);b.curX=e.touches?e.touches[0].pageX:e.clientX,b.curY=e.touches?e.touches[0].pageY:e.clientY,b.swipeLength=Math.round(Math.sqrt(Math.pow(b.curX-b.startX,2)));const P=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!a&&!h&&P>10)return{scrolling:!0};a&&(b.swipeLength=P);let E=(l?-1:1)*(b.curX>b.startX?1:-1);a&&(E=b.curY>b.startY?1:-1);const R=Math.ceil(m/v),A=qB(t.touchObject,a);let N=b.swipeLength;return y||(s===0&&(A==="right"||A==="down")||s+1>=R&&(A==="left"||A==="up")||!Ey(t)&&(A==="left"||A==="up"))&&(N=b.swipeLength*c,u===!1&&d&&(d(A),I.edgeDragged=!0)),!f&&$&&($(A),I.swiped=!0),r?w=O+N*(x/_)*E:l?w=O-N*E:w=O+N*E,a&&(w=O+N*E),I=S(S({},I),{touchObject:b,swipeLeft:w,trackStyle:vh(S(S({},t),{left:w}))}),Math.abs(b.curX-b.startX)<Math.abs(b.curY-b.startY)*.8||b.swipeLength>10&&(I.swiping=!0,gd(e)),I},Xbe=(e,t)=>{const{dragging:n,swipe:o,touchObject:r,listWidth:i,touchThreshold:a,verticalSwiping:l,listHeight:s,swipeToSlide:c,scrolling:u,onSwipe:d,targetSlide:f,currentSlide:h,infinite:m}=t;if(!n)return o&&gd(e),{};const v=l?s/a:i/a,y=qB(r,l),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!r.swipeLength)return b;if(r.swipeLength>v){gd(e),d&&d(y);let $,x;const _=m?h:f;switch(y){case"left":case"up":x=_+n6(t),$=c?t6(t,x):x,b.currentDirection=0;break;case"right":case"down":x=_-n6(t),$=c?t6(t,x):x,b.currentDirection=1;break;default:$=_}b.triggerSlideHandler=$}else{const $=mh(t);b.trackStyle=ZB(S(S({},t),{left:$}))}return b},qbe=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,o=e.infinite?e.slidesToShow*-1:0;const r=[];for(;n<t;)r.push(n),n=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return r},t6=(e,t)=>{const n=qbe(e);let o=0;if(t>n[n.length-1])t=n[n.length-1];else for(const r in n){if(t<n[r]){t=o;break}o=n[r]}return t},n6=e=>{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(r).every(l=>{if(e.vertical){if(l.offsetTop+LO(l)/2>e.swipeLeft*-1)return n=l,!1}else if(l.offsetLeft-t+Rx(l)/2>e.swipeLeft*-1)return n=l,!1;return!0}),!n)return 0;const i=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}else return e.slidesToScroll},NO=(e,t)=>t.reduce((n,o)=>n&&e.hasOwnProperty(o),!0)?null:console.error("Keys Missing:",e),vh=e=>{NO(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=Zbe(e)*e.slideWidth;let r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=S(S({},r),{WebkitTransform:i,transform:a,msTransform:l})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t+"px"),n&&(r.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},ZB=e=>{NO(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=vh(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},mh=e=>{if(e.unslick)return 0;NO(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:o,centerMode:r,slideCount:i,slidesToShow:a,slidesToScroll:l,slideWidth:s,listWidth:c,variableWidth:u,slideHeight:d,fade:f,vertical:h}=e;let m=0,v,y,b=0;if(f||e.slideCount===1)return 0;let $=0;if(o?($=-vl(e),i%l!==0&&t+l>i&&($=-(t>i?a-(t-i):i%l)),r&&($+=parseInt(a/2))):(i%l!==0&&t+l>i&&($=a-i%l),r&&($=parseInt(a/2))),m=$*s,b=$*d,h?v=t*d*-1+b:v=t*s*-1+m,u===!0){let x;const _=n;if(x=t+vl(e),y=_&&_.childNodes[x],v=y?y.offsetLeft*-1:0,r===!0){x=o?t+vl(e):t,y=_&&_.children[x],v=0;for(let w=0;w<x;w++)v-=_&&_.children[w]&&_.children[w].offsetWidth;v-=parseInt(e.centerPadding),v+=y&&(c-y.offsetWidth)/2}}return v},vl=e=>e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),mm=e=>e.unslick||!e.infinite?0:e.slideCount,Zbe=e=>e.slideCount===1?1:vl(e)+e.slideCount+mm(e),Qbe=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Jbe(e)?"left":"right":e.targetSlide<e.currentSlide-eye(e)?"right":"left",Jbe=e=>{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:r}=e;if(n){let i=(t-1)/2+1;return parseInt(r)>0&&(i+=1),o&&t%2===0&&(i+=1),i}return o?0:t-1},eye=e=>{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:r}=e;if(n){let i=(t-1)/2+1;return parseInt(r)>0&&(i+=1),!o&&t%2===0&&(i+=1),i}return o?t-1:0},o6=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),$C=e=>{let t,n,o,r;e.rtl?r=e.slideCount-1-e.index:r=e.index;const i=r<0||r>=e.slideCount;e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount===0,r>e.currentSlide-o-1&&r<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow;let a;return e.targetSlide<0?a=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?a=e.targetSlide-e.slideCount:a=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":r===a}},tye=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},xC=(e,t)=>e.key+"-"+t,nye=function(e,t){let n;const o=[],r=[],i=[],a=t.length,l=YB(e),s=XB(e);return t.forEach((c,u)=>{let d;const f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?d=c:d=g("div");const h=tye(S(S({},e),{index:u})),m=d.props.class||"";let v=$C(S(S({},e),{index:u}));if(o.push(yp(d,{key:"original"+xC(d,u),tabindex:"-1","data-index":u,"aria-hidden":!v["slick-active"],class:me(v,m),style:S(S({outline:"none"},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&e.fade===!1){const y=a-u;y<=vl(e)&&a!==e.slidesToShow&&(n=-y,n>=l&&(d=c),v=$C(S(S({},e),{index:n})),r.push(yp(d,{key:"precloned"+xC(d,n),class:me(v,m),tabindex:"-1","data-index":n,"aria-hidden":!v["slick-active"],style:S(S({},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}}))),a!==e.slidesToShow&&(n=a+u,n<s&&(d=c),v=$C(S(S({},e),{index:n})),i.push(yp(d,{key:"postcloned"+xC(d,n),tabindex:"-1","data-index":n,"aria-hidden":!v["slick-active"],class:me(v,m),style:S(S({},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}})))}}),e.rtl?r.concat(o,i).reverse():r.concat(o,i)},QB=(e,t)=>{let{attrs:n,slots:o}=t;const r=nye(n,ln(o==null?void 0:o.default())),{onMouseenter:i,onMouseover:a,onMouseleave:l}=n,s={onMouseenter:i,onMouseover:a,onMouseleave:l},c=S({class:"slick-track",style:n.trackStyle},s);return g("div",c,[r])};QB.inheritAttrs=!1;const oye=QB,rye=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},JB=(e,t)=>{let{attrs:n}=t;const{slideCount:o,slidesToScroll:r,slidesToShow:i,infinite:a,currentSlide:l,appendDots:s,customPaging:c,clickHandler:u,dotsClass:d,onMouseenter:f,onMouseover:h,onMouseleave:m}=n,v=rye({slideCount:o,slidesToScroll:r,slidesToShow:i,infinite:a}),y={onMouseenter:f,onMouseover:h,onMouseleave:m};let b=[];for(let $=0;$<v;$++){let E=function(R){R&&R.preventDefault(),u(P)};const x=($+1)*r-1,_=a?x:Mx(x,0,o-1),w=_-(r-1),I=a?w:Mx(w,0,o-1),O=me({"slick-active":a?l>=I&&l<=_:l===I}),P={message:"dots",index:$,slidesToScroll:r,currentSlide:l};b=b.concat(g("li",{key:$,class:O},[Gt(c({i:$}),{onClick:E})]))}return Gt(s({dots:b}),S({class:d},y))};JB.inheritAttrs=!1;const iye=JB;function eF(){}function tF(e,t,n){n&&n.preventDefault(),t(e,n)}const nF=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,infinite:r,currentSlide:i,slideCount:a,slidesToShow:l}=n,s={"slick-arrow":!0,"slick-prev":!0};let c=function(h){tF({message:"previous"},o,h)};!r&&(i===0||a<=l)&&(s["slick-disabled"]=!0,c=eF);const u={key:"0","data-role":"none",class:s,style:{display:"block"},onClick:c},d={currentSlide:i,slideCount:a};let f;return n.prevArrow?f=Gt(n.prevArrow(S(S({},u),d)),{key:"0",class:s,style:{display:"block"},onClick:c},!1):f=g("button",V({key:"0",type:"button"},u),[" ",Do("Previous")]),f};nF.inheritAttrs=!1;const oF=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,currentSlide:r,slideCount:i}=n,a={"slick-arrow":!0,"slick-next":!0};let l=function(d){tF({message:"next"},o,d)};Ey(n)||(a["slick-disabled"]=!0,l=eF);const s={key:"1","data-role":"none",class:me(a),style:{display:"block"},onClick:l},c={currentSlide:r,slideCount:i};let u;return n.nextArrow?u=Gt(n.nextArrow(S(S({},s),c)),{key:"1",class:me(a),style:{display:"block"},onClick:l},!1):u=g("button",V({key:"1",type:"button"},s),[" ",Do("Next")]),u};oF.inheritAttrs=!1;var aye=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function ti(){}const lye={name:"InnerSlider",mixins:[eu],inheritAttrs:!1,props:S({},GB),data(){this.preProps=S({},this.$props),this.list=null,this.track=null,this.callbackTimers=[],this.clickable=!0,this.debouncedResize=null;const e=this.ssrInit();return S(S(S({},Hbe),{currentSlide:this.initialSlide,slideCount:this.children.length}),e)},watch:{autoplay(e,t){!t&&e?this.handleAutoPlay("playing"):e?this.handleAutoPlay("update"):this.pause("paused")},__propsSymbol__(){const e=this.$props,t=S(S({listRef:this.list,trackRef:this.track},e),this.$data);let n=!1;for(const o of Object.keys(this.preProps)){if(!e.hasOwnProperty(o)){n=!0;break}if(!(typeof e[o]=="object"||typeof e[o]=="function"||typeof e[o]=="symbol")&&e[o]!==this.preProps[o]){n=!0;break}}this.updateState(t,n,()=>{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=S({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=F0(S(S({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=S({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new w2(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=F0(S(S({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=LO(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=T_(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!!this.track)return;const n=S(S({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const o=Wbe(e);e=S(S(S({},e),o),{slideIndex:o.currentSlide});const r=mh(e);e=S(S({},e),{left:r});const i=vh(e);(t||this.children.length!==e.children.length)&&(o.trackStyle=i),this.setState(o,n)},ssrInit(){const e=this.children;if(this.variableWidth){let s=0,c=0;const u=[],d=vl(S(S(S({},this.$props),this.$data),{slideCount:e.length})),f=mm(S(S(S({},this.$props),this.$data),{slideCount:e.length}));e.forEach(m=>{var v,y;const b=((y=(v=m.props.style)===null||v===void 0?void 0:v.width)===null||y===void 0?void 0:y.split("px")[0])||0;u.push(b),s+=b});for(let m=0;m<d;m++)c+=u[u.length-1-m],s+=u[u.length-1-m];for(let m=0;m<f;m++)s+=u[m];for(let m=0;m<this.currentSlide;m++)c+=u[m];const h={width:s+"px",left:-c+"px"};if(this.centerMode){const m=`${u[this.currentSlide]}px`;h.left=`calc(${h.left} + (100% - ${m}) / 2 ) `}return{trackStyle:h}}const t=e.length,n=S(S(S({},this.$props),this.$data),{slideCount:t}),o=vl(n)+mm(n)+t,r=100/this.slidesToShow*o,i=100/o;let a=-i*(vl(n)+this.currentSlide)*r/100;this.centerMode&&(a+=(100-i*r/100)/2);const l={width:r+"%",left:a+"%"};return{slideWidth:i+"%",trackStyle:l}},checkImagesLoad(){const e=this.list&&this.list.querySelectorAll&&this.list.querySelectorAll(".slick-slide img")||[],t=e.length;let n=0;Array.prototype.forEach.call(e,o=>{const r=()=>++n&&n>=t&&this.onWindowResized();if(!o.onclick)o.onclick=()=>o.parentNode.focus();else{const i=o.onclick;o.onclick=()=>{i(),o.parentNode.focus()}}o.onload||(this.$props.lazyLoad?o.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(o.onload=r,o.onerror=()=>{r(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=S(S({},this.$props),this.$data);for(let n=this.currentSlide;n<this.slideCount+mm(t);n++)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(let n=this.currentSlide-1;n>=-vl(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,currentSlide:o,beforeChange:r,speed:i,afterChange:a}=this.$props,{state:l,nextState:s}=Vbe(S(S(S({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!l)return;r&&r(o,l.currentSlide);const c=l.lazyLoadedList.filter(u=>this.lazyLoadedList.indexOf(u)<0);this.$attrs.onLazyLoad&&c.length>0&&this.__emit("lazyLoad",c),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),a&&a(o),delete this.animationEndCallback),this.setState(l,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),s&&(this.animationEndCallback=setTimeout(()=>{const{animating:u}=s,d=aye(s,["animating"]);this.setState(d,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:u}),10)),a&&a(l.currentSlide),delete this.animationEndCallback})},i))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=S(S({},this.$props),this.$data),o=Kbe(n,e);if(!(o!==0&&!o)&&(t===!0?this.slideHandler(o,t):this.slideHandler(o),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const r=this.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=Ube(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=Gbe(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=Ybe(e,S(S(S({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));t&&(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=Xbe(e,S(S(S({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(Ey(S(S({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return g("button",null,[t+1])},appendDots(e){let{dots:t}=e;return g("ul",{style:{display:"block"}},[t])}},render(){const e=me("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=S(S({},this.$props),this.$data);let n=CC(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:o}=this.$props;n=S(S({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:o?this.onTrackLeave:ti,onMouseover:o?this.onTrackOver:ti});let r;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let y=CC(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);y.customPaging=this.customPaging,y.appendDots=this.appendDots;const{customPaging:b,appendDots:$}=this.$slots;b&&(y.customPaging=b),$&&(y.appendDots=$);const{pauseOnDotsHover:x}=this.$props;y=S(S({},y),{clickHandler:this.changeSlide,onMouseover:x?this.onDotsOver:ti,onMouseleave:x?this.onDotsLeave:ti}),r=g(iye,y,null)}let i,a;const l=CC(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);l.clickHandler=this.changeSlide;const{prevArrow:s,nextArrow:c}=this.$slots;s&&(l.prevArrow=s),c&&(l.nextArrow=c),this.arrows&&(i=g(nF,l,null),a=g(oF,l,null));let u=null;this.vertical&&(u={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let d=null;this.vertical===!1?this.centerMode===!0&&(d={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(d={padding:this.centerPadding+" 0px"});const f=S(S({},u),d),h=this.touchMove;let m={ref:this.listRefHandler,class:"slick-list",style:f,onClick:this.clickHandler,onMousedown:h?this.swipeStart:ti,onMousemove:this.dragging&&h?this.swipeMove:ti,onMouseup:h?this.swipeEnd:ti,onMouseleave:this.dragging&&h?this.swipeEnd:ti,[fo?"onTouchstartPassive":"onTouchstart"]:h?this.swipeStart:ti,[fo?"onTouchmovePassive":"onTouchmove"]:this.dragging&&h?this.swipeMove:ti,onTouchend:h?this.touchEnd:ti,onTouchcancel:this.dragging&&h?this.swipeEnd:ti,onKeydown:this.accessibility?this.keyHandler:ti},v={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(m={class:"slick-list",ref:this.listRefHandler},v={class:e}),g("div",v,[this.unslick?"":i,g("div",m,[g(oye,n,{default:()=>[this.children]})]),this.unslick?"":a,this.unslick?"":r])}},sye=pe({name:"Slider",mixins:[eu],inheritAttrs:!1,props:S({},GB),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,o)=>n-o),e.forEach((n,o)=>{let r;o===0?r=SC({minWidth:0,maxWidth:n}):r=SC({minWidth:e[o-1]+1,maxWidth:n}),o6()&&this.media(r,()=>{this.setState({breakpoint:n})})});const t=SC({minWidth:e.slice(-1)[0]});o6()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),o=r=>{let{matches:i}=r;i&&t()};n.addListener(o),o(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(l=>l.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":S(S({},this.$props),n[0].settings)):t=S({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let o=kb(this)||[];o=o.filter(l=>typeof l=="string"?!!l.trim():!!l),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const r=[];let i=null;for(let l=0;l<o.length;l+=t.rows*t.slidesPerRow){const s=[];for(let c=l;c<l+t.rows*t.slidesPerRow;c+=t.slidesPerRow){const u=[];for(let d=c;d<c+t.slidesPerRow&&(t.variableWidth&&(!((e=o[d].props)===null||e===void 0)&&e.style)&&(i=o[d].props.style.width),!(d>=o.length));d+=1)u.push(Gt(o[d],{key:100*l+10*c+d,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));s.push(g("div",{key:10*l+c},[u]))}t.variableWidth?r.push(g("div",{key:l,style:{width:i}},[s])):r.push(g("div",{key:l},[s]))}if(t==="unslick"){const l="regular slider "+(this.className||"");return g("div",{class:l},[o])}else r.length<=t.slidesToShow&&(t.unslick=!0);const a=S(S(S({},this.$attrs),t),{children:r,ref:this.innerSliderRefHandler});return g(lye,V(V({},a),{},{__propsSymbol__:[]}),this.$slots)}}),cye=e=>{const{componentCls:t,antCls:n,carouselArrowSize:o,carouselDotOffset:r,marginXXS:i}=e,a=-o*1.25,l=i;return{[t]:S(S({},vt(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:l,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-l,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},uye=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:o}=e,r={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:S(S({},r),{margin:`${o}px 0`,verticalAlign:"baseline",button:r,"&.slick-active":S(S({},r),{button:r})})}}}},dye=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},fye=pt("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,o=nt(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[cye(o),uye(o),dye(o)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var pye=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const hye=()=>({effect:Qe(),dots:De(!0),vertical:De(),autoplay:De(),easing:String,beforeChange:Oe(),afterChange:Oe(),prefixCls:String,accessibility:De(),nextArrow:Z.any,prevArrow:Z.any,pauseOnHover:De(),adaptiveHeight:De(),arrows:De(!1),autoplaySpeed:Number,centerMode:De(),centerPadding:String,cssEase:String,dotsClass:String,draggable:De(!1),fade:De(),focusOnSelect:De(),infinite:De(),initialSlide:Number,lazyLoad:Qe(),rtl:De(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:De(),swipeToSlide:De(),swipeEvent:Oe(),touchMove:De(),touchThreshold:Number,variableWidth:De(),useCSS:De(),slickGoTo:Number,responsive:Array,dotPosition:Qe(),verticalSwiping:De(!1)}),gye=pe({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:hye(),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=he();r({goTo:function(m){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var y;(y=i.value)===null||y===void 0||y.slickGoTo(m,v)},autoplay:m=>{var v,y;(y=(v=i.value)===null||v===void 0?void 0:v.innerSlider)===null||y===void 0||y.handleAutoPlay(m)},prev:()=>{var m;(m=i.value)===null||m===void 0||m.slickPrev()},next:()=>{var m;(m=i.value)===null||m===void 0||m.slickNext()},innerSlider:M(()=>{var m;return(m=i.value)===null||m===void 0?void 0:m.innerSlider})}),ct(()=>{Sn(e.vertical===void 0)});const{prefixCls:l,direction:s}=Ve("carousel",e),[c,u]=fye(l),d=M(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),f=M(()=>d.value==="left"||d.value==="right"),h=M(()=>{const m="slick-dots";return me({[m]:!0,[`${m}-${d.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:m,arrows:v,draggable:y,effect:b}=e,{class:$,style:x}=o,_=pye(o,["class","style"]),w=b==="fade"?!0:e.fade,I=me(l.value,{[`${l.value}-rtl`]:s.value==="rtl",[`${l.value}-vertical`]:f.value,[`${$}`]:!!$},u.value);return c(g("div",{class:I,style:x},[g(sye,V(V(V({ref:i},e),_),{},{dots:!!m,dotsClass:h.value,arrows:v,draggable:y,fade:w,vertical:f.value}),n)]))}}}),vye=$n(gye),kO="__RC_CASCADER_SPLIT__",rF="SHOW_PARENT",iF="SHOW_CHILD";function bs(e){return e.join(kO)}function Ju(e){return e.map(bs)}function mye(e){return e.split(kO)}function bye(e){const{label:t,value:n,children:o}=e||{},r=n||"value";return{label:t||"label",value:r,key:r,children:o||"children"}}function rp(e,t){var n,o;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((o=e[t.children])===null||o===void 0)&&o.length)}function yye(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}const aF=Symbol("TreeContextKey"),Sye=pe({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return ft(aF,M(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),BO=()=>it(aF,M(()=>({}))),lF=Symbol("KeysStateKey"),Cye=e=>{ft(lF,e)},sF=()=>it(lF,{expandedKeys:ve([]),selectedKeys:ve([]),loadedKeys:ve([]),loadingKeys:ve([]),checkedKeys:ve([]),halfCheckedKeys:ve([]),expandedKeysSet:M(()=>new Set),selectedKeysSet:M(()=>new Set),loadedKeysSet:M(()=>new Set),loadingKeysSet:M(()=>new Set),checkedKeysSet:M(()=>new Set),halfCheckedKeysSet:M(()=>new Set),flattenNodes:ve([])}),$ye=e=>{let{prefixCls:t,level:n,isStart:o,isEnd:r}=e;const i=`${t}-indent-unit`,a=[];for(let l=0;l<n;l+=1)a.push(g("span",{key:l,class:{[i]:!0,[`${i}-start`]:o[l],[`${i}-end`]:r[l]}},null));return g("span",{"aria-hidden":"true",class:`${t}-indent`},[a])},xye=$ye,cF={eventKey:[String,Number],prefixCls:String,title:Z.any,data:{type:Object,default:void 0},parent:{type:Object,default:void 0},isStart:{type:Array},isEnd:{type:Array},active:{type:Boolean,default:void 0},onMousemove:{type:Function},isLeaf:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},selectable:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},disableCheckbox:{type:Boolean,default:void 0},icon:Z.any,switcherIcon:Z.any,domRef:{type:Function}},wye={prefixCls:{type:String},motion:{type:Object},focusable:{type:Boolean},activeItem:{type:Object},focused:{type:Boolean},tabindex:{type:Number},checkable:{type:Boolean},selectable:{type:Boolean},disabled:{type:Boolean},height:{type:Number},itemHeight:{type:Number},virtual:{type:Boolean},onScroll:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onActiveChange:{type:Function},onContextmenu:{type:Function},onListChangeStart:{type:Function},onListChangeEnd:{type:Function}},uF=()=>({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:Z.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:Z.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:Z.any,switcherIcon:Z.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var _ye=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const r6="open",i6="close",Oye="---",Dx=pe({compatConfig:{MODE:3},name:"ATreeNode",inheritAttrs:!1,props:cF,isTreeNode:1,setup(e,t){let{attrs:n,slots:o,expose:r}=t;"slots"in e.data,`${Object.keys(e.data.slots||{}).map(oe=>"`v-slot:"+oe+"` ")}`;const i=ve(!1),a=BO(),{expandedKeysSet:l,selectedKeysSet:s,loadedKeysSet:c,loadingKeysSet:u,checkedKeysSet:d,halfCheckedKeysSet:f}=sF(),{dragOverNodeKey:h,dropPosition:m,keyEntities:v}=a.value,y=M(()=>bm(e.eventKey,{expandedKeysSet:l.value,selectedKeysSet:s.value,loadedKeysSet:c.value,loadingKeysSet:u.value,checkedKeysSet:d.value,halfCheckedKeysSet:f.value,dragOverNodeKey:h,dropPosition:m,keyEntities:v})),b=ai(()=>y.value.expanded),$=ai(()=>y.value.selected),x=ai(()=>y.value.checked),_=ai(()=>y.value.loaded),w=ai(()=>y.value.loading),I=ai(()=>y.value.halfChecked),O=ai(()=>y.value.dragOver),P=ai(()=>y.value.dragOverGapTop),E=ai(()=>y.value.dragOverGapBottom),R=ai(()=>y.value.pos),A=ve(),N=M(()=>{const{eventKey:oe}=e,{keyEntities:le}=a.value,{children:xe}=le[oe]||{};return!!(xe||[]).length}),F=M(()=>{const{isLeaf:oe}=e,{loadData:le}=a.value,xe=N.value;return oe===!1?!1:oe||!le&&!xe||le&&_.value&&!xe}),W=M(()=>F.value?null:b.value?r6:i6),D=M(()=>{const{disabled:oe}=e,{disabled:le}=a.value;return!!(le||oe)}),B=M(()=>{const{checkable:oe}=e,{checkable:le}=a.value;return!le||oe===!1?!1:le}),k=M(()=>{const{selectable:oe}=e,{selectable:le}=a.value;return typeof oe=="boolean"?oe:le}),L=M(()=>{const{data:oe,active:le,checkable:xe,disableCheckbox:Ae,disabled:Be,selectable:Ye}=e;return S(S({active:le,checkable:xe,disableCheckbox:Ae,disabled:Be,selectable:Ye},oe),{dataRef:oe,data:oe,isLeaf:F.value,checked:x.value,expanded:b.value,loading:w.value,selected:$.value,halfChecked:I.value})}),z=Nn(),K=M(()=>{const{eventKey:oe}=e,{keyEntities:le}=a.value,{parent:xe}=le[oe]||{};return S(S({},ym(S({},e,y.value))),{parent:xe})}),G=St({eventData:K,eventKey:M(()=>e.eventKey),selectHandle:A,pos:R,key:z.vnode.key});r(G);const Y=oe=>{const{onNodeDoubleClick:le}=a.value;le(oe,K.value)},ne=oe=>{if(D.value)return;const{onNodeSelect:le}=a.value;oe.preventDefault(),le(oe,K.value)},re=oe=>{if(D.value)return;const{disableCheckbox:le}=e,{onNodeCheck:xe}=a.value;if(!B.value||le)return;oe.preventDefault();const Ae=!x.value;xe(oe,K.value,Ae)},J=oe=>{const{onNodeClick:le}=a.value;le(oe,K.value),k.value?ne(oe):re(oe)},te=oe=>{const{onNodeMouseEnter:le}=a.value;le(oe,K.value)},ee=oe=>{const{onNodeMouseLeave:le}=a.value;le(oe,K.value)},fe=oe=>{const{onNodeContextMenu:le}=a.value;le(oe,K.value)},ie=oe=>{const{onNodeDragStart:le}=a.value;oe.stopPropagation(),i.value=!0,le(oe,G);try{oe.dataTransfer.setData("text/plain","")}catch{}},X=oe=>{const{onNodeDragEnter:le}=a.value;oe.preventDefault(),oe.stopPropagation(),le(oe,G)},ue=oe=>{const{onNodeDragOver:le}=a.value;oe.preventDefault(),oe.stopPropagation(),le(oe,G)},ye=oe=>{const{onNodeDragLeave:le}=a.value;oe.stopPropagation(),le(oe,G)},H=oe=>{const{onNodeDragEnd:le}=a.value;oe.stopPropagation(),i.value=!1,le(oe,G)},j=oe=>{const{onNodeDrop:le}=a.value;oe.preventDefault(),oe.stopPropagation(),i.value=!1,le(oe,G)},q=oe=>{const{onNodeExpand:le}=a.value;w.value||le(oe,K.value)},se=()=>{const{data:oe}=e,{draggable:le}=a.value;return!!(le&&(!le.nodeDraggable||le.nodeDraggable(oe)))},ae=()=>{const{draggable:oe,prefixCls:le}=a.value;return oe&&(oe!=null&&oe.icon)?g("span",{class:`${le}-draggable-icon`},[oe.icon]):null},ge=()=>{var oe,le,xe;const{switcherIcon:Ae=o.switcherIcon||((oe=a.value.slots)===null||oe===void 0?void 0:oe[(xe=(le=e.data)===null||le===void 0?void 0:le.slots)===null||xe===void 0?void 0:xe.switcherIcon])}=e,{switcherIcon:Be}=a.value,Ye=Ae||Be;return typeof Ye=="function"?Ye(L.value):Ye},Se=()=>{const{loadData:oe,onNodeLoad:le}=a.value;w.value||oe&&b.value&&!F.value&&!N.value&&!_.value&&le(K.value)};lt(()=>{Se()}),fr(()=>{Se()});const $e=()=>{const{prefixCls:oe}=a.value,le=ge();if(F.value)return le!==!1?g("span",{class:me(`${oe}-switcher`,`${oe}-switcher-noop`)},[le]):null;const xe=me(`${oe}-switcher`,`${oe}-switcher_${b.value?r6:i6}`);return le!==!1?g("span",{onClick:q,class:xe},[le]):null},_e=()=>{var oe,le;const{disableCheckbox:xe}=e,{prefixCls:Ae}=a.value,Be=D.value;return B.value?g("span",{class:me(`${Ae}-checkbox`,x.value&&`${Ae}-checkbox-checked`,!x.value&&I.value&&`${Ae}-checkbox-indeterminate`,(Be||xe)&&`${Ae}-checkbox-disabled`),onClick:re},[(le=(oe=a.value).customCheckable)===null||le===void 0?void 0:le.call(oe)]):null},be=()=>{const{prefixCls:oe}=a.value;return g("span",{class:me(`${oe}-iconEle`,`${oe}-icon__${W.value||"docu"}`,w.value&&`${oe}-icon_loading`)},null)},Te=()=>{const{disabled:oe,eventKey:le}=e,{draggable:xe,dropLevelOffset:Ae,dropPosition:Be,prefixCls:Ye,indent:Re,dropIndicatorRender:Le,dragOverNodeKey:Ne,direction:Ke}=a.value;return!oe&&xe!==!1&&Ne===le?Le({dropPosition:Be,dropLevelOffset:Ae,indent:Re,prefixCls:Ye,direction:Ke}):null},Pe=()=>{var oe,le,xe,Ae,Be,Ye;const{icon:Re=o.icon,data:Le}=e,Ne=o.title||((oe=a.value.slots)===null||oe===void 0?void 0:oe[(xe=(le=e.data)===null||le===void 0?void 0:le.slots)===null||xe===void 0?void 0:xe.title])||((Ae=a.value.slots)===null||Ae===void 0?void 0:Ae.title)||e.title,{prefixCls:Ke,showIcon:Ze,icon:Ue,loadData:Xe}=a.value,xt=D.value,Mt=`${Ke}-node-content-wrapper`;let Ft;if(Ze){const Vn=Re||((Be=a.value.slots)===null||Be===void 0?void 0:Be[(Ye=Le==null?void 0:Le.slots)===null||Ye===void 0?void 0:Ye.icon])||Ue;Ft=Vn?g("span",{class:me(`${Ke}-iconEle`,`${Ke}-icon__customize`)},[typeof Vn=="function"?Vn(L.value):Vn]):be()}else Xe&&w.value&&(Ft=be());let jt;typeof Ne=="function"?jt=Ne(L.value):jt=Ne,jt=jt===void 0?Oye:jt;const Yt=g("span",{class:`${Ke}-title`},[jt]);return g("span",{ref:A,title:typeof Ne=="string"?Ne:"",class:me(`${Mt}`,`${Mt}-${W.value||"normal"}`,!xt&&($.value||i.value)&&`${Ke}-node-selected`),onMouseenter:te,onMouseleave:ee,onContextmenu:fe,onClick:J,onDblclick:Y},[Ft,Yt,Te()])};return()=>{const oe=S(S({},e),n),{eventKey:le,isLeaf:xe,isStart:Ae,isEnd:Be,domRef:Ye,active:Re,data:Le,onMousemove:Ne,selectable:Ke}=oe,Ze=_ye(oe,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:Ue,filterTreeNode:Xe,keyEntities:xt,dropContainerKey:Mt,dropTargetKey:Ft,draggingNodeKey:jt}=a.value,Yt=D.value,Vn=As(Ze,{aria:!0,data:!0}),{level:Gn}=xt[le]||{},oo=Be[Be.length-1],kn=se(),yo=!Yt&&kn,Yo=jt===le,wr=Ke!==void 0?{"aria-selected":!!Ke}:void 0;return g("div",V(V({ref:Ye,class:me(n.class,`${Ue}-treenode`,{[`${Ue}-treenode-disabled`]:Yt,[`${Ue}-treenode-switcher-${b.value?"open":"close"}`]:!xe,[`${Ue}-treenode-checkbox-checked`]:x.value,[`${Ue}-treenode-checkbox-indeterminate`]:I.value,[`${Ue}-treenode-selected`]:$.value,[`${Ue}-treenode-loading`]:w.value,[`${Ue}-treenode-active`]:Re,[`${Ue}-treenode-leaf-last`]:oo,[`${Ue}-treenode-draggable`]:yo,dragging:Yo,"drop-target":Ft===le,"drop-container":Mt===le,"drag-over":!Yt&&O.value,"drag-over-gap-top":!Yt&&P.value,"drag-over-gap-bottom":!Yt&&E.value,"filter-node":Xe&&Xe(K.value)}),style:n.style,draggable:yo,"aria-grabbed":Yo,onDragstart:yo?ie:void 0,onDragenter:kn?X:void 0,onDragover:kn?ue:void 0,onDragleave:kn?ye:void 0,onDrop:kn?j:void 0,onDragend:kn?H:void 0,onMousemove:Ne},wr),Vn),[g(xye,{prefixCls:Ue,level:Gn,isStart:Ae,isEnd:Be},null),ae(),$e(),_e(),Pe()])}}});function $a(e,t){if(!e)return[];const n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function al(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function FO(e){return e.split("-")}function dF(e,t){return`${e}-${t}`}function Iye(e){return e&&e.type&&e.type.isTreeNode}function Pye(e,t){const n=[],o=t[e];function r(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(a=>{let{key:l,children:s}=a;n.push(l),r(s)})}return r(o.children),n}function Tye(e){if(e.parent){const t=FO(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function Eye(e){const t=FO(e.pos);return Number(t[t.length-1])===0}function a6(e,t,n,o,r,i,a,l,s,c){var u;const{clientX:d,clientY:f}=e,{top:h,height:m}=e.target.getBoundingClientRect(),y=((c==="rtl"?-1:1)*(((r==null?void 0:r.x)||0)-d)-12)/o;let b=l[n.eventKey];if(f<h+m/2){const R=a.findIndex(F=>F.key===b.key),A=R<=0?0:R-1,N=a[A].key;b=l[N]}const $=b.key,x=b,_=b.key;let w=0,I=0;if(!s.has($))for(let R=0;R<y&&Tye(b);R+=1)b=b.parent,I+=1;const O=t.eventData,P=b.node;let E=!0;return Eye(b)&&b.level===0&&f<h+m/2&&i({dragNode:O,dropNode:P,dropPosition:-1})&&b.key===n.eventKey?w=-1:(x.children||[]).length&&s.has(_)?i({dragNode:O,dropNode:P,dropPosition:0})?w=0:E=!1:I===0?y>-1.5?i({dragNode:O,dropNode:P,dropPosition:1})?w=1:E=!1:i({dragNode:O,dropNode:P,dropPosition:0})?w=0:i({dragNode:O,dropNode:P,dropPosition:1})?w=1:E=!1:i({dragNode:O,dropNode:P,dropPosition:1})?w=1:E=!1,{dropPosition:w,dropLevelOffset:I,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:_,dropContainerKey:w===0?null:((u=b.parent)===null||u===void 0?void 0:u.key)||null,dropAllowed:E}}function l6(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function wC(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function Lx(e,t){const n=new Set;function o(r){if(n.has(r))return;const i=t[r];if(!i)return;n.add(r);const{parent:a,node:l}=i;l.disabled||a&&o(a.key)}return(e||[]).forEach(r=>{o(r)}),[...n]}var Aye=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Zh(e,t){return e??t}function Ay(e){const{title:t,_title:n,key:o,children:r}=e||{},i=t||"title";return{title:i,_title:n||[i],key:o||"key",children:r||"children"}}function Nx(e){function t(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _n(n).map(r=>{var i,a,l,s;if(!Iye(r))return null;const c=r.children||{},u=r.key,d={};for(const[R,A]of Object.entries(r.props))d[Gc(R)]=A;const{isLeaf:f,checkable:h,selectable:m,disabled:v,disableCheckbox:y}=d,b={isLeaf:f||f===""||void 0,checkable:h||h===""||void 0,selectable:m||m===""||void 0,disabled:v||v===""||void 0,disableCheckbox:y||y===""||void 0},$=S(S({},d),b),{title:x=(i=c.title)===null||i===void 0?void 0:i.call(c,$),icon:_=(a=c.icon)===null||a===void 0?void 0:a.call(c,$),switcherIcon:w=(l=c.switcherIcon)===null||l===void 0?void 0:l.call(c,$)}=d,I=Aye(d,["title","icon","switcherIcon"]),O=(s=c.default)===null||s===void 0?void 0:s.call(c),P=S(S(S({},I),{title:x,icon:_,switcherIcon:w,key:u,isLeaf:f}),b),E=t(O);return E.length&&(P.children=E),P})}return t(e)}function Mye(e,t,n){const{_title:o,key:r,children:i}=Ay(n),a=new Set(t===!0?[]:t),l=[];function s(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return c.map((d,f)=>{const h=dF(u?u.pos:"0",f),m=Zh(d[r],h);let v;for(let b=0;b<o.length;b+=1){const $=o[b];if(d[$]!==void 0){v=d[$];break}}const y=S(S({},_t(d,[...o,r,i])),{title:v,key:m,parent:u,pos:h,children:null,data:d,isStart:[...u?u.isStart:[],f===0],isEnd:[...u?u.isEnd:[],f===c.length-1]});return l.push(y),t===!0||a.has(m)?y.children=s(d[i]||[],y):y.children=[],y})}return s(e),l}function Rye(e,t,n){let o={};typeof n=="object"?o=n:o={externalGetKey:n},o=o||{};const{childrenPropName:r,externalGetKey:i,fieldNames:a}=o,{key:l,children:s}=Ay(a),c=r||s;let u;i?typeof i=="string"?u=f=>f[i]:typeof i=="function"&&(u=f=>i(f)):u=(f,h)=>Zh(f[l],h);function d(f,h,m,v){const y=f?f[c]:e,b=f?dF(m.pos,h):"0",$=f?[...v,f]:[];if(f){const x=u(f,b),_={node:f,index:h,pos:b,key:x,parentPos:m.node?m.pos:null,level:m.level+1,nodes:$};t(_)}y&&y.forEach((x,_)=>{d(x,_,{node:f,pos:b,level:m?m.level+1:-1},$)})}d(null)}function Qh(e){let{initWrapper:t,processEntity:n,onProcessFinished:o,externalGetKey:r,childrenPropName:i,fieldNames:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const s=r||l,c={},u={};let d={posEntities:c,keyEntities:u};return t&&(d=t(d)||d),Rye(e,f=>{const{node:h,index:m,pos:v,key:y,parentPos:b,level:$,nodes:x}=f,_={node:h,nodes:x,index:m,key:y,pos:v,level:$},w=Zh(y,v);c[v]=_,u[w]=_,_.parent=c[b],_.parent&&(_.parent.children=_.parent.children||[],_.parent.children.push(_)),n&&n(_,d)},{externalGetKey:s,childrenPropName:i,fieldNames:a}),o&&o(d),d}function bm(e,t){let{expandedKeysSet:n,selectedKeysSet:o,loadedKeysSet:r,loadingKeysSet:i,checkedKeysSet:a,halfCheckedKeysSet:l,dragOverNodeKey:s,dropPosition:c,keyEntities:u}=t;const d=u[e];return{eventKey:e,expanded:n.has(e),selected:o.has(e),loaded:r.has(e),loading:i.has(e),checked:a.has(e),halfChecked:l.has(e),pos:String(d?d.pos:""),parent:d.parent,dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function ym(e){const{data:t,expanded:n,selected:o,checked:r,loaded:i,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:u,pos:d,active:f,eventKey:h}=e,m=S(S({dataRef:t},t),{expanded:n,selected:o,checked:r,loaded:i,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:u,pos:d,active:f,eventKey:h,key:h});return"props"in m||Object.defineProperty(m,"props",{get(){return e}}),m}const Dye=(e,t)=>M(()=>Qh(e.value,{fieldNames:t.value,initWrapper:o=>S(S({},o),{pathKeyEntities:{}}),processEntity:(o,r)=>{const i=o.nodes.map(a=>a[t.value.value]).join(kO);r.pathKeyEntities[i]=o,o.key=i}}).pathKeyEntities);function Lye(e){const t=ve(!1),n=he({});return ct(()=>{if(!e.value){t.value=!1,n.value={};return}let o={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(o=S(S({},o),e.value)),o.limit<=0&&delete o.limit,t.value=!0,n.value=o}),{showSearch:t,searchConfig:n}}const Op="__rc_cascader_search_mark__",Nye=(e,t,n)=>{let{label:o}=n;return t.some(r=>String(r[o]).toLowerCase().includes(e.toLowerCase()))},kye=e=>{let{path:t,fieldNames:n}=e;return t.map(o=>o[n.label]).join(" / ")},Bye=(e,t,n,o,r,i)=>M(()=>{const{filter:a=Nye,render:l=kye,limit:s=50,sort:c}=r.value,u=[];if(!e.value)return[];function d(f,h){f.forEach(m=>{if(!c&&s>0&&u.length>=s)return;const v=[...h,m],y=m[n.value.children];(!y||y.length===0||i.value)&&a(e.value,v,{label:n.value.label})&&u.push(S(S({},m),{[n.value.label]:l({inputValue:e.value,path:v,prefixCls:o.value,fieldNames:n.value}),[Op]:v})),y&&d(m[n.value.children],v)})}return d(t.value,[]),c&&u.sort((f,h)=>c(f[Op],h[Op],e.value,n.value)),s>0?u.slice(0,s):u});function s6(e,t,n){const o=new Set(e);return e.filter(r=>{const i=t[r],a=i?i.parent:null,l=i?i.children:null;return n===iF?!(l&&l.some(s=>s.key&&o.has(s.key))):!(a&&!a.node.disabled&&o.has(a.key))})}function bh(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var r;let i=t;const a=[];for(let l=0;l<e.length;l+=1){const s=e[l],c=i==null?void 0:i.findIndex(d=>{const f=d[n.value];return o?String(f)===String(s):f===s}),u=c!==-1?i==null?void 0:i[c]:null;a.push({value:(r=u==null?void 0:u[n.value])!==null&&r!==void 0?r:s,index:c,option:u}),i=u==null?void 0:u[n.children]}return a}const Fye=(e,t,n)=>M(()=>{const o=[],r=[];return n.value.forEach(i=>{bh(i,e.value,t.value).every(l=>l.option)?r.push(i):o.push(i)}),[r,o]});function fF(e,t){const n=new Set;return e.forEach(o=>{t.has(o)||n.add(o)}),n}function Hye(e){const{disabled:t,disableCheckbox:n,checkable:o}=e||{};return!!(t||n)||o===!1}function zye(e,t,n,o){const r=new Set(e),i=new Set;for(let l=0;l<=n;l+=1)(t.get(l)||new Set).forEach(c=>{const{key:u,node:d,children:f=[]}=c;r.has(u)&&!o(d)&&f.filter(h=>!o(h.node)).forEach(h=>{r.add(h.key)})});const a=new Set;for(let l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(c=>{const{parent:u,node:d}=c;if(o(d)||!c.parent||a.has(c.parent.key))return;if(o(c.parent.node)){a.add(u.key);return}let f=!0,h=!1;(u.children||[]).filter(m=>!o(m.node)).forEach(m=>{let{key:v}=m;const y=r.has(v);f&&!y&&(f=!1),!h&&(y||i.has(v))&&(h=!0)}),f&&r.add(u.key),h&&i.add(u.key),a.add(u.key)});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(fF(i,r))}}function jye(e,t,n,o,r){const i=new Set(e);let a=new Set(t);for(let s=0;s<=o;s+=1)(n.get(s)||new Set).forEach(u=>{const{key:d,node:f,children:h=[]}=u;!i.has(d)&&!a.has(d)&&!r(f)&&h.filter(m=>!r(m.node)).forEach(m=>{i.delete(m.key)})});a=new Set;const l=new Set;for(let s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(u=>{const{parent:d,node:f}=u;if(r(f)||!u.parent||l.has(u.parent.key))return;if(r(u.parent.node)){l.add(d.key);return}let h=!0,m=!1;(d.children||[]).filter(v=>!r(v.node)).forEach(v=>{let{key:y}=v;const b=i.has(y);h&&!b&&(h=!1),!m&&(b||a.has(y))&&(m=!0)}),h||i.delete(d.key),m&&a.add(d.key),l.add(d.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(fF(a,i))}}function Mi(e,t,n,o,r,i){let a;i?a=i:a=Hye;const l=new Set(e.filter(c=>!!n[c]));let s;return t===!0?s=zye(l,r,o,a):s=jye(l,t.halfCheckedKeys,r,o,a),s}const Wye=(e,t,n,o,r)=>M(()=>{const i=r.value||(a=>{let{labels:l}=a;const s=o.value?l.slice(-1):l,c=" / ";return s.every(u=>["string","number"].includes(typeof u))?s.join(c):s.reduce((u,d,f)=>{const h=Jn(d)?Gt(d,{key:f}):d;return f===0?[h]:[...u,c,h]},[])});return e.value.map(a=>{const l=bh(a,t.value,n.value),s=i({labels:l.map(u=>{let{option:d,value:f}=u;var h;return(h=d==null?void 0:d[n.value.label])!==null&&h!==void 0?h:f}),selectedOptions:l.map(u=>{let{option:d}=u;return d})}),c=bs(a);return{label:s,value:c,key:c,valueCells:a}})}),pF=Symbol("CascaderContextKey"),Vye=e=>{ft(pF,e)},My=()=>it(pF),Kye=()=>{const e=zh(),{values:t}=My(),[n,o]=nn([]);return Ie(()=>e.open,()=>{if(e.open&&!e.multiple){const r=t.value[0];o(r||[])}},{immediate:!0}),[n,o]},Uye=(e,t,n,o,r,i)=>{const a=zh(),l=M(()=>a.direction==="rtl"),[s,c,u]=[he([]),he(),he([])];ct(()=>{let v=-1,y=t.value;const b=[],$=[],x=o.value.length;for(let w=0;w<x&&y;w+=1){const I=y.findIndex(O=>O[n.value.value]===o.value[w]);if(I===-1)break;v=I,b.push(v),$.push(o.value[w]),y=y[v][n.value.children]}let _=t.value;for(let w=0;w<b.length-1;w+=1)_=_[b[w]][n.value.children];[s.value,c.value,u.value]=[$,v,_]});const d=v=>{r(v)},f=v=>{const y=u.value.length;let b=c.value;b===-1&&v<0&&(b=y);for(let $=0;$<y;$+=1){b=(b+v+y)%y;const x=u.value[b];if(x&&!x.disabled){const _=x[n.value.value],w=s.value.slice(0,-1).concat(_);d(w);return}}},h=()=>{if(s.value.length>1){const v=s.value.slice(0,-1);d(v)}else a.toggleOpen(!1)},m=()=>{var v;const b=(((v=u.value[c.value])===null||v===void 0?void 0:v[n.value.children])||[]).find($=>!$.disabled);if(b){const $=[...s.value,b[n.value.value]];d($)}};e.expose({onKeydown:v=>{const{which:y}=v;switch(y){case Fe.UP:case Fe.DOWN:{let b=0;y===Fe.UP?b=-1:y===Fe.DOWN&&(b=1),b!==0&&f(b);break}case Fe.LEFT:{l.value?m():h();break}case Fe.RIGHT:{l.value?h():m();break}case Fe.BACKSPACE:{a.searchValue||h();break}case Fe.ENTER:{if(s.value.length){const b=u.value[c.value],$=(b==null?void 0:b[Op])||[];$.length?i($.map(x=>x[n.value.value]),$[$.length-1]):i(s.value,b)}break}case Fe.ESC:a.toggleOpen(!1),open&&v.stopPropagation()}},onKeyup:()=>{}})};function Ry(e){let{prefixCls:t,checked:n,halfChecked:o,disabled:r,onClick:i}=e;const{customSlots:a,checkable:l}=My(),s=l.value!==!1?a.value.checkable:l.value,c=typeof s=="function"?s():typeof s=="boolean"?null:s;return g("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&o,[`${t}-disabled`]:r},onClick:i},[c])}Ry.props=["prefixCls","checked","halfChecked","disabled","onClick"];Ry.displayName="Checkbox";Ry.inheritAttrs=!1;const hF="__cascader_fix_label__";function Dy(e){let{prefixCls:t,multiple:n,options:o,activeValue:r,prevValuePath:i,onToggleOpen:a,onSelect:l,onActive:s,checkedSet:c,halfCheckedSet:u,loadingKeys:d,isSelectable:f}=e;var h,m,v,y,b,$;const x=`${t}-menu`,_=`${t}-menu-item`,{fieldNames:w,changeOnSelect:I,expandTrigger:O,expandIcon:P,loadingIcon:E,dropdownMenuColumnStyle:R,customSlots:A}=My(),N=(h=P.value)!==null&&h!==void 0?h:(v=(m=A.value).expandIcon)===null||v===void 0?void 0:v.call(m),F=(y=E.value)!==null&&y!==void 0?y:($=(b=A.value).loadingIcon)===null||$===void 0?void 0:$.call(b),W=O.value==="hover";return g("ul",{class:x,role:"menu"},[o.map(D=>{var B;const{disabled:k}=D,L=D[Op],z=(B=D[hF])!==null&&B!==void 0?B:D[w.value.label],K=D[w.value.value],G=rp(D,w.value),Y=L?L.map(X=>X[w.value.value]):[...i,K],ne=bs(Y),re=d.includes(ne),J=c.has(ne),te=u.has(ne),ee=()=>{!k&&(!W||!G)&&s(Y)},fe=()=>{f(D)&&l(Y,G)};let ie;return typeof D.title=="string"?ie=D.title:typeof z=="string"&&(ie=z),g("li",{key:ne,class:[_,{[`${_}-expand`]:!G,[`${_}-active`]:r===K,[`${_}-disabled`]:k,[`${_}-loading`]:re}],style:R.value,role:"menuitemcheckbox",title:ie,"aria-checked":J,"data-path-key":ne,onClick:()=>{ee(),(!n||G)&&fe()},onDblclick:()=>{I.value&&a(!1)},onMouseenter:()=>{W&&ee()},onMousedown:X=>{X.preventDefault()}},[n&&g(Ry,{prefixCls:`${t}-checkbox`,checked:J,halfChecked:te,disabled:k,onClick:X=>{X.stopPropagation(),fe()}},null),g("div",{class:`${_}-content`},[z]),!re&&N&&!G&&g("div",{class:`${_}-expand-icon`},[N]),re&&F&&g("div",{class:`${_}-loading-icon`},[F])])})])}Dy.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];Dy.displayName="Column";Dy.inheritAttrs=!1;const Gye=pe({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:o}=t,r=zh(),i=he(),a=M(()=>r.direction==="rtl"),{options:l,values:s,halfValues:c,fieldNames:u,changeOnSelect:d,onSelect:f,searchOptions:h,dropdownPrefixCls:m,loadData:v,expandTrigger:y,customSlots:b}=My(),$=M(()=>m.value||r.prefixCls),x=ve([]),_=B=>{if(!v.value||r.searchValue)return;const L=bh(B,l.value,u.value).map(K=>{let{option:G}=K;return G}),z=L[L.length-1];if(z&&!rp(z,u.value)){const K=bs(B);x.value=[...x.value,K],v.value(L)}};ct(()=>{x.value.length&&x.value.forEach(B=>{const k=mye(B),L=bh(k,l.value,u.value,!0).map(K=>{let{option:G}=K;return G}),z=L[L.length-1];(!z||z[u.value.children]||rp(z,u.value))&&(x.value=x.value.filter(K=>K!==B))})});const w=M(()=>new Set(Ju(s.value))),I=M(()=>new Set(Ju(c.value))),[O,P]=Kye(),E=B=>{P(B),_(B)},R=B=>{const{disabled:k}=B,L=rp(B,u.value);return!k&&(L||d.value||r.multiple)},A=function(B,k){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;f(B),!r.multiple&&(k||d.value&&(y.value==="hover"||L))&&r.toggleOpen(!1)},N=M(()=>r.searchValue?h.value:l.value),F=M(()=>{const B=[{options:N.value}];let k=N.value;for(let L=0;L<O.value.length;L+=1){const z=O.value[L],K=k.find(Y=>Y[u.value.value]===z),G=K==null?void 0:K[u.value.children];if(!(G!=null&&G.length))break;k=G,B.push({options:G})}return B});Uye(t,N,u,O,E,(B,k)=>{R(k)&&A(B,rp(k,u.value),!0)});const D=B=>{B.preventDefault()};return lt(()=>{Ie(O,B=>{var k;for(let L=0;L<B.length;L+=1){const z=B.slice(0,L+1),K=bs(z),G=(k=i.value)===null||k===void 0?void 0:k.querySelector(`li[data-path-key="${K.replace(/\\{0,2}"/g,'\\"')}"]`);G&&yye(G)}},{flush:"post",immediate:!0})}),()=>{var B,k,L,z,K;const{notFoundContent:G=((B=o.notFoundContent)===null||B===void 0?void 0:B.call(o))||((L=(k=b.value).notFoundContent)===null||L===void 0?void 0:L.call(k)),multiple:Y,toggleOpen:ne}=r,re=!(!((K=(z=F.value[0])===null||z===void 0?void 0:z.options)===null||K===void 0)&&K.length),J=[{[u.value.value]:"__EMPTY__",[hF]:G,disabled:!0}],te=S(S({},n),{multiple:!re&&Y,onSelect:A,onActive:E,onToggleOpen:ne,checkedSet:w.value,halfCheckedSet:I.value,loadingKeys:x.value,isSelectable:R}),fe=(re?[{options:J}]:F.value).map((ie,X)=>{const ue=O.value.slice(0,X),ye=O.value[X];return g(Dy,V(V({key:X},te),{},{prefixCls:$.value,options:ie.options,prevValuePath:ue,activeValue:ye}),null)});return g("div",{class:[`${$.value}-menus`,{[`${$.value}-menu-empty`]:re,[`${$.value}-rtl`]:a.value}],onMousedown:D,ref:i},[fe])}}});function Ly(e){const t=he(0),n=ve();return ct(()=>{const o=new Map;let r=0;const i=e.value||{};for(const a in i)if(Object.prototype.hasOwnProperty.call(i,a)){const l=i[a],{level:s}=l;let c=o.get(s);c||(c=new Set,o.set(s,c)),c.add(l),r=Math.max(r,s)}t.value=r,n.value=o}),{maxLevel:t,levelEntities:n}}function Yye(){return S(S({},_t(ay(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:qe(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:rF},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Z.any,loadingIcon:Z.any})}function gF(){return S(S({},Yye()),{onChange:Function,customSlots:Object})}function Xye(e){return Array.isArray(e)&&Array.isArray(e[0])}function c6(e){return e?Xye(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const qye=pe({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:bt(gF(),{}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=l_(st(e,"id")),a=M(()=>!!e.checkable),[l,s]=yn(e.defaultValue,{value:M(()=>e.value),postState:c6}),c=M(()=>bye(e.fieldNames)),u=M(()=>e.options||[]),d=Dye(u,c),f=X=>{const ue=d.value;return X.map(ye=>{const{nodes:H}=ue[ye];return H.map(j=>j[c.value.value])})},[h,m]=yn("",{value:M(()=>e.searchValue),postState:X=>X||""}),v=(X,ue)=>{m(X),ue.source!=="blur"&&e.onSearch&&e.onSearch(X)},{showSearch:y,searchConfig:b}=Lye(st(e,"showSearch")),$=Bye(h,u,c,M(()=>e.dropdownPrefixCls||e.prefixCls),b,st(e,"changeOnSelect")),x=Fye(u,c,l),[_,w,I]=[he([]),he([]),he([])],{maxLevel:O,levelEntities:P}=Ly(d);ct(()=>{const[X,ue]=x.value;if(!a.value||!l.value.length){[_.value,w.value,I.value]=[X,[],ue];return}const ye=Ju(X),H=d.value,{checkedKeys:j,halfCheckedKeys:q}=Mi(ye,!0,H,O.value,P.value);[_.value,w.value,I.value]=[f(j),f(q),ue]});const E=M(()=>{const X=Ju(_.value),ue=s6(X,d.value,e.showCheckedStrategy);return[...I.value,...f(ue)]}),R=Wye(E,u,c,a,st(e,"displayRender")),A=X=>{if(s(X),e.onChange){const ue=c6(X),ye=ue.map(q=>bh(q,u.value,c.value).map(se=>se.option)),H=a.value?ue:ue[0],j=a.value?ye:ye[0];e.onChange(H,j)}},N=X=>{if(m(""),!a.value)A(X);else{const ue=bs(X),ye=Ju(_.value),H=Ju(w.value),j=ye.includes(ue),q=I.value.some(ge=>bs(ge)===ue);let se=_.value,ae=I.value;if(q&&!j)ae=I.value.filter(ge=>bs(ge)!==ue);else{const ge=j?ye.filter(_e=>_e!==ue):[...ye,ue];let Se;j?{checkedKeys:Se}=Mi(ge,{checked:!1,halfCheckedKeys:H},d.value,O.value,P.value):{checkedKeys:Se}=Mi(ge,!0,d.value,O.value,P.value);const $e=s6(Se,d.value,e.showCheckedStrategy);se=f($e)}A([...ae,...se])}},F=(X,ue)=>{if(ue.type==="clear"){A([]);return}const{valueCells:ye}=ue.values[0];N(ye)},W=M(()=>e.open!==void 0?e.open:e.popupVisible),D=M(()=>e.dropdownClassName||e.popupClassName),B=M(()=>e.dropdownStyle||e.popupStyle||{}),k=M(()=>e.placement||e.popupPlacement),L=X=>{var ue,ye;(ue=e.onDropdownVisibleChange)===null||ue===void 0||ue.call(e,X),(ye=e.onPopupVisibleChange)===null||ye===void 0||ye.call(e,X)},{changeOnSelect:z,checkable:K,dropdownPrefixCls:G,loadData:Y,expandTrigger:ne,expandIcon:re,loadingIcon:J,dropdownMenuColumnStyle:te,customSlots:ee}=oa(e);Vye({options:u,fieldNames:c,values:_,halfValues:w,changeOnSelect:z,onSelect:N,checkable:K,searchOptions:$,dropdownPrefixCls:G,loadData:Y,expandTrigger:ne,expandIcon:re,loadingIcon:J,dropdownMenuColumnStyle:te,customSlots:ee});const fe=he();o({focus(){var X;(X=fe.value)===null||X===void 0||X.focus()},blur(){var X;(X=fe.value)===null||X===void 0||X.blur()},scrollTo(X){var ue;(ue=fe.value)===null||ue===void 0||ue.scrollTo(X)}});const ie=M(()=>_t(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const X=!(h.value?$.value:u.value).length,{dropdownMatchSelectWidth:ue=!1}=e,ye=h.value&&b.value.matchInputWidth||X?{}:{minWidth:"auto"};return g(i_,V(V(V({},ie.value),n),{},{ref:fe,id:i,prefixCls:e.prefixCls,dropdownMatchSelectWidth:ue,dropdownStyle:S(S({},B.value),ye),displayValues:R.value,onDisplayValuesChange:F,mode:a.value?"multiple":void 0,searchValue:h.value,onSearch:v,showSearch:y.value,OptionList:Gye,emptyOptions:X,open:W.value,dropdownClassName:D.value,placement:k.value,onDropdownVisibleChange:L,getRawInputElement:()=>{var H;return(H=r.default)===null||H===void 0?void 0:H.call(r)}}),r)}}});var Zye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const Qye=Zye;function u6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Jye(e,r,n[r])})}return e}function Jye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HO=function(t,n){var o=u6({},t,n.attrs);return g(Ot,u6({},o,{icon:Qye}),null)};HO.displayName="LeftOutlined";HO.inheritAttrs=!1;const xs=HO,vF=()=>ur()&&window.document.documentElement,mF=e=>{if(ur()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(o=>o in n.style)}return!1},e1e=(e,t)=>{if(!mF(e))return!1;const n=document.createElement("div"),o=n.style[e];return n.style[e]=t,n.style[e]!==o};function zO(e,t){return!Array.isArray(e)&&t!==void 0?e1e(e,t):mF(e)}let Lv;const t1e=()=>{if(!vF())return!1;if(Lv!==void 0)return Lv;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),Lv=e.scrollHeight===1,document.body.removeChild(e),Lv},bF=()=>{const e=ve(!1);return lt(()=>{e.value=t1e()}),e},yF=Symbol("rowContextKey"),n1e=e=>{ft(yF,e)},o1e=()=>it(yF,{gutter:M(()=>{}),wrap:M(()=>{}),supportFlexGap:M(()=>{})}),r1e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},i1e=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},a1e=(e,t)=>{const{componentCls:n,gridColumns:o}=e,r={};for(let i=o;i>=0;i--)i===0?(r[`${n}${t}-${i}`]={display:"none"},r[`${n}-push-${i}`]={insetInlineStart:"auto"},r[`${n}-pull-${i}`]={insetInlineEnd:"auto"},r[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},r[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},r[`${n}${t}-offset-${i}`]={marginInlineEnd:0},r[`${n}${t}-order-${i}`]={order:0}):(r[`${n}${t}-${i}`]={display:"block",flex:`0 0 ${i/o*100}%`,maxWidth:`${i/o*100}%`},r[`${n}${t}-push-${i}`]={insetInlineStart:`${i/o*100}%`},r[`${n}${t}-pull-${i}`]={insetInlineEnd:`${i/o*100}%`},r[`${n}${t}-offset-${i}`]={marginInlineStart:`${i/o*100}%`},r[`${n}${t}-order-${i}`]={order:i});return r},kx=(e,t)=>a1e(e,t),l1e=(e,t,n)=>({[`@media (min-width: ${t}px)`]:S({},kx(e,n))}),s1e=pt("Grid",e=>[r1e(e)]),c1e=pt("Grid",e=>{const t=nt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[i1e(t),kx(t,""),kx(t,"-xs"),Object.keys(n).map(o=>l1e(t,n[o],o)).reduce((o,r)=>S(S({},o),r),{})]}),u1e=()=>({align:rt([String,Object]),justify:rt([String,Object]),prefixCls:String,gutter:rt([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),d1e=pe({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:u1e(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("row",e),[a,l]=s1e(r);let s;const c=j_(),u=he({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),d=he({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),f=x=>M(()=>{if(typeof e[x]=="string")return e[x];if(typeof e[x]!="object")return"";for(let _=0;_<pl.length;_++){const w=pl[_];if(!d.value[w])continue;const I=e[x][w];if(I!==void 0)return I}return""}),h=f("align"),m=f("justify"),v=bF();lt(()=>{s=c.value.subscribe(x=>{d.value=x;const _=e.gutter||0;(!Array.isArray(_)&&typeof _=="object"||Array.isArray(_)&&(typeof _[0]=="object"||typeof _[1]=="object"))&&(u.value=x)})}),Ct(()=>{c.value.unsubscribe(s)});const y=M(()=>{const x=[void 0,void 0],{gutter:_=0}=e;return(Array.isArray(_)?_:[_,void 0]).forEach((I,O)=>{if(typeof I=="object")for(let P=0;P<pl.length;P++){const E=pl[P];if(u.value[E]&&I[E]!==void 0){x[O]=I[E];break}}else x[O]=I}),x});n1e({gutter:y,supportFlexGap:v,wrap:M(()=>e.wrap)});const b=M(()=>me(r.value,{[`${r.value}-no-wrap`]:e.wrap===!1,[`${r.value}-${m.value}`]:m.value,[`${r.value}-${h.value}`]:h.value,[`${r.value}-rtl`]:i.value==="rtl"},o.class,l.value)),$=M(()=>{const x=y.value,_={},w=x[0]!=null&&x[0]>0?`${x[0]/-2}px`:void 0,I=x[1]!=null&&x[1]>0?`${x[1]/-2}px`:void 0;return w&&(_.marginLeft=w,_.marginRight=w),v.value?_.rowGap=`${x[1]}px`:I&&(_.marginTop=I,_.marginBottom=I),_});return()=>{var x;return a(g("div",V(V({},o),{},{class:b.value,style:S(S({},$.value),o.style)}),[(x=n.default)===null||x===void 0?void 0:x.call(n)]))}}}),jO=d1e;function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bc.apply(this,arguments)}function f1e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,yh(e,t)}function Bx(e){return Bx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Bx(e)}function yh(e,t){return yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},yh(e,t)}function p1e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Sm(e,t,n){return p1e()?Sm=Reflect.construct.bind():Sm=function(r,i,a){var l=[null];l.push.apply(l,i);var s=Function.bind.apply(r,l),c=new s;return a&&yh(c,a.prototype),c},Sm.apply(null,arguments)}function h1e(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Fx(e){var t=typeof Map=="function"?new Map:void 0;return Fx=function(o){if(o===null||!h1e(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Sm(o,arguments,Bx(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),yh(r,o)},Fx(e)}var g1e=/%[sdj%]/g,v1e=function(){};function Hx(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function si(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=0,i=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var a=e.replace(g1e,function(l){if(l==="%%")return"%";if(r>=i)return l;switch(l){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function m1e(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Eo(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||m1e(t)&&typeof e=="string"&&!e)}function b1e(e,t,n){var o=[],r=0,i=e.length;function a(l){o.push.apply(o,l||[]),r++,r===i&&n(o)}e.forEach(function(l){t(l,a)})}function d6(e,t,n){var o=0,r=e.length;function i(a){if(a&&a.length){n(a);return}var l=o;o=o+1,l<r?t(e[l],i):n([])}i([])}function y1e(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var f6=function(e){f1e(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(Fx(Error));function S1e(e,t,n,o,r){if(t.first){var i=new Promise(function(f,h){var m=function(b){return o(b),b.length?h(new f6(b,Hx(b))):f(r)},v=y1e(e);d6(v,n,m)});return i.catch(function(f){return f}),i}var a=t.firstFields===!0?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],d=new Promise(function(f,h){var m=function(y){if(u.push.apply(u,y),c++,c===s)return o(u),u.length?h(new f6(u,Hx(u))):f(r)};l.length||(o(u),f(r)),l.forEach(function(v){var y=e[v];a.indexOf(v)!==-1?d6(y,n,m):b1e(y,n,m)})});return d.catch(function(f){return f}),d}function C1e(e){return!!(e&&e.message!==void 0)}function $1e(e,t){for(var n=e,o=0;o<t.length;o++){if(n==null)return n;n=n[t[o]]}return n}function p6(e,t){return function(n){var o;return e.fullFields?o=$1e(t,e.fullFields):o=t[n.field||e.fullField],C1e(n)?(n.field=n.field||e.fullField,n.fieldValue=o,n):{message:typeof n=="function"?n():n,fieldValue:o,field:n.field||e.fullField}}}function h6(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=bc({},e[n],o):e[n]=o}}return e}var SF=function(t,n,o,r,i,a){t.required&&(!o.hasOwnProperty(t.field)||Eo(n,a||t.type))&&r.push(si(i.messages.required,t.fullField))},x1e=function(t,n,o,r,i){(/^\s+$/.test(n)||n==="")&&r.push(si(i.messages.whitespace,t.fullField))},Nv,w1e=function(){if(Nv)return Nv;var e="[a-fA-F\\d:]",t=function(_){return _&&_.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=(`
+(?:
+(?:`+o+":){7}(?:"+o+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
+(?:`+o+":){6}(?:"+n+"|:"+o+`|:)| // 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
+(?:`+o+":){5}(?::"+n+"|(?::"+o+`){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
+(?:`+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+`){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
+(?:`+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+`){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
+(?:`+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
+(?:`+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
+(?::(?:(?::`+o+"){0,5}:"+n+"|(?::"+o+`){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(),i=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(_){return _&&_.exact?i:new RegExp("(?:"+t(_)+n+t(_)+")|(?:"+t(_)+r+t(_)+")","g")};s.v4=function(x){return x&&x.exact?a:new RegExp(""+t(x)+n+t(x),"g")},s.v6=function(x){return x&&x.exact?l:new RegExp(""+t(x)+r+t(x),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,f=s.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',$="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+h+m+v+")"+y+b;return Nv=new RegExp("(?:^"+$+"$)","i"),Nv},g6={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},ip={integer:function(t){return ip.number(t)&&parseInt(t,10)===t},float:function(t){return ip.number(t)&&!ip.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"&&!ip.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(g6.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(w1e())},hex:function(t){return typeof t=="string"&&!!t.match(g6.hex)}},_1e=function(t,n,o,r,i){if(t.required&&n===void 0){SF(t,n,o,r,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?ip[l](n)||r.push(si(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(si(i.messages.types[l],t.fullField,t.type))},O1e=function(t,n,o,r,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",h=typeof n=="string",m=Array.isArray(n);if(f?d="number":h?d="string":m&&(d="array"),!d)return!1;m&&(u=n.length),h&&(u=n.replace(c,"_").length),a?u!==t.len&&r.push(si(i.messages[d].len,t.fullField,t.len)):l&&!s&&u<t.min?r.push(si(i.messages[d].min,t.fullField,t.min)):s&&!l&&u>t.max?r.push(si(i.messages[d].max,t.fullField,t.max)):l&&s&&(u<t.min||u>t.max)&&r.push(si(i.messages[d].range,t.fullField,t.min,t.max))},Mu="enum",I1e=function(t,n,o,r,i){t[Mu]=Array.isArray(t[Mu])?t[Mu]:[],t[Mu].indexOf(n)===-1&&r.push(si(i.messages[Mu],t.fullField,t[Mu].join(", ")))},P1e=function(t,n,o,r,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(si(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||r.push(si(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},an={required:SF,whitespace:x1e,type:_1e,range:O1e,enum:I1e,pattern:P1e},T1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n,"string")&&!t.required)return o();an.required(t,n,r,a,i,"string"),Eo(n,"string")||(an.type(t,n,r,a,i),an.range(t,n,r,a,i),an.pattern(t,n,r,a,i),t.whitespace===!0&&an.whitespace(t,n,r,a,i))}o(a)},E1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&an.type(t,n,r,a,i)}o(a)},A1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&(an.type(t,n,r,a,i),an.range(t,n,r,a,i))}o(a)},M1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&an.type(t,n,r,a,i)}o(a)},R1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),Eo(n)||an.type(t,n,r,a,i)}o(a)},D1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&(an.type(t,n,r,a,i),an.range(t,n,r,a,i))}o(a)},L1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&(an.type(t,n,r,a,i),an.range(t,n,r,a,i))}o(a)},N1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return o();an.required(t,n,r,a,i,"array"),n!=null&&(an.type(t,n,r,a,i),an.range(t,n,r,a,i))}o(a)},k1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&an.type(t,n,r,a,i)}o(a)},B1e="enum",F1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i),n!==void 0&&an[B1e](t,n,r,a,i)}o(a)},H1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n,"string")&&!t.required)return o();an.required(t,n,r,a,i),Eo(n,"string")||an.pattern(t,n,r,a,i)}o(a)},z1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n,"date")&&!t.required)return o();if(an.required(t,n,r,a,i),!Eo(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),an.type(t,s,r,a,i),s&&an.range(t,s.getTime(),r,a,i)}}o(a)},j1e=function(t,n,o,r,i){var a=[],l=Array.isArray(n)?"array":typeof n;an.required(t,n,r,a,i,l),o(a)},_C=function(t,n,o,r,i){var a=t.type,l=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(Eo(n,a)&&!t.required)return o();an.required(t,n,r,l,i,a),Eo(n,a)||an.type(t,n,r,l,i)}o(l)},W1e=function(t,n,o,r,i){var a=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Eo(n)&&!t.required)return o();an.required(t,n,r,a,i)}o(a)},Ip={string:T1e,method:E1e,number:A1e,boolean:M1e,regexp:R1e,integer:D1e,float:L1e,array:N1e,object:k1e,enum:F1e,pattern:H1e,date:z1e,url:_C,hex:_C,email:_C,required:j1e,any:W1e};function zx(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var jx=zx(),Jh=function(){function e(n){this.rules=null,this._messages=jx,this.define(n)}var t=e.prototype;return t.define=function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(i){var a=o[i];r.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(o){return o&&(this._messages=h6(zx(),o)),this._messages},t.validate=function(o,r,i){var a=this;r===void 0&&(r={}),i===void 0&&(i=function(){});var l=o,s=r,c=i;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,l),Promise.resolve(l);function u(v){var y=[],b={};function $(_){if(Array.isArray(_)){var w;y=(w=y).concat.apply(w,_)}else y.push(_)}for(var x=0;x<v.length;x++)$(v[x]);y.length?(b=Hx(y),c(y,b)):c(null,l)}if(s.messages){var d=this.messages();d===jx&&(d=zx()),h6(d,s.messages),s.messages=d}else s.messages=this.messages();var f={},h=s.keys||Object.keys(this.rules);h.forEach(function(v){var y=a.rules[v],b=l[v];y.forEach(function($){var x=$;typeof x.transform=="function"&&(l===o&&(l=bc({},l)),b=l[v]=x.transform(b)),typeof x=="function"?x={validator:x}:x=bc({},x),x.validator=a.getValidationMethod(x),x.validator&&(x.field=v,x.fullField=x.fullField||v,x.type=a.getType(x),f[v]=f[v]||[],f[v].push({rule:x,value:b,source:l,field:v}))})});var m={};return S1e(f,s,function(v,y){var b=v.rule,$=(b.type==="object"||b.type==="array")&&(typeof b.fields=="object"||typeof b.defaultField=="object");$=$&&(b.required||!b.required&&v.value),b.field=v.field;function x(I,O){return bc({},O,{fullField:b.fullField+"."+I,fullFields:b.fullFields?[].concat(b.fullFields,[I]):[I]})}function _(I){I===void 0&&(I=[]);var O=Array.isArray(I)?I:[I];!s.suppressWarning&&O.length&&e.warning("async-validator:",O),O.length&&b.message!==void 0&&(O=[].concat(b.message));var P=O.map(p6(b,l));if(s.first&&P.length)return m[b.field]=1,y(P);if(!$)y(P);else{if(b.required&&!v.value)return b.message!==void 0?P=[].concat(b.message).map(p6(b,l)):s.error&&(P=[s.error(b,si(s.messages.required,b.field))]),y(P);var E={};b.defaultField&&Object.keys(v.value).map(function(N){E[N]=b.defaultField}),E=bc({},E,v.rule.fields);var R={};Object.keys(E).forEach(function(N){var F=E[N],W=Array.isArray(F)?F:[F];R[N]=W.map(x.bind(null,N))});var A=new e(R);A.messages(s.messages),v.rule.options&&(v.rule.options.messages=s.messages,v.rule.options.error=s.error),A.validate(v.value,v.rule.options||s,function(N){var F=[];P&&P.length&&F.push.apply(F,P),N&&N.length&&F.push.apply(F,N),y(F.length?F:null)})}}var w;if(b.asyncValidator)w=b.asyncValidator(b,v.value,_,v.source,s);else if(b.validator){try{w=b.validator(b,v.value,_,v.source,s)}catch(I){console.error==null||console.error(I),s.suppressValidatorError||setTimeout(function(){throw I},0),_(I.message)}w===!0?_():w===!1?_(typeof b.message=="function"?b.message(b.fullField||b.field):b.message||(b.fullField||b.field)+" fails"):w instanceof Array?_(w):w instanceof Error&&_(w.message)}w&&w.then&&w.then(function(){return _()},function(I){return _(I)})},function(v){u(v)},l)},t.getType=function(o){if(o.type===void 0&&o.pattern instanceof RegExp&&(o.type="pattern"),typeof o.validator!="function"&&o.type&&!Ip.hasOwnProperty(o.type))throw new Error(si("Unknown rule type %s",o.type));return o.type||"string"},t.getValidationMethod=function(o){if(typeof o.validator=="function")return o.validator;var r=Object.keys(o),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?Ip.required:Ip[this.getType(o)]||void 0},e}();Jh.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ip[t]=n};Jh.warning=v1e;Jh.messages=jx;Jh.validators=Ip;function ys(e){return e==null?[]:Array.isArray(e)?e:[e]}function CF(e,t){let n=e;for(let o=0;o<t.length;o+=1){if(n==null)return;n=n[t[o]]}return n}function $F(e,t,n,o){if(!t.length)return n;const[r,...i]=t;let a;return!e&&typeof r=="number"?a=[]:Array.isArray(e)?a=[...e]:a=S({},e),o&&n===void 0&&i.length===1?delete a[r][i[0]]:a[r]=$F(a[r],i,n,o),a}function V1e(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&o&&n===void 0&&!CF(e,t.slice(0,-1))?e:$F(e,t,n,o)}function Wx(e){return ys(e)}function K1e(e,t){return CF(e,t)}function U1e(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return V1e(e,t,n,o)}function G1e(e,t){return e&&e.some(n=>X1e(n,t))}function v6(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function xF(e,t){const n=Array.isArray(e)?[...e]:S({},e);return t&&Object.keys(t).forEach(o=>{const r=n[o],i=t[o],a=v6(r)&&v6(i);n[o]=a?xF(r,i||{}):i}),n}function Y1e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.reduce((r,i)=>xF(r,i),e)}function m6(e,t){let n={};return t.forEach(o=>{const r=K1e(e,o);n=U1e(n,o,r)}),n}function X1e(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,o)=>t[o]===n)}const ni="'${name}' is not a valid ${type}",Ny={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ni,method:ni,array:ni,object:ni,number:ni,date:ni,boolean:ni,integer:ni,float:ni,regexp:ni,email:ni,url:ni,hex:ni},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var ky=function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(u){try{c(o.next(u))}catch(d){a(d)}}function s(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(l,s)}c((o=o.apply(e,t||[])).next())})};const q1e=Jh;function Z1e(e,t){return e.replace(/\$\{\w+\}/g,n=>{const o=n.slice(2,-1);return t[o]})}function Vx(e,t,n,o,r){return ky(this,void 0,void 0,function*(){const i=S({},n);delete i.ruleIndex,delete i.trigger;let a=null;i&&i.type==="array"&&i.defaultField&&(a=i.defaultField,delete i.defaultField);const l=new q1e({[e]:[i]}),s=Y1e({},Ny,o.validateMessages);l.messages(s);let c=[];try{yield Promise.resolve(l.validate({[e]:t},S({},o)))}catch(f){f.errors?c=f.errors.map((h,m)=>{let{message:v}=h;return Jn(v)?ko(v,{key:`error_${m}`}):v}):(console.error(f),c=[s.default()])}if(!c.length&&a)return(yield Promise.all(t.map((h,m)=>Vx(`${e}.${m}`,h,a,o,r)))).reduce((h,m)=>[...h,...m],[]);const u=S(S(S({},n),{name:e,enum:(n.enum||[]).join(", ")}),r);return c.map(f=>typeof f=="string"?Z1e(f,u):f)})}function wF(e,t,n,o,r,i){const a=e.join("."),l=n.map((c,u)=>{const d=c.validator,f=S(S({},c),{ruleIndex:u});return d&&(f.validator=(h,m,v)=>{let y=!1;const $=d(h,m,function(){for(var x=arguments.length,_=new Array(x),w=0;w<x;w++)_[w]=arguments[w];Promise.resolve().then(()=>{y||v(..._)})});y=$&&typeof $.then=="function"&&typeof $.catch=="function",y&&$.then(()=>{v()}).catch(x=>{v(x||" ")})}),f}).sort((c,u)=>{let{warningOnly:d,ruleIndex:f}=c,{warningOnly:h,ruleIndex:m}=u;return!!d==!!h?f-m:d?1:-1});let s;if(r===!0)s=new Promise((c,u)=>ky(this,void 0,void 0,function*(){for(let d=0;d<l.length;d+=1){const f=l[d],h=yield Vx(a,t,f,o,i);if(h.length){u([{errors:h,rule:f}]);return}}c([])}));else{const c=l.map(u=>Vx(a,t,u,o,i).then(d=>({errors:d,rule:u})));s=(r?J1e(c):Q1e(c)).then(u=>Promise.reject(u))}return s.catch(c=>c),s}function Q1e(e){return ky(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function J1e(e){return ky(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(o=>{o.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})})}const _F=Symbol("formContextKey"),OF=e=>{ft(_F,e)},WO=()=>it(_F,{name:M(()=>{}),labelAlign:M(()=>"right"),vertical:M(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:M(()=>{}),rules:M(()=>{}),colon:M(()=>{}),labelWrap:M(()=>{}),labelCol:M(()=>{}),requiredMark:M(()=>!1),validateTrigger:M(()=>{}),onValidate:()=>{},validateMessages:M(()=>Ny)}),IF=Symbol("formItemPrefixContextKey"),eSe=e=>{ft(IF,e)},tSe=()=>it(IF,{prefixCls:M(()=>"")});function nSe(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const oSe=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),rSe=["xs","sm","md","lg","xl","xxl"],By=pe({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:oSe(),setup(e,t){let{slots:n,attrs:o}=t;const{gutter:r,supportFlexGap:i,wrap:a}=o1e(),{prefixCls:l,direction:s}=Ve("col",e),[c,u]=c1e(l),d=M(()=>{const{span:h,order:m,offset:v,push:y,pull:b}=e,$=l.value;let x={};return rSe.forEach(_=>{let w={};const I=e[_];typeof I=="number"?w.span=I:typeof I=="object"&&(w=I||{}),x=S(S({},x),{[`${$}-${_}-${w.span}`]:w.span!==void 0,[`${$}-${_}-order-${w.order}`]:w.order||w.order===0,[`${$}-${_}-offset-${w.offset}`]:w.offset||w.offset===0,[`${$}-${_}-push-${w.push}`]:w.push||w.push===0,[`${$}-${_}-pull-${w.pull}`]:w.pull||w.pull===0,[`${$}-rtl`]:s.value==="rtl"})}),me($,{[`${$}-${h}`]:h!==void 0,[`${$}-order-${m}`]:m,[`${$}-offset-${v}`]:v,[`${$}-push-${y}`]:y,[`${$}-pull-${b}`]:b},x,o.class,u.value)}),f=M(()=>{const{flex:h}=e,m=r.value,v={};if(m&&m[0]>0){const y=`${m[0]/2}px`;v.paddingLeft=y,v.paddingRight=y}if(m&&m[1]>0&&!i.value){const y=`${m[1]/2}px`;v.paddingTop=y,v.paddingBottom=y}return h&&(v.flex=nSe(h),a.value===!1&&!v.minWidth&&(v.minWidth=0)),v});return()=>{var h;return c(g("div",V(V({},o),{},{class:d.value,style:[f.value,o.style]}),[(h=n.default)===null||h===void 0?void 0:h.call(n)]))}}});var iSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const aSe=iSe;function b6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lSe(e,r,n[r])})}return e}function lSe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VO=function(t,n){var o=b6({},t,n.attrs);return g(Ot,b6({},o,{icon:aSe}),null)};VO.displayName="QuestionCircleOutlined";VO.inheritAttrs=!1;const PF=VO,KO=(e,t)=>{let{slots:n,emit:o,attrs:r}=t;var i,a,l,s,c;const{prefixCls:u,htmlFor:d,labelCol:f,labelAlign:h,colon:m,required:v,requiredMark:y}=S(S({},e),r),[b]=Wi("Form"),$=(i=e.label)!==null&&i!==void 0?i:(a=n.label)===null||a===void 0?void 0:a.call(n);if(!$)return null;const{vertical:x,labelAlign:_,labelCol:w,labelWrap:I,colon:O}=WO(),P=f||(w==null?void 0:w.value)||{},E=h||(_==null?void 0:_.value),R=`${u}-item-label`,A=me(R,E==="left"&&`${R}-left`,P.class,{[`${R}-wrap`]:!!I.value});let N=$;const F=m===!0||(O==null?void 0:O.value)!==!1&&m!==!1;if(F&&!x.value&&typeof $=="string"&&$.trim()!==""&&(N=$.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const B=g("span",{class:`${u}-item-tooltip`},[g(Br,{title:e.tooltip},{default:()=>[g(PF,null,null)]})]);N=g(Je,null,[N,n.tooltip?(l=n.tooltip)===null||l===void 0?void 0:l.call(n,{class:`${u}-item-tooltip`}):B])}y==="optional"&&!v&&(N=g(Je,null,[N,g("span",{class:`${u}-item-optional`},[((s=b.value)===null||s===void 0?void 0:s.optional)||((c=cr.Form)===null||c===void 0?void 0:c.optional)])]));const D=me({[`${u}-item-required`]:v,[`${u}-item-required-mark-optional`]:y==="optional",[`${u}-item-no-colon`]:!F});return g(By,V(V({},P),{},{class:A}),{default:()=>[g("label",{for:d,class:D,title:typeof $=="string"?$:"",onClick:B=>o("click",B)},[N])]})};KO.displayName="FormItemLabel";KO.inheritAttrs=!1;const sSe=KO,cSe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,o=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[o]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},
+ opacity ${e.motionDurationSlow} ${e.motionEaseInOut},
+ transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${o}-appear, &${o}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${o}-leave-active`]:{transform:"translateY(-5px)"}}}}},uSe=cSe,dSe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),y6=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},fSe=e=>{const{componentCls:t}=e;return{[e.componentCls]:S(S(S({},vt(e)),dSe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":S({},y6(e,e.controlHeightSM)),"&-large":S({},y6(e,e.controlHeightLG))})}},pSe=e=>{const{formItemCls:t,iconCls:n,componentCls:o,rootPrefixCls:r}=e;return{[t]:S(S({},vt(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
+ &-hidden.${r}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${o}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${o}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:A_,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},hSe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:o}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${o}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},gSe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label,
+ > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Ku=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),vSe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:Ku(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label,
+ ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},mSe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:o}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,
+ .${o}-col-24${n}-label,
+ .${o}-col-xl-24${n}-label`]:Ku(e),[`@media (max-width: ${e.screenXSMax}px)`]:[vSe(e),{[t]:{[`.${o}-col-xs-24${n}-label`]:Ku(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${o}-col-sm-24${n}-label`]:Ku(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${o}-col-md-24${n}-label`]:Ku(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${o}-col-lg-24${n}-label`]:Ku(e)}}}},UO=pt("Form",(e,t)=>{let{rootPrefixCls:n}=t;const o=nt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[fSe(o),pSe(o),uSe(o),hSe(o),gSe(o),mSe(o),Kh(o),A_]}),bSe=pe({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:o,status:r}=tSe(),i=M(()=>`${o.value}-item-explain`),a=M(()=>!!(e.errors&&e.errors.length)),l=he(r.value),[,s]=UO(o);return Ie([a,r],()=>{a.value&&(l.value=r.value)}),()=>{var c,u;const d=Uh(`${o.value}-show-help-item`),f=ny(`${o.value}-show-help-item`,d);return f.role="alert",f.class=[s.value,i.value,n.class,`${o.value}-show-help`],g(so,V(V({},Hi(`${o.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Ln(g(Lb,V(V({},f),{},{tag:"div"}),{default:()=>[(u=e.errors)===null||u===void 0?void 0:u.map((h,m)=>g("div",{key:m,class:l.value?`${i.value}-${l.value}`:""},[h]))]}),[[Bo,!!(!((c=e.errors)===null||c===void 0)&&c.length)]])]})}}}),ySe=pe({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const o=WO(),{wrapperCol:r}=o,i=S({},o);return delete i.labelCol,delete i.wrapperCol,OF(i),eSe({prefixCls:M(()=>e.prefixCls),status:M(()=>e.status)}),()=>{var a,l,s;const{prefixCls:c,wrapperCol:u,marginBottom:d,onErrorVisibleChanged:f,help:h=(a=n.help)===null||a===void 0?void 0:a.call(n),errors:m=_n((l=n.errors)===null||l===void 0?void 0:l.call(n)),extra:v=(s=n.extra)===null||s===void 0?void 0:s.call(n)}=e,y=`${c}-item`,b=u||(r==null?void 0:r.value)||{},$=me(`${y}-control`,b.class);return g(By,V(V({},b),{},{class:$}),{default:()=>{var x;return g(Je,null,[g("div",{class:`${y}-control-input`},[g("div",{class:`${y}-control-input-content`},[(x=n.default)===null||x===void 0?void 0:x.call(n)])]),d!==null||m.length?g("div",{style:{display:"flex",flexWrap:"nowrap"}},[g(bSe,{errors:m,help:h,class:`${y}-explain-connected`,onErrorVisibleChanged:f},null),!!d&&g("div",{style:{width:0,height:`${d}px`}},null)]):null,v?g("div",{class:`${y}-extra`},[v]):null])}})}}}),SSe=ySe;function CSe(e){const t=ve(e.value.slice());let n=null;return ct(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}Go("success","warning","error","validating","");const $Se={success:Tl,warning:El,error:Kr,validating:di};function OC(e,t,n){let o=e;const r=t;let i=0;try{for(let a=r.length;i<a-1&&!(!o&&!n);++i){const l=r[i];if(l in o)o=o[l];else{if(n)throw Error("please transfer a valid name path to form item!");break}}if(n&&!o)throw Error("please transfer a valid name path to form item!")}catch{console.error("please transfer a valid name path to form item!")}return{o,k:r[i],v:o?o[r[i]]:void 0}}const xSe=()=>({htmlFor:String,prefixCls:String,label:Z.any,help:Z.any,extra:Z.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:Z.oneOf(Go("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let wSe=0;const _Se="form_item",TF=pe({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:xSe(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:r}=t;e.prop;const i=`form-item-${++wSe}`,{prefixCls:a}=Ve("form",e),[l,s]=UO(a),c=ve(),u=WO(),d=M(()=>e.name||e.prop),f=ve([]),h=ve(!1),m=ve(),v=M(()=>{const J=d.value;return Wx(J)}),y=M(()=>{if(v.value.length){const J=u.name.value,te=v.value.join("_");return J?`${J}_${te}`:`${_Se}_${te}`}else return}),b=()=>{const J=u.model.value;if(!(!J||!d.value))return OC(J,v.value,!0).v},$=M(()=>b()),x=ve(fm($.value)),_=M(()=>{let J=e.validateTrigger!==void 0?e.validateTrigger:u.validateTrigger.value;return J=J===void 0?"change":J,ys(J)}),w=M(()=>{let J=u.rules.value;const te=e.rules,ee=e.required!==void 0?{required:!!e.required,trigger:_.value}:[],fe=OC(J,v.value);J=J?fe.o[fe.k]||fe.v:[];const ie=[].concat(te||J||[]);return Sfe(ie,X=>X.required)?ie:ie.concat(ee)}),I=M(()=>{const J=w.value;let te=!1;return J&&J.length&&J.every(ee=>ee.required?(te=!0,!1):!0),te||e.required}),O=ve();ct(()=>{O.value=e.validateStatus});const P=M(()=>{let J={};return typeof e.label=="string"?J.label=e.label:e.name&&(J.label=String(e.name)),e.messageVariables&&(J=S(S({},J),e.messageVariables)),J}),E=J=>{if(v.value.length===0)return;const{validateFirst:te=!1}=e,{triggerName:ee}=J||{};let fe=w.value;if(ee&&(fe=fe.filter(X=>{const{trigger:ue}=X;return!ue&&!_.value.length?!0:ys(ue||_.value).includes(ee)})),!fe.length)return Promise.resolve();const ie=wF(v.value,$.value,fe,S({validateMessages:u.validateMessages.value},J),te,P.value);return O.value="validating",f.value=[],ie.catch(X=>X).then(function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(O.value==="validating"){const ue=X.filter(ye=>ye&&ye.errors.length);O.value=ue.length?"error":"success",f.value=ue.map(ye=>ye.errors),u.onValidate(d.value,!f.value.length,f.value.length?$t(f.value[0]):null)}}),ie},R=()=>{E({triggerName:"blur"})},A=()=>{if(h.value){h.value=!1;return}E({triggerName:"change"})},N=()=>{O.value=e.validateStatus,h.value=!1,f.value=[]},F=()=>{var J;O.value=e.validateStatus,h.value=!0,f.value=[];const te=u.model.value||{},ee=$.value,fe=OC(te,v.value,!0);Array.isArray(ee)?fe.o[fe.k]=[].concat((J=x.value)!==null&&J!==void 0?J:[]):fe.o[fe.k]=x.value,wt(()=>{h.value=!1})},W=M(()=>e.htmlFor===void 0?y.value:e.htmlFor),D=()=>{const J=W.value;if(!J||!m.value)return;const te=m.value.$el.querySelector(`[id="${J}"]`);te&&te.focus&&te.focus()};r({onFieldBlur:R,onFieldChange:A,clearValidate:N,resetField:F}),Pce({id:y,onFieldBlur:()=>{e.autoLink&&R()},onFieldChange:()=>{e.autoLink&&A()},clearValidate:N},M(()=>!!(e.autoLink&&u.model.value&&d.value)));let B=!1;Ie(d,J=>{J?B||(B=!0,u.addField(i,{fieldValue:$,fieldId:y,fieldName:d,resetField:F,clearValidate:N,namePath:v,validateRules:E,rules:w})):(B=!1,u.removeField(i))},{immediate:!0}),Ct(()=>{u.removeField(i)});const k=CSe(f),L=M(()=>e.validateStatus!==void 0?e.validateStatus:k.value.length?"error":O.value),z=M(()=>({[`${a.value}-item`]:!0,[s.value]:!0,[`${a.value}-item-has-feedback`]:L.value&&e.hasFeedback,[`${a.value}-item-has-success`]:L.value==="success",[`${a.value}-item-has-warning`]:L.value==="warning",[`${a.value}-item-has-error`]:L.value==="error",[`${a.value}-item-is-validating`]:L.value==="validating",[`${a.value}-item-hidden`]:e.hidden})),K=St({});To.useProvide(K),ct(()=>{let J;if(e.hasFeedback){const te=L.value&&$Se[L.value];J=te?g("span",{class:me(`${a.value}-item-feedback-icon`,`${a.value}-item-feedback-icon-${L.value}`)},[g(te,null,null)]):null}S(K,{status:L.value,hasFeedback:e.hasFeedback,feedbackIcon:J,isFormItemInput:!0})});const G=ve(null),Y=ve(!1),ne=()=>{if(c.value){const J=getComputedStyle(c.value);G.value=parseInt(J.marginBottom,10)}};lt(()=>{Ie(Y,()=>{Y.value&&ne()},{flush:"post",immediate:!0})});const re=J=>{J||(G.value=null)};return()=>{var J,te;if(e.noStyle)return(J=n.default)===null||J===void 0?void 0:J.call(n);const ee=(te=e.help)!==null&&te!==void 0?te:n.help?_n(n.help()):null,fe=!!(ee!=null&&Array.isArray(ee)&&ee.length||k.value.length);return Y.value=fe,l(g("div",{class:[z.value,fe?`${a.value}-item-with-help`:"",o.class],ref:c},[g(jO,V(V({},o),{},{class:`${a.value}-row`,key:"row"}),{default:()=>{var ie,X;return g(Je,null,[g(sSe,V(V({},e),{},{htmlFor:W.value,required:I.value,requiredMark:u.requiredMark.value,prefixCls:a.value,onClick:D,label:e.label}),{label:n.label,tooltip:n.tooltip}),g(SSe,V(V({},e),{},{errors:ee!=null?ys(ee):k.value,marginBottom:G.value,prefixCls:a.value,status:L.value,ref:m,help:ee,extra:(ie=e.extra)!==null&&ie!==void 0?ie:(X=n.extra)===null||X===void 0?void 0:X.call(n),onErrorVisibleChanged:re}),{default:n.default})])}}),!!G.value&&g("div",{class:`${a.value}-margin-offset`,style:{marginBottom:`-${G.value}px`}},null)]))}}});function EF(e){let t=!1,n=e.length;const o=[];return e.length?new Promise((r,i)=>{e.forEach((a,l)=>{a.catch(s=>(t=!0,s)).then(s=>{n-=1,o[l]=s,!(n>0)&&(t&&i(o),r(o))})})}):Promise.resolve([])}function S6(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function C6(e){return e==null?[]:Array.isArray(e)?e:[e]}function IC(e,t,n){let o=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const r=t.split(".");let i=0;for(let a=r.length;i<a-1&&!(!o&&!n);++i){const l=r[i];if(l in o)o=o[l];else{if(n)throw new Error("please transfer a valid name path to validate!");break}}return{o,k:r[i],v:o?o[r[i]]:null,isValid:o&&r[i]in o}}function OSe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:he({}),n=arguments.length>2?arguments[2]:void 0;const o=fm(It(e)),r=St({}),i=ve([]),a=x=>{S(It(e),S(S({},fm(o)),x)),wt(()=>{Object.keys(r).forEach(_=>{r[_]={autoLink:!1,required:S6(It(t)[_])}})})},l=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_=arguments.length>1?arguments[1]:void 0;return _.length?x.filter(w=>{const I=C6(w.trigger||"change");return _fe(I,_).length}):x};let s=null;const c=function(x){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=arguments.length>2?arguments[2]:void 0;const I=[],O={};for(let R=0;R<x.length;R++){const A=x[R],N=IC(It(e),A,w);if(!N.isValid)continue;O[A]=N.v;const F=l(It(t)[A],C6(_&&_.trigger));F.length&&I.push(u(A,N.v,F,_||{}).then(()=>({name:A,errors:[],warnings:[]})).catch(W=>{const D=[],B=[];return W.forEach(k=>{let{rule:{warningOnly:L},errors:z}=k;L?B.push(...z):D.push(...z)}),D.length?Promise.reject({name:A,errors:D,warnings:B}):{name:A,errors:D,warnings:B}}))}const P=EF(I);s=P;const E=P.then(()=>s===P?Promise.resolve(O):Promise.reject([])).catch(R=>{const A=R.filter(N=>N&&N.errors.length);return Promise.reject({values:O,errorFields:A,outOfDate:s!==P})});return E.catch(R=>R),E},u=function(x,_,w){let I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const O=wF([x],_,w,S({validateMessages:Ny},I),!!I.validateFirst);return r[x]?(r[x].validateStatus="validating",O.catch(P=>P).then(function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var E;if(r[x].validateStatus==="validating"){const R=P.filter(A=>A&&A.errors.length);r[x].validateStatus=R.length?"error":"success",r[x].help=R.length?R.map(A=>A.errors):null,(E=n==null?void 0:n.onValidate)===null||E===void 0||E.call(n,x,!R.length,R.length?$t(r[x].help[0]):null)}}),O):O.catch(P=>P)},d=(x,_)=>{let w=[],I=!0;x?Array.isArray(x)?w=x:w=[x]:(I=!1,w=i.value);const O=c(w,_||{},I);return O.catch(P=>P),O},f=x=>{let _=[];x?Array.isArray(x)?_=x:_=[x]:_=i.value,_.forEach(w=>{r[w]&&S(r[w],{validateStatus:"",help:null})})},h=x=>{const _={autoLink:!1},w=[],I=Array.isArray(x)?x:[x];for(let O=0;O<I.length;O++){const P=I[O];(P==null?void 0:P.validateStatus)==="error"&&(_.validateStatus="error",P.help&&w.push(P.help)),_.required=_.required||(P==null?void 0:P.required)}return _.help=w,_};let m=o,v=!0;const y=x=>{const _=[];i.value.forEach(w=>{const I=IC(x,w,!1),O=IC(m,w,!1);(v&&(n==null?void 0:n.immediate)&&I.isValid||!e_(I.v,O.v))&&_.push(w)}),d(_,{trigger:"change"}),v=!1,m=fm($t(x))},b=n==null?void 0:n.debounce;let $=!0;return Ie(t,()=>{i.value=t?Object.keys(It(t)):[],!$&&n&&n.validateOnRuleChange&&d(),$=!1},{deep:!0,immediate:!0}),Ie(i,()=>{const x={};i.value.forEach(_=>{x[_]=S({},r[_],{autoLink:!1,required:S6(It(t)[_])}),delete r[_]});for(const _ in r)Object.prototype.hasOwnProperty.call(r,_)&&delete r[_];S(r,x)},{immediate:!0}),Ie(e,b&&b.wait?T_(y,b.wait,Ffe(b,["wait"])):y,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:o,validateInfos:r,resetFields:a,validate:d,validateField:u,mergeValidateInfo:h,clearValidate:f}}const ISe=()=>({layout:Z.oneOf(Go("horizontal","inline","vertical")),labelCol:qe(),wrapperCol:qe(),colon:De(),labelAlign:Qe(),labelWrap:De(),prefixCls:String,requiredMark:rt([String,Boolean]),hideRequiredMark:De(),model:Z.object,rules:qe(),validateMessages:qe(),validateOnRuleChange:De(),scrollToFirstError:cn(),onSubmit:Oe(),name:String,validateTrigger:rt([String,Array]),size:Qe(),disabled:De(),onValuesChange:Oe(),onFieldsChange:Oe(),onFinish:Oe(),onFinishFailed:Oe(),onValidate:Oe()});function PSe(e,t){return e_(ys(e),ys(t))}const TSe=pe({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:bt(ISe(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:TF,useForm:OSe,setup(e,t){let{emit:n,slots:o,expose:r,attrs:i}=t;const{prefixCls:a,direction:l,form:s,size:c,disabled:u}=Ve("form",e),d=M(()=>e.requiredMark===""||e.requiredMark),f=M(()=>{var k;return d.value!==void 0?d.value:s&&((k=s.value)===null||k===void 0?void 0:k.requiredMark)!==void 0?s.value.requiredMark:!e.hideRequiredMark});M7(c),XN(u);const h=M(()=>{var k,L;return(k=e.colon)!==null&&k!==void 0?k:(L=s.value)===null||L===void 0?void 0:L.colon}),{validateMessages:m}=Xee(),v=M(()=>S(S(S({},Ny),m.value),e.validateMessages)),[y,b]=UO(a),$=M(()=>me(a.value,{[`${a.value}-${e.layout}`]:!0,[`${a.value}-hide-required-mark`]:f.value===!1,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-${c.value}`]:c.value},b.value)),x=he(),_={},w=(k,L)=>{_[k]=L},I=k=>{delete _[k]},O=k=>{const L=!!k,z=L?ys(k).map(Wx):[];return L?Object.values(_).filter(K=>z.findIndex(G=>PSe(G,K.fieldName.value))>-1):Object.values(_)},P=k=>{if(!e.model){Sn();return}O(k).forEach(L=>{L.resetField()})},E=k=>{O(k).forEach(L=>{L.clearValidate()})},R=k=>{const{scrollToFirstError:L}=e;if(n("finishFailed",k),L&&k.errorFields.length){let z={};typeof L=="object"&&(z=L),N(k.errorFields[0].name,z)}},A=function(){return D(...arguments)},N=function(k){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const z=O(k?[k]:void 0);if(z.length){const K=z[0].fieldId.value,G=K?document.getElementById(K):null;G&&L7(G,S({scrollMode:"if-needed",block:"nearest"},L))}},F=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(k===!0){const L=[];return Object.values(_).forEach(z=>{let{namePath:K}=z;L.push(K.value)}),m6(e.model,L)}else return m6(e.model,k)},W=(k,L)=>{if(Sn(),!e.model)return Sn(),Promise.reject("Form `model` is required for validateFields to work.");const z=!!k,K=z?ys(k).map(Wx):[],G=[];Object.values(_).forEach(re=>{var J;if(z||K.push(re.namePath.value),!(!((J=re.rules)===null||J===void 0)&&J.value.length))return;const te=re.namePath.value;if(!z||G1e(K,te)){const ee=re.validateRules(S({validateMessages:v.value},L));G.push(ee.then(()=>({name:te,errors:[],warnings:[]})).catch(fe=>{const ie=[],X=[];return fe.forEach(ue=>{let{rule:{warningOnly:ye},errors:H}=ue;ye?X.push(...H):ie.push(...H)}),ie.length?Promise.reject({name:te,errors:ie,warnings:X}):{name:te,errors:ie,warnings:X}}))}});const Y=EF(G);x.value=Y;const ne=Y.then(()=>x.value===Y?Promise.resolve(F(K)):Promise.reject([])).catch(re=>{const J=re.filter(te=>te&&te.errors.length);return Promise.reject({values:F(K),errorFields:J,outOfDate:x.value!==Y})});return ne.catch(re=>re),ne},D=function(){return W(...arguments)},B=k=>{k.preventDefault(),k.stopPropagation(),n("submit",k),e.model&&W().then(z=>{n("finish",z)}).catch(z=>{R(z)})};return r({resetFields:P,clearValidate:E,validateFields:W,getFieldsValue:F,validate:A,scrollToField:N}),OF({model:M(()=>e.model),name:M(()=>e.name),labelAlign:M(()=>e.labelAlign),labelCol:M(()=>e.labelCol),labelWrap:M(()=>e.labelWrap),wrapperCol:M(()=>e.wrapperCol),vertical:M(()=>e.layout==="vertical"),colon:h,requiredMark:f,validateTrigger:M(()=>e.validateTrigger),rules:M(()=>e.rules),addField:w,removeField:I,onValidate:(k,L,z)=>{n("validate",k,L,z)},validateMessages:v}),Ie(()=>e.rules,()=>{e.validateOnRuleChange&&W()}),()=>{var k;return y(g("form",V(V({},i),{},{onSubmit:B,class:[$.value,i.class]}),[(k=o.default)===null||k===void 0?void 0:k.call(o)]))}}}),us=TSe;us.useInjectFormItemContext=co;us.ItemRest=y0;us.install=function(e){return e.component(us.name,us),e.component(us.Item.name,us.Item),e.component(y0.name,y0),e};const ESe=new Pt("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),ASe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:S(S({},vt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:S(S({},vt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:S(S({},vt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:S({},yl(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[`
+ ${n}:not(${n}-disabled),
+ ${t}:not(${t}-disabled)
+ `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:ESe,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[`
+ ${n}-checked:not(${n}-disabled),
+ ${t}-checked:not(${t}-disabled)
+ `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Fy(e,t){const n=nt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[ASe(n)]}const AF=pt("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[Fy(n,e)]}),MSe=e=>{const{prefixCls:t,componentCls:n,antCls:o}=e,r=`${n}-menu-item`,i=`
+ &${r}-expand ${r}-expand-icon,
+ ${r}-loading-icon
+ `,a=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[Fy(`${t}-checkbox`,e),{[`&${o}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":S(S({},eo),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${a}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[i]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},uf(e)]},RSe=pt("Cascader",e=>[MSe(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var DSe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function LSe(e,t,n){const o=e.toLowerCase().split(t).reduce((a,l,s)=>s===0?[l]:[...a,t,l],[]),r=[];let i=0;return o.forEach((a,l)=>{const s=i+a.length;let c=e.slice(i,s);i=s,l%2===1&&(c=g("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[c])),r.push(c)}),r}const NSe=e=>{let{inputValue:t,path:n,prefixCls:o,fieldNames:r}=e;const i=[],a=t.toLowerCase();return n.forEach((l,s)=>{s!==0&&i.push(" / ");let c=l[r.label];const u=typeof c;(u==="string"||u==="number")&&(c=LSe(String(c),a,o)),i.push(c)}),i};function kSe(){return S(S({},_t(gF(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:Z.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const BSe=pe({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:bt(kSe(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:o,slots:r,emit:i}=t;const a=co(),l=To.useInject(),s=M(()=>da(l.status,e.status)),{prefixCls:c,rootPrefixCls:u,getPrefixCls:d,direction:f,getPopupContainer:h,renderEmpty:m,size:v,disabled:y}=Ve("cascader",e),b=M(()=>d("select",e.prefixCls)),{compactSize:$,compactItemClassnames:x}=Ms(b,f),_=M(()=>$.value||v.value),w=jr(),I=M(()=>{var L;return(L=y.value)!==null&&L!==void 0?L:w.value}),[O,P]=M_(b),[E]=RSe(c),R=M(()=>f.value==="rtl"),A=M(()=>{if(!e.showSearch)return e.showSearch;let L={render:NSe};return typeof e.showSearch=="object"&&(L=S(S({},L),e.showSearch)),L}),N=M(()=>me(e.popupClassName||e.dropdownClassName,`${c.value}-dropdown`,{[`${c.value}-dropdown-rtl`]:R.value},P.value)),F=he();o({focus(){var L;(L=F.value)===null||L===void 0||L.focus()},blur(){var L;(L=F.value)===null||L===void 0||L.blur()}});const W=function(){for(var L=arguments.length,z=new Array(L),K=0;K<L;K++)z[K]=arguments[K];i("update:value",z[0]),i("change",...z),a.onFieldChange()},D=function(){for(var L=arguments.length,z=new Array(L),K=0;K<L;K++)z[K]=arguments[K];i("blur",...z),a.onFieldBlur()},B=M(()=>e.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),k=M(()=>e.placement!==void 0?e.placement:f.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var L,z;const{notFoundContent:K=(L=r.notFoundContent)===null||L===void 0?void 0:L.call(r),expandIcon:G=(z=r.expandIcon)===null||z===void 0?void 0:z.call(r),multiple:Y,bordered:ne,allowClear:re,choiceTransitionName:J,transitionName:te,id:ee=a.id.value}=e,fe=DSe(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),ie=K||m("Cascader");let X=G;G||(X=R.value?g(xs,null,null):g(sa,null,null));const ue=g("span",{class:`${b.value}-menu-item-loading-icon`},[g(di,{spin:!0},null)]),{suffixIcon:ye,removeIcon:H,clearIcon:j}=y_(S(S({},e),{hasFeedback:l.hasFeedback,feedbackIcon:l.feedbackIcon,multiple:Y,prefixCls:b.value,showArrow:B.value}),r);return E(O(g(qye,V(V(V({},fe),n),{},{id:ee,prefixCls:b.value,class:[c.value,{[`${b.value}-lg`]:_.value==="large",[`${b.value}-sm`]:_.value==="small",[`${b.value}-rtl`]:R.value,[`${b.value}-borderless`]:!ne,[`${b.value}-in-form-item`]:l.isFormItemInput},sr(b.value,s.value,l.hasFeedback),x.value,n.class,P.value],disabled:I.value,direction:f.value,placement:k.value,notFoundContent:ie,allowClear:re,showSearch:A.value,expandIcon:X,inputIcon:ye,removeIcon:H,clearIcon:j,loadingIcon:ue,checkable:!!Y,dropdownClassName:N.value,dropdownPrefixCls:c.value,choiceTransitionName:dr(u.value,"",J),transitionName:dr(u.value,t_(k.value),te),getPopupContainer:h==null?void 0:h.value,customSlots:S(S({},r),{checkable:()=>g("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||r.tagRender,displayRender:e.displayRender||r.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:l.hasFeedback||e.showArrow,onChange:W,onBlur:D,ref:F}),r)))}}}),FSe=$n(S(BSe,{SHOW_CHILD:iF,SHOW_PARENT:rF})),HSe=()=>({name:String,prefixCls:String,options:kt([]),disabled:Boolean,id:String}),zSe=()=>S(S({},HSe()),{defaultValue:kt(),value:kt(),onChange:Oe(),"onUpdate:value":Oe()}),jSe=()=>({prefixCls:String,defaultChecked:De(),checked:De(),disabled:De(),isGroup:De(),value:Z.any,name:String,id:String,indeterminate:De(),type:Qe("checkbox"),autofocus:De(),onChange:Oe(),"onUpdate:checked":Oe(),onClick:Oe(),skipGroup:De(!1)}),WSe=()=>S(S({},jSe()),{indeterminate:De(!1)}),MF=Symbol("CheckboxGroupContext");var $6=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Ri=pe({compatConfig:{MODE:3},name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,props:WSe(),setup(e,t){let{emit:n,attrs:o,slots:r,expose:i}=t;const a=co(),l=To.useInject(),{prefixCls:s,direction:c,disabled:u}=Ve("checkbox",e),d=jr(),[f,h]=AF(s),m=it(MF,void 0),v=Symbol("checkboxUniId"),y=M(()=>(m==null?void 0:m.disabled.value)||u.value);ct(()=>{!e.skipGroup&&m&&m.registerValue(v,e.value)}),Ct(()=>{m&&m.cancelValue(v)}),lt(()=>{Sn(!!(e.checked!==void 0||m||e.value===void 0))});const b=w=>{const I=w.target.checked;n("update:checked",I),n("change",w),a.onFieldChange()},$=he();return i({focus:()=>{var w;(w=$.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=$.value)===null||w===void 0||w.blur()}}),()=>{var w;const I=ln((w=r.default)===null||w===void 0?void 0:w.call(r)),{indeterminate:O,skipGroup:P,id:E=a.id.value}=e,R=$6(e,["indeterminate","skipGroup","id"]),{onMouseenter:A,onMouseleave:N,onInput:F,class:W,style:D}=o,B=$6(o,["onMouseenter","onMouseleave","onInput","class","style"]),k=S(S(S(S({},R),{id:E,prefixCls:s.value}),B),{disabled:y.value});m&&!P?(k.onChange=function(){for(var G=arguments.length,Y=new Array(G),ne=0;ne<G;ne++)Y[ne]=arguments[ne];n("change",...Y),m.toggleOption({label:I,value:e.value})},k.name=m.name.value,k.checked=m.mergedValue.value.includes(e.value),k.disabled=y.value||d.value,k.indeterminate=O):k.onChange=b;const L=me({[`${s.value}-wrapper`]:!0,[`${s.value}-rtl`]:c.value==="rtl",[`${s.value}-wrapper-checked`]:k.checked,[`${s.value}-wrapper-disabled`]:k.disabled,[`${s.value}-wrapper-in-form-item`]:l.isFormItemInput},W,h.value),z=me({[`${s.value}-indeterminate`]:O},h.value);return f(g("label",{class:L,style:D,onMouseenter:A,onMouseleave:N},[g(PB,V(V({"aria-checked":O?"mixed":void 0},k),{},{class:z,ref:$}),null),I.length?g("span",null,[I]):null]))}}}),H0=pe({compatConfig:{MODE:3},name:"ACheckboxGroup",inheritAttrs:!1,props:zSe(),setup(e,t){let{slots:n,attrs:o,emit:r,expose:i}=t;const a=co(),{prefixCls:l,direction:s}=Ve("checkbox",e),c=M(()=>`${l.value}-group`),[u,d]=AF(c),f=he((e.value===void 0?e.defaultValue:e.value)||[]);Ie(()=>e.value,()=>{f.value=e.value||[]});const h=M(()=>e.options.map(_=>typeof _=="string"||typeof _=="number"?{label:_,value:_}:_)),m=he(Symbol()),v=he(new Map),y=_=>{v.value.delete(_),m.value=Symbol()},b=(_,w)=>{v.value.set(_,w),m.value=Symbol()},$=he(new Map);return Ie(m,()=>{const _=new Map;for(const w of v.value.values())_.set(w,!0);$.value=_}),ft(MF,{cancelValue:y,registerValue:b,toggleOption:_=>{const w=f.value.indexOf(_.value),I=[...f.value];w===-1?I.push(_.value):I.splice(w,1),e.value===void 0&&(f.value=I);const O=I.filter(P=>$.value.has(P)).sort((P,E)=>{const R=h.value.findIndex(N=>N.value===P),A=h.value.findIndex(N=>N.value===E);return R-A});r("update:value",O),r("change",O),a.onFieldChange()},mergedValue:f,name:M(()=>e.name),disabled:M(()=>e.disabled)}),i({mergedValue:f}),()=>{var _;const{id:w=a.id.value}=e;let I=null;return h.value&&h.value.length>0&&(I=h.value.map(O=>{var P;return g(Ri,{prefixCls:l.value,key:O.value.toString(),disabled:"disabled"in O?O.disabled:e.disabled,indeterminate:O.indeterminate,value:O.value,checked:f.value.indexOf(O.value)!==-1,onChange:O.onChange,class:`${c.value}-item`},{default:()=>[n.label!==void 0?(P=n.label)===null||P===void 0?void 0:P.call(n,O):O.label]})})),u(g("div",V(V({},o),{},{class:[c.value,{[`${c.value}-rtl`]:s.value==="rtl"},o.class,d.value],id:w}),[I||((_=n.default)===null||_===void 0?void 0:_.call(n))]))}}});Ri.Group=H0;Ri.install=function(e){return e.component(Ri.name,Ri),e.component(H0.name,H0),e};const VSe={useBreakpoint:ff},KSe=$n(By),USe=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:o,commentNestIndent:r,commentFontSizeBase:i,commentFontSizeSm:a,commentAuthorNameColor:l,commentAuthorTimeColor:s,commentActionColor:c,commentActionHoverColor:u,commentActionsMarginBottom:d,commentActionsMarginTop:f,commentContentDetailPMarginBottom:h}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:o},[`${t}-avatar`]:{position:"relative",flexShrink:0,marginRight:e.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${t}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:i,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:i,"& > a,& > span":{paddingRight:e.paddingXS,fontSize:a,lineHeight:"18px"},"&-name":{color:l,fontSize:i,transition:`color ${e.motionDurationSlow}`,"> *":{color:l,"&:hover":{color:l}}},"&-time":{color:s,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{marginBottom:h,whiteSpace:"pre-wrap"}},[`${t}-actions`]:{marginTop:f,marginBottom:d,paddingLeft:0,"> li":{display:"inline-block",color:c,"> span":{marginRight:"10px",color:c,fontSize:a,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,userSelect:"none","&:hover":{color:u}}}},[`${t}-nested`]:{marginLeft:r},"&-rtl":{direction:"rtl"}}}},GSe=pt("Comment",e=>{const t=nt(e,{commentBg:"inherit",commentPaddingBase:`${e.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:e.fontSize,commentFontSizeSm:e.fontSizeSM,commentAuthorNameColor:e.colorTextTertiary,commentAuthorTimeColor:e.colorTextPlaceholder,commentActionColor:e.colorTextTertiary,commentActionHoverColor:e.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:e.marginSM,commentContentDetailPMarginBottom:"inherit"});return[USe(t)]}),YSe=()=>({actions:Array,author:Z.any,avatar:Z.any,content:Z.any,prefixCls:String,datetime:Z.any}),XSe=pe({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:YSe(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("comment",e),[a,l]=GSe(r),s=(u,d)=>g("div",{class:`${u}-nested`},[d]),c=u=>!u||!u.length?null:u.map((f,h)=>g("li",{key:`action-${h}`},[f]));return()=>{var u,d,f,h,m,v,y,b,$,x,_;const w=r.value,I=(u=e.actions)!==null&&u!==void 0?u:(d=n.actions)===null||d===void 0?void 0:d.call(n),O=(f=e.author)!==null&&f!==void 0?f:(h=n.author)===null||h===void 0?void 0:h.call(n),P=(m=e.avatar)!==null&&m!==void 0?m:(v=n.avatar)===null||v===void 0?void 0:v.call(n),E=(y=e.content)!==null&&y!==void 0?y:(b=n.content)===null||b===void 0?void 0:b.call(n),R=($=e.datetime)!==null&&$!==void 0?$:(x=n.datetime)===null||x===void 0?void 0:x.call(n),A=g("div",{class:`${w}-avatar`},[typeof P=="string"?g("img",{src:P,alt:"comment-avatar"},null):P]),N=I?g("ul",{class:`${w}-actions`},[c(Array.isArray(I)?I:[I])]):null,F=g("div",{class:`${w}-content-author`},[O&&g("span",{class:`${w}-content-author-name`},[O]),R&&g("span",{class:`${w}-content-author-time`},[R])]),W=g("div",{class:`${w}-content`},[F,g("div",{class:`${w}-content-detail`},[E]),N]),D=g("div",{class:`${w}-inner`},[A,W]),B=ln((_=n.default)===null||_===void 0?void 0:_.call(n));return a(g("div",V(V({},o),{},{class:[w,{[`${w}-rtl`]:i.value==="rtl"},o.class,l.value]}),[D,B&&B.length?s(w,B):null]))}}}),qSe=$n(XSe);let Cm=S({},cr.Modal);function ZSe(e){e?Cm=S(S({},Cm),e):Cm=S({},cr.Modal)}function QSe(){return Cm}const Kx="internalMark",$m=pe({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;Sn(e.ANT_MARK__===Kx);const o=St({antLocale:S(S({},e.locale),{exist:!0}),ANT_MARK__:Kx});return ft("localeData",o),Ie(()=>e.locale,r=>{ZSe(r&&r.Modal),o.antLocale=S(S({},r),{exist:!0})},{immediate:!0}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});$m.install=function(e){return e.component($m.name,$m),e};const RF=$n($m),DF=pe({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:o}=t,r,i=!1;const a=M(()=>e.duration===void 0?4.5:e.duration),l=()=>{a.value&&!i&&(r=setTimeout(()=>{c()},a.value*1e3))},s=()=>{r&&(clearTimeout(r),r=null)},c=d=>{d&&d.stopPropagation(),s();const{onClose:f,noticeKey:h}=e;f&&f(h)},u=()=>{s(),l()};return lt(()=>{l()}),Fo(()=>{i=!0,s()}),Ie([a,()=>e.updateMark,()=>e.visible],(d,f)=>{let[h,m,v]=d,[y,b,$]=f;(h!==y||m!==b||v!==$&&$)&&u()},{flush:"post"}),()=>{var d,f;const{prefixCls:h,closable:m,closeIcon:v=(d=o.closeIcon)===null||d===void 0?void 0:d.call(o),onClick:y,holder:b}=e,{class:$,style:x}=n,_=`${h}-notice`,w=Object.keys(n).reduce((O,P)=>((P.startsWith("data-")||P.startsWith("aria-")||P==="role")&&(O[P]=n[P]),O),{}),I=g("div",V({class:me(_,$,{[`${_}-closable`]:m}),style:x,onMouseenter:s,onMouseleave:l,onClick:y},w),[g("div",{class:`${_}-content`},[(f=o.default)===null||f===void 0?void 0:f.call(o)]),m?g("a",{tabindex:0,onClick:c,class:`${_}-close`},[v||g("span",{class:`${_}-close-x`},null)]):null]);return b?g(Ab,{to:b},{default:()=>I}):I}}});var JSe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let x6=0;const eCe=Date.now();function w6(){const e=x6;return x6+=1,`rcNotification_${eCe}_${e}`}const Ux=pe({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=new Map,a=he([]),l=M(()=>{const{prefixCls:u,animation:d="fade"}=e;let f=e.transitionName;return!f&&d&&(f=`${u}-${d}`),ny(f)}),s=(u,d)=>{const f=u.key||w6(),h=S(S({},u),{key:f}),{maxCount:m}=e,v=a.value.map(b=>b.notice.key).indexOf(f),y=a.value.concat();v!==-1?y.splice(v,1,{notice:h,holderCallback:d}):(m&&a.value.length>=m&&(h.key=y[0].notice.key,h.updateMark=w6(),h.userPassKey=f,y.shift()),y.push({notice:h,holderCallback:d})),a.value=y},c=u=>{a.value=a.value.filter(d=>{let{notice:{key:f,userPassKey:h}}=d;return(h||f)!==u})};return o({add:s,remove:c,notices:a}),()=>{var u;const{prefixCls:d,closeIcon:f=(u=r.closeIcon)===null||u===void 0?void 0:u.call(r,{prefixCls:d})}=e,h=a.value.map((v,y)=>{let{notice:b,holderCallback:$}=v;const x=y===a.value.length-1?b.updateMark:void 0,{key:_,userPassKey:w}=b,{content:I}=b,O=S(S(S({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},b),b.props),{key:_,noticeKey:w||_,updateMark:x,onClose:P=>{var E;c(P),(E=b.onClose)===null||E===void 0||E.call(b)},onClick:b.onClick});return $?g("div",{key:_,class:`${d}-hook-holder`,ref:P=>{typeof _>"u"||(P?(i.set(_,P),$(P,O)):i.delete(_))}},null):g(DF,V(V({},O),{},{class:me(O.class,e.hashId)}),{default:()=>[typeof I=="function"?I({prefixCls:d}):I]})}),m={[d]:1,[n.class]:!!n.class,[e.hashId]:!0};return g("div",{class:m,style:n.style||{top:"65px",left:"50%"}},[g(Lb,V({tag:"div"},l.value),{default:()=>[h]})])}}});Ux.newInstance=function(t,n){const o=t||{},{name:r="notification",getContainer:i,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:c,hasTransitionName:u,useStyle:d}=o,f=JSe(o,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),h=document.createElement("div");i?i().appendChild(h):document.body.appendChild(h);const v=g(pe({compatConfig:{MODE:3},name:"NotificationWrapper",setup(y,b){let{attrs:$}=b;const x=ve(),_=M(()=>jo.getPrefixCls(r,l)),[,w]=d(_);return lt(()=>{n({notice(I){var O;(O=x.value)===null||O===void 0||O.add(I)},removeNotice(I){var O;(O=x.value)===null||O===void 0||O.remove(I)},destroy(){Ec(null,h),h.parentNode&&h.parentNode.removeChild(h)},component:x})}),()=>{const I=jo,O=I.getRootPrefixCls(s,_.value),P=u?c:`${_.value}-${c}`;return g(qO,V(V({},I),{},{prefixCls:O}),{default:()=>[g(Ux,V(V({ref:x},$),{},{prefixCls:_.value,transitionName:P,hashId:w.value}),null)]})}}}),f);v.appContext=a||v.appContext,Ec(v,h)};const LF=Ux;let _6=0;const tCe=Date.now();function O6(){const e=_6;return _6+=1,`rcNotification_${tCe}_${e}`}const nCe=pe({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:o}=t;const r=new Map,i=M(()=>e.notices),a=M(()=>{let u=e.transitionName;if(!u&&e.animation)switch(typeof e.animation){case"string":u=e.animation;break;case"function":u=e.animation().name;break;case"object":u=e.animation.name;break;default:u=`${e.prefixCls}-fade`;break}return ny(u)}),l=u=>e.remove(u),s=he({});Ie(i,()=>{const u={};Object.keys(s.value).forEach(d=>{u[d]=[]}),e.notices.forEach(d=>{const{placement:f="topRight"}=d.notice;f&&(u[f]=u[f]||[],u[f].push(d))}),s.value=u});const c=M(()=>Object.keys(s.value));return()=>{var u;const{prefixCls:d,closeIcon:f=(u=o.closeIcon)===null||u===void 0?void 0:u.call(o,{prefixCls:d})}=e,h=c.value.map(m=>{var v,y;const b=s.value[m],$=(v=e.getClassName)===null||v===void 0?void 0:v.call(e,m),x=(y=e.getStyles)===null||y===void 0?void 0:y.call(e,m),_=b.map((O,P)=>{let{notice:E,holderCallback:R}=O;const A=P===i.value.length-1?E.updateMark:void 0,{key:N,userPassKey:F}=E,{content:W}=E,D=S(S(S({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},E),E.props),{key:N,noticeKey:F||N,updateMark:A,onClose:B=>{var k;l(B),(k=E.onClose)===null||k===void 0||k.call(E)},onClick:E.onClick});return R?g("div",{key:N,class:`${d}-hook-holder`,ref:B=>{typeof N>"u"||(B?(r.set(N,B),R(B,D)):r.delete(N))}},null):g(DF,V(V({},D),{},{class:me(D.class,e.hashId)}),{default:()=>[typeof W=="function"?W({prefixCls:d}):W]})}),w={[d]:1,[`${d}-${m}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[$]:!!$};function I(){var O;b.length>0||(Reflect.deleteProperty(s.value,m),(O=e.onAllRemoved)===null||O===void 0||O.call(e))}return g("div",{key:m,class:w,style:n.style||x||{top:"65px",left:"50%"}},[g(Lb,V(V({tag:"div"},a.value),{},{onAfterLeave:I}),{default:()=>[_]})])});return g(mk,{getContainer:e.getContainer},{default:()=>[h]})}}}),oCe=nCe;var rCe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const iCe=()=>document.body;let I6=0;function aCe(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach(r=>{r&&Object.keys(r).forEach(i=>{const a=r[i];a!==void 0&&(e[i]=a)})}),e}function NF(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=iCe,motion:n,prefixCls:o,maxCount:r,getClassName:i,getStyles:a,onAllRemoved:l}=e,s=rCe(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),c=ve([]),u=ve(),d=(b,$)=>{const x=b.key||O6(),_=S(S({},b),{key:x}),w=c.value.map(O=>O.notice.key).indexOf(x),I=c.value.concat();w!==-1?I.splice(w,1,{notice:_,holderCallback:$}):(r&&c.value.length>=r&&(_.key=I[0].notice.key,_.updateMark=O6(),_.userPassKey=x,I.shift()),I.push({notice:_,holderCallback:$})),c.value=I},f=b=>{c.value=c.value.filter($=>{let{notice:{key:x,userPassKey:_}}=$;return(_||x)!==b})},h=()=>{c.value=[]},m=()=>g(oCe,{ref:u,prefixCls:o,maxCount:r,notices:c.value,remove:f,getClassName:i,getStyles:a,animation:n,hashId:e.hashId,onAllRemoved:l,getContainer:t},null),v=ve([]),y={open:b=>{const $=aCe(s,b);($.key===null||$.key===void 0)&&($.key=`vc-notification-${I6}`,I6+=1),v.value=[...v.value,{type:"open",config:$}]},close:b=>{v.value=[...v.value,{type:"close",key:b}]},destroy:()=>{v.value=[...v.value,{type:"destroy"}]}};return Ie(v,()=>{v.value.length&&(v.value.forEach(b=>{switch(b.type){case"open":d(b.config);break;case"close":f(b.key);break;case"destroy":h();break}}),v.value=[])}),[y,m]}const lCe=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:o,colorBgElevated:r,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:m,zIndexPopup:v,messageNoticeContentPadding:y}=e,b=new Pt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),$=new Pt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:S(S({},vt(e)),{position:"fixed",top:f,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:v,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
+ ${t}-move-up-appear,
+ ${t}-move-up-enter
+ `]:{animationName:b,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`
+ ${t}-move-up-appear${t}-move-up-appear-active,
+ ${t}-move-up-enter${t}-move-up-enter-active
+ `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:$,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:h,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:f,fontSize:c},[`${t}-notice-content`]:{display:"inline-block",padding:y,background:r,borderRadius:m,boxShadow:o,pointerEvents:"all"},[`${t}-success ${n}`]:{color:i},[`${t}-error ${n}`]:{color:a},[`${t}-warning ${n}`]:{color:l},[`
+ ${t}-info ${n},
+ ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},kF=pt("Message",e=>{const t=nt(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[lCe(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),sCe={info:g(df,null,null),success:g(Tl,null,null),error:g(Kr,null,null),warning:g(El,null,null),loading:g(di,null,null)},cCe=pe({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var o;return g("div",{class:me(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||sCe[e.type],g("span",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])])}}});var uCe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const dCe=8,fCe=3,pCe=pe({name:"Holder",inheritAttrs:!1,props:["top","prefixCls","getContainer","maxCount","duration","rtl","transitionName","onAllRemoved"],setup(e,t){let{expose:n}=t;var o,r;const{getPrefixCls:i,getPopupContainer:a}=Ve("message",e),l=M(()=>i("message",e.prefixCls)),[,s]=kF(l),c=()=>{var v;const y=(v=e.top)!==null&&v!==void 0?v:dCe;return{left:"50%",transform:"translateX(-50%)",top:typeof y=="number"?`${y}px`:y}},u=()=>me(s.value,e.rtl?`${l.value}-rtl`:""),d=()=>{var v;return W2({prefixCls:l.value,animation:(v=e.animation)!==null&&v!==void 0?v:"move-up",transitionName:e.transitionName})},f=g("span",{class:`${l.value}-close-x`},[g(Vr,{class:`${l.value}-close-icon`},null)]),[h,m]=NF({getStyles:c,prefixCls:l.value,getClassName:u,motion:d,closable:!1,closeIcon:f,duration:(o=e.duration)!==null&&o!==void 0?o:fCe,getContainer:(r=e.staticGetContainer)!==null&&r!==void 0?r:a.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(S(S({},h),{prefixCls:l,hashId:s})),m}});let P6=0;function hCe(e){const t=ve(null),n=Symbol("messageHolderKey"),o=s=>{var c;(c=t.value)===null||c===void 0||c.close(s)},r=s=>{if(!t.value){const w=()=>{};return w.then=()=>{},w}const{open:c,prefixCls:u,hashId:d}=t.value,f=`${u}-notice`,{content:h,icon:m,type:v,key:y,class:b,onClose:$}=s,x=uCe(s,["content","icon","type","key","class","onClose"]);let _=y;return _==null&&(P6+=1,_=`antd-message-${P6}`),xee(w=>(c(S(S({},x),{key:_,content:()=>g(cCe,{prefixCls:u,type:v,icon:typeof m=="function"?m():m},{default:()=>[typeof h=="function"?h():h]}),placement:"top",class:me(v&&`${f}-${v}`,d,b),onClose:()=>{$==null||$(),w()}})),()=>{o(_)}))},a={open:r,destroy:s=>{var c;s!==void 0?o(s):(c=t.value)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const c=(u,d,f)=>{let h;u&&typeof u=="object"&&"content"in u?h=u:h={content:u};let m,v;typeof d=="function"?v=d:(m=d,v=f);const y=S(S({onClose:v,duration:m},h),{type:s});return r(y)};a[s]=c}),[a,()=>g(pCe,V(V({key:n},e),{},{ref:t}),null)]}function BF(e){return hCe(e)}let FF=3,HF,Cr,gCe=1,zF="",jF="move-up",WF=!1,VF=()=>document.body,KF,UF=!1;function vCe(){return gCe++}function mCe(e){e.top!==void 0&&(HF=e.top,Cr=null),e.duration!==void 0&&(FF=e.duration),e.prefixCls!==void 0&&(zF=e.prefixCls),e.getContainer!==void 0&&(VF=e.getContainer,Cr=null),e.transitionName!==void 0&&(jF=e.transitionName,Cr=null,WF=!0),e.maxCount!==void 0&&(KF=e.maxCount,Cr=null),e.rtl!==void 0&&(UF=e.rtl)}function bCe(e,t){if(Cr){t(Cr);return}LF.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||zF,rootPrefixCls:e.rootPrefixCls,transitionName:jF,hasTransitionName:WF,style:{top:HF},getContainer:VF||e.getPopupContainer,maxCount:KF,name:"message",useStyle:kF},n=>{if(Cr){t(Cr);return}Cr=n,t(n)})}const GF={info:df,success:Tl,error:Kr,warning:El,loading:di},yCe=Object.keys(GF);function SCe(e){const t=e.duration!==void 0?e.duration:FF,n=e.key||vCe(),o=new Promise(i=>{const a=()=>(typeof e.onClose=="function"&&e.onClose(),i(!0));bCe(e,l=>{l.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:c}=s;const u=GF[e.type],d=u?g(u,null,null):"",f=me(`${c}-custom-content`,{[`${c}-${e.type}`]:e.type,[`${c}-rtl`]:UF===!0});return g("div",{class:f},[typeof e.icon=="function"?e.icon():e.icon||d,g("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:a,onClick:e.onClick})})}),r=()=>{Cr&&Cr.removeNotice(n)};return r.then=(i,a)=>o.then(i,a),r.promise=o,r}function CCe(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const Sh={open:SCe,config:mCe,destroy(e){if(Cr)if(e){const{removeNotice:t}=Cr;t(e)}else{const{destroy:t}=Cr;t(),Cr=null}}};function $Ce(e,t){e[t]=(n,o,r)=>CCe(n)?e.open(S(S({},n),{type:t})):(typeof o=="function"&&(r=o,o=void 0),e.open({content:n,duration:o,type:t,onClose:r}))}yCe.forEach(e=>$Ce(Sh,e));Sh.warn=Sh.warning;Sh.useMessage=BF;const GO=Sh,xCe=e=>{const{componentCls:t,width:n,notificationMarginEdge:o}=e,r=new Pt("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),i=new Pt("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new Pt("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:r}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:o,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},wCe=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:o,fontSizeLG:r,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:m,motionDurationMid:v,motionEaseInOut:y,fontSize:b,lineHeight:$,width:x,notificationIconSize:_}=e,w=`${n}-notice`,I=new Pt("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:x},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),O=new Pt("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:S(S(S(S({},vt(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:m,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:y,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:y,animationFillMode:"both",animationDuration:v,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:I,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:O,animationPlayState:"running"}}),xCe(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[w]:{position:"relative",width:x,maxWidth:`calc(100vw - ${m*2}px)`,marginBottom:i,marginInlineStart:"auto",padding:h,overflow:"hidden",lineHeight:$,wordWrap:"break-word",background:f,borderRadius:a,boxShadow:o,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${w}-message`]:{marginBottom:e.marginXS,color:d,fontSize:r,lineHeight:e.lineHeightLG},[`${w}-description`]:{fontSize:b},[`&${w}-closable ${w}-message`]:{paddingInlineEnd:e.paddingLG},[`${w}-with-icon ${w}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+_,fontSize:r},[`${w}-with-icon ${w}-description`]:{marginInlineStart:e.marginSM+_,fontSize:b},[`${w}-icon`]:{position:"absolute",fontSize:_,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${w}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${w}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${w}-pure-panel`]:{margin:0}}]},YF=pt("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,o=nt(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[wCe(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function _Ce(e,t){return t||g("span",{class:`${e}-close-x`},[g(Vr,{class:`${e}-close-icon`},null)])}g(df,null,null),g(Tl,null,null),g(Kr,null,null),g(El,null,null),g(di,null,null);const OCe={success:Tl,info:df,error:Kr,warning:El};function ICe(e){let{prefixCls:t,icon:n,type:o,message:r,description:i,btn:a}=e,l=null;if(n)l=g("span",{class:`${t}-icon`},[Xu(n)]);else if(o){const s=OCe[o];l=g(s,{class:`${t}-icon ${t}-icon-${o}`},null)}return g("div",{class:me({[`${t}-with-icon`]:l}),role:"alert"},[l,g("div",{class:`${t}-message`},[r]),g("div",{class:`${t}-description`},[i]),a&&g("div",{class:`${t}-btn`},[a])])}function XF(e,t,n){let o;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":o={left:0,top:t,bottom:"auto"};break;case"topRight":o={right:0,top:t,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":o={left:0,top:"auto",bottom:n};break;default:o={right:0,top:"auto",bottom:n};break}return o}function PCe(e){return{name:`${e}-fade`}}var TCe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const T6=24,ECe=4.5,ACe=pe({name:"Holder",inheritAttrs:!1,props:["prefixCls","class","type","icon","content","onAllRemoved"],setup(e,t){let{expose:n}=t;const{getPrefixCls:o,getPopupContainer:r}=Ve("notification",e),i=M(()=>e.prefixCls||o("notification")),a=f=>{var h,m;return XF(f,(h=e.top)!==null&&h!==void 0?h:T6,(m=e.bottom)!==null&&m!==void 0?m:T6)},[,l]=YF(i),s=()=>me(l.value,{[`${i.value}-rtl`]:e.rtl}),c=()=>PCe(i.value),[u,d]=NF({prefixCls:i.value,getStyles:a,getClassName:s,motion:c,closable:!0,closeIcon:_Ce(i.value),duration:ECe,getContainer:()=>{var f,h;return((f=e.getPopupContainer)===null||f===void 0?void 0:f.call(e))||((h=r.value)===null||h===void 0?void 0:h.call(r))||document.body},maxCount:e.maxCount,hashId:l.value,onAllRemoved:e.onAllRemoved});return n(S(S({},u),{prefixCls:i.value,hashId:l})),d}});function MCe(e){const t=ve(null),n=Symbol("notificationHolderKey"),o=l=>{if(!t.value)return;const{open:s,prefixCls:c,hashId:u}=t.value,d=`${c}-notice`,{message:f,description:h,icon:m,type:v,btn:y,class:b}=l,$=TCe(l,["message","description","icon","type","btn","class"]);return s(S(S({placement:"topRight"},$),{content:()=>g(ICe,{prefixCls:d,icon:typeof m=="function"?m():m,type:v,message:typeof f=="function"?f():f,description:typeof h=="function"?h():h,btn:typeof y=="function"?y():y},null),class:me(v&&`${d}-${v}`,u,b)}))},i={open:o,destroy:l=>{var s,c;l!==void 0?(s=t.value)===null||s===void 0||s.close(l):(c=t.value)===null||c===void 0||c.destroy()}};return["success","info","warning","error"].forEach(l=>{i[l]=s=>o(S(S({},s),{type:l}))}),[i,()=>g(ACe,V(V({key:n},e),{},{ref:t}),null)]}function qF(e){return MCe(e)}const pc={};let ZF=4.5,QF="24px",JF="24px",Gx="",eH="topRight",tH=()=>document.body,nH=null,Yx=!1,oH;function RCe(e){const{duration:t,placement:n,bottom:o,top:r,getContainer:i,closeIcon:a,prefixCls:l}=e;l!==void 0&&(Gx=l),t!==void 0&&(ZF=t),n!==void 0&&(eH=n),o!==void 0&&(JF=typeof o=="number"?`${o}px`:o),r!==void 0&&(QF=typeof r=="number"?`${r}px`:r),i!==void 0&&(tH=i),a!==void 0&&(nH=a),e.rtl!==void 0&&(Yx=e.rtl),e.maxCount!==void 0&&(oH=e.maxCount)}function DCe(e,t){let{prefixCls:n,placement:o=eH,getContainer:r=tH,top:i,bottom:a,closeIcon:l=nH,appContext:s}=e;const{getPrefixCls:c}=UCe(),u=c("notification",n||Gx),d=`${u}-${o}-${Yx}`,f=pc[d];if(f){Promise.resolve(f).then(m=>{t(m)});return}const h=me(`${u}-${o}`,{[`${u}-rtl`]:Yx===!0});LF.newInstance({name:"notification",prefixCls:n||Gx,useStyle:YF,class:h,style:XF(o,i??QF,a??JF),appContext:s,getContainer:r,closeIcon:m=>{let{prefixCls:v}=m;return g("span",{class:`${v}-close-x`},[Xu(l,{},g(Vr,{class:`${v}-close-icon`},null))])},maxCount:oH,hasTransitionName:!0},m=>{pc[d]=m,t(m)})}const LCe={success:m9,info:y9,error:S9,warning:b9};function NCe(e){const{icon:t,type:n,description:o,message:r,btn:i}=e,a=e.duration===void 0?ZF:e.duration;DCe(e,l=>{l.notice({content:s=>{let{prefixCls:c}=s;const u=`${c}-notice`;let d=null;if(t)d=()=>g("span",{class:`${u}-icon`},[Xu(t)]);else if(n){const f=LCe[n];d=()=>g(f,{class:`${u}-icon ${u}-icon-${n}`},null)}return g("div",{class:d?`${u}-with-icon`:""},[d&&d(),g("div",{class:`${u}-message`},[!o&&d?g("span",{class:`${u}-message-single-line-auto-margin`},null):null,Xu(r)]),g("div",{class:`${u}-description`},[Xu(o)]),i?g("span",{class:`${u}-btn`},[Xu(i)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Ld={open:NCe,close(e){Object.keys(pc).forEach(t=>Promise.resolve(pc[t]).then(n=>{n.removeNotice(e)}))},config:RCe,destroy(){Object.keys(pc).forEach(e=>{Promise.resolve(pc[e]).then(t=>{t.destroy()}),delete pc[e]})}},kCe=["success","info","warning","error"];kCe.forEach(e=>{Ld[e]=t=>Ld.open(S(S({},t),{type:e}))});Ld.warn=Ld.warning;Ld.useNotification=qF;const YO=Ld,BCe=`-ant-${Date.now()}-${Math.random()}`;function FCe(e,t){const n={},o=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},r=(a,l)=>{const s=new Zt(a),c=Mc(s.toRgbString());n[`${l}-color`]=o(s),n[`${l}-color-disabled`]=c[1],n[`${l}-color-hover`]=c[4],n[`${l}-color-active`]=c[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=c[0],n[`${l}-color-deprecated-border`]=c[2]};if(t.primaryColor){r(t.primaryColor,"primary");const a=new Zt(t.primaryColor),l=Mc(a.toRgbString());l.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=o(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=o(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=o(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=o(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=o(a,c=>c.setAlpha(c.getAlpha()*.12));const s=new Zt(l[0]);n["primary-color-active-deprecated-f-30"]=o(s,c=>c.setAlpha(c.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=o(s,c=>c.darken(2))}return t.successColor&&r(t.successColor,"success"),t.warningColor&&r(t.warningColor,"warning"),t.errorColor&&r(t.errorColor,"error"),t.infoColor&&r(t.infoColor,"info"),`
+ :root {
+ ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
+`)}
+ }
+ `.trim()}function HCe(e,t){const n=FCe(e,t);ur()?nh(n,`${BCe}-dynamic-theme`):Sn()}const zCe=e=>{const[t,n]=Ol();return s0(M(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:S(S({},Xc()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function jCe(e,t){const n=M(()=>(e==null?void 0:e.value)||{}),o=M(()=>n.value.inherit===!1||!(t!=null&&t.value)?w7:t.value);return M(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const i=S({},o.value.components);return Object.keys(e.value.components||{}).forEach(a=>{i[a]=S(S({},i[a]),e.value.components[a])}),S(S(S({},o.value),n.value),{token:S(S({},o.value.token),n.value.token),components:i})})}var WCe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const VCe="ant";function vd(){return jo.prefixCls||VCe}function rH(){return jo.iconPrefixCls||I2}const XO=St({}),jo=St({});ct(()=>{S(jo,XO),jo.prefixCls=vd(),jo.iconPrefixCls=rH(),jo.getPrefixCls=(e,t)=>t||(e?`${jo.prefixCls}-${e}`:jo.prefixCls),jo.getRootPrefixCls=()=>jo.prefixCls?jo.prefixCls:vd()});let PC;const KCe=e=>{PC&&PC(),PC=ct(()=>{S(XO,St(e)),S(jo,St(e))}),e.theme&&HCe(vd(),e.theme)},UCe=()=>({getPrefixCls:(e,t)=>t||(e?`${vd()}-${e}`:vd()),getIconPrefixCls:rH,getRootPrefixCls:()=>jo.prefixCls?jo.prefixCls:vd()}),Pp=pe({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:qee(),setup(e,t){let{slots:n}=t;const o=Bb(),r=(D,B)=>{const{prefixCls:k="ant"}=e;if(B)return B;const L=k||o.getPrefixCls("");return D?`${L}-${D}`:L},i=M(()=>e.iconPrefixCls||o.iconPrefixCls.value||I2),a=M(()=>i.value!==o.iconPrefixCls.value),l=M(()=>{var D;return e.csp||((D=o.csp)===null||D===void 0?void 0:D.value)}),s=zCe(i),c=jCe(M(()=>e.theme),M(()=>{var D;return(D=o.theme)===null||D===void 0?void 0:D.value})),u=D=>(e.renderEmpty||n.renderEmpty||o.renderEmpty||loe)(D),d=M(()=>{var D,B;return(D=e.autoInsertSpaceInButton)!==null&&D!==void 0?D:(B=o.autoInsertSpaceInButton)===null||B===void 0?void 0:B.value}),f=M(()=>{var D;return e.locale||((D=o.locale)===null||D===void 0?void 0:D.value)});Ie(f,()=>{XO.locale=f.value},{immediate:!0});const h=M(()=>{var D;return e.direction||((D=o.direction)===null||D===void 0?void 0:D.value)}),m=M(()=>{var D,B;return(D=e.space)!==null&&D!==void 0?D:(B=o.space)===null||B===void 0?void 0:B.value}),v=M(()=>{var D,B;return(D=e.virtual)!==null&&D!==void 0?D:(B=o.virtual)===null||B===void 0?void 0:B.value}),y=M(()=>{var D,B;return(D=e.dropdownMatchSelectWidth)!==null&&D!==void 0?D:(B=o.dropdownMatchSelectWidth)===null||B===void 0?void 0:B.value}),b=M(()=>{var D;return e.getTargetContainer!==void 0?e.getTargetContainer:(D=o.getTargetContainer)===null||D===void 0?void 0:D.value}),$=M(()=>{var D;return e.getPopupContainer!==void 0?e.getPopupContainer:(D=o.getPopupContainer)===null||D===void 0?void 0:D.value}),x=M(()=>{var D;return e.pageHeader!==void 0?e.pageHeader:(D=o.pageHeader)===null||D===void 0?void 0:D.value}),_=M(()=>{var D;return e.input!==void 0?e.input:(D=o.input)===null||D===void 0?void 0:D.value}),w=M(()=>{var D;return e.pagination!==void 0?e.pagination:(D=o.pagination)===null||D===void 0?void 0:D.value}),I=M(()=>{var D;return e.form!==void 0?e.form:(D=o.form)===null||D===void 0?void 0:D.value}),O=M(()=>{var D;return e.select!==void 0?e.select:(D=o.select)===null||D===void 0?void 0:D.value}),P=M(()=>e.componentSize),E=M(()=>e.componentDisabled),R=M(()=>{var D,B;return(D=e.wave)!==null&&D!==void 0?D:(B=o.wave)===null||B===void 0?void 0:B.value}),A={csp:l,autoInsertSpaceInButton:d,locale:f,direction:h,space:m,virtual:v,dropdownMatchSelectWidth:y,getPrefixCls:r,iconPrefixCls:i,theme:M(()=>{var D,B;return(D=c.value)!==null&&D!==void 0?D:(B=o.theme)===null||B===void 0?void 0:B.value}),renderEmpty:u,getTargetContainer:b,getPopupContainer:$,pageHeader:x,input:_,pagination:w,form:I,select:O,componentSize:P,componentDisabled:E,transformCellText:M(()=>e.transformCellText),wave:R},N=M(()=>{const D=c.value||{},{algorithm:B,token:k}=D,L=WCe(D,["algorithm","token"]),z=B&&(!Array.isArray(B)||B.length>0)?M2(B):void 0;return S(S({},L),{theme:z,token:S(S({},Wb),k)})}),F=M(()=>{var D,B;let k={};return f.value&&(k=((D=f.value.Form)===null||D===void 0?void 0:D.defaultValidateMessages)||((B=cr.Form)===null||B===void 0?void 0:B.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(k=S(S({},k),e.form.validateMessages)),k});Zee(A),Yee({validateMessages:F}),M7(P),XN(E);const W=D=>{var B,k;let L=a.value?s((B=n.default)===null||B===void 0?void 0:B.call(n)):(k=n.default)===null||k===void 0?void 0:k.call(n);if(e.theme){const z=function(){return L}();L=g(eoe,{value:N.value},{default:()=>[z]})}return g(RF,{locale:f.value||D,ANT_MARK__:Kx},{default:()=>[L]})};return ct(()=>{h.value&&(GO.config({rtl:h.value==="rtl"}),YO.config({rtl:h.value==="rtl"}))}),()=>g(Yc,{children:(D,B,k)=>W(k)},null)}});Pp.config=KCe;Pp.install=function(e){e.component(Pp.name,Pp)};const qO=Pp,GCe=(e,t)=>{let{attrs:n,slots:o}=t;return g(Un,V(V({size:"small",type:"primary"},e),n),o)},YCe=GCe,kv=(e,t,n)=>{const o=yee(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},XCe=e=>c0(e,(t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:o,background:i,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),qCe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r}=e,i=o-n,a=t-n;return{[r]:S(S({},vt(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${r}-close-icon`]:{marginInlineStart:a,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},iH=pt("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:o,fontSizeIcon:r}=e,i=Math.round(t*n),a=e.fontSizeSM,l=i-o*2,s=e.colorFillAlter,c=e.colorText,u=nt(e,{tagFontSize:a,tagLineHeight:l,tagDefaultBg:s,tagDefaultColor:c,tagIconSize:r-2*o,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[qCe(u),XCe(u),kv(u,"success","Success"),kv(u,"processing","Info"),kv(u,"error","Error"),kv(u,"warning","Warning")]}),ZCe=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),QCe=pe({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:ZCe(),setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{prefixCls:i}=Ve("tag",e),[a,l]=iH(i),s=u=>{const{checked:d}=e;o("update:checked",!d),o("change",!d),o("click",u)},c=M(()=>me(i.value,l.value,{[`${i.value}-checkable`]:!0,[`${i.value}-checkable-checked`]:e.checked}));return()=>{var u;return a(g("span",V(V({},r),{},{class:[c.value,r.class],onClick:s}),[(u=n.default)===null||u===void 0?void 0:u.call(n)]))}}}),z0=QCe,JCe=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:Z.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:Ac(),"onUpdate:visible":Function,icon:Z.any,bordered:{type:Boolean,default:!0}}),Tp=pe({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:JCe(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{prefixCls:i,direction:a}=Ve("tag",e),[l,s]=iH(i),c=ve(!0);ct(()=>{e.visible!==void 0&&(c.value=e.visible)});const u=m=>{m.stopPropagation(),o("update:visible",!1),o("close",m),!m.defaultPrevented&&e.visible===void 0&&(c.value=!1)},d=M(()=>Cy(e.color)||Bhe(e.color)),f=M(()=>me(i.value,s.value,{[`${i.value}-${e.color}`]:d.value,[`${i.value}-has-color`]:e.color&&!d.value,[`${i.value}-hidden`]:!c.value,[`${i.value}-rtl`]:a.value==="rtl",[`${i.value}-borderless`]:!e.bordered})),h=m=>{o("click",m)};return()=>{var m,v,y;const{icon:b=(m=n.icon)===null||m===void 0?void 0:m.call(n),color:$,closeIcon:x=(v=n.closeIcon)===null||v===void 0?void 0:v.call(n),closable:_=!1}=e,w=()=>_?x?g("span",{class:`${i.value}-close-icon`,onClick:u},[x]):g(Vr,{class:`${i.value}-close-icon`,onClick:u},null):null,I={backgroundColor:$&&!d.value?$:void 0},O=b||null,P=(y=n.default)===null||y===void 0?void 0:y.call(n),E=O?g(Je,null,[O,g("span",null,[P])]):P,R=e.onClick!==void 0,A=g("span",V(V({},r),{},{onClick:h,class:[f.value,r.class],style:[I,r.style]}),[E,w()]);return l(R?g(Y_,null,{default:()=>[A]}):A)}}});Tp.CheckableTag=z0;Tp.install=function(e){return e.component(Tp.name,Tp),e.component(z0.name,z0),e};const aH=Tp;function e$e(e,t){let{slots:n,attrs:o}=t;return g(aH,V(V({color:"blue"},e),o),n)}var t$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const n$e=t$e;function E6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){o$e(e,r,n[r])})}return e}function o$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZO=function(t,n){var o=E6({},t,n.attrs);return g(Ot,E6({},o,{icon:n$e}),null)};ZO.displayName="CalendarOutlined";ZO.inheritAttrs=!1;const lH=ZO;var r$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const i$e=r$e;function A6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){a$e(e,r,n[r])})}return e}function a$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QO=function(t,n){var o=A6({},t,n.attrs);return g(Ot,A6({},o,{icon:i$e}),null)};QO.displayName="ClockCircleOutlined";QO.inheritAttrs=!1;const sH=QO;function l$e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function s$e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function cH(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function j0(){return{id:String,dropdownClassName:String,popupClassName:String,popupStyle:qe(),transitionName:String,placeholder:String,allowClear:De(),autofocus:De(),disabled:De(),tabindex:Number,open:De(),defaultOpen:De(),inputReadOnly:De(),format:rt([String,Function,Array]),getPopupContainer:Oe(),panelRender:Oe(),onChange:Oe(),"onUpdate:value":Oe(),onOk:Oe(),onOpenChange:Oe(),"onUpdate:open":Oe(),onFocus:Oe(),onBlur:Oe(),onMousedown:Oe(),onMouseup:Oe(),onMouseenter:Oe(),onMouseleave:Oe(),onClick:Oe(),onContextmenu:Oe(),onKeydown:Oe(),role:String,name:String,autocomplete:String,direction:Qe(),showToday:De(),showTime:rt([Boolean,Object]),locale:qe(),size:Qe(),bordered:De(),dateRender:Oe(),disabledDate:Oe(),mode:Qe(),picker:Qe(),valueFormat:String,placement:Qe(),status:Qe(),disabledHours:Oe(),disabledMinutes:Oe(),disabledSeconds:Oe()}}function uH(){return{defaultPickerValue:rt([Object,String]),defaultValue:rt([Object,String]),value:rt([Object,String]),presets:kt(),disabledTime:Oe(),renderExtraFooter:Oe(),showNow:De(),monthCellRender:Oe(),monthCellContentRender:Oe()}}function dH(){return{allowEmpty:kt(),dateRender:Oe(),defaultPickerValue:kt(),defaultValue:kt(),value:kt(),presets:kt(),disabledTime:Oe(),disabled:rt([Boolean,Array]),renderExtraFooter:Oe(),separator:{type:String},showTime:rt([Boolean,Object]),ranges:qe(),placeholder:kt(),mode:kt(),onChange:Oe(),"onUpdate:value":Oe(),onCalendarChange:Oe(),onPanelChange:Oe(),onOk:Oe()}}var c$e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function u$e(e,t){function n(c,u){const d=S(S(S({},j0()),uH()),t);return pe({compatConfig:{MODE:3},name:u,inheritAttrs:!1,props:d,slots:Object,setup(f,h){let{slots:m,expose:v,attrs:y,emit:b}=h;const $=f,x=co(),_=To.useInject(),{prefixCls:w,direction:I,getPopupContainer:O,size:P,rootPrefixCls:E,disabled:R}=Ve("picker",$),{compactSize:A,compactItemClassnames:N}=Ms(w,I),F=M(()=>A.value||P.value),[W,D]=HB(w),B=he();v({focus:()=>{var fe;(fe=B.value)===null||fe===void 0||fe.focus()},blur:()=>{var fe;(fe=B.value)===null||fe===void 0||fe.blur()}});const k=fe=>$.valueFormat?e.toString(fe,$.valueFormat):fe,L=(fe,ie)=>{const X=k(fe);b("update:value",X),b("change",X,ie),x.onFieldChange()},z=fe=>{b("update:open",fe),b("openChange",fe)},K=fe=>{b("focus",fe)},G=fe=>{b("blur",fe),x.onFieldBlur()},Y=(fe,ie)=>{const X=k(fe);b("panelChange",X,ie)},ne=fe=>{const ie=k(fe);b("ok",ie)},[re]=Wi("DatePicker",th),J=M(()=>$.value?$.valueFormat?e.toDate($.value,$.valueFormat):$.value:$.value===""?void 0:$.value),te=M(()=>$.defaultValue?$.valueFormat?e.toDate($.defaultValue,$.valueFormat):$.defaultValue:$.defaultValue===""?void 0:$.defaultValue),ee=M(()=>$.defaultPickerValue?$.valueFormat?e.toDate($.defaultPickerValue,$.valueFormat):$.defaultPickerValue:$.defaultPickerValue===""?void 0:$.defaultPickerValue);return()=>{var fe,ie,X,ue,ye,H;const j=S(S({},re.value),$.locale),q=S(S({},$),y),{bordered:se=!0,placeholder:ae,suffixIcon:ge=(fe=m.suffixIcon)===null||fe===void 0?void 0:fe.call(m),showToday:Se=!0,transitionName:$e,allowClear:_e=!0,dateRender:be=m.dateRender,renderExtraFooter:Te=m.renderExtraFooter,monthCellRender:Pe=m.monthCellRender||$.monthCellContentRender||m.monthCellContentRender,clearIcon:oe=(ie=m.clearIcon)===null||ie===void 0?void 0:ie.call(m),id:le=x.id.value}=q,xe=c$e(q,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),Ae=q.showTime===""?!0:q.showTime,{format:Be}=q;let Ye={};c&&(Ye.picker=c);const Re=c||q.picker||"date";Ye=S(S(S({},Ye),Ae?W0(S({format:Be,picker:Re},typeof Ae=="object"?Ae:{})):{}),Re==="time"?W0(S(S({format:Be},xe),{picker:Re})):{});const Le=w.value,Ne=g(Je,null,[ge||g(c==="time"?sH:lH,null,null),_.hasFeedback&&_.feedbackIcon]);return W(g(Eme,V(V(V({monthCellRender:Pe,dateRender:be,renderExtraFooter:Te,ref:B,placeholder:l$e(j,Re,ae),suffixIcon:Ne,dropdownAlign:cH(I.value,$.placement),clearIcon:oe||g(Kr,null,null),allowClear:_e,transitionName:$e||`${E.value}-slide-up`},xe),Ye),{},{id:le,picker:Re,value:J.value,defaultValue:te.value,defaultPickerValue:ee.value,showToday:Se,locale:j.lang,class:me({[`${Le}-${F.value}`]:F.value,[`${Le}-borderless`]:!se},sr(Le,da(_.status,$.status),_.hasFeedback),y.class,D.value,N.value),disabled:R.value,prefixCls:Le,getPopupContainer:y.getCalendarContainer||O.value,generateConfig:e,prevIcon:((X=m.prevIcon)===null||X===void 0?void 0:X.call(m))||g("span",{class:`${Le}-prev-icon`},null),nextIcon:((ue=m.nextIcon)===null||ue===void 0?void 0:ue.call(m))||g("span",{class:`${Le}-next-icon`},null),superPrevIcon:((ye=m.superPrevIcon)===null||ye===void 0?void 0:ye.call(m))||g("span",{class:`${Le}-super-prev-icon`},null),superNextIcon:((H=m.superNextIcon)===null||H===void 0?void 0:H.call(m))||g("span",{class:`${Le}-super-next-icon`},null),components:fH,direction:I.value,dropdownClassName:me(D.value,$.popupClassName,$.dropdownClassName),onChange:L,onOpenChange:z,onFocus:K,onBlur:G,onPanelChange:Y,onOk:ne}),null))}}})}const o=n(void 0,"ADatePicker"),r=n("week","AWeekPicker"),i=n("month","AMonthPicker"),a=n("year","AYearPicker"),l=n("time","TimePicker"),s=n("quarter","AQuarterPicker");return{DatePicker:o,WeekPicker:r,MonthPicker:i,YearPicker:a,TimePicker:l,QuarterPicker:s}}var d$e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const f$e=d$e;function M6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){p$e(e,r,n[r])})}return e}function p$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JO=function(t,n){var o=M6({},t,n.attrs);return g(Ot,M6({},o,{icon:f$e}),null)};JO.displayName="SwapRightOutlined";JO.inheritAttrs=!1;const h$e=JO;var g$e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function v$e(e,t){return pe({compatConfig:{MODE:3},name:"ARangePicker",inheritAttrs:!1,props:S(S(S({},j0()),dH()),t),slots:Object,setup(o,r){let{expose:i,slots:a,attrs:l,emit:s}=r;const c=o,u=co(),d=To.useInject(),{prefixCls:f,direction:h,getPopupContainer:m,size:v,rootPrefixCls:y,disabled:b}=Ve("picker",c),{compactSize:$,compactItemClassnames:x}=Ms(f,h),_=M(()=>$.value||v.value),[w,I]=HB(f),O=he();i({focus:()=>{var K;(K=O.value)===null||K===void 0||K.focus()},blur:()=>{var K;(K=O.value)===null||K===void 0||K.blur()}});const P=K=>c.valueFormat?e.toString(K,c.valueFormat):K,E=(K,G)=>{const Y=P(K);s("update:value",Y),s("change",Y,G),u.onFieldChange()},R=K=>{s("update:open",K),s("openChange",K)},A=K=>{s("focus",K)},N=K=>{s("blur",K),u.onFieldBlur()},F=(K,G)=>{const Y=P(K);s("panelChange",Y,G)},W=K=>{const G=P(K);s("ok",G)},D=(K,G,Y)=>{const ne=P(K);s("calendarChange",ne,G,Y)},[B]=Wi("DatePicker",th),k=M(()=>c.value&&c.valueFormat?e.toDate(c.value,c.valueFormat):c.value),L=M(()=>c.defaultValue&&c.valueFormat?e.toDate(c.defaultValue,c.valueFormat):c.defaultValue),z=M(()=>c.defaultPickerValue&&c.valueFormat?e.toDate(c.defaultPickerValue,c.valueFormat):c.defaultPickerValue);return()=>{var K,G,Y,ne,re,J,te;const ee=S(S({},B.value),c.locale),fe=S(S({},c),l),{prefixCls:ie,bordered:X=!0,placeholder:ue,suffixIcon:ye=(K=a.suffixIcon)===null||K===void 0?void 0:K.call(a),picker:H="date",transitionName:j,allowClear:q=!0,dateRender:se=a.dateRender,renderExtraFooter:ae=a.renderExtraFooter,separator:ge=(G=a.separator)===null||G===void 0?void 0:G.call(a),clearIcon:Se=(Y=a.clearIcon)===null||Y===void 0?void 0:Y.call(a),id:$e=u.id.value}=fe,_e=g$e(fe,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete _e["onUpdate:value"],delete _e["onUpdate:open"];const{format:be,showTime:Te}=fe;let Pe={};Pe=S(S(S({},Pe),Te?W0(S({format:be,picker:H},Te)):{}),H==="time"?W0(S(S({format:be},_t(_e,["disabledTime"])),{picker:H})):{});const oe=f.value,le=g(Je,null,[ye||g(H==="time"?sH:lH,null,null),d.hasFeedback&&d.feedbackIcon]);return w(g(zme,V(V(V({dateRender:se,renderExtraFooter:ae,separator:ge||g("span",{"aria-label":"to",class:`${oe}-separator`},[g(h$e,null,null)]),ref:O,dropdownAlign:cH(h.value,c.placement),placeholder:s$e(ee,H,ue),suffixIcon:le,clearIcon:Se||g(Kr,null,null),allowClear:q,transitionName:j||`${y.value}-slide-up`},_e),Pe),{},{disabled:b.value,id:$e,value:k.value,defaultValue:L.value,defaultPickerValue:z.value,picker:H,class:me({[`${oe}-${_.value}`]:_.value,[`${oe}-borderless`]:!X},sr(oe,da(d.status,c.status),d.hasFeedback),l.class,I.value,x.value),locale:ee.lang,prefixCls:oe,getPopupContainer:l.getCalendarContainer||m.value,generateConfig:e,prevIcon:((ne=a.prevIcon)===null||ne===void 0?void 0:ne.call(a))||g("span",{class:`${oe}-prev-icon`},null),nextIcon:((re=a.nextIcon)===null||re===void 0?void 0:re.call(a))||g("span",{class:`${oe}-next-icon`},null),superPrevIcon:((J=a.superPrevIcon)===null||J===void 0?void 0:J.call(a))||g("span",{class:`${oe}-super-prev-icon`},null),superNextIcon:((te=a.superNextIcon)===null||te===void 0?void 0:te.call(a))||g("span",{class:`${oe}-super-next-icon`},null),components:fH,direction:h.value,dropdownClassName:me(I.value,c.popupClassName,c.dropdownClassName),onChange:E,onOpenChange:R,onFocus:A,onBlur:N,onPanelChange:F,onOk:W,onCalendarChange:D}),null))}}})}const fH={button:YCe,rangeItem:e$e};function m$e(e){return e?Array.isArray(e)?e:[e]:[]}function W0(e){const{format:t,picker:n,showHour:o,showMinute:r,showSecond:i,use12Hours:a}=e,l=m$e(t)[0],s=S({},e);return l&&typeof l=="string"&&(!l.includes("s")&&i===void 0&&(s.showSecond=!1),!l.includes("m")&&r===void 0&&(s.showMinute=!1),!l.includes("H")&&!l.includes("h")&&o===void 0&&(s.showHour=!1),(l.includes("a")||l.includes("A"))&&a===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof l=="function"&&delete s.format,{showTime:s})}function pH(e,t){const{DatePicker:n,WeekPicker:o,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:l}=u$e(e,t),s=v$e(e,t);return{DatePicker:n,WeekPicker:o,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:l,RangePicker:s}}const{DatePicker:TC,WeekPicker:xm,MonthPicker:wm,YearPicker:b$e,TimePicker:y$e,QuarterPicker:_m,RangePicker:Om}=pH(oO),S$e=S(TC,{WeekPicker:xm,MonthPicker:wm,YearPicker:b$e,RangePicker:Om,TimePicker:y$e,QuarterPicker:_m,install:e=>(e.component(TC.name,TC),e.component(Om.name,Om),e.component(wm.name,wm),e.component(xm.name,xm),e.component(_m.name,_m),e)});function Bv(e){return e!=null}const C$e=e=>{const{itemPrefixCls:t,component:n,span:o,labelStyle:r,contentStyle:i,bordered:a,label:l,content:s,colon:c}=e,u=n;return a?g(u,{class:[{[`${t}-item-label`]:Bv(l),[`${t}-item-content`]:Bv(s)}],colSpan:o},{default:()=>[Bv(l)&&g("span",{style:r},[l]),Bv(s)&&g("span",{style:i},[s])]}):g(u,{class:[`${t}-item`],colSpan:o},{default:()=>[g("div",{class:`${t}-item-container`},[(l||l===0)&&g("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!c}],style:r},[l]),(s||s===0)&&g("span",{class:`${t}-item-content`,style:i},[s])])]})},EC=C$e,$$e=e=>{const t=(c,u,d)=>{let{colon:f,prefixCls:h,bordered:m}=u,{component:v,type:y,showLabel:b,showContent:$,labelStyle:x,contentStyle:_}=d;return c.map((w,I)=>{var O,P;const E=w.props||{},{prefixCls:R=h,span:A=1,labelStyle:N=E["label-style"],contentStyle:F=E["content-style"],label:W=(P=(O=w.children)===null||O===void 0?void 0:O.label)===null||P===void 0?void 0:P.call(O)}=E,D=kb(w),B=Wee(w),k=HN(w),{key:L}=w;return typeof v=="string"?g(EC,{key:`${y}-${String(L)||I}`,class:B,style:k,labelStyle:S(S({},x),N),contentStyle:S(S({},_),F),span:A,colon:f,component:v,itemPrefixCls:R,bordered:m,label:b?W:null,content:$?D:null},null):[g(EC,{key:`label-${String(L)||I}`,class:B,style:S(S(S({},x),k),N),span:1,colon:f,component:v[0],itemPrefixCls:R,bordered:m,label:W},null),g(EC,{key:`content-${String(L)||I}`,class:B,style:S(S(S({},_),k),F),span:A*2-1,component:v[1],itemPrefixCls:R,bordered:m,content:D},null)]})},{prefixCls:n,vertical:o,row:r,index:i,bordered:a}=e,{labelStyle:l,contentStyle:s}=it(vH,{labelStyle:he({}),contentStyle:he({})});return o?g(Je,null,[g("tr",{key:`label-${i}`,class:`${n}-row`},[t(r,e,{component:"th",type:"label",showLabel:!0,labelStyle:l.value,contentStyle:s.value})]),g("tr",{key:`content-${i}`,class:`${n}-row`},[t(r,e,{component:"td",type:"content",showContent:!0,labelStyle:l.value,contentStyle:s.value})])]):g("tr",{key:i,class:`${n}-row`},[t(r,e,{component:a?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:l.value,contentStyle:s.value})])},x$e=$$e,w$e=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:o,descriptionsMiddlePadding:r,descriptionsBg:i}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:o,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:i,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:r}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},_$e=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:o,descriptionsItemLabelColonMarginRight:r,descriptionsItemLabelColonMarginLeft:i,descriptionsTitleMarginBottom:a}=e;return{[t]:S(S(S({},vt(e)),w$e(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:a},[`${t}-title`]:S(S({},eo),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${i}px ${r}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},O$e=pt("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,o=e.colorText,r=`${e.paddingXS}px ${e.padding}px`,i=`${e.padding}px ${e.paddingLG}px`,a=`${e.paddingSM}px ${e.paddingLG}px`,l=e.padding,s=e.marginXS,c=e.marginXXS/2,u=nt(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:o,descriptionItemPaddingBottom:l,descriptionsSmallPadding:r,descriptionsDefaultPadding:i,descriptionsMiddlePadding:a,descriptionsItemLabelColonMarginRight:s,descriptionsItemLabelColonMarginLeft:c});return[_$e(u)]});Z.any;const I$e=()=>({prefixCls:String,label:Z.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),hH=pe({compatConfig:{MODE:3},name:"ADescriptionsItem",props:I$e(),setup(e,t){let{slots:n}=t;return()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),gH={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function P$e(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;n<pl.length;n++){const o=pl[n];if(t[o]&&e[o]!==void 0)return e[o]||gH[o]}return 3}function R6(e,t,n){let o=e;return(n===void 0||n>t)&&(o=Gt(e,{span:t}),Sn()),o}function T$e(e,t){const n=ln(e),o=[];let r=[],i=t;return n.forEach((a,l)=>{var s;const c=(s=a.props)===null||s===void 0?void 0:s.span,u=c||1;if(l===n.length-1){r.push(R6(a,i,c)),o.push(r);return}u<i?(i-=u,r.push(a)):(r.push(R6(a,i,u)),o.push(r),i=t,r=[])}),o}const E$e=()=>({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:Z.any,extra:Z.any,column:{type:[Number,Object],default:()=>gH},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),vH=Symbol("descriptionsContext"),Uu=pe({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:E$e(),slots:Object,Item:hH,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("descriptions",e);let a;const l=he({}),[s,c]=O$e(r),u=j_();Dh(()=>{a=u.value.subscribe(f=>{typeof e.column=="object"&&(l.value=f)})}),Ct(()=>{u.value.unsubscribe(a)}),ft(vH,{labelStyle:st(e,"labelStyle"),contentStyle:st(e,"contentStyle")});const d=M(()=>P$e(e.column,l.value));return()=>{var f,h,m;const{size:v,bordered:y=!1,layout:b="horizontal",colon:$=!0,title:x=(f=n.title)===null||f===void 0?void 0:f.call(n),extra:_=(h=n.extra)===null||h===void 0?void 0:h.call(n)}=e,w=(m=n.default)===null||m===void 0?void 0:m.call(n),I=T$e(w,d.value);return s(g("div",V(V({},o),{},{class:[r.value,{[`${r.value}-${v}`]:v!=="default",[`${r.value}-bordered`]:!!y,[`${r.value}-rtl`]:i.value==="rtl"},o.class,c.value]}),[(x||_)&&g("div",{class:`${r.value}-header`},[x&&g("div",{class:`${r.value}-title`},[x]),_&&g("div",{class:`${r.value}-extra`},[_])]),g("div",{class:`${r.value}-view`},[g("table",null,[g("tbody",null,[I.map((O,P)=>g(x$e,{key:P,index:P,colon:$,prefixCls:r.value,vertical:b==="vertical",bordered:y,row:O},null))])])])]))}}});Uu.install=function(e){return e.component(Uu.name,Uu),e.component(Uu.Item.name,Uu.Item),e};const A$e=Uu,M$e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r}=e;return{[t]:S(S({},vt(e)),{borderBlockStart:`${r}px solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${r}px solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${r}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${r}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},R$e=pt("Divider",e=>{const t=nt(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[M$e(t)]},{sizePaddingEdgeHorizontal:0}),D$e=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),L$e=pe({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:D$e(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("divider",e),[a,l]=R$e(r),s=M(()=>e.orientation==="left"&&e.orientationMargin!=null),c=M(()=>e.orientation==="right"&&e.orientationMargin!=null),u=M(()=>{const{type:h,dashed:m,plain:v}=e,y=r.value;return{[y]:!0,[l.value]:!!l.value,[`${y}-${h}`]:!0,[`${y}-dashed`]:!!m,[`${y}-plain`]:!!v,[`${y}-rtl`]:i.value==="rtl",[`${y}-no-default-orientation-margin-left`]:s.value,[`${y}-no-default-orientation-margin-right`]:c.value}}),d=M(()=>{const h=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return S(S({},s.value&&{marginLeft:h}),c.value&&{marginRight:h})}),f=M(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var h;const m=ln((h=n.default)===null||h===void 0?void 0:h.call(n));return a(g("div",V(V({},o),{},{class:[u.value,m.length?`${r.value}-with-text ${r.value}-with-text${f.value}`:"",o.class],role:"separator"}),[m.length?g("span",{class:`${r.value}-inner-text`,style:d.value},[m]):null]))}}}),N$e=$n(L$e);Ta.Button=fh;Ta.install=function(e){return e.component(Ta.name,Ta),e.component(fh.name,fh),e};const mH=()=>({prefixCls:String,width:Z.oneOfType([Z.string,Z.number]),height:Z.oneOfType([Z.string,Z.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:qe(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:kt(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:Oe(),maskMotion:qe()}),k$e=()=>S(S({},mH()),{forceRender:{type:Boolean,default:void 0},getContainer:Z.oneOfType([Z.string,Z.func,Z.object,Z.looseBool])}),B$e=()=>S(S({},mH()),{getContainer:Function,getOpenCount:Function,scrollLocker:Z.any,inline:Boolean});function F$e(e){return Array.isArray(e)?e:[e]}const H$e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(H$e).filter(e=>{if(typeof document>"u")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const z$e=!(typeof window<"u"&&window.document&&window.document.createElement);var j$e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const W$e=pe({compatConfig:{MODE:3},inheritAttrs:!1,props:B$e(),emits:["close","handleClick","change"],setup(e,t){let{emit:n,slots:o}=t;const r=ve(),i=ve(),a=ve(),l=ve(),s=ve();let c=[];`${Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)}`,lt(()=>{wt(()=>{var b;const{open:$,getContainer:x,showMask:_,autofocus:w}=e,I=x==null?void 0:x();m(e),$&&(I&&(I.parentNode,document.body),wt(()=>{w&&u()}),_&&((b=e.scrollLocker)===null||b===void 0||b.lock()))})}),Ie(()=>e.level,()=>{m(e)},{flush:"post"}),Ie(()=>e.open,()=>{const{open:b,getContainer:$,scrollLocker:x,showMask:_,autofocus:w}=e,I=$==null?void 0:$();I&&(I.parentNode,document.body),b?(w&&u(),_&&(x==null||x.lock())):x==null||x.unLock()},{flush:"post"}),Fo(()=>{var b;const{open:$}=e;$&&(document.body.style.touchAction=""),(b=e.scrollLocker)===null||b===void 0||b.unLock()}),Ie(()=>e.placement,b=>{b&&(s.value=null)});const u=()=>{var b,$;($=(b=i.value)===null||b===void 0?void 0:b.focus)===null||$===void 0||$.call(b)},d=b=>{n("close",b)},f=b=>{b.keyCode===Fe.ESC&&(b.stopPropagation(),d(b))},h=()=>{const{open:b,afterVisibleChange:$}=e;$&&$(!!b)},m=b=>{let{level:$,getContainer:x}=b;if(z$e)return;const _=x==null?void 0:x(),w=_?_.parentNode:null;c=[],$==="all"?(w?Array.prototype.slice.call(w.children):[]).forEach(O=>{O.nodeName!=="SCRIPT"&&O.nodeName!=="STYLE"&&O.nodeName!=="LINK"&&O!==_&&c.push(O)}):$&&F$e($).forEach(I=>{document.querySelectorAll(I).forEach(O=>{c.push(O)})})},v=b=>{n("handleClick",b)},y=ve(!1);return Ie(i,()=>{wt(()=>{y.value=!0})}),()=>{var b,$;const{width:x,height:_,open:w,prefixCls:I,placement:O,level:P,levelMove:E,ease:R,duration:A,getContainer:N,onChange:F,afterVisibleChange:W,showMask:D,maskClosable:B,maskStyle:k,keyboard:L,getOpenCount:z,scrollLocker:K,contentWrapperStyle:G,style:Y,class:ne,rootClassName:re,rootStyle:J,maskMotion:te,motion:ee,inline:fe}=e,ie=j$e(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),X=w&&y.value,ue=me(I,{[`${I}-${O}`]:!0,[`${I}-open`]:X,[`${I}-inline`]:fe,"no-mask":!D,[re]:!0}),ye=typeof ee=="function"?ee(O):ee;return g("div",V(V({},_t(ie,["autofocus"])),{},{tabindex:-1,class:ue,style:J,ref:i,onKeydown:X&&L?f:void 0}),[g(so,te,{default:()=>[D&&Ln(g("div",{class:`${I}-mask`,onClick:B?d:void 0,style:k,ref:a},null),[[Bo,X]])]}),g(so,V(V({},ye),{},{onAfterEnter:h,onAfterLeave:h}),{default:()=>[Ln(g("div",{class:`${I}-content-wrapper`,style:[G],ref:r},[g("div",{class:[`${I}-content`,ne],style:Y,ref:s},[(b=o.default)===null||b===void 0?void 0:b.call(o)]),o.handler?g("div",{onClick:v,ref:l},[($=o.handler)===null||$===void 0?void 0:$.call(o)]):null]),[[Bo,X]])]})])}}}),D6=W$e;var L6=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const V$e=pe({compatConfig:{MODE:3},inheritAttrs:!1,props:bt(k$e(),{prefixCls:"drawer",placement:"left",getContainer:"body",level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",afterVisibleChange:()=>{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:o}=t;const r=he(null),i=l=>{n("handleClick",l)},a=l=>{n("close",l)};return()=>{const{getContainer:l,wrapperClassName:s,rootClassName:c,rootStyle:u,forceRender:d}=e,f=L6(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let h=null;if(!l)return g(D6,V(V({},f),{},{rootClassName:c,rootStyle:u,open:e.open,onClose:a,onHandleClick:i,inline:!0}),o);const m=!!o.handler||d;return(m||e.open||r.value)&&(h=g(Hh,{autoLock:!0,visible:e.open,forceRender:m,getContainer:l,wrapperClassName:s},{default:v=>{var{visible:y,afterClose:b}=v,$=L6(v,["visible","afterClose"]);return g(D6,V(V(V({ref:r},f),$),{},{rootClassName:c,rootStyle:u,open:y!==void 0?y:e.open,afterVisibleChange:b!==void 0?b:e.afterVisibleChange,onClose:a,onHandleClick:i}),o)}})),h}}}),K$e=V$e,U$e=e=>{const{componentCls:t,motionDurationSlow:n}=e,o={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[o,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[o,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[o,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[o,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},G$e=U$e,Y$e=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:o,colorBgElevated:r,motionDurationSlow:i,motionDurationMid:a,padding:l,paddingLG:s,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:f,colorSplit:h,marginSM:m,colorIcon:v,colorIconHover:y,colorText:b,fontWeightStrong:$,drawerFooterPaddingVertical:x,drawerFooterPaddingHorizontal:_}=e,w=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:r,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto"},[w]:{position:"absolute",zIndex:n,transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${w}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${w}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${w}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${w}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${f} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:m,color:v,fontWeight:$,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:y,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:b,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${x}px ${_}px`,borderTop:`${d}px ${f} ${h}`},"&-rtl":{direction:"rtl"}}}},X$e=pt("Drawer",e=>{const t=nt(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[Y$e(t),G$e(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var q$e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Z$e=["top","right","bottom","left"],N6={distance:180},Q$e=()=>({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:Z.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:qe(),rootClassName:String,rootStyle:qe(),size:{type:String},drawerStyle:qe(),headerStyle:qe(),bodyStyle:qe(),contentWrapperStyle:{type:Object,default:void 0},title:Z.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:Z.oneOfType([Z.string,Z.number]),height:Z.oneOfType([Z.string,Z.number]),zIndex:Number,prefixCls:String,push:Z.oneOfType([Z.looseBool,{type:Object}]),placement:Z.oneOf(Z$e),keyboard:{type:Boolean,default:void 0},extra:Z.any,footer:Z.any,footerStyle:qe(),level:Z.any,levelMove:{type:[Number,Array,Function]},handle:Z.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),J$e=pe({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:bt(Q$e(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:N6}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const i=ve(!1),a=ve(!1),l=ve(null),s=ve(!1),c=ve(!1),u=M(()=>{var z;return(z=e.open)!==null&&z!==void 0?z:e.visible});Ie(u,()=>{u.value?s.value=!0:c.value=!1},{immediate:!0}),Ie([u,s],()=>{u.value&&s.value&&(c.value=!0)},{immediate:!0});const d=it("parentDrawerOpts",null),{prefixCls:f,getPopupContainer:h,direction:m}=Ve("drawer",e),[v,y]=X$e(f),b=M(()=>e.getContainer===void 0&&(h!=null&&h.value)?()=>h.value(document.body):e.getContainer);pn(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),ft("parentDrawerOpts",{setPush:()=>{i.value=!0},setPull:()=>{i.value=!1,wt(()=>{_()})}}),lt(()=>{u.value&&d&&d.setPush()}),Fo(()=>{d&&d.setPull()}),Ie(c,()=>{d&&(c.value?d.setPush():d.setPull())},{flush:"post"});const _=()=>{var z,K;(K=(z=l.value)===null||z===void 0?void 0:z.domFocus)===null||K===void 0||K.call(z)},w=z=>{n("update:visible",!1),n("update:open",!1),n("close",z)},I=z=>{var K;z||(a.value===!1&&(a.value=!0),e.destroyOnClose&&(s.value=!1)),(K=e.afterVisibleChange)===null||K===void 0||K.call(e,z),n("afterVisibleChange",z),n("afterOpenChange",z)},O=M(()=>{const{push:z,placement:K}=e;let G;return typeof z=="boolean"?G=z?N6.distance:0:G=z.distance,G=parseFloat(String(G||0)),K==="left"||K==="right"?`translateX(${K==="left"?G:-G}px)`:K==="top"||K==="bottom"?`translateY(${K==="top"?G:-G}px)`:null}),P=M(()=>{var z;return(z=e.width)!==null&&z!==void 0?z:e.size==="large"?736:378}),E=M(()=>{var z;return(z=e.height)!==null&&z!==void 0?z:e.size==="large"?736:378}),R=M(()=>{const{mask:z,placement:K}=e;if(!c.value&&!z)return{};const G={};return K==="left"||K==="right"?G.width=O0(P.value)?`${P.value}px`:P.value:G.height=O0(E.value)?`${E.value}px`:E.value,G}),A=M(()=>{const{zIndex:z,contentWrapperStyle:K}=e,G=R.value;return[{zIndex:z,transform:i.value?O.value:void 0},S({},K),G]}),N=z=>{const{closable:K,headerStyle:G}=e,Y=lo(o,e,"extra"),ne=lo(o,e,"title");return!ne&&!K?null:g("div",{class:me(`${z}-header`,{[`${z}-header-close-only`]:K&&!ne&&!Y}),style:G},[g("div",{class:`${z}-header-title`},[F(z),ne&&g("div",{class:`${z}-title`},[ne])]),Y&&g("div",{class:`${z}-extra`},[Y])])},F=z=>{var K;const{closable:G}=e,Y=o.closeIcon?(K=o.closeIcon)===null||K===void 0?void 0:K.call(o):e.closeIcon;return G&&g("button",{key:"closer",onClick:w,"aria-label":"Close",class:`${z}-close`},[Y===void 0?g(Vr,null,null):Y])},W=z=>{var K;if(a.value&&!e.forceRender&&!s.value)return null;const{bodyStyle:G,drawerStyle:Y}=e;return g("div",{class:`${z}-wrapper-body`,style:Y},[N(z),g("div",{key:"body",class:`${z}-body`,style:G},[(K=o.default)===null||K===void 0?void 0:K.call(o)]),D(z)])},D=z=>{const K=lo(o,e,"footer");if(!K)return null;const G=`${z}-footer`;return g("div",{class:G,style:e.footerStyle},[K])},B=M(()=>me({"no-mask":!e.mask,[`${f.value}-rtl`]:m.value==="rtl"},e.rootClassName,y.value)),k=M(()=>Hi(dr(f.value,"mask-motion"))),L=z=>Hi(dr(f.value,`panel-motion-${z}`));return()=>{const{width:z,height:K,placement:G,mask:Y,forceRender:ne}=e,re=q$e(e,["width","height","placement","mask","forceRender"]),J=S(S(S({},r),_t(re,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:ne,onClose:w,afterVisibleChange:I,handler:!1,prefixCls:f.value,open:c.value,showMask:Y,placement:G,ref:l});return v(g(dh,null,{default:()=>[g(K$e,V(V({},J),{},{maskMotion:k.value,motion:L,width:P.value,height:E.value,getContainer:b.value,rootClassName:B.value,rootStyle:e.rootStyle,contentWrapperStyle:A.value}),{handler:e.handle?()=>e.handle:o.handle,default:()=>W(f.value)})]}))}}}),exe=$n(J$e);var txe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const nxe=txe;function k6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){oxe(e,r,n[r])})}return e}function oxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eI=function(t,n){var o=k6({},t,n.attrs);return g(Ot,k6({},o,{icon:nxe}),null)};eI.displayName="FileTextOutlined";eI.inheritAttrs=!1;const bH=eI,tI=()=>({prefixCls:String,description:Z.any,type:Qe("default"),shape:Qe("circle"),tooltip:Z.any,href:String,target:Oe(),badge:qe(),onClick:Oe()}),rxe=()=>({prefixCls:Qe()}),ixe=()=>S(S({},tI()),{trigger:Qe(),open:De(),onOpenChange:Oe(),"onUpdate:open":Oe()}),axe=()=>S(S({},tI()),{prefixCls:String,duration:Number,target:Oe(),visibilityHeight:Number,onClick:Oe()}),lxe=pe({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:rxe(),setup(e,t){let{attrs:n,slots:o}=t;return()=>{var r;const{prefixCls:i}=e,a=_n((r=o.description)===null||r===void 0?void 0:r.call(o));return g("div",V(V({},n),{},{class:[n.class,`${i}-content`]}),[o.icon||a.length?g(Je,null,[o.icon&&g("div",{class:`${i}-icon`},[o.icon()]),a.length?g("div",{class:`${i}-description`},[a]):null]):g("div",{class:`${i}-icon`},[g(bH,null,null)])])}}}),sxe=lxe,yH=Symbol("floatButtonGroupContext"),cxe=e=>(ft(yH,e),e),SH=()=>it(yH,{shape:he()}),B6=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),uxe=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:o,motionEaseInOutCirc:r}=e,i=`${t}-group`,a=new Pt("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new Pt("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:S({},Vh(`${i}-wrap`,a,l,o,!0))},{[`${i}-wrap`]:{[`
+ &${i}-wrap-enter,
+ &${i}-wrap-appear
+ `]:{opacity:0,animationTimingFunction:r},[`&${i}-wrap-leave`]:{animationTimingFunction:r}}}]},dxe=e=>{const{antCls:t,componentCls:n,floatButtonSize:o,margin:r,borderRadiusLG:i,borderRadiusSM:a,badgeOffset:l,floatButtonBodyPadding:s}=e,c=`${n}-group`;return{[c]:S(S({},vt(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:o,height:"auto",boxShadow:"none",minHeight:o,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:i,[`${c}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:r},[`&${c}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${c}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:o,height:o,borderRadius:"50%"}}},[`${c}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:-(s+l),insetInlineEnd:-(s+l)}}},[`${c}-wrap`]:{display:"block",borderRadius:i,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:s,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${c}-circle-shadow`]:{boxShadow:"none"},[`${c}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:s,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},fxe=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:o,floatButtonIconSize:r,floatButtonSize:i,borderRadiusLG:a,badgeOffset:l,dotOffsetInSquare:s,dotOffsetInCircle:c}=e;return{[n]:S(S({},vt(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-l,insetInlineEnd:-l}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${o/2}px ${o}px`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:r,fontSize:r,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:c,insetInlineEnd:c}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:i,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:s,insetInlineEnd:s}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},nI=pt("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:o,marginXXL:r,marginLG:i,fontSize:a,fontSizeIcon:l,controlItemBgHover:s,paddingXXS:c,borderRadiusLG:u}=e,d=nt(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:s,floatButtonFontSize:a,floatButtonIconSize:l*1.5,floatButtonSize:o,floatButtonInsetBlockEnd:r,floatButtonInsetInlineEnd:i,floatButtonBodySize:o-c*2,floatButtonBodyPadding:c,badgeOffset:c*1.5,dotOffsetInCircle:B6(o/2),dotOffsetInSquare:B6(u)});return[dxe(d),fxe(d),E_(e),uxe(d)]});var pxe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const oI="float-btn",hxe=pe({compatConfig:{MODE:3},name:"AFloatButton",inheritAttrs:!1,props:bt(tI(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:i}=Ve(oI,e),[a,l]=nI(r),{shape:s}=SH(),c=he(null),u=M(()=>(s==null?void 0:s.value)||e.shape);return()=>{var d;const{prefixCls:f,type:h="default",shape:m="circle",description:v=(d=o.description)===null||d===void 0?void 0:d.call(o),tooltip:y,badge:b={}}=e,$=pxe(e,["prefixCls","type","shape","description","tooltip","badge"]),x=me(r.value,`${r.value}-${h}`,`${r.value}-${u.value}`,{[`${r.value}-rtl`]:i.value==="rtl"},n.class,l.value),_=g(Br,{placement:"left"},{title:o.tooltip||y?()=>o.tooltip&&o.tooltip()||y:void 0,default:()=>g(xp,b,{default:()=>[g("div",{class:`${r.value}-body`},[g(sxe,{prefixCls:r.value},{icon:o.icon,description:()=>v})])]})});return a(e.href?g("a",V(V(V({ref:c},n),$),{},{class:x}),[_]):g("button",V(V(V({ref:c},n),$),{},{class:x,type:"button"}),[_]))}}}),Ss=hxe,gxe=pe({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:bt(ixe(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:o,emit:r}=t;const{prefixCls:i,direction:a}=Ve(oI,e),[l,s]=nI(i),[c,u]=yn(!1,{value:M(()=>e.open)}),d=he(null),f=he(null);cxe({shape:M(()=>e.shape)});const h={onMouseenter(){var b;u(!0),r("update:open",!0),(b=e.onOpenChange)===null||b===void 0||b.call(e,!0)},onMouseleave(){var b;u(!1),r("update:open",!1),(b=e.onOpenChange)===null||b===void 0||b.call(e,!1)}},m=M(()=>e.trigger==="hover"?h:{}),v=()=>{var b;const $=!c.value;r("update:open",$),(b=e.onOpenChange)===null||b===void 0||b.call(e,$),u($)},y=b=>{var $,x,_;if(!(($=d.value)===null||$===void 0)&&$.contains(b.target)){!((x=Nr(f.value))===null||x===void 0)&&x.contains(b.target)&&v();return}u(!1),r("update:open",!1),(_=e.onOpenChange)===null||_===void 0||_.call(e,!1)};return Ie(M(()=>e.trigger),b=>{ur()&&(document.removeEventListener("click",y),b==="click"&&document.addEventListener("click",y))},{immediate:!0}),Ct(()=>{document.removeEventListener("click",y)}),()=>{var b;const{shape:$="circle",type:x="default",tooltip:_,description:w,trigger:I}=e,O=`${i.value}-group`,P=me(O,s.value,n.class,{[`${O}-rtl`]:a.value==="rtl",[`${O}-${$}`]:$,[`${O}-${$}-shadow`]:!I}),E=me(s.value,`${O}-wrap`),R=Hi(`${O}-wrap`);return l(g("div",V(V({ref:d},n),{},{class:P},m.value),[I&&["click","hover"].includes(I)?g(Je,null,[g(so,R,{default:()=>[Ln(g("div",{class:E},[o.default&&o.default()]),[[Bo,c.value]])]}),g(Ss,{ref:f,type:x,shape:$,tooltip:_,description:w},{icon:()=>{var A,N;return c.value?((A=o.closeIcon)===null||A===void 0?void 0:A.call(o))||g(Vr,null,null):((N=o.icon)===null||N===void 0?void 0:N.call(o))||g(bH,null,null)},tooltip:o.tooltip,description:o.description})]):(b=o.default)===null||b===void 0?void 0:b.call(o)]))}}}),V0=gxe;var vxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const mxe=vxe;function F6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){bxe(e,r,n[r])})}return e}function bxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rI=function(t,n){var o=F6({},t,n.attrs);return g(Ot,F6({},o,{icon:mxe}),null)};rI.displayName="VerticalAlignTopOutlined";rI.inheritAttrs=!1;const yxe=rI,Sxe=pe({compatConfig:{MODE:3},name:"ABackTop",inheritAttrs:!1,props:bt(axe(),{visibilityHeight:400,target:()=>window,duration:450,type:"default",shape:"circle"}),setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:i,direction:a}=Ve(oI,e),[l]=nI(i),s=he(),c=St({visible:e.visibilityHeight===0,scrollEvent:null}),u=()=>s.value&&s.value.ownerDocument?s.value.ownerDocument:window,d=y=>{const{target:b=u,duration:$}=e;F2(0,{getContainer:b,duration:$}),r("click",y)},f=V$(y=>{const{visibilityHeight:b}=e,$=B2(y.target,!0);c.visible=$>=b}),h=()=>{const{target:y}=e,$=(y||u)();f({target:$}),$==null||$.addEventListener("scroll",f)},m=()=>{const{target:y}=e,$=(y||u)();f.cancel(),$==null||$.removeEventListener("scroll",f)};Ie(()=>e.target,()=>{m(),wt(()=>{h()})}),lt(()=>{wt(()=>{h()})}),Pb(()=>{wt(()=>{h()})}),rN(()=>{m()}),Ct(()=>{m()});const v=SH();return()=>{const{description:y,type:b,shape:$,tooltip:x,badge:_}=e,w=S(S({},o),{shape:(v==null?void 0:v.shape.value)||$,onClick:d,class:{[`${i.value}`]:!0,[`${o.class}`]:o.class,[`${i.value}-rtl`]:a.value==="rtl"},description:y,type:b,tooltip:x,badge:_}),I=Hi("fade");return l(g(so,I,{default:()=>[Ln(g(Ss,V(V({},w),{},{ref:s}),{icon:()=>{var O;return((O=n.icon)===null||O===void 0?void 0:O.call(n))||g(yxe,null,null)}}),[[Bo,c.visible]])]}))}}}),K0=Sxe;Ss.Group=V0;Ss.BackTop=K0;Ss.install=function(e){return e.component(Ss.name,Ss),e.component(V0.name,V0),e.component(K0.name,K0),e};const Ep=e=>e!=null&&(Array.isArray(e)?_n(e).length:!0);function iI(e){return Ep(e.prefix)||Ep(e.suffix)||Ep(e.allowClear)}function Im(e){return Ep(e.addonBefore)||Ep(e.addonAfter)}function Xx(e){return typeof e>"u"||e===null?"":String(e)}function Ap(e,t,n,o){if(!n)return;const r=t;if(t.type==="click"){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0});const i=e.cloneNode(!0);r.target=i,r.currentTarget=i,i.value="",n(r);return}if(o!==void 0){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0}),r.target=e,r.currentTarget=e,e.value=o,n(r);return}n(r)}function CH(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}const Cxe=()=>({addonBefore:Z.any,addonAfter:Z.any,prefix:Z.any,suffix:Z.any,clearIcon:Z.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),$H=()=>S(S({},Cxe()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:Z.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),xH=()=>S(S({},$H()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:Qe("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),$xe=pe({name:"BaseInput",inheritAttrs:!1,props:$H(),setup(e,t){let{slots:n,attrs:o}=t;const r=he(),i=l=>{var s;if(!((s=r.value)===null||s===void 0)&&s.contains(l.target)){const{triggerFocus:c}=e;c==null||c()}},a=()=>{var l;const{allowClear:s,value:c,disabled:u,readonly:d,handleReset:f,suffix:h=n.suffix,prefixCls:m}=e;if(!s)return null;const v=!u&&!d&&c,y=`${m}-clear-icon`,b=((l=n.clearIcon)===null||l===void 0?void 0:l.call(n))||"*";return g("span",{onClick:f,onMousedown:$=>$.preventDefault(),class:me({[`${y}-hidden`]:!v,[`${y}-has-suffix`]:!!h},y),role:"button",tabindex:-1},[b])};return()=>{var l,s;const{focused:c,value:u,disabled:d,allowClear:f,readonly:h,hidden:m,prefixCls:v,prefix:y=(l=n.prefix)===null||l===void 0?void 0:l.call(n),suffix:b=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:$=n.addonAfter,addonBefore:x=n.addonBefore,inputElement:_,affixWrapperClassName:w,wrapperClassName:I,groupClassName:O}=e;let P=Gt(_,{value:u,hidden:m});if(iI({prefix:y,suffix:b,allowClear:f})){const E=`${v}-affix-wrapper`,R=me(E,{[`${E}-disabled`]:d,[`${E}-focused`]:c,[`${E}-readonly`]:h,[`${E}-input-with-clear-btn`]:b&&f&&u},!Im({addonAfter:$,addonBefore:x})&&o.class,w),A=(b||f)&&g("span",{class:`${v}-suffix`},[a(),b]);P=g("span",{class:R,style:o.style,hidden:!Im({addonAfter:$,addonBefore:x})&&m,onMousedown:i,ref:r},[y&&g("span",{class:`${v}-prefix`},[y]),Gt(_,{style:null,value:u,hidden:null}),A])}if(Im({addonAfter:$,addonBefore:x})){const E=`${v}-group`,R=`${E}-addon`,A=me(`${v}-wrapper`,E,I),N=me(`${v}-group-wrapper`,o.class,O);return g("span",{class:N,style:o.style,hidden:m},[g("span",{class:A},[x&&g("span",{class:R},[x]),Gt(P,{style:null,hidden:null}),$&&g("span",{class:R},[$])])])}return P}}});var xxe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const wxe=pe({name:"VCInput",inheritAttrs:!1,props:xH(),setup(e,t){let{slots:n,attrs:o,expose:r,emit:i}=t;const a=ve(e.value===void 0?e.defaultValue:e.value),l=ve(!1),s=ve(),c=ve();Ie(()=>e.value,()=>{a.value=e.value}),Ie(()=>e.disabled,()=>{e.disabled&&(l.value=!1)});const u=O=>{s.value&&CH(s.value,O)};r({focus:u,blur:()=>{var O;(O=s.value)===null||O===void 0||O.blur()},input:s,stateValue:a,setSelectionRange:(O,P,E)=>{var R;(R=s.value)===null||R===void 0||R.setSelectionRange(O,P,E)},select:()=>{var O;(O=s.value)===null||O===void 0||O.select()}});const m=O=>{i("change",O)},v=(O,P)=>{a.value!==O&&(e.value===void 0?a.value=O:wt(()=>{var E;s.value.value!==a.value&&((E=c.value)===null||E===void 0||E.$forceUpdate())}),wt(()=>{P&&P()}))},y=O=>{const{value:P,composing:E}=O.target;if((O.isComposing||E)&&e.lazy||a.value===P)return;const R=O.target.value;Ap(s.value,O,m),v(R)},b=O=>{O.keyCode===13&&i("pressEnter",O),i("keydown",O)},$=O=>{l.value=!0,i("focus",O)},x=O=>{l.value=!1,i("blur",O)},_=O=>{Ap(s.value,O,m),v("",()=>{u()})},w=()=>{var O,P;const{addonBefore:E=n.addonBefore,addonAfter:R=n.addonAfter,disabled:A,valueModifiers:N={},htmlSize:F,autocomplete:W,prefixCls:D,inputClassName:B,prefix:k=(O=n.prefix)===null||O===void 0?void 0:O.call(n),suffix:L=(P=n.suffix)===null||P===void 0?void 0:P.call(n),allowClear:z,type:K="text"}=e,G=_t(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),Y=S(S(S({},G),o),{autocomplete:W,onChange:y,onInput:y,onFocus:$,onBlur:x,onKeydown:b,class:me(D,{[`${D}-disabled`]:A},B,!Im({addonAfter:R,addonBefore:E})&&!iI({prefix:k,suffix:L,allowClear:z})&&o.class),ref:s,key:"ant-input",size:F,type:K});N.lazy&&delete Y.onInput,Y.autofocus||delete Y.autofocus;const ne=g("input",_t(Y,["size"]),null);return Ln(ne,[[nf]])},I=()=>{var O;const{maxlength:P,suffix:E=(O=n.suffix)===null||O===void 0?void 0:O.call(n),showCount:R,prefixCls:A}=e,N=Number(P)>0;if(E||R){const F=[...Xx(a.value)].length,W=typeof R=="object"?R.formatter({count:F,maxlength:P}):`${F}${N?` / ${P}`:""}`;return g(Je,null,[!!R&&g("span",{class:me(`${A}-show-count-suffix`,{[`${A}-show-count-has-suffix`]:!!E})},[W]),E])}return null};return lt(()=>{}),()=>{const{prefixCls:O,disabled:P}=e,E=xxe(e,["prefixCls","disabled"]);return g($xe,V(V(V({},E),o),{},{ref:c,prefixCls:O,inputElement:w(),handleReset:_,value:Xx(a.value),focused:l.value,triggerFocus:u,suffix:I(),disabled:P}),n)}}}),Hy=()=>_t(xH(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),wH=()=>S(S({},_t(Hy(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:Ac(),onCompositionend:Ac(),valueModifiers:Object});var _xe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const uo=pe({compatConfig:{MODE:3},name:"AInput",inheritAttrs:!1,props:Hy(),setup(e,t){let{slots:n,attrs:o,expose:r,emit:i}=t;const a=he(),l=co(),s=To.useInject(),c=M(()=>da(s.status,e.status)),{direction:u,prefixCls:d,size:f,autocomplete:h}=Ve("input",e),{compactSize:m,compactItemClassnames:v}=Ms(d,u),y=M(()=>m.value||f.value),[b,$]=PO(d),x=jr();r({focus:F=>{var W;(W=a.value)===null||W===void 0||W.focus(F)},blur:()=>{var F;(F=a.value)===null||F===void 0||F.blur()},input:a,setSelectionRange:(F,W,D)=>{var B;(B=a.value)===null||B===void 0||B.setSelectionRange(F,W,D)},select:()=>{var F;(F=a.value)===null||F===void 0||F.select()}});const P=he([]),E=()=>{P.value.push(setTimeout(()=>{var F,W,D,B;!((F=a.value)===null||F===void 0)&&F.input&&((W=a.value)===null||W===void 0?void 0:W.input.getAttribute("type"))==="password"&&(!((D=a.value)===null||D===void 0)&&D.input.hasAttribute("value"))&&((B=a.value)===null||B===void 0||B.input.removeAttribute("value"))}))};lt(()=>{E()}),Eb(()=>{P.value.forEach(F=>clearTimeout(F))}),Ct(()=>{P.value.forEach(F=>clearTimeout(F))});const R=F=>{E(),i("blur",F),l.onFieldBlur()},A=F=>{E(),i("focus",F)},N=F=>{i("update:value",F.target.value),i("change",F),i("input",F),l.onFieldChange()};return()=>{var F,W,D,B,k,L;const{hasFeedback:z,feedbackIcon:K}=s,{allowClear:G,bordered:Y=!0,prefix:ne=(F=n.prefix)===null||F===void 0?void 0:F.call(n),suffix:re=(W=n.suffix)===null||W===void 0?void 0:W.call(n),addonAfter:J=(D=n.addonAfter)===null||D===void 0?void 0:D.call(n),addonBefore:te=(B=n.addonBefore)===null||B===void 0?void 0:B.call(n),id:ee=(k=l.id)===null||k===void 0?void 0:k.value}=e,fe=_xe(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),ie=(z||re)&&g(Je,null,[re,z&&K]),X=d.value,ue=iI({prefix:ne,suffix:re})||!!z,ye=n.clearIcon||(()=>g(Kr,null,null));return b(g(wxe,V(V(V({},o),_t(fe,["onUpdate:value","onChange","onInput"])),{},{onChange:N,id:ee,disabled:(L=e.disabled)!==null&&L!==void 0?L:x.value,ref:a,prefixCls:X,autocomplete:h.value,onBlur:R,onFocus:A,prefix:ne,suffix:ie,allowClear:G,addonAfter:J&&g(dh,null,{default:()=>[g(S0,null,{default:()=>[J]})]}),addonBefore:te&&g(dh,null,{default:()=>[g(S0,null,{default:()=>[te]})]}),class:[o.class,v.value],inputClassName:me({[`${X}-sm`]:y.value==="small",[`${X}-lg`]:y.value==="large",[`${X}-rtl`]:u.value==="rtl",[`${X}-borderless`]:!Y},!ue&&sr(X,c.value),$.value),affixWrapperClassName:me({[`${X}-affix-wrapper-sm`]:y.value==="small",[`${X}-affix-wrapper-lg`]:y.value==="large",[`${X}-affix-wrapper-rtl`]:u.value==="rtl",[`${X}-affix-wrapper-borderless`]:!Y},sr(`${X}-affix-wrapper`,c.value,z),$.value),wrapperClassName:me({[`${X}-group-rtl`]:u.value==="rtl"},$.value),groupClassName:me({[`${X}-group-wrapper-sm`]:y.value==="small",[`${X}-group-wrapper-lg`]:y.value==="large",[`${X}-group-wrapper-rtl`]:u.value==="rtl"},sr(`${X}-group-wrapper`,c.value,z),$.value)}),S(S({},n),{clearIcon:ye})))}}}),_H=pe({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i,getPrefixCls:a}=Ve("input-group",e),l=To.useInject();To.useProvide(l,{isFormItemInput:!1});const s=M(()=>a("input")),[c,u]=PO(s),d=M(()=>{const f=r.value;return{[`${f}`]:!0,[u.value]:!0,[`${f}-lg`]:e.size==="large",[`${f}-sm`]:e.size==="small",[`${f}-compact`]:e.compact,[`${f}-rtl`]:i.value==="rtl"}});return()=>{var f;return c(g("span",V(V({},o),{},{class:me(d.value,o.class)}),[(f=n.default)===null||f===void 0?void 0:f.call(n)]))}}});var Oxe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const OH=pe({compatConfig:{MODE:3},name:"AInputSearch",inheritAttrs:!1,props:S(S({},Hy()),{inputPrefixCls:String,enterButton:Z.any,onSearch:{type:Function}}),setup(e,t){let{slots:n,attrs:o,expose:r,emit:i}=t;const a=ve(),l=ve(!1);r({focus:()=>{var w;(w=a.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=a.value)===null||w===void 0||w.blur()}});const u=w=>{i("update:value",w.target.value),w&&w.target&&w.type==="click"&&i("search",w.target.value,w),i("change",w)},d=w=>{var I;document.activeElement===((I=a.value)===null||I===void 0?void 0:I.input)&&w.preventDefault()},f=w=>{var I,O;i("search",(O=(I=a.value)===null||I===void 0?void 0:I.input)===null||O===void 0?void 0:O.stateValue,w)},h=w=>{l.value||e.loading||f(w)},m=w=>{l.value=!0,i("compositionstart",w)},v=w=>{l.value=!1,i("compositionend",w)},{prefixCls:y,getPrefixCls:b,direction:$,size:x}=Ve("input-search",e),_=M(()=>b("input",e.inputPrefixCls));return()=>{var w,I,O,P;const{disabled:E,loading:R,addonAfter:A=(w=n.addonAfter)===null||w===void 0?void 0:w.call(n),suffix:N=(I=n.suffix)===null||I===void 0?void 0:I.call(n)}=e,F=Oxe(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:W=(P=(O=n.enterButton)===null||O===void 0?void 0:O.call(n))!==null&&P!==void 0?P:!1}=e;W=W||W==="";const D=typeof W=="boolean"?g(cy,null,null):null,B=`${y.value}-button`,k=Array.isArray(W)?W[0]:W;let L;const z=k.type&&py(k.type)&&k.type.__ANT_BUTTON;if(z||k.tagName==="button")L=Gt(k,S({onMousedown:d,onClick:f,key:"enterButton"},z?{class:B,size:x.value}:{}),!1);else{const G=D&&!W;L=g(Un,{class:B,type:W?"primary":void 0,size:x.value,disabled:E,key:"enterButton",onMousedown:d,onClick:f,loading:R,icon:G?D:null},{default:()=>[G?null:D||W]})}A&&(L=[L,A]);const K=me(y.value,{[`${y.value}-rtl`]:$.value==="rtl",[`${y.value}-${x.value}`]:!!x.value,[`${y.value}-with-button`]:!!W},o.class);return g(uo,V(V(V({ref:a},_t(F,["onUpdate:value","onSearch","enterButton"])),o),{},{onPressEnter:h,onCompositionstart:m,onCompositionend:v,size:x.value,prefixCls:_.value,addonAfter:L,suffix:N,onChange:u,class:K,disabled:E}),n)}}}),H6=e=>e!=null&&(Array.isArray(e)?_n(e).length:!0);function Ixe(e){return H6(e.addonBefore)||H6(e.addonAfter)}const Pxe=["text","input"],Txe=pe({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:Z.oneOf(Go("text","input")),value:cn(),defaultValue:cn(),allowClear:{type:Boolean,default:void 0},element:cn(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:cn(),prefix:cn(),addonBefore:cn(),addonAfter:cn(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:o}=t;const r=To.useInject(),i=l=>{const{value:s,disabled:c,readonly:u,handleReset:d,suffix:f=n.suffix}=e,h=!c&&!u&&s,m=`${l}-clear-icon`;return g(Kr,{onClick:d,onMousedown:v=>v.preventDefault(),class:me({[`${m}-hidden`]:!h,[`${m}-has-suffix`]:!!f},m),role:"button"},null)},a=(l,s)=>{const{value:c,allowClear:u,direction:d,bordered:f,hidden:h,status:m,addonAfter:v=n.addonAfter,addonBefore:y=n.addonBefore,hashId:b}=e,{status:$,hasFeedback:x}=r;if(!u)return Gt(s,{value:c,disabled:e.disabled});const _=me(`${l}-affix-wrapper`,`${l}-affix-wrapper-textarea-with-clear-btn`,sr(`${l}-affix-wrapper`,da($,m),x),{[`${l}-affix-wrapper-rtl`]:d==="rtl",[`${l}-affix-wrapper-borderless`]:!f,[`${o.class}`]:!Ixe({addonAfter:v,addonBefore:y})&&o.class},b);return g("span",{class:_,style:o.style,hidden:h},[Gt(s,{style:null,value:c,disabled:e.disabled}),i(l)])};return()=>{var l;const{prefixCls:s,inputType:c,element:u=(l=n.element)===null||l===void 0?void 0:l.call(n)}=e;return c===Pxe[0]?a(s,u):null}}}),Exe=`
+ min-height:0 !important;
+ max-height:none !important;
+ height:0 !important;
+ visibility:hidden !important;
+ overflow:hidden !important;
+ position:absolute !important;
+ z-index:-1000 !important;
+ top:0 !important;
+ right:0 !important;
+ pointer-events: none !important;
+`,Axe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],AC={};let Oi;function Mxe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&AC[n])return AC[n];const o=window.getComputedStyle(e),r=o.getPropertyValue("box-sizing")||o.getPropertyValue("-moz-box-sizing")||o.getPropertyValue("-webkit-box-sizing"),i=parseFloat(o.getPropertyValue("padding-bottom"))+parseFloat(o.getPropertyValue("padding-top")),a=parseFloat(o.getPropertyValue("border-bottom-width"))+parseFloat(o.getPropertyValue("border-top-width")),s={sizingStyle:Axe.map(c=>`${c}:${o.getPropertyValue(c)}`).join(";"),paddingSize:i,borderSize:a,boxSizing:r};return t&&n&&(AC[n]=s),s}function Rxe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Oi||(Oi=document.createElement("textarea"),Oi.setAttribute("tab-index","-1"),Oi.setAttribute("aria-hidden","true"),document.body.appendChild(Oi)),e.getAttribute("wrap")?Oi.setAttribute("wrap",e.getAttribute("wrap")):Oi.removeAttribute("wrap");const{paddingSize:r,borderSize:i,boxSizing:a,sizingStyle:l}=Mxe(e,t);Oi.setAttribute("style",`${l};${Exe}`),Oi.value=e.value||e.placeholder||"";let s,c,u,d=Oi.scrollHeight;if(a==="border-box"?d+=i:a==="content-box"&&(d-=r),n!==null||o!==null){Oi.value=" ";const h=Oi.scrollHeight-r;n!==null&&(s=h*n,a==="border-box"&&(s=s+r+i),d=Math.max(s,d)),o!==null&&(c=h*o,a==="border-box"&&(c=c+r+i),u=d>c?"":"hidden",d=Math.min(c,d))}const f={height:`${d}px`,overflowY:u,resize:"none"};return s&&(f.minHeight=`${s}px`),c&&(f.maxHeight=`${c}px`),f}const MC=0,RC=1,DC=2,Dxe=pe({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:wH(),setup(e,t){let{attrs:n,emit:o,expose:r}=t,i,a;const l=he(),s=he({}),c=he(DC);Ct(()=>{mt.cancel(i),mt.cancel(a)});const u=()=>{try{if(document.activeElement===l.value){const I=l.value.selectionStart,O=l.value.selectionEnd,P=l.value.scrollTop;l.value.setSelectionRange(I,O),l.value.scrollTop=P}}catch{}},d=he(),f=he();ct(()=>{const I=e.autoSize||e.autosize;I?(d.value=I.minRows,f.value=I.maxRows):(d.value=void 0,f.value=void 0)});const h=M(()=>!!(e.autoSize||e.autosize)),m=()=>{c.value=MC};Ie([()=>e.value,d,f,h],()=>{h.value&&m()},{immediate:!0,flush:"post"});const v=he();Ie([c,l],()=>{if(l.value)if(c.value===MC)c.value=RC;else if(c.value===RC){const I=Rxe(l.value,!1,d.value,f.value);c.value=DC,v.value=I}else u()},{immediate:!0,flush:"post"});const y=Nn(),b=he(),$=()=>{mt.cancel(b.value)},x=I=>{c.value===DC&&(o("resize",I),h.value&&($(),b.value=mt(()=>{m()})))};Ct(()=>{$()}),r({resizeTextarea:()=>{m()},textArea:l,instance:y}),Sn(e.autosize===void 0);const w=()=>{const{prefixCls:I,disabled:O}=e,P=_t(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","lazy","maxlength","valueModifiers"]),E=me(I,n.class,{[`${I}-disabled`]:O}),R=h.value?v.value:null,A=[n.style,s.value,R],N=S(S(S({},P),n),{style:A,class:E});return(c.value===MC||c.value===RC)&&A.push({overflowX:"hidden",overflowY:"hidden"}),N.autofocus||delete N.autofocus,N.rows===0&&delete N.rows,g(ki,{onResize:x,disabled:!h.value},{default:()=>[Ln(g("textarea",V(V({},N),{},{ref:l}),null),[[nf]])]})};return()=>w()}}),Lxe=Dxe;function IH(e,t){return[...e||""].slice(0,t).join("")}function z6(e,t,n,o){let r=n;return e?r=IH(n,o):[...t||""].length<n.length&&[...n||""].length>o&&(r=t),r}const aI=pe({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:wH(),setup(e,t){let{attrs:n,expose:o,emit:r}=t;const i=co(),a=To.useInject(),l=M(()=>da(a.status,e.status)),s=ve(e.value===void 0?e.defaultValue:e.value),c=ve(),u=ve(""),{prefixCls:d,size:f,direction:h}=Ve("input",e),[m,v]=PO(d),y=jr(),b=M(()=>e.showCount===""||e.showCount||!1),$=M(()=>Number(e.maxlength)>0),x=ve(!1),_=ve(),w=ve(0),I=L=>{x.value=!0,_.value=u.value,w.value=L.currentTarget.selectionStart,r("compositionstart",L)},O=L=>{var z;x.value=!1;let K=L.currentTarget.value;if($.value){const G=w.value>=e.maxlength+1||w.value===((z=_.value)===null||z===void 0?void 0:z.length);K=z6(G,_.value,K,e.maxlength)}K!==u.value&&(A(K),Ap(L.currentTarget,L,W,K)),r("compositionend",L)},P=Nn();Ie(()=>e.value,()=>{var L;"value"in P.vnode.props,s.value=(L=e.value)!==null&&L!==void 0?L:""});const E=L=>{var z;CH((z=c.value)===null||z===void 0?void 0:z.textArea,L)},R=()=>{var L,z;(z=(L=c.value)===null||L===void 0?void 0:L.textArea)===null||z===void 0||z.blur()},A=(L,z)=>{s.value!==L&&(e.value===void 0?s.value=L:wt(()=>{var K,G,Y;c.value.textArea.value!==u.value&&((Y=(K=c.value)===null||K===void 0?void 0:(G=K.instance).update)===null||Y===void 0||Y.call(G))}),wt(()=>{z&&z()}))},N=L=>{L.keyCode===13&&r("pressEnter",L),r("keydown",L)},F=L=>{const{onBlur:z}=e;z==null||z(L),i.onFieldBlur()},W=L=>{r("update:value",L.target.value),r("change",L),r("input",L),i.onFieldChange()},D=L=>{Ap(c.value.textArea,L,W),A("",()=>{E()})},B=L=>{const{composing:z}=L.target;let K=L.target.value;if(x.value=!!(L.isComposing||z),!(x.value&&e.lazy||s.value===K)){if($.value){const G=L.target,Y=G.selectionStart>=e.maxlength+1||G.selectionStart===K.length||!G.selectionStart;K=z6(Y,u.value,K,e.maxlength)}Ap(L.currentTarget,L,W,K),A(K)}},k=()=>{var L,z;const{class:K}=n,{bordered:G=!0}=e,Y=S(S(S({},_t(e,["allowClear"])),n),{class:[{[`${d.value}-borderless`]:!G,[`${K}`]:K&&!b.value,[`${d.value}-sm`]:f.value==="small",[`${d.value}-lg`]:f.value==="large"},sr(d.value,l.value),v.value],disabled:y.value,showCount:null,prefixCls:d.value,onInput:B,onChange:B,onBlur:F,onKeydown:N,onCompositionstart:I,onCompositionend:O});return!((L=e.valueModifiers)===null||L===void 0)&&L.lazy&&delete Y.onInput,g(Lxe,V(V({},Y),{},{id:(z=Y==null?void 0:Y.id)!==null&&z!==void 0?z:i.id.value,ref:c,maxlength:e.maxlength}),null)};return o({focus:E,blur:R,resizableTextArea:c}),ct(()=>{let L=Xx(s.value);!x.value&&$.value&&(e.value===null||e.value===void 0)&&(L=IH(L,e.maxlength)),u.value=L}),()=>{var L;const{maxlength:z,bordered:K=!0,hidden:G}=e,{style:Y,class:ne}=n,re=S(S(S({},e),n),{prefixCls:d.value,inputType:"text",handleReset:D,direction:h.value,bordered:K,style:b.value?void 0:Y,hashId:v.value,disabled:(L=e.disabled)!==null&&L!==void 0?L:y.value});let J=g(Txe,V(V({},re),{},{value:u.value,status:e.status}),{element:k});if(b.value||a.hasFeedback){const te=[...u.value].length;let ee="";typeof b.value=="object"?ee=b.value.formatter({value:u.value,count:te,maxlength:z}):ee=`${te}${$.value?` / ${z}`:""}`,J=g("div",{hidden:G,class:me(`${d.value}-textarea`,{[`${d.value}-textarea-rtl`]:h.value==="rtl",[`${d.value}-textarea-show-count`]:b.value,[`${d.value}-textarea-in-form-item`]:a.isFormItemInput},`${d.value}-textarea-show-count`,ne,v.value),style:Y,"data-count":typeof ee!="object"?ee:void 0},[J,a.hasFeedback&&g("span",{class:`${d.value}-textarea-suffix`},[a.feedbackIcon])])}return m(J)}}});var Nxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const kxe=Nxe;function j6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Bxe(e,r,n[r])})}return e}function Bxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lI=function(t,n){var o=j6({},t,n.attrs);return g(Ot,j6({},o,{icon:kxe}),null)};lI.displayName="EyeOutlined";lI.inheritAttrs=!1;const sI=lI;var Fxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const Hxe=Fxe;function W6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){zxe(e,r,n[r])})}return e}function zxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cI=function(t,n){var o=W6({},t,n.attrs);return g(Ot,W6({},o,{icon:Hxe}),null)};cI.displayName="EyeInvisibleOutlined";cI.inheritAttrs=!1;const jxe=cI;var Wxe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Vxe={click:"onClick",hover:"onMouseover"},Kxe=e=>g(e?sI:jxe,null,null),PH=pe({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:S(S({},Hy()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:o,expose:r,emit:i}=t;const a=ve(!1),l=()=>{const{disabled:y}=e;y||(a.value=!a.value,i("update:visible",a.value))};ct(()=>{e.visible!==void 0&&(a.value=!!e.visible)});const s=ve();r({focus:()=>{var y;(y=s.value)===null||y===void 0||y.focus()},blur:()=>{var y;(y=s.value)===null||y===void 0||y.blur()}});const d=y=>{const{action:b,iconRender:$=n.iconRender||Kxe}=e,x=Vxe[b]||"",_=$(a.value),w={[x]:l,class:`${y}-icon`,key:"passwordIcon",onMousedown:I=>{I.preventDefault()},onMouseup:I=>{I.preventDefault()}};return Gt(Jn(_)?_:g("span",null,[_]),w)},{prefixCls:f,getPrefixCls:h}=Ve("input-password",e),m=M(()=>h("input",e.inputPrefixCls)),v=()=>{const{size:y,visibilityToggle:b}=e,$=Wxe(e,["size","visibilityToggle"]),x=b&&d(f.value),_=me(f.value,o.class,{[`${f.value}-${y}`]:!!y}),w=S(S(S({},_t($,["suffix","iconRender","action"])),o),{type:a.value?"text":"password",class:_,prefixCls:m.value,suffix:x});return y&&(w.size=y),g(uo,V({ref:s},w),n)};return()=>v()}});uo.Group=_H;uo.Search=OH;uo.TextArea=aI;uo.Password=PH;uo.install=function(e){return e.component(uo.name,uo),e.component(uo.Group.name,uo.Group),e.component(uo.Search.name,uo.Search),e.component(uo.TextArea.name,uo.TextArea),e.component(uo.Password.name,uo.Password),e};function Uxe(){const e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function U0(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function zy(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:Z.shape({x:Number,y:Number}).loose,title:Z.any,footer:Z.any,transitionName:String,maskTransitionName:String,animation:Z.any,maskAnimation:Z.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:Z.any,maskProps:Z.any,wrapProps:Z.any,getContainer:Z.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:Z.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function V6(e,t,n){let o=t;return!o&&n&&(o=`${e}-${n}`),o}let K6=-1;function Gxe(){return K6+=1,K6}function U6(e,t){let n=e[`page${t?"Y":"X"}Offset`];const o=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function Yxe(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow;return n.left+=U6(r),n.top+=U6(r,!0),n}const G6={width:0,height:0,overflow:"hidden",outline:"none"},Xxe=pe({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:S(S({},zy()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const i=he(),a=he(),l=he();n({focus:()=>{var f;(f=i.value)===null||f===void 0||f.focus()},changeActive:f=>{const{activeElement:h}=document;f&&h===a.value?i.value.focus():!f&&h===i.value&&a.value.focus()}});const s=he(),c=M(()=>{const{width:f,height:h}=e,m={};return f!==void 0&&(m.width=typeof f=="number"?`${f}px`:f),h!==void 0&&(m.height=typeof h=="number"?`${h}px`:h),s.value&&(m.transformOrigin=s.value),m}),u=()=>{wt(()=>{if(l.value){const f=Yxe(l.value);s.value=e.mousePosition?`${e.mousePosition.x-f.left}px ${e.mousePosition.y-f.top}px`:""}})},d=f=>{e.onVisibleChanged(f)};return()=>{var f,h,m,v;const{prefixCls:y,footer:b=(f=o.footer)===null||f===void 0?void 0:f.call(o),title:$=(h=o.title)===null||h===void 0?void 0:h.call(o),ariaId:x,closable:_,closeIcon:w=(m=o.closeIcon)===null||m===void 0?void 0:m.call(o),onClose:I,bodyStyle:O,bodyProps:P,onMousedown:E,onMouseup:R,visible:A,modalRender:N=o.modalRender,destroyOnClose:F,motionName:W}=e;let D;b&&(D=g("div",{class:`${y}-footer`},[b]));let B;$&&(B=g("div",{class:`${y}-header`},[g("div",{class:`${y}-title`,id:x},[$])]));let k;_&&(k=g("button",{type:"button",onClick:I,"aria-label":"Close",class:`${y}-close`},[w||g("span",{class:`${y}-close-x`},null)]));const L=g("div",{class:`${y}-content`},[k,B,g("div",V({class:`${y}-body`,style:O},P),[(v=o.default)===null||v===void 0?void 0:v.call(o)]),D]),z=Hi(W);return g(so,V(V({},z),{},{onBeforeEnter:u,onAfterEnter:()=>d(!0),onAfterLeave:()=>d(!1)}),{default:()=>[A||!F?Ln(g("div",V(V({},r),{},{ref:l,key:"dialog-element",role:"document",style:[c.value,r.style],class:[y,r.class],onMousedown:E,onMouseup:R}),[g("div",{tabindex:0,ref:i,style:G6,"aria-hidden":"true"},null),N?N({originVNode:L}):L,g("div",{tabindex:0,ref:a,style:G6,"aria-hidden":"true"},null)]),[[Bo,A]]):null]})}}}),qxe=pe({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:o,maskProps:r,motionName:i}=e,a=Hi(i);return g(so,a,{default:()=>[Ln(g("div",V({class:`${n}-mask`},r),null),[[Bo,o]])]})}}}),Y6=pe({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:bt(S(S({},zy()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:o}=t;const r=ve(),i=ve(),a=ve(),l=ve(e.visible),s=ve(`vcDialogTitle${Gxe()}`),c=b=>{var $,x;if(b)ss(i.value,document.activeElement)||(r.value=document.activeElement,($=a.value)===null||$===void 0||$.focus());else{const _=l.value;if(l.value=!1,e.mask&&r.value&&e.focusTriggerAfterClose){try{r.value.focus({preventScroll:!0})}catch{}r.value=null}_&&((x=e.afterClose)===null||x===void 0||x.call(e))}},u=b=>{var $;($=e.onClose)===null||$===void 0||$.call(e,b)},d=ve(!1),f=ve(),h=()=>{clearTimeout(f.value),d.value=!0},m=()=>{f.value=setTimeout(()=>{d.value=!1})},v=b=>{if(!e.maskClosable)return null;d.value?d.value=!1:i.value===b.target&&u(b)},y=b=>{if(e.keyboard&&b.keyCode===Fe.ESC){b.stopPropagation(),u(b);return}e.visible&&b.keyCode===Fe.TAB&&a.value.changeActive(!b.shiftKey)};return Ie(()=>e.visible,()=>{e.visible&&(l.value=!0)},{flush:"post"}),Ct(()=>{var b;clearTimeout(f.value),(b=e.scrollLocker)===null||b===void 0||b.unLock()}),ct(()=>{var b,$;(b=e.scrollLocker)===null||b===void 0||b.unLock(),l.value&&(($=e.scrollLocker)===null||$===void 0||$.lock())}),()=>{const{prefixCls:b,mask:$,visible:x,maskTransitionName:_,maskAnimation:w,zIndex:I,wrapClassName:O,rootClassName:P,wrapStyle:E,closable:R,maskProps:A,maskStyle:N,transitionName:F,animation:W,wrapProps:D,title:B=o.title}=e,{style:k,class:L}=n;return g("div",V({class:[`${b}-root`,P]},As(e,{data:!0})),[g(qxe,{prefixCls:b,visible:$&&x,motionName:V6(b,_,w),style:S({zIndex:I},N),maskProps:A},null),g("div",V({tabIndex:-1,onKeydown:y,class:me(`${b}-wrap`,O),ref:i,onClick:v,role:"dialog","aria-labelledby":B?s.value:null,style:S(S({zIndex:I},E),{display:l.value?null:"none"})},D),[g(Xxe,V(V({},_t(e,["scrollLocker"])),{},{style:k,class:L,onMousedown:h,onMouseup:m,ref:a,closable:R,ariaId:s.value,prefixCls:b,visible:x,onClose:u,onVisibleChanged:c,motionName:V6(b,F,W)}),o)])])}}}),Zxe=zy(),Qxe=pe({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:bt(Zxe,{visible:!1}),setup(e,t){let{attrs:n,slots:o}=t;const r=he(e.visible);return n_({},{inTriggerContext:!1}),Ie(()=>e.visible,()=>{e.visible&&(r.value=!0)},{flush:"post"}),()=>{const{visible:i,getContainer:a,forceRender:l,destroyOnClose:s=!1,afterClose:c}=e;let u=S(S(S({},e),n),{ref:"_component",key:"dialog"});return a===!1?g(Y6,V(V({},u),{},{getOpenCount:()=>2}),o):!l&&s&&!r.value?null:g(Hh,{autoLock:!0,visible:i,forceRender:l,getContainer:a},{default:d=>(u=S(S(S({},u),d),{afterClose:()=>{c==null||c(),r.value=!1}}),g(Y6,u,o))})}}}),TH=Qxe;function Jxe(e){const t=he(null),n=St(S({},e)),o=he([]),r=i=>{t.value===null&&(o.value=[],t.value=mt(()=>{let a;o.value.forEach(l=>{a=S(S({},a),l)}),S(n,a),t.value=null})),o.value.push(i)};return lt(()=>{t.value&&mt.cancel(t.value)}),[n,r]}function X6(e,t,n,o){const r=t+n,i=(n-o)/2;if(n>o){if(t>0)return{[e]:i};if(t<0&&r<o)return{[e]:-i}}else if(t<0||r>o)return{[e]:t<0?i:-i};return{}}function ewe(e,t,n,o){const{width:r,height:i}=Uxe();let a=null;return e<=r&&t<=i?a={x:0,y:0}:(e>r||t>i)&&(a=S(S({},X6("x",n,e,r)),X6("y",o,t,i))),a}var twe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const q6=Symbol("previewGroupContext"),uI={provide:e=>{ft(q6,e)},inject:()=>it(q6,{isPreviewGroup:ve(!1),previewUrls:M(()=>new Map),setPreviewUrls:()=>{},current:he(null),setCurrent:()=>{},setShowPreview:()=>{},setMousePosition:()=>{},registerImage:null,rootClassName:""})},nwe=()=>({previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:()=>({})}}),owe=pe({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:nwe(),setup(e,t){let{slots:n}=t;const o=M(()=>{const w={visible:void 0,onVisibleChange:()=>{},getContainer:void 0,current:0};return typeof e.preview=="object"?RH(e.preview,w):w}),r=St(new Map),i=he(),a=M(()=>o.value.visible),l=M(()=>o.value.getContainer),s=(w,I)=>{var O,P;(P=(O=o.value).onVisibleChange)===null||P===void 0||P.call(O,w,I)},[c,u]=yn(!!a.value,{value:a,onChange:s}),d=he(null),f=M(()=>a.value!==void 0),h=M(()=>Array.from(r.keys())),m=M(()=>h.value[o.value.current]),v=M(()=>new Map(Array.from(r).filter(w=>{let[,{canPreview:I}]=w;return!!I}).map(w=>{let[I,{url:O}]=w;return[I,O]}))),y=function(w,I){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;r.set(w,{url:I,canPreview:O})},b=w=>{i.value=w},$=w=>{d.value=w},x=function(w,I){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const P=()=>{r.delete(w)};return r.set(w,{url:I,canPreview:O}),P},_=w=>{w==null||w.stopPropagation(),u(!1),$(null)};return Ie(m,w=>{b(w)},{immediate:!0,flush:"post"}),ct(()=>{c.value&&f.value&&b(m.value)},{flush:"post"}),uI.provide({isPreviewGroup:ve(!0),previewUrls:v,setPreviewUrls:y,current:i,setCurrent:b,setShowPreview:u,setMousePosition:$,registerImage:x}),()=>{const w=twe(o.value,[]);return g(Je,null,[n.default&&n.default(),g(AH,V(V({},w),{},{"ria-hidden":!c.value,visible:c.value,prefixCls:e.previewPrefixCls,onClose:_,mousePosition:d.value,src:v.value.get(i.value),icons:e.icons,getContainer:l.value}),null)])}}}),EH=owe,tc={x:0,y:0},rwe=S(S({},zy()),{src:String,alt:String,rootClassName:String,icons:{type:Object,default:()=>({})}}),iwe=pe({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:rwe,emits:["close","afterClose"],setup(e,t){let{emit:n,attrs:o}=t;const{rotateLeft:r,rotateRight:i,zoomIn:a,zoomOut:l,close:s,left:c,right:u,flipX:d,flipY:f}=St(e.icons),h=ve(1),m=ve(0),v=St({x:1,y:1}),[y,b]=Jxe(tc),$=()=>n("close"),x=ve(),_=St({originX:0,originY:0,deltaX:0,deltaY:0}),w=ve(!1),I=uI.inject(),{previewUrls:O,current:P,isPreviewGroup:E,setCurrent:R}=I,A=M(()=>O.value.size),N=M(()=>Array.from(O.value.keys())),F=M(()=>N.value.indexOf(P.value)),W=M(()=>E.value?O.value.get(P.value):e.src),D=M(()=>E.value&&A.value>1),B=ve({wheelDirection:0}),k=()=>{h.value=1,m.value=0,v.x=1,v.y=1,b(tc),n("afterClose")},L=ae=>{ae?h.value+=.5:h.value++,b(tc)},z=ae=>{h.value>1&&(ae?h.value-=.5:h.value--),b(tc)},K=()=>{m.value+=90},G=()=>{m.value-=90},Y=()=>{v.x=-v.x},ne=()=>{v.y=-v.y},re=ae=>{ae.preventDefault(),ae.stopPropagation(),F.value>0&&R(N.value[F.value-1])},J=ae=>{ae.preventDefault(),ae.stopPropagation(),F.value<A.value-1&&R(N.value[F.value+1])},te=me({[`${e.prefixCls}-moving`]:w.value}),ee=`${e.prefixCls}-operations-operation`,fe=`${e.prefixCls}-operations-icon`,ie=[{icon:s,onClick:$,type:"close"},{icon:a,onClick:()=>L(),type:"zoomIn"},{icon:l,onClick:()=>z(),type:"zoomOut",disabled:M(()=>h.value===1)},{icon:i,onClick:K,type:"rotateRight"},{icon:r,onClick:G,type:"rotateLeft"},{icon:d,onClick:Y,type:"flipX"},{icon:f,onClick:ne,type:"flipY"}],X=()=>{if(e.visible&&w.value){const ae=x.value.offsetWidth*h.value,ge=x.value.offsetHeight*h.value,{left:Se,top:$e}=U0(x.value),_e=m.value%180!==0;w.value=!1;const be=ewe(_e?ge:ae,_e?ae:ge,Se,$e);be&&b(S({},be))}},ue=ae=>{ae.button===0&&(ae.preventDefault(),ae.stopPropagation(),_.deltaX=ae.pageX-y.x,_.deltaY=ae.pageY-y.y,_.originX=y.x,_.originY=y.y,w.value=!0)},ye=ae=>{e.visible&&w.value&&b({x:ae.pageX-_.deltaX,y:ae.pageY-_.deltaY})},H=ae=>{if(!e.visible)return;ae.preventDefault();const ge=ae.deltaY;B.value={wheelDirection:ge}},j=ae=>{!e.visible||!D.value||(ae.preventDefault(),ae.keyCode===Fe.LEFT?F.value>0&&R(N.value[F.value-1]):ae.keyCode===Fe.RIGHT&&F.value<A.value-1&&R(N.value[F.value+1]))},q=()=>{e.visible&&(h.value!==1&&(h.value=1),(y.x!==tc.x||y.y!==tc.y)&&b(tc))};let se=()=>{};return lt(()=>{Ie([()=>e.visible,w],()=>{se();let ae,ge;const Se=wn(window,"mouseup",X,!1),$e=wn(window,"mousemove",ye,!1),_e=wn(window,"wheel",H,{passive:!1}),be=wn(window,"keydown",j,!1);try{window.top!==window.self&&(ae=wn(window.top,"mouseup",X,!1),ge=wn(window.top,"mousemove",ye,!1))}catch{}se=()=>{Se.remove(),$e.remove(),_e.remove(),be.remove(),ae&&ae.remove(),ge&&ge.remove()}},{flush:"post",immediate:!0}),Ie([B],()=>{const{wheelDirection:ae}=B.value;ae>0?z(!0):ae<0&&L(!0)})}),Fo(()=>{se()}),()=>{const{visible:ae,prefixCls:ge,rootClassName:Se}=e;return g(TH,V(V({},o),{},{transitionName:e.transitionName,maskTransitionName:e.maskTransitionName,closable:!1,keyboard:!0,prefixCls:ge,onClose:$,afterClose:k,visible:ae,wrapClassName:te,rootClassName:Se,getContainer:e.getContainer}),{default:()=>[g("div",{class:[`${e.prefixCls}-operations-wrapper`,Se]},[g("ul",{class:`${e.prefixCls}-operations`},[ie.map($e=>{let{icon:_e,onClick:be,type:Te,disabled:Pe}=$e;return g("li",{class:me(ee,{[`${e.prefixCls}-operations-operation-disabled`]:Pe&&(Pe==null?void 0:Pe.value)}),onClick:be,key:Te},[ko(_e,{class:fe})])})])]),g("div",{class:`${e.prefixCls}-img-wrapper`,style:{transform:`translate3d(${y.x}px, ${y.y}px, 0)`}},[g("img",{onMousedown:ue,onDblclick:q,ref:x,class:`${e.prefixCls}-img`,src:W.value,alt:e.alt,style:{transform:`scale3d(${v.x*h.value}, ${v.y*h.value}, 1) rotate(${m.value}deg)`}},null)]),D.value&&g("div",{class:me(`${e.prefixCls}-switch-left`,{[`${e.prefixCls}-switch-left-disabled`]:F.value<=0}),onClick:re},[c]),D.value&&g("div",{class:me(`${e.prefixCls}-switch-right`,{[`${e.prefixCls}-switch-right-disabled`]:F.value>=A.value-1}),onClick:J},[u])]})}}}),AH=iwe;var awe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const MH=()=>({src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,previewMask:{type:[Boolean,Function],default:void 0},placeholder:Z.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}),RH=(e,t)=>{const n=S({},e);return Object.keys(t).forEach(o=>{e[o]===void 0&&(n[o]=t[o])}),n};let lwe=0;const DH=pe({compatConfig:{MODE:3},name:"VcImage",inheritAttrs:!1,props:MH(),emits:["click","error"],setup(e,t){let{attrs:n,slots:o,emit:r}=t;const i=M(()=>e.prefixCls),a=M(()=>`${i.value}-preview`),l=M(()=>{const L={visible:void 0,onVisibleChange:()=>{},getContainer:void 0};return typeof e.preview=="object"?RH(e.preview,L):L}),s=M(()=>{var L;return(L=l.value.src)!==null&&L!==void 0?L:e.src}),c=M(()=>e.placeholder&&e.placeholder!==!0||o.placeholder),u=M(()=>l.value.visible),d=M(()=>l.value.getContainer),f=M(()=>u.value!==void 0),h=(L,z)=>{var K,G;(G=(K=l.value).onVisibleChange)===null||G===void 0||G.call(K,L,z)},[m,v]=yn(!!u.value,{value:u,onChange:h}),y=he(c.value?"loading":"normal");Ie(()=>e.src,()=>{y.value=c.value?"loading":"normal"});const b=he(null),$=M(()=>y.value==="error"),x=uI.inject(),{isPreviewGroup:_,setCurrent:w,setShowPreview:I,setMousePosition:O,registerImage:P}=x,E=he(lwe++),R=M(()=>e.preview&&!$.value),A=()=>{y.value="normal"},N=L=>{y.value="error",r("error",L)},F=L=>{if(!f.value){const{left:z,top:K}=U0(L.target);_.value?(w(E.value),O({x:z,y:K})):b.value={x:z,y:K}}_.value?I(!0):v(!0),r("click",L)},W=()=>{v(!1),f.value||(b.value=null)},D=he(null);Ie(()=>D,()=>{y.value==="loading"&&D.value.complete&&(D.value.naturalWidth||D.value.naturalHeight)&&A()});let B=()=>{};lt(()=>{Ie([s,R],()=>{if(B(),!_.value)return()=>{};B=P(E.value,s.value,R.value),R.value||B()},{flush:"post",immediate:!0})}),Fo(()=>{B()});const k=L=>Mfe(L)?L+"px":L;return()=>{const{prefixCls:L,wrapperClassName:z,fallback:K,src:G,placeholder:Y,wrapperStyle:ne,rootClassName:re}=e,{width:J,height:te,crossorigin:ee,decoding:fe,alt:ie,sizes:X,srcset:ue,usemap:ye,class:H,style:j}=n,q=l.value,{icons:se,maskClassName:ae}=q,ge=awe(q,["icons","maskClassName"]),Se=me(L,z,re,{[`${L}-error`]:$.value}),$e=$.value&&K?K:s.value,_e={crossorigin:ee,decoding:fe,alt:ie,sizes:X,srcset:ue,usemap:ye,width:J,height:te,class:me(`${L}-img`,{[`${L}-img-placeholder`]:Y===!0},H),style:S({height:k(te)},j)};return g(Je,null,[g("div",{class:Se,onClick:R.value?F:be=>{r("click",be)},style:S({width:k(J),height:k(te)},ne)},[g("img",V(V(V({},_e),$.value&&K?{src:K}:{onLoad:A,onError:N,src:G}),{},{ref:D}),null),y.value==="loading"&&g("div",{"aria-hidden":"true",class:`${L}-placeholder`},[Y||o.placeholder&&o.placeholder()]),o.previewMask&&R.value&&g("div",{class:[`${L}-mask`,ae]},[o.previewMask()])]),!_.value&&R.value&&g(AH,V(V({},ge),{},{"aria-hidden":!m.value,visible:m.value,prefixCls:a.value,onClose:W,mousePosition:b.value,src:$e,alt:ie,getContainer:d.value,icons:se,rootClassName:re}),null)])}}});DH.PreviewGroup=EH;const swe=DH;var cwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const uwe=cwe;function Z6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){dwe(e,r,n[r])})}return e}function dwe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dI=function(t,n){var o=Z6({},t,n.attrs);return g(Ot,Z6({},o,{icon:uwe}),null)};dI.displayName="RotateLeftOutlined";dI.inheritAttrs=!1;const fwe=dI;var pwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};const hwe=pwe;function Q6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){gwe(e,r,n[r])})}return e}function gwe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fI=function(t,n){var o=Q6({},t,n.attrs);return g(Ot,Q6({},o,{icon:hwe}),null)};fI.displayName="RotateRightOutlined";fI.inheritAttrs=!1;const vwe=fI;var mwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};const bwe=mwe;function J6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ywe(e,r,n[r])})}return e}function ywe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pI=function(t,n){var o=J6({},t,n.attrs);return g(Ot,J6({},o,{icon:bwe}),null)};pI.displayName="ZoomInOutlined";pI.inheritAttrs=!1;const Swe=pI;var Cwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};const $we=Cwe;function e8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xwe(e,r,n[r])})}return e}function xwe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hI=function(t,n){var o=e8({},t,n.attrs);return g(Ot,e8({},o,{icon:$we}),null)};hI.displayName="ZoomOutOutlined";hI.inheritAttrs=!1;const wwe=hI;var _we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};const Owe=_we;function t8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Iwe(e,r,n[r])})}return e}function Iwe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gI=function(t,n){var o=t8({},t,n.attrs);return g(Ot,t8({},o,{icon:Owe}),null)};gI.displayName="SwapOutlined";gI.inheritAttrs=!1;const n8=gI;function o8(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const LH=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:S(S({},o8("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:S(S({},o8("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:E_(e)}]},Pwe=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:S(S({},vt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:S({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Sl(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
+ ${t}-body,
+ ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},Twe=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:S({},aa()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},
+ ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},Ewe=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Awe=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[o]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${o}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${o}-title + ${o}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${o}-btns`]:{marginTop:e.marginLG}}}},Mwe=pt("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5,r=nt(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:o,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:o*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[Pwe(r),Twe(r),Ewe(r),LH(r),e.wireframe&&Awe(r),cf(r,"zoom")]}),qx=e=>({position:e||"absolute",inset:0}),Rwe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:o,marginXXS:r,prefixCls:i}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new Zt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:S(S({},eo),{padding:`0 ${o}px`,[t]:{marginInlineEnd:r,svg:{verticalAlign:"baseline"}}})}},Dwe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:o,previewOperationColorDisabled:r,motionDurationSlow:i}=e,a=new Zt(n).setAlpha(.1),l=a.clone().setAlpha(.2);return{[`${t}-operations`]:S(S({},vt(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.previewOperationColor,listStyle:"none",background:a.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:o,padding:o,cursor:"pointer",transition:`all ${i}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{color:r,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.previewOperationSize}})}},Lwe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:o,previewCls:r,zIndexPopup:i,motionDurationSlow:a}=e,l=new Zt(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${r}-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:i+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,pointerEvents:"auto",userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:o,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${r}-switch-left`]:{insetInlineStart:e.marginSM},[`${r}-switch-right`]:{insetInlineEnd:e.marginSM}}},Nwe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r}=e;return[{[`${r}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:S(S({},qx()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${o} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":S(S({},qx()),{transition:`transform ${o} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${r}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[Dwe(e),Lwe(e)]}]},kwe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:S({},Rwe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:S({},qx())}}},Bwe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:cf(e,"zoom"),"&":E_(e,!0)}},NH=pt("Image",e=>{const t=`${e.componentCls}-preview`,n=nt(e,{previewCls:t,modalMaskBg:new Zt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[kwe(n),Nwe(n),LH(nt(n,{componentCls:t})),Bwe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Zt(e.colorTextLightSolid).toRgbString(),previewOperationColorDisabled:new Zt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),kH={rotateLeft:g(fwe,null,null),rotateRight:g(vwe,null,null),zoomIn:g(Swe,null,null),zoomOut:g(wwe,null,null),close:g(Vr,null,null),left:g(xs,null,null),right:g(sa,null,null),flipX:g(n8,null,null),flipY:g(n8,{rotate:90},null)},Fwe=()=>({previewPrefixCls:String,preview:cn()}),Hwe=pe({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:Fwe(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,rootPrefixCls:i}=Ve("image",e),a=M(()=>`${r.value}-preview`),[l,s]=NH(r),c=M(()=>{const{preview:u}=e;if(u===!1)return u;const d=typeof u=="object"?u:{};return S(S({},d),{rootClassName:s.value,transitionName:dr(i.value,"zoom",d.transitionName),maskTransitionName:dr(i.value,"fade",d.maskTransitionName)})});return()=>l(g(EH,V(V({},S(S({},n),e)),{},{preview:c.value,icons:kH,previewPrefixCls:a.value}),o))}}),BH=Hwe,hc=pe({name:"AImage",inheritAttrs:!1,props:MH(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,rootPrefixCls:i,configProvider:a}=Ve("image",e),[l,s]=NH(r),c=M(()=>{const{preview:u}=e;if(u===!1)return u;const d=typeof u=="object"?u:{};return S(S({icons:kH},d),{transitionName:dr(i.value,"zoom",d.transitionName),maskTransitionName:dr(i.value,"fade",d.maskTransitionName)})});return()=>{var u,d;const f=((d=(u=a.locale)===null||u===void 0?void 0:u.value)===null||d===void 0?void 0:d.Image)||cr.Image,h=()=>g("div",{class:`${r.value}-mask-info`},[g(sI,null,null),f==null?void 0:f.preview]),{previewMask:m=n.previewMask||h}=e;return l(g(swe,V(V({},S(S(S({},o),e),{prefixCls:r.value})),{},{preview:c.value,rootClassName:me(e.rootClassName,s.value)}),S(S({},n),{previewMask:typeof m=="function"?m:null})))}}});hc.PreviewGroup=BH;hc.install=function(e){return e.component(hc.name,hc),e.component(hc.PreviewGroup.name,hc.PreviewGroup),e};const zwe=hc;var jwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const Wwe=jwe;function r8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vwe(e,r,n[r])})}return e}function Vwe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vI=function(t,n){var o=r8({},t,n.attrs);return g(Ot,r8({},o,{icon:Wwe}),null)};vI.displayName="UpOutlined";vI.inheritAttrs=!1;const Kwe=vI;function Zx(){return typeof BigInt=="function"}function Mp(e){let t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t=`0${t}`);const o=t||"0",r=o.split("."),i=r[0]||"0",a=r[1]||"0";i==="0"&&a==="0"&&(n=!1);const l=n?"-":"";return{negative:n,negativeStr:l,trimStr:o,integerStr:i,decimalStr:a,fullStr:`${l}${o}`}}function mI(e){const t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Ch(e){const t=String(e);if(mI(e)){let n=Number(t.slice(t.indexOf("e-")+2));const o=t.match(/\.(\d+)/);return o!=null&&o[1]&&(n+=o[1].length),n}return t.includes(".")&&yI(t)?t.length-t.indexOf(".")-1:0}function bI(e){let t=String(e);if(mI(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Zx()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(Zx()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(Ch(t))}return Mp(t).fullStr}function yI(e){return typeof e=="number"?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}function FH(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}class gc{constructor(t){if(this.origin="",FH(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}negate(){return new gc(-this.toNumber())}add(t){if(this.isInvalidate())return new gc(t);const n=Number(t);if(Number.isNaN(n))return this;const o=this.number+n;if(o>Number.MAX_SAFE_INTEGER)return new gc(Number.MAX_SAFE_INTEGER);if(o<Number.MIN_SAFE_INTEGER)return new gc(Number.MIN_SAFE_INTEGER);const r=Math.max(Ch(this.number),Ch(n));return new gc(o.toFixed(r))}isEmpty(){return this.empty}isNaN(){return Number.isNaN(this.number)}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toNumber()===(t==null?void 0:t.toNumber())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.number}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":bI(this.number):this.origin}}class ed{constructor(t){if(this.origin="",FH(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(mI(n)&&(n=Number(n)),n=typeof n=="string"?n:bI(n),yI(n)){const o=Mp(n);this.negative=o.negative;const r=o.trimStr.split(".");this.integer=BigInt(r[0]);const i=r[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new ed(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new ed(t);const n=new ed(t);if(n.isInvalidate())return this;const o=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),r=this.alignDecimal(o),i=n.alignDecimal(o),a=(r+i).toString(),{negativeStr:l,trimStr:s}=Mp(a),c=`${l}${s.padStart(o+1,"0")}`;return new ed(`${c.slice(0,-o)}.${c.slice(-o)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":Mp(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function xa(e){return Zx()?new ed(e):new gc(e)}function Qx(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:r,integerStr:i,decimalStr:a}=Mp(e),l=`${t}${a}`,s=`${r}${i}`;if(n>=0){const c=Number(a[n]);if(c>=5&&!o){const u=xa(e).add(`${r}0.${"0".repeat(n)}${10-c}`);return Qx(u.toString(),t,n,o)}return n===0?s:`${s}${t}${a.padEnd(n,"0").slice(0,n)}`}return l===".0"?s:`${s}${l}`}const Uwe=200,Gwe=600,Ywe=pe({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:Oe()},slots:Object,setup(e,t){let{slots:n,emit:o}=t;const r=he(),i=(l,s)=>{l.preventDefault(),o("step",s);function c(){o("step",s),r.value=setTimeout(c,Uwe)}r.value=setTimeout(c,Gwe)},a=()=>{clearTimeout(r.value)};return Ct(()=>{a()}),()=>{if(r_())return null;const{prefixCls:l,upDisabled:s,downDisabled:c}=e,u=`${l}-handler`,d=me(u,`${u}-up`,{[`${u}-up-disabled`]:s}),f=me(u,`${u}-down`,{[`${u}-down-disabled`]:c}),h={unselectable:"on",role:"button",onMouseup:a,onMouseleave:a},{upNode:m,downNode:v}=n;return g("div",{class:`${u}-wrap`},[g("span",V(V({},h),{},{onMousedown:y=>{i(y,!0)},"aria-label":"Increase Value","aria-disabled":s,class:d}),[(m==null?void 0:m())||g("span",{unselectable:"on",class:`${l}-handler-up-inner`},null)]),g("span",V(V({},h),{},{onMousedown:y=>{i(y,!1)},"aria-label":"Decrease Value","aria-disabled":c,class:f}),[(v==null?void 0:v())||g("span",{unselectable:"on",class:`${l}-handler-down-inner`},null)])])}}});function Xwe(e,t){const n=he(null);function o(){try{const{selectionStart:i,selectionEnd:a,value:l}=e.value,s=l.substring(0,i),c=l.substring(a);n.value={start:i,end:a,value:l,beforeTxt:s,afterTxt:c}}catch{}}function r(){if(e.value&&n.value&&t.value)try{const{value:i}=e.value,{beforeTxt:a,afterTxt:l,start:s}=n.value;let c=i.length;if(i.endsWith(l))c=i.length-n.value.afterTxt.length;else if(i.startsWith(a))c=a.length;else{const u=a[s-1],d=i.indexOf(u,s-1);d!==-1&&(c=d+1)}e.value.setSelectionRange(c,c)}catch(i){`${i.message}`}}return[o,r]}const qwe=()=>{const e=ve(0),t=()=>{mt.cancel(e.value)};return Ct(()=>{t()}),n=>{t(),e.value=mt(()=>{n()})}};var Zwe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const i8=(e,t)=>e||t.isEmpty()?t.toString():t.toNumber(),a8=e=>{const t=xa(e);return t.isInvalidate()?null:t},HH=()=>({stringMode:De(),defaultValue:rt([String,Number]),value:rt([String,Number]),prefixCls:Qe(),min:rt([String,Number]),max:rt([String,Number]),step:rt([String,Number],1),tabindex:Number,controls:De(!0),readonly:De(),disabled:De(),autofocus:De(),keyboard:De(!0),parser:Oe(),formatter:Oe(),precision:Number,decimalSeparator:String,onInput:Oe(),onChange:Oe(),onPressEnter:Oe(),onStep:Oe(),onBlur:Oe(),onFocus:Oe()}),Qwe=pe({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:S(S({},HH()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:i}=t;const a=ve(),l=ve(!1),s=ve(!1),c=ve(!1),u=ve(xa(e.value));function d(G){e.value===void 0&&(u.value=G)}const f=(G,Y)=>{if(!Y)return e.precision>=0?e.precision:Math.max(Ch(G),Ch(e.step))},h=G=>{const Y=String(G);if(e.parser)return e.parser(Y);let ne=Y;return e.decimalSeparator&&(ne=ne.replace(e.decimalSeparator,".")),ne.replace(/[^\w.-]+/g,"")},m=ve(""),v=(G,Y)=>{if(e.formatter)return e.formatter(G,{userTyping:Y,input:String(m.value)});let ne=typeof G=="number"?bI(G):G;if(!Y){const re=f(ne,Y);if(yI(ne)&&(e.decimalSeparator||re>=0)){const J=e.decimalSeparator||".";ne=Qx(ne,J,re)}}return ne},y=(()=>{const G=e.value;return u.value.isInvalidate()&&["string","number"].includes(typeof G)?Number.isNaN(G)?"":G:v(u.value.toString(),!1)})();m.value=y;function b(G,Y){m.value=v(G.isInvalidate()?G.toString(!1):G.toString(!Y),Y)}const $=M(()=>a8(e.max)),x=M(()=>a8(e.min)),_=M(()=>!$.value||!u.value||u.value.isInvalidate()?!1:$.value.lessEquals(u.value)),w=M(()=>!x.value||!u.value||u.value.isInvalidate()?!1:u.value.lessEquals(x.value)),[I,O]=Xwe(a,l),P=G=>$.value&&!G.lessEquals($.value)?$.value:x.value&&!x.value.lessEquals(G)?x.value:null,E=G=>!P(G),R=(G,Y)=>{var ne;let re=G,J=E(re)||re.isEmpty();if(!re.isEmpty()&&!Y&&(re=P(re)||re,J=!0),!e.readonly&&!e.disabled&&J){const te=re.toString(),ee=f(te,Y);return ee>=0&&(re=xa(Qx(te,".",ee))),re.equals(u.value)||(d(re),(ne=e.onChange)===null||ne===void 0||ne.call(e,re.isEmpty()?null:i8(e.stringMode,re)),e.value===void 0&&b(re,Y)),re}return u.value},A=qwe(),N=G=>{var Y;if(I(),m.value=G,!c.value){const ne=h(G),re=xa(ne);re.isNaN()||R(re,!0)}(Y=e.onInput)===null||Y===void 0||Y.call(e,G),A(()=>{let ne=G;e.parser||(ne=G.replace(/。/g,".")),ne!==G&&N(ne)})},F=()=>{c.value=!0},W=()=>{c.value=!1,N(a.value.value)},D=G=>{N(G.target.value)},B=G=>{var Y,ne;if(G&&_.value||!G&&w.value)return;s.value=!1;let re=xa(e.step);G||(re=re.negate());const J=(u.value||xa(0)).add(re.toString()),te=R(J,!1);(Y=e.onStep)===null||Y===void 0||Y.call(e,i8(e.stringMode,te),{offset:e.step,type:G?"up":"down"}),(ne=a.value)===null||ne===void 0||ne.focus()},k=G=>{const Y=xa(h(m.value));let ne=Y;Y.isNaN()?ne=u.value:ne=R(Y,G),e.value!==void 0?b(u.value,!1):ne.isNaN()||b(ne,!1)},L=G=>{var Y;const{which:ne}=G;s.value=!0,ne===Fe.ENTER&&(c.value||(s.value=!1),k(!1),(Y=e.onPressEnter)===null||Y===void 0||Y.call(e,G)),e.keyboard!==!1&&!c.value&&[Fe.UP,Fe.DOWN].includes(ne)&&(B(Fe.UP===ne),G.preventDefault())},z=()=>{s.value=!1},K=G=>{k(!1),l.value=!1,s.value=!1,r("blur",G)};return Ie(()=>e.precision,()=>{u.value.isInvalidate()||b(u.value,!1)},{flush:"post"}),Ie(()=>e.value,()=>{const G=xa(e.value);u.value=G;const Y=xa(h(m.value));(!G.equals(Y)||!s.value||e.formatter)&&b(G,s.value)},{flush:"post"}),Ie(m,()=>{e.formatter&&O()},{flush:"post"}),Ie(()=>e.disabled,G=>{G&&(l.value=!1)}),i({focus:()=>{var G;(G=a.value)===null||G===void 0||G.focus()},blur:()=>{var G;(G=a.value)===null||G===void 0||G.blur()}}),()=>{const G=S(S({},n),e),{prefixCls:Y="rc-input-number",min:ne,max:re,step:J=1,defaultValue:te,value:ee,disabled:fe,readonly:ie,keyboard:X,controls:ue=!0,autofocus:ye,stringMode:H,parser:j,formatter:q,precision:se,decimalSeparator:ae,onChange:ge,onInput:Se,onPressEnter:$e,onStep:_e,lazy:be,class:Te,style:Pe}=G,oe=Zwe(G,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:le,downHandler:xe}=o,Ae=`${Y}-input`,Be={};return be?Be.onChange=D:Be.onInput=D,g("div",{class:me(Y,Te,{[`${Y}-focused`]:l.value,[`${Y}-disabled`]:fe,[`${Y}-readonly`]:ie,[`${Y}-not-a-number`]:u.value.isNaN(),[`${Y}-out-of-range`]:!u.value.isInvalidate()&&!E(u.value)}),style:Pe,onKeydown:L,onKeyup:z},[ue&&g(Ywe,{prefixCls:Y,upDisabled:_.value,downDisabled:w.value,onStep:B},{upNode:le,downNode:xe}),g("div",{class:`${Ae}-wrap`},[g("input",V(V(V({autofocus:ye,autocomplete:"off",role:"spinbutton","aria-valuemin":ne,"aria-valuemax":re,"aria-valuenow":u.value.isInvalidate()?null:u.value.toString(),step:J},oe),{},{ref:a,class:Ae,value:m.value,disabled:fe,readonly:ie,onFocus:Ye=>{l.value=!0,r("focus",Ye)}},Be),{},{onBlur:K,onCompositionstart:F,onCompositionend:W}),null)])])}}});function LC(e){return e!=null}const Jwe=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorBorder:r,borderRadius:i,fontSizeLG:a,controlHeightLG:l,controlHeightSM:s,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:f,colorPrimary:h,controlHeight:m,inputPaddingHorizontal:v,colorBgContainer:y,colorTextDisabled:b,borderRadiusSM:$,borderRadiusLG:x,controlWidth:_,handleVisible:w}=e;return[{[t]:S(S(S(S({},vt(e)),ru(e)),Xh(e,t)),{display:"inline-block",width:_,margin:0,padding:0,border:`${n}px ${o} ${r}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:x,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:$,[`input${t}-input`]:{height:s-2*n,padding:`0 ${u}px`}},"&:hover":S({},hf(e)),"&-focused":S({},$s(e)),"&-disabled":S(S({},OO(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:c}},"&-group":S(S(S({},vt(e)),kB(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:x}},"&-sm":{[`${t}-group-addon`]:{borderRadius:$}}}}),[t]:{"&-input":S(S({width:"100%",height:m-2*n,padding:`0 ${v}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${f} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},_O(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:y,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:w===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${f} linear ${f}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
+ ${t}-handler-up-inner,
+ ${t}-handler-down-inner
+ `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${o} ${r}`,transition:`all ${f} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[`
+ ${t}-handler-up-inner,
+ ${t}-handler-down-inner
+ `]:{color:h}},"&-up-inner, &-down-inner":S(S({},Xc()),{color:d,transition:`all ${f} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${o} ${r}`,borderEndEndRadius:i},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"}},[`
+ ${t}-handler-up-disabled,
+ ${t}-handler-down-disabled
+ `]:{cursor:"not-allowed"},[`
+ ${t}-handler-up-disabled:hover &-handler-up-inner,
+ ${t}-handler-down-disabled:hover &-handler-down-inner
+ `]:{color:b}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},e2e=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:o,controlWidth:r,borderRadiusLG:i,borderRadiusSM:a}=e;return{[`${t}-affix-wrapper`]:S(S(S({},ru(e)),Xh(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:r,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:i},"&-sm":{borderRadius:a},[`&:not(${t}-affix-wrapper-disabled):hover`]:S(S({},hf(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:o}}})}},t2e=pt("InputNumber",e=>{const t=iu(e);return[Jwe(t),e2e(t),uf(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var n2e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const l8=HH(),o2e=()=>S(S({},l8),{size:Qe(),bordered:De(!0),placeholder:String,name:String,id:String,type:String,addonBefore:Z.any,addonAfter:Z.any,prefix:Z.any,"onUpdate:value":l8.onChange,valueModifiers:Object,status:Qe()}),NC=pe({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:o2e(),slots:Object,setup(e,t){let{emit:n,expose:o,attrs:r,slots:i}=t;const a=co(),l=To.useInject(),s=M(()=>da(l.status,e.status)),{prefixCls:c,size:u,direction:d,disabled:f}=Ve("input-number",e),{compactSize:h,compactItemClassnames:m}=Ms(c,d),v=jr(),y=M(()=>{var N;return(N=f.value)!==null&&N!==void 0?N:v.value}),[b,$]=t2e(c),x=M(()=>h.value||u.value),_=ve(e.value===void 0?e.defaultValue:e.value),w=ve(!1);Ie(()=>e.value,()=>{_.value=e.value});const I=ve(null),O=()=>{var N;(N=I.value)===null||N===void 0||N.focus()};o({focus:O,blur:()=>{var N;(N=I.value)===null||N===void 0||N.blur()}});const E=N=>{e.value===void 0&&(_.value=N),n("update:value",N),n("change",N),a.onFieldChange()},R=N=>{w.value=!1,n("blur",N),a.onFieldBlur()},A=N=>{w.value=!0,n("focus",N)};return()=>{var N,F,W,D;const{hasFeedback:B,isFormItemInput:k,feedbackIcon:L}=l,z=(N=e.id)!==null&&N!==void 0?N:a.id.value,K=S(S(S({},r),e),{id:z,disabled:y.value}),{class:G,bordered:Y,readonly:ne,style:re,addonBefore:J=(F=i.addonBefore)===null||F===void 0?void 0:F.call(i),addonAfter:te=(W=i.addonAfter)===null||W===void 0?void 0:W.call(i),prefix:ee=(D=i.prefix)===null||D===void 0?void 0:D.call(i),valueModifiers:fe={}}=K,ie=n2e(K,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),X=c.value,ue=me({[`${X}-lg`]:x.value==="large",[`${X}-sm`]:x.value==="small",[`${X}-rtl`]:d.value==="rtl",[`${X}-readonly`]:ne,[`${X}-borderless`]:!Y,[`${X}-in-form-item`]:k},sr(X,s.value),G,m.value,$.value);let ye=g(Qwe,V(V({},_t(ie,["size","defaultValue"])),{},{ref:I,lazy:!!fe.lazy,value:_.value,class:ue,prefixCls:X,readonly:ne,onChange:E,onBlur:R,onFocus:A}),{upHandler:i.upIcon?()=>g("span",{class:`${X}-handler-up-inner`},[i.upIcon()]):()=>g(Kwe,{class:`${X}-handler-up-inner`},null),downHandler:i.downIcon?()=>g("span",{class:`${X}-handler-down-inner`},[i.downIcon()]):()=>g(jh,{class:`${X}-handler-down-inner`},null)});const H=LC(J)||LC(te),j=LC(ee);if(j||B){const q=me(`${X}-affix-wrapper`,sr(`${X}-affix-wrapper`,s.value,B),{[`${X}-affix-wrapper-focused`]:w.value,[`${X}-affix-wrapper-disabled`]:y.value,[`${X}-affix-wrapper-sm`]:x.value==="small",[`${X}-affix-wrapper-lg`]:x.value==="large",[`${X}-affix-wrapper-rtl`]:d.value==="rtl",[`${X}-affix-wrapper-readonly`]:ne,[`${X}-affix-wrapper-borderless`]:!Y,[`${G}`]:!H&&G},$.value);ye=g("div",{class:q,style:re,onClick:O},[j&&g("span",{class:`${X}-prefix`},[ee]),ye,B&&g("span",{class:`${X}-suffix`},[L])])}if(H){const q=`${X}-group`,se=`${q}-addon`,ae=J?g("div",{class:se},[J]):null,ge=te?g("div",{class:se},[te]):null,Se=me(`${X}-wrapper`,q,{[`${q}-rtl`]:d.value==="rtl"},$.value),$e=me(`${X}-group-wrapper`,{[`${X}-group-wrapper-sm`]:x.value==="small",[`${X}-group-wrapper-lg`]:x.value==="large",[`${X}-group-wrapper-rtl`]:d.value==="rtl"},sr(`${c}-group-wrapper`,s.value,B),G,$.value);ye=g("div",{class:$e,style:re},[g("div",{class:Se},[ae&&g(dh,null,{default:()=>[g(S0,null,{default:()=>[ae]})]}),ye,ge&&g(dh,null,{default:()=>[g(S0,null,{default:()=>[ge]})]})])])}return b(Gt(ye,{style:re}))}}}),r2e=S(NC,{install:e=>(e.component(NC.name,NC),e)}),i2e=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:o,colorText:r}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:r,background:n},[`${t}-sider-zero-width-trigger`]:{color:r,background:n,border:`1px solid ${o}`,borderInlineStart:0}}}},a2e=e=>{const{antCls:t,componentCls:n,colorText:o,colorTextLightSolid:r,colorBgHeader:i,colorBgBody:a,colorBgTrigger:l,layoutHeaderHeight:s,layoutHeaderPaddingInline:c,layoutHeaderColor:u,layoutFooterPadding:d,layoutTriggerHeight:f,layoutZeroTriggerSize:h,motionDurationMid:m,motionDurationSlow:v,fontSize:y,borderRadius:b}=e;return{[n]:S(S({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:s,paddingInline:c,color:u,lineHeight:`${s}px`,background:i,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:o,fontSize:y,background:a},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:i,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:r,lineHeight:`${f}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-h,zIndex:1,width:h,height:h,color:r,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:i,borderStartStartRadius:0,borderStartEndRadius:b,borderEndEndRadius:b,borderEndStartRadius:0,cursor:"pointer",transition:`background ${v} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${v}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:b,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b}}}}},i2e(e)),{"&-rtl":{direction:"rtl"}})}},l2e=pt("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:o,controlHeightLG:r,marginXXS:i}=e,a=r*1.25,l=nt(e,{layoutHeaderHeight:o*2,layoutHeaderPaddingInline:a,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${a}px`,layoutTriggerHeight:r+i*2,layoutZeroTriggerSize:r});return[a2e(l)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),SI=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function jy(e){let{suffixCls:t,tagName:n,name:o}=e;return r=>pe({compatConfig:{MODE:3},name:o,props:SI(),setup(a,l){let{slots:s}=l;const{prefixCls:c}=Ve(t,a);return()=>{const u=S(S({},a),{prefixCls:c.value,tagName:n});return g(r,u,s)}}})}const CI=pe({compatConfig:{MODE:3},props:SI(),setup(e,t){let{slots:n}=t;return()=>g(e.tagName,{class:e.prefixCls},n)}}),s2e=pe({compatConfig:{MODE:3},inheritAttrs:!1,props:SI(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("",e),[a,l]=l2e(r),s=he([]);ft(K9,{addSider:d=>{s.value=[...s.value,d]},removeSider:d=>{s.value=s.value.filter(f=>f!==d)}});const u=M(()=>{const{prefixCls:d,hasSider:f}=e;return{[l.value]:!0,[`${d}`]:!0,[`${d}-has-sider`]:typeof f=="boolean"?f:s.value.length>0,[`${d}-rtl`]:i.value==="rtl"}});return()=>{const{tagName:d}=e;return a(g(d,S(S({},o),{class:[u.value,o.class]}),n))}}}),c2e=jy({suffixCls:"layout",tagName:"section",name:"ALayout"})(s2e),Pm=jy({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(CI),Tm=jy({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(CI),Em=jy({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(CI),kC=c2e;var u2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const d2e=u2e;function s8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){f2e(e,r,n[r])})}return e}function f2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $I=function(t,n){var o=s8({},t,n.attrs);return g(Ot,s8({},o,{icon:d2e}),null)};$I.displayName="BarsOutlined";$I.inheritAttrs=!1;const p2e=$I,c8={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px",xxxl:"1999.98px"},h2e=()=>({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:Z.any,width:Z.oneOfType([Z.number,Z.string]),collapsedWidth:Z.oneOfType([Z.number,Z.string]),breakpoint:Z.oneOf(Go("xs","sm","md","lg","xl","xxl","xxxl")),theme:Z.oneOf(Go("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),g2e=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Am=pe({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:bt(h2e(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:o,slots:r}=t;const{prefixCls:i}=Ve("layout-sider",e),a=it(K9,void 0),l=ve(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),s=ve(!1);Ie(()=>e.collapsed,()=>{l.value=!!e.collapsed}),ft(V9,l);const c=(v,y)=>{e.collapsed===void 0&&(l.value=v),n("update:collapsed",v),n("collapse",v,y)},u=ve(v=>{s.value=v.matches,n("breakpoint",v.matches),l.value!==v.matches&&c(v.matches,"responsive")});let d;function f(v){return u.value(v)}const h=g2e("ant-sider-");a&&a.addSider(h),lt(()=>{Ie(()=>e.breakpoint,()=>{try{d==null||d.removeEventListener("change",f)}catch{d==null||d.removeListener(f)}if(typeof window<"u"){const{matchMedia:v}=window;if(v&&e.breakpoint&&e.breakpoint in c8){d=v(`(max-width: ${c8[e.breakpoint]})`);try{d.addEventListener("change",f)}catch{d.addListener(f)}f(d)}}},{immediate:!0})}),Ct(()=>{try{d==null||d.removeEventListener("change",f)}catch{d==null||d.removeListener(f)}a&&a.removeSider(h)});const m=()=>{c(!l.value,"clickTrigger")};return()=>{var v,y;const b=i.value,{collapsedWidth:$,width:x,reverseArrow:_,zeroWidthTriggerStyle:w,trigger:I=(v=r.trigger)===null||v===void 0?void 0:v.call(r),collapsible:O,theme:P}=e,E=l.value?$:x,R=O0(E)?`${E}px`:String(E),A=parseFloat(String($||0))===0?g("span",{onClick:m,class:me(`${b}-zero-width-trigger`,`${b}-zero-width-trigger-${_?"right":"left"}`),style:w},[I||g(p2e,null,null)]):null,N={expanded:g(_?sa:xs,null,null),collapsed:g(_?xs:sa,null,null)},F=l.value?"collapsed":"expanded",W=N[F],D=I!==null?A||g("div",{class:`${b}-trigger`,onClick:m,style:{width:R}},[I||W]):null,B=[o.style,{flex:`0 0 ${R}`,maxWidth:R,minWidth:R,width:R}],k=me(b,`${b}-${P}`,{[`${b}-collapsed`]:!!l.value,[`${b}-has-trigger`]:O&&I!==null&&!A,[`${b}-below`]:!!s.value,[`${b}-zero-width`]:parseFloat(R)===0},o.class);return g("aside",V(V({},o),{},{class:k,style:B}),[g("div",{class:`${b}-children`},[(y=r.default)===null||y===void 0?void 0:y.call(r)]),O||s.value&&A?D:null])}}}),v2e=Pm,m2e=Tm,b2e=Am,y2e=Em,S2e=S(kC,{Header:Pm,Footer:Tm,Content:Em,Sider:Am,install:e=>(e.component(kC.name,kC),e.component(Pm.name,Pm),e.component(Tm.name,Tm),e.component(Am.name,Am),e.component(Em.name,Em),e)});function C2e(e,t,n){var o=n||{},r=o.noTrailing,i=r===void 0?!1:r,a=o.noLeading,l=a===void 0?!1:a,s=o.debounceMode,c=s===void 0?void 0:s,u,d=!1,f=0;function h(){u&&clearTimeout(u)}function m(y){var b=y||{},$=b.upcomingOnly,x=$===void 0?!1:$;h(),d=!x}function v(){for(var y=arguments.length,b=new Array(y),$=0;$<y;$++)b[$]=arguments[$];var x=this,_=Date.now()-f;if(d)return;function w(){f=Date.now(),t.apply(x,b)}function I(){u=void 0}!l&&c&&!u&&w(),h(),c===void 0&&_>e?l?(f=Date.now(),i||(u=setTimeout(c?I:w,e))):w():i!==!0&&(u=setTimeout(c?I:w,c===void 0?e-_:e))}return v.cancel=m,v}function $2e(e,t,n){var o=n||{},r=o.atBegin,i=r===void 0?!1:r;return C2e(e,t,{debounceMode:i!==!1})}const x2e=new Pt("antSpinMove",{to:{opacity:1}}),w2e=new Pt("antRotate",{to:{transform:"rotate(405deg)"}}),_2e=e=>({[`${e.componentCls}`]:S(S({},vt(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:x2e,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:w2e,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),O2e=pt("Spin",e=>{const t=nt(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[_2e(t)]},{contentHeight:400});var I2e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const P2e=()=>({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:Z.any,delay:Number,indicator:Z.any});let Mm=null;function T2e(e,t){return!!e&&!!t&&!isNaN(Number(t))}function E2e(e){const t=e.indicator;Mm=typeof t=="function"?t:()=>g(t,null,null)}const Aa=pe({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:bt(P2e(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,size:i,direction:a}=Ve("spin",e),[l,s]=O2e(r),c=ve(e.spinning&&!T2e(e.spinning,e.delay));let u;return Ie([()=>e.spinning,()=>e.delay],()=>{u==null||u.cancel(),u=$2e(e.delay,()=>{c.value=e.spinning}),u==null||u()},{immediate:!0,flush:"post"}),Ct(()=>{u==null||u.cancel()}),()=>{var d,f;const{class:h}=n,m=I2e(n,["class"]),{tip:v=(d=o.tip)===null||d===void 0?void 0:d.call(o)}=e,y=(f=o.default)===null||f===void 0?void 0:f.call(o),b={[s.value]:!0,[r.value]:!0,[`${r.value}-sm`]:i.value==="small",[`${r.value}-lg`]:i.value==="large",[`${r.value}-spinning`]:c.value,[`${r.value}-show-text`]:!!v,[`${r.value}-rtl`]:a.value==="rtl",[h]:!!h};function $(_){const w=`${_}-dot`;let I=lo(o,e,"indicator");return I===null?null:(Array.isArray(I)&&(I=I.length===1?I[0]:I),mo(I)?ko(I,{class:w}):Mm&&mo(Mm())?ko(Mm(),{class:w}):g("span",{class:`${w} ${_}-dot-spin`},[g("i",{class:`${_}-dot-item`},null),g("i",{class:`${_}-dot-item`},null),g("i",{class:`${_}-dot-item`},null),g("i",{class:`${_}-dot-item`},null)]))}const x=g("div",V(V({},m),{},{class:b,"aria-live":"polite","aria-busy":c.value}),[$(r.value),v?g("div",{class:`${r.value}-text`},[v]):null]);if(y&&_n(y).length){const _={[`${r.value}-container`]:!0,[`${r.value}-blur`]:c.value};return l(g("div",{class:[`${r.value}-nested-loading`,e.wrapperClassName,s.value]},[c.value&&g("div",{key:"loading"},[x]),g("div",{class:_,key:"container"},[y])]))}return l(x)}}});Aa.setDefaultIndicator=E2e;Aa.install=function(e){return e.component(Aa.name,Aa),e};var A2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const M2e=A2e;function u8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){R2e(e,r,n[r])})}return e}function R2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xI=function(t,n){var o=u8({},t,n.attrs);return g(Ot,u8({},o,{icon:M2e}),null)};xI.displayName="DoubleLeftOutlined";xI.inheritAttrs=!1;const d8=xI;var D2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const L2e=D2e;function f8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){N2e(e,r,n[r])})}return e}function N2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wI=function(t,n){var o=f8({},t,n.attrs);return g(Ot,f8({},o,{icon:L2e}),null)};wI.displayName="DoubleRightOutlined";wI.inheritAttrs=!1;const p8=wI,k2e=pe({name:"MiniSelect",compatConfig:{MODE:3},inheritAttrs:!1,props:Sy(),Option:Cl.Option,setup(e,t){let{attrs:n,slots:o}=t;return()=>{const r=S(S(S({},e),{size:"small"}),n);return g(Cl,r,o)}}}),B2e=pe({name:"MiddleSelect",inheritAttrs:!1,props:Sy(),Option:Cl.Option,setup(e,t){let{attrs:n,slots:o}=t;return()=>{const r=S(S(S({},e),{size:"middle"}),n);return g(Cl,r,o)}}}),nc=pe({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:Z.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:o}=t;const r=()=>{n("click",e.page)},i=a=>{n("keypress",a,r,e.page)};return()=>{const{showTitle:a,page:l,itemRender:s}=e,{class:c,style:u}=o,d=`${e.rootPrefixCls}-item`,f=me(d,`${d}-${e.page}`,{[`${d}-active`]:e.active,[`${d}-disabled`]:!e.page},c);return g("li",{onClick:r,onKeypress:i,title:a?String(l):null,tabindex:"0",class:f,style:u},[s({page:l,type:"page",originalElement:g("a",{rel:"nofollow"},[l])})])}}}),ac={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},F2e=pe({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:Z.any,current:Number,pageSizeOptions:Z.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:Z.object,rootPrefixCls:String,selectPrefixCls:String,goButton:Z.any},setup(e){const t=he(""),n=M(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),o=s=>`${s.value} ${e.locale.items_per_page}`,r=s=>{const{value:c,composing:u}=s.target;s.isComposing||u||t.value===c||(t.value=c)},i=s=>{const{goButton:c,quickGo:u,rootPrefixCls:d}=e;if(!(c||t.value===""))if(s.relatedTarget&&(s.relatedTarget.className.indexOf(`${d}-item-link`)>=0||s.relatedTarget.className.indexOf(`${d}-item`)>=0)){t.value="";return}else u(n.value),t.value=""},a=s=>{t.value!==""&&(s.keyCode===ac.ENTER||s.type==="click")&&(e.quickGo(n.value),t.value="")},l=M(()=>{const{pageSize:s,pageSizeOptions:c}=e;return c.some(u=>u.toString()===s.toString())?c:c.concat([s.toString()]).sort((u,d)=>{const f=isNaN(Number(u))?0:Number(u),h=isNaN(Number(d))?0:Number(d);return f-h})});return()=>{const{rootPrefixCls:s,locale:c,changeSize:u,quickGo:d,goButton:f,selectComponentClass:h,selectPrefixCls:m,pageSize:v,disabled:y}=e,b=`${s}-options`;let $=null,x=null,_=null;if(!u&&!d)return null;if(u&&h){const w=e.buildOptionText||o,I=l.value.map((O,P)=>g(h.Option,{key:P,value:O},{default:()=>[w({value:O})]}));$=g(h,{disabled:y,prefixCls:m,showSearch:!1,class:`${b}-size-changer`,optionLabelProp:"children",value:(v||l.value[0]).toString(),onChange:O=>u(Number(O)),getPopupContainer:O=>O.parentNode},{default:()=>[I]})}return d&&(f&&(_=typeof f=="boolean"?g("button",{type:"button",onClick:a,onKeyup:a,disabled:y,class:`${b}-quick-jumper-button`},[c.jump_to_confirm]):g("span",{onClick:a,onKeyup:a},[f])),x=g("div",{class:`${b}-quick-jumper`},[c.jump_to,Ln(g("input",{disabled:y,type:"text",value:t.value,onInput:r,onChange:r,onKeyup:a,onBlur:i},null),[[nf]]),c.page,_])),g("li",{class:`${b}`},[$,x])}}}),zH={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};var H2e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function z2e(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}function j2e(e){let{originalElement:t}=e;return t}function el(e,t,n){const o=typeof e>"u"?t.statePageSize:e;return Math.floor((n.total-1)/o)+1}const W2e=pe({compatConfig:{MODE:3},name:"Pagination",mixins:[eu],inheritAttrs:!1,props:{disabled:{type:Boolean,default:void 0},prefixCls:Z.string.def("rc-pagination"),selectPrefixCls:Z.string.def("rc-select"),current:Number,defaultCurrent:Z.number.def(1),total:Z.number.def(0),pageSize:Number,defaultPageSize:Z.number.def(10),hideOnSinglePage:{type:Boolean,default:!1},showSizeChanger:{type:Boolean,default:void 0},showLessItems:{type:Boolean,default:!1},selectComponentClass:Z.any,showPrevNextJumpers:{type:Boolean,default:!0},showQuickJumper:Z.oneOfType([Z.looseBool,Z.object]).def(!1),showTitle:{type:Boolean,default:!0},pageSizeOptions:Z.arrayOf(Z.oneOfType([Z.number,Z.string])),buildOptionText:Function,showTotal:Function,simple:{type:Boolean,default:void 0},locale:Z.object.def(zH),itemRender:Z.func.def(j2e),prevIcon:Z.any,nextIcon:Z.any,jumpPrevIcon:Z.any,jumpNextIcon:Z.any,totalBoundaryShowSizeChanger:Z.number.def(50)},data(){const e=this.$props;let t=x0([this.current,this.defaultCurrent]);const n=x0([this.pageSize,this.defaultPageSize]);return t=Math.min(t,el(n,void 0,e)),{stateCurrent:t,stateCurrentInputValue:t,statePageSize:n}},watch:{current(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize(e){const t={};let n=this.stateCurrent;const o=el(e,this.$data,this.$props);n=n>o?o:n,ul(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=el(this.pageSize,this.$data,this.$props);if(ul(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(el(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return FN(this,e,this.$props)||g("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=el(void 0,this.$data,this.$props),{stateCurrentInputValue:o}=this.$data;let r;return t===""?r=t:isNaN(Number(t))?r=o:t>=n?r=n:r=Number(t),r},isValid(e){return z2e(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===ac.ARROW_UP||e.keyCode===ac.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){if(e.isComposing||e.target.composing)return;const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===ac.ENTER?this.handleChange(t):e.keyCode===ac.ARROW_UP?this.handleChange(t-1):e.keyCode===ac.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,o=el(e,this.$data,this.$props);t=t>o?o:t,o===0&&(t=this.stateCurrent),typeof e=="number"&&(ul(this,"pageSize")||this.setState({statePageSize:e}),ul(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const o=el(void 0,this.$data,this.$props);return n>o?n=o:n<1&&(n=1),ul(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrent<el(void 0,this.$data,this.$props)},getShowSizeChanger(){const{showSizeChanger:e,total:t,totalBoundaryShowSizeChanger:n}=this.$props;return typeof e<"u"?e:t>n},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];t(...o)}},runIfEnterPrev(e){this.runIfEnter(e,this.prev)},runIfEnterNext(e){this.runIfEnter(e,this.next)},runIfEnterJumpPrev(e){this.runIfEnter(e,this.jumpPrev)},runIfEnterJumpNext(e){this.runIfEnter(e,this.jumpNext)},handleGoTO(e){(e.keyCode===ac.ENTER||e.type==="click")&&this.handleChange(this.stateCurrentInputValue)},renderPrev(e){const{itemRender:t}=this.$props,n=t({page:e,type:"prev",originalElement:this.getItemIcon("prevIcon","prev page")}),o=!this.hasPrev();return Jn(n)?Gt(n,o?{disabled:o}:{}):n},renderNext(e){const{itemRender:t}=this.$props,n=t({page:e,type:"next",originalElement:this.getItemIcon("nextIcon","next page")}),o=!this.hasNext();return Jn(n)?Gt(n,o?{disabled:o}:{}):n}},render(){const{prefixCls:e,disabled:t,hideOnSinglePage:n,total:o,locale:r,showQuickJumper:i,showLessItems:a,showTitle:l,showTotal:s,simple:c,itemRender:u,showPrevNextJumpers:d,jumpPrevIcon:f,jumpNextIcon:h,selectComponentClass:m,selectPrefixCls:v,pageSizeOptions:y}=this.$props,{stateCurrent:b,statePageSize:$}=this,x=_2(this.$attrs).extraAttrs,{class:_}=x,w=H2e(x,["class"]);if(n===!0&&this.total<=$)return null;const I=el(void 0,this.$data,this.$props),O=[];let P=null,E=null,R=null,A=null,N=null;const F=i&&i.goButton,W=a?1:2,D=b-1>0?b-1:0,B=b+1<I?b+1:I,k=this.hasPrev(),L=this.hasNext();if(c)return F&&(typeof F=="boolean"?N=g("button",{type:"button",onClick:this.handleGoTO,onKeyup:this.handleGoTO},[r.jump_to_confirm]):N=g("span",{onClick:this.handleGoTO,onKeyup:this.handleGoTO},[F]),N=g("li",{title:l?`${r.jump_to}${b}/${I}`:null,class:`${e}-simple-pager`},[N])),g("ul",V({class:me(`${e} ${e}-simple`,{[`${e}-disabled`]:t},_)},w),[g("li",{title:l?r.prev_page:null,onClick:this.prev,tabindex:k?0:null,onKeypress:this.runIfEnterPrev,class:me(`${e}-prev`,{[`${e}-disabled`]:!k}),"aria-disabled":!k},[this.renderPrev(D)]),g("li",{title:l?`${b}/${I}`:null,class:`${e}-simple-pager`},[Ln(g("input",{type:"text",value:this.stateCurrentInputValue,disabled:t,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onInput:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"},null),[[nf]]),g("span",{class:`${e}-slash`},[Do("/")]),I]),g("li",{title:l?r.next_page:null,onClick:this.next,tabindex:L?0:null,onKeypress:this.runIfEnterNext,class:me(`${e}-next`,{[`${e}-disabled`]:!L}),"aria-disabled":!L},[this.renderNext(B)]),N]);if(I<=3+W*2){const ne={locale:r,rootPrefixCls:e,showTitle:l,itemRender:u,onClick:this.handleChange,onKeypress:this.runIfEnter};I||O.push(g(nc,V(V({},ne),{},{key:"noPager",page:1,class:`${e}-item-disabled`}),null));for(let re=1;re<=I;re+=1){const J=b===re;O.push(g(nc,V(V({},ne),{},{key:re,page:re,active:J}),null))}}else{const ne=a?r.prev_3:r.prev_5,re=a?r.next_3:r.next_5;d&&(P=g("li",{title:this.showTitle?ne:null,key:"prev",onClick:this.jumpPrev,tabindex:"0",onKeypress:this.runIfEnterJumpPrev,class:me(`${e}-jump-prev`,{[`${e}-jump-prev-custom-icon`]:!!f})},[u({page:this.getJumpPrevPage(),type:"jump-prev",originalElement:this.getItemIcon("jumpPrevIcon","prev page")})]),E=g("li",{title:this.showTitle?re:null,key:"next",tabindex:"0",onClick:this.jumpNext,onKeypress:this.runIfEnterJumpNext,class:me(`${e}-jump-next`,{[`${e}-jump-next-custom-icon`]:!!h})},[u({page:this.getJumpNextPage(),type:"jump-next",originalElement:this.getItemIcon("jumpNextIcon","next page")})])),A=g(nc,{locale:r,last:!0,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:I,page:I,active:!1,showTitle:l,itemRender:u},null),R=g(nc,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:1,page:1,active:!1,showTitle:l,itemRender:u},null);let J=Math.max(1,b-W),te=Math.min(b+W,I);b-1<=W&&(te=1+W*2),I-b<=W&&(J=I-W*2);for(let ee=J;ee<=te;ee+=1){const fe=b===ee;O.push(g(nc,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:ee,page:ee,active:fe,showTitle:l,itemRender:u},null))}b-1>=W*2&&b!==3&&(O[0]=g(nc,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:J,page:J,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:u},null),O.unshift(P)),I-b>=W*2&&b!==I-2&&(O[O.length-1]=g(nc,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:te,page:te,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:u},null),O.push(E)),J!==1&&O.unshift(R),te!==I&&O.push(A)}let z=null;s&&(z=g("li",{class:`${e}-total-text`},[s(o,[o===0?0:(b-1)*$+1,b*$>o?o:b*$])]));const K=!k||!I,G=!L||!I,Y=this.buildOptionText||this.$slots.buildOptionText;return g("ul",V(V({unselectable:"on",ref:"paginationNode"},w),{},{class:me({[`${e}`]:!0,[`${e}-disabled`]:t},_)}),[z,g("li",{title:l?r.prev_page:null,onClick:this.prev,tabindex:K?null:0,onKeypress:this.runIfEnterPrev,class:me(`${e}-prev`,{[`${e}-disabled`]:K}),"aria-disabled":K},[this.renderPrev(D)]),O,g("li",{title:l?r.next_page:null,onClick:this.next,tabindex:G?null:0,onKeypress:this.runIfEnterNext,class:me(`${e}-next`,{[`${e}-disabled`]:G}),"aria-disabled":G},[this.renderNext(B)]),g(F2e,{disabled:t,locale:r,rootPrefixCls:e,selectComponentClass:m,selectPrefixCls:v,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:b,pageSize:$,pageSizeOptions:y,buildOptionText:Y||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:F},null)])}}),V2e=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[`
+ &:hover ${t}-item:not(${t}-item-active),
+ &:active ${t}-item:not(${t}-item-active),
+ &:hover ${t}-item-link,
+ &:active ${t}-item-link
+ `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},K2e=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[`
+ &${t}-mini ${t}-prev ${t}-item-link,
+ &${t}-mini ${t}-next ${t}-item-link
+ `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:S(S({},IO(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},U2e=e=>{const{componentCls:t}=e;return{[`
+ &${t}-simple ${t}-prev,
+ &${t}-simple ${t}-next
+ `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},G2e=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":S({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},yl(e))},[`
+ ${t}-prev,
+ ${t}-jump-prev,
+ ${t}-jump-next
+ `]:{marginInlineEnd:e.marginXS},[`
+ ${t}-prev,
+ ${t}-next,
+ ${t}-jump-prev,
+ ${t}-jump-next
+ `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:S({},yl(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:S(S({},ru(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Y2e=e=>{const{componentCls:t}=e;return{[`${t}-item`]:S(S({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},Sl(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},X2e=e=>{const{componentCls:t}=e;return{[t]:S(S(S(S(S(S(S(S({},vt(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),Y2e(e)),G2e(e)),U2e(e)),K2e(e)),V2e(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},q2e=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Z2e=pt("Pagination",e=>{const t=nt(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},iu(e));return[X2e(t),e.wireframe&&q2e(t)]});var Q2e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const J2e=()=>({total:Number,defaultCurrent:Number,disabled:De(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:De(),showSizeChanger:De(),pageSizeOptions:kt(),buildOptionText:Oe(),showQuickJumper:rt([Boolean,Object]),showTotal:Oe(),size:Qe(),simple:De(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:Oe(),role:String,responsive:Boolean,showLessItems:De(),onChange:Oe(),onShowSizeChange:Oe(),"onUpdate:current":Oe(),"onUpdate:pageSize":Oe()}),e_e=pe({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:J2e(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,configProvider:i,direction:a,size:l}=Ve("pagination",e),[s,c]=Z2e(r),u=M(()=>i.getPrefixCls("select",e.selectPrefixCls)),d=ff(),[f]=Wi("Pagination",qN,st(e,"locale")),h=m=>{const v=g("span",{class:`${m}-item-ellipsis`},[Do("•••")]),y=g("button",{class:`${m}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?g(sa,null,null):g(xs,null,null)]),b=g("button",{class:`${m}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?g(xs,null,null):g(sa,null,null)]),$=g("a",{rel:"nofollow",class:`${m}-item-link`},[g("div",{class:`${m}-item-container`},[a.value==="rtl"?g(p8,{class:`${m}-item-link-icon`},null):g(d8,{class:`${m}-item-link-icon`},null),v])]),x=g("a",{rel:"nofollow",class:`${m}-item-link`},[g("div",{class:`${m}-item-container`},[a.value==="rtl"?g(d8,{class:`${m}-item-link-icon`},null):g(p8,{class:`${m}-item-link-icon`},null),v])]);return{prevIcon:y,nextIcon:b,jumpPrevIcon:$,jumpNextIcon:x}};return()=>{var m;const{itemRender:v=n.itemRender,buildOptionText:y=n.buildOptionText,selectComponentClass:b,responsive:$}=e,x=Q2e(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),_=l.value==="small"||!!(!((m=d.value)===null||m===void 0)&&m.xs&&!l.value&&$),w=S(S(S(S(S({},x),h(r.value)),{prefixCls:r.value,selectPrefixCls:u.value,selectComponentClass:b||(_?k2e:B2e),locale:f.value,buildOptionText:y}),o),{class:me({[`${r.value}-mini`]:_,[`${r.value}-rtl`]:a.value==="rtl"},o.class,c.value),itemRender:v});return s(g(W2e,w,null))}}}),Wy=$n(e_e),t_e=()=>({avatar:Z.any,description:Z.any,prefixCls:String,title:Z.any}),jH=pe({compatConfig:{MODE:3},name:"AListItemMeta",props:t_e(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ve("list",e);return()=>{var r,i,a,l,s,c;const u=`${o.value}-item-meta`,d=(r=e.title)!==null&&r!==void 0?r:(i=n.title)===null||i===void 0?void 0:i.call(n),f=(a=e.description)!==null&&a!==void 0?a:(l=n.description)===null||l===void 0?void 0:l.call(n),h=(s=e.avatar)!==null&&s!==void 0?s:(c=n.avatar)===null||c===void 0?void 0:c.call(n),m=g("div",{class:`${o.value}-item-meta-content`},[d&&g("h4",{class:`${o.value}-item-meta-title`},[d]),f&&g("div",{class:`${o.value}-item-meta-description`},[f])]);return g("div",{class:u},[h&&g("div",{class:`${o.value}-item-meta-avatar`},[h]),(d||f)&&m])}}}),WH=Symbol("ListContextKey");var n_e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const o_e=()=>({prefixCls:String,extra:Z.any,actions:Z.array,grid:Object,colStyle:{type:Object,default:void 0}}),VH=pe({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:jH,props:o_e(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{itemLayout:r,grid:i}=it(WH,{grid:he(),itemLayout:he()}),{prefixCls:a}=Ve("list",e),l=()=>{var c;const u=((c=n.default)===null||c===void 0?void 0:c.call(n))||[];let d;return u.forEach(f=>{Uee(f)&&!Nh(f)&&(d=!0)}),d&&u.length>1},s=()=>{var c,u;const d=(c=e.extra)!==null&&c!==void 0?c:(u=n.extra)===null||u===void 0?void 0:u.call(n);return r.value==="vertical"?!!d:!l()};return()=>{var c,u,d,f,h;const{class:m}=o,v=n_e(o,["class"]),y=a.value,b=(c=e.extra)!==null&&c!==void 0?c:(u=n.extra)===null||u===void 0?void 0:u.call(n),$=(d=n.default)===null||d===void 0?void 0:d.call(n);let x=(f=e.actions)!==null&&f!==void 0?f:ln((h=n.actions)===null||h===void 0?void 0:h.call(n));x=x&&!Array.isArray(x)?[x]:x;const _=x&&x.length>0&&g("ul",{class:`${y}-item-action`,key:"actions"},[x.map((O,P)=>g("li",{key:`${y}-item-action-${P}`},[O,P!==x.length-1&&g("em",{class:`${y}-item-action-split`},null)]))]),w=i.value?"div":"li",I=g(w,V(V({},v),{},{class:me(`${y}-item`,{[`${y}-item-no-flex`]:!s()},m)}),{default:()=>[r.value==="vertical"&&b?[g("div",{class:`${y}-item-main`,key:"content"},[$,_]),g("div",{class:`${y}-item-extra`,key:"extra"},[b])]:[$,_,Gt(b,{key:"extra"})]]});return i.value?g(By,{flex:1,style:e.colStyle},{default:()=>[I]}):I}}}),r_e=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:o,margin:r,padding:i,listItemPaddingSM:a,marginLG:l,borderRadiusLG:s}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:o},[`${n}-pagination`]:{margin:`${r}px ${l}px`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:`${i}px ${o}px`}}}},i_e=e=>{const{componentCls:t,screenSM:n,screenMD:o,marginLG:r,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${o})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:r}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:r}}}},[`@media screen and (max-width: ${n})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${a}px`}}}}}},a_e=e=>{const{componentCls:t,antCls:n,controlHeight:o,minHeight:r,paddingSM:i,marginLG:a,padding:l,listItemPadding:s,colorPrimary:c,listItemPaddingSM:u,listItemPaddingLG:d,paddingXS:f,margin:h,colorText:m,colorTextDescription:v,motionDurationSlow:y,lineWidth:b}=e;return{[`${t}`]:S(S({},vt(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:a,textAlign:"end",[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:r,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:m,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:l},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:m},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${y}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:v,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${f}px`,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:b,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${l}px 0`,color:v,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:l,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:l,[`${t}-item-meta-title`]:{marginBlockEnd:i,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${l}px`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:o},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},l_e=pt("List",e=>{const t=nt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[a_e(t),r_e(t),i_e(t)]},{contentWidth:220}),s_e=()=>({bordered:De(),dataSource:kt(),extra:rr(),grid:qe(),itemLayout:String,loading:rt([Boolean,Object]),loadMore:rr(),pagination:rt([Boolean,Object]),prefixCls:String,rowKey:rt([String,Number,Function]),renderItem:Oe(),size:String,split:De(),header:rr(),footer:rr(),locale:qe()}),es=pe({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:VH,props:bt(s_e(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;var r,i;ft(WH,{grid:st(e,"grid"),itemLayout:st(e,"itemLayout")});const a={current:1,total:0},{prefixCls:l,direction:s,renderEmpty:c}=Ve("list",e),[u,d]=l_e(l),f=M(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),h=he((r=f.value.defaultCurrent)!==null&&r!==void 0?r:1),m=he((i=f.value.defaultPageSize)!==null&&i!==void 0?i:10);Ie(f,()=>{"current"in f.value&&(h.value=f.value.current),"pageSize"in f.value&&(m.value=f.value.pageSize)});const v=[],y=F=>(W,D)=>{h.value=W,m.value=D,f.value[F]&&f.value[F](W,D)},b=y("onChange"),$=y("onShowSizeChange"),x=M(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),_=M(()=>x.value&&x.value.spinning),w=M(()=>{let F="";switch(e.size){case"large":F="lg";break;case"small":F="sm";break}return F}),I=M(()=>({[`${l.value}`]:!0,[`${l.value}-vertical`]:e.itemLayout==="vertical",[`${l.value}-${w.value}`]:w.value,[`${l.value}-split`]:e.split,[`${l.value}-bordered`]:e.bordered,[`${l.value}-loading`]:_.value,[`${l.value}-grid`]:!!e.grid,[`${l.value}-rtl`]:s.value==="rtl"})),O=M(()=>{const F=S(S(S({},a),{total:e.dataSource.length,current:h.value,pageSize:m.value}),e.pagination||{}),W=Math.ceil(F.total/F.pageSize);return F.current>W&&(F.current=W),F}),P=M(()=>{let F=[...e.dataSource];return e.pagination&&e.dataSource.length>(O.value.current-1)*O.value.pageSize&&(F=[...e.dataSource].splice((O.value.current-1)*O.value.pageSize,O.value.pageSize)),F}),E=ff(),R=ai(()=>{for(let F=0;F<pl.length;F+=1){const W=pl[F];if(E.value[W])return W}}),A=M(()=>{if(!e.grid)return;const F=R.value&&e.grid[R.value]?e.grid[R.value]:e.grid.column;if(F)return{width:`${100/F}%`,maxWidth:`${100/F}%`}}),N=(F,W)=>{var D;const B=(D=e.renderItem)!==null&&D!==void 0?D:n.renderItem;if(!B)return null;let k;const L=typeof e.rowKey;return L==="function"?k=e.rowKey(F):L==="string"||L==="number"?k=F[e.rowKey]:k=F.key,k||(k=`list-item-${W}`),v[W]=k,B({item:F,index:W})};return()=>{var F,W,D,B,k,L,z,K;const G=(F=e.loadMore)!==null&&F!==void 0?F:(W=n.loadMore)===null||W===void 0?void 0:W.call(n),Y=(D=e.footer)!==null&&D!==void 0?D:(B=n.footer)===null||B===void 0?void 0:B.call(n),ne=(k=e.header)!==null&&k!==void 0?k:(L=n.header)===null||L===void 0?void 0:L.call(n),re=ln((z=n.default)===null||z===void 0?void 0:z.call(n)),J=!!(G||e.pagination||Y),te=me(S(S({},I.value),{[`${l.value}-something-after-last-item`]:J}),o.class,d.value),ee=e.pagination?g("div",{class:`${l.value}-pagination`},[g(Wy,V(V({},O.value),{},{onChange:b,onShowSizeChange:$}),null)]):null;let fe=_.value&&g("div",{style:{minHeight:"53px"}},null);if(P.value.length>0){v.length=0;const X=P.value.map((ye,H)=>N(ye,H)),ue=X.map((ye,H)=>g("div",{key:v[H],style:A.value},[ye]));fe=e.grid?g(jO,{gutter:e.grid.gutter},{default:()=>[ue]}):g("ul",{class:`${l.value}-items`},[X])}else!re.length&&!_.value&&(fe=g("div",{class:`${l.value}-empty-text`},[((K=e.locale)===null||K===void 0?void 0:K.emptyText)||c("List")]));const ie=O.value.position||"bottom";return u(g("div",V(V({},o),{},{class:te}),[(ie==="top"||ie==="both")&&ee,ne&&g("div",{class:`${l.value}-header`},[ne]),g(Aa,x.value,{default:()=>[fe,re]}),Y&&g("div",{class:`${l.value}-footer`},[Y]),G||(ie==="bottom"||ie==="both")&&ee]))}}});es.install=function(e){return e.component(es.name,es),e.component(es.Item.name,es.Item),e.component(es.Item.Meta.name,es.Item.Meta),e};const c_e=es;function u_e(e){const{selectionStart:t}=e;return e.value.slice(0,t)}function d_e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(t)?t:[t]).reduce((o,r)=>{const i=e.lastIndexOf(r);return i>o.location?{location:i,prefix:r}:o},{location:-1,prefix:""})}function h8(e){return(e||"").toLowerCase()}function f_e(e,t,n){const o=e[0];if(!o||o===n)return e;let r=e;const i=t.length;for(let a=0;a<i;a+=1)if(h8(r[a])!==h8(t[a])){r=r.slice(a);break}else a===i-1&&(r=r.slice(i));return r}function p_e(e,t){const{measureLocation:n,prefix:o,targetText:r,selectionStart:i,split:a}=t;let l=e.slice(0,n);l[l.length-a.length]===a&&(l=l.slice(0,l.length-a.length)),l&&(l=`${l}${a}`);let s=f_e(e.slice(i),r.slice(i-n-o.length),a);s.slice(0,a.length)===a&&(s=s.slice(a.length));const c=`${l}${o}${r}${a}`;return{text:`${c}${s}`,selectionLocation:c.length}}function h_e(e,t){e.setSelectionRange(t,t),e.blur(),e.focus()}function g_e(e,t){const{split:n}=t;return!n||e.indexOf(n)===-1}function v_e(e,t){let{value:n=""}=t;const o=e.toLowerCase();return n.toLowerCase().indexOf(o)!==-1}const m_e=Symbol("MentionsContextKey"),KH=m_e;function b_e(){}const y_e=pe({compatConfig:{MODE:3},name:"DropdownMenu",props:{prefixCls:String,options:{type:Array,default:()=>[]}},setup(e,t){let{slots:n}=t;const{activeIndex:o,setActiveIndex:r,selectOption:i,onFocus:a=b_e,loading:l}=it(KH,{activeIndex:ve(),loading:ve(!1)});let s;const c=u=>{clearTimeout(s),s=setTimeout(()=>{a(u)})};return Ct(()=>{clearTimeout(s)}),()=>{var u;const{prefixCls:d,options:f}=e,h=f[o.value]||{};return g(qn,{prefixCls:`${d}-menu`,activeKey:h.value,onSelect:m=>{let{key:v}=m;const y=f.find(b=>{let{value:$}=b;return $===v});i(y)},onMousedown:c},{default:()=>[!l.value&&f.map((m,v)=>{var y,b;const{value:$,disabled:x,label:_=m.value,class:w,style:I}=m;return g(Ea,{key:$,disabled:x,onMouseenter:()=>{r(v)},class:w,style:I},{default:()=>[(b=(y=n.option)===null||y===void 0?void 0:y.call(n,m))!==null&&b!==void 0?b:typeof _=="function"?_(m):_]})}),!l.value&&f.length===0?g(Ea,{key:"notFoundContent",disabled:!0},{default:()=>[(u=n.notFoundContent)===null||u===void 0?void 0:u.call(n)]}):null,l.value&&g(Ea,{key:"loading",disabled:!0},{default:()=>[g(Aa,{size:"small"},null)]})]})}}}),S_e={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},C_e=pe({compatConfig:{MODE:3},name:"KeywordTrigger",props:{loading:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},prefixCls:String,placement:String,visible:{type:Boolean,default:void 0},transitionName:String,getPopupContainer:Function,direction:String,dropdownClassName:String},setup(e,t){let{slots:n}=t;const o=()=>`${e.prefixCls}-dropdown`,r=()=>{const{options:a}=e;return g(y_e,{prefixCls:o(),options:a},{notFoundContent:n.notFoundContent,option:n.option})},i=M(()=>{const{placement:a,direction:l}=e;let s="topRight";return l==="rtl"?s=a==="top"?"topLeft":"bottomLeft":s=a==="top"?"topRight":"bottomRight",s});return()=>{const{visible:a,transitionName:l,getPopupContainer:s}=e;return g(tu,{prefixCls:o(),popupVisible:a,popup:r(),popupClassName:e.dropdownClassName,popupPlacement:i.value,popupTransitionName:l,builtinPlacements:S_e,getPopupContainer:s},{default:n.default})}}}),$_e=Go("top","bottom"),UH={autofocus:{type:Boolean,default:void 0},prefix:Z.oneOfType([Z.string,Z.arrayOf(Z.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:Z.oneOf($_e),character:Z.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:kt(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},GH=S(S({},UH),{dropdownClassName:String}),YH={prefix:"@",split:" ",rows:1,validateSearch:g_e,filterOption:()=>v_e};bt(GH,YH);var g8=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function v8(){}const x_e=pe({compatConfig:{MODE:3},name:"Mentions",inheritAttrs:!1,props:bt(GH,YH),emits:["change","select","search","focus","blur","pressenter"],setup(e,t){let{emit:n,attrs:o,expose:r,slots:i}=t;const a=he(null),l=he(null),s=he(),c=St({value:e.value||"",measuring:!1,measureLocation:0,measureText:null,measurePrefix:"",activeIndex:0,isFocus:!1});ct(()=>{c.value=e.value});const u=A=>{n("change",A)},d=A=>{let{target:{value:N,composing:F},isComposing:W}=A;W||F||u(N)},f=(A,N,F)=>{S(c,{measuring:!0,measureText:A,measurePrefix:N,measureLocation:F,activeIndex:0})},h=A=>{S(c,{measuring:!1,measureLocation:0,measureText:null}),A==null||A()},m=A=>{const{which:N}=A;if(c.measuring){if(N===Fe.UP||N===Fe.DOWN){const F=P.value.length,W=N===Fe.UP?-1:1,D=(c.activeIndex+W+F)%F;c.activeIndex=D,A.preventDefault()}else if(N===Fe.ESC)h();else if(N===Fe.ENTER){if(A.preventDefault(),!P.value.length){h();return}const F=P.value[c.activeIndex];w(F)}}},v=A=>{const{key:N,which:F}=A,{measureText:W,measuring:D}=c,{prefix:B,validateSearch:k}=e,L=A.target;if(L.composing)return;const z=u_e(L),{location:K,prefix:G}=d_e(z,B);if([Fe.ESC,Fe.UP,Fe.DOWN,Fe.ENTER].indexOf(F)===-1)if(K!==-1){const Y=z.slice(K+G.length),ne=k(Y,e),re=!!O(Y).length;ne?(N===G||N==="Shift"||D||Y!==W&&re)&&f(Y,G,K):D&&h(),ne&&n("search",Y,G)}else D&&h()},y=A=>{c.measuring||n("pressenter",A)},b=A=>{x(A)},$=A=>{_(A)},x=A=>{clearTimeout(s.value);const{isFocus:N}=c;!N&&A&&n("focus",A),c.isFocus=!0},_=A=>{s.value=setTimeout(()=>{c.isFocus=!1,h(),n("blur",A)},100)},w=A=>{const{split:N}=e,{value:F=""}=A,{text:W,selectionLocation:D}=p_e(c.value,{measureLocation:c.measureLocation,targetText:F,prefix:c.measurePrefix,selectionStart:l.value.selectionStart,split:N});u(W),h(()=>{h_e(l.value,D)}),n("select",A,c.measurePrefix)},I=A=>{c.activeIndex=A},O=A=>{const N=A||c.measureText||"",{filterOption:F}=e;return e.options.filter(D=>F?F(N,D):!0)},P=M(()=>O());return r({blur:()=>{l.value.blur()},focus:()=>{l.value.focus()}}),ft(KH,{activeIndex:st(c,"activeIndex"),setActiveIndex:I,selectOption:w,onFocus:x,onBlur:_,loading:st(e,"loading")}),fr(()=>{wt(()=>{c.measuring&&(a.value.scrollTop=l.value.scrollTop)})}),()=>{const{measureLocation:A,measurePrefix:N,measuring:F}=c,{prefixCls:W,placement:D,transitionName:B,getPopupContainer:k,direction:L}=e,z=g8(e,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:K,style:G}=o,Y=g8(o,["class","style"]),ne=_t(z,["value","prefix","split","validateSearch","filterOption","options","loading"]),re=S(S(S({},ne),Y),{onChange:v8,onSelect:v8,value:c.value,onInput:d,onBlur:$,onKeydown:m,onKeyup:v,onFocus:b,onPressenter:y});return g("div",{class:me(W,K),style:G},[Ln(g("textarea",V({ref:l},re),null),[[nf]]),F&&g("div",{ref:a,class:`${W}-measure`},[c.value.slice(0,A),g(C_e,{prefixCls:W,transitionName:B,dropdownClassName:e.dropdownClassName,placement:D,options:F?P.value:[],visible:!0,direction:L,getPopupContainer:k},{default:()=>[g("span",null,[N])],notFoundContent:i.notFoundContent,option:i.option}),c.value.slice(A+N.length)])])}}}),w_e={value:String,disabled:Boolean,payload:qe()},XH=S(S({},w_e),{label:cn([])}),qH={name:"Option",props:XH,render(e,t){let{slots:n}=t;var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}};S({compatConfig:{MODE:3}},qH);const __e=e=>{const{componentCls:t,colorTextDisabled:n,controlItemBgHover:o,controlPaddingHorizontal:r,colorText:i,motionDurationSlow:a,lineHeight:l,controlHeight:s,inputPaddingHorizontal:c,inputPaddingVertical:u,fontSize:d,colorBgElevated:f,borderRadiusLG:h,boxShadowSecondary:m}=e,v=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:S(S(S(S(S({},vt(e)),ru(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:l,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Xh(e,t)),{"&-disabled":{"> textarea":S({},OO(e))},"&-focused":S({},$s(e)),[`&-affix-wrapper ${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:c,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${t}-measure`]:{color:i,boxSizing:"border-box",minHeight:s-2,margin:0,padding:`${u}px ${c}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":S({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},_O(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":S(S({},vt(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:d,fontVariant:"initial",backgroundColor:f,borderRadius:h,outline:"none",boxShadow:m,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":S(S({},eo),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${v}px ${r}px`,color:i,fontWeight:"normal",lineHeight:l,cursor:"pointer",transition:`background ${a} ease`,"&:hover":{backgroundColor:o},"&:first-child":{borderStartStartRadius:h,borderStartEndRadius:h,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:h,borderEndEndRadius:h},"&-disabled":{color:n,cursor:"not-allowed","&:hover":{color:n,backgroundColor:o,cursor:"not-allowed"}},"&-selected":{color:i,fontWeight:e.fontWeightStrong,backgroundColor:o},"&-active":{backgroundColor:o}})}})})}},O_e=pt("Mentions",e=>{const t=iu(e);return[__e(t)]},e=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50}));var m8=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function I_e(){return!0}const P_e=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:n="@",split:o=" "}=t,r=Array.isArray(n)?n:[n];return e.split(o).map(function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=null;return r.some(l=>i.slice(0,l.length)===l?(a=l,!0):!1),a!==null?{prefix:a,value:i.slice(a.length)}:null}).filter(i=>!!i&&!!i.value)},T_e=()=>S(S({},UH),{loading:{type:Boolean,default:void 0},onFocus:{type:Function},onBlur:{type:Function},onSelect:{type:Function},onChange:{type:Function},onPressenter:{type:Function},"onUpdate:value":{type:Function},notFoundContent:Z.any,defaultValue:String,id:String,status:String}),BC=pe({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:T_e(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r,expose:i}=t;var a,l;const{prefixCls:s,renderEmpty:c,direction:u}=Ve("mentions",e),[d,f]=O_e(s),h=ve(!1),m=ve(null),v=ve((l=(a=e.value)!==null&&a!==void 0?a:e.defaultValue)!==null&&l!==void 0?l:""),y=co(),b=To.useInject(),$=M(()=>da(b.status,e.status));eO({prefixCls:M(()=>`${s.value}-menu`),mode:M(()=>"vertical"),selectable:M(()=>!1),onClick:()=>{},validator:N=>{Sn()}}),Ie(()=>e.value,N=>{v.value=N});const x=N=>{h.value=!0,o("focus",N)},_=N=>{h.value=!1,o("blur",N),y.onFieldBlur()},w=function(){for(var N=arguments.length,F=new Array(N),W=0;W<N;W++)F[W]=arguments[W];o("select",...F),h.value=!0},I=N=>{e.value===void 0&&(v.value=N),o("update:value",N),o("change",N),y.onFieldChange()},O=()=>{const N=e.notFoundContent;return N!==void 0?N:n.notFoundContent?n.notFoundContent():c("Select")},P=()=>{var N;return ln(((N=n.default)===null||N===void 0?void 0:N.call(n))||[]).map(F=>{var W,D;return S(S({},BN(F)),{label:(D=(W=F.children)===null||W===void 0?void 0:W.default)===null||D===void 0?void 0:D.call(W)})})};i({focus:()=>{m.value.focus()},blur:()=>{m.value.blur()}});const A=M(()=>e.loading?I_e:e.filterOption);return()=>{const{disabled:N,getPopupContainer:F,rows:W=1,id:D=y.id.value}=e,B=m8(e,["disabled","getPopupContainer","rows","id"]),{hasFeedback:k,feedbackIcon:L}=b,{class:z}=r,K=m8(r,["class"]),G=_t(B,["defaultValue","onUpdate:value","prefixCls"]),Y=me({[`${s.value}-disabled`]:N,[`${s.value}-focused`]:h.value,[`${s.value}-rtl`]:u.value==="rtl"},sr(s.value,$.value),!k&&z,f.value),ne=S(S(S(S({prefixCls:s.value},G),{disabled:N,direction:u.value,filterOption:A.value,getPopupContainer:F,options:e.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:g(Aa,{size:"small"},null)}]:e.options||P(),class:Y}),K),{rows:W,onChange:I,onSelect:w,onFocus:x,onBlur:_,ref:m,value:v.value,id:D}),re=g(x_e,V(V({},ne),{},{dropdownClassName:f.value}),{notFoundContent:O,option:n.option});return d(k?g("div",{class:me(`${s.value}-affix-wrapper`,sr(`${s.value}-affix-wrapper`,$.value,k),z,f.value)},[re,g("span",{class:`${s.value}-suffix`},[L])]):re)}}}),Rm=pe(S(S({compatConfig:{MODE:3}},qH),{name:"AMentionsOption",props:XH})),E_e=S(BC,{Option:Rm,getMentions:P_e,install:e=>(e.component(BC.name,BC),e.component(Rm.name,Rm),e)});var A_e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let Jx;const M_e=e=>{Jx={x:e.pageX,y:e.pageY},setTimeout(()=>Jx=null,100)};vF()&&wn(document.documentElement,"click",M_e,!0);const R_e=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:Z.any,closable:{type:Boolean,default:void 0},closeIcon:Z.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:Z.any,okText:Z.any,okType:String,cancelText:Z.any,icon:Z.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:qe(),cancelButtonProps:qe(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:qe(),maskStyle:qe(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:qe()}),wo=pe({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:bt(R_e(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const[i]=Wi("Modal"),{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:c}=Ve("modal",e),[u,d]=Mwe(a);Sn(e.visible===void 0);const f=v=>{n("update:visible",!1),n("update:open",!1),n("cancel",v),n("change",!1)},h=v=>{n("ok",v)},m=()=>{var v,y;const{okText:b=(v=o.okText)===null||v===void 0?void 0:v.call(o),okType:$,cancelText:x=(y=o.cancelText)===null||y===void 0?void 0:y.call(o),confirmLoading:_}=e;return g(Je,null,[g(Un,V({onClick:f},e.cancelButtonProps),{default:()=>[x||i.value.cancelText]}),g(Un,V(V({},I0($)),{},{loading:_,onClick:h},e.okButtonProps),{default:()=>[b||i.value.okText]})])};return()=>{var v,y;const{prefixCls:b,visible:$,open:x,wrapClassName:_,centered:w,getContainer:I,closeIcon:O=(v=o.closeIcon)===null||v===void 0?void 0:v.call(o),focusTriggerAfterClose:P=!0}=e,E=A_e(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),R=me(_,{[`${a.value}-centered`]:!!w,[`${a.value}-wrap-rtl`]:s.value==="rtl"});return u(g(TH,V(V(V({},E),r),{},{rootClassName:d.value,class:me(d.value,r.class),getContainer:I||(c==null?void 0:c.value),prefixCls:a.value,wrapClassName:R,visible:x??$,onClose:f,focusTriggerAfterClose:P,transitionName:dr(l.value,"zoom",e.transitionName),maskTransitionName:dr(l.value,"fade",e.maskTransitionName),mousePosition:(y=E.mousePosition)!==null&&y!==void 0?y:Jx}),S(S({},o),{footer:o.footer||m,closeIcon:()=>g("span",{class:`${a.value}-close-x`},[O||g(Vr,{class:`${a.value}-close-icon`},null)])})))}}}),ZH=()=>{const e=ve(!1);return Ct(()=>{e.value=!0}),e},D_e={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:qe(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function b8(e){return!!(e&&e.then)}const ew=pe({compatConfig:{MODE:3},name:"ActionButton",props:D_e,setup(e,t){let{slots:n}=t;const o=ve(!1),r=ve(),i=ve(!1);let a;const l=ZH();lt(()=>{e.autofocus&&(a=setTimeout(()=>{var d,f;return(f=(d=Nr(r.value))===null||d===void 0?void 0:d.focus)===null||f===void 0?void 0:f.call(d)}))}),Ct(()=>{clearTimeout(a)});const s=function(){for(var d,f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];(d=e.close)===null||d===void 0||d.call(e,...h)},c=d=>{b8(d)&&(i.value=!0,d.then(function(){l.value||(i.value=!1),s(...arguments),o.value=!1},f=>(l.value||(i.value=!1),o.value=!1,Promise.reject(f))))},u=d=>{const{actionFn:f}=e;if(o.value)return;if(o.value=!0,!f){s();return}let h;if(e.emitEvent){if(h=f(d),e.quitOnNullishReturnValue&&!b8(h)){o.value=!1,s(d);return}}else if(f.length)h=f(e.close),o.value=!1;else if(h=f(),!h){s();return}c(h)};return()=>{const{type:d,prefixCls:f,buttonProps:h}=e;return g(Un,V(V(V({},I0(d)),{},{onClick:u,loading:i.value,prefixCls:f},h),{},{ref:r}),n)}}});function Ru(e){return typeof e=="function"?e():e}const QH=pe({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[o]=Wi("Modal");return()=>{const{icon:r,onCancel:i,onOk:a,close:l,okText:s,closable:c=!1,zIndex:u,afterClose:d,keyboard:f,centered:h,getContainer:m,maskStyle:v,okButtonProps:y,cancelButtonProps:b,okCancel:$,width:x=416,mask:_=!0,maskClosable:w=!1,type:I,open:O,title:P,content:E,direction:R,closeIcon:A,modalRender:N,focusTriggerAfterClose:F,rootPrefixCls:W,bodyStyle:D,wrapClassName:B,footer:k}=e;let L=r;if(!r&&r!==null)switch(I){case"info":L=g(df,null,null);break;case"success":L=g(Tl,null,null);break;case"error":L=g(Kr,null,null);break;default:L=g(El,null,null)}const z=e.okType||"primary",K=e.prefixCls||"ant-modal",G=`${K}-confirm`,Y=n.style||{},ne=$??I==="confirm",re=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",J=`${K}-confirm`,te=me(J,`${J}-${e.type}`,{[`${J}-rtl`]:R==="rtl"},n.class),ee=o.value,fe=ne&&g(ew,{actionFn:i,close:l,autofocus:re==="cancel",buttonProps:b,prefixCls:`${W}-btn`},{default:()=>[Ru(e.cancelText)||ee.cancelText]});return g(wo,{prefixCls:K,class:te,wrapClassName:me({[`${J}-centered`]:!!h},B),onCancel:ie=>l==null?void 0:l({triggerCancel:!0},ie),open:O,title:"",footer:"",transitionName:dr(W,"zoom",e.transitionName),maskTransitionName:dr(W,"fade",e.maskTransitionName),mask:_,maskClosable:w,maskStyle:v,style:Y,bodyStyle:D,width:x,zIndex:u,afterClose:d,keyboard:f,centered:h,getContainer:m,closable:c,closeIcon:A,modalRender:N,focusTriggerAfterClose:F},{default:()=>[g("div",{class:`${G}-body-wrapper`},[g("div",{class:`${G}-body`},[Ru(L),P===void 0?null:g("span",{class:`${G}-title`},[Ru(P)]),g("div",{class:`${G}-content`},[Ru(E)])]),k!==void 0?Ru(k):g("div",{class:`${G}-btns`},[fe,g(ew,{type:z,actionFn:a,close:l,autofocus:re==="ok",buttonProps:y,prefixCls:`${W}-btn`},{default:()=>[Ru(s)||(ne?ee.okText:ee.justOkText)]})])])]})}}}),yc=[],eg=e=>{const t=document.createDocumentFragment();let n=S(S({},_t(e,["parentContext","appContext"])),{close:i,open:!0}),o=null;function r(){o&&(Ec(null,t),o=null);for(var c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];const f=u.some(h=>h&&h.triggerCancel);e.onCancel&&f&&e.onCancel(()=>{},...u.slice(1));for(let h=0;h<yc.length;h++)if(yc[h]===i){yc.splice(h,1);break}}function i(){for(var c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];n=S(S({},n),{open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),r.apply(this,u)}}),n.visible&&delete n.visible,a(n)}function a(c){typeof c=="function"?n=c(n):n=S(S({},n),c),o&&Ire(o,n,t)}const l=c=>{const u=jo,d=u.prefixCls,f=c.prefixCls||`${d}-modal`,h=u.iconPrefixCls,m=QSe();return g(qO,V(V({},u),{},{prefixCls:d}),{default:()=>[g(QH,V(V({},c),{},{rootPrefixCls:d,prefixCls:f,iconPrefixCls:h,locale:m,cancelText:c.cancelText||m.cancelText}),null)]})};function s(c){const u=g(l,S({},c));return u.appContext=e.parentContext||e.appContext||u.appContext,Ec(u,t),u}return o=s(n),yc.push(i),{destroy:i,update:a}};function JH(e){return S(S({},e),{type:"warning"})}function ez(e){return S(S({},e),{type:"info"})}function tz(e){return S(S({},e),{type:"success"})}function nz(e){return S(S({},e),{type:"error"})}function oz(e){return S(S({},e),{type:"confirm"})}const L_e=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),N_e=pe({name:"HookModal",inheritAttrs:!1,props:bt(L_e(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var o;const r=M(()=>e.open),i=M(()=>e.config),{direction:a,getPrefixCls:l}=Bb(),s=l("modal"),c=l(),u=()=>{var m,v;e==null||e.afterClose(),(v=(m=i.value).afterClose)===null||v===void 0||v.call(m)},d=function(){e.destroyAction(...arguments)};n({destroy:d});const f=(o=i.value.okCancel)!==null&&o!==void 0?o:i.value.type==="confirm",[h]=Wi("Modal",cr.Modal);return()=>g(QH,V(V({prefixCls:s,rootPrefixCls:c},i.value),{},{close:d,open:r.value,afterClose:u,okText:i.value.okText||(f?h==null?void 0:h.value.okText:h==null?void 0:h.value.justOkText),direction:i.value.direction||a.value,cancelText:i.value.cancelText||(h==null?void 0:h.value.cancelText)}),null)}});let y8=0;const k_e=pe({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const o=ve([]);return n({addModal:i=>(o.value.push(i),o.value=o.value.slice(),()=>{o.value=o.value.filter(a=>a!==i)})}),()=>o.value.map(i=>i())}});function rz(){const e=ve(null),t=ve([]);Ie(t,()=>{t.value.length&&([...t.value].forEach(a=>{a()}),t.value=[])},{immediate:!0});const n=i=>function(l){var s;y8+=1;const c=ve(!0),u=ve(null),d=ve(It(l)),f=ve({});Ie(()=>l,x=>{y(S(S({},Wn(x)?x.value:x),f.value))});const h=function(){c.value=!1;for(var x=arguments.length,_=new Array(x),w=0;w<x;w++)_[w]=arguments[w];const I=_.some(O=>O&&O.triggerCancel);d.value.onCancel&&I&&d.value.onCancel(()=>{},..._.slice(1))};let m;const v=()=>g(N_e,{key:`modal-${y8}`,config:i(d.value),ref:u,open:c.value,destroyAction:h,afterClose:()=>{m==null||m()}},null);m=(s=e.value)===null||s===void 0?void 0:s.addModal(v),m&&yc.push(m);const y=x=>{d.value=S(S({},d.value),x)};return{destroy:()=>{u.value?h():t.value=[...t.value,h]},update:x=>{f.value=x,u.value?y(x):t.value=[...t.value,()=>y(x)]}}},o=M(()=>({info:n(ez),success:n(tz),error:n(nz),warning:n(JH),confirm:n(oz)})),r=Symbol("modalHolderKey");return[o.value,()=>g(k_e,{key:r,ref:e},null)]}function iz(e){return eg(JH(e))}wo.useModal=rz;wo.info=function(t){return eg(ez(t))};wo.success=function(t){return eg(tz(t))};wo.error=function(t){return eg(nz(t))};wo.warning=iz;wo.warn=iz;wo.confirm=function(t){return eg(oz(t))};wo.destroyAll=function(){for(;yc.length;){const t=yc.pop();t&&t()}};wo.install=function(e){return e.component(wo.name,wo),e};const az=e=>{const{value:t,formatter:n,precision:o,decimalSeparator:r,groupSeparator:i="",prefixCls:a}=e;let l;if(typeof n=="function")l=n({value:t});else{const s=String(t),c=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!c)l=s;else{const u=c[1];let d=c[2]||"0",f=c[4]||"";d=d.replace(/\B(?=(\d{3})+(?!\d))/g,i),typeof o=="number"&&(f=f.padEnd(o,"0").slice(0,o>0?o:0)),f&&(f=`${r}${f}`),l=[g("span",{key:"int",class:`${a}-content-value-int`},[u,d]),f&&g("span",{key:"decimal",class:`${a}-content-value-decimal`},[f])]}}return g("span",{class:`${a}-content-value`},[l])};az.displayName="StatisticNumber";const B_e=az,F_e=e=>{const{componentCls:t,marginXXS:n,padding:o,colorTextDescription:r,statisticTitleFontSize:i,colorTextHeading:a,statisticContentFontSize:l,statisticFontFamily:s}=e;return{[`${t}`]:S(S({},vt(e)),{[`${t}-title`]:{marginBottom:n,color:r,fontSize:i},[`${t}-skeleton`]:{paddingTop:o},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},H_e=pt("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:o}=e,r=nt(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:o});return[F_e(r)]}),lz=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:rt([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:Oe(),formatter:cn(),precision:Number,prefix:rr(),suffix:rr(),title:rr(),loading:De()}),dl=pe({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:bt(lz(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("statistic",e),[a,l]=H_e(r);return()=>{var s,c,u,d,f,h,m;const{value:v=0,valueStyle:y,valueRender:b}=e,$=r.value,x=(s=e.title)!==null&&s!==void 0?s:(c=n.title)===null||c===void 0?void 0:c.call(n),_=(u=e.prefix)!==null&&u!==void 0?u:(d=n.prefix)===null||d===void 0?void 0:d.call(n),w=(f=e.suffix)!==null&&f!==void 0?f:(h=n.suffix)===null||h===void 0?void 0:h.call(n),I=(m=e.formatter)!==null&&m!==void 0?m:n.formatter;let O=g(B_e,V({"data-for-update":Date.now()},S(S({},e),{prefixCls:$,value:v,formatter:I})),null);return b&&(O=b(O)),a(g("div",V(V({},o),{},{class:[$,{[`${$}-rtl`]:i.value==="rtl"},o.class,l.value]}),[x&&g("div",{class:`${$}-title`},[x]),g(or,{paragraph:!1,loading:e.loading},{default:()=>[g("div",{style:y,class:`${$}-content`},[_&&g("span",{class:`${$}-content-prefix`},[_]),O,w&&g("span",{class:`${$}-content-suffix`},[w])])]})]))}}}),z_e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function j_e(e,t){let n=e;const o=/\[[^\]]*]/g,r=(t.match(o)||[]).map(s=>s.slice(1,-1)),i=t.replace(o,"[]"),a=z_e.reduce((s,c)=>{let[u,d]=c;if(s.includes(u)){const f=Math.floor(n/d);return n-=f*d,s.replace(new RegExp(`${u}+`,"g"),h=>{const m=h.length;return f.toString().padStart(m,"0")})}return s},i);let l=0;return a.replace(o,()=>{const s=r[l];return l+=1,s})}function W_e(e,t){const{format:n=""}=t,o=new Date(e).getTime(),r=Date.now(),i=Math.max(o-r,0);return j_e(i,n)}const V_e=1e3/30;function FC(e){return new Date(e).getTime()}const K_e=()=>S(S({},lz()),{value:rt([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),U_e=pe({compatConfig:{MODE:3},name:"AStatisticCountdown",props:bt(K_e(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:o}=t;const r=he(),i=he(),a=()=>{const{value:d}=e;FC(d)>=Date.now()?l():s()},l=()=>{if(r.value)return;const d=FC(e.value);r.value=setInterval(()=>{i.value.$forceUpdate(),d>Date.now()&&n("change",d-Date.now()),a()},V_e)},s=()=>{const{value:d}=e;r.value&&(clearInterval(r.value),r.value=void 0,FC(d)<Date.now()&&n("finish"))},c=d=>{let{value:f,config:h}=d;const{format:m}=e;return W_e(f,S(S({},h),{format:m}))},u=d=>d;return lt(()=>{a()}),fr(()=>{a()}),Ct(()=>{s()}),()=>{const d=e.value;return g(dl,V({ref:i},S(S({},_t(e,["onFinish","onChange"])),{value:d,valueRender:u,formatter:c})),o)}}});dl.Countdown=U_e;dl.install=function(e){return e.component(dl.name,dl),e.component(dl.Countdown.name,dl.Countdown),e};const G_e=dl.Countdown;var Y_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const X_e=Y_e;function S8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){q_e(e,r,n[r])})}return e}function q_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _I=function(t,n){var o=S8({},t,n.attrs);return g(Ot,S8({},o,{icon:X_e}),null)};_I.displayName="ArrowLeftOutlined";_I.inheritAttrs=!1;const Z_e=_I;var Q_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const J_e=Q_e;function C8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){eOe(e,r,n[r])})}return e}function eOe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OI=function(t,n){var o=C8({},t,n.attrs);return g(Ot,C8({},o,{icon:J_e}),null)};OI.displayName="ArrowRightOutlined";OI.inheritAttrs=!1;const tOe=OI;var nOe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const oOe={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},rOe=pe({compatConfig:{MODE:3},name:"TransButton",inheritAttrs:!1,props:{noStyle:{type:Boolean,default:void 0},onClick:Function,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,emit:o,attrs:r,expose:i}=t;const a=ve(),l=f=>{const{keyCode:h}=f;h===Fe.ENTER&&f.preventDefault()},s=f=>{const{keyCode:h}=f;h===Fe.ENTER&&o("click",f)},c=f=>{o("click",f)},u=()=>{a.value&&a.value.focus()},d=()=>{a.value&&a.value.blur()};return lt(()=>{e.autofocus&&u()}),i({focus:u,blur:d}),()=>{var f;const{noStyle:h,disabled:m}=e,v=nOe(e,["noStyle","disabled"]);let y={};return h||(y=S({},oOe)),m&&(y.pointerEvents="none"),g("div",V(V(V({role:"button",tabindex:0,ref:a},v),r),{},{onClick:c,onKeydown:l,onKeyup:s,style:S(S({},y),r.style||{})}),[(f=n.default)===null||f===void 0?void 0:f.call(n)])}}}),G0=rOe,iOe={small:8,middle:16,large:24},aOe=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:Z.oneOf(Go("horizontal","vertical")).def("horizontal"),align:Z.oneOf(Go("start","end","center","baseline")),wrap:De()});function lOe(e){return typeof e=="string"?iOe[e]:e||0}const Rp=pe({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:aOe(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,space:i,direction:a}=Ve("space",e),[l,s]=zk(r),c=bF(),u=M(()=>{var b,$,x;return(x=(b=e.size)!==null&&b!==void 0?b:($=i==null?void 0:i.value)===null||$===void 0?void 0:$.size)!==null&&x!==void 0?x:"small"}),d=he(),f=he();Ie(u,()=>{[d.value,f.value]=(Array.isArray(u.value)?u.value:[u.value,u.value]).map(b=>lOe(b))},{immediate:!0});const h=M(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),m=M(()=>me(r.value,s.value,`${r.value}-${e.direction}`,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-align-${h.value}`]:h.value})),v=M(()=>a.value==="rtl"?"marginLeft":"marginRight"),y=M(()=>{const b={};return c.value&&(b.columnGap=`${d.value}px`,b.rowGap=`${f.value}px`),S(S({},b),e.wrap&&{flexWrap:"wrap",marginBottom:`${-f.value}px`})});return()=>{var b,$;const{wrap:x,direction:_="horizontal"}=e,w=(b=n.default)===null||b===void 0?void 0:b.call(n),I=_n(w),O=I.length;if(O===0)return null;const P=($=n.split)===null||$===void 0?void 0:$.call(n),E=`${r.value}-item`,R=d.value,A=O-1;return g("div",V(V({},o),{},{class:[m.value,o.class],style:[y.value,o.style]}),[I.map((N,F)=>{let W=w.indexOf(N);W===-1&&(W=`$$space-${F}`);let D={};return c.value||(_==="vertical"?F<A&&(D={marginBottom:`${R/(P?2:1)}px`}):D=S(S({},F<A&&{[v.value]:`${R/(P?2:1)}px`}),x&&{paddingBottom:`${f.value}px`})),l(g(Je,{key:W},[g("div",{class:E,style:D},[N]),F<A&&P&&g("span",{class:`${E}-split`,style:D},[P])]))})])}}});Rp.Compact=$0;Rp.install=function(e){return e.component(Rp.name,Rp),e.component($0.name,$0),e};const sz=Rp,sOe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:S(S({},vt(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${t}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},"&.has-footer":{paddingBottom:0},[`${t}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,"&-button":S(S({},Vb(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${n}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${n}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${t}-heading`]:{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},"&-title":S({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},eo),[`${n}-avatar`]:{marginRight:e.marginSM},"&-sub-title":S({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},eo),"&-extra":{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap","> *":{marginLeft:e.marginSM,whiteSpace:"unset"},"> *:first-child":{marginLeft:0}}},[`${t}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${t}-footer`]:{marginTop:e.marginMD,[`${n}-tabs`]:{[`> ${n}-tabs-nav`]:{margin:0,"&::before":{border:"none"}},[`${n}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${t}-compact ${t}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},cOe=pt("PageHeader",e=>{const t=nt(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[sOe(t)]}),uOe=()=>({backIcon:rr(),prefixCls:String,title:rr(),subTitle:rr(),breadcrumb:Z.object,tags:rr(),footer:rr(),extra:rr(),avatar:qe(),ghost:{type:Boolean,default:void 0},onBack:Function}),dOe=pe({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:uOe(),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:i,direction:a,pageHeader:l}=Ve("page-header",e),[s,c]=cOe(i),u=ve(!1),d=ZH(),f=_=>{let{width:w}=_;d.value||(u.value=w<768)},h=M(()=>{var _,w,I;return(I=(_=e.ghost)!==null&&_!==void 0?_:(w=l==null?void 0:l.value)===null||w===void 0?void 0:w.ghost)!==null&&I!==void 0?I:!0}),m=()=>{var _,w,I;return(I=(_=e.backIcon)!==null&&_!==void 0?_:(w=o.backIcon)===null||w===void 0?void 0:w.call(o))!==null&&I!==void 0?I:a.value==="rtl"?g(tOe,null,null):g(Z_e,null,null)},v=_=>!_||!e.onBack?null:g(Yc,{componentName:"PageHeader",children:w=>{let{back:I}=w;return g("div",{class:`${i.value}-back`},[g(G0,{onClick:O=>{n("back",O)},class:`${i.value}-back-button`,"aria-label":I},{default:()=>[_]})])}},null),y=()=>{var _;return e.breadcrumb?g(_c,e.breadcrumb,null):(_=o.breadcrumb)===null||_===void 0?void 0:_.call(o)},b=()=>{var _,w,I,O,P,E,R,A,N;const{avatar:F}=e,W=(_=e.title)!==null&&_!==void 0?_:(w=o.title)===null||w===void 0?void 0:w.call(o),D=(I=e.subTitle)!==null&&I!==void 0?I:(O=o.subTitle)===null||O===void 0?void 0:O.call(o),B=(P=e.tags)!==null&&P!==void 0?P:(E=o.tags)===null||E===void 0?void 0:E.call(o),k=(R=e.extra)!==null&&R!==void 0?R:(A=o.extra)===null||A===void 0?void 0:A.call(o),L=`${i.value}-heading`,z=W||D||B||k;if(!z)return null;const K=m(),G=v(K);return g("div",{class:L},[(G||F||z)&&g("div",{class:`${L}-left`},[G,F?g(wc,F,null):(N=o.avatar)===null||N===void 0?void 0:N.call(o),W&&g("span",{class:`${L}-title`,title:typeof W=="string"?W:void 0},[W]),D&&g("span",{class:`${L}-sub-title`,title:typeof D=="string"?D:void 0},[D]),B&&g("span",{class:`${L}-tags`},[B])]),k&&g("span",{class:`${L}-extra`},[g(sz,null,{default:()=>[k]})])])},$=()=>{var _,w;const I=(_=e.footer)!==null&&_!==void 0?_:_n((w=o.footer)===null||w===void 0?void 0:w.call(o));return Kee(I)?null:g("div",{class:`${i.value}-footer`},[I])},x=_=>g("div",{class:`${i.value}-content`},[_]);return()=>{var _,w;const I=((_=e.breadcrumb)===null||_===void 0?void 0:_.routes)||o.breadcrumb,O=e.footer||o.footer,P=ln((w=o.default)===null||w===void 0?void 0:w.call(o)),E=me(i.value,{"has-breadcrumb":I,"has-footer":O,[`${i.value}-ghost`]:h.value,[`${i.value}-rtl`]:a.value==="rtl",[`${i.value}-compact`]:u.value},r.class,c.value);return s(g(ki,{onResize:f},{default:()=>[g("div",V(V({},r),{},{class:E}),[y(),b(),P.length?x(P):null,$()])]}))}}}),fOe=$n(dOe),pOe=e=>{const{componentCls:t,iconCls:n,zIndexPopup:o,colorText:r,colorWarning:i,marginXS:a,fontSize:l,fontWeightStrong:s,lineHeight:c}=e;return{[t]:{zIndex:o,[`${t}-inner-content`]:{color:r},[`${t}-message`]:{position:"relative",marginBottom:a,color:r,fontSize:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:i,fontSize:l,flex:"none",lineHeight:1,paddingTop:(Math.round(l*c)-l)/2},"&-title":{flex:"auto",marginInlineStart:a},"&-title-only":{fontWeight:s}},[`${t}-description`]:{position:"relative",marginInlineStart:l+a,marginBottom:a,color:r,fontSize:l},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:a}}}}},hOe=pt("Popconfirm",e=>pOe(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var gOe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const vOe=()=>S(S({},W_()),{prefixCls:String,content:cn(),title:cn(),description:cn(),okType:Qe("primary"),disabled:{type:Boolean,default:!1},okText:cn(),cancelText:cn(),icon:cn(),okButtonProps:qe(),cancelButtonProps:qe(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),mOe=pe({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:bt(vOe(),S(S({},O9()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:o,expose:r,attrs:i}=t;const a=he();Sn(e.visible===void 0),r({getPopupDomNode:()=>{var I,O;return(O=(I=a.value)===null||I===void 0?void 0:I.getPopupDomNode)===null||O===void 0?void 0:O.call(I)}});const[l,s]=yn(!1,{value:st(e,"open")}),c=(I,O)=>{e.open===void 0&&s(I),o("update:open",I),o("openChange",I,O)},u=I=>{c(!1,I)},d=I=>{var O;return(O=e.onConfirm)===null||O===void 0?void 0:O.call(e,I)},f=I=>{var O;c(!1,I),(O=e.onCancel)===null||O===void 0||O.call(e,I)},h=I=>{I.keyCode===Fe.ESC&&l&&c(!1,I)},m=I=>{const{disabled:O}=e;O||c(I)},{prefixCls:v,getPrefixCls:y}=Ve("popconfirm",e),b=M(()=>y()),$=M(()=>y("btn")),[x]=hOe(v),[_]=Wi("Popconfirm",cr.Popconfirm),w=()=>{var I,O,P,E,R;const{okButtonProps:A,cancelButtonProps:N,title:F=(I=n.title)===null||I===void 0?void 0:I.call(n),description:W=(O=n.description)===null||O===void 0?void 0:O.call(n),cancelText:D=(P=n.cancel)===null||P===void 0?void 0:P.call(n),okText:B=(E=n.okText)===null||E===void 0?void 0:E.call(n),okType:k,icon:L=((R=n.icon)===null||R===void 0?void 0:R.call(n))||g(El,null,null),showCancel:z=!0}=e,{cancelButton:K,okButton:G}=n,Y=S({onClick:f,size:"small"},N),ne=S(S(S({onClick:d},I0(k)),{size:"small"}),A);return g("div",{class:`${v.value}-inner-content`},[g("div",{class:`${v.value}-message`},[L&&g("span",{class:`${v.value}-message-icon`},[L]),g("div",{class:[`${v.value}-message-title`,{[`${v.value}-message-title-only`]:!!W}]},[F])]),W&&g("div",{class:`${v.value}-description`},[W]),g("div",{class:`${v.value}-buttons`},[z?K?K(Y):g(Un,Y,{default:()=>[D||_.value.cancelText]}):null,G?G(ne):g(ew,{buttonProps:S(S({size:"small"},I0(k)),A),actionFn:d,close:u,prefixCls:$.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[B||_.value.okText]})])])};return()=>{var I;const{placement:O,overlayClassName:P,trigger:E="click"}=e,R=gOe(e,["placement","overlayClassName","trigger"]),A=_t(R,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),N=me(v.value,P);return x(g(G_,V(V(V({},A),i),{},{trigger:E,placement:O,onOpenChange:m,open:l.value,overlayClassName:N,transitionName:dr(b.value,"zoom-big",e.transitionName),ref:a,"data-popover-inject":!0}),{default:()=>[Ore(((I=n.default)===null||I===void 0?void 0:I.call(n))||[],{onKeydown:F=>{h(F)}},!1)],content:w}))}}}),bOe=$n(mOe),yOe=["normal","exception","active","success"],Vy=()=>({prefixCls:String,type:Qe(),percent:Number,format:Oe(),status:Qe(),showInfo:De(),strokeWidth:Number,strokeLinecap:Qe(),strokeColor:cn(),trailColor:String,width:Number,success:qe(),gapDegree:Number,gapPosition:Qe(),size:rt([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:Qe()});function Ic(e){return!e||e<0?0:e>100?100:e}function Y0(e){let{success:t,successPercent:n}=e,o=n;return t&&"progress"in t&&(pn(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),o=t.progress),t&&"percent"in t&&(o=t.percent),o}function SOe(e){let{percent:t,success:n,successPercent:o}=e;const r=Ic(Y0({success:n,successPercent:o}));return[r,Ic(Ic(t)-r)]}function COe(e){let{success:t={},strokeColor:n}=e;const{strokeColor:o}=t;return[o||ld.green,n||null]}const Ky=(e,t,n)=>{var o,r,i,a;let l=-1,s=-1;if(t==="step"){const c=n.steps,u=n.strokeWidth;typeof e=="string"||typeof e>"u"?(l=e==="small"?2:14,s=u??8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=c}else if(t==="line"){const c=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=c||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(r=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&r!==void 0?r:120,s=(a=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&a!==void 0?a:120));return{width:l,height:s}};var $Oe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const xOe=()=>S(S({},Vy()),{strokeColor:cn(),direction:Qe()}),wOe=e=>{let t=[];return Object.keys(e).forEach(n=>{const o=parseFloat(n.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[n]})}),t=t.sort((n,o)=>n.key-o.key),t.map(n=>{let{key:o,value:r}=n;return`${r} ${o}%`}).join(", ")},_Oe=(e,t)=>{const{from:n=ld.blue,to:o=ld.blue,direction:r=t==="rtl"?"to left":"to right"}=e,i=$Oe(e,["from","to","direction"]);if(Object.keys(i).length!==0){const a=wOe(i);return{backgroundImage:`linear-gradient(${r}, ${a})`}}return{backgroundImage:`linear-gradient(${r}, ${n}, ${o})`}},OOe=pe({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:xOe(),setup(e,t){let{slots:n,attrs:o}=t;const r=M(()=>{const{strokeColor:h,direction:m}=e;return h&&typeof h!="string"?_Oe(h,m):{backgroundColor:h}}),i=M(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),a=M(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),l=M(()=>{var h;return(h=e.size)!==null&&h!==void 0?h:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),s=M(()=>Ky(l.value,"line",{strokeWidth:e.strokeWidth})),c=M(()=>{const{percent:h}=e;return S({width:`${Ic(h)}%`,height:`${s.value.height}px`,borderRadius:i.value},r.value)}),u=M(()=>Y0(e)),d=M(()=>{const{success:h}=e;return{width:`${Ic(u.value)}%`,height:`${s.value.height}px`,borderRadius:i.value,backgroundColor:h==null?void 0:h.strokeColor}}),f={width:s.value.width<0?"100%":s.value.width,height:`${s.value.height}px`};return()=>{var h;return g(Je,null,[g("div",V(V({},o),{},{class:[`${e.prefixCls}-outer`,o.class],style:[o.style,f]}),[g("div",{class:`${e.prefixCls}-inner`,style:a.value},[g("div",{class:`${e.prefixCls}-bg`,style:c.value},null),u.value!==void 0?g("div",{class:`${e.prefixCls}-success-bg`,style:d.value},null):null])]),(h=n.default)===null||h===void 0?void 0:h.call(n)])}}}),IOe={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},POe=e=>{const t=he(null);return fr(()=>{const n=Date.now();let o=!1;e.value.forEach(r=>{const i=(r==null?void 0:r.$el)||r;if(!i)return;o=!0;const a=i.style;a.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(a.transitionDuration="0s, 0s")}),o&&(t.value=Date.now())}),e},TOe={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var EOe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let $8=0;function x8(e){return+e.replace("%","")}function w8(e){return Array.isArray(e)?e:[e]}function _8(e,t,n,o){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0;const a=50-o/2;let l=0,s=-a,c=0,u=-2*a;switch(i){case"left":l=-a,s=0,c=2*a,u=0;break;case"right":l=a,s=0,c=-2*a,u=0;break;case"bottom":s=a,u=2*a;break}const d=`M 50,50 m ${l},${s}
+ a ${a},${a} 0 1 1 ${c},${-u}
+ a ${a},${a} 0 1 1 ${-c},${u}`,f=Math.PI*2*a,h={stroke:n,strokeDasharray:`${t/100*(f-r)}px ${f}px`,strokeDashoffset:`-${r/2+e/100*(f-r)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:h}}const AOe=pe({compatConfig:{MODE:3},name:"VCCircle",props:bt(TOe,IOe),setup(e){$8+=1;const t=he($8),n=M(()=>w8(e.percent)),o=M(()=>w8(e.strokeColor)),[r,i]=TO();POe(i);const a=()=>{const{prefixCls:l,strokeWidth:s,strokeLinecap:c,gapDegree:u,gapPosition:d}=e;let f=0;return n.value.map((h,m)=>{const v=o.value[m]||o.value[o.value.length-1],y=Object.prototype.toString.call(v)==="[object Object]"?`url(#${l}-gradient-${t.value})`:"",{pathString:b,pathStyle:$}=_8(f,h,v,s,u,d);f+=h;const x={key:m,d:b,stroke:y,"stroke-linecap":c,"stroke-width":s,opacity:h===0?0:1,"fill-opacity":"0",class:`${l}-circle-path`,style:$};return g("path",V({ref:r(m)},x),null)})};return()=>{const{prefixCls:l,strokeWidth:s,trailWidth:c,gapDegree:u,gapPosition:d,trailColor:f,strokeLinecap:h,strokeColor:m}=e,v=EOe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:y,pathStyle:b}=_8(0,100,f,s,u,d);delete v.percent;const $=o.value.find(_=>Object.prototype.toString.call(_)==="[object Object]"),x={d:y,stroke:f,"stroke-linecap":h,"stroke-width":c||s,"fill-opacity":"0",class:`${l}-circle-trail`,style:b};return g("svg",V({class:`${l}-circle`,viewBox:"0 0 100 100"},v),[$&&g("defs",null,[g("linearGradient",{id:`${l}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys($).sort((_,w)=>x8(_)-x8(w)).map((_,w)=>g("stop",{key:w,offset:_,"stop-color":$[_]},null))])]),g("path",x,null),a().reverse()])}}}),MOe=()=>S(S({},Vy()),{strokeColor:cn()}),ROe=3,DOe=e=>ROe/e*100,LOe=pe({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:bt(MOe(),{trailColor:null}),setup(e,t){let{slots:n,attrs:o}=t;const r=M(()=>{var v;return(v=e.width)!==null&&v!==void 0?v:120}),i=M(()=>{var v;return(v=e.size)!==null&&v!==void 0?v:[r.value,r.value]}),a=M(()=>Ky(i.value,"circle")),l=M(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),s=M(()=>({width:`${a.value.width}px`,height:`${a.value.height}px`,fontSize:`${a.value.width*.15+6}px`})),c=M(()=>{var v;return(v=e.strokeWidth)!==null&&v!==void 0?v:Math.max(DOe(a.value.width),6)}),u=M(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),d=M(()=>SOe(e)),f=M(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),h=M(()=>COe({success:e.success,strokeColor:e.strokeColor})),m=M(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:f.value}));return()=>{var v;const y=g(AOe,{percent:d.value,strokeWidth:c.value,trailWidth:c.value,strokeColor:h.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:l.value,gapPosition:u.value},null);return g("div",V(V({},o),{},{class:[m.value,o.class],style:[o.style,s.value]}),[a.value.width<=20?g(Br,null,{default:()=>[g("span",null,[y])],title:n.default}):g(Je,null,[y,(v=n.default)===null||v===void 0?void 0:v.call(n)])])}}}),NOe=()=>S(S({},Vy()),{steps:Number,strokeColor:rt(),trailColor:String}),kOe=pe({compatConfig:{MODE:3},name:"Steps",props:NOe(),setup(e,t){let{slots:n}=t;const o=M(()=>Math.round(e.steps*((e.percent||0)/100))),r=M(()=>{var l;return(l=e.size)!==null&&l!==void 0?l:[e.size==="small"?2:14,e.strokeWidth||8]}),i=M(()=>Ky(r.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),a=M(()=>{const{steps:l,strokeColor:s,trailColor:c,prefixCls:u}=e,d=[];for(let f=0;f<l;f+=1){const h=Array.isArray(s)?s[f]:s,m={[`${u}-steps-item`]:!0,[`${u}-steps-item-active`]:f<=o.value-1};d.push(g("div",{key:f,class:m,style:{backgroundColor:f<=o.value-1?h:c,width:`${i.value.width/l}px`,height:`${i.value.height}px`}},null))}return d});return()=>{var l;return g("div",{class:`${e.prefixCls}-steps-outer`},[a.value,(l=n.default)===null||l===void 0?void 0:l.call(n)])}}}),BOe=new Pt("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),FOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:S(S({},vt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:BOe,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},HOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},zOe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},jOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},WOe=pt("Progress",e=>{const t=e.marginXXS/2,n=nt(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[FOe(n),HOe(n),zOe(n),jOe(n)]});var VOe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const KOe=pe({compatConfig:{MODE:3},name:"AProgress",inheritAttrs:!1,props:bt(Vy(),{type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",strokeLinecap:"round"}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("progress",e),[a,l]=WOe(r),s=M(()=>Array.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),c=M(()=>{const{percent:m=0}=e,v=Y0(e);return parseInt(v!==void 0?v.toString():m.toString(),10)}),u=M(()=>{const{status:m}=e;return!yOe.includes(m)&&c.value>=100?"success":m||"normal"}),d=M(()=>{const{type:m,showInfo:v,size:y}=e,b=r.value;return{[b]:!0,[`${b}-inline-circle`]:m==="circle"&&Ky(y,"circle").width<=20,[`${b}-${m==="dashboard"&&"circle"||m}`]:!0,[`${b}-status-${u.value}`]:!0,[`${b}-show-info`]:v,[`${b}-${y}`]:y,[`${b}-rtl`]:i.value==="rtl",[l.value]:!0}}),f=M(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),h=()=>{const{showInfo:m,format:v,type:y,percent:b,title:$}=e,x=Y0(e);if(!m)return null;let _;const w=v||(n==null?void 0:n.format)||(O=>`${O}%`),I=y==="line";return v||n!=null&&n.format||u.value!=="exception"&&u.value!=="success"?_=w(Ic(b),Ic(x)):u.value==="exception"?_=g(I?Kr:Vr,null,null):u.value==="success"&&(_=g(I?Tl:sy,null,null)),g("span",{class:`${r.value}-text`,title:$===void 0&&typeof _=="string"?_:void 0},[_])};return()=>{const{type:m,steps:v,title:y}=e,{class:b}=o,$=VOe(o,["class"]),x=h();let _;return m==="line"?_=v?g(kOe,V(V({},e),{},{strokeColor:f.value,prefixCls:r.value,steps:v}),{default:()=>[x]}):g(OOe,V(V({},e),{},{strokeColor:s.value,prefixCls:r.value,direction:i.value}),{default:()=>[x]}):(m==="circle"||m==="dashboard")&&(_=g(LOe,V(V({},e),{},{prefixCls:r.value,strokeColor:s.value,progressStatus:u.value}),{default:()=>[x]})),a(g("div",V(V({role:"progressbar"},$),{},{class:[d.value,b],title:y}),[_]))}}}),II=$n(KOe);function UOe(e){let t=e.pageXOffset;const n="scrollLeft";if(typeof t!="number"){const o=e.document;t=o.documentElement[n],typeof t!="number"&&(t=o.body[n])}return t}function GOe(e){let t,n;const o=e.ownerDocument,{body:r}=o,i=o&&o.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=i.clientLeft||r.clientLeft||0,n-=i.clientTop||r.clientTop||0,{left:t,top:n}}function YOe(e){const t=GOe(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=UOe(o),t.left}var XOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const qOe=XOe;function O8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ZOe(e,r,n[r])})}return e}function ZOe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var PI=function(t,n){var o=O8({},t,n.attrs);return g(Ot,O8({},o,{icon:qOe}),null)};PI.displayName="StarFilled";PI.inheritAttrs=!1;const QOe=PI,JOe={value:Number,index:Number,prefixCls:String,allowHalf:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},character:Z.any,characterRender:Function,focused:{type:Boolean,default:void 0},count:Number,onClick:Function,onHover:Function},eIe=pe({compatConfig:{MODE:3},name:"Star",inheritAttrs:!1,props:JOe,emits:["hover","click"],setup(e,t){let{emit:n}=t;const o=l=>{const{index:s}=e;n("hover",l,s)},r=l=>{const{index:s}=e;n("click",l,s)},i=l=>{const{index:s}=e;l.keyCode===13&&n("click",l,s)},a=M(()=>{const{prefixCls:l,index:s,value:c,allowHalf:u,focused:d}=e,f=s+1;let h=l;return c===0&&s===0&&d?h+=` ${l}-focused`:u&&c+.5>=f&&c<f?(h+=` ${l}-half ${l}-active`,d&&(h+=` ${l}-focused`)):(h+=f<=c?` ${l}-full`:` ${l}-zero`,f===c&&d&&(h+=` ${l}-focused`)),h});return()=>{const{disabled:l,prefixCls:s,characterRender:c,character:u,index:d,count:f,value:h}=e,m=typeof u=="function"?u({disabled:l,prefixCls:s,index:d,count:f,value:h}):u;let v=g("li",{class:a.value},[g("div",{onClick:l?null:r,onKeydown:l?null:i,onMousemove:l?null:o,role:"radio","aria-checked":h>d?"true":"false","aria-posinset":d+1,"aria-setsize":f,tabindex:l?-1:0},[g("div",{class:`${s}-first`},[m]),g("div",{class:`${s}-second`},[m])])]);return c&&(v=c(v,e)),v}}}),tIe=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},nIe=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),oIe=e=>{const{componentCls:t}=e;return{[t]:S(S(S(S(S({},vt(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),tIe(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),nIe(e))}},rIe=pt("Rate",e=>{const{colorFillContent:t}=e,n=nt(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[oIe(n)]}),iIe=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:Z.any,autofocus:{type:Boolean,default:void 0},tabindex:Z.oneOfType([Z.number,Z.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),aIe=pe({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:bt(iIe(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:o,emit:r,expose:i}=t;const{prefixCls:a,direction:l}=Ve("rate",e),[s,c]=rIe(a),u=co(),d=he(),[f,h]=TO(),m=St({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});Ie(()=>e.value,()=>{m.value=e.value});const v=A=>Nr(h.value.get(A)),y=(A,N)=>{const F=l.value==="rtl";let W=A+1;if(e.allowHalf){const D=v(A),B=YOe(D),k=D.clientWidth;(F&&N-B>k/2||!F&&N-B<k/2)&&(W-=.5)}return W},b=A=>{e.value===void 0&&(m.value=A),r("update:value",A),r("change",A),u.onFieldChange()},$=(A,N)=>{const F=y(N,A.pageX);F!==m.cleanedValue&&(m.hoverValue=F,m.cleanedValue=null),r("hoverChange",F)},x=()=>{m.hoverValue=void 0,m.cleanedValue=null,r("hoverChange",void 0)},_=(A,N)=>{const{allowClear:F}=e,W=y(N,A.pageX);let D=!1;F&&(D=W===m.value),x(),b(D?0:W),m.cleanedValue=D?W:null},w=A=>{m.focused=!0,r("focus",A)},I=A=>{m.focused=!1,r("blur",A),u.onFieldBlur()},O=A=>{const{keyCode:N}=A,{count:F,allowHalf:W}=e,D=l.value==="rtl";N===Fe.RIGHT&&m.value<F&&!D?(W?m.value+=.5:m.value+=1,b(m.value),A.preventDefault()):N===Fe.LEFT&&m.value>0&&!D||N===Fe.RIGHT&&m.value>0&&D?(W?m.value-=.5:m.value-=1,b(m.value),A.preventDefault()):N===Fe.LEFT&&m.value<F&&D&&(W?m.value+=.5:m.value+=1,b(m.value),A.preventDefault()),r("keydown",A)},P=()=>{e.disabled||d.value.focus()};i({focus:P,blur:()=>{e.disabled||d.value.blur()}}),lt(()=>{const{autofocus:A,disabled:N}=e;A&&!N&&P()});const R=(A,N)=>{let{index:F}=N;const{tooltips:W}=e;return W?g(Br,{title:W[F]},{default:()=>[A]}):A};return()=>{const{count:A,allowHalf:N,disabled:F,tabindex:W,id:D=u.id.value}=e,{class:B,style:k}=o,L=[],z=F?`${a.value}-disabled`:"",K=e.character||n.character||(()=>g(QOe,null,null));for(let Y=0;Y<A;Y++)L.push(g(eIe,{ref:f(Y),key:Y,index:Y,count:A,disabled:F,prefixCls:`${a.value}-star`,allowHalf:N,value:m.hoverValue===void 0?m.value:m.hoverValue,onClick:_,onHover:$,character:K,characterRender:R,focused:m.focused},null));const G=me(a.value,z,B,{[c.value]:!0,[`${a.value}-rtl`]:l.value==="rtl"});return s(g("ul",V(V({},o),{},{id:D,class:G,style:k,onMouseleave:F?null:x,tabindex:F?-1:W,onFocus:F?null:w,onBlur:F?null:I,onKeydown:F?null:O,ref:d,role:"radiogroup"}),[L]))}}}),lIe=$n(aIe);var sIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const cIe=sIe;function I8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){uIe(e,r,n[r])})}return e}function uIe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TI=function(t,n){var o=I8({},t,n.attrs);return g(Ot,I8({},o,{icon:cIe}),null)};TI.displayName="WarningFilled";TI.inheritAttrs=!1;const dIe=TI,fIe=()=>g("svg",{width:"252",height:"294"},[g("defs",null,[g("path",{d:"M0 .387h251.772v251.772H0z"},null)]),g("g",{fill:"none","fill-rule":"evenodd"},[g("g",{transform:"translate(0 .012)"},[g("mask",{fill:"#fff"},null),g("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),g("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),g("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),g("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),g("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),g("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),g("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),g("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),g("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),g("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),g("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),g("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),g("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),g("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),g("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),g("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),g("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),g("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),g("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),g("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),g("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),g("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),g("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),g("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),g("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),g("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),g("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),g("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),g("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),g("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),g("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),g("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),g("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),g("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),g("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),g("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),g("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),g("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),g("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),g("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),g("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),g("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),pIe=fIe,hIe=()=>g("svg",{width:"254",height:"294"},[g("defs",null,[g("path",{d:"M0 .335h253.49v253.49H0z"},null),g("path",{d:"M0 293.665h253.49V.401H0z"},null)]),g("g",{fill:"none","fill-rule":"evenodd"},[g("g",{transform:"translate(0 .067)"},[g("mask",{fill:"#fff"},null),g("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),g("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),g("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),g("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),g("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),g("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),g("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),g("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),g("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),g("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),g("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),g("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),g("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),g("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),g("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),g("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),g("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),g("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),g("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),g("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),g("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),g("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),g("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),g("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),g("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),g("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),g("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),g("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),g("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),g("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),g("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),g("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),g("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),g("mask",{fill:"#fff"},null),g("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),g("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),g("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),g("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),g("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),g("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),g("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),g("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),g("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),g("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),g("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),gIe=hIe,vIe=()=>g("svg",{width:"251",height:"294"},[g("g",{fill:"none","fill-rule":"evenodd"},[g("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),g("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),g("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),g("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),g("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),g("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),g("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),g("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),g("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),g("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),g("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),g("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),g("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),g("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),g("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),g("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),g("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),g("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),g("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),g("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),g("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),g("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),g("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),g("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),g("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),g("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),g("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),g("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),g("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),g("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),g("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),g("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),g("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),g("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),g("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),g("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),g("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),g("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),g("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),g("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),mIe=vIe,bIe=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:o,padding:r,paddingXL:i,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:c}=e;return{[t]:{padding:`${l*2}px ${i}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${o}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${l}px ${r*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},yIe=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},SIe=e=>[bIe(e),yIe(e)],CIe=e=>SIe(e),$Ie=pt("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,o=e.fontSize,r=`${t}px 0 0 0`,i=e.colorInfo,a=e.colorError,l=e.colorSuccess,s=e.colorWarning,c=nt(e,{resultTitleFontSize:n,resultSubtitleFontSize:o,resultIconFontSize:n*3,resultExtraMargin:r,resultInfoIconColor:i,resultErrorIconColor:a,resultSuccessIconColor:l,resultWarningIconColor:s});return[CIe(c)]},{imageWidth:250,imageHeight:295}),xIe={success:Tl,error:Kr,info:El,warning:dIe},tg={404:pIe,500:gIe,403:mIe},wIe=Object.keys(tg),_Ie=()=>({prefixCls:String,icon:Z.any,status:{type:[Number,String],default:"info"},title:Z.any,subTitle:Z.any,extra:Z.any}),OIe=(e,t)=>{let{status:n,icon:o}=t;if(wIe.includes(`${n}`)){const a=tg[n];return g("div",{class:`${e}-icon ${e}-image`},[g(a,null,null)])}const r=xIe[n],i=o||g(r,null,null);return g("div",{class:`${e}-icon`},[i])},IIe=(e,t)=>t&&g("div",{class:`${e}-extra`},[t]),Pc=pe({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:_Ie(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("result",e),[a,l]=$Ie(r),s=M(()=>me(r.value,l.value,`${r.value}-${e.status}`,{[`${r.value}-rtl`]:i.value==="rtl"}));return()=>{var c,u,d,f,h,m,v,y;const b=(c=e.title)!==null&&c!==void 0?c:(u=n.title)===null||u===void 0?void 0:u.call(n),$=(d=e.subTitle)!==null&&d!==void 0?d:(f=n.subTitle)===null||f===void 0?void 0:f.call(n),x=(h=e.icon)!==null&&h!==void 0?h:(m=n.icon)===null||m===void 0?void 0:m.call(n),_=(v=e.extra)!==null&&v!==void 0?v:(y=n.extra)===null||y===void 0?void 0:y.call(n),w=r.value;return a(g("div",V(V({},o),{},{class:[s.value,o.class]}),[OIe(w,{status:e.status,icon:x}),g("div",{class:`${w}-title`},[b]),$&&g("div",{class:`${w}-subtitle`},[$]),IIe(w,_),n.default&&g("div",{class:`${w}-content`},[n.default()])]))}}});Pc.PRESENTED_IMAGE_403=tg[403];Pc.PRESENTED_IMAGE_404=tg[404];Pc.PRESENTED_IMAGE_500=tg[500];Pc.install=function(e){return e.component(Pc.name,Pc),e};const PIe=Pc,TIe=$n(jO),cz=(e,t)=>{let{attrs:n}=t;const{included:o,vertical:r,style:i,class:a}=n;let{length:l,offset:s,reverse:c}=n;l<0&&(c=!c,l=Math.abs(l),s=100-s);const u=r?{[c?"top":"bottom"]:`${s}%`,[c?"bottom":"top"]:"auto",height:`${l}%`}:{[c?"right":"left"]:`${s}%`,[c?"left":"right"]:"auto",width:`${l}%`},d=S(S({},i),u);return o?g("div",{class:a,style:d},null):null};cz.inheritAttrs=!1;const uz=cz,EIe=(e,t,n,o,r,i)=>{Sn();const a=Object.keys(t).map(parseFloat).sort((l,s)=>l-s);if(n&&o)for(let l=r;l<=i;l+=o)a.indexOf(l)===-1&&a.push(l);return a},dz=(e,t)=>{let{attrs:n}=t;const{prefixCls:o,vertical:r,reverse:i,marks:a,dots:l,step:s,included:c,lowerBound:u,upperBound:d,max:f,min:h,dotStyle:m,activeDotStyle:v}=n,y=f-h,b=EIe(r,a,l,s,h,f).map($=>{const x=`${Math.abs($-h)/y*100}%`,_=!c&&$===d||c&&$<=d&&$>=u;let w=r?S(S({},m),{[i?"top":"bottom"]:x}):S(S({},m),{[i?"right":"left"]:x});_&&(w=S(S({},w),v));const I=me({[`${o}-dot`]:!0,[`${o}-dot-active`]:_,[`${o}-dot-reverse`]:i});return g("span",{class:I,style:w,key:$},null)});return g("div",{class:`${o}-step`},[b])};dz.inheritAttrs=!1;const AIe=dz,fz=(e,t)=>{let{attrs:n,slots:o}=t;const{class:r,vertical:i,reverse:a,marks:l,included:s,upperBound:c,lowerBound:u,max:d,min:f,onClickLabel:h}=n,m=Object.keys(l),v=o.mark,y=d-f,b=m.map(parseFloat).sort(($,x)=>$-x).map($=>{const x=typeof l[$]=="function"?l[$]():l[$],_=typeof x=="object"&&!Jn(x);let w=_?x.label:x;if(!w&&w!==0)return null;v&&(w=v({point:$,label:w}));const I=!s&&$===c||s&&$<=c&&$>=u,O=me({[`${r}-text`]:!0,[`${r}-text-active`]:I}),P={marginBottom:"-50%",[a?"top":"bottom"]:`${($-f)/y*100}%`},E={transform:`translateX(${a?"50%":"-50%"})`,msTransform:`translateX(${a?"50%":"-50%"})`,[a?"right":"left"]:`${($-f)/y*100}%`},R=i?P:E,A=_?S(S({},R),x.style):R,N={[fo?"onTouchstartPassive":"onTouchstart"]:F=>h(F,$)};return g("span",V({class:O,style:A,key:$,onMousedown:F=>h(F,$)},N),[w])});return g("div",{class:r},[b])};fz.inheritAttrs=!1;const MIe=fz,pz=pe({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:Z.oneOfType([Z.number,Z.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup(e,t){let{attrs:n,emit:o,expose:r}=t;const i=ve(!1),a=ve(),l=()=>{document.activeElement===a.value&&(i.value=!0)},s=y=>{i.value=!1,o("blur",y)},c=()=>{i.value=!1},u=()=>{var y;(y=a.value)===null||y===void 0||y.focus()},d=()=>{var y;(y=a.value)===null||y===void 0||y.blur()},f=()=>{i.value=!0,u()},h=y=>{y.preventDefault(),u(),o("mousedown",y)};r({focus:u,blur:d,clickFocus:f,ref:a});let m=null;lt(()=>{m=wn(document,"mouseup",l)}),Ct(()=>{m==null||m.remove()});const v=M(()=>{const{vertical:y,offset:b,reverse:$}=e;return y?{[$?"top":"bottom"]:`${b}%`,[$?"bottom":"top"]:"auto",transform:$?null:"translateY(+50%)"}:{[$?"right":"left"]:`${b}%`,[$?"left":"right"]:"auto",transform:`translateX(${$?"+":"-"}50%)`}});return()=>{const{prefixCls:y,disabled:b,min:$,max:x,value:_,tabindex:w,ariaLabel:I,ariaLabelledBy:O,ariaValueTextFormatter:P,onMouseenter:E,onMouseleave:R}=e,A=me(n.class,{[`${y}-handle-click-focused`]:i.value}),N={"aria-valuemin":$,"aria-valuemax":x,"aria-valuenow":_,"aria-disabled":!!b},F=[n.style,v.value];let W=w||0;(b||w===null)&&(W=null);let D;P&&(D=P(_));const B=S(S(S(S({},n),{role:"slider",tabindex:W}),N),{class:A,onBlur:s,onKeydown:c,onMousedown:h,onMouseenter:E,onMouseleave:R,ref:a,style:F});return g("div",V(V({},B),{},{"aria-label":I,"aria-labelledby":O,"aria-valuetext":D}),null)}}});function HC(e,t){try{return Object.keys(t).some(n=>e.target===t[n].ref)}catch{return!1}}function hz(e,t){let{min:n,max:o}=t;return e<n||e>o}function P8(e){return e.touches.length>1||e.type.toLowerCase()==="touchend"&&e.touches.length>0}function T8(e,t){let{marks:n,step:o,min:r,max:i}=t;const a=Object.keys(n).map(parseFloat);if(o!==null){const s=Math.pow(10,gz(o)),c=Math.floor((i*s-r*s)/(o*s)),u=Math.min((e-r)/o,c),d=Math.round(u)*o+r;a.push(d)}const l=a.map(s=>Math.abs(e-s));return a[l.indexOf(Math.min(...l))]}function gz(e){const t=e.toString();let n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function E8(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function A8(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function M8(e,t){const n=t.getBoundingClientRect();return e?n.top+n.height*.5:window.pageXOffset+n.left+n.width*.5}function EI(e,t){let{max:n,min:o}=t;return e<=o?o:e>=n?n:e}function vz(e,t){const{step:n}=t,o=isFinite(T8(e,t))?T8(e,t):0;return n===null?o:parseFloat(o.toFixed(gz(n)))}function Nd(e){e.stopPropagation(),e.preventDefault()}function RIe(e,t,n){const o={increase:(a,l)=>a+l,decrease:(a,l)=>a-l},r=o[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),i=Object.keys(n.marks)[r];return n.step?o[e](t,n.step):Object.keys(n.marks).length&&n.marks[i]?n.marks[i]:t}function mz(e,t,n){const o="increase",r="decrease";let i=o;switch(e.keyCode){case Fe.UP:i=t&&n?r:o;break;case Fe.RIGHT:i=!t&&n?r:o;break;case Fe.DOWN:i=t&&n?o:r;break;case Fe.LEFT:i=!t&&n?o:r;break;case Fe.END:return(a,l)=>l.max;case Fe.HOME:return(a,l)=>l.min;case Fe.PAGE_UP:return(a,l)=>a+l.step*2;case Fe.PAGE_DOWN:return(a,l)=>a-l.step*2;default:return}return(a,l)=>RIe(i,a,l)}var DIe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function oc(){}function bz(e){const t={id:String,min:Number,max:Number,step:Number,marks:Z.object,included:{type:Boolean,default:void 0},prefixCls:String,disabled:{type:Boolean,default:void 0},handle:Function,dots:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},minimumTrackStyle:Z.object,maximumTrackStyle:Z.object,handleStyle:Z.oneOfType([Z.object,Z.arrayOf(Z.object)]),trackStyle:Z.oneOfType([Z.object,Z.arrayOf(Z.object)]),railStyle:Z.object,dotStyle:Z.object,activeDotStyle:Z.object,autofocus:{type:Boolean,default:void 0},draggableTrack:{type:Boolean,default:void 0}};return pe({compatConfig:{MODE:3},name:"CreateSlider",mixins:[eu,e],inheritAttrs:!1,props:bt(t,{prefixCls:"rc-slider",min:0,max:100,step:1,marks:{},included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),emits:["change","blur","focus"],data(){return Sn(),this.handlesRefs={},{}},mounted(){this.$nextTick(()=>{this.document=this.sliderRef&&this.sliderRef.ownerDocument;const{autofocus:n,disabled:o}=this;n&&!o&&this.focus()})},beforeUnmount(){this.$nextTick(()=>{this.removeDocumentEvents()})},methods:{defaultHandle(n){var{index:o,directives:r,className:i,style:a}=n,l=DIe(n,["index","directives","className","style"]);if(delete l.dragging,l.value===null)return null;const s=S(S({},l),{class:i,style:a,key:o});return g(pz,s,null)},onDown(n,o){let r=o;const{draggableTrack:i,vertical:a}=this.$props,{bounds:l}=this.$data,s=i&&this.positionGetValue?this.positionGetValue(r)||[]:[],c=HC(n,this.handlesRefs);if(this.dragTrack=i&&l.length>=2&&!c&&!s.map((u,d)=>{const f=d?!0:u>=l[d];return d===s.length-1?u<=l[d]:f}).some(u=>!u),this.dragTrack)this.dragOffset=r,this.startBounds=[...l];else{if(!c)this.dragOffset=0;else{const u=M8(a,n.target);this.dragOffset=r-u,r=u}this.onStart(r)}},onMouseDown(n){if(n.button!==0)return;this.removeDocumentEvents();const o=this.$props.vertical,r=E8(o,n);this.onDown(n,r),this.addDocumentMouseEvents()},onTouchStart(n){if(P8(n))return;const o=this.vertical,r=A8(o,n);this.onDown(n,r),this.addDocumentTouchEvents(),Nd(n)},onFocus(n){const{vertical:o}=this;if(HC(n,this.handlesRefs)&&!this.dragTrack){const r=M8(o,n.target);this.dragOffset=0,this.onStart(r),Nd(n),this.$emit("focus",n)}},onBlur(n){this.dragTrack||this.onEnd(),this.$emit("blur",n)},onMouseUp(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove(n){if(!this.sliderRef){this.onEnd();return}const o=E8(this.vertical,n);this.onMove(n,o-this.dragOffset,this.dragTrack,this.startBounds)},onTouchMove(n){if(P8(n)||!this.sliderRef){this.onEnd();return}const o=A8(this.vertical,n);this.onMove(n,o-this.dragOffset,this.dragTrack,this.startBounds)},onKeyDown(n){this.sliderRef&&HC(n,this.handlesRefs)&&this.onKeyboard(n)},onClickMarkLabel(n,o){n.stopPropagation(),this.onChange({sValue:o}),this.setState({sValue:o},()=>this.onEnd(!0))},getSliderStart(){const n=this.sliderRef,{vertical:o,reverse:r}=this,i=n.getBoundingClientRect();return o?r?i.bottom:i.top:window.pageXOffset+(r?i.right:i.left)},getSliderLength(){const n=this.sliderRef;if(!n)return 0;const o=n.getBoundingClientRect();return this.vertical?o.height:o.width},addDocumentTouchEvents(){this.onTouchMoveListener=wn(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=wn(this.document,"touchend",this.onEnd)},addDocumentMouseEvents(){this.onMouseMoveListener=wn(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=wn(this.document,"mouseup",this.onEnd)},removeDocumentEvents(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus(){var n;this.$props.disabled||(n=this.handlesRefs[0])===null||n===void 0||n.focus()},blur(){this.$props.disabled||Object.keys(this.handlesRefs).forEach(n=>{var o,r;(r=(o=this.handlesRefs[n])===null||o===void 0?void 0:o.blur)===null||r===void 0||r.call(o)})},calcValue(n){const{vertical:o,min:r,max:i}=this,a=Math.abs(Math.max(n,0)/this.getSliderLength());return o?(1-a)*(i-r)+r:a*(i-r)+r},calcValueByPos(n){const r=(this.reverse?-1:1)*(n-this.getSliderStart());return this.trimAlignValue(this.calcValue(r))},calcOffset(n){const{min:o,max:r}=this,i=(n-o)/(r-o);return Math.max(0,i*100)},saveSlider(n){this.sliderRef=n},saveHandle(n,o){this.handlesRefs[n]=o}},render(){const{prefixCls:n,marks:o,dots:r,step:i,included:a,disabled:l,vertical:s,reverse:c,min:u,max:d,maximumTrackStyle:f,railStyle:h,dotStyle:m,activeDotStyle:v,id:y}=this,{class:b,style:$}=this.$attrs,{tracks:x,handles:_}=this.renderSlider(),w=me(n,b,{[`${n}-with-marks`]:Object.keys(o).length,[`${n}-disabled`]:l,[`${n}-vertical`]:s,[`${n}-horizontal`]:!s}),I={vertical:s,marks:o,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:u,reverse:c,class:`${n}-mark`,onClickLabel:l?oc:this.onClickMarkLabel},O={[fo?"onTouchstartPassive":"onTouchstart"]:l?oc:this.onTouchStart};return g("div",V(V({id:y,ref:this.saveSlider,tabindex:"-1",class:w},O),{},{onMousedown:l?oc:this.onMouseDown,onMouseup:l?oc:this.onMouseUp,onKeydown:l?oc:this.onKeyDown,onFocus:l?oc:this.onFocus,onBlur:l?oc:this.onBlur,style:$}),[g("div",{class:`${n}-rail`,style:S(S({},f),h)},null),x,g(AIe,{prefixCls:n,vertical:s,reverse:c,marks:o,dots:r,step:i,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:u,dotStyle:m,activeDotStyle:v},null),_,g(MIe,I,{mark:this.$slots.mark}),kb(this)])}})}const LIe=pe({compatConfig:{MODE:3},name:"Slider",mixins:[eu],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:Z.oneOfType([Z.number,Z.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data(){const e=this.defaultValue!==void 0?this.defaultValue:this.min,t=this.value!==void 0?this.value:e;return{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler(e){this.setChangeValue(e)},deep:!0},min(){const{sValue:e}=this;this.setChangeValue(e)},max(){const{sValue:e}=this;this.setChangeValue(e)}},methods:{setChangeValue(e){const t=e!==void 0?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),hz(t,this.$props)&&this.$emit("change",n))},onChange(e){const t=!ul(this,"value"),n=e.sValue>this.max?S(S({},e),{sValue:this.max}):e;t&&this.setState(n);const o=n.sValue;this.$emit("change",o)},onStart(e){this.setState({dragging:!0});const{sValue:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd(e){const{dragging:t}=this;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove(e,t){Nd(e);const{sValue:n}=this,o=this.calcValueByPos(t);o!==n&&this.onChange({sValue:o})},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,o=mz(e,n,t);if(o){Nd(e);const{sValue:r}=this,i=o(r,this.$props),a=this.trimAlignValue(i);if(a===r)return;this.onChange({sValue:a}),this.$emit("afterChange",a),this.onEnd()}},getLowerBound(){const e=this.$props.startPoint||this.$props.min;return this.$data.sValue>e?e:this.$data.sValue},getUpperBound(){return this.$data.sValue<this.$props.startPoint?this.$props.startPoint:this.$data.sValue},trimAlignValue(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e===null)return null;const n=S(S({},this.$props),t),o=EI(e,n);return vz(o,n)},getTrack(e){let{prefixCls:t,reverse:n,vertical:o,included:r,minimumTrackStyle:i,mergedTrackStyle:a,length:l,offset:s}=e;return g(uz,{class:`${t}-track`,vertical:o,included:r,offset:s,reverse:n,length:l,style:S(S({},i),a)},null)},renderSlider(){const{prefixCls:e,vertical:t,included:n,disabled:o,minimumTrackStyle:r,trackStyle:i,handleStyle:a,tabindex:l,ariaLabelForHandle:s,ariaLabelledByForHandle:c,ariaValueTextFormatterForHandle:u,min:d,max:f,startPoint:h,reverse:m,handle:v,defaultHandle:y}=this,b=v||y,{sValue:$,dragging:x}=this,_=this.calcOffset($),w=b({class:`${e}-handle`,prefixCls:e,vertical:t,offset:_,value:$,dragging:x,disabled:o,min:d,max:f,reverse:m,index:0,tabindex:l,ariaLabel:s,ariaLabelledBy:c,ariaValueTextFormatter:u,style:a[0]||a,ref:P=>this.saveHandle(0,P),onFocus:this.onFocus,onBlur:this.onBlur}),I=h!==void 0?this.calcOffset(h):0,O=i[0]||i;return{tracks:this.getTrack({prefixCls:e,reverse:m,vertical:t,included:n,offset:I,minimumTrackStyle:r,mergedTrackStyle:O,length:_-I}),handles:w}}}}),NIe=bz(LIe),Gf=e=>{let{value:t,handle:n,bounds:o,props:r}=e;const{allowCross:i,pushable:a}=r,l=Number(a),s=EI(t,r);let c=s;return!i&&n!=null&&o!==void 0&&(n>0&&s<=o[n-1]+l&&(c=o[n-1]+l),n<o.length-1&&s>=o[n+1]-l&&(c=o[n+1]-l)),vz(c,r)},kIe={defaultValue:Z.arrayOf(Z.number),value:Z.arrayOf(Z.number),count:Number,pushable:K7(Z.oneOfType([Z.looseBool,Z.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:Z.arrayOf(Z.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},BIe=pe({compatConfig:{MODE:3},name:"Range",mixins:[eu],inheritAttrs:!1,props:bt(kIe,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data(){const{count:e,min:t,max:n}=this,o=Array(...Array(e+1)).map(()=>t),r=ul(this,"defaultValue")?this.defaultValue:o;let{value:i}=this;i===void 0&&(i=r);const a=i.map((s,c)=>Gf({value:s,handle:c,props:this.$props}));return{sHandle:null,recent:a[0]===n?0:a.length-1,bounds:a}},watch:{value:{handler(e){const{bounds:t}=this;this.setChangeValue(e||t)},deep:!0},min(){const{value:e}=this;this.setChangeValue(e||this.bounds)},max(){const{value:e}=this;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue(e){const{bounds:t}=this;let n=e.map((o,r)=>Gf({value:o,handle:r,bounds:t,props:this.$props}));if(t.length===n.length){if(n.every((o,r)=>o===t[r]))return null}else n=e.map((o,r)=>Gf({value:o,handle:r,props:this.$props}));if(this.setState({bounds:n}),e.some(o=>hz(o,this.$props))){const o=e.map(r=>EI(r,this.$props));this.$emit("change",o)}},onChange(e){if(!ul(this,"value"))this.setState(e);else{const r={};["sHandle","recent"].forEach(i=>{e[i]!==void 0&&(r[i]=e[i])}),Object.keys(r).length&&this.setState(r)}const o=S(S({},this.$data),e).bounds;this.$emit("change",o)},positionGetValue(e){const t=this.getValue(),n=this.calcValueByPos(e),o=this.getClosestBound(n),r=this.getBoundNeedMoving(n,o),i=t[r];if(n===i)return null;const a=[...t];return a[r]=n,a},onStart(e){const{bounds:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;const o=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,o),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});const r=t[this.prevMovedHandleIndex];if(n===r)return;const i=[...t];i[this.prevMovedHandleIndex]=n,this.onChange({bounds:i})},onEnd(e){const{sHandle:t}=this;this.removeDocumentEvents(),t||(this.dragTrack=!1),(t!==null||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove(e,t,n,o){Nd(e);const{$data:r,$props:i}=this,a=i.max||100,l=i.min||0;if(n){let f=i.vertical?-t:t;f=i.reverse?-f:f;const h=a-Math.max(...o),m=l-Math.min(...o),v=Math.min(Math.max(f/(this.getSliderLength()/100),m),h),y=o.map(b=>Math.floor(Math.max(Math.min(b+v,a),l)));r.bounds.map((b,$)=>b===y[$]).some(b=>!b)&&this.onChange({bounds:y});return}const{bounds:s,sHandle:c}=this,u=this.calcValueByPos(t),d=s[c];u!==d&&this.moveTo(u)},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,o=mz(e,n,t);if(o){Nd(e);const{bounds:r,sHandle:i}=this,a=r[i===null?this.recent:i],l=o(a,this.$props),s=Gf({value:l,handle:i,bounds:r,props:this.$props});if(s===a)return;this.moveTo(s,!0)}},getClosestBound(e){const{bounds:t}=this;let n=0;for(let o=1;o<t.length-1;o+=1)e>=t[o]&&(n=o);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n},getBoundNeedMoving(e,t){const{bounds:n,recent:o}=this;let r=t;const i=n[t+1]===n[t];return i&&n[o]===n[t]&&(r=o),i&&e!==n[t+1]&&(r=e<n[t+1]?t:t+1),r},getLowerBound(){return this.bounds[0]},getUpperBound(){const{bounds:e}=this;return e[e.length-1]},getPoints(){const{marks:e,step:t,min:n,max:o}=this,r=this.internalPointsCache;if(!r||r.marks!==e||r.step!==t){const i=S({},e);if(t!==null)for(let l=n;l<=o;l+=t)i[l]=l;const a=Object.keys(i).map(parseFloat);a.sort((l,s)=>l-s),this.internalPointsCache={marks:e,step:t,points:a}}return this.internalPointsCache.points},moveTo(e,t){const n=[...this.bounds],{sHandle:o,recent:r}=this,i=o===null?r:o;n[i]=e;let a=i;this.$props.pushable!==!1?this.pushSurroundingHandles(n,a):this.$props.allowCross&&(n.sort((l,s)=>l-s),a=n.indexOf(e)),this.onChange({recent:a,sHandle:a,bounds:n}),t&&(this.$emit("afterChange",n),this.setState({},()=>{this.handlesRefs[a].focus()}),this.onEnd())},pushSurroundingHandles(e,t){const n=e[t],{pushable:o}=this,r=Number(o);let i=0;if(e[t+1]-n<r&&(i=1),n-e[t-1]<r&&(i=-1),i===0)return;const a=t+i,l=i*(e[a]-n);this.pushHandle(e,a,i,r-l)||(e[t]=e[a]-i*r)},pushHandle(e,t,n,o){const r=e[t];let i=e[t];for(;n*(i-r)<o;){if(!this.pushHandleOnePoint(e,t,n))return e[t]=r,!1;i=e[t]}return!0},pushHandleOnePoint(e,t,n){const o=this.getPoints(),i=o.indexOf(e[t])+n;if(i>=o.length||i<0)return!1;const a=t+n,l=o[i],{pushable:s}=this,c=Number(s),u=n*(e[a]-l);return this.pushHandle(e,a,n,c-u)?(e[t]=l,!0):!1},trimAlignValue(e){const{sHandle:t,bounds:n}=this;return Gf({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict(e,t,n){let{allowCross:o,pushable:r}=n;const i=this.$data||{},{bounds:a}=i;if(e=e===void 0?i.sHandle:e,r=Number(r),!o&&e!=null&&a!==void 0){if(e>0&&t<=a[e-1]+r)return a[e-1]+r;if(e<a.length-1&&t>=a[e+1]-r)return a[e+1]-r}return t},getTrack(e){let{bounds:t,prefixCls:n,reverse:o,vertical:r,included:i,offsets:a,trackStyle:l}=e;return t.slice(0,-1).map((s,c)=>{const u=c+1,d=me({[`${n}-track`]:!0,[`${n}-track-${u}`]:!0});return g(uz,{class:d,vertical:r,reverse:o,included:i,offset:a[u-1],length:a[u]-a[u-1],style:l[c],key:u},null)})},renderSlider(){const{sHandle:e,bounds:t,prefixCls:n,vertical:o,included:r,disabled:i,min:a,max:l,reverse:s,handle:c,defaultHandle:u,trackStyle:d,handleStyle:f,tabindex:h,ariaLabelGroupForHandles:m,ariaLabelledByGroupForHandles:v,ariaValueTextFormatterGroupForHandles:y}=this,b=c||u,$=t.map(w=>this.calcOffset(w)),x=`${n}-handle`,_=t.map((w,I)=>{let O=h[I]||0;(i||h[I]===null)&&(O=null);const P=e===I;return b({class:me({[x]:!0,[`${x}-${I+1}`]:!0,[`${x}-dragging`]:P}),prefixCls:n,vertical:o,dragging:P,offset:$[I],value:w,index:I,tabindex:O,min:a,max:l,reverse:s,disabled:i,style:f[I],ref:E=>this.saveHandle(I,E),onFocus:this.onFocus,onBlur:this.onBlur,ariaLabel:m[I],ariaLabelledBy:v[I],ariaValueTextFormatter:y[I]})});return{tracks:this.getTrack({bounds:t,prefixCls:n,reverse:s,vertical:o,included:r,offsets:$,trackStyle:d}),handles:_}}}}),FIe=bz(BIe),HIe=pe({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:_9(),setup(e,t){let{attrs:n,slots:o}=t;const r=he(null),i=he(null);function a(){mt.cancel(i.value),i.value=null}function l(){i.value=mt(()=>{var c;(c=r.value)===null||c===void 0||c.forcePopupAlign(),i.value=null})}const s=()=>{a(),e.open&&l()};return Ie([()=>e.open,()=>e.title],()=>{s()},{flush:"post",immediate:!0}),Pb(()=>{s()}),Ct(()=>{a()}),()=>g(Br,V(V({ref:r},e),n),o)}}),zIe=e=>{const{componentCls:t,controlSize:n,dotSize:o,marginFull:r,marginPart:i,colorFillContentHover:a}=e;return{[t]:S(S({},vt(e)),{position:"relative",height:n,margin:`${i}px ${r}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${r}px ${i}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:a},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:`
+ inset-inline-start ${e.motionDurationMid},
+ inset-block-start ${e.motionDurationMid},
+ width ${e.motionDurationMid},
+ height ${e.motionDurationMid},
+ box-shadow ${e.motionDurationMid}
+ `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+e.handleLineWidthHover*2,height:e.handleSizeHover+e.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.colorPrimary}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,"&-active":{borderColor:e.colorPrimaryBorder}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.colorFillSecondary} !important`},[`${t}-track`]:{backgroundColor:`${e.colorTextDisabled} !important`},[`
+ ${t}-dot
+ `]:{backgroundColor:e.colorBgElevated,borderColor:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new Zt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString()}`,insetInlineStart:0,insetBlockStart:0},[`
+ ${t}-mark-text,
+ ${t}-dot
+ `]:{cursor:"not-allowed !important"}}})}},yz=(e,t)=>{const{componentCls:n,railSize:o,handleSize:r,dotSize:i}=e,a=t?"paddingBlock":"paddingInline",l=t?"width":"height",s=t?"height":"width",c=t?"insetBlockStart":"insetInlineStart",u=t?"top":"insetInlineStart";return{[a]:o,[s]:o*3,[`${n}-rail`]:{[l]:"100%",[s]:o},[`${n}-track`]:{[s]:o},[`${n}-handle`]:{[c]:(o*3-r)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[u]:r,[l]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[u]:o,[l]:"100%",[s]:o},[`${n}-dot`]:{position:"absolute",[c]:(o-i)/2}}},jIe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:S(S({},yz(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},WIe=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:S(S({},yz(e,!1)),{height:"100%"})}},VIe=pt("Slider",e=>{const t=nt(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[zIe(t),jIe(t),WIe(t)]},e=>{const n=e.controlHeightLG/4,o=e.controlHeightSM/2,r=e.lineWidth+1,i=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:o,dotSize:8,handleLineWidth:r,handleLineWidthHover:i}});var R8=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const KIe=e=>typeof e=="number"?e.toString():"",UIe=()=>({id:String,prefixCls:String,tooltipPrefixCls:String,range:rt([Boolean,Object]),reverse:De(),min:Number,max:Number,step:rt([Object,Number]),marks:qe(),dots:De(),value:rt([Array,Number]),defaultValue:rt([Array,Number]),included:De(),disabled:De(),vertical:De(),tipFormatter:rt([Function,Object],()=>KIe),tooltipOpen:De(),tooltipVisible:De(),tooltipPlacement:Qe(),getTooltipPopupContainer:Oe(),autofocus:De(),handleStyle:rt([Array,Object]),trackStyle:rt([Array,Object]),onChange:Oe(),onAfterChange:Oe(),onFocus:Oe(),onBlur:Oe(),"onUpdate:value":Oe()}),GIe=pe({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:UIe(),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:i}=t;const{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:c,configProvider:u}=Ve("slider",e),[d,f]=VIe(a),h=co(),m=he(),v=he({}),y=(O,P)=>{v.value[O]=P},b=M(()=>e.tooltipPlacement?e.tooltipPlacement:e.vertical?s.value==="rtl"?"left":"right":"top"),$=()=>{var O;(O=m.value)===null||O===void 0||O.focus()},x=()=>{var O;(O=m.value)===null||O===void 0||O.blur()},_=O=>{r("update:value",O),r("change",O),h.onFieldChange()},w=O=>{r("blur",O)};i({focus:$,blur:x});const I=O=>{var{tooltipPrefixCls:P}=O,E=O.info,{value:R,dragging:A,index:N}=E,F=R8(E,["value","dragging","index"]);const{tipFormatter:W,tooltipOpen:D=e.tooltipVisible,getTooltipPopupContainer:B}=e,k=W?v.value[N]||A:!1,L=D||D===void 0&&k;return g(HIe,{prefixCls:P,title:W?W(R):"",open:L,placement:b.value,transitionName:`${l.value}-zoom-down`,key:N,overlayClassName:`${a.value}-tooltip`,getPopupContainer:B||(c==null?void 0:c.value)},{default:()=>[g(pz,V(V({},F),{},{value:R,onMouseenter:()=>y(N,!0),onMouseleave:()=>y(N,!1)}),null)]})};return()=>{const{tooltipPrefixCls:O,range:P,id:E=h.id.value}=e,R=R8(e,["tooltipPrefixCls","range","id"]),A=u.getPrefixCls("tooltip",O),N=me(n.class,{[`${a.value}-rtl`]:s.value==="rtl"},f.value);s.value==="rtl"&&!R.vertical&&(R.reverse=!R.reverse);let F;return typeof P=="object"&&(F=P.draggableTrack),d(P?g(FIe,V(V(V({},n),R),{},{step:R.step,draggableTrack:F,class:N,ref:m,handle:W=>I({tooltipPrefixCls:A,prefixCls:a.value,info:W}),prefixCls:a.value,onChange:_,onBlur:w}),{mark:o.mark}):g(NIe,V(V(V({},n),R),{},{id:E,step:R.step,class:N,ref:m,handle:W=>I({tooltipPrefixCls:A,prefixCls:a.value,info:W}),prefixCls:a.value,onChange:_,onBlur:w}),{mark:o.mark}))}}}),YIe=$n(GIe);function D8(e){return typeof e=="string"}function XIe(){}const Sz=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:Qe(),iconPrefix:String,icon:Z.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:Z.any,title:Z.any,subTitle:Z.any,progressDot:K7(Z.oneOfType([Z.looseBool,Z.func])),tailContent:Z.any,icons:Z.shape({finish:Z.any,error:Z.any}).loose,onClick:Oe(),onStepClick:Oe(),stepIcon:Oe(),itemRender:Oe(),__legacy:De()}),Cz=pe({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:Sz(),setup(e,t){let{slots:n,emit:o,attrs:r}=t;const i=l=>{o("click",l),o("stepClick",e.stepIndex)},a=l=>{let{icon:s,title:c,description:u}=l;const{prefixCls:d,stepNumber:f,status:h,iconPrefix:m,icons:v,progressDot:y=n.progressDot,stepIcon:b=n.stepIcon}=e;let $;const x=me(`${d}-icon`,`${m}icon`,{[`${m}icon-${s}`]:s&&D8(s),[`${m}icon-check`]:!s&&h==="finish"&&(v&&!v.finish||!v),[`${m}icon-cross`]:!s&&h==="error"&&(v&&!v.error||!v)}),_=g("span",{class:`${d}-icon-dot`},null);return y?typeof y=="function"?$=g("span",{class:`${d}-icon`},[y({iconDot:_,index:f-1,status:h,title:c,description:u,prefixCls:d})]):$=g("span",{class:`${d}-icon`},[_]):s&&!D8(s)?$=g("span",{class:`${d}-icon`},[s]):v&&v.finish&&h==="finish"?$=g("span",{class:`${d}-icon`},[v.finish]):v&&v.error&&h==="error"?$=g("span",{class:`${d}-icon`},[v.error]):s||h==="finish"||h==="error"?$=g("span",{class:x},null):$=g("span",{class:`${d}-icon`},[f]),b&&($=b({index:f-1,status:h,title:c,description:u,node:$})),$};return()=>{var l,s,c,u;const{prefixCls:d,itemWidth:f,active:h,status:m="wait",tailContent:v,adjustMarginRight:y,disabled:b,title:$=(l=n.title)===null||l===void 0?void 0:l.call(n),description:x=(s=n.description)===null||s===void 0?void 0:s.call(n),subTitle:_=(c=n.subTitle)===null||c===void 0?void 0:c.call(n),icon:w=(u=n.icon)===null||u===void 0?void 0:u.call(n),onClick:I,onStepClick:O}=e,P=m||"wait",E=me(`${d}-item`,`${d}-item-${P}`,{[`${d}-item-custom`]:w,[`${d}-item-active`]:h,[`${d}-item-disabled`]:b===!0}),R={};f&&(R.width=f),y&&(R.marginRight=y);const A={onClick:I||XIe};O&&!b&&(A.role="button",A.tabindex=0,A.onClick=i);const N=g("div",V(V({},_t(r,["__legacy"])),{},{class:[E,r.class],style:[r.style,R]}),[g("div",V(V({},A),{},{class:`${d}-item-container`}),[g("div",{class:`${d}-item-tail`},[v]),g("div",{class:`${d}-item-icon`},[a({icon:w,title:$,description:x})]),g("div",{class:`${d}-item-content`},[g("div",{class:`${d}-item-title`},[$,_&&g("div",{title:typeof _=="string"?_:void 0,class:`${d}-item-subtitle`},[_])]),x&&g("div",{class:`${d}-item-description`},[x])])])]);return e.itemRender?e.itemRender(N):N}}});var qIe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ZIe=pe({compatConfig:{MODE:3},name:"Steps",props:{type:Z.string.def("default"),prefixCls:Z.string.def("vc-steps"),iconPrefix:Z.string.def("vc"),direction:Z.string.def("horizontal"),labelPlacement:Z.string.def("horizontal"),status:Qe("process"),size:Z.string.def(""),progressDot:Z.oneOfType([Z.looseBool,Z.func]).def(void 0),initial:Z.number.def(0),current:Z.number.def(0),items:Z.array.def(()=>[]),icons:Z.shape({finish:Z.any,error:Z.any}).loose,stepIcon:Oe(),isInline:Z.looseBool,itemRender:Oe()},emits:["change"],setup(e,t){let{slots:n,emit:o}=t;const r=l=>{const{current:s}=e;s!==l&&o("change",l)},i=(l,s,c)=>{const{prefixCls:u,iconPrefix:d,status:f,current:h,initial:m,icons:v,stepIcon:y=n.stepIcon,isInline:b,itemRender:$,progressDot:x=n.progressDot}=e,_=b||x,w=S(S({},l),{class:""}),I=m+s,O={active:I===h,stepNumber:I+1,stepIndex:I,key:I,prefixCls:u,iconPrefix:d,progressDot:_,stepIcon:y,icons:v,onStepClick:r};return f==="error"&&s===h-1&&(w.class=`${u}-next-error`),w.status||(I===h?w.status=f:I<h?w.status="finish":w.status="wait"),b&&(w.icon=void 0,w.subTitle=void 0),c?c(S(S({},w),O)):($&&(w.itemRender=P=>$(w,P)),g(Cz,V(V(V({},w),O),{},{__legacy:!1}),null))},a=(l,s)=>i(S({},l.props),s,c=>Gt(l,c));return()=>{var l;const{prefixCls:s,direction:c,type:u,labelPlacement:d,iconPrefix:f,status:h,size:m,current:v,progressDot:y=n.progressDot,initial:b,icons:$,items:x,isInline:_,itemRender:w}=e,I=qIe(e,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),O=u==="navigation",P=_||y,E=_?"horizontal":c,R=_?void 0:m,A=P?"vertical":d,N=me(s,`${s}-${c}`,{[`${s}-${R}`]:R,[`${s}-label-${A}`]:E==="horizontal",[`${s}-dot`]:!!P,[`${s}-navigation`]:O,[`${s}-inline`]:_});return g("div",V({class:N},I),[x.filter(F=>F).map((F,W)=>i(F,W)),_n((l=n.default)===null||l===void 0?void 0:l.call(n)).map(a)])}}}),QIe=e=>{const{componentCls:t,stepsIconCustomTop:n,stepsIconCustomSize:o,stepsIconCustomFontSize:r}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:o,height:o,fontSize:r,lineHeight:`${o}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},JIe=e=>{const{componentCls:t,stepsIconSize:n,lineHeight:o,stepsSmallIconSize:r}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(n/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:o}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(n-r)/2}}}}}},ePe=e=>{const{componentCls:t,stepsNavContentMaxWidth:n,stepsNavArrowColor:o,stepsNavActiveColor:r,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:S(S({maxWidth:"100%",paddingInlineEnd:0},eo),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${o}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${o}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:r,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},tPe=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.stepsIconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth+e.paddingXXS},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},nPe=e=>{const{componentCls:t,descriptionWidth:n,lineHeight:o,stepsCurrentDotSize:r,stepsDotSize:i,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:o},"&-tail":{top:Math.floor((e.stepsDotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:(e.descriptionWidth-i)/2,paddingInlineEnd:0,lineHeight:`${i}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(i-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:(i-r)/2,width:r,height:r,lineHeight:`${r}px`,background:"none",marginInlineStart:(e.descriptionWidth-r)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-i)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-r)/2,top:0,insetInlineStart:(i-r)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-i)/2,insetInlineStart:0,margin:0,padding:`${i+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(i-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-i)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-r)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-i)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},oPe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},rPe=e=>{const{componentCls:t,stepsSmallIconSize:n,fontSizeSM:o,fontSize:r,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:o,lineHeight:`${n}px`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:r,lineHeight:`${n}px`,"&::after":{top:n/2}},[`${t}-item-description`]:{color:i,fontSize:r},[`${t}-item-tail`]:{top:n/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${n}px`,transform:"none"}}}}},iPe=e=>{const{componentCls:t,stepsSmallIconSize:n,stepsIconSize:o}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${o}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsIconSize/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${o+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth,padding:`${n+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${n}px`}}}}},aPe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:o,inlineTailColor:r}=e,i=e.paddingXS+e.lineWidth,a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:o}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${i}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:o,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:i+n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:r}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":S({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${r}`}},a),"&-finish":S({[`${t}-item-tail::after`]:{backgroundColor:r},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:r,border:`${e.lineWidth}px ${e.lineType} ${r}`}},a),"&-error":a,"&-active, &-process":S({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:o}}}}}};var td;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(td||(td={}));const Fv=(e,t)=>{const n=`${t.componentCls}-item`,o=`${e}IconColor`,r=`${e}TitleColor`,i=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,c=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[o],[`${t.componentCls}-icon-dot`]:{background:t[c]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[c]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[r],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},lPe=e=>{const{componentCls:t,motionDurationSlow:n}=e,o=`${t}-item`;return S(S(S(S(S(S({[o]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${o}-container > ${o}-tail, > ${o}-container > ${o}-content > ${o}-title::after`]:{display:"none"}}},[`${o}-container`]:{outline:"none"},[`${o}-icon, ${o}-content`]:{display:"inline-block",verticalAlign:"top"},[`${o}-icon`]:{width:e.stepsIconSize,height:e.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.stepsIconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.stepsIconSize}px`,textAlign:"center",borderRadius:e.stepsIconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.stepsIconTop,color:e.colorPrimary,lineHeight:1}},[`${o}-tail`]:{position:"absolute",top:e.stepsIconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${o}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:e.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${o}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${o}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Fv(td.wait,e)),Fv(td.process,e)),{[`${o}-process > ${o}-container > ${o}-title`]:{fontWeight:e.fontWeightStrong}}),Fv(td.finish,e)),Fv(td.error,e)),{[`${o}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${o}-disabled`]:{cursor:"not-allowed"}})},sPe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionWidth,whiteSpace:"normal"}}}}},cPe=e=>{const{componentCls:t}=e;return{[t]:S(S(S(S(S(S(S(S(S(S(S(S(S({},vt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),lPe(e)),sPe(e)),QIe(e)),rPe(e)),iPe(e)),JIe(e)),nPe(e)),ePe(e)),oPe(e)),tPe(e)),aPe(e))}},uPe=pt("Steps",e=>{const{wireframe:t,colorTextDisabled:n,fontSizeHeading3:o,fontSize:r,controlHeight:i,controlHeightLG:a,colorTextLightSolid:l,colorText:s,colorPrimary:c,colorTextLabel:u,colorTextDescription:d,colorTextQuaternary:f,colorFillContent:h,controlItemBgActive:m,colorError:v,colorBgContainer:y,colorBorderSecondary:b}=e,$=e.controlHeight,x=e.colorSplit,_=nt(e,{processTailColor:x,stepsNavArrowColor:n,stepsIconSize:$,stepsIconCustomSize:$,stepsIconCustomTop:0,stepsIconCustomFontSize:a/2,stepsIconTop:-.5,stepsIconFontSize:r,stepsTitleLineHeight:i,stepsSmallIconSize:o,stepsDotSize:i/4,stepsCurrentDotSize:a/4,stepsNavContentMaxWidth:"auto",processIconColor:l,processTitleColor:s,processDescriptionColor:s,processIconBgColor:c,processIconBorderColor:c,processDotColor:c,waitIconColor:t?n:u,waitTitleColor:d,waitDescriptionColor:d,waitTailColor:x,waitIconBgColor:t?y:h,waitIconBorderColor:t?n:"transparent",waitDotColor:n,finishIconColor:c,finishTitleColor:s,finishDescriptionColor:d,finishTailColor:c,finishIconBgColor:t?y:m,finishIconBorderColor:t?c:m,finishDotColor:c,errorIconColor:l,errorTitleColor:v,errorDescriptionColor:v,errorTailColor:x,errorIconBgColor:v,errorIconBorderColor:v,errorDotColor:v,stepsNavActiveColor:c,stepsProgressSize:a,inlineDotSize:6,inlineTitleColor:f,inlineTailColor:b});return[cPe(_)]},{descriptionWidth:140}),dPe=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:De(),items:kt(),labelPlacement:Qe(),status:Qe(),size:Qe(),direction:Qe(),progressDot:rt([Boolean,Function]),type:Qe(),onChange:Oe(),"onUpdate:current":Oe()}),zC=pe({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:bt(dPe(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r}=t;const{prefixCls:i,direction:a,configProvider:l}=Ve("steps",e),[s,c]=uPe(i),[,u]=Ol(),d=ff(),f=M(()=>e.responsive&&d.value.xs?"vertical":e.direction),h=M(()=>l.getPrefixCls("",e.iconPrefix)),m=x=>{r("update:current",x),r("change",x)},v=M(()=>e.type==="inline"),y=M(()=>v.value?void 0:e.percent),b=x=>{let{node:_,status:w}=x;if(w==="process"&&e.percent!==void 0){const I=e.size==="small"?u.value.controlHeight:u.value.controlHeightLG;return g("div",{class:`${i.value}-progress-icon`},[g(II,{type:"circle",percent:y.value,size:I,strokeWidth:4,format:()=>null},null),_])}return _},$=M(()=>({finish:g(sy,{class:`${i.value}-finish-icon`},null),error:g(Vr,{class:`${i.value}-error-icon`},null)}));return()=>{const x=me({[`${i.value}-rtl`]:a.value==="rtl",[`${i.value}-with-progress`]:y.value!==void 0},n.class,c.value),_=(w,I)=>w.description?g(Br,{title:w.description},{default:()=>[I]}):I;return s(g(ZIe,V(V(V({icons:$.value},n),_t(e,["percent","responsive"])),{},{items:e.items,direction:f.value,prefixCls:i.value,iconPrefix:h.value,class:x,onChange:m,isInline:v.value,itemRender:v.value?_:void 0}),S({stepIcon:b},o)))}}}),Dm=pe(S(S({compatConfig:{MODE:3}},Cz),{name:"AStep",props:Sz()})),fPe=S(zC,{Step:Dm,install:e=>(e.component(zC.name,zC),e.component(Dm.name,Dm),e)}),pPe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},hPe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},gPe=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},vPe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},mPe=e=>{const{componentCls:t}=e;return{[t]:S(S(S(S({},vt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Sl(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},bPe=pt("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,o=2,r=t-o*2,i=n-o*2,a=nt(e,{switchMinWidth:r*2+o*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:r/2,switchInnerMarginMax:r+o+o*2,switchPadding:o,switchPinSize:r,switchBg:e.colorBgContainer,switchMinWidthSM:i*2+o*2,switchHeightSM:n,switchInnerMarginMinSM:i/2,switchInnerMarginMaxSM:i+o+o*2,switchPinSizeSM:i,switchHandleShadow:`0 2px 4px 0 ${new Zt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[mPe(a),vPe(a),gPe(a),hPe(a),pPe(a)]}),yPe=Go("small","default"),SPe=()=>({id:String,prefixCls:String,size:Z.oneOf(yPe),disabled:{type:Boolean,default:void 0},checkedChildren:Z.any,unCheckedChildren:Z.any,tabindex:Z.oneOfType([Z.string,Z.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:Z.oneOfType([Z.string,Z.number,Z.looseBool]),checkedValue:Z.oneOfType([Z.string,Z.number,Z.looseBool]).def(!0),unCheckedValue:Z.oneOfType([Z.string,Z.number,Z.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),CPe=pe({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:SPe(),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r,emit:i}=t;const a=co(),l=jr(),s=M(()=>{var E;return(E=e.disabled)!==null&&E!==void 0?E:l.value});Dh(()=>{Sn(),Sn()});const c=he(e.checked!==void 0?e.checked:n.defaultChecked),u=M(()=>c.value===e.checkedValue);Ie(()=>e.checked,()=>{c.value=e.checked});const{prefixCls:d,direction:f,size:h}=Ve("switch",e),[m,v]=bPe(d),y=he(),b=()=>{var E;(E=y.value)===null||E===void 0||E.focus()};r({focus:b,blur:()=>{var E;(E=y.value)===null||E===void 0||E.blur()}}),lt(()=>{wt(()=>{e.autofocus&&!s.value&&y.value.focus()})});const x=(E,R)=>{s.value||(i("update:checked",E),i("change",E,R),a.onFieldChange())},_=E=>{i("blur",E)},w=E=>{b();const R=u.value?e.unCheckedValue:e.checkedValue;x(R,E),i("click",R,E)},I=E=>{E.keyCode===Fe.LEFT?x(e.unCheckedValue,E):E.keyCode===Fe.RIGHT&&x(e.checkedValue,E),i("keydown",E)},O=E=>{var R;(R=y.value)===null||R===void 0||R.blur(),i("mouseup",E)},P=M(()=>({[`${d.value}-small`]:h.value==="small",[`${d.value}-loading`]:e.loading,[`${d.value}-checked`]:u.value,[`${d.value}-disabled`]:s.value,[d.value]:!0,[`${d.value}-rtl`]:f.value==="rtl",[v.value]:!0}));return()=>{var E;return m(g(Y_,null,{default:()=>[g("button",V(V(V({},_t(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:(E=e.id)!==null&&E!==void 0?E:a.id.value,onKeydown:I,onClick:w,onBlur:_,onMouseup:O,type:"button",role:"switch","aria-checked":c.value,disabled:s.value||e.loading,class:[n.class,P.value],ref:y}),[g("div",{class:`${d.value}-handle`},[e.loading?g(di,{class:`${d.value}-loading-icon`},null):null]),g("span",{class:`${d.value}-inner`},[g("span",{class:`${d.value}-inner-checked`},[lo(o,e,"checkedChildren")]),g("span",{class:`${d.value}-inner-unchecked`},[lo(o,e,"unCheckedChildren")])])])]}))}}}),$Pe=$n(CPe),$z=Symbol("TableContextProps"),xPe=e=>{ft($z,e)},Ha=()=>it($z,{}),wPe="RC_TABLE_KEY";function xz(e){return e==null?[]:Array.isArray(e)?e:[e]}function wz(e,t){if(!t&&typeof t!="number")return e;const n=xz(t);let o=e;for(let r=0;r<n.length;r+=1){if(!o)return null;const i=n[r];o=o[i]}return o}function Uy(e){const t=[],n={};return e.forEach(o=>{const{key:r,dataIndex:i}=o||{};let a=r||xz(i).join("-")||wPe;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function _Pe(){const e={};function t(i,a){a&&Object.keys(a).forEach(l=>{const s=a[l];s&&typeof s=="object"?(i[l]=i[l]||{},t(i[l],s)):i[l]=s})}for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return o.forEach(i=>{t(e,i)}),e}function tw(e){return e!=null}const _z=Symbol("SlotsContextProps"),OPe=e=>{ft(_z,e)},AI=()=>it(_z,M(()=>({}))),Oz=Symbol("ContextProps"),IPe=e=>{ft(Oz,e)},PPe=()=>it(Oz,{onResizeColumn:()=>{}}),md="RC_TABLE_INTERNAL_COL_DEFINE",Iz=Symbol("HoverContextProps"),TPe=e=>{ft(Iz,e)},EPe=()=>it(Iz,{startRow:ve(-1),endRow:ve(-1),onHover(){}}),nw=ve(!1),APe=()=>{lt(()=>{nw.value=nw.value||zO("position","sticky")})},MPe=()=>nw;var RPe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function DPe(e,t,n,o){const r=e+t-1;return e<=o&&r>=n}function LPe(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!mo(e)}const Gy=pe({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const o=AI(),{onHover:r,startRow:i,endRow:a}=EPe(),l=M(()=>{var m,v,y,b;return(y=(m=e.colSpan)!==null&&m!==void 0?m:(v=e.additionalProps)===null||v===void 0?void 0:v.colSpan)!==null&&y!==void 0?y:(b=e.additionalProps)===null||b===void 0?void 0:b.colspan}),s=M(()=>{var m,v,y,b;return(y=(m=e.rowSpan)!==null&&m!==void 0?m:(v=e.additionalProps)===null||v===void 0?void 0:v.rowSpan)!==null&&y!==void 0?y:(b=e.additionalProps)===null||b===void 0?void 0:b.rowspan}),c=ai(()=>{const{index:m}=e;return DPe(m,s.value||1,i.value,a.value)}),u=MPe(),d=(m,v)=>{var y;const{record:b,index:$,additionalProps:x}=e;b&&r($,$+v-1),(y=x==null?void 0:x.onMouseenter)===null||y===void 0||y.call(x,m)},f=m=>{var v;const{record:y,additionalProps:b}=e;y&&r(-1,-1),(v=b==null?void 0:b.onMouseleave)===null||v===void 0||v.call(b,m)},h=m=>{const v=_n(m)[0];return mo(v)?v.type===_l?v.children:Array.isArray(v.children)?h(v.children):void 0:v};return()=>{var m,v,y,b,$,x;const{prefixCls:_,record:w,index:I,renderIndex:O,dataIndex:P,customRender:E,component:R="td",fixLeft:A,fixRight:N,firstFixLeft:F,lastFixLeft:W,firstFixRight:D,lastFixRight:B,appendNode:k=(m=n.appendNode)===null||m===void 0?void 0:m.call(n),additionalProps:L={},ellipsis:z,align:K,rowType:G,isSticky:Y,column:ne={},cellType:re}=e,J=`${_}-cell`;let te,ee;const fe=(v=n.default)===null||v===void 0?void 0:v.call(n);if(tw(fe)||re==="header")ee=fe;else{const Pe=wz(w,P);if(ee=Pe,E){const oe=E({text:Pe,value:Pe,record:w,index:I,renderIndex:O,column:ne.__originColumn__});LPe(oe)?(ee=oe.children,te=oe.props):ee=oe}if(!(md in ne)&&re==="body"&&o.value.bodyCell&&!(!((y=ne.slots)===null||y===void 0)&&y.customRender)){const oe=Gb(o.value,"bodyCell",{text:Pe,value:Pe,record:w,index:I,column:ne.__originColumn__},()=>{const le=ee===void 0?Pe:ee;return[typeof le=="object"&&Jn(le)||typeof le!="object"?le:null]});ee=ln(oe)}e.transformCellText&&(ee=e.transformCellText({text:ee,record:w,index:I,column:ne.__originColumn__}))}typeof ee=="object"&&!Array.isArray(ee)&&!mo(ee)&&(ee=null),z&&(W||D)&&(ee=g("span",{class:`${J}-content`},[ee])),Array.isArray(ee)&&ee.length===1&&(ee=ee[0]);const ie=te||{},{colSpan:X,rowSpan:ue,style:ye,class:H}=ie,j=RPe(ie,["colSpan","rowSpan","style","class"]),q=(b=X!==void 0?X:l.value)!==null&&b!==void 0?b:1,se=($=ue!==void 0?ue:s.value)!==null&&$!==void 0?$:1;if(q===0||se===0)return null;const ae={},ge=typeof A=="number"&&u.value,Se=typeof N=="number"&&u.value;ge&&(ae.position="sticky",ae.left=`${A}px`),Se&&(ae.position="sticky",ae.right=`${N}px`);const $e={};K&&($e.textAlign=K);let _e;const be=z===!0?{showTitle:!0}:z;be&&(be.showTitle||G==="header")&&(typeof ee=="string"||typeof ee=="number"?_e=ee.toString():mo(ee)&&(_e=h([ee])));const Te=S(S(S({title:_e},j),L),{colSpan:q!==1?q:null,rowSpan:se!==1?se:null,class:me(J,{[`${J}-fix-left`]:ge&&u.value,[`${J}-fix-left-first`]:F&&u.value,[`${J}-fix-left-last`]:W&&u.value,[`${J}-fix-right`]:Se&&u.value,[`${J}-fix-right-first`]:D&&u.value,[`${J}-fix-right-last`]:B&&u.value,[`${J}-ellipsis`]:z,[`${J}-with-append`]:k,[`${J}-fix-sticky`]:(ge||Se)&&Y&&u.value,[`${J}-row-hover`]:!te&&c.value},L.class,H),onMouseenter:Pe=>{d(Pe,se)},onMouseleave:f,style:[L.style,$e,ae,ye]});return g(R,Te,{default:()=>[k,ee,(x=n.dragHandle)===null||x===void 0?void 0:x.call(n)]})}}});function MI(e,t,n,o,r){const i=n[e]||{},a=n[t]||{};let l,s;i.fixed==="left"?l=o.left[e]:a.fixed==="right"&&(s=o.right[t]);let c=!1,u=!1,d=!1,f=!1;const h=n[t+1],m=n[e-1];return r==="rtl"?l!==void 0?f=!(m&&m.fixed==="left"):s!==void 0&&(d=!(h&&h.fixed==="right")):l!==void 0?c=!(h&&h.fixed==="left"):s!==void 0&&(u=!(m&&m.fixed==="right")),{fixLeft:l,fixRight:s,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:o.isSticky}}const L8={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},N8=50,NPe=pe({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:N8},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},o={remove:()=>{}};const r=()=>{n.remove(),o.remove()};Fo(()=>{r()}),ct(()=>{pn(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:i}=PPe(),a=M(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:N8),l=M(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),s=Nn();let c=0;const u=ve(!1);let d;const f=x=>{let _=0;x.touches?x.touches.length?_=x.touches[0].pageX:_=x.changedTouches[0].pageX:_=x.pageX;const w=t-_;let I=Math.max(c-w,a.value);I=Math.min(I,l.value),mt.cancel(d),d=mt(()=>{i(I,e.column.__originColumn__)})},h=x=>{f(x)},m=x=>{u.value=!1,f(x),r()},v=(x,_)=>{u.value=!0,r(),c=s.vnode.el.parentNode.getBoundingClientRect().width,!(x instanceof MouseEvent&&x.which!==1)&&(x.stopPropagation&&x.stopPropagation(),t=x.touches?x.touches[0].pageX:x.pageX,n=wn(document.documentElement,_.move,h),o=wn(document.documentElement,_.stop,m))},y=x=>{x.stopPropagation(),x.preventDefault(),v(x,L8.mouse)},b=x=>{x.stopPropagation(),x.preventDefault(),v(x,L8.touch)},$=x=>{x.stopPropagation(),x.preventDefault()};return()=>{const{prefixCls:x}=e,_={[fo?"onTouchstartPassive":"onTouchstart"]:w=>b(w)};return g("div",V(V({class:`${x}-resize-handle ${u.value?"dragging":""}`,onMousedown:y},_),{},{onClick:$}),[g("div",{class:`${x}-resize-handle-line`},null)])}}}),kPe=pe({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=Ha();return()=>{const{prefixCls:n,direction:o}=t,{cells:r,stickyOffsets:i,flattenColumns:a,rowComponent:l,cellComponent:s,customHeaderRow:c,index:u}=e;let d;c&&(d=c(r.map(h=>h.column),u));const f=Uy(r.map(h=>h.column));return g(l,d,{default:()=>[r.map((h,m)=>{const{column:v}=h,y=MI(h.colStart,h.colEnd,a,i,o);let b;v&&v.customHeaderCell&&(b=h.column.customHeaderCell(v));const $=v;return g(Gy,V(V(V({},h),{},{cellType:"header",ellipsis:v.ellipsis,align:v.align,component:s,prefixCls:n,key:f[m]},y),{},{additionalProps:b,rowType:"header",column:v}),{default:()=>v.title,dragHandle:()=>$.resizable?g(NPe,{prefixCls:n,width:$.width,minWidth:$.minWidth,maxWidth:$.maxWidth,column:$},null):null})})]})}}});function BPe(e){const t=[];function n(r,i){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[a]=t[a]||[];let l=i;return r.filter(Boolean).map(c=>{const u={key:c.key,class:me(c.className,c.class),column:c,colStart:l};let d=1;const f=c.children;return f&&f.length>0&&(d=n(f,l,a+1).reduce((h,m)=>h+m,0),u.hasSubColumns=!0),"colSpan"in c&&({colSpan:d}=c),"rowSpan"in c&&(u.rowSpan=c.rowSpan),u.colSpan=d,u.colEnd=u.colStart+d-1,t[a].push(u),l+=d,d})}n(e,0);const o=t.length;for(let r=0;r<o;r+=1)t[r].forEach(i=>{!("rowSpan"in i)&&!i.hasSubColumns&&(i.rowSpan=o-r)});return t}const k8=pe({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=Ha(),n=M(()=>BPe(e.columns));return()=>{const{prefixCls:o,getComponent:r}=t,{stickyOffsets:i,flattenColumns:a,customHeaderRow:l}=e,s=r(["header","wrapper"],"thead"),c=r(["header","row"],"tr"),u=r(["header","cell"],"th");return g(s,{class:`${o}-thead`},{default:()=>[n.value.map((d,f)=>g(kPe,{key:f,flattenColumns:a,cells:d,stickyOffsets:i,rowComponent:c,cellComponent:u,customHeaderRow:l,index:f},null))]})}}}),Pz=Symbol("ExpandedRowProps"),FPe=e=>{ft(Pz,e)},HPe=()=>it(Pz,{}),Tz=pe({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:o}=t;const r=Ha(),i=HPe(),{fixHeader:a,fixColumn:l,componentWidth:s,horizonScroll:c}=i;return()=>{const{prefixCls:u,component:d,cellComponent:f,expanded:h,colSpan:m,isEmpty:v}=e;return g(d,{class:o.class,style:{display:h?null:"none"}},{default:()=>[g(Gy,{component:f,prefixCls:u,colSpan:m},{default:()=>{var y;let b=(y=n.default)===null||y===void 0?void 0:y.call(n);return(v?c.value:l.value)&&(b=g("div",{style:{width:`${s.value-(a.value?r.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${u}-expanded-row-fixed`},[b])),b}})]})}}}),zPe=pe({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const o=he();return lt(()=>{o.value&&n("columnResize",e.columnKey,o.value.offsetWidth)}),()=>g(ki,{onResize:r=>{let{offsetWidth:i}=r;n("columnResize",e.columnKey,i)}},{default:()=>[g("td",{ref:o,style:{padding:0,border:0,height:0}},[g("div",{style:{height:0,overflow:"hidden"}},[Do(" ")])])]})}}),Ez=Symbol("BodyContextProps"),jPe=e=>{ft(Ez,e)},Az=()=>it(Ez,{}),WPe=pe({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const o=Ha(),r=Az(),i=ve(!1),a=M(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));ct(()=>{a.value&&(i.value=!0)});const l=M(()=>r.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),s=M(()=>r.expandableType==="nest"),c=M(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),u=M(()=>l.value||s.value),d=(y,b)=>{r.onTriggerExpand(y,b)},f=M(()=>{var y;return((y=e.customRow)===null||y===void 0?void 0:y.call(e,e.record,e.index))||{}}),h=function(y){var b,$;r.expandRowByClick&&u.value&&d(e.record,y);for(var x=arguments.length,_=new Array(x>1?x-1:0),w=1;w<x;w++)_[w-1]=arguments[w];($=(b=f.value)===null||b===void 0?void 0:b.onClick)===null||$===void 0||$.call(b,y,..._)},m=M(()=>{const{record:y,index:b,indent:$}=e,{rowClassName:x}=r;return typeof x=="string"?x:typeof x=="function"?x(y,b,$):""}),v=M(()=>Uy(r.flattenColumns));return()=>{const{class:y,style:b}=n,{record:$,index:x,rowKey:_,indent:w=0,rowComponent:I,cellComponent:O}=e,{prefixCls:P,fixedInfoList:E,transformCellText:R}=o,{flattenColumns:A,expandedRowClassName:N,indentSize:F,expandIcon:W,expandedRowRender:D,expandIconColumnIndex:B}=r,k=g(I,V(V({},f.value),{},{"data-row-key":_,class:me(y,`${P}-row`,`${P}-row-level-${w}`,m.value,f.value.class),style:[b,f.value.style],onClick:h}),{default:()=>[A.map((z,K)=>{const{customRender:G,dataIndex:Y,className:ne}=z,re=v[K],J=E[K];let te;z.customCell&&(te=z.customCell($,x,z));const ee=K===(B||0)&&s.value?g(Je,null,[g("span",{style:{paddingLeft:`${F*w}px`},class:`${P}-row-indent indent-level-${w}`},null),W({prefixCls:P,expanded:a.value,expandable:c.value,record:$,onExpand:d})]):null;return g(Gy,V(V({cellType:"body",class:ne,ellipsis:z.ellipsis,align:z.align,component:O,prefixCls:P,key:re,record:$,index:x,renderIndex:e.renderIndex,dataIndex:Y,customRender:G},J),{},{additionalProps:te,column:z,transformCellText:R,appendNode:ee}),null)})]});let L;if(l.value&&(i.value||a.value)){const z=D({record:$,index:x,indent:w+1,expanded:a.value}),K=N&&N($,x,w);L=g(Tz,{expanded:a.value,class:me(`${P}-expanded-row`,`${P}-expanded-row-level-${w+1}`,K),prefixCls:P,component:I,cellComponent:O,colSpan:A.length,isEmpty:!1},{default:()=>[z]})}return g(Je,null,[k,L])}}});function Mz(e,t,n,o,r,i){const a=[];a.push({record:e,indent:t,index:i});const l=r(e),s=o==null?void 0:o.has(l);if(e&&Array.isArray(e[n])&&s)for(let c=0;c<e[n].length;c+=1){const u=Mz(e[n][c],t+1,n,o,r,c);a.push(...u)}return a}function VPe(e,t,n,o){return M(()=>{const i=t.value,a=n.value,l=e.value;if(a!=null&&a.size){const s=[];for(let c=0;c<(l==null?void 0:l.length);c+=1){const u=l[c];s.push(...Mz(u,0,i,a,o.value,c))}return s}return l==null?void 0:l.map((s,c)=>({record:s,indent:0,index:c}))})}const Rz=Symbol("ResizeContextProps"),KPe=e=>{ft(Rz,e)},UPe=()=>it(Rz,{onColumnResize:()=>{}}),GPe=pe({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const o=UPe(),r=Ha(),i=Az(),a=VPe(st(e,"data"),st(e,"childrenColumnName"),st(e,"expandedKeys"),st(e,"getRowKey")),l=ve(-1),s=ve(-1);let c;return TPe({startRow:l,endRow:s,onHover:(u,d)=>{clearTimeout(c),c=setTimeout(()=>{l.value=u,s.value=d},100)}}),()=>{var u;const{data:d,getRowKey:f,measureColumnWidth:h,expandedKeys:m,customRow:v,rowExpandable:y,childrenColumnName:b}=e,{onColumnResize:$}=o,{prefixCls:x,getComponent:_}=r,{flattenColumns:w}=i,I=_(["body","wrapper"],"tbody"),O=_(["body","row"],"tr"),P=_(["body","cell"],"td");let E;d.length?E=a.value.map((A,N)=>{const{record:F,indent:W,index:D}=A,B=f(F,N);return g(WPe,{key:B,rowKey:B,record:F,recordKey:B,index:N,renderIndex:D,rowComponent:O,cellComponent:P,expandedKeys:m,customRow:v,getRowKey:f,rowExpandable:y,childrenColumnName:b,indent:W},null)}):E=g(Tz,{expanded:!0,class:`${x}-placeholder`,prefixCls:x,component:O,cellComponent:P,colSpan:w.length,isEmpty:!0},{default:()=>[(u=n.emptyNode)===null||u===void 0?void 0:u.call(n)]});const R=Uy(w);return g(I,{class:`${x}-tbody`},{default:()=>[h&&g("tr",{"aria-hidden":"true",class:`${x}-measure-row`,style:{height:0,fontSize:0}},[R.map(A=>g(zPe,{key:A,columnKey:A,onColumnResize:$},null))]),E]})}}}),as={};var YPe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function ow(e){return e.reduce((t,n)=>{const{fixed:o}=n,r=o===!0?"left":o,i=n.children;return i&&i.length>0?[...t,...ow(i).map(a=>S({fixed:r},a))]:[...t,S(S({},n),{fixed:r})]},[])}function XPe(e){return e.map(t=>{const{fixed:n}=t,o=YPe(t,["fixed"]);let r=n;return n==="left"?r="right":n==="right"&&(r="left"),S({fixed:r},o)})}function qPe(e,t){let{prefixCls:n,columns:o,expandable:r,expandedKeys:i,getRowKey:a,onTriggerExpand:l,expandIcon:s,rowExpandable:c,expandIconColumnIndex:u,direction:d,expandRowByClick:f,expandColumnWidth:h,expandFixed:m}=e;const v=AI(),y=M(()=>{if(r.value){let x=o.value.slice();if(!x.includes(as)){const F=u.value||0;F>=0&&x.splice(F,0,as)}const _=x.indexOf(as);x=x.filter((F,W)=>F!==as||W===_);const w=o.value[_];let I;(m.value==="left"||m.value)&&!u.value?I="left":(m.value==="right"||m.value)&&u.value===o.value.length?I="right":I=w?w.fixed:null;const O=i.value,P=c.value,E=s.value,R=n.value,A=f.value,N={[md]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:Gb(v.value,"expandColumnTitle",{},()=>[""]),fixed:I,class:`${n.value}-row-expand-icon-cell`,width:h.value,customRender:F=>{let{record:W,index:D}=F;const B=a.value(W,D),k=O.has(B),L=P?P(W):!0,z=E({prefixCls:R,expanded:k,expandable:L,record:W,onExpand:l});return A?g("span",{onClick:K=>K.stopPropagation()},[z]):z}};return x.map(F=>F===as?N:F)}return o.value.filter(x=>x!==as)}),b=M(()=>{let x=y.value;return t.value&&(x=t.value(x)),x.length||(x=[{customRender:()=>null}]),x}),$=M(()=>d.value==="rtl"?XPe(ow(b.value)):ow(b.value));return[b,$]}function Dz(e){const t=ve(e);let n;const o=ve([]);function r(i){o.value.push(i),mt.cancel(n),n=mt(()=>{const a=o.value;o.value=[],a.forEach(l=>{t.value=l(t.value)})})}return Ct(()=>{mt.cancel(n)}),[t,r]}function ZPe(e){const t=he(e||null),n=he();function o(){clearTimeout(n.value)}function r(a){t.value=a,o(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function i(){return t.value}return Ct(()=>{o()}),[r,i]}function QPe(e,t,n){return M(()=>{const r=[],i=[];let a=0,l=0;const s=e.value,c=t.value,u=n.value;for(let d=0;d<c;d+=1)if(u==="rtl"){i[d]=l,l+=s[d]||0;const f=c-d-1;r[f]=a,a+=s[f]||0}else{r[d]=a,a+=s[d]||0;const f=c-d-1;i[f]=l,l+=s[f]||0}return{left:r,right:i}})}var JPe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Lz(e){let{colWidths:t,columns:n,columCount:o}=e;const r=[],i=o||n.length;let a=!1;for(let l=i-1;l>=0;l-=1){const s=t[l],c=n&&n[l],u=c&&c[md];if(s||u||a){const d=u||{},f=JPe(d,["columnType"]);r.unshift(g("col",V({key:l,style:{width:typeof s=="number"?`${s}px`:s}},f),null)),a=!0}}return g("colgroup",null,[r])}function rw(e,t){let{slots:n}=t;var o;return g("div",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])}rw.displayName="Panel";let eTe=0;const tTe=pe({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const o=Ha(),r=`table-summary-uni-key-${++eTe}`,i=M(()=>e.fixed===""||e.fixed);return ct(()=>{o.summaryCollect(r,i.value)}),Ct(()=>{o.summaryCollect(r,!1)}),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}}),nTe=tTe,oTe=pe({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var o;return g("tr",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])}}}),Nz=Symbol("SummaryContextProps"),rTe=e=>{ft(Nz,e)},iTe=()=>it(Nz,{}),aTe=pe({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:o}=t;const r=Ha(),i=iTe();return()=>{const{index:a,colSpan:l=1,rowSpan:s,align:c}=e,{prefixCls:u,direction:d}=r,{scrollColumnIndex:f,stickyOffsets:h,flattenColumns:m}=i,y=a+l-1+1===f?l+1:l,b=MI(a,a+y-1,m,h,d);return g(Gy,V({class:n.class,index:a,component:"td",prefixCls:u,record:null,dataIndex:null,align:c,colSpan:y,rowSpan:s,customRender:()=>{var $;return($=o.default)===null||$===void 0?void 0:$.call(o)}},b),null)}}}),Hv=pe({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const o=Ha();return rTe(St({stickyOffsets:st(e,"stickyOffsets"),flattenColumns:st(e,"flattenColumns"),scrollColumnIndex:M(()=>{const r=e.flattenColumns.length-1,i=e.flattenColumns[r];return i!=null&&i.scrollbar?r:null})})),()=>{var r;const{prefixCls:i}=o;return g("tfoot",{class:`${i}-summary`},[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),lTe=nTe;function sTe(e){let{prefixCls:t,record:n,onExpand:o,expanded:r,expandable:i}=e;const a=`${t}-row-expand-icon`;if(!i)return g("span",{class:[a,`${t}-row-spaced`]},null);const l=s=>{o(n,s),s.stopPropagation()};return g("span",{class:{[a]:!0,[`${t}-row-expanded`]:r,[`${t}-row-collapsed`]:!r},onClick:l},null)}function cTe(e,t,n){const o=[];function r(i){(i||[]).forEach((a,l)=>{o.push(t(a,l)),r(a[n])})}return r(e),o}const uTe=pe({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:o}=t;const r=Ha(),i=ve(0),a=ve(0),l=ve(0);ct(()=>{i.value=e.scrollBodySizeInfo.scrollWidth||0,a.value=e.scrollBodySizeInfo.clientWidth||0,l.value=i.value&&a.value*(a.value/i.value)},{flush:"post"});const s=ve(),[c,u]=Dz({scrollLeft:0,isHiddenScrollBar:!0}),d=he({delta:0,x:0}),f=ve(!1),h=()=>{f.value=!1},m=O=>{d.value={delta:O.pageX-c.value.scrollLeft,x:0},f.value=!0,O.preventDefault()},v=O=>{const{buttons:P}=O||(window==null?void 0:window.event);if(!f.value||P===0){f.value&&(f.value=!1);return}let E=d.value.x+O.pageX-d.value.x-d.value.delta;E<=0&&(E=0),E+l.value>=a.value&&(E=a.value-l.value),n("scroll",{scrollLeft:E/a.value*(i.value+2)}),d.value.x=O.pageX},y=()=>{if(!e.scrollBodyRef.value)return;const O=U0(e.scrollBodyRef.value).top,P=O+e.scrollBodyRef.value.offsetHeight,E=e.container===window?document.documentElement.scrollTop+window.innerHeight:U0(e.container).top+e.container.clientHeight;P-h0()<=E||O>=E-e.offsetScroll?u(R=>S(S({},R),{isHiddenScrollBar:!0})):u(R=>S(S({},R),{isHiddenScrollBar:!1}))};o({setScrollLeft:O=>{u(P=>S(S({},P),{scrollLeft:O/i.value*a.value||0}))}});let $=null,x=null,_=null,w=null;lt(()=>{$=wn(document.body,"mouseup",h,!1),x=wn(document.body,"mousemove",v,!1),_=wn(window,"resize",y,!1)}),Pb(()=>{wt(()=>{y()})}),lt(()=>{setTimeout(()=>{Ie([l,f],()=>{y()},{immediate:!0,flush:"post"})})}),Ie(()=>e.container,()=>{w==null||w.remove(),w=wn(e.container,"scroll",y,!1)},{immediate:!0,flush:"post"}),Ct(()=>{$==null||$.remove(),x==null||x.remove(),w==null||w.remove(),_==null||_.remove()}),Ie(()=>S({},c.value),(O,P)=>{O.isHiddenScrollBar!==(P==null?void 0:P.isHiddenScrollBar)&&!O.isHiddenScrollBar&&u(E=>{const R=e.scrollBodyRef.value;return R?S(S({},E),{scrollLeft:R.scrollLeft/R.scrollWidth*R.clientWidth}):E})},{immediate:!0});const I=h0();return()=>{if(i.value<=a.value||!l.value||c.value.isHiddenScrollBar)return null;const{prefixCls:O}=r;return g("div",{style:{height:`${I}px`,width:`${a.value}px`,bottom:`${e.offsetScroll}px`},class:`${O}-sticky-scroll`},[g("div",{onMousedown:m,ref:s,class:me(`${O}-sticky-scroll-bar`,{[`${O}-sticky-scroll-bar-active`]:f.value}),style:{width:`${l.value}px`,transform:`translate3d(${c.value.scrollLeft}px, 0, 0)`}},null)])}}}),B8=ur()?window:null;function dTe(e,t){return M(()=>{const{offsetHeader:n=0,offsetSummary:o=0,offsetScroll:r=0,getContainer:i=()=>B8}=typeof e.value=="object"?e.value:{},a=i()||B8,l=!!e.value;return{isSticky:l,stickyClassName:l?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:o,offsetScroll:r,container:a}})}function fTe(e,t){return M(()=>{const n=[],o=e.value,r=t.value;for(let i=0;i<r;i+=1){const a=o[i];if(a!==void 0)n[i]=a;else return null}return n})}const F8=pe({name:"FixedHolder",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow","noData","maxContentScroll","colWidths","columCount","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName"],emits:["scroll"],setup(e,t){let{attrs:n,slots:o,emit:r}=t;const i=Ha(),a=M(()=>i.isSticky&&!e.fixHeader?0:i.scrollbarSize),l=he(),s=v=>{const{currentTarget:y,deltaX:b}=v;b&&(r("scroll",{currentTarget:y,scrollLeft:y.scrollLeft+b}),v.preventDefault())},c=he();lt(()=>{wt(()=>{c.value=wn(l.value,"wheel",s)})}),Ct(()=>{var v;(v=c.value)===null||v===void 0||v.remove()});const u=M(()=>e.flattenColumns.every(v=>v.width&&v.width!==0&&v.width!=="0px")),d=he([]),f=he([]);ct(()=>{const v=e.flattenColumns[e.flattenColumns.length-1],y={fixed:v?v.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${i.prefixCls}-cell-scrollbar`})};d.value=a.value?[...e.columns,y]:e.columns,f.value=a.value?[...e.flattenColumns,y]:e.flattenColumns});const h=M(()=>{const{stickyOffsets:v,direction:y}=e,{right:b,left:$}=v;return S(S({},v),{left:y==="rtl"?[...$.map(x=>x+a.value),0]:$,right:y==="rtl"?b:[...b.map(x=>x+a.value),0],isSticky:i.isSticky})}),m=fTe(st(e,"colWidths"),st(e,"columCount"));return()=>{var v;const{noData:y,columCount:b,stickyTopOffset:$,stickyBottomOffset:x,stickyClassName:_,maxContentScroll:w}=e,{isSticky:I}=i;return g("div",{style:S({overflow:"hidden"},I?{top:`${$}px`,bottom:`${x}px`}:{}),ref:l,class:me(n.class,{[_]:!!_})},[g("table",{style:{tableLayout:"fixed",visibility:y||m.value?null:"hidden"}},[(!y||!w||u.value)&&g(Lz,{colWidths:m.value?[...m.value,a.value]:[],columCount:b+1,columns:f.value},null),(v=o.default)===null||v===void 0?void 0:v.call(o,S(S({},e),{stickyOffsets:h.value,columns:d.value,flattenColumns:f.value}))])])}}});function H8(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return St(Cfe(n.map(r=>[r,st(e,r)])))}const pTe=[],hTe={},iw="rc-table-internal-hook",gTe=pe({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:o,emit:r}=t;const i=M(()=>e.data||pTe),a=M(()=>!!i.value.length),l=M(()=>_Pe(e.components,{})),s=(le,xe)=>wz(l.value,le)||xe,c=M(()=>{const le=e.rowKey;return typeof le=="function"?le:xe=>xe&&xe[le]}),u=M(()=>e.expandIcon||sTe),d=M(()=>e.childrenColumnName||"children"),f=M(()=>e.expandedRowRender?"row":e.canExpandable||i.value.some(le=>le&&typeof le=="object"&&le[d.value])?"nest":!1),h=ve([]);ct(()=>{e.defaultExpandedRowKeys&&(h.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(h.value=cTe(i.value,c.value,d.value))})();const v=M(()=>new Set(e.expandedRowKeys||h.value||[])),y=le=>{const xe=c.value(le,i.value.indexOf(le));let Ae;const Be=v.value.has(xe);Be?(v.value.delete(xe),Ae=[...v.value]):Ae=[...v.value,xe],h.value=Ae,r("expand",!Be,le),r("update:expandedRowKeys",Ae),r("expandedRowsChange",Ae)},b=he(0),[$,x]=qPe(S(S({},oa(e)),{expandable:M(()=>!!e.expandedRowRender),expandedKeys:v,getRowKey:c,onTriggerExpand:y,expandIcon:u}),M(()=>e.internalHooks===iw?e.transformColumns:null)),_=M(()=>({columns:$.value,flattenColumns:x.value})),w=he(),I=he(),O=he(),P=he({scrollWidth:0,clientWidth:0}),E=he(),[R,A]=nn(!1),[N,F]=nn(!1),[W,D]=Dz(new Map),B=M(()=>Uy(x.value)),k=M(()=>B.value.map(le=>W.value.get(le))),L=M(()=>x.value.length),z=QPe(k,L,st(e,"direction")),K=M(()=>e.scroll&&tw(e.scroll.y)),G=M(()=>e.scroll&&tw(e.scroll.x)||!!e.expandFixed),Y=M(()=>G.value&&x.value.some(le=>{let{fixed:xe}=le;return xe})),ne=he(),re=dTe(st(e,"sticky"),st(e,"prefixCls")),J=St({}),te=M(()=>{const le=Object.values(J)[0];return(K.value||re.value.isSticky)&&le}),ee=(le,xe)=>{xe?J[le]=xe:delete J[le]},fe=he({}),ie=he({}),X=he({});ct(()=>{K.value&&(ie.value={overflowY:"scroll",maxHeight:uc(e.scroll.y)}),G.value&&(fe.value={overflowX:"auto"},K.value||(ie.value={overflowY:"hidden"}),X.value={width:e.scroll.x===!0?"auto":uc(e.scroll.x),minWidth:"100%"})});const ue=(le,xe)=>{Yb(w.value)&&D(Ae=>{if(Ae.get(le)!==xe){const Be=new Map(Ae);return Be.set(le,xe),Be}return Ae})},[ye,H]=ZPe(null);function j(le,xe){if(!xe)return;if(typeof xe=="function"){xe(le);return}const Ae=xe.$el||xe;Ae.scrollLeft!==le&&(Ae.scrollLeft=le)}const q=le=>{let{currentTarget:xe,scrollLeft:Ae}=le;var Be;const Ye=e.direction==="rtl",Re=typeof Ae=="number"?Ae:xe.scrollLeft,Le=xe||hTe;if((!H()||H()===Le)&&(ye(Le),j(Re,I.value),j(Re,O.value),j(Re,E.value),j(Re,(Be=ne.value)===null||Be===void 0?void 0:Be.setScrollLeft)),xe){const{scrollWidth:Ne,clientWidth:Ke}=xe;Ye?(A(-Re<Ne-Ke),F(-Re>0)):(A(Re>0),F(Re<Ne-Ke))}},se=()=>{G.value&&O.value?q({currentTarget:O.value}):(A(!1),F(!1))};let ae;const ge=le=>{le!==b.value&&(se(),b.value=w.value?w.value.offsetWidth:le)},Se=le=>{let{width:xe}=le;if(clearTimeout(ae),b.value===0){ge(xe);return}ae=setTimeout(()=>{ge(xe)},100)};Ie([G,()=>e.data,()=>e.columns],()=>{G.value&&se()},{flush:"post"});const[$e,_e]=nn(0);APe(),lt(()=>{wt(()=>{var le,xe;se(),_e(fle(O.value).width),P.value={scrollWidth:((le=O.value)===null||le===void 0?void 0:le.scrollWidth)||0,clientWidth:((xe=O.value)===null||xe===void 0?void 0:xe.clientWidth)||0}})}),fr(()=>{wt(()=>{var le,xe;const Ae=((le=O.value)===null||le===void 0?void 0:le.scrollWidth)||0,Be=((xe=O.value)===null||xe===void 0?void 0:xe.clientWidth)||0;(P.value.scrollWidth!==Ae||P.value.clientWidth!==Be)&&(P.value={scrollWidth:Ae,clientWidth:Be})})}),ct(()=>{e.internalHooks===iw&&e.internalRefs&&e.onUpdateInternalRefs({body:O.value?O.value.$el||O.value:null})},{flush:"post"});const be=M(()=>e.tableLayout?e.tableLayout:Y.value?e.scroll.x==="max-content"?"auto":"fixed":K.value||re.value.isSticky||x.value.some(le=>{let{ellipsis:xe}=le;return xe})?"fixed":"auto"),Te=()=>{var le;return a.value?null:((le=o.emptyText)===null||le===void 0?void 0:le.call(o))||"No Data"};xPe(St(S(S({},oa(H8(e,"prefixCls","direction","transformCellText"))),{getComponent:s,scrollbarSize:$e,fixedInfoList:M(()=>x.value.map((le,xe)=>MI(xe,xe,x.value,z.value,e.direction))),isSticky:M(()=>re.value.isSticky),summaryCollect:ee}))),jPe(St(S(S({},oa(H8(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:$,flattenColumns:x,tableLayout:be,expandIcon:u,expandableType:f,onTriggerExpand:y}))),KPe({onColumnResize:ue}),FPe({componentWidth:b,fixHeader:K,fixColumn:Y,horizonScroll:G});const Pe=()=>g(GPe,{data:i.value,measureColumnWidth:K.value||G.value||re.value.isSticky,expandedKeys:v.value,rowExpandable:e.rowExpandable,getRowKey:c.value,customRow:e.customRow,childrenColumnName:d.value},{emptyNode:Te}),oe=()=>g(Lz,{colWidths:x.value.map(le=>{let{width:xe}=le;return xe}),columns:x.value},null);return()=>{var le;const{prefixCls:xe,scroll:Ae,tableLayout:Be,direction:Ye,title:Re=o.title,footer:Le=o.footer,id:Ne,showHeader:Ke,customHeaderRow:Ze}=e,{isSticky:Ue,offsetHeader:Xe,offsetSummary:xt,offsetScroll:Mt,stickyClassName:Ft,container:jt}=re.value,Yt=s(["table"],"table"),Vn=s(["body"]),Gn=(le=o.summary)===null||le===void 0?void 0:le.call(o,{pageData:i.value});let oo=()=>null;const kn={colWidths:k.value,columCount:x.value.length,stickyOffsets:z.value,customHeaderRow:Ze,fixHeader:K.value,scroll:Ae};if(K.value||Ue){let wr=()=>null;typeof Vn=="function"?(wr=()=>Vn(i.value,{scrollbarSize:$e.value,ref:O,onScroll:q}),kn.colWidths=x.value.map((Ao,za)=>{let{width:We}=Ao;const gt=za===$.value.length-1?We-$e.value:We;return typeof gt=="number"&&!Number.isNaN(gt)?gt:0})):wr=()=>g("div",{style:S(S({},fe.value),ie.value),onScroll:q,ref:O,class:me(`${xe}-body`)},[g(Yt,{style:S(S({},X.value),{tableLayout:be.value})},{default:()=>[oe(),Pe(),!te.value&&Gn&&g(Hv,{stickyOffsets:z.value,flattenColumns:x.value},{default:()=>[Gn]})]})]);const Ur=S(S(S({noData:!i.value.length,maxContentScroll:G.value&&Ae.x==="max-content"},kn),_.value),{direction:Ye,stickyClassName:Ft,onScroll:q});oo=()=>g(Je,null,[Ke!==!1&&g(F8,V(V({},Ur),{},{stickyTopOffset:Xe,class:`${xe}-header`,ref:I}),{default:Ao=>g(Je,null,[g(k8,Ao,null),te.value==="top"&&g(Hv,Ao,{default:()=>[Gn]})])}),wr(),te.value&&te.value!=="top"&&g(F8,V(V({},Ur),{},{stickyBottomOffset:xt,class:`${xe}-summary`,ref:E}),{default:Ao=>g(Hv,Ao,{default:()=>[Gn]})}),Ue&&O.value&&g(uTe,{ref:ne,offsetScroll:Mt,scrollBodyRef:O,onScroll:q,container:jt,scrollBodySizeInfo:P.value},null)])}else oo=()=>g("div",{style:S(S({},fe.value),ie.value),class:me(`${xe}-content`),onScroll:q,ref:O},[g(Yt,{style:S(S({},X.value),{tableLayout:be.value})},{default:()=>[oe(),Ke!==!1&&g(k8,V(V({},kn),_.value),null),Pe(),Gn&&g(Hv,{stickyOffsets:z.value,flattenColumns:x.value},{default:()=>[Gn]})]})]);const yo=As(n,{aria:!0,data:!0}),Yo=()=>g("div",V(V({},yo),{},{class:me(xe,{[`${xe}-rtl`]:Ye==="rtl",[`${xe}-ping-left`]:R.value,[`${xe}-ping-right`]:N.value,[`${xe}-layout-fixed`]:Be==="fixed",[`${xe}-fixed-header`]:K.value,[`${xe}-fixed-column`]:Y.value,[`${xe}-scroll-horizontal`]:G.value,[`${xe}-has-fix-left`]:x.value[0]&&x.value[0].fixed,[`${xe}-has-fix-right`]:x.value[L.value-1]&&x.value[L.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:Ne,ref:w}),[Re&&g(rw,{class:`${xe}-title`},{default:()=>[Re(i.value)]}),g("div",{class:`${xe}-container`},[oo()]),Le&&g(rw,{class:`${xe}-footer`},{default:()=>[Le(i.value)]})]);return G.value?g(ki,{onResize:Se},{default:Yo}):Yo()}}});function vTe(){const e=S({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];n&&Object.keys(n).forEach(o=>{const r=n[o];r!==void 0&&(e[o]=r)})}return e}const aw=10;function mTe(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(r=>{const i=e[r];typeof i!="function"&&(n[r]=i)}),n}function bTe(e,t,n){const o=M(()=>t.value&&typeof t.value=="object"?t.value:{}),r=M(()=>o.value.total||0),[i,a]=nn(()=>({current:"defaultCurrent"in o.value?o.value.defaultCurrent:1,pageSize:"defaultPageSize"in o.value?o.value.defaultPageSize:aw})),l=M(()=>{const u=vTe(i.value,o.value,{total:r.value>0?r.value:e.value}),d=Math.ceil((r.value||e.value)/u.pageSize);return u.current>d&&(u.current=d||1),u}),s=(u,d)=>{t.value!==!1&&a({current:u??1,pageSize:d||l.value.pageSize})},c=(u,d)=>{var f,h;t.value&&((h=(f=o.value).onChange)===null||h===void 0||h.call(f,u,d)),s(u,d),n(u,d||l.value.pageSize)};return[M(()=>t.value===!1?{}:S(S({},l.value),{onChange:c})),s]}function yTe(e,t,n){const o=ve({});Ie([e,t,n],()=>{const i=new Map,a=n.value,l=t.value;function s(c){c.forEach((u,d)=>{const f=a(u,d);i.set(f,u),u&&typeof u=="object"&&l in u&&s(u[l]||[])})}s(e.value),o.value={kvMap:i}},{deep:!0,immediate:!0});function r(i){return o.value.kvMap.get(i)}return[r]}const ll={},lw="SELECT_ALL",sw="SELECT_INVERT",cw="SELECT_NONE",STe=[];function kz(e,t){let n=[];return(t||[]).forEach(o=>{n.push(o),o&&typeof o=="object"&&e in o&&(n=[...n,...kz(e,o[e])])}),n}function CTe(e,t){const n=M(()=>{const E=e.value||{},{checkStrictly:R=!0}=E;return S(S({},E),{checkStrictly:R})}),[o,r]=yn(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||STe,{value:M(()=>n.value.selectedRowKeys)}),i=ve(new Map),a=E=>{if(n.value.preserveSelectedRowKeys){const R=new Map;E.forEach(A=>{let N=t.getRecordByKey(A);!N&&i.value.has(A)&&(N=i.value.get(A)),R.set(A,N)}),i.value=R}};ct(()=>{a(o.value)});const l=M(()=>n.value.checkStrictly?null:Qh(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),s=M(()=>kz(t.childrenColumnName.value,t.pageData.value)),c=M(()=>{const E=new Map,R=t.getRowKey.value,A=n.value.getCheckboxProps;return s.value.forEach((N,F)=>{const W=R(N,F),D=(A?A(N):null)||{};E.set(W,D)}),E}),{maxLevel:u,levelEntities:d}=Ly(l),f=E=>{var R;return!!(!((R=c.value.get(t.getRowKey.value(E)))===null||R===void 0)&&R.disabled)},h=M(()=>{if(n.value.checkStrictly)return[o.value||[],[]];const{checkedKeys:E,halfCheckedKeys:R}=Mi(o.value,!0,l.value,u.value,d.value,f);return[E||[],R]}),m=M(()=>h.value[0]),v=M(()=>h.value[1]),y=M(()=>{const E=n.value.type==="radio"?m.value.slice(0,1):m.value;return new Set(E)}),b=M(()=>n.value.type==="radio"?new Set:new Set(v.value)),[$,x]=nn(null),_=E=>{let R,A;a(E);const{preserveSelectedRowKeys:N,onChange:F}=n.value,{getRecordByKey:W}=t;N?(R=E,A=E.map(D=>i.value.get(D))):(R=[],A=[],E.forEach(D=>{const B=W(D);B!==void 0&&(R.push(D),A.push(B))})),r(R),F==null||F(R,A)},w=(E,R,A,N)=>{const{onSelect:F}=n.value,{getRecordByKey:W}=t||{};if(F){const D=A.map(B=>W(B));F(W(E),R,D,N)}_(A)},I=M(()=>{const{onSelectInvert:E,onSelectNone:R,selections:A,hideSelectAll:N}=n.value,{data:F,pageData:W,getRowKey:D,locale:B}=t;return!A||N?null:(A===!0?[lw,sw,cw]:A).map(L=>L===lw?{key:"all",text:B.value.selectionAll,onSelect(){_(F.value.map((z,K)=>D.value(z,K)).filter(z=>{const K=c.value.get(z);return!(K!=null&&K.disabled)||y.value.has(z)}))}}:L===sw?{key:"invert",text:B.value.selectInvert,onSelect(){const z=new Set(y.value);W.value.forEach((G,Y)=>{const ne=D.value(G,Y),re=c.value.get(ne);re!=null&&re.disabled||(z.has(ne)?z.delete(ne):z.add(ne))});const K=Array.from(z);E&&(pn(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),E(K)),_(K)}}:L===cw?{key:"none",text:B.value.selectNone,onSelect(){R==null||R(),_(Array.from(y.value).filter(z=>{const K=c.value.get(z);return K==null?void 0:K.disabled}))}}:L)}),O=M(()=>s.value.length);return[E=>{var R;const{onSelectAll:A,onSelectMultiple:N,columnWidth:F,type:W,fixed:D,renderCell:B,hideSelectAll:k,checkStrictly:L}=n.value,{prefixCls:z,getRecordByKey:K,getRowKey:G,expandType:Y,getPopupContainer:ne}=t;if(!e.value)return E.filter(ge=>ge!==ll);let re=E.slice();const J=new Set(y.value),te=s.value.map(G.value).filter(ge=>!c.value.get(ge).disabled),ee=te.every(ge=>J.has(ge)),fe=te.some(ge=>J.has(ge)),ie=()=>{const ge=[];ee?te.forEach($e=>{J.delete($e),ge.push($e)}):te.forEach($e=>{J.has($e)||(J.add($e),ge.push($e))});const Se=Array.from(J);A==null||A(!ee,Se.map($e=>K($e)),ge.map($e=>K($e))),_(Se)};let X;if(W!=="radio"){let ge;if(I.value){const Te=g(qn,{getPopupContainer:ne.value},{default:()=>[I.value.map((Pe,oe)=>{const{key:le,text:xe,onSelect:Ae}=Pe;return g(qn.Item,{key:le||oe,onClick:()=>{Ae==null||Ae(te)}},{default:()=>[xe]})})]});ge=g("div",{class:`${z.value}-selection-extra`},[g(Ta,{overlay:Te,getPopupContainer:ne.value},{default:()=>[g("span",null,[g(jh,null,null)])]})])}const Se=s.value.map((Te,Pe)=>{const oe=G.value(Te,Pe),le=c.value.get(oe)||{};return S({checked:J.has(oe)},le)}).filter(Te=>{let{disabled:Pe}=Te;return Pe}),$e=!!Se.length&&Se.length===O.value,_e=$e&&Se.every(Te=>{let{checked:Pe}=Te;return Pe}),be=$e&&Se.some(Te=>{let{checked:Pe}=Te;return Pe});X=!k&&g("div",{class:`${z.value}-selection`},[g(Ri,{checked:$e?_e:!!O.value&&ee,indeterminate:$e?!_e&&be:!ee&&fe,onChange:ie,disabled:O.value===0||$e,"aria-label":ge?"Custom selection":"Select all",skipGroup:!0},null),ge])}let ue;W==="radio"?ue=ge=>{let{record:Se,index:$e}=ge;const _e=G.value(Se,$e),be=J.has(_e);return{node:g(yr,V(V({},c.value.get(_e)),{},{checked:be,onClick:Te=>Te.stopPropagation(),onChange:Te=>{J.has(_e)||w(_e,!0,[_e],Te.nativeEvent)}}),null),checked:be}}:ue=ge=>{let{record:Se,index:$e}=ge;var _e;const be=G.value(Se,$e),Te=J.has(be),Pe=b.value.has(be),oe=c.value.get(be);let le;return Y.value==="nest"?(le=Pe,pn(typeof(oe==null?void 0:oe.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):le=(_e=oe==null?void 0:oe.indeterminate)!==null&&_e!==void 0?_e:Pe,{node:g(Ri,V(V({},oe),{},{indeterminate:le,checked:Te,skipGroup:!0,onClick:xe=>xe.stopPropagation(),onChange:xe=>{let{nativeEvent:Ae}=xe;const{shiftKey:Be}=Ae;let Ye=-1,Re=-1;if(Be&&L){const Le=new Set([$.value,be]);te.some((Ne,Ke)=>{if(Le.has(Ne))if(Ye===-1)Ye=Ke;else return Re=Ke,!0;return!1})}if(Re!==-1&&Ye!==Re&&L){const Le=te.slice(Ye,Re+1),Ne=[];Te?Le.forEach(Ze=>{J.has(Ze)&&(Ne.push(Ze),J.delete(Ze))}):Le.forEach(Ze=>{J.has(Ze)||(Ne.push(Ze),J.add(Ze))});const Ke=Array.from(J);N==null||N(!Te,Ke.map(Ze=>K(Ze)),Ne.map(Ze=>K(Ze))),_(Ke)}else{const Le=m.value;if(L){const Ne=Te?$a(Le,be):al(Le,be);w(be,!Te,Ne,Ae)}else{const Ne=Mi([...Le,be],!0,l.value,u.value,d.value,f),{checkedKeys:Ke,halfCheckedKeys:Ze}=Ne;let Ue=Ke;if(Te){const Xe=new Set(Ke);Xe.delete(be),Ue=Mi(Array.from(Xe),{checked:!1,halfCheckedKeys:Ze},l.value,u.value,d.value,f).checkedKeys}w(be,!Te,Ue,Ae)}}x(be)}}),null),checked:Te}};const ye=ge=>{let{record:Se,index:$e}=ge;const{node:_e,checked:be}=ue({record:Se,index:$e});return B?B(be,Se,$e,_e):_e};if(!re.includes(ll))if(re.findIndex(ge=>{var Se;return((Se=ge[md])===null||Se===void 0?void 0:Se.columnType)==="EXPAND_COLUMN"})===0){const[ge,...Se]=re;re=[ge,ll,...Se]}else re=[ll,...re];const H=re.indexOf(ll);re=re.filter((ge,Se)=>ge!==ll||Se===H);const j=re[H-1],q=re[H+1];let se=D;se===void 0&&((q==null?void 0:q.fixed)!==void 0?se=q.fixed:(j==null?void 0:j.fixed)!==void 0&&(se=j.fixed)),se&&j&&((R=j[md])===null||R===void 0?void 0:R.columnType)==="EXPAND_COLUMN"&&j.fixed===void 0&&(j.fixed=se);const ae={fixed:se,width:F,className:`${z.value}-selection-column`,title:n.value.columnTitle||X,customRender:ye,[md]:{class:`${z.value}-selection-col`}};return re.map(ge=>ge===ll?ae:ge)},y]}var $Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const xTe=$Te;function z8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){wTe(e,r,n[r])})}return e}function wTe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RI=function(t,n){var o=z8({},t,n.attrs);return g(Ot,z8({},o,{icon:xTe}),null)};RI.displayName="CaretDownOutlined";RI.inheritAttrs=!1;const _Te=RI;var OTe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const ITe=OTe;function j8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PTe(e,r,n[r])})}return e}function PTe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DI=function(t,n){var o=j8({},t,n.attrs);return g(Ot,j8({},o,{icon:ITe}),null)};DI.displayName="CaretUpOutlined";DI.inheritAttrs=!1;const TTe=DI;var ETe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Nc(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function ng(e,t){return t?`${t}-${e}`:`${e}`}function LI(e,t){return typeof e=="function"?e(t):e}function Bz(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=ln(e),n=[];return t.forEach(o=>{var r,i,a,l;if(!o)return;const s=o.key,c=((r=o.props)===null||r===void 0?void 0:r.style)||{},u=((i=o.props)===null||i===void 0?void 0:i.class)||"",d=o.props||{};for(const[y,b]of Object.entries(d))d[Gc(y)]=b;const f=o.children||{},{default:h}=f,m=ETe(f,["default"]),v=S(S(S({},m),d),{style:c,class:u});if(s&&(v.key=s),!((a=o.type)===null||a===void 0)&&a.__ANT_TABLE_COLUMN_GROUP)v.children=Bz(typeof h=="function"?h():h);else{const y=(l=o.children)===null||l===void 0?void 0:l.default;v.customRender=v.customRender||y}n.push(v)}),n}const Lm="ascend",jC="descend";function X0(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function W8(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function ATe(e,t){return t?e[e.indexOf(t)+1]:e[0]}function uw(e,t,n){let o=[];function r(i,a){o.push({column:i,key:Nc(i,a),multiplePriority:X0(i),sortOrder:i.sortOrder})}return(e||[]).forEach((i,a)=>{const l=ng(a,n);i.children?("sortOrder"in i&&r(i,l),o=[...o,...uw(i.children,t,l)]):i.sorter&&("sortOrder"in i?r(i,l):t&&i.defaultSortOrder&&o.push({column:i,key:Nc(i,l),multiplePriority:X0(i),sortOrder:i.defaultSortOrder}))}),o}function Fz(e,t,n,o,r,i,a,l){return(t||[]).map((s,c)=>{const u=ng(c,l);let d=s;if(d.sorter){const f=d.sortDirections||r,h=d.showSorterTooltip===void 0?a:d.showSorterTooltip,m=Nc(d,u),v=n.find(E=>{let{key:R}=E;return R===m}),y=v?v.sortOrder:null,b=ATe(f,y),$=f.includes(Lm)&&g(TTe,{class:me(`${e}-column-sorter-up`,{active:y===Lm}),role:"presentation"},null),x=f.includes(jC)&&g(_Te,{role:"presentation",class:me(`${e}-column-sorter-down`,{active:y===jC})},null),{cancelSort:_,triggerAsc:w,triggerDesc:I}=i||{};let O=_;b===jC?O=I:b===Lm&&(O=w);const P=typeof h=="object"?h:{title:O};d=S(S({},d),{className:me(d.className,{[`${e}-column-sort`]:y}),title:E=>{const R=g("div",{class:`${e}-column-sorters`},[g("span",{class:`${e}-column-title`},[LI(s.title,E)]),g("span",{class:me(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!($&&x)})},[g("span",{class:`${e}-column-sorter-inner`},[$,x])])]);return h?g(Br,P,{default:()=>[R]}):R},customHeaderCell:E=>{const R=s.customHeaderCell&&s.customHeaderCell(E)||{},A=R.onClick,N=R.onKeydown;return R.onClick=F=>{o({column:s,key:m,sortOrder:b,multiplePriority:X0(s)}),A&&A(F)},R.onKeydown=F=>{F.keyCode===Fe.ENTER&&(o({column:s,key:m,sortOrder:b,multiplePriority:X0(s)}),N==null||N(F))},y&&(R["aria-sort"]=y==="ascend"?"ascending":"descending"),R.class=me(R.class,`${e}-column-has-sorters`),R.tabindex=0,R}})}return"children"in d&&(d=S(S({},d),{children:Fz(e,d.children,n,o,r,i,a,u)})),d})}function V8(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function K8(e){const t=e.filter(n=>{let{sortOrder:o}=n;return o}).map(V8);return t.length===0&&e.length?S(S({},V8(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function dw(e,t,n){const o=t.slice().sort((a,l)=>l.multiplePriority-a.multiplePriority),r=e.slice(),i=o.filter(a=>{let{column:{sorter:l},sortOrder:s}=a;return W8(l)&&s});return i.length?r.sort((a,l)=>{for(let s=0;s<i.length;s+=1){const c=i[s],{column:{sorter:u},sortOrder:d}=c,f=W8(u);if(f&&d){const h=f(a,l,d);if(h!==0)return d===Lm?h:-h}}return 0}).map(a=>{const l=a[n];return l?S(S({},a),{[n]:dw(l,t,n)}):a}):r}function MTe(e){let{prefixCls:t,mergedColumns:n,onSorterChange:o,sortDirections:r,tableLocale:i,showSorterTooltip:a}=e;const[l,s]=nn(uw(n.value,!0)),c=M(()=>{let m=!0;const v=uw(n.value,!1);if(!v.length)return l.value;const y=[];function b(x){m?y.push(x):y.push(S(S({},x),{sortOrder:null}))}let $=null;return v.forEach(x=>{$===null?(b(x),x.sortOrder&&(x.multiplePriority===!1?m=!1:$=!0)):($&&x.multiplePriority!==!1||(m=!1),b(x))}),y}),u=M(()=>{const m=c.value.map(v=>{let{column:y,sortOrder:b}=v;return{column:y,order:b}});return{sortColumns:m,sortColumn:m[0]&&m[0].column,sortOrder:m[0]&&m[0].order}});function d(m){let v;m.multiplePriority===!1||!c.value.length||c.value[0].multiplePriority===!1?v=[m]:v=[...c.value.filter(y=>{let{key:b}=y;return b!==m.key}),m],s(v),o(K8(v),v)}const f=m=>Fz(t.value,m,c.value,d,r.value,i.value,a.value),h=M(()=>K8(c.value));return[f,c,u,h]}var RTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const DTe=RTe;function U8(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){LTe(e,r,n[r])})}return e}function LTe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NI=function(t,n){var o=U8({},t,n.attrs);return g(Ot,U8({},o,{icon:DTe}),null)};NI.displayName="FilterFilled";NI.inheritAttrs=!1;const NTe=NI,kTe=e=>{const{keyCode:t}=e;t===Fe.ENTER&&e.stopPropagation()},BTe=(e,t)=>{let{slots:n}=t;var o;return g("div",{onClick:r=>r.stopPropagation(),onKeydown:kTe},[(o=n.default)===null||o===void 0?void 0:o.call(n)])},FTe=BTe,G8=pe({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:Qe(),onChange:Oe(),filterSearch:rt([Boolean,Function]),tablePrefixCls:Qe(),locale:qe()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:o,tablePrefixCls:r,locale:i}=e;return o?g("div",{class:`${r}-filter-dropdown-search`},[g(uo,{placeholder:i.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${r}-filter-dropdown-search-input`},{prefix:()=>g(cy,null,null)})]):null}}});var Y8=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const HTe=pe({compatConfig:{MODE:3},name:"MotionTreeNode",inheritAttrs:!1,props:S(S({},cF),{active:Boolean,motion:Object,motionNodes:{type:Array},onMotionStart:Function,onMotionEnd:Function,motionType:String}),setup(e,t){let{attrs:n,slots:o}=t;const r=ve(!0),i=BO(),a=ve(!1),l=M(()=>e.motion?e.motion:Uh()),s=(c,u)=>{var d,f,h,m;u==="appear"?(f=(d=l.value)===null||d===void 0?void 0:d.onAfterEnter)===null||f===void 0||f.call(d,c):u==="leave"&&((m=(h=l.value)===null||h===void 0?void 0:h.onAfterLeave)===null||m===void 0||m.call(h,c)),a.value||e.onMotionEnd(),a.value=!0};return Ie(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&r.value&&wt(()=>{r.value=!1})},{immediate:!0,flush:"post"}),lt(()=>{e.motionNodes&&e.onMotionStart()}),Ct(()=>{e.motionNodes&&s()}),()=>{const{motion:c,motionNodes:u,motionType:d,active:f,eventKey:h}=e,m=Y8(e,["motion","motionNodes","motionType","active","eventKey"]);return u?g(so,V(V({},l.value),{},{appear:d==="show",onAfterAppear:v=>s(v,"appear"),onAfterLeave:v=>s(v,"leave")}),{default:()=>[Ln(g("div",{class:`${i.value.prefixCls}-treenode-motion`},[u.map(v=>{const y=Y8(v.data,[]),{title:b,key:$,isStart:x,isEnd:_}=v;return delete y.children,g(Dx,V(V({},y),{},{title:b,active:f,data:v.data,key:$,eventKey:$,isStart:x,isEnd:_}),o)})]),[[Bo,r.value]])]}):g(Dx,V(V({class:n.class,style:n.style},m),{},{active:f,eventKey:h}),o)}}});function zTe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,o=t.length;if(Math.abs(n-o)!==1)return{add:!1,key:null};function r(i,a){const l=new Map;i.forEach(c=>{l.set(c,!0)});const s=a.filter(c=>!l.has(c));return s.length===1?s[0]:null}return n<o?{add:!0,key:r(e,t)}:{add:!1,key:r(t,e)}}function X8(e,t,n){const o=e.findIndex(a=>a.key===n),r=e[o+1],i=t.findIndex(a=>a.key===n);if(r){const a=t.findIndex(l=>l.key===r.key);return t.slice(i+1,a)}return t.slice(i+1)}var q8=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Z8={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},jTe=()=>{},kc=`RC_TREE_MOTION_${Math.random()}`,fw={key:kc},Hz={key:kc,level:0,index:0,pos:"0",node:fw,nodes:[fw]},Q8={parent:null,children:[],pos:Hz.pos,data:fw,title:null,key:kc,isStart:[],isEnd:[]};function J8(e,t,n,o){return t===!1||!n?e:e.slice(0,Math.ceil(n/o)+1)}function eR(e){const{key:t,pos:n}=e;return Zh(t,n)}function WTe(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const VTe=pe({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:wye,setup(e,t){let{expose:n,attrs:o}=t;const r=he(),i=he(),{expandedKeys:a,flattenNodes:l}=sF();n({scrollTo:v=>{r.value.scrollTo(v)},getIndentWidth:()=>i.value.offsetWidth});const s=ve(l.value),c=ve([]),u=he(null);function d(){s.value=l.value,c.value=[],u.value=null,e.onListChangeEnd()}const f=BO();Ie([()=>a.value.slice(),l],(v,y)=>{let[b,$]=v,[x,_]=y;const w=zTe(x,b);if(w.key!==null){const{virtual:I,height:O,itemHeight:P}=e;if(w.add){const E=_.findIndex(N=>{let{key:F}=N;return F===w.key}),R=J8(X8(_,$,w.key),I,O,P),A=_.slice();A.splice(E+1,0,Q8),s.value=A,c.value=R,u.value="show"}else{const E=$.findIndex(N=>{let{key:F}=N;return F===w.key}),R=J8(X8($,_,w.key),I,O,P),A=$.slice();A.splice(E+1,0,Q8),s.value=A,c.value=R,u.value="hide"}}else _!==$&&(s.value=$)}),Ie(()=>f.value.dragging,v=>{v||d()});const h=M(()=>e.motion===void 0?s.value:l.value),m=()=>{e.onActiveChange(null)};return()=>{const v=S(S({},e),o),{prefixCls:y,selectable:b,checkable:$,disabled:x,motion:_,height:w,itemHeight:I,virtual:O,focusable:P,activeItem:E,focused:R,tabindex:A,onKeydown:N,onFocus:F,onBlur:W,onListChangeStart:D,onListChangeEnd:B}=v,k=q8(v,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return g(Je,null,[R&&E&&g("span",{style:Z8,"aria-live":"assertive"},[WTe(E)]),g("div",null,[g("input",{style:Z8,disabled:P===!1||x,tabindex:P!==!1?A:null,onKeydown:N,onFocus:F,onBlur:W,value:"",onChange:jTe,"aria-label":"for screen reader"},null)]),g("div",{class:`${y}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[g("div",{class:`${y}-indent`},[g("div",{ref:i,class:`${y}-indent-unit`},null)])]),g(Pk,V(V({},_t(k,["onActiveChange"])),{},{data:h.value,itemKey:eR,height:w,fullHeight:!1,virtual:O,itemHeight:I,prefixCls:`${y}-list`,ref:r,onVisibleChange:(L,z)=>{const K=new Set(L);z.filter(Y=>!K.has(Y)).some(Y=>eR(Y)===kc)&&d()}}),{default:L=>{const{pos:z}=L,K=q8(L.data,[]),{title:G,key:Y,isStart:ne,isEnd:re}=L,J=Zh(Y,z);return delete K.key,delete K.children,g(HTe,V(V({},K),{},{eventKey:J,title:G,active:!!E&&Y===E.key,data:L.data,isStart:ne,isEnd:re,motion:_,motionNodes:Y===kc?c.value:null,motionType:u.value,onMotionStart:D,onMotionEnd:d,onMousemove:m}),null)}})])}}});function KTe(e){let{dropPosition:t,dropLevelOffset:n,indent:o}=e;const r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:r.top=0,r.left=`${-n*o}px`;break;case 1:r.bottom=0,r.left=`${-n*o}px`;break;case 0:r.bottom=0,r.left=`${o}`;break}return g("div",{style:r},null)}const UTe=10,zz=pe({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:bt(uF(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:KTe,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:o,expose:r}=t;const i=ve(!1);let a={};const l=ve(),s=ve([]),c=ve([]),u=ve([]),d=ve([]),f=ve([]),h=ve([]),m={},v=St({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),y=ve([]);Ie([()=>e.treeData,()=>e.children],()=>{y.value=e.treeData!==void 0?$t(e.treeData).slice():Nx($t(e.children))},{immediate:!0,deep:!0});const b=ve({}),$=ve(!1),x=ve(null),_=ve(!1),w=M(()=>Ay(e.fieldNames)),I=ve();let O=null,P=null,E=null;const R=M(()=>({expandedKeysSet:A.value,selectedKeysSet:N.value,loadedKeysSet:F.value,loadingKeysSet:W.value,checkedKeysSet:D.value,halfCheckedKeysSet:B.value,dragOverNodeKey:v.dragOverNodeKey,dropPosition:v.dropPosition,keyEntities:b.value})),A=M(()=>new Set(h.value)),N=M(()=>new Set(s.value)),F=M(()=>new Set(d.value)),W=M(()=>new Set(f.value)),D=M(()=>new Set(c.value)),B=M(()=>new Set(u.value));ct(()=>{if(y.value){const Re=Qh(y.value,{fieldNames:w.value});b.value=S({[kc]:Hz},Re.keyEntities)}});let k=!1;Ie([()=>e.expandedKeys,()=>e.autoExpandParent,b],(Re,Le)=>{let[Ne,Ke]=Re,[Ze,Ue]=Le,Xe=h.value;if(e.expandedKeys!==void 0||k&&Ke!==Ue)Xe=e.autoExpandParent||!k&&e.defaultExpandParent?Lx(e.expandedKeys,b.value):e.expandedKeys;else if(!k&&e.defaultExpandAll){const xt=S({},b.value);delete xt[kc],Xe=Object.keys(xt).map(Mt=>xt[Mt].key)}else!k&&e.defaultExpandedKeys&&(Xe=e.autoExpandParent||e.defaultExpandParent?Lx(e.defaultExpandedKeys,b.value):e.defaultExpandedKeys);Xe&&(h.value=Xe),k=!0},{immediate:!0});const L=ve([]);ct(()=>{L.value=Mye(y.value,h.value,w.value)}),ct(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=l6(e.selectedKeys,e):!k&&e.defaultSelectedKeys&&(s.value=l6(e.defaultSelectedKeys,e)))});const{maxLevel:z,levelEntities:K}=Ly(b);ct(()=>{if(e.checkable){let Re;if(e.checkedKeys!==void 0?Re=wC(e.checkedKeys)||{}:!k&&e.defaultCheckedKeys?Re=wC(e.defaultCheckedKeys)||{}:y.value&&(Re=wC(e.checkedKeys)||{checkedKeys:c.value,halfCheckedKeys:u.value}),Re){let{checkedKeys:Le=[],halfCheckedKeys:Ne=[]}=Re;e.checkStrictly||({checkedKeys:Le,halfCheckedKeys:Ne}=Mi(Le,!0,b.value,z.value,K.value)),c.value=Le,u.value=Ne}}}),ct(()=>{e.loadedKeys&&(d.value=e.loadedKeys)});const G=()=>{S(v,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},Y=Re=>{I.value.scrollTo(Re)};Ie(()=>e.activeKey,()=>{e.activeKey!==void 0&&(x.value=e.activeKey)},{immediate:!0}),Ie(x,Re=>{wt(()=>{Re!==null&&Y({key:Re})})},{immediate:!0,flush:"post"});const ne=Re=>{e.expandedKeys===void 0&&(h.value=Re)},re=()=>{v.draggingNodeKey!==null&&S(v,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),O=null,E=null},J=(Re,Le)=>{const{onDragend:Ne}=e;v.dragOverNodeKey=null,re(),Ne==null||Ne({event:Re,node:Le.eventData}),P=null},te=Re=>{J(Re,null),window.removeEventListener("dragend",te)},ee=(Re,Le)=>{const{onDragstart:Ne}=e,{eventKey:Ke,eventData:Ze}=Le;P=Le,O={x:Re.clientX,y:Re.clientY};const Ue=$a(h.value,Ke);v.draggingNodeKey=Ke,v.dragChildrenKeys=Pye(Ke,b.value),l.value=I.value.getIndentWidth(),ne(Ue),window.addEventListener("dragend",te),Ne&&Ne({event:Re,node:Ze})},fe=(Re,Le)=>{const{onDragenter:Ne,onExpand:Ke,allowDrop:Ze,direction:Ue}=e,{pos:Xe,eventKey:xt}=Le;if(E!==xt&&(E=xt),!P){G();return}const{dropPosition:Mt,dropLevelOffset:Ft,dropTargetKey:jt,dropContainerKey:Yt,dropTargetPos:Vn,dropAllowed:Gn,dragOverNodeKey:oo}=a6(Re,P,Le,l.value,O,Ze,L.value,b.value,A.value,Ue);if(v.dragChildrenKeys.indexOf(jt)!==-1||!Gn){G();return}if(a||(a={}),Object.keys(a).forEach(kn=>{clearTimeout(a[kn])}),P.eventKey!==Le.eventKey&&(a[Xe]=window.setTimeout(()=>{if(v.draggingNodeKey===null)return;let kn=h.value.slice();const yo=b.value[Le.eventKey];yo&&(yo.children||[]).length&&(kn=al(h.value,Le.eventKey)),ne(kn),Ke&&Ke(kn,{node:Le.eventData,expanded:!0,nativeEvent:Re})},800)),P.eventKey===jt&&Ft===0){G();return}S(v,{dragOverNodeKey:oo,dropPosition:Mt,dropLevelOffset:Ft,dropTargetKey:jt,dropContainerKey:Yt,dropTargetPos:Vn,dropAllowed:Gn}),Ne&&Ne({event:Re,node:Le.eventData,expandedKeys:h.value})},ie=(Re,Le)=>{const{onDragover:Ne,allowDrop:Ke,direction:Ze}=e;if(!P)return;const{dropPosition:Ue,dropLevelOffset:Xe,dropTargetKey:xt,dropContainerKey:Mt,dropAllowed:Ft,dropTargetPos:jt,dragOverNodeKey:Yt}=a6(Re,P,Le,l.value,O,Ke,L.value,b.value,A.value,Ze);v.dragChildrenKeys.indexOf(xt)!==-1||!Ft||(P.eventKey===xt&&Xe===0?v.dropPosition===null&&v.dropLevelOffset===null&&v.dropTargetKey===null&&v.dropContainerKey===null&&v.dropTargetPos===null&&v.dropAllowed===!1&&v.dragOverNodeKey===null||G():Ue===v.dropPosition&&Xe===v.dropLevelOffset&&xt===v.dropTargetKey&&Mt===v.dropContainerKey&&jt===v.dropTargetPos&&Ft===v.dropAllowed&&Yt===v.dragOverNodeKey||S(v,{dropPosition:Ue,dropLevelOffset:Xe,dropTargetKey:xt,dropContainerKey:Mt,dropTargetPos:jt,dropAllowed:Ft,dragOverNodeKey:Yt}),Ne&&Ne({event:Re,node:Le.eventData}))},X=(Re,Le)=>{E===Le.eventKey&&!Re.currentTarget.contains(Re.relatedTarget)&&(G(),E=null);const{onDragleave:Ne}=e;Ne&&Ne({event:Re,node:Le.eventData})},ue=function(Re,Le){let Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ke;const{dragChildrenKeys:Ze,dropPosition:Ue,dropTargetKey:Xe,dropTargetPos:xt,dropAllowed:Mt}=v;if(!Mt)return;const{onDrop:Ft}=e;if(v.dragOverNodeKey=null,re(),Xe===null)return;const jt=S(S({},bm(Xe,$t(R.value))),{active:((Ke=xe.value)===null||Ke===void 0?void 0:Ke.key)===Xe,data:b.value[Xe].node});Ze.indexOf(Xe);const Yt=FO(xt),Vn={event:Re,node:ym(jt),dragNode:P?P.eventData:null,dragNodesKeys:[P.eventKey].concat(Ze),dropToGap:Ue!==0,dropPosition:Ue+Number(Yt[Yt.length-1])};Ne||Ft==null||Ft(Vn),P=null},ye=(Re,Le)=>{const{expanded:Ne,key:Ke}=Le,Ze=L.value.filter(Xe=>Xe.key===Ke)[0],Ue=ym(S(S({},bm(Ke,R.value)),{data:Ze.data}));ne(Ne?$a(h.value,Ke):al(h.value,Ke)),Te(Re,Ue)},H=(Re,Le)=>{const{onClick:Ne,expandAction:Ke}=e;Ke==="click"&&ye(Re,Le),Ne&&Ne(Re,Le)},j=(Re,Le)=>{const{onDblclick:Ne,expandAction:Ke}=e;(Ke==="doubleclick"||Ke==="dblclick")&&ye(Re,Le),Ne&&Ne(Re,Le)},q=(Re,Le)=>{let Ne=s.value;const{onSelect:Ke,multiple:Ze}=e,{selected:Ue}=Le,Xe=Le[w.value.key],xt=!Ue;xt?Ze?Ne=al(Ne,Xe):Ne=[Xe]:Ne=$a(Ne,Xe);const Mt=b.value,Ft=Ne.map(jt=>{const Yt=Mt[jt];return Yt?Yt.node:null}).filter(jt=>jt);e.selectedKeys===void 0&&(s.value=Ne),Ke&&Ke(Ne,{event:"select",selected:xt,node:Le,selectedNodes:Ft,nativeEvent:Re})},se=(Re,Le,Ne)=>{const{checkStrictly:Ke,onCheck:Ze}=e,Ue=Le[w.value.key];let Xe;const xt={event:"check",node:Le,checked:Ne,nativeEvent:Re},Mt=b.value;if(Ke){const Ft=Ne?al(c.value,Ue):$a(c.value,Ue),jt=$a(u.value,Ue);Xe={checked:Ft,halfChecked:jt},xt.checkedNodes=Ft.map(Yt=>Mt[Yt]).filter(Yt=>Yt).map(Yt=>Yt.node),e.checkedKeys===void 0&&(c.value=Ft)}else{let{checkedKeys:Ft,halfCheckedKeys:jt}=Mi([...c.value,Ue],!0,Mt,z.value,K.value);if(!Ne){const Yt=new Set(Ft);Yt.delete(Ue),{checkedKeys:Ft,halfCheckedKeys:jt}=Mi(Array.from(Yt),{checked:!1,halfCheckedKeys:jt},Mt,z.value,K.value)}Xe=Ft,xt.checkedNodes=[],xt.checkedNodesPositions=[],xt.halfCheckedKeys=jt,Ft.forEach(Yt=>{const Vn=Mt[Yt];if(!Vn)return;const{node:Gn,pos:oo}=Vn;xt.checkedNodes.push(Gn),xt.checkedNodesPositions.push({node:Gn,pos:oo})}),e.checkedKeys===void 0&&(c.value=Ft,u.value=jt)}Ze&&Ze(Xe,xt)},ae=Re=>{const Le=Re[w.value.key],Ne=new Promise((Ke,Ze)=>{const{loadData:Ue,onLoad:Xe}=e;if(!Ue||F.value.has(Le)||W.value.has(Le))return null;Ue(Re).then(()=>{const Mt=al(d.value,Le),Ft=$a(f.value,Le);Xe&&Xe(Mt,{event:"load",node:Re}),e.loadedKeys===void 0&&(d.value=Mt),f.value=Ft,Ke()}).catch(Mt=>{const Ft=$a(f.value,Le);if(f.value=Ft,m[Le]=(m[Le]||0)+1,m[Le]>=UTe){const jt=al(d.value,Le);e.loadedKeys===void 0&&(d.value=jt),Ke()}Ze(Mt)}),f.value=al(f.value,Le)});return Ne.catch(()=>{}),Ne},ge=(Re,Le)=>{const{onMouseenter:Ne}=e;Ne&&Ne({event:Re,node:Le})},Se=(Re,Le)=>{const{onMouseleave:Ne}=e;Ne&&Ne({event:Re,node:Le})},$e=(Re,Le)=>{const{onRightClick:Ne}=e;Ne&&(Re.preventDefault(),Ne({event:Re,node:Le}))},_e=Re=>{const{onFocus:Le}=e;$.value=!0,Le&&Le(Re)},be=Re=>{const{onBlur:Le}=e;$.value=!1,le(null),Le&&Le(Re)},Te=(Re,Le)=>{let Ne=h.value;const{onExpand:Ke,loadData:Ze}=e,{expanded:Ue}=Le,Xe=Le[w.value.key];if(_.value)return;Ne.indexOf(Xe);const xt=!Ue;if(xt?Ne=al(Ne,Xe):Ne=$a(Ne,Xe),ne(Ne),Ke&&Ke(Ne,{node:Le,expanded:xt,nativeEvent:Re}),xt&&Ze){const Mt=ae(Le);Mt&&Mt.then(()=>{}).catch(Ft=>{const jt=$a(h.value,Xe);ne(jt),Promise.reject(Ft)})}},Pe=()=>{_.value=!0},oe=()=>{setTimeout(()=>{_.value=!1})},le=Re=>{const{onActiveChange:Le}=e;x.value!==Re&&(e.activeKey!==void 0&&(x.value=Re),Re!==null&&Y({key:Re}),Le&&Le(Re))},xe=M(()=>x.value===null?null:L.value.find(Re=>{let{key:Le}=Re;return Le===x.value})||null),Ae=Re=>{let Le=L.value.findIndex(Ke=>{let{key:Ze}=Ke;return Ze===x.value});Le===-1&&Re<0&&(Le=L.value.length),Le=(Le+Re+L.value.length)%L.value.length;const Ne=L.value[Le];if(Ne){const{key:Ke}=Ne;le(Ke)}else le(null)},Be=M(()=>ym(S(S({},bm(x.value,R.value)),{data:xe.value.data,active:!0}))),Ye=Re=>{const{onKeydown:Le,checkable:Ne,selectable:Ke}=e;switch(Re.which){case Fe.UP:{Ae(-1),Re.preventDefault();break}case Fe.DOWN:{Ae(1),Re.preventDefault();break}}const Ze=xe.value;if(Ze&&Ze.data){const Ue=Ze.data.isLeaf===!1||!!(Ze.data.children||[]).length,Xe=Be.value;switch(Re.which){case Fe.LEFT:{Ue&&A.value.has(x.value)?Te({},Xe):Ze.parent&&le(Ze.parent.key),Re.preventDefault();break}case Fe.RIGHT:{Ue&&!A.value.has(x.value)?Te({},Xe):Ze.children&&Ze.children.length&&le(Ze.children[0].key),Re.preventDefault();break}case Fe.ENTER:case Fe.SPACE:{Ne&&!Xe.disabled&&Xe.checkable!==!1&&!Xe.disableCheckbox?se({},Xe,!D.value.has(x.value)):!Ne&&Ke&&!Xe.disabled&&Xe.selectable!==!1&&q({},Xe);break}}}Le&&Le(Re)};return r({onNodeExpand:Te,scrollTo:Y,onKeydown:Ye,selectedKeys:M(()=>s.value),checkedKeys:M(()=>c.value),halfCheckedKeys:M(()=>u.value),loadedKeys:M(()=>d.value),loadingKeys:M(()=>f.value),expandedKeys:M(()=>h.value)}),Fo(()=>{window.removeEventListener("dragend",te),i.value=!0}),Cye({expandedKeys:h,selectedKeys:s,loadedKeys:d,loadingKeys:f,checkedKeys:c,halfCheckedKeys:u,expandedKeysSet:A,selectedKeysSet:N,loadedKeysSet:F,loadingKeysSet:W,checkedKeysSet:D,halfCheckedKeysSet:B,flattenNodes:L}),()=>{const{draggingNodeKey:Re,dropLevelOffset:Le,dropContainerKey:Ne,dropTargetKey:Ke,dropPosition:Ze,dragOverNodeKey:Ue}=v,{prefixCls:Xe,showLine:xt,focusable:Mt,tabindex:Ft=0,selectable:jt,showIcon:Yt,icon:Vn=o.icon,switcherIcon:Gn,draggable:oo,checkable:kn,checkStrictly:yo,disabled:Yo,motion:wr,loadData:Ur,filterTreeNode:Ao,height:za,itemHeight:We,virtual:gt,dropIndicatorRender:ut,onContextmenu:un,onScroll:Yn,direction:Bn,rootClassName:Xo,rootStyle:So}=e,{class:hi,style:qo}=n,_r=As(S(S({},e),n),{aria:!0,data:!0});let Cn;return oo?typeof oo=="object"?Cn=oo:typeof oo=="function"?Cn={nodeDraggable:oo}:Cn={}:Cn=!1,g(Sye,{value:{prefixCls:Xe,selectable:jt,showIcon:Yt,icon:Vn,switcherIcon:Gn,draggable:Cn,draggingNodeKey:Re,checkable:kn,customCheckable:o.checkable,checkStrictly:yo,disabled:Yo,keyEntities:b.value,dropLevelOffset:Le,dropContainerKey:Ne,dropTargetKey:Ke,dropPosition:Ze,dragOverNodeKey:Ue,dragging:Re!==null,indent:l.value,direction:Bn,dropIndicatorRender:ut,loadData:Ur,filterTreeNode:Ao,onNodeClick:H,onNodeDoubleClick:j,onNodeExpand:Te,onNodeSelect:q,onNodeCheck:se,onNodeLoad:ae,onNodeMouseEnter:ge,onNodeMouseLeave:Se,onNodeContextMenu:$e,onNodeDragStart:ee,onNodeDragEnter:fe,onNodeDragOver:ie,onNodeDragLeave:X,onNodeDragEnd:J,onNodeDrop:ue,slots:o}},{default:()=>[g("div",{role:"tree",class:me(Xe,hi,Xo,{[`${Xe}-show-line`]:xt,[`${Xe}-focused`]:$.value,[`${Xe}-active-focused`]:x.value!==null}),style:So},[g(VTe,V({ref:I,prefixCls:Xe,style:qo,disabled:Yo,selectable:jt,checkable:!!kn,motion:wr,height:za,itemHeight:We,virtual:gt,focusable:Mt,focused:$.value,tabindex:Ft,activeItem:xe.value,onFocus:_e,onBlur:be,onKeydown:Ye,onActiveChange:le,onListChangeStart:Pe,onListChangeEnd:oe,onContextmenu:un,onScroll:Yn},_r),null)])]})}}});var GTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const YTe=GTe;function tR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){XTe(e,r,n[r])})}return e}function XTe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kI=function(t,n){var o=tR({},t,n.attrs);return g(Ot,tR({},o,{icon:YTe}),null)};kI.displayName="FileOutlined";kI.inheritAttrs=!1;const jz=kI;var qTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const ZTe=qTe;function nR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){QTe(e,r,n[r])})}return e}function QTe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BI=function(t,n){var o=nR({},t,n.attrs);return g(Ot,nR({},o,{icon:ZTe}),null)};BI.displayName="MinusSquareOutlined";BI.inheritAttrs=!1;const JTe=BI;var eEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const tEe=eEe;function oR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){nEe(e,r,n[r])})}return e}function nEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FI=function(t,n){var o=oR({},t,n.attrs);return g(Ot,oR({},o,{icon:tEe}),null)};FI.displayName="PlusSquareOutlined";FI.inheritAttrs=!1;const oEe=FI;var rEe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const iEe=rEe;function rR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){aEe(e,r,n[r])})}return e}function aEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HI=function(t,n){var o=rR({},t,n.attrs);return g(Ot,rR({},o,{icon:iEe}),null)};HI.displayName="CaretDownFilled";HI.inheritAttrs=!1;const lEe=HI;function Wz(e,t,n,o,r){const{isLeaf:i,expanded:a,loading:l}=n;let s=t;if(l)return g(di,{class:`${e}-switcher-loading-icon`},null);let c;r&&typeof r=="object"&&(c=r.showLeafIcon);let u=null;const d=`${e}-switcher-icon`;return i?r?c&&o?o(n):(typeof r=="object"&&!c?u=g("span",{class:`${e}-switcher-leaf-line`},null):u=g(jz,{class:`${e}-switcher-line-icon`},null),u):null:(u=g(lEe,{class:d},null),r&&(u=a?g(JTe,{class:`${e}-switcher-line-icon`},null):g(oEe,{class:`${e}-switcher-line-icon`},null)),typeof t=="function"?s=t(S(S({},n),{defaultIcon:u,switcherCls:d})):Jn(s)&&(s=ko(s,{class:d})),s||u)}const iR=4;function sEe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:i="ltr"}=e,a=i==="ltr"?"left":"right",l=i==="ltr"?"right":"left",s={[a]:`${-n*r+iR}px`,[l]:0};switch(t){case-1:s.top="-3px";break;case 1:s.bottom="-3px";break;default:s.bottom="-3px",s[a]=`${r+iR}px`;break}return g("div",{style:s,class:`${o}-drop-indicator`},null)}const cEe=new Pt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),uEe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),dEe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),fEe=(e,t)=>{const{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:i}=t,a=(i-t.fontSizeLG)/2,l=t.paddingXS;return{[n]:S(S({},vt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:S({},yl(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:cEe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:S({},yl(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:S(S({},uEe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,marginBlockStart:a},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:S({lineHeight:`${i}px`,userSelect:"none"},dEe(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},pEe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},Vz=(e,t)=>{const n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,i=t.controlHeightSM,a=nt(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:i});return[fEe(e,a),pEe(a)]},hEe=pt("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:Fy(`${n}-checkbox`,e)},Vz(n,e),Kh(e)]}),Kz=()=>{const e=uF();return S(S({},e),{showLine:rt([Boolean,Object]),multiple:De(),autoExpandParent:De(),checkStrictly:De(),checkable:De(),disabled:De(),defaultExpandAll:De(),defaultExpandParent:De(),defaultExpandedKeys:kt(),expandedKeys:kt(),checkedKeys:rt([Array,Object]),defaultCheckedKeys:kt(),selectedKeys:kt(),defaultSelectedKeys:kt(),selectable:De(),loadedKeys:kt(),draggable:De(),showIcon:De(),icon:Oe(),switcherIcon:Z.any,prefixCls:String,replaceFields:qe(),blockNode:De(),openAnimation:Z.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":Oe(),"onUpdate:checkedKeys":Oe(),"onUpdate:expandedKeys":Oe()})},Nm=pe({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:bt(Kz(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:o,emit:r,slots:i}=t;e.treeData===void 0&&i.default;const{prefixCls:a,direction:l,virtual:s}=Ve("tree",e),[c,u]=hEe(a),d=he();o({treeRef:d,onNodeExpand:function(){var y;(y=d.value)===null||y===void 0||y.onNodeExpand(...arguments)},scrollTo:y=>{var b;(b=d.value)===null||b===void 0||b.scrollTo(y)},selectedKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.selectedKeys}),checkedKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.checkedKeys}),halfCheckedKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.halfCheckedKeys}),loadedKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.loadedKeys}),loadingKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.loadingKeys}),expandedKeys:M(()=>{var y;return(y=d.value)===null||y===void 0?void 0:y.expandedKeys})}),ct(()=>{pn(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const h=(y,b)=>{r("update:checkedKeys",y),r("check",y,b)},m=(y,b)=>{r("update:expandedKeys",y),r("expand",y,b)},v=(y,b)=>{r("update:selectedKeys",y),r("select",y,b)};return()=>{const{showIcon:y,showLine:b,switcherIcon:$=i.switcherIcon,icon:x=i.icon,blockNode:_,checkable:w,selectable:I,fieldNames:O=e.replaceFields,motion:P=e.openAnimation,itemHeight:E=28,onDoubleclick:R,onDblclick:A}=e,N=S(S(S({},n),_t(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!b,dropIndicatorRender:sEe,fieldNames:O,icon:x,itemHeight:E}),F=i.default?_n(i.default()):void 0;return c(g(zz,V(V({},N),{},{virtual:s.value,motion:P,ref:d,prefixCls:a.value,class:me({[`${a.value}-icon-hide`]:!y,[`${a.value}-block-node`]:_,[`${a.value}-unselectable`]:!I,[`${a.value}-rtl`]:l.value==="rtl"},n.class,u.value),direction:l.value,checkable:w,selectable:I,switcherIcon:W=>Wz(a.value,$,W,i.leafIcon,b),onCheck:h,onExpand:m,onSelect:v,onDblclick:A||R,children:F}),S(S({},i),{checkable:()=>g("span",{class:`${a.value}-checkbox-inner`},null)})))}}});var gEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const vEe=gEe;function aR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){mEe(e,r,n[r])})}return e}function mEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zI=function(t,n){var o=aR({},t,n.attrs);return g(Ot,aR({},o,{icon:vEe}),null)};zI.displayName="FolderOpenOutlined";zI.inheritAttrs=!1;const bEe=zI;var yEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const SEe=yEe;function lR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){CEe(e,r,n[r])})}return e}function CEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jI=function(t,n){var o=lR({},t,n.attrs);return g(Ot,lR({},o,{icon:SEe}),null)};jI.displayName="FolderOutlined";jI.inheritAttrs=!1;const $Ee=jI;var sl;(function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"})(sl||(sl={}));function WI(e,t,n){function o(r){const i=r[t.key],a=r[t.children];n(i,r)!==!1&&WI(a||[],t,n)}e.forEach(o)}function xEe(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:r,fieldNames:i={title:"title",key:"key",children:"children"}}=e;const a=[];let l=sl.None;if(o&&o===r)return[o];if(!o||!r)return[];function s(c){return c===o||c===r}return WI(t,i,c=>{if(l===sl.End)return!1;if(s(c)){if(a.push(c),l===sl.None)l=sl.Start;else if(l===sl.Start)return l=sl.End,!1}else l===sl.Start&&a.push(c);return n.includes(c)}),a}function WC(e,t,n){const o=[...t],r=[];return WI(e,n,(i,a)=>{const l=o.indexOf(i);return l!==-1&&(r.push(a),o.splice(l,1)),!!o.length}),r}var wEe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const _Ee=()=>S(S({},Kz()),{expandAction:rt([Boolean,String])});function OEe(e){const{isLeaf:t,expanded:n}=e;return g(t?jz:n?bEe:$Ee,null,null)}const km=pe({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:bt(_Ee(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:i}=t;var a;const l=he(e.treeData||Nx(_n((a=o.default)===null||a===void 0?void 0:a.call(o))));Ie(()=>e.treeData,()=>{l.value=e.treeData}),fr(()=>{wt(()=>{var E;e.treeData===void 0&&o.default&&(l.value=Nx(_n((E=o.default)===null||E===void 0?void 0:E.call(o))))})});const s=he(),c=he(),u=M(()=>Ay(e.fieldNames)),d=he();i({scrollTo:E=>{var R;(R=d.value)===null||R===void 0||R.scrollTo(E)},selectedKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.selectedKeys}),checkedKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.checkedKeys}),halfCheckedKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.halfCheckedKeys}),loadedKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.loadedKeys}),loadingKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.loadingKeys}),expandedKeys:M(()=>{var E;return(E=d.value)===null||E===void 0?void 0:E.expandedKeys})});const h=()=>{const{keyEntities:E}=Qh(l.value,{fieldNames:u.value});let R;return e.defaultExpandAll?R=Object.keys(E):e.defaultExpandParent?R=Lx(e.expandedKeys||e.defaultExpandedKeys||[],E):R=e.expandedKeys||e.defaultExpandedKeys,R},m=he(e.selectedKeys||e.defaultSelectedKeys||[]),v=he(h());Ie(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(m.value=e.selectedKeys)},{immediate:!0}),Ie(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(v.value=e.expandedKeys)},{immediate:!0});const b=T_((E,R)=>{const{isLeaf:A}=R;A||E.shiftKey||E.metaKey||E.ctrlKey||d.value.onNodeExpand(E,R)},200,{leading:!0}),$=(E,R)=>{e.expandedKeys===void 0&&(v.value=E),r("update:expandedKeys",E),r("expand",E,R)},x=(E,R)=>{const{expandAction:A}=e;A==="click"&&b(E,R),r("click",E,R)},_=(E,R)=>{const{expandAction:A}=e;(A==="dblclick"||A==="doubleclick")&&b(E,R),r("doubleclick",E,R),r("dblclick",E,R)},w=(E,R)=>{const{multiple:A}=e,{node:N,nativeEvent:F}=R,W=N[u.value.key],D=S(S({},R),{selected:!0}),B=(F==null?void 0:F.ctrlKey)||(F==null?void 0:F.metaKey),k=F==null?void 0:F.shiftKey;let L;A&&B?(L=E,s.value=W,c.value=L,D.selectedNodes=WC(l.value,L,u.value)):A&&k?(L=Array.from(new Set([...c.value||[],...xEe({treeData:l.value,expandedKeys:v.value,startKey:W,endKey:s.value,fieldNames:u.value})])),D.selectedNodes=WC(l.value,L,u.value)):(L=[W],s.value=W,c.value=L,D.selectedNodes=WC(l.value,L,u.value)),r("update:selectedKeys",L),r("select",L,D),e.selectedKeys===void 0&&(m.value=L)},I=(E,R)=>{r("update:checkedKeys",E),r("check",E,R)},{prefixCls:O,direction:P}=Ve("tree",e);return()=>{const E=me(`${O.value}-directory`,{[`${O.value}-directory-rtl`]:P.value==="rtl"},n.class),{icon:R=o.icon,blockNode:A=!0}=e,N=wEe(e,["icon","blockNode"]);return g(Nm,V(V(V({},n),{},{icon:R||OEe,ref:d,blockNode:A},N),{},{prefixCls:O.value,class:E,expandedKeys:v.value,selectedKeys:m.value,onSelect:w,onClick:x,onDblclick:_,onExpand:$,onCheck:I}),o)}}}),Bm=Dx,Uz=S(Nm,{DirectoryTree:km,TreeNode:Bm,install:e=>(e.component(Nm.name,Nm),e.component(Bm.name,Bm),e.component(km.name,km),e)});function sR(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const o=new Set;function r(i,a){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const s=o.has(i);if(Hb(!s,"Warning: There may be circular references"),s)return!1;if(i===a)return!0;if(n&&l>1)return!1;o.add(i);const c=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(let u=0;u<i.length;u++)if(!r(i[u],a[u],c))return!1;return!0}if(i&&a&&typeof i=="object"&&typeof a=="object"){const u=Object.keys(i);return u.length!==Object.keys(a).length?!1:u.every(d=>r(i[d],a[d],c))}return!1}return r(e,t)}const{SubMenu:IEe,Item:PEe}=qn;function TEe(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function Gz(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function Yz(e){let{filters:t,prefixCls:n,filteredKeys:o,filterMultiple:r,searchValue:i,filterSearch:a}=e;return t.map((l,s)=>{const c=String(l.value);if(l.children)return g(IEe,{key:c||s,title:l.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[Yz({filters:l.children,prefixCls:n,filteredKeys:o,filterMultiple:r,searchValue:i,filterSearch:a})]});const u=r?Ri:yr,d=g(PEe,{key:l.value!==void 0?c:s},{default:()=>[g(u,{checked:o.includes(c)},null),g("span",null,[l.text])]});return i.trim()?typeof a=="function"?a(i,l)?d:void 0:Gz(i,l.text)?d:void 0:d})}const EEe=pe({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const o=AI(),r=M(()=>{var Y;return(Y=e.filterMode)!==null&&Y!==void 0?Y:"menu"}),i=M(()=>{var Y;return(Y=e.filterSearch)!==null&&Y!==void 0?Y:!1}),a=M(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),l=M(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),s=ve(!1),c=M(()=>{var Y;return!!(e.filterState&&(!((Y=e.filterState.filteredKeys)===null||Y===void 0)&&Y.length||e.filterState.forceFiltered))}),u=M(()=>{var Y;return Yy((Y=e.column)===null||Y===void 0?void 0:Y.filters)}),d=M(()=>{const{filterDropdown:Y,slots:ne={},customFilterDropdown:re}=e.column;return Y||ne.filterDropdown&&o.value[ne.filterDropdown]||re&&o.value.customFilterDropdown}),f=M(()=>{const{filterIcon:Y,slots:ne={}}=e.column;return Y||ne.filterIcon&&o.value[ne.filterIcon]||o.value.customFilterIcon}),h=Y=>{var ne;s.value=Y,(ne=l.value)===null||ne===void 0||ne.call(l,Y)},m=M(()=>typeof a.value=="boolean"?a.value:s.value),v=M(()=>{var Y;return(Y=e.filterState)===null||Y===void 0?void 0:Y.filteredKeys}),y=ve([]),b=Y=>{let{selectedKeys:ne}=Y;y.value=ne},$=(Y,ne)=>{let{node:re,checked:J}=ne;e.filterMultiple?b({selectedKeys:Y}):b({selectedKeys:J&&re.key?[re.key]:[]})};Ie(v,()=>{s.value&&b({selectedKeys:v.value||[]})},{immediate:!0});const x=ve([]),_=ve(),w=Y=>{_.value=setTimeout(()=>{x.value=Y})},I=()=>{clearTimeout(_.value)};Ct(()=>{clearTimeout(_.value)});const O=ve(""),P=Y=>{const{value:ne}=Y.target;O.value=ne};Ie(s,()=>{s.value||(O.value="")});const E=Y=>{const{column:ne,columnKey:re,filterState:J}=e,te=Y&&Y.length?Y:null;if(te===null&&(!J||!J.filteredKeys)||sR(te,J==null?void 0:J.filteredKeys,!0))return null;e.triggerFilter({column:ne,key:re,filteredKeys:te})},R=()=>{h(!1),E(y.value)},A=function(){let{confirm:Y,closeDropdown:ne}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Y&&E([]),ne&&h(!1),O.value="",e.column.filterResetToDefaultFilteredValue?y.value=(e.column.defaultFilteredValue||[]).map(re=>String(re)):y.value=[]},N=function(){let{closeDropdown:Y}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Y&&h(!1),E(y.value)},F=Y=>{Y&&v.value!==void 0&&(y.value=v.value||[]),h(Y),!Y&&!d.value&&R()},{direction:W}=Ve("",e),D=Y=>{if(Y.target.checked){const ne=u.value;y.value=ne}else y.value=[]},B=Y=>{let{filters:ne}=Y;return(ne||[]).map((re,J)=>{const te=String(re.value),ee={title:re.text,key:re.value!==void 0?te:J};return re.children&&(ee.children=B({filters:re.children})),ee})},k=Y=>{var ne;return S(S({},Y),{text:Y.title,value:Y.key,children:((ne=Y.children)===null||ne===void 0?void 0:ne.map(re=>k(re)))||[]})},L=M(()=>B({filters:e.column.filters})),z=M(()=>me({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!TEe(e.column.filters||[])})),K=()=>{const Y=y.value,{column:ne,locale:re,tablePrefixCls:J,filterMultiple:te,dropdownPrefixCls:ee,getPopupContainer:fe,prefixCls:ie}=e;return(ne.filters||[]).length===0?g(cs,{image:cs.PRESENTED_IMAGE_SIMPLE,description:re.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):r.value==="tree"?g(Je,null,[g(G8,{filterSearch:i.value,value:O.value,onChange:P,tablePrefixCls:J,locale:re},null),g("div",{class:`${J}-filter-dropdown-tree`},[te?g(Ri,{class:`${J}-filter-dropdown-checkall`,onChange:D,checked:Y.length===u.value.length,indeterminate:Y.length>0&&Y.length<u.value.length},{default:()=>[re.filterCheckall]}):null,g(Uz,{checkable:!0,selectable:!1,blockNode:!0,multiple:te,checkStrictly:!te,class:`${ee}-menu`,onCheck:$,checkedKeys:Y,selectedKeys:Y,showIcon:!1,treeData:L.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:O.value.trim()?X=>typeof i.value=="function"?i.value(O.value,k(X)):Gz(O.value,X.title):void 0},null)])]):g(Je,null,[g(G8,{filterSearch:i.value,value:O.value,onChange:P,tablePrefixCls:J,locale:re},null),g(qn,{multiple:te,prefixCls:`${ee}-menu`,class:z.value,onClick:I,onSelect:b,onDeselect:b,selectedKeys:Y,getPopupContainer:fe,openKeys:x.value,onOpenChange:w},{default:()=>Yz({filters:ne.filters||[],filterSearch:i.value,prefixCls:ie,filteredKeys:y.value,filterMultiple:te,searchValue:O.value})})])},G=M(()=>{const Y=y.value;return e.column.filterResetToDefaultFilteredValue?sR((e.column.defaultFilteredValue||[]).map(ne=>String(ne)),Y,!0):Y.length===0});return()=>{var Y;const{tablePrefixCls:ne,prefixCls:re,column:J,dropdownPrefixCls:te,locale:ee,getPopupContainer:fe}=e;let ie;typeof d.value=="function"?ie=d.value({prefixCls:`${te}-custom`,setSelectedKeys:ye=>b({selectedKeys:ye}),selectedKeys:y.value,confirm:N,clearFilters:A,filters:J.filters,visible:m.value,column:J.__originColumn__,close:()=>{h(!1)}}):d.value?ie=d.value:ie=g(Je,null,[K(),g("div",{class:`${re}-dropdown-btns`},[g(Un,{type:"link",size:"small",disabled:G.value,onClick:()=>A()},{default:()=>[ee.filterReset]}),g(Un,{type:"primary",size:"small",onClick:R},{default:()=>[ee.filterConfirm]})])]);const X=g(FTe,{class:`${re}-dropdown`},{default:()=>[ie]});let ue;return typeof f.value=="function"?ue=f.value({filtered:c.value,column:J.__originColumn__}):f.value?ue=f.value:ue=g(NTe,null,null),g("div",{class:`${re}-column`},[g("span",{class:`${ne}-column-title`},[(Y=n.default)===null||Y===void 0?void 0:Y.call(n)]),g(Ta,{overlay:X,trigger:["click"],open:m.value,onOpenChange:F,getPopupContainer:fe,placement:W.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[g("span",{role:"button",tabindex:-1,class:me(`${re}-trigger`,{active:c.value}),onClick:ye=>{ye.stopPropagation()}},[ue])]})])}}});function pw(e,t,n){let o=[];return(e||[]).forEach((r,i)=>{var a,l;const s=ng(i,n),c=r.filterDropdown||((a=r==null?void 0:r.slots)===null||a===void 0?void 0:a.filterDropdown)||r.customFilterDropdown;if(r.filters||c||"onFilter"in r)if("filteredValue"in r){let u=r.filteredValue;c||(u=(l=u==null?void 0:u.map(String))!==null&&l!==void 0?l:u),o.push({column:r,key:Nc(r,s),filteredKeys:u,forceFiltered:r.filtered})}else o.push({column:r,key:Nc(r,s),filteredKeys:t&&r.defaultFilteredValue?r.defaultFilteredValue:void 0,forceFiltered:r.filtered});"children"in r&&(o=[...o,...pw(r.children,t,s)])}),o}function Xz(e,t,n,o,r,i,a,l){return n.map((s,c)=>{var u;const d=ng(c,l),{filterMultiple:f=!0,filterMode:h,filterSearch:m}=s;let v=s;const y=s.filterDropdown||((u=s==null?void 0:s.slots)===null||u===void 0?void 0:u.filterDropdown)||s.customFilterDropdown;if(v.filters||y){const b=Nc(v,d),$=o.find(x=>{let{key:_}=x;return b===_});v=S(S({},v),{title:x=>g(EEe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:b,filterState:$,filterMultiple:f,filterMode:h,filterSearch:m,triggerFilter:i,locale:r,getPopupContainer:a},{default:()=>[LI(s.title,x)]})})}return"children"in v&&(v=S(S({},v),{children:Xz(e,t,v.children,o,r,i,a,d)})),v})}function Yy(e){let t=[];return(e||[]).forEach(n=>{let{value:o,children:r}=n;t.push(o),r&&(t=[...t,...Yy(r)])}),t}function cR(e){const t={};return e.forEach(n=>{let{key:o,filteredKeys:r,column:i}=n;var a;const l=i.filterDropdown||((a=i==null?void 0:i.slots)===null||a===void 0?void 0:a.filterDropdown)||i.customFilterDropdown,{filters:s}=i;if(l)t[o]=r||null;else if(Array.isArray(r)){const c=Yy(s);t[o]=c.filter(u=>r.includes(String(u)))}else t[o]=null}),t}function uR(e,t){return t.reduce((n,o)=>{const{column:{onFilter:r,filters:i},filteredKeys:a}=o;return r&&a&&a.length?n.filter(l=>a.some(s=>{const c=Yy(i),u=c.findIndex(f=>String(f)===String(s)),d=u!==-1?c[u]:s;return r(d,l)})):n},e)}function qz(e){return e.flatMap(t=>"children"in t?[t,...qz(t.children||[])]:[t])}function AEe(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,locale:r,onFilterChange:i,getPopupContainer:a}=e;const l=M(()=>qz(o.value)),[s,c]=nn(pw(l.value,!0)),u=M(()=>{const m=pw(l.value,!1);if(m.length===0)return m;let v=!0,y=!0;if(m.forEach(b=>{let{filteredKeys:$}=b;$!==void 0?v=!1:y=!1}),v){const b=(l.value||[]).map(($,x)=>Nc($,ng(x)));return s.value.filter($=>{let{key:x}=$;return b.includes(x)}).map($=>{const x=l.value[b.findIndex(_=>_===$.key)];return S(S({},$),{column:S(S({},$.column),x),forceFiltered:x.filtered})})}return pn(y,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),m}),d=M(()=>cR(u.value)),f=m=>{const v=u.value.filter(y=>{let{key:b}=y;return b!==m.key});v.push(m),c(v),i(cR(v),v)};return[m=>Xz(t.value,n.value,m,u.value,r.value,f,a.value),u,d]}function Zz(e,t){return e.map(n=>{const o=S({},n);return o.title=LI(o.title,t),"children"in o&&(o.children=Zz(o.children,t)),o})}function MEe(e){return[n=>Zz(n,e.value)]}function REe(e){return function(n){let{prefixCls:o,onExpand:r,record:i,expanded:a,expandable:l}=n;const s=`${o}-row-expand-icon`;return g("button",{type:"button",onClick:c=>{r(i,c),c.stopPropagation()},class:me(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&a,[`${s}-collapsed`]:l&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a},null)}}function Qz(e,t){const n=t.value;return e.map(o=>{var r;if(o===ll||o===as)return o;const i=S({},o),{slots:a={}}=i;return i.__originColumn__=o,pn(!("slots"in i),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(a).forEach(l=>{const s=a[l];i[l]===void 0&&n[s]&&(i[l]=n[s])}),t.value.headerCell&&!(!((r=o.slots)===null||r===void 0)&&r.title)&&(i.title=Gb(t.value,"headerCell",{title:o.title,column:o},()=>[o.title])),"children"in i&&Array.isArray(i.children)&&(i.children=Qz(i.children,t)),i})}function DEe(e){return[n=>Qz(n,e)]}const LEe=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,o=(r,i,a)=>({[`&${t}-${r}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${i}px -${a+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:S(S(S({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[`
+ > ${t}-content,
+ > ${t}-header,
+ > ${t}-body,
+ > ${t}-summary
+ `]:{"> table":{"\n > thead > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}},[`
+ > ${t}-content,
+ > ${t}-header
+ `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`
+ > tr${t}-expanded-row,
+ > tr${t}-placeholder
+ `]:{"> td":{borderInlineEnd:0}}}}}},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},NEe=LEe,kEe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:S(S({},eo),{wordBreak:"keep-all",[`
+ &${t}-cell-fix-left-last,
+ &${t}-cell-fix-right-first
+ `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},BEe=kEe,FEe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},HEe=FEe,zEe=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:o,motionDurationSlow:r,lineWidth:i,paddingXS:a,lineType:l,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:d,fontSize:f,fontSizeSM:h,lineHeight:m,tablePaddingVertical:v,tablePaddingHorizontal:y,tableExpandedRowBg:b,paddingXXS:$}=e,x=o/2-i,_=x*2+i*3,w=`${i}px ${l} ${s}`,I=$-i;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:S(S({},Vb(e)),{position:"relative",float:"left",boxSizing:"border-box",width:_,height:_,padding:0,color:"inherit",lineHeight:`${_}px`,background:c,border:w,borderRadius:d,transform:`scale(${o/_})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:x,insetInlineEnd:I,insetInlineStart:I,height:i},"&::after":{top:I,bottom:I,insetInlineStart:x,width:i,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(f*m-i*3)/2-Math.ceil((h*1.4-i*3)/2),marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:b}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${v}px -${y}px`,padding:`${v}px ${y}px`}}}},jEe=zEe,WEe=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:r,tableFilterDropdownSearchWidth:i,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:c,lineType:u,tableBorderColor:d,tableHeaderIconColor:f,fontSizeSM:h,tablePaddingHorizontal:m,borderRadius:v,motionDurationSlow:y,colorTextDescription:b,colorPrimary:$,tableHeaderFilterActiveBg:x,colorTextDisabled:_,tableFilterDropdownBg:w,tableFilterDropdownHeight:I,controlItemBgHover:O,controlItemBgActive:P,boxShadowSecondary:E}=e,R=`${n}-dropdown`,A=`${t}-filter-dropdown`,N=`${n}-tree`,F=`${c}px ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-a,marginInline:`${a}px ${-m/2}px`,padding:`0 ${a}px`,color:f,fontSize:h,borderRadius:v,cursor:"pointer",transition:`all ${y}`,"&:hover":{color:b,background:x},"&.active":{color:$}}}},{[`${n}-dropdown`]:{[A]:S(S({},vt(e)),{minWidth:r,backgroundColor:w,borderRadius:v,boxShadow:E,[`${R}-menu`]:{maxHeight:I,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${l}px 0`,color:_,fontSize:h,textAlign:"center",content:'"Not Found"'}},[`${A}-tree`]:{paddingBlock:`${l}px 0`,paddingInline:l,[N]:{padding:0},[`${N}-treenode ${N}-node-content-wrapper:hover`]:{backgroundColor:O},[`${N}-treenode-checkbox-checked ${N}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:P}}},[`${A}-search`]:{padding:l,borderBottom:F,"&-input":{input:{minWidth:i},[o]:{color:_}}},[`${A}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${A}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${l-c}px ${l}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:F}})}},{[`${n}-dropdown ${A}, ${A}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},VEe=WEe,KEe=e=>{const{componentCls:t,lineWidth:n,colorSplit:o,motionDurationSlow:r,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:l}=e,s=o;return{[`${t}-wrapper`]:{[`
+ ${t}-cell-fix-left,
+ ${t}-cell-fix-right
+ `]:{position:"sticky !important",zIndex:i,background:a},[`
+ ${t}-cell-fix-left-first::after,
+ ${t}-cell-fix-left-last::after
+ `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`
+ ${t}-cell-fix-right-first::after,
+ ${t}-cell-fix-right-last::after
+ `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:l+1,width:30,transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[`
+ ${t}-cell-fix-left-first::after,
+ ${t}-cell-fix-left-last::after
+ `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[`
+ ${t}-cell-fix-right-first::after,
+ ${t}-cell-fix-right-last::after
+ `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},UEe=KEe,GEe=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},YEe=GEe,XEe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},qEe=XEe,ZEe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},QEe=ZEe,JEe=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:r,paddingXS:i,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+i*2},[`
+ table tr th${t}-selection-column,
+ table tr td${t}-selection-column
+ `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[o]:{color:a,fontSize:r,verticalAlign:"baseline","&:hover":{color:l}}}}}},e4e=JEe,t4e=e=>{const{componentCls:t}=e,n=(o,r,i,a)=>({[`${t}${t}-${o}`]:{fontSize:a,[`
+ ${t}-title,
+ ${t}-footer,
+ ${t}-thead > tr > th,
+ ${t}-tbody > tr > td,
+ tfoot > tr > th,
+ tfoot > tr > td
+ `]:{padding:`${r}px ${i}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${i/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${r}px -${i}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-i}px -${i}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${i/4}px`}}});return{[`${t}-wrapper`]:S(S({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},n4e=t4e,o4e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},r4e=o4e,i4e=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:o,tableHeaderIconColor:r,tableHeaderIconColorHover:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`
+ &${t}-cell-fix-left:hover,
+ &${t}-cell-fix-right:hover
+ `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:r,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},a4e=i4e,l4e=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollThumbSize:i,tableScrollBg:a,zIndexTableSticky:l}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${i}px !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:o,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:r}}}}}}},s4e=l4e,c4e=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o}=e,r=`${n}px ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:r}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${o}`}}}},dR=c4e,u4e=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:r,lineWidth:i,lineType:a,tableBorderColor:l,tableFontSize:s,tableBg:c,tableRadius:u,tableHeaderTextColor:d,motionDurationMid:f,tableHeaderBg:h,tableHeaderCellSplitColor:m,tableRowHoverBg:v,tableSelectedRowBg:y,tableSelectedRowHoverBg:b,tableFooterTextColor:$,tableFooterBg:x,paddingContentVerticalLG:_}=e,w=`${i}px ${a} ${l}`;return{[`${t}-wrapper`]:S(S({clear:"both",maxWidth:"100%"},aa()),{[t]:S(S({},vt(e)),{fontSize:s,background:c,borderRadius:`${u}px ${u}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${u}px ${u}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
+ ${t}-thead > tr > th,
+ ${t}-tbody > tr > td,
+ tfoot > tr > th,
+ tfoot > tr > td
+ `]:{position:"relative",padding:`${_}px ${r}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${o}px ${r}px`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:d,fontWeight:n,textAlign:"start",background:h,borderBottom:w,transition:`background ${f} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${f}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}:not(${t}-bordered)`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderTop:w,borderBottom:"transparent"},"&:last-child > td":{borderBottom:w},[`&:first-child > td,
+ &${t}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${t}${t}-bordered`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderBottom:w}}}},[`${t}-tbody`]:{"> tr":{"> td":{transition:`background ${f}, border-color ${f}`,[`
+ > ${t}-wrapper:only-child,
+ > ${t}-expanded-row-fixed > ${t}-wrapper:only-child
+ `]:{[t]:{marginBlock:`-${o}px`,marginInline:`${e.tableExpandColumnWidth-r}px -${r}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[`
+ &${t}-row:hover > td,
+ > td${t}-cell-row-hover
+ `]:{background:v},[`&${t}-row-selected`]:{"> td":{background:y},"&:hover > td":{background:b}}}},[`${t}-footer`]:{padding:`${o}px ${r}px`,color:$,background:x}})}},d4e=pt("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:o,colorTextHeading:r,colorSplit:i,colorBorderSecondary:a,fontSize:l,padding:s,paddingXS:c,paddingSM:u,controlHeight:d,colorFillAlter:f,colorIcon:h,colorIconHover:m,opacityLoading:v,colorBgContainer:y,borderRadiusLG:b,colorFillContent:$,colorFillSecondary:x,controlInteractiveSize:_}=e,w=new Zt(h),I=new Zt(m),O=t,P=2,E=new Zt(x).onBackground(y).toHexString(),R=new Zt($).onBackground(y).toHexString(),A=new Zt(f).onBackground(y).toHexString(),N=nt(e,{tableFontSize:l,tableBg:y,tableRadius:b,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:u,tablePaddingHorizontalMiddle:c,tablePaddingVerticalSmall:c,tablePaddingHorizontalSmall:c,tableBorderColor:a,tableHeaderTextColor:r,tableHeaderBg:A,tableFooterTextColor:r,tableFooterBg:A,tableHeaderCellSplitColor:a,tableHeaderSortBg:E,tableHeaderSortHoverBg:R,tableHeaderIconColor:w.clone().setAlpha(w.getAlpha()*v).toRgbString(),tableHeaderIconColorHover:I.clone().setAlpha(I.getAlpha()*v).toRgbString(),tableBodySortBg:A,tableFixedHeaderSortActiveBg:E,tableHeaderFilterActiveBg:$,tableFilterDropdownBg:y,tableRowHoverBg:A,tableSelectedRowBg:O,tableSelectedRowHoverBg:n,zIndexTableFixed:P,zIndexTableSticky:P+1,tableFontSizeMiddle:l,tableFontSizeSmall:l,tableSelectionColumnWidth:d,tableExpandIconBg:y,tableExpandColumnWidth:_+2*e.padding,tableExpandedRowBg:f,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollBg:i});return[u4e(N),YEe(N),dR(N),a4e(N),VEe(N),NEe(N),qEe(N),jEe(N),dR(N),HEe(N),e4e(N),UEe(N),s4e(N),BEe(N),n4e(N),r4e(N),QEe(N)]}),f4e=[],Jz=()=>({prefixCls:Qe(),columns:kt(),rowKey:rt([String,Function]),tableLayout:Qe(),rowClassName:rt([String,Function]),title:Oe(),footer:Oe(),id:Qe(),showHeader:De(),components:qe(),customRow:Oe(),customHeaderRow:Oe(),direction:Qe(),expandFixed:rt([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:kt(),defaultExpandedRowKeys:kt(),expandedRowRender:Oe(),expandRowByClick:De(),expandIcon:Oe(),onExpand:Oe(),onExpandedRowsChange:Oe(),"onUpdate:expandedRowKeys":Oe(),defaultExpandAllRows:De(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:De(),expandedRowClassName:Oe(),childrenColumnName:Qe(),rowExpandable:Oe(),sticky:rt([Boolean,Object]),dropdownPrefixCls:String,dataSource:kt(),pagination:rt([Boolean,Object]),loading:rt([Boolean,Object]),size:Qe(),bordered:De(),locale:qe(),onChange:Oe(),onResizeColumn:Oe(),rowSelection:qe(),getPopupContainer:Oe(),scroll:qe(),sortDirections:kt(),showSorterTooltip:rt([Boolean,Object],!0),transformCellText:Oe()}),p4e=pe({name:"InternalTable",inheritAttrs:!1,props:bt(S(S({},Jz()),{contextSlots:qe()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:o,expose:r,emit:i}=t;pn(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),OPe(M(()=>e.contextSlots)),IPe({onResizeColumn:(se,ae)=>{i("resizeColumn",se,ae)}});const a=ff(),l=M(()=>{const se=new Set(Object.keys(a.value).filter(ae=>a.value[ae]));return e.columns.filter(ae=>!ae.responsive||ae.responsive.some(ge=>se.has(ge)))}),{size:s,renderEmpty:c,direction:u,prefixCls:d,configProvider:f}=Ve("table",e),[h,m]=d4e(d),v=M(()=>{var se;return e.transformCellText||((se=f.transformCellText)===null||se===void 0?void 0:se.value)}),[y]=Wi("Table",cr.Table,st(e,"locale")),b=M(()=>e.dataSource||f4e),$=M(()=>f.getPrefixCls("dropdown",e.dropdownPrefixCls)),x=M(()=>e.childrenColumnName||"children"),_=M(()=>b.value.some(se=>se==null?void 0:se[x.value])?"nest":e.expandedRowRender?"row":null),w=St({body:null}),I=se=>{S(w,se)},O=M(()=>typeof e.rowKey=="function"?e.rowKey:se=>se==null?void 0:se[e.rowKey]),[P]=yTe(b,x,O),E={},R=function(se,ae){let ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:Se,scroll:$e,onChange:_e}=e,be=S(S({},E),se);ge&&(E.resetPagination(),be.pagination.current&&(be.pagination.current=1),Se&&Se.onChange&&Se.onChange(1,be.pagination.pageSize)),$e&&$e.scrollToFirstRowOnChange!==!1&&w.body&&F2(0,{getContainer:()=>w.body}),_e==null||_e(be.pagination,be.filters,be.sorter,{currentDataSource:uR(dw(b.value,be.sorterStates,x.value),be.filterStates),action:ae})},A=(se,ae)=>{R({sorter:se,sorterStates:ae},"sort",!1)},[N,F,W,D]=MTe({prefixCls:d,mergedColumns:l,onSorterChange:A,sortDirections:M(()=>e.sortDirections||["ascend","descend"]),tableLocale:y,showSorterTooltip:st(e,"showSorterTooltip")}),B=M(()=>dw(b.value,F.value,x.value)),k=(se,ae)=>{R({filters:se,filterStates:ae},"filter",!0)},[L,z,K]=AEe({prefixCls:d,locale:y,dropdownPrefixCls:$,mergedColumns:l,onFilterChange:k,getPopupContainer:st(e,"getPopupContainer")}),G=M(()=>uR(B.value,z.value)),[Y]=DEe(st(e,"contextSlots")),ne=M(()=>{const se={},ae=K.value;return Object.keys(ae).forEach(ge=>{ae[ge]!==null&&(se[ge]=ae[ge])}),S(S({},W.value),{filters:se})}),[re]=MEe(ne),J=(se,ae)=>{R({pagination:S(S({},E.pagination),{current:se,pageSize:ae})},"paginate")},[te,ee]=bTe(M(()=>G.value.length),st(e,"pagination"),J);ct(()=>{E.sorter=D.value,E.sorterStates=F.value,E.filters=K.value,E.filterStates=z.value,E.pagination=e.pagination===!1?{}:mTe(te.value,e.pagination),E.resetPagination=ee});const fe=M(()=>{if(e.pagination===!1||!te.value.pageSize)return G.value;const{current:se=1,total:ae,pageSize:ge=aw}=te.value;return pn(se>0,"Table","`current` should be positive number."),G.value.length<ae?G.value.length>ge?G.value.slice((se-1)*ge,se*ge):G.value:G.value.slice((se-1)*ge,se*ge)});ct(()=>{wt(()=>{const{total:se,pageSize:ae=aw}=te.value;G.value.length<se&&G.value.length>ae&&pn(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const ie=M(()=>e.showExpandColumn===!1?-1:_.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),X=he();Ie(()=>e.rowSelection,()=>{X.value=e.rowSelection?S({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[ue,ye]=CTe(X,{prefixCls:d,data:G,pageData:fe,getRowKey:O,getRecordByKey:P,expandType:_,childrenColumnName:x,locale:y,getPopupContainer:M(()=>e.getPopupContainer)}),H=(se,ae,ge)=>{let Se;const{rowClassName:$e}=e;return typeof $e=="function"?Se=me($e(se,ae,ge)):Se=me($e),me({[`${d.value}-row-selected`]:ye.value.has(O.value(se,ae))},Se)};r({selectedKeySet:ye});const j=M(()=>typeof e.indentSize=="number"?e.indentSize:15),q=se=>re(ue(L(N(Y(se)))));return()=>{var se;const{expandIcon:ae=o.expandIcon||REe(y.value),pagination:ge,loading:Se,bordered:$e}=e;let _e,be;if(ge!==!1&&(!((se=te.value)===null||se===void 0)&&se.total)){let le;te.value.size?le=te.value.size:le=s.value==="small"||s.value==="middle"?"small":void 0;const xe=Ye=>g(Wy,V(V({},te.value),{},{class:[`${d.value}-pagination ${d.value}-pagination-${Ye}`,te.value.class],size:le}),null),Ae=u.value==="rtl"?"left":"right",{position:Be}=te.value;if(Be!==null&&Array.isArray(Be)){const Ye=Be.find(Ne=>Ne.includes("top")),Re=Be.find(Ne=>Ne.includes("bottom")),Le=Be.every(Ne=>`${Ne}`=="none");!Ye&&!Re&&!Le&&(be=xe(Ae)),Ye&&(_e=xe(Ye.toLowerCase().replace("top",""))),Re&&(be=xe(Re.toLowerCase().replace("bottom","")))}else be=xe(Ae)}let Te;typeof Se=="boolean"?Te={spinning:Se}:typeof Se=="object"&&(Te=S({spinning:!0},Se));const Pe=me(`${d.value}-wrapper`,{[`${d.value}-wrapper-rtl`]:u.value==="rtl"},n.class,m.value),oe=_t(e,["columns"]);return h(g("div",{class:Pe,style:n.style},[g(Aa,V({spinning:!1},Te),{default:()=>[_e,g(gTe,V(V(V({},n),oe),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:ie.value,indentSize:j.value,expandIcon:ae,columns:l.value,direction:u.value,prefixCls:d.value,class:me({[`${d.value}-middle`]:s.value==="middle",[`${d.value}-small`]:s.value==="small",[`${d.value}-bordered`]:$e,[`${d.value}-empty`]:b.value.length===0}),data:fe.value,rowKey:O.value,rowClassName:H,internalHooks:iw,internalRefs:w,onUpdateInternalRefs:I,transformColumns:q,transformCellText:v.value}),S(S({},o),{emptyText:()=>{var le,xe;return((le=o.emptyText)===null||le===void 0?void 0:le.call(o))||((xe=e.locale)===null||xe===void 0?void 0:xe.emptyText)||c("Table")}})),be]})]))}}}),h4e=pe({name:"ATable",inheritAttrs:!1,props:bt(Jz(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const i=he();return r({table:i}),()=>{var a;const l=e.columns||Bz((a=o.default)===null||a===void 0?void 0:a.call(o));return g(p4e,V(V(V({ref:i},n),e),{},{columns:l||[],expandedRowRender:o.expandedRowRender||e.expandedRowRender,contextSlots:S({},o)}),o)}}}),VC=h4e,Fm=pe({name:"ATableColumn",slots:Object,render(){return null}}),Hm=pe({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),q0=oTe,Z0=aTe,zm=S(lTe,{Cell:Z0,Row:q0,name:"ATableSummary"}),g4e=S(VC,{SELECTION_ALL:lw,SELECTION_INVERT:sw,SELECTION_NONE:cw,SELECTION_COLUMN:ll,EXPAND_COLUMN:as,Column:Fm,ColumnGroup:Hm,Summary:zm,install:e=>(e.component(zm.name,zm),e.component(Z0.name,Z0),e.component(q0.name,q0),e.component(VC.name,VC),e.component(Fm.name,Fm),e.component(Hm.name,Hm),e)}),v4e={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},m4e=pe({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:bt(v4e,{placeholder:""}),emits:["change"],setup(e,t){let{emit:n}=t;const o=r=>{var i;n("change",r),r.target.value===""&&((i=e.handleClear)===null||i===void 0||i.call(e))};return()=>{const{placeholder:r,value:i,prefixCls:a,disabled:l}=e;return g(uo,{placeholder:r,class:a,value:i,onChange:o,disabled:l,allowClear:!0},{prefix:()=>g(cy,null,null)})}}});var b4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const y4e=b4e;function fR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){S4e(e,r,n[r])})}return e}function S4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VI=function(t,n){var o=fR({},t,n.attrs);return g(Ot,fR({},o,{icon:y4e}),null)};VI.displayName="DeleteOutlined";VI.inheritAttrs=!1;const ej=VI;function C4e(){}const $4e={renderedText:Z.any,renderedEl:Z.any,item:Z.any,checked:De(),prefixCls:String,disabled:De(),showRemove:De(),onClick:Function,onRemove:Function},x4e=pe({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:$4e,emits:["click","remove"],setup(e,t){let{emit:n}=t;return()=>{const{renderedText:o,renderedEl:r,item:i,checked:a,disabled:l,prefixCls:s,showRemove:c}=e,u=me({[`${s}-content-item`]:!0,[`${s}-content-item-disabled`]:l||i.disabled});let d;return(typeof o=="string"||typeof o=="number")&&(d=String(o)),g(Yc,{componentName:"Transfer",defaultLocale:cr.Transfer},{default:f=>{const h=g("span",{class:`${s}-content-item-text`},[r]);return c?g("li",{class:u,title:d},[h,g(G0,{disabled:l||i.disabled,class:`${s}-content-item-remove`,"aria-label":f.remove,onClick:()=>{n("remove",i)}},{default:()=>[g(ej,null,null)]})]):g("li",{class:u,title:d,onClick:l||i.disabled?C4e:()=>{n("click",i)}},[g(Ri,{class:`${s}-checkbox`,checked:a,disabled:l||i.disabled},null),h])}})}}}),w4e={prefixCls:String,filteredRenderItems:Z.array.def([]),selectedKeys:Z.array,disabled:De(),showRemove:De(),pagination:Z.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function _4e(e){if(!e)return null;const t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof e=="object"?S(S({},t),e):t}const O4e=pe({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:w4e,emits:["itemSelect","itemRemove","scroll"],setup(e,t){let{emit:n,expose:o}=t;const r=he(1),i=d=>{const{selectedKeys:f}=e,h=f.indexOf(d.key)>=0;n("itemSelect",d.key,!h)},a=d=>{n("itemRemove",[d.key])},l=d=>{n("scroll",d)},s=M(()=>_4e(e.pagination));Ie([s,()=>e.filteredRenderItems],()=>{if(s.value){const d=Math.ceil(e.filteredRenderItems.length/s.value.pageSize);r.value=Math.min(r.value,d)}},{immediate:!0});const c=M(()=>{const{filteredRenderItems:d}=e;let f=d;return s.value&&(f=d.slice((r.value-1)*s.value.pageSize,r.value*s.value.pageSize)),f}),u=d=>{r.value=d};return o({items:c}),()=>{const{prefixCls:d,filteredRenderItems:f,selectedKeys:h,disabled:m,showRemove:v}=e;let y=null;s.value&&(y=g(Wy,{simple:s.value.simple,showSizeChanger:s.value.showSizeChanger,showLessItems:s.value.showLessItems,size:"small",disabled:m,class:`${d}-pagination`,total:f.length,pageSize:s.value.pageSize,current:r.value,onChange:u},null));const b=c.value.map($=>{let{renderedEl:x,renderedText:_,item:w}=$;const{disabled:I}=w,O=h.indexOf(w.key)>=0;return g(x4e,{disabled:m||I,key:w.key,item:w,renderedText:_,renderedEl:x,checked:O,prefixCls:d,onClick:i,onRemove:a,showRemove:v},null)});return g(Je,null,[g("ul",{class:me(`${d}-content`,{[`${d}-content-show-remove`]:v}),onScroll:l},[b]),y])}}}),I4e=O4e,hw=e=>{const t=new Map;return e.forEach((n,o)=>{t.set(n,o)}),t},P4e=e=>{const t=new Map;return e.forEach((n,o)=>{let{disabled:r,key:i}=n;r&&t.set(i,o)}),t},T4e=()=>null;function E4e(e){return!!(e&&!Jn(e)&&Object.prototype.toString.call(e)==="[object Object]")}function zv(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const A4e={prefixCls:String,dataSource:kt([]),filter:String,filterOption:Function,checkedKeys:Z.arrayOf(Z.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:De(!1),searchPlaceholder:String,notFoundContent:Z.any,itemUnit:String,itemsUnit:String,renderList:Z.any,disabled:De(),direction:Qe(),showSelectAll:De(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:Z.any,showRemove:De(),pagination:Z.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},pR=pe({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:A4e,slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const r=he(""),i=he(),a=he(),l=(w,I)=>{let O=w?w(I):null;const P=!!O&&_n(O).length>0;return P||(O=g(I4e,V(V({},I),{},{ref:a}),null)),{customize:P,bodyContent:O}},s=w=>{const{renderItem:I=T4e}=e,O=I(w),P=E4e(O);return{renderedText:P?O.value:O,renderedEl:P?O.label:O,item:w}},c=he([]),u=he([]);ct(()=>{const w=[],I=[];e.dataSource.forEach(O=>{const P=s(O),{renderedText:E}=P;if(r.value&&r.value.trim()&&!b(E,O))return null;w.push(O),I.push(P)}),c.value=w,u.value=I});const d=M(()=>{const{checkedKeys:w}=e;if(w.length===0)return"none";const I=hw(w);return c.value.every(O=>I.has(O.key)||!!O.disabled)?"all":"part"}),f=M(()=>zv(c.value)),h=(w,I)=>Array.from(new Set([...w,...e.checkedKeys])).filter(O=>I.indexOf(O)===-1),m=w=>{let{disabled:I,prefixCls:O}=w;var P;const E=d.value==="all";return g(Ri,{disabled:((P=e.dataSource)===null||P===void 0?void 0:P.length)===0||I,checked:E,indeterminate:d.value==="part",class:`${O}-checkbox`,onChange:()=>{const A=f.value;e.onItemSelectAll(h(E?[]:A,E?e.checkedKeys:[]))}},null)},v=w=>{var I;const{target:{value:O}}=w;r.value=O,(I=e.handleFilter)===null||I===void 0||I.call(e,w)},y=w=>{var I;r.value="",(I=e.handleClear)===null||I===void 0||I.call(e,w)},b=(w,I)=>{const{filterOption:O}=e;return O?O(r.value,I):w.includes(r.value)},$=(w,I)=>{const{itemsUnit:O,itemUnit:P,selectAllLabel:E}=e;if(E)return typeof E=="function"?E({selectedCount:w,totalCount:I}):E;const R=I>1?O:P;return g(Je,null,[(w>0?`${w}/`:"")+I,Do(" "),R])},x=M(()=>Array.isArray(e.notFoundContent)?e.notFoundContent[e.direction==="left"?0:1]:e.notFoundContent),_=(w,I,O,P,E,R)=>{const A=E?g("div",{class:`${w}-body-search-wrapper`},[g(m4e,{prefixCls:`${w}-search`,onChange:v,handleClear:y,placeholder:I,value:r.value,disabled:R},null)]):null;let N;const{onEvents:F}=_2(n),{bodyContent:W,customize:D}=l(P,S(S(S({},e),{filteredItems:c.value,filteredRenderItems:u.value,selectedKeys:O}),F));return D?N=g("div",{class:`${w}-body-customize-wrapper`},[W]):N=c.value.length?W:g("div",{class:`${w}-body-not-found`},[x.value]),g("div",{class:E?`${w}-body ${w}-body-with-search`:`${w}-body`,ref:i},[A,N])};return()=>{var w,I;const{prefixCls:O,checkedKeys:P,disabled:E,showSearch:R,searchPlaceholder:A,selectAll:N,selectCurrent:F,selectInvert:W,removeAll:D,removeCurrent:B,renderList:k,onItemSelectAll:L,onItemRemove:z,showSelectAll:K=!0,showRemove:G,pagination:Y}=e,ne=(w=o.footer)===null||w===void 0?void 0:w.call(o,S({},e)),re=me(O,{[`${O}-with-pagination`]:!!Y,[`${O}-with-footer`]:!!ne}),J=_(O,A,P,k,R,E),te=ne?g("div",{class:`${O}-footer`},[ne]):null,ee=!G&&!Y&&m({disabled:E,prefixCls:O});let fe=null;G?fe=g(qn,null,{default:()=>[Y&&g(qn.Item,{key:"removeCurrent",onClick:()=>{const X=zv((a.value.items||[]).map(ue=>ue.item));z==null||z(X)}},{default:()=>[B]}),g(qn.Item,{key:"removeAll",onClick:()=>{z==null||z(f.value)}},{default:()=>[D]})]}):fe=g(qn,null,{default:()=>[g(qn.Item,{key:"selectAll",onClick:()=>{const X=f.value;L(h(X,[]))}},{default:()=>[N]}),Y&&g(qn.Item,{onClick:()=>{const X=zv((a.value.items||[]).map(ue=>ue.item));L(h(X,[]))}},{default:()=>[F]}),g(qn.Item,{key:"selectInvert",onClick:()=>{let X;Y?X=zv((a.value.items||[]).map(j=>j.item)):X=f.value;const ue=new Set(P),ye=[],H=[];X.forEach(j=>{ue.has(j)?H.push(j):ye.push(j)}),L(h(ye,H))}},{default:()=>[W]})]});const ie=g(Ta,{class:`${O}-header-dropdown`,overlay:fe,disabled:E},{default:()=>[g(jh,null,null)]});return g("div",{class:re,style:n.style},[g("div",{class:`${O}-header`},[K?g(Je,null,[ee,ie]):null,g("span",{class:`${O}-header-selected`},[g("span",null,[$(P.length,c.value.length)]),g("span",{class:`${O}-header-title`},[(I=o.titleText)===null||I===void 0?void 0:I.call(o)])])]),J,te])}}});function hR(){}const KI=e=>{const{disabled:t,moveToLeft:n=hR,moveToRight:o=hR,leftArrowText:r="",rightArrowText:i="",leftActive:a,rightActive:l,class:s,style:c,direction:u,oneWay:d}=e;return g("div",{class:s,style:c},[g(Un,{type:"primary",size:"small",disabled:t||!l,onClick:o,icon:g(u!=="rtl"?sa:xs,null,null)},{default:()=>[i]}),!d&&g(Un,{type:"primary",size:"small",disabled:t||!a,onClick:n,icon:g(u!=="rtl"?xs:sa,null,null)},{default:()=>[r]})])};KI.displayName="Operation";KI.inheritAttrs=!1;const M4e=KI,R4e=e=>{const{antCls:t,componentCls:n,listHeight:o,controlHeightLG:r,marginXXS:i,margin:a}=e,l=`${t}-table`,s=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:o},[`${l}-wrapper`]:{[`${l}-small`]:{border:0,borderRadius:0,[`${l}-selection-column`]:{width:r,minWidth:r}},[`${l}-pagination${l}-pagination`]:{margin:`${a}px 0 ${i}px`}},[`${s}[disabled]`]:{backgroundColor:"transparent"}}}},gR=(e,t)=>{const{componentCls:n,colorBorder:o}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:o}}}},D4e=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:S({},gR(e,e.colorError)),[`${t}-status-warning`]:S({},gR(e,e.colorWarning))}},L4e=e=>{const{componentCls:t,colorBorder:n,colorSplit:o,lineWidth:r,transferItemHeight:i,transferHeaderHeight:a,transferHeaderVerticalPadding:l,transferItemPaddingVertical:s,controlItemBgActive:c,controlItemBgActiveHover:u,colorTextDisabled:d,listHeight:f,listWidth:h,listWidthLG:m,fontSizeIcon:v,marginXS:y,paddingSM:b,lineType:$,iconCls:x,motionDurationSlow:_}=e;return{display:"flex",flexDirection:"column",width:h,height:f,border:`${r}px ${$} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:m,height:"auto"},"&-search":{[`${x}-search`]:{color:d}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:a,padding:`${l-r}px ${b}px ${l}px`,color:e.colorText,background:e.colorBgContainer,borderBottom:`${r}px ${$} ${o}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":S(S({},eo),{flex:"auto",textAlign:"end"}),"&-dropdown":S(S({},Xc()),{fontSize:v,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",overflow:"hidden",fontSize:e.fontSize,"&-search-wrapper":{position:"relative",flex:"none",padding:b}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:i,padding:`${s}px ${b}px`,transition:`all ${_}`,"> *:not(:last-child)":{marginInlineEnd:y},"> *":{flex:"none"},"&-text":S(S({},eo),{flex:"auto"}),"&-remove":{position:"relative",color:n,cursor:"pointer",transition:`all ${_}`,"&:hover":{color:e.colorLinkHover},"&::after":{position:"absolute",insert:`-${s}px -50%`,content:'""'}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:e.controlItemBgHover,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:u}},"&-checked":{backgroundColor:c},"&-disabled":{color:d,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${e.paddingXS}px 0`,textAlign:"end",borderTop:`${r}px ${$} ${o}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:d,textAlign:"center"},"&-footer":{borderTop:`${r}px ${$} ${o}`},"&-checkbox":{lineHeight:1}}},N4e=e=>{const{antCls:t,iconCls:n,componentCls:o,transferHeaderHeight:r,marginXS:i,marginXXS:a,fontSizeIcon:l,fontSize:s,lineHeight:c}=e;return{[o]:S(S({},vt(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${o}-disabled`]:{[`${o}-list`]:{background:e.colorBgContainerDisabled}},[`${o}-list`]:L4e(e),[`${o}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${i}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:a},[n]:{fontSize:l}}},[`${t}-empty-image`]:{maxHeight:r/2-Math.round(s*c)}})}},k4e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},B4e=pt("Transfer",e=>{const{fontSize:t,lineHeight:n,lineWidth:o,controlHeightLG:r,controlHeight:i}=e,a=Math.round(t*n),l=r,s=i,c=nt(e,{transferItemHeight:s,transferHeaderHeight:l,transferHeaderVerticalPadding:Math.ceil((l-o-a)/2),transferItemPaddingVertical:(s-a)/2});return[N4e(c),R4e(c),D4e(c),k4e(c)]},{listWidth:180,listHeight:200,listWidthLG:250}),F4e=()=>({id:String,prefixCls:String,dataSource:kt([]),disabled:De(),targetKeys:kt(),selectedKeys:kt(),render:Oe(),listStyle:rt([Function,Object],()=>({})),operationStyle:qe(void 0),titles:kt(),operations:kt(),showSearch:De(!1),filterOption:Oe(),searchPlaceholder:String,notFoundContent:Z.any,locale:qe(),rowKey:Oe(),showSelectAll:De(),selectAllLabels:kt(),children:Oe(),oneWay:De(),pagination:rt([Object,Boolean]),status:Qe(),onChange:Oe(),onSelectChange:Oe(),onSearch:Oe(),onScroll:Oe(),"onUpdate:targetKeys":Oe(),"onUpdate:selectedKeys":Oe()}),H4e=pe({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:F4e(),slots:Object,setup(e,t){let{emit:n,attrs:o,slots:r,expose:i}=t;const{configProvider:a,prefixCls:l,direction:s}=Ve("transfer",e),[c,u]=B4e(l),d=he([]),f=he([]),h=co(),m=To.useInject(),v=M(()=>da(m.status,e.status));Ie(()=>e.selectedKeys,()=>{var J,te;d.value=((J=e.selectedKeys)===null||J===void 0?void 0:J.filter(ee=>e.targetKeys.indexOf(ee)===-1))||[],f.value=((te=e.selectedKeys)===null||te===void 0?void 0:te.filter(ee=>e.targetKeys.indexOf(ee)>-1))||[]},{immediate:!0});const y=(J,te)=>{const ee={notFoundContent:te("Transfer")},fe=lo(r,e,"notFoundContent");return fe&&(ee.notFoundContent=fe),e.searchPlaceholder!==void 0&&(ee.searchPlaceholder=e.searchPlaceholder),S(S(S({},J),ee),e.locale)},b=J=>{const{targetKeys:te=[],dataSource:ee=[]}=e,fe=J==="right"?d.value:f.value,ie=P4e(ee),X=fe.filter(j=>!ie.has(j)),ue=hw(X),ye=J==="right"?X.concat(te):te.filter(j=>!ue.has(j)),H=J==="right"?"left":"right";J==="right"?d.value=[]:f.value=[],n("update:targetKeys",ye),O(H,[]),n("change",ye,J,X),h.onFieldChange()},$=()=>{b("left")},x=()=>{b("right")},_=(J,te)=>{O(J,te)},w=J=>_("left",J),I=J=>_("right",J),O=(J,te)=>{J==="left"?(e.selectedKeys||(d.value=te),n("update:selectedKeys",[...te,...f.value]),n("selectChange",te,$t(f.value))):(e.selectedKeys||(f.value=te),n("update:selectedKeys",[...te,...d.value]),n("selectChange",$t(d.value),te))},P=(J,te)=>{const ee=te.target.value;n("search",J,ee)},E=J=>{P("left",J)},R=J=>{P("right",J)},A=J=>{n("search",J,"")},N=()=>{A("left")},F=()=>{A("right")},W=(J,te,ee)=>{const fe=J==="left"?[...d.value]:[...f.value],ie=fe.indexOf(te);ie>-1&&fe.splice(ie,1),ee&&fe.push(te),O(J,fe)},D=(J,te)=>W("left",J,te),B=(J,te)=>W("right",J,te),k=J=>{const{targetKeys:te=[]}=e,ee=te.filter(fe=>!J.includes(fe));n("update:targetKeys",ee),n("change",ee,"left",[...J])},L=(J,te)=>{n("scroll",J,te)},z=J=>{L("left",J)},K=J=>{L("right",J)},G=(J,te)=>typeof J=="function"?J({direction:te}):J,Y=he([]),ne=he([]);ct(()=>{const{dataSource:J,rowKey:te,targetKeys:ee=[]}=e,fe=[],ie=new Array(ee.length),X=hw(ee);J.forEach(ue=>{te&&(ue.key=te(ue)),X.has(ue.key)?ie[X.get(ue.key)]=ue:fe.push(ue)}),Y.value=fe,ne.value=ie}),i({handleSelectChange:O});const re=J=>{var te,ee,fe,ie,X,ue;const{disabled:ye,operations:H=[],showSearch:j,listStyle:q,operationStyle:se,filterOption:ae,showSelectAll:ge,selectAllLabels:Se=[],oneWay:$e,pagination:_e,id:be=h.id.value}=e,{class:Te,style:Pe}=o,oe=r.children,le=!oe&&_e,xe=a.renderEmpty,Ae=y(J,xe),{footer:Be}=r,Ye=e.render||r.render,Re=f.value.length>0,Le=d.value.length>0,Ne=me(l.value,Te,{[`${l.value}-disabled`]:ye,[`${l.value}-customize-list`]:!!oe,[`${l.value}-rtl`]:s.value==="rtl"},sr(l.value,v.value,m.hasFeedback),u.value),Ke=e.titles,Ze=(fe=(te=Ke&&Ke[0])!==null&&te!==void 0?te:(ee=r.leftTitle)===null||ee===void 0?void 0:ee.call(r))!==null&&fe!==void 0?fe:(Ae.titles||["",""])[0],Ue=(ue=(ie=Ke&&Ke[1])!==null&&ie!==void 0?ie:(X=r.rightTitle)===null||X===void 0?void 0:X.call(r))!==null&&ue!==void 0?ue:(Ae.titles||["",""])[1];return g("div",V(V({},o),{},{class:Ne,style:Pe,id:be}),[g(pR,V({key:"leftList",prefixCls:`${l.value}-list`,dataSource:Y.value,filterOption:ae,style:G(q,"left"),checkedKeys:d.value,handleFilter:E,handleClear:N,onItemSelect:D,onItemSelectAll:w,renderItem:Ye,showSearch:j,renderList:oe,onScroll:z,disabled:ye,direction:s.value==="rtl"?"right":"left",showSelectAll:ge,selectAllLabel:Se[0]||r.leftSelectAllLabel,pagination:le},Ae),{titleText:()=>Ze,footer:Be}),g(M4e,{key:"operation",class:`${l.value}-operation`,rightActive:Le,rightArrowText:H[0],moveToRight:x,leftActive:Re,leftArrowText:H[1],moveToLeft:$,style:se,disabled:ye,direction:s.value,oneWay:$e},null),g(pR,V({key:"rightList",prefixCls:`${l.value}-list`,dataSource:ne.value,filterOption:ae,style:G(q,"right"),checkedKeys:f.value,handleFilter:R,handleClear:F,onItemSelect:B,onItemSelectAll:I,onItemRemove:k,renderItem:Ye,showSearch:j,renderList:oe,onScroll:K,disabled:ye,direction:s.value==="rtl"?"left":"right",showSelectAll:ge,selectAllLabel:Se[1]||r.rightSelectAllLabel,showRemove:$e,pagination:le},Ae),{titleText:()=>Ue,footer:Be})])};return()=>c(g(Yc,{componentName:"Transfer",defaultLocale:cr.Transfer,children:re},null))}}),z4e=$n(H4e);function j4e(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function W4e(e){const{label:t,value:n,children:o}=e||{},r=n||"value";return{_title:t?[t]:["title","label"],value:r,key:r,children:o||"children"}}function gw(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function V4e(e,t){const n=[];function o(r){r.forEach(i=>{n.push(i[t.value]);const a=i[t.children];a&&o(a)})}return o(e),n}function vR(e){return e==null}const tj=Symbol("TreeSelectContextPropsKey");function K4e(e){return ft(tj,e)}function U4e(){return it(tj,{})}const G4e={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Y4e=pe({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:o}=t;const r=zh(),i=iy(),a=U4e(),l=he(),s=a_(()=>a.treeData,[()=>r.open,()=>a.treeData],w=>w[0]),c=M(()=>{const{checkable:w,halfCheckedKeys:I,checkedKeys:O}=i;return w?{checked:O,halfChecked:I}:null});Ie(()=>r.open,()=>{wt(()=>{var w;r.open&&!r.multiple&&i.checkedKeys.length&&((w=l.value)===null||w===void 0||w.scrollTo({key:i.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const u=M(()=>String(r.searchValue).toLowerCase()),d=w=>u.value?String(w[i.treeNodeFilterProp]).toLowerCase().includes(u.value):!1,f=ve(i.treeDefaultExpandedKeys),h=ve(null);Ie(()=>r.searchValue,()=>{r.searchValue&&(h.value=V4e($t(a.treeData),$t(a.fieldNames)))},{immediate:!0});const m=M(()=>i.treeExpandedKeys?i.treeExpandedKeys.slice():r.searchValue?h.value:f.value),v=w=>{var I;f.value=w,h.value=w,(I=i.onTreeExpand)===null||I===void 0||I.call(i,w)},y=w=>{w.preventDefault()},b=(w,I)=>{let{node:O}=I;var P,E;const{checkable:R,checkedKeys:A}=i;R&&gw(O)||((P=a.onSelect)===null||P===void 0||P.call(a,O.key,{selected:!A.includes(O.key)}),r.multiple||(E=r.toggleOpen)===null||E===void 0||E.call(r,!1))},$=he(null),x=M(()=>i.keyEntities[$.value]),_=w=>{$.value=w};return o({scrollTo:function(){for(var w,I,O=arguments.length,P=new Array(O),E=0;E<O;E++)P[E]=arguments[E];return(I=(w=l.value)===null||w===void 0?void 0:w.scrollTo)===null||I===void 0?void 0:I.call(w,...P)},onKeydown:w=>{var I;const{which:O}=w;switch(O){case Fe.UP:case Fe.DOWN:case Fe.LEFT:case Fe.RIGHT:(I=l.value)===null||I===void 0||I.onKeydown(w);break;case Fe.ENTER:{if(x.value){const{selectable:P,value:E}=x.value.node||{};P!==!1&&b(null,{node:{key:$.value},selected:!i.checkedKeys.includes(E)})}break}case Fe.ESC:r.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var w;const{prefixCls:I,multiple:O,searchValue:P,open:E,notFoundContent:R=(w=n.notFoundContent)===null||w===void 0?void 0:w.call(n)}=r,{listHeight:A,listItemHeight:N,virtual:F,dropdownMatchSelectWidth:W,treeExpandAction:D}=a,{checkable:B,treeDefaultExpandAll:k,treeIcon:L,showTreeIcon:z,switcherIcon:K,treeLine:G,loadData:Y,treeLoadedKeys:ne,treeMotion:re,onTreeLoad:J,checkedKeys:te}=i;if(s.value.length===0)return g("div",{role:"listbox",class:`${I}-empty`,onMousedown:y},[R]);const ee={fieldNames:a.fieldNames};return ne&&(ee.loadedKeys=ne),m.value&&(ee.expandedKeys=m.value),g("div",{onMousedown:y},[x.value&&E&&g("span",{style:G4e,"aria-live":"assertive"},[x.value.node.value]),g(zz,V(V({ref:l,focusable:!1,prefixCls:`${I}-tree`,treeData:s.value,height:A,itemHeight:N,virtual:F!==!1&&W!==!1,multiple:O,icon:L,showIcon:z,switcherIcon:K,showLine:G,loadData:P?null:Y,motion:re,activeKey:$.value,checkable:B,checkStrictly:!0,checkedKeys:c.value,selectedKeys:B?[]:te,defaultExpandAll:k},ee),{},{onActiveChange:_,onSelect:b,onCheck:b,onExpand:v,onLoad:J,filterTreeNode:d,expandAction:D}),S(S({},n),{checkable:i.customSlots.treeCheckable}))])}}}),X4e="SHOW_ALL",nj="SHOW_PARENT",UI="SHOW_CHILD";function mR(e,t,n,o){const r=new Set(e);return t===UI?e.filter(i=>{const a=n[i];return!(a&&a.children&&a.children.some(l=>{let{node:s}=l;return r.has(s[o.value])})&&a.children.every(l=>{let{node:s}=l;return gw(s)||r.has(s[o.value])}))}):t===nj?e.filter(i=>{const a=n[i],l=a?a.parent:null;return!(l&&!gw(l.node)&&r.has(l.key))}):e}const Xy=()=>null;Xy.inheritAttrs=!1;Xy.displayName="ATreeSelectNode";Xy.isTreeSelectNode=!0;const GI=Xy;var q4e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Z4e(e){return e&&e.type&&e.type.isTreeSelectNode}function Q4e(e){function t(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _n(n).map(o=>{var r,i,a;if(!Z4e(o))return null;const l=o.children||{},s=o.key,c={};for(const[O,P]of Object.entries(o.props))c[Gc(O)]=P;const{isLeaf:u,checkable:d,selectable:f,disabled:h,disableCheckbox:m}=c,v={isLeaf:u||u===""||void 0,checkable:d||d===""||void 0,selectable:f||f===""||void 0,disabled:h||h===""||void 0,disableCheckbox:m||m===""||void 0},y=S(S({},c),v),{title:b=(r=l.title)===null||r===void 0?void 0:r.call(l,y),switcherIcon:$=(i=l.switcherIcon)===null||i===void 0?void 0:i.call(l,y)}=c,x=q4e(c,["title","switcherIcon"]),_=(a=l.default)===null||a===void 0?void 0:a.call(l),w=S(S(S({},x),{title:b,switcherIcon:$,key:s,isLeaf:u}),v),I=t(_);return I.length&&(w.children=I),w})}return t(e)}function vw(e){if(!e)return e;const t=S({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function J4e(e,t,n,o,r,i){let a=null,l=null;function s(){function c(u){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return u.map((h,m)=>{const v=`${d}-${m}`,y=h[i.value],b=n.includes(y),$=c(h[i.children]||[],v,b),x=g(GI,h,{default:()=>[$.map(_=>_.node)]});if(t===y&&(a=x),b){const _={pos:v,node:x,children:$};return f||l.push(_),_}return null}).filter(h=>h)}l||(l=[],c(o),l.sort((u,d)=>{let{node:{props:{value:f}}}=u,{node:{props:{value:h}}}=d;const m=n.indexOf(f),v=n.indexOf(h);return m-v}))}Object.defineProperty(e,"triggerNode",{get(){return s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get(){return s(),r?l:l.map(c=>{let{node:u}=c;return u})}})}function e3e(e,t){let{id:n,pId:o,rootPId:r}=t;const i={},a=[];return e.map(s=>{const c=S({},s),u=c[n];return i[u]=c,c.key=c.key||u,c}).forEach(s=>{const c=s[o],u=i[c];u&&(u.children=u.children||[],u.children.push(s)),(c===r||!u&&r===null)&&a.push(s)}),a}function t3e(e,t,n){const o=ve();return Ie([n,e,t],()=>{const r=n.value;e.value?o.value=n.value?e3e($t(e.value),S({id:"id",pId:"pId",rootPId:null},r!==!0?r:{})):$t(e.value).slice():o.value=Q4e($t(t.value))},{immediate:!0,deep:!0}),o}const n3e=e=>{const t=ve({valueLabels:new Map}),n=ve();return Ie(e,()=>{n.value=$t(e.value)},{immediate:!0}),[M(()=>{const{valueLabels:r}=t.value,i=new Map,a=n.value.map(l=>{var s;const{value:c}=l,u=(s=l.label)!==null&&s!==void 0?s:r.get(c);return i.set(c,u),S(S({},l),{label:u})});return t.value.valueLabels=i,a})]},o3e=(e,t)=>{const n=ve(new Map),o=ve({});return ct(()=>{const r=t.value,i=Qh(e.value,{fieldNames:r,initWrapper:a=>S(S({},a),{valueEntities:new Map}),processEntity:(a,l)=>{const s=a.node[r.value];l.valueEntities.set(s,a)}});n.value=i.valueEntities,o.value=i.keyEntities}),{valueEntities:n,keyEntities:o}},r3e=(e,t,n,o,r,i)=>{const a=ve([]),l=ve([]);return ct(()=>{let s=e.value.map(d=>{let{value:f}=d;return f}),c=t.value.map(d=>{let{value:f}=d;return f});const u=s.filter(d=>!o.value[d]);n.value&&({checkedKeys:s,halfCheckedKeys:c}=Mi(s,!0,o.value,r.value,i.value)),a.value=Array.from(new Set([...u,...s])),l.value=c}),[a,l]},i3e=(e,t,n)=>{let{treeNodeFilterProp:o,filterTreeNode:r,fieldNames:i}=n;return M(()=>{const{children:a}=i.value,l=t.value,s=o==null?void 0:o.value;if(!l||r.value===!1)return e.value;let c;if(typeof r.value=="function")c=r.value;else{const d=l.toUpperCase();c=(f,h)=>{const m=h[s];return String(m).toUpperCase().includes(d)}}function u(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const h=[];for(let m=0,v=d.length;m<v;m++){const y=d[m],b=y[a],$=f||c(l,vw(y)),x=u(b||[],$);($||x.length)&&h.push(S(S({},y),{[a]:x}))}return h}return u(e.value)})};function oj(){return S(S({},_t(ay(),["mode"])),{prefixCls:String,id:String,value:{type:[String,Number,Object,Array]},defaultValue:{type:[String,Number,Object,Array]},onChange:{type:Function},searchValue:String,inputValue:String,onSearch:{type:Function},autoClearSearchValue:{type:Boolean,default:void 0},filterTreeNode:{type:[Boolean,Function],default:void 0},treeNodeFilterProp:String,onSelect:Function,onDeselect:Function,showCheckedStrategy:{type:String},treeNodeLabelProp:String,fieldNames:{type:Object},multiple:{type:Boolean,default:void 0},treeCheckable:{type:Boolean,default:void 0},treeCheckStrictly:{type:Boolean,default:void 0},labelInValue:{type:Boolean,default:void 0},treeData:{type:Array},treeDataSimpleMode:{type:[Boolean,Object],default:void 0},loadData:{type:Function},treeLoadedKeys:{type:Array},onTreeLoad:{type:Function},treeDefaultExpandAll:{type:Boolean,default:void 0},treeExpandedKeys:{type:Array},treeDefaultExpandedKeys:{type:Array},onTreeExpand:{type:Function},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,onDropdownVisibleChange:{type:Function},treeLine:{type:[Boolean,Object],default:void 0},treeIcon:Z.any,showTreeIcon:{type:Boolean,default:void 0},switcherIcon:Z.any,treeMotion:Z.any,children:Array,treeExpandAction:String,showArrow:{type:Boolean,default:void 0},showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},placeholder:Z.any,maxTagPlaceholder:{type:Function},dropdownPopupAlign:Z.any,customSlots:Object})}function a3e(e){return!e||typeof e!="object"}const l3e=pe({compatConfig:{MODE:3},name:"TreeSelect",inheritAttrs:!1,props:bt(oj(),{treeNodeFilterProp:"value",autoClearSearchValue:!0,showCheckedStrategy:UI,listHeight:200,listItemHeight:20,prefixCls:"vc-tree-select"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=l_(st(e,"id")),a=M(()=>e.treeCheckable&&!e.treeCheckStrictly),l=M(()=>e.treeCheckable||e.treeCheckStrictly),s=M(()=>e.treeCheckStrictly||e.labelInValue),c=M(()=>l.value||e.multiple),u=M(()=>W4e(e.fieldNames)),[d,f]=yn("",{value:M(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:be=>be||""}),h=be=>{var Te;f(be),(Te=e.onSearch)===null||Te===void 0||Te.call(e,be)},m=t3e(st(e,"treeData"),st(e,"children"),st(e,"treeDataSimpleMode")),{keyEntities:v,valueEntities:y}=o3e(m,u),b=be=>{const Te=[],Pe=[];return be.forEach(oe=>{y.value.has(oe)?Pe.push(oe):Te.push(oe)}),{missingRawValues:Te,existRawValues:Pe}},$=i3e(m,d,{fieldNames:u,treeNodeFilterProp:st(e,"treeNodeFilterProp"),filterTreeNode:st(e,"filterTreeNode")}),x=be=>{if(be){if(e.treeNodeLabelProp)return be[e.treeNodeLabelProp];const{_title:Te}=u.value;for(let Pe=0;Pe<Te.length;Pe+=1){const oe=be[Te[Pe]];if(oe!==void 0)return oe}}},_=be=>j4e(be).map(Pe=>a3e(Pe)?{value:Pe}:Pe),w=be=>_(be).map(Pe=>{let{label:oe}=Pe;const{value:le,halfChecked:xe}=Pe;let Ae;const Be=y.value.get(le);return Be&&(oe=oe??x(Be.node),Ae=Be.node.disabled),{label:oe,value:le,halfChecked:xe,disabled:Ae}}),[I,O]=yn(e.defaultValue,{value:st(e,"value")}),P=M(()=>_(I.value)),E=ve([]),R=ve([]);ct(()=>{const be=[],Te=[];P.value.forEach(Pe=>{Pe.halfChecked?Te.push(Pe):be.push(Pe)}),E.value=be,R.value=Te});const A=M(()=>E.value.map(be=>be.value)),{maxLevel:N,levelEntities:F}=Ly(v),[W,D]=r3e(E,R,a,v,N,F),B=M(()=>{const Pe=mR(W.value,e.showCheckedStrategy,v.value,u.value).map(xe=>{var Ae,Be,Ye;return(Ye=(Be=(Ae=v.value[xe])===null||Ae===void 0?void 0:Ae.node)===null||Be===void 0?void 0:Be[u.value.value])!==null&&Ye!==void 0?Ye:xe}).map(xe=>{const Ae=E.value.find(Be=>Be.value===xe);return{value:xe,label:Ae==null?void 0:Ae.label}}),oe=w(Pe),le=oe[0];return!c.value&&le&&vR(le.value)&&vR(le.label)?[]:oe.map(xe=>{var Ae;return S(S({},xe),{label:(Ae=xe.label)!==null&&Ae!==void 0?Ae:xe.value})})}),[k]=n3e(B),L=(be,Te,Pe)=>{const oe=w(be);if(O(oe),e.autoClearSearchValue&&f(""),e.onChange){let le=be;a.value&&(le=mR(be,e.showCheckedStrategy,v.value,u.value).map(Ze=>{const Ue=y.value.get(Ze);return Ue?Ue.node[u.value.value]:Ze}));const{triggerValue:xe,selected:Ae}=Te||{triggerValue:void 0,selected:void 0};let Be=le;if(e.treeCheckStrictly){const Ke=R.value.filter(Ze=>!le.includes(Ze.value));Be=[...Be,...Ke]}const Ye=w(Be),Re={preValue:E.value,triggerValue:xe};let Le=!0;(e.treeCheckStrictly||Pe==="selection"&&!Ae)&&(Le=!1),J4e(Re,xe,be,m.value,Le,u.value),l.value?Re.checked=Ae:Re.selected=Ae;const Ne=s.value?Ye:Ye.map(Ke=>Ke.value);e.onChange(c.value?Ne:Ne[0],s.value?null:Ye.map(Ke=>Ke.label),Re)}},z=(be,Te)=>{let{selected:Pe,source:oe}=Te;var le,xe,Ae;const Be=$t(v.value),Ye=$t(y.value),Re=Be[be],Le=Re==null?void 0:Re.node,Ne=(le=Le==null?void 0:Le[u.value.value])!==null&&le!==void 0?le:be;if(!c.value)L([Ne],{selected:!0,triggerValue:Ne},"option");else{let Ke=Pe?[...A.value,Ne]:W.value.filter(Ze=>Ze!==Ne);if(a.value){const{missingRawValues:Ze,existRawValues:Ue}=b(Ke),Xe=Ue.map(Mt=>Ye.get(Mt).key);let xt;Pe?{checkedKeys:xt}=Mi(Xe,!0,Be,N.value,F.value):{checkedKeys:xt}=Mi(Xe,{checked:!1,halfCheckedKeys:D.value},Be,N.value,F.value),Ke=[...Ze,...xt.map(Mt=>Be[Mt].node[u.value.value])]}L(Ke,{selected:Pe,triggerValue:Ne},oe||"option")}Pe||!c.value?(xe=e.onSelect)===null||xe===void 0||xe.call(e,Ne,vw(Le)):(Ae=e.onDeselect)===null||Ae===void 0||Ae.call(e,Ne,vw(Le))},K=be=>{if(e.onDropdownVisibleChange){const Te={};Object.defineProperty(Te,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(be,Te)}},G=(be,Te)=>{const Pe=be.map(oe=>oe.value);if(Te.type==="clear"){L(Pe,{},"selection");return}Te.values.length&&z(Te.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:Y,loadData:ne,treeLoadedKeys:re,onTreeLoad:J,treeDefaultExpandAll:te,treeExpandedKeys:ee,treeDefaultExpandedKeys:fe,onTreeExpand:ie,virtual:X,listHeight:ue,listItemHeight:ye,treeLine:H,treeIcon:j,showTreeIcon:q,switcherIcon:se,treeMotion:ae,customSlots:ge,dropdownMatchSelectWidth:Se,treeExpandAction:$e}=oa(e);Nle(v0({checkable:l,loadData:ne,treeLoadedKeys:re,onTreeLoad:J,checkedKeys:W,halfCheckedKeys:D,treeDefaultExpandAll:te,treeExpandedKeys:ee,treeDefaultExpandedKeys:fe,onTreeExpand:ie,treeIcon:j,treeMotion:ae,showTreeIcon:q,switcherIcon:se,treeLine:H,treeNodeFilterProp:Y,keyEntities:v,customSlots:ge})),K4e(v0({virtual:X,listHeight:ue,listItemHeight:ye,treeData:$,fieldNames:u,onSelect:z,dropdownMatchSelectWidth:Se,treeExpandAction:$e}));const _e=he();return o({focus(){var be;(be=_e.value)===null||be===void 0||be.focus()},blur(){var be;(be=_e.value)===null||be===void 0||be.blur()},scrollTo(be){var Te;(Te=_e.value)===null||Te===void 0||Te.scrollTo(be)}}),()=>{var be;const Te=_t(e,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return g(i_,V(V(V({ref:_e},n),Te),{},{id:i,prefixCls:e.prefixCls,mode:c.value?"multiple":void 0,displayValues:k.value,onDisplayValuesChange:G,searchValue:d.value,onSearch:h,OptionList:Y4e,emptyOptions:!m.value.length,onDropdownVisibleChange:K,tagRender:e.tagRender||r.tagRender,dropdownMatchSelectWidth:(be=e.dropdownMatchSelectWidth)!==null&&be!==void 0?be:!0}),r)}}}),s3e=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,r=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},Vz(n,nt(e,{colorBgContainer:o})),{[r]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},Fy(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function c3e(e,t){return pt("TreeSelect",n=>{const o=nt(n,{treePrefixCls:t.value});return[s3e(o)]})(e)}const bR=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function u3e(){return S(S({},_t(oj(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:Z.any,size:Qe(),bordered:De(),treeLine:rt([Boolean,Object]),replaceFields:qe(),placement:Qe(),status:Qe(),popupClassName:String,dropdownClassName:String,"onUpdate:value":Oe(),"onUpdate:treeExpandedKeys":Oe(),"onUpdate:searchValue":Oe()})}const KC=pe({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:bt(u3e(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r,emit:i}=t;e.treeData===void 0&&o.default,pn(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),pn(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),pn(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const a=co(),l=To.useInject(),s=M(()=>da(l.status,e.status)),{prefixCls:c,renderEmpty:u,direction:d,virtual:f,dropdownMatchSelectWidth:h,size:m,getPopupContainer:v,getPrefixCls:y,disabled:b}=Ve("select",e),{compactSize:$,compactItemClassnames:x}=Ms(c,d),_=M(()=>$.value||m.value),w=jr(),I=M(()=>{var re;return(re=b.value)!==null&&re!==void 0?re:w.value}),O=M(()=>y()),P=M(()=>e.placement!==void 0?e.placement:d.value==="rtl"?"bottomRight":"bottomLeft"),E=M(()=>bR(O.value,t_(P.value),e.transitionName)),R=M(()=>bR(O.value,"",e.choiceTransitionName)),A=M(()=>y("select-tree",e.prefixCls)),N=M(()=>y("tree-select",e.prefixCls)),[F,W]=M_(c),[D]=c3e(N,A),B=M(()=>me(e.popupClassName||e.dropdownClassName,`${N.value}-dropdown`,{[`${N.value}-dropdown-rtl`]:d.value==="rtl"},W.value)),k=M(()=>!!(e.treeCheckable||e.multiple)),L=M(()=>e.showArrow!==void 0?e.showArrow:e.loading||!k.value),z=he();r({focus(){var re,J;(J=(re=z.value).focus)===null||J===void 0||J.call(re)},blur(){var re,J;(J=(re=z.value).blur)===null||J===void 0||J.call(re)}});const K=function(){for(var re=arguments.length,J=new Array(re),te=0;te<re;te++)J[te]=arguments[te];i("update:value",J[0]),i("change",...J),a.onFieldChange()},G=re=>{i("update:treeExpandedKeys",re),i("treeExpand",re)},Y=re=>{i("update:searchValue",re),i("search",re)},ne=re=>{i("blur",re),a.onFieldBlur()};return()=>{var re,J;const{notFoundContent:te=(re=o.notFoundContent)===null||re===void 0?void 0:re.call(o),prefixCls:ee,bordered:fe,listHeight:ie,listItemHeight:X,multiple:ue,treeIcon:ye,treeLine:H,showArrow:j,switcherIcon:q=(J=o.switcherIcon)===null||J===void 0?void 0:J.call(o),fieldNames:se=e.replaceFields,id:ae=a.id.value}=e,{isFormItemInput:ge,hasFeedback:Se,feedbackIcon:$e}=l,{suffixIcon:_e,removeIcon:be,clearIcon:Te}=y_(S(S({},e),{multiple:k.value,showArrow:L.value,hasFeedback:Se,feedbackIcon:$e,prefixCls:c.value}),o);let Pe;te!==void 0?Pe=te:Pe=u("Select");const oe=_t(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),le=me(!ee&&N.value,{[`${c.value}-lg`]:_.value==="large",[`${c.value}-sm`]:_.value==="small",[`${c.value}-rtl`]:d.value==="rtl",[`${c.value}-borderless`]:!fe,[`${c.value}-in-form-item`]:ge},sr(c.value,s.value,Se),x.value,n.class,W.value),xe={};return e.treeData===void 0&&o.default&&(xe.children=ln(o.default())),F(D(g(l3e,V(V(V(V({},n),oe),{},{disabled:I.value,virtual:f.value,dropdownMatchSelectWidth:h.value,id:ae,fieldNames:se,ref:z,prefixCls:c.value,class:le,listHeight:ie,listItemHeight:X,treeLine:!!H,inputIcon:_e,multiple:ue,removeIcon:be,clearIcon:Te,switcherIcon:Ae=>Wz(A.value,q,Ae,o.leafIcon,H),showTreeIcon:ye,notFoundContent:Pe,getPopupContainer:v==null?void 0:v.value,treeMotion:null,dropdownClassName:B.value,choiceTransitionName:R.value,onChange:K,onBlur:ne,onSearch:Y,onTreeExpand:G},xe),{},{transitionName:E.value,customSlots:S(S({},o),{treeCheckable:()=>g("span",{class:`${c.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||o.maxTagPlaceholder,placement:P.value,showArrow:Se||j}),S(S({},o),{treeCheckable:()=>g("span",{class:`${c.value}-tree-checkbox-inner`},null)}))))}}}),mw=GI,d3e=S(KC,{TreeNode:GI,SHOW_ALL:X4e,SHOW_PARENT:nj,SHOW_CHILD:UI,install:e=>(e.component(KC.name,KC),e.component(mw.displayName,mw),e)}),UC=()=>({format:String,showNow:De(),showHour:De(),showMinute:De(),showSecond:De(),use12Hours:De(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:De(),popupClassName:String,status:Qe()});function f3e(e){const t=pH(e,S(S({},UC()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:o}=t,r=pe({name:"ATimePicker",inheritAttrs:!1,props:S(S(S(S({},j0()),uH()),UC()),{addon:{type:Function}}),slots:Object,setup(a,l){let{slots:s,expose:c,emit:u,attrs:d}=l;const f=a,h=co();pn(!(s.addon||f.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const m=he();c({focus:()=>{var _;(_=m.value)===null||_===void 0||_.focus()},blur:()=>{var _;(_=m.value)===null||_===void 0||_.blur()}});const v=(_,w)=>{u("update:value",_),u("change",_,w),h.onFieldChange()},y=_=>{u("update:open",_),u("openChange",_)},b=_=>{u("focus",_)},$=_=>{u("blur",_),h.onFieldBlur()},x=_=>{u("ok",_)};return()=>{const{id:_=h.id.value}=f;return g(n,V(V(V({},d),_t(f,["onUpdate:value","onUpdate:open"])),{},{id:_,dropdownClassName:f.popupClassName,mode:void 0,ref:m,renderExtraFooter:f.addon||s.addon||f.renderExtraFooter||s.renderExtraFooter,onChange:v,onOpenChange:y,onFocus:b,onBlur:$,onOk:x}),s)}}}),i=pe({name:"ATimeRangePicker",inheritAttrs:!1,props:S(S(S(S({},j0()),dH()),UC()),{order:{type:Boolean,default:!0}}),slots:Object,setup(a,l){let{slots:s,expose:c,emit:u,attrs:d}=l;const f=a,h=he(),m=co();c({focus:()=>{var I;(I=h.value)===null||I===void 0||I.focus()},blur:()=>{var I;(I=h.value)===null||I===void 0||I.blur()}});const v=(I,O)=>{u("update:value",I),u("change",I,O),m.onFieldChange()},y=I=>{u("update:open",I),u("openChange",I)},b=I=>{u("focus",I)},$=I=>{u("blur",I),m.onFieldBlur()},x=(I,O)=>{u("panelChange",I,O)},_=I=>{u("ok",I)},w=(I,O,P)=>{u("calendarChange",I,O,P)};return()=>{const{id:I=m.id.value}=f;return g(o,V(V(V({},d),_t(f,["onUpdate:open","onUpdate:value"])),{},{id:I,dropdownClassName:f.popupClassName,picker:"time",mode:void 0,ref:h,onChange:v,onOpenChange:y,onFocus:b,onBlur:$,onPanelChange:x,onOk:_,onCalendarChange:w}),s)}}});return{TimePicker:r,TimeRangePicker:i}}const{TimePicker:jv,TimeRangePicker:jm}=f3e(oO),p3e=S(jv,{TimePicker:jv,TimeRangePicker:jm,install:e=>(e.component(jv.name,jv),e.component(jm.name,jm),e)}),h3e=()=>({prefixCls:String,color:String,dot:Z.any,pending:De(),position:Z.oneOf(Go("left","right","")).def(""),label:Z.any}),$h=pe({compatConfig:{MODE:3},name:"ATimelineItem",props:bt(h3e(),{color:"blue",pending:!1}),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ve("timeline",e),r=M(()=>({[`${o.value}-item`]:!0,[`${o.value}-item-pending`]:e.pending})),i=M(()=>/blue|red|green|gray/.test(e.color||"")?void 0:e.color||"blue"),a=M(()=>({[`${o.value}-item-head`]:!0,[`${o.value}-item-head-${e.color||"blue"}`]:!i.value}));return()=>{var l,s,c;const{label:u=(l=n.label)===null||l===void 0?void 0:l.call(n),dot:d=(s=n.dot)===null||s===void 0?void 0:s.call(n)}=e;return g("li",{class:r.value},[u&&g("div",{class:`${o.value}-item-label`},[u]),g("div",{class:`${o.value}-item-tail`},null),g("div",{class:[a.value,!!d&&`${o.value}-item-head-custom`],style:{borderColor:i.value,color:i.value}},[d]),g("div",{class:`${o.value}-item-content`},[(c=n.default)===null||c===void 0?void 0:c.call(n)])])}}}),g3e=e=>{const{componentCls:t}=e;return{[t]:S(S({},vt(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.timeLineItemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize,insetInlineStart:(e.timeLineItemHeadSize-e.timeLineItemTailWidth)/2,height:`calc(100% - ${e.timeLineItemHeadSize}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px ${e.lineType} ${e.colorSplit}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.timeLineItemHeadSize,height:e.timeLineItemHeadSize,backgroundColor:e.colorBgContainer,border:`${e.timeLineHeadBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize/2,insetInlineStart:e.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}}},[`&${t}-alternate,
+ &${t}-right,
+ &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${e.marginXXS}px`,"&-custom":{marginInlineStart:e.timeLineItemTailWidth/2}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${e.marginXXS}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${e.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail,
+ ${t}-item-head,
+ ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(e.timeLineItemHeadSize+e.timeLineItemTailWidth)/2}px)`},[`${t}-item-content`]:{width:`calc(100% - ${e.timeLineItemHeadSize+e.marginXS}px)`}}},[`&${t}-pending
+ ${t}-item-last
+ ${t}-item-tail`]:{display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`&${t}-reverse
+ ${t}-item-last
+ ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.timeLineItemTailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},v3e=pt("Timeline",e=>{const t=nt(e,{timeLineItemPaddingBottom:e.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:e.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:e.lineWidthBold,timeLineHeadBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3});return[g3e(t)]}),m3e=()=>({prefixCls:String,pending:Z.any,pendingDot:Z.any,reverse:De(),mode:Z.oneOf(Go("left","alternate","right",""))}),Dp=pe({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:bt(m3e(),{reverse:!1,mode:""}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("timeline",e),[a,l]=v3e(r),s=(c,u)=>{const d=c.props||{};return e.mode==="alternate"?d.position==="right"?`${r.value}-item-right`:d.position==="left"?`${r.value}-item-left`:u%2===0?`${r.value}-item-left`:`${r.value}-item-right`:e.mode==="left"?`${r.value}-item-left`:e.mode==="right"?`${r.value}-item-right`:d.position==="right"?`${r.value}-item-right`:""};return()=>{var c,u,d;const{pending:f=(c=n.pending)===null||c===void 0?void 0:c.call(n),pendingDot:h=(u=n.pendingDot)===null||u===void 0?void 0:u.call(n),reverse:m,mode:v}=e,y=typeof f=="boolean"?null:f,b=_n((d=n.default)===null||d===void 0?void 0:d.call(n)),$=f?g($h,{pending:!!f,dot:h||g(di,null,null)},{default:()=>[y]}):null;$&&b.push($);const x=m?b.reverse():b,_=x.length,w=`${r.value}-item-last`,I=x.map((E,R)=>{const A=R===_-2?w:"",N=R===_-1?w:"";return ko(E,{class:me([!m&&f?A:N,s(E,R)])})}),O=x.some(E=>{var R,A;return!!(!((R=E.props)===null||R===void 0)&&R.label||!((A=E.children)===null||A===void 0)&&A.label)}),P=me(r.value,{[`${r.value}-pending`]:!!f,[`${r.value}-reverse`]:!!m,[`${r.value}-${v}`]:!!v&&!O,[`${r.value}-label`]:O,[`${r.value}-rtl`]:i.value==="rtl"},o.class,l.value);return a(g("ul",V(V({},o),{},{class:P}),[I]))}}});Dp.Item=$h;Dp.install=function(e){return e.component(Dp.name,Dp),e.component($h.name,$h),e};var b3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const y3e=b3e;function yR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){S3e(e,r,n[r])})}return e}function S3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var YI=function(t,n){var o=yR({},t,n.attrs);return g(Ot,yR({},o,{icon:y3e}),null)};YI.displayName="EnterOutlined";YI.inheritAttrs=!1;const C3e=YI,$3e=(e,t,n,o)=>{const{sizeMarginHeadingVerticalEnd:r,fontWeightStrong:i}=o;return{marginBottom:r,color:n,fontWeight:i,fontSize:e,lineHeight:t}},x3e=e=>{const t=[1,2,3,4,5],n={};return t.forEach(o=>{n[`
+ h${o}&,
+ div&-h${o},
+ div&-h${o} > textarea,
+ h${o}
+ `]=$3e(e[`fontSizeHeading${o}`],e[`lineHeightHeading${o}`],e.colorTextHeading,e)}),n},w3e=e=>{const{componentCls:t}=e;return{"a&, a":S(S({},Vb(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},_3e=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Rne[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),O3e=e=>{const{componentCls:t}=e,o=iu(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-o,marginBottom:`calc(1em - ${o}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},I3e=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),P3e=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),T3e=e=>{const{componentCls:t,sizeMarginHeadingVerticalStart:n}=e;return{[t]:S(S(S(S(S(S(S(S(S({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},x3e(e)),{[`
+ & + h1${t},
+ & + h2${t},
+ & + h3${t},
+ & + h4${t},
+ & + h5${t}
+ `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),_3e()),w3e(e)),{[`
+ ${t}-expand,
+ ${t}-edit,
+ ${t}-copy
+ `]:S(S({},Vb(e)),{marginInlineStart:e.marginXXS})}),O3e(e)),I3e(e)),P3e()),{"&-rtl":{direction:"rtl"}})}},rj=pt("Typography",e=>[T3e(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),E3e=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),A3e=pe({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:E3e(),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:i}=oa(e),a=St({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});Ie(()=>e.value,$=>{a.current=$});const l=he();lt(()=>{var $;if(l.value){const x=($=l.value)===null||$===void 0?void 0:$.resizableTextArea,_=x==null?void 0:x.textArea;_.focus();const{length:w}=_.value;_.setSelectionRange(w,w)}});function s($){l.value=$}function c($){let{target:{value:x}}=$;a.current=x.replace(/[\r\n]/g,""),n("change",a.current)}function u(){a.inComposition=!0}function d(){a.inComposition=!1}function f($){const{keyCode:x}=$;x===Fe.ENTER&&$.preventDefault(),!a.inComposition&&(a.lastKeyCode=x)}function h($){const{keyCode:x,ctrlKey:_,altKey:w,metaKey:I,shiftKey:O}=$;a.lastKeyCode===x&&!a.inComposition&&!_&&!w&&!I&&!O&&(x===Fe.ENTER?(v(),n("end")):x===Fe.ESC&&(a.current=e.originContent,n("cancel")))}function m(){v()}function v(){n("save",a.current.trim())}const[y,b]=rj(i);return()=>{const $=me({[`${i.value}`]:!0,[`${i.value}-edit-content`]:!0,[`${i.value}-rtl`]:e.direction==="rtl",[e.component?`${i.value}-${e.component}`:""]:!0},r.class,b.value);return y(g("div",V(V({},r),{},{class:$}),[g(aI,{ref:s,maxlength:e.maxlength,value:a.current,onChange:c,onKeydown:f,onKeyup:h,onCompositionstart:u,onCompositionend:d,onBlur:m,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),o.enterIcon?o.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):g(C3e,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),M3e=A3e,R3e=3,D3e=8;let Ar;const GC={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function L3e(e){return Array.prototype.slice.apply(e).map(n=>`${n}: ${e.getPropertyValue(n)};`).join("")}function ij(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),o=L3e(n);e.setAttribute("style",o),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function N3e(e){const t=document.createElement("div");ij(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const k3e=(e,t,n,o,r)=>{Ar||(Ar=document.createElement("div"),Ar.setAttribute("aria-hidden","true"),document.body.appendChild(Ar));const{rows:i,suffix:a=""}=t,l=N3e(e),s=Math.round(l*i*100)/100;ij(Ar,e);const c=AN({render(){return g("div",{style:GC},[g("span",{style:GC},[n,a]),g("span",{style:GC},[o])])}});c.mount(Ar);function u(){return Math.round(Ar.getBoundingClientRect().height*100)/100-.1<=s}if(u())return c.unmount(),{content:n,text:Ar.innerHTML,ellipsis:!1};const d=Array.prototype.slice.apply(Ar.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(x=>{let{nodeType:_,data:w}=x;return _!==D3e&&w!==""}),f=Array.prototype.slice.apply(Ar.childNodes[0].childNodes[1].cloneNode(!0).childNodes);c.unmount();const h=[];Ar.innerHTML="";const m=document.createElement("span");Ar.appendChild(m);const v=document.createTextNode(r+a);m.appendChild(v),f.forEach(x=>{Ar.appendChild(x)});function y(x){m.insertBefore(x,v)}function b(x,_){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:_.length,O=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const P=Math.floor((w+I)/2),E=_.slice(0,P);if(x.textContent=E,w>=I-1)for(let R=I;R>=w;R-=1){const A=_.slice(0,R);if(x.textContent=A,u()||!A)return R===_.length?{finished:!1,vNode:_}:{finished:!0,vNode:A}}return u()?b(x,_,P,I,P):b(x,_,w,P,O)}function $(x){if(x.nodeType===R3e){const w=x.textContent||"",I=document.createTextNode(w);return y(I),b(I,w)}return{finished:!1,vNode:null}}return d.some(x=>{const{finished:_,vNode:w}=$(x);return w&&h.push(w),_}),{content:h,text:Ar.innerHTML,ellipsis:!0}};var B3e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const F3e=()=>({prefixCls:String,direction:String,component:String}),H3e=pe({name:"ATypography",inheritAttrs:!1,props:F3e(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i}=Ve("typography",e),[a,l]=rj(r);return()=>{var s;const c=S(S({},e),o),{prefixCls:u,direction:d,component:f="article"}=c,h=B3e(c,["prefixCls","direction","component"]);return a(g(f,V(V({},h),{},{class:me(r.value,{[`${r.value}-rtl`]:i.value==="rtl"},o.class,l.value)}),{default:()=>[(s=n.default)===null||s===void 0?void 0:s.call(n)]}))}}}),Dr=H3e,z3e=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(o){e.addRange(o)}),t&&t.focus()}},SR={"text/plain":"Text","text/html":"Url",default:"Text"},j3e="Copy to clipboard: #{key}, Enter";function W3e(e){const t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function V3e(e,t){let n,o,r,i,a,l=!1;t||(t={});const s=t.debug||!1;try{if(o=z3e(),r=document.createRange(),i=document.getSelection(),a=document.createElement("span"),a.textContent=e,a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(u){if(u.stopPropagation(),t.format)if(u.preventDefault(),typeof u.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const d=SR[t.format]||SR.default;window.clipboardData.setData(d,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(a),r.selectNodeContents(a),i.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(c){s&&console.error("unable to copy using execCommand: ",c),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(u){s&&console.error("unable to copy using clipboardData: ",u),s&&console.error("falling back to prompt"),n=W3e("message"in t?t.message:j3e),window.prompt(n,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(r):i.removeAllRanges()),a&&document.body.removeChild(a),o()}return l}var K3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const U3e=K3e;function CR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){G3e(e,r,n[r])})}return e}function G3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XI=function(t,n){var o=CR({},t,n.attrs);return g(Ot,CR({},o,{icon:U3e}),null)};XI.displayName="CopyOutlined";XI.inheritAttrs=!1;const Y3e=XI;var X3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const q3e=X3e;function $R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Z3e(e,r,n[r])})}return e}function Z3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qI=function(t,n){var o=$R({},t,n.attrs);return g(Ot,$R({},o,{icon:q3e}),null)};qI.displayName="EditOutlined";qI.inheritAttrs=!1;const Q3e=qI;var J3e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const eAe=zO("webkitLineClamp"),tAe=zO("textOverflow"),xR="...",og=()=>({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),nAe=pe({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:og(),setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:i,direction:a}=Ve("typography",e),l=St({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),s=he(),c=he(),u=M(()=>{const D=e.ellipsis;return D?S({rows:1,expandable:!1},typeof D=="object"?D:null):{}});lt(()=>{l.clientRendered=!0,P()}),Ct(()=>{clearTimeout(l.copyId),mt.cancel(l.rafId)}),Ie([()=>u.value.rows,()=>e.content],()=>{wt(()=>{I()})},{flush:"post",deep:!0}),ct(()=>{e.content===void 0&&(Sn(!e.editable),Sn(!e.ellipsis))});function d(){var D;return e.ellipsis||e.editable?e.content:(D=Nr(s.value))===null||D===void 0?void 0:D.innerText}function f(D){const{onExpand:B}=u.value;l.expanded=!0,B==null||B(D)}function h(D){D.preventDefault(),l.originContent=e.content,w(!0)}function m(D){v(D),w(!1)}function v(D){const{onChange:B}=$.value;D!==e.content&&(r("update:content",D),B==null||B(D))}function y(){var D,B;(B=(D=$.value).onCancel)===null||B===void 0||B.call(D),w(!1)}function b(D){D.preventDefault(),D.stopPropagation();const{copyable:B}=e,k=S({},typeof B=="object"?B:null);k.text===void 0&&(k.text=d()),V3e(k.text||""),l.copied=!0,wt(()=>{k.onCopy&&k.onCopy(D),l.copyId=setTimeout(()=>{l.copied=!1},3e3)})}const $=M(()=>{const D=e.editable;return D?S({},typeof D=="object"?D:null):{editing:!1}}),[x,_]=yn(!1,{value:M(()=>$.value.editing)});function w(D){const{onStart:B}=$.value;D&&B&&B(),_(D)}Ie(x,D=>{var B;D||(B=c.value)===null||B===void 0||B.focus()},{flush:"post"});function I(D){if(D){const{width:B,height:k}=D;if(!B||!k)return}mt.cancel(l.rafId),l.rafId=mt(()=>{P()})}const O=M(()=>{const{rows:D,expandable:B,suffix:k,onEllipsis:L,tooltip:z}=u.value;return k||z||e.editable||e.copyable||B||L?!1:D===1?tAe:eAe}),P=()=>{const{ellipsisText:D,isEllipsis:B}=l,{rows:k,suffix:L,onEllipsis:z}=u.value;if(!k||k<0||!Nr(s.value)||l.expanded||e.content===void 0||O.value)return;const{content:K,text:G,ellipsis:Y}=k3e(Nr(s.value),{rows:k,suffix:L},e.content,W(!0),xR);(D!==G||l.isEllipsis!==Y)&&(l.ellipsisText=G,l.ellipsisContent=K,l.isEllipsis=Y,B!==Y&&z&&z(Y))};function E(D,B){let{mark:k,code:L,underline:z,delete:K,strong:G,keyboard:Y}=D,ne=B;function re(J,te){if(!J)return;const ee=function(){return ne}();ne=g(te,null,{default:()=>[ee]})}return re(G,"strong"),re(z,"u"),re(K,"del"),re(L,"code"),re(k,"mark"),re(Y,"kbd"),ne}function R(D){const{expandable:B,symbol:k}=u.value;if(!B||!D&&(l.expanded||!l.isEllipsis))return null;const L=(n.ellipsisSymbol?n.ellipsisSymbol():k)||l.expandStr;return g("a",{key:"expand",class:`${i.value}-expand`,onClick:f,"aria-label":l.expandStr},[L])}function A(){if(!e.editable)return;const{tooltip:D,triggerType:B=["icon"]}=e.editable,k=n.editableIcon?n.editableIcon():g(Q3e,{role:"button"},null),L=n.editableTooltip?n.editableTooltip():l.editStr,z=typeof L=="string"?L:"";return B.indexOf("icon")!==-1?g(Br,{key:"edit",title:D===!1?"":L},{default:()=>[g(G0,{ref:c,class:`${i.value}-edit`,onClick:h,"aria-label":z},{default:()=>[k]})]}):null}function N(){if(!e.copyable)return;const{tooltip:D}=e.copyable,B=l.copied?l.copiedStr:l.copyStr,k=n.copyableTooltip?n.copyableTooltip({copied:l.copied}):B,L=typeof k=="string"?k:"",z=l.copied?g(sy,null,null):g(Y3e,null,null),K=n.copyableIcon?n.copyableIcon({copied:!!l.copied}):z;return g(Br,{key:"copy",title:D===!1?"":k},{default:()=>[g(G0,{class:[`${i.value}-copy`,{[`${i.value}-copy-success`]:l.copied}],onClick:b,"aria-label":L},{default:()=>[K]})]})}function F(){const{class:D,style:B}=o,{maxlength:k,autoSize:L,onEnd:z}=$.value;return g(M3e,{class:D,style:B,prefixCls:i.value,value:e.content,originContent:l.originContent,maxlength:k,autoSize:L,onSave:m,onChange:v,onCancel:y,onEnd:z,direction:a.value,component:e.component},{enterIcon:n.editableEnterIcon})}function W(D){return[R(D),A(),N()].filter(B=>B)}return()=>{var D;const{triggerType:B=["icon"]}=$.value,k=e.ellipsis||e.editable?e.content!==void 0?e.content:(D=n.default)===null||D===void 0?void 0:D.call(n):n.default?n.default():e.content;return x.value?F():g(Yc,{componentName:"Text",children:L=>{const z=S(S({},e),o),{type:K,disabled:G,content:Y,class:ne,style:re}=z,J=J3e(z,["type","disabled","content","class","style"]),{rows:te,suffix:ee,tooltip:fe}=u.value,{edit:ie,copy:X,copied:ue,expand:ye}=L;l.editStr=ie,l.copyStr=X,l.copiedStr=ue,l.expandStr=ye;const H=_t(J,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),j=O.value,q=te===1&&j,se=te&&te>1&&j;let ae=k,ge;if(te&&l.isEllipsis&&!l.expanded&&!j){const{title:_e}=J;let be=_e||"";!_e&&(typeof k=="string"||typeof k=="number")&&(be=String(k)),be=be==null?void 0:be.slice(String(l.ellipsisContent||"").length),ae=g(Je,null,[$t(l.ellipsisContent),g("span",{title:be,"aria-hidden":"true"},[xR]),ee])}else ae=g(Je,null,[k,ee]);ae=E(e,ae);const Se=fe&&te&&l.isEllipsis&&!l.expanded&&!j,$e=n.ellipsisTooltip?n.ellipsisTooltip():fe;return g(ki,{onResize:I,disabled:!te},{default:()=>[g(Dr,V({ref:s,class:[{[`${i.value}-${K}`]:K,[`${i.value}-disabled`]:G,[`${i.value}-ellipsis`]:te,[`${i.value}-single-line`]:te===1&&!l.isEllipsis,[`${i.value}-ellipsis-single-line`]:q,[`${i.value}-ellipsis-multiple-line`]:se},ne],style:S(S({},re),{WebkitLineClamp:se?te:void 0}),"aria-label":ge,direction:a.value,onClick:B.indexOf("text")!==-1?h:()=>{}},H),{default:()=>[Se?g(Br,{title:fe===!0?k:$e},{default:()=>[g("span",null,[ae])]}):ae,W()]})]})}},null)}}}),rg=nAe;var oAe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const rAe=()=>_t(S(S({},og()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),qy=(e,t)=>{let{slots:n,attrs:o}=t;const r=S(S({},e),o),{ellipsis:i,rel:a}=r,l=oAe(r,["ellipsis","rel"]);Sn();const s=S(S({},l),{rel:a===void 0&&l.target==="_blank"?"noopener noreferrer":a,ellipsis:!!i,component:"a"});return delete s.navigate,g(rg,s,n)};qy.displayName="ATypographyLink";qy.inheritAttrs=!1;qy.props=rAe();const ZI=qy,iAe=()=>_t(og(),["component"]),Zy=(e,t)=>{let{slots:n,attrs:o}=t;const r=S(S(S({},e),{component:"div"}),o);return g(rg,r,n)};Zy.displayName="ATypographyParagraph";Zy.inheritAttrs=!1;Zy.props=iAe();const QI=Zy,aAe=()=>S(S({},_t(og(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),Qy=(e,t)=>{let{slots:n,attrs:o}=t;const{ellipsis:r}=e;Sn();const i=S(S(S({},e),{ellipsis:r&&typeof r=="object"?_t(r,["expandable","rows"]):r,component:"span"}),o);return g(rg,i,n)};Qy.displayName="ATypographyText";Qy.inheritAttrs=!1;Qy.props=aAe();const JI=Qy;var lAe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const sAe=Gee(1,2,3,4,5),cAe=()=>S(S({},_t(og(),["component","strong"])),{level:Number}),Jy=(e,t)=>{let{slots:n,attrs:o}=t;const{level:r=1}=e,i=lAe(e,["level"]);let a;sAe.includes(r)?a=`h${r}`:(Sn(),a="h1");const l=S(S(S({},i),{component:a}),o);return g(rg,l,n)};Jy.displayName="ATypographyTitle";Jy.inheritAttrs=!1;Jy.props=cAe();const eP=Jy;Dr.Text=JI;Dr.Title=eP;Dr.Paragraph=QI;Dr.Link=ZI;Dr.Base=rg;Dr.install=function(e){return e.component(Dr.name,Dr),e.component(Dr.Text.displayName,JI),e.component(Dr.Title.displayName,eP),e.component(Dr.Paragraph.displayName,QI),e.component(Dr.Link.displayName,ZI),e};function uAe(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,o=new Error(n);return o.status=t.status,o.method=e.method,o.url=e.action,o}function wR(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function dAe(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(i){i.total>0&&(i.percent=i.loaded/i.total*100),e.onProgress(i)});const n=new FormData;e.data&&Object.keys(e.data).forEach(r=>{const i=e.data[r];if(Array.isArray(i)){i.forEach(a=>{n.append(`${r}[]`,a)});return}n.append(r,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(i){e.onError(i)},t.onload=function(){return t.status<200||t.status>=300?e.onError(uAe(e,t),wR(t)):e.onSuccess(wR(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};return o["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(o).forEach(r=>{o[r]!==null&&t.setRequestHeader(r,o[r])}),t.send(n),{abort(){t.abort()}}}const fAe=+new Date;let pAe=0;function YC(){return`vc-upload-${fAe}-${++pAe}`}const XC=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),o=e.name||"",r=e.type||"",i=r.replace(/\/.*$/,"");return n.some(a=>{const l=a.trim();if(/^\*(\/\*)?$/.test(a))return!0;if(l.charAt(0)==="."){const s=o.toLowerCase(),c=l.toLowerCase();let u=[c];return(c===".jpg"||c===".jpeg")&&(u=[".jpg",".jpeg"]),u.some(d=>s.endsWith(d))}return/\/\*$/.test(l)?i===l.replace(/\/.*$/,""):!!(r===l||/^\w+$/.test(l))})}return!0};function hAe(e,t){const n=e.createReader();let o=[];function r(){n.readEntries(i=>{const a=Array.prototype.slice.apply(i);o=o.concat(a),!a.length?t(o):r()})}r()}const gAe=(e,t,n)=>{const o=(r,i)=>{r.path=i||"",r.isFile?r.file(a=>{n(a)&&(r.fullPath&&!a.webkitRelativePath&&(Object.defineProperties(a,{webkitRelativePath:{writable:!0}}),a.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(a,{webkitRelativePath:{writable:!1}})),t([a]))}):r.isDirectory&&hAe(r,a=>{a.forEach(l=>{o(l,`${i}${r.name}/`)})})};e.forEach(r=>{o(r.webkitGetAsEntry())})},vAe=gAe,aj=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var mAe=function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(u){try{c(o.next(u))}catch(d){a(d)}}function s(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(l,s)}c((o=o.apply(e,t||[])).next())})},bAe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const yAe=pe({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:aj(),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=he(YC()),a={},l=he();let s=!1;const c=($,x)=>mAe(this,void 0,void 0,function*(){const{beforeUpload:_}=e;let w=$;if(_){try{w=yield _($,x)}catch{w=!1}if(w===!1)return{origin:$,parsedFile:null,action:null,data:null}}const{action:I}=e;let O;typeof I=="function"?O=yield I($):O=I;const{data:P}=e;let E;typeof P=="function"?E=yield P($):E=P;const R=(typeof w=="object"||typeof w=="string")&&w?w:$;let A;R instanceof File?A=R:A=new File([R],$.name,{type:$.type});const N=A;return N.uid=$.uid,{origin:$,data:E,parsedFile:N,action:O}}),u=$=>{let{data:x,origin:_,action:w,parsedFile:I}=$;if(!s)return;const{onStart:O,customRequest:P,name:E,headers:R,withCredentials:A,method:N}=e,{uid:F}=_,W=P||dAe,D={action:w,filename:E,data:x,file:I,headers:R,withCredentials:A,method:N||"post",onProgress:B=>{const{onProgress:k}=e;k==null||k(B,I)},onSuccess:(B,k)=>{const{onSuccess:L}=e;L==null||L(B,I,k),delete a[F]},onError:(B,k)=>{const{onError:L}=e;L==null||L(B,k,I),delete a[F]}};O(_),a[F]=W(D)},d=()=>{i.value=YC()},f=$=>{if($){const x=$.uid?$.uid:$;a[x]&&a[x].abort&&a[x].abort(),delete a[x]}else Object.keys(a).forEach(x=>{a[x]&&a[x].abort&&a[x].abort(),delete a[x]})};lt(()=>{s=!0}),Ct(()=>{s=!1,f()});const h=$=>{const x=[...$],_=x.map(w=>(w.uid=YC(),c(w,x)));Promise.all(_).then(w=>{const{onBatchStart:I}=e;I==null||I(w.map(O=>{let{origin:P,parsedFile:E}=O;return{file:P,parsedFile:E}})),w.filter(O=>O.parsedFile!==null).forEach(O=>{u(O)})})},m=$=>{const{accept:x,directory:_}=e,{files:w}=$.target,I=[...w].filter(O=>!_||XC(O,x));h(I),d()},v=$=>{const x=l.value;if(!x)return;const{onClick:_}=e;x.click(),_&&_($)},y=$=>{$.key==="Enter"&&v($)},b=$=>{const{multiple:x}=e;if($.preventDefault(),$.type!=="dragover")if(e.directory)vAe(Array.prototype.slice.call($.dataTransfer.items),h,_=>XC(_,e.accept));else{const _=Wfe(Array.prototype.slice.call($.dataTransfer.files),O=>XC(O,e.accept));let w=_[0];const I=_[1];x===!1&&(w=w.slice(0,1)),h(w),I.length&&e.onReject&&e.onReject(I)}};return r({abort:f}),()=>{var $;const{componentTag:x,prefixCls:_,disabled:w,id:I,multiple:O,accept:P,capture:E,directory:R,openFileDialogOnClick:A,onMouseenter:N,onMouseleave:F}=e,W=bAe(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),D={[_]:!0,[`${_}-disabled`]:w,[o.class]:!!o.class},B=R?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return g(x,V(V({},w?{}:{onClick:A?v:()=>{},onKeydown:A?y:()=>{},onMouseenter:N,onMouseleave:F,onDrop:b,onDragover:b,tabindex:"0"}),{},{class:D,role:"button",style:o.style}),{default:()=>[g("input",V(V(V({},As(W,{aria:!0,data:!0})),{},{id:I,type:"file",ref:l,onClick:L=>L.stopPropagation(),onCancel:L=>L.stopPropagation(),key:i.value,style:{display:"none"},accept:P},B),{},{multiple:O,onChange:m},E!=null?{capture:E}:{}),null),($=n.default)===null||$===void 0?void 0:$.call(n)]})}}});function qC(){}const _R=pe({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:bt(aj(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:qC,onError:qC,onSuccess:qC,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=he();return r({abort:l=>{var s;(s=i.value)===null||s===void 0||s.abort(l)}}),()=>g(yAe,V(V(V({},e),o),{},{ref:i}),n)}});var SAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const CAe=SAe;function OR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){$Ae(e,r,n[r])})}return e}function $Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tP=function(t,n){var o=OR({},t,n.attrs);return g(Ot,OR({},o,{icon:CAe}),null)};tP.displayName="PaperClipOutlined";tP.inheritAttrs=!1;const xAe=tP;var wAe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};const _Ae=wAe;function IR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){OAe(e,r,n[r])})}return e}function OAe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nP=function(t,n){var o=IR({},t,n.attrs);return g(Ot,IR({},o,{icon:_Ae}),null)};nP.displayName="PictureTwoTone";nP.inheritAttrs=!1;const IAe=nP;var PAe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};const TAe=PAe;function PR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){EAe(e,r,n[r])})}return e}function EAe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oP=function(t,n){var o=PR({},t,n.attrs);return g(Ot,PR({},o,{icon:TAe}),null)};oP.displayName="FileTwoTone";oP.inheritAttrs=!1;const AAe=oP;function lj(){return{capture:rt([Boolean,String]),type:Qe(),name:String,defaultFileList:kt(),fileList:kt(),action:rt([String,Function]),directory:De(),data:rt([Object,Function]),method:Qe(),headers:qe(),showUploadList:rt([Boolean,Object]),multiple:De(),accept:String,beforeUpload:Oe(),onChange:Oe(),"onUpdate:fileList":Oe(),onDrop:Oe(),listType:Qe(),onPreview:Oe(),onDownload:Oe(),onReject:Oe(),onRemove:Oe(),remove:Oe(),supportServerRender:De(),disabled:De(),prefixCls:String,customRequest:Oe(),withCredentials:De(),openFileDialogOnClick:De(),locale:qe(),id:String,previewFile:Oe(),transformFile:Oe(),iconRender:Oe(),isImageUrl:Oe(),progress:qe(),itemRender:Oe(),maxCount:Number,height:rt([Number,String]),removeIcon:Oe(),downloadIcon:Oe(),previewIcon:Oe()}}function MAe(){return{listType:Qe(),onPreview:Oe(),onDownload:Oe(),onRemove:Oe(),items:kt(),progress:qe(),prefixCls:Qe(),showRemoveIcon:De(),showDownloadIcon:De(),showPreviewIcon:De(),removeIcon:Oe(),downloadIcon:Oe(),previewIcon:Oe(),locale:qe(void 0),previewFile:Oe(),iconRender:Oe(),isImageUrl:Oe(),appendAction:Oe(),appendActionVisible:De(),itemRender:Oe()}}function Wv(e){return S(S({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Vv(e,t){const n=[...t],o=n.findIndex(r=>{let{uid:i}=r;return i===e.uid});return o===-1?n.push(e):n[o]=e,n}function ZC(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(o=>o[n]===e[n])[0]}function RAe(e,t){const n=e.uid!==void 0?"uid":"name",o=t.filter(r=>r[n]!==e[n]);return o.length===t.length?null:o}const DAe=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),o=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(o)||[""])[0]},sj=e=>e.indexOf("image/")===0,LAe=e=>{if(e.type&&!e.thumbUrl)return sj(e.type);const t=e.thumbUrl||e.url||"",n=DAe(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Yl=200;function NAe(e){return new Promise(t=>{if(!e.type||!sj(e.type)){t("");return}const n=document.createElement("canvas");n.width=Yl,n.height=Yl,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Yl}px; height: ${Yl}px; z-index: 9999; display: none;`,document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:i,height:a}=r;let l=Yl,s=Yl,c=0,u=0;i>a?(s=a*(Yl/i),u=-(s-l)/2):(l=i*(Yl/a),c=-(l-s)/2),o.drawImage(r,c,u,l,s);const d=n.toDataURL();document.body.removeChild(n),t(d)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const i=new FileReader;i.addEventListener("load",()=>{i.result&&(r.src=i.result)}),i.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var kAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const BAe=kAe;function TR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){FAe(e,r,n[r])})}return e}function FAe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rP=function(t,n){var o=TR({},t,n.attrs);return g(Ot,TR({},o,{icon:BAe}),null)};rP.displayName="DownloadOutlined";rP.inheritAttrs=!1;const HAe=rP,zAe=()=>({prefixCls:String,locale:qe(void 0),file:qe(),items:kt(),listType:Qe(),isImgUrl:Oe(),showRemoveIcon:De(),showDownloadIcon:De(),showPreviewIcon:De(),removeIcon:Oe(),downloadIcon:Oe(),previewIcon:Oe(),iconRender:Oe(),actionIconRender:Oe(),itemRender:Oe(),onPreview:Oe(),onClose:Oe(),onDownload:Oe(),progress:qe()}),jAe=pe({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:zAe(),setup(e,t){let{slots:n,attrs:o}=t;var r;const i=ve(!1),a=ve();lt(()=>{a.value=setTimeout(()=>{i.value=!0},300)}),Ct(()=>{clearTimeout(a.value)});const l=ve((r=e.file)===null||r===void 0?void 0:r.status);Ie(()=>{var u;return(u=e.file)===null||u===void 0?void 0:u.status},u=>{u!=="removed"&&(l.value=u)});const{rootPrefixCls:s}=Ve("upload",e),c=M(()=>Hi(`${s.value}-fade`));return()=>{var u,d;const{prefixCls:f,locale:h,listType:m,file:v,items:y,progress:b,iconRender:$=n.iconRender,actionIconRender:x=n.actionIconRender,itemRender:_=n.itemRender,isImgUrl:w,showPreviewIcon:I,showRemoveIcon:O,showDownloadIcon:P,previewIcon:E=n.previewIcon,removeIcon:R=n.removeIcon,downloadIcon:A=n.downloadIcon,onPreview:N,onDownload:F,onClose:W}=e,{class:D,style:B}=o,k=$({file:v});let L=g("div",{class:`${f}-text-icon`},[k]);if(m==="picture"||m==="picture-card")if(l.value==="uploading"||!v.thumbUrl&&!v.url){const H={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:l.value!=="uploading"};L=g("div",{class:H},[k])}else{const H=w!=null&&w(v)?g("img",{src:v.thumbUrl||v.url,alt:v.name,class:`${f}-list-item-image`,crossorigin:v.crossOrigin},null):k,j={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:w&&!w(v)};L=g("a",{class:j,onClick:q=>N(v,q),href:v.url||v.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[H])}const z={[`${f}-list-item`]:!0,[`${f}-list-item-${l.value}`]:!0},K=typeof v.linkProps=="string"?JSON.parse(v.linkProps):v.linkProps,G=O?x({customIcon:R?R({file:v}):g(ej,null,null),callback:()=>W(v),prefixCls:f,title:h.removeFile}):null,Y=P&&l.value==="done"?x({customIcon:A?A({file:v}):g(HAe,null,null),callback:()=>F(v),prefixCls:f,title:h.downloadFile}):null,ne=m!=="picture-card"&&g("span",{key:"download-delete",class:[`${f}-list-item-actions`,{picture:m==="picture"}]},[Y,G]),re=`${f}-list-item-name`,J=v.url?[g("a",V(V({key:"view",target:"_blank",rel:"noopener noreferrer",class:re,title:v.name},K),{},{href:v.url,onClick:H=>N(v,H)}),[v.name]),ne]:[g("span",{key:"view",class:re,onClick:H=>N(v,H),title:v.name},[v.name]),ne],te={pointerEvents:"none",opacity:.5},ee=I?g("a",{href:v.url||v.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:v.url||v.thumbUrl?void 0:te,onClick:H=>N(v,H),title:h.previewFile},[E?E({file:v}):g(sI,null,null)]):null,fe=m==="picture-card"&&l.value!=="uploading"&&g("span",{class:`${f}-list-item-actions`},[ee,l.value==="done"&&Y,G]),ie=g("div",{class:z},[L,J,fe,i.value&&g(so,c.value,{default:()=>[Ln(g("div",{class:`${f}-list-item-progress`},["percent"in v?g(II,V(V({},b),{},{type:"line",percent:v.percent}),null):null]),[[Bo,l.value==="uploading"]])]})]),X={[`${f}-list-item-container`]:!0,[`${D}`]:!!D},ue=v.response&&typeof v.response=="string"?v.response:((u=v.error)===null||u===void 0?void 0:u.statusText)||((d=v.error)===null||d===void 0?void 0:d.message)||h.uploadError,ye=l.value==="error"?g(Br,{title:ue,getPopupContainer:H=>H.parentNode},{default:()=>[ie]}):ie;return g("div",{class:X,style:B},[_?_({originNode:ye,file:v,fileList:y,actions:{download:F.bind(null,v),preview:N.bind(null,v),remove:W.bind(null,v)}}):ye])}}}),WAe=(e,t)=>{let{slots:n}=t;var o;return _n((o=n.default)===null||o===void 0?void 0:o.call(n))[0]},VAe=pe({compatConfig:{MODE:3},name:"AUploadList",props:bt(MAe(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:NAe,isImageUrl:LAe,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:o}=t;const r=ve(!1);lt(()=>{r.value==!0});const i=ve([]);Ie(()=>e.items,function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.value=v.slice()},{immediate:!0,deep:!0}),ct(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let v=!1;(e.items||[]).forEach((y,b)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(y.originFileObj instanceof File||y.originFileObj instanceof Blob)||y.thumbUrl!==void 0||(y.thumbUrl="",e.previewFile&&e.previewFile(y.originFileObj).then($=>{const x=$||"";x!==y.thumbUrl&&(i.value[b].thumbUrl=x,v=!0)}))}),v&&KL(i)});const a=(v,y)=>{if(e.onPreview)return y==null||y.preventDefault(),e.onPreview(v)},l=v=>{typeof e.onDownload=="function"?e.onDownload(v):v.url&&window.open(v.url)},s=v=>{var y;(y=e.onRemove)===null||y===void 0||y.call(e,v)},c=v=>{let{file:y}=v;const b=e.iconRender||n.iconRender;if(b)return b({file:y,listType:e.listType});const $=y.status==="uploading",x=e.isImageUrl&&e.isImageUrl(y)?g(IAe,null,null):g(AAe,null,null);let _=g($?di:xAe,null,null);return e.listType==="picture"?_=$?g(di,null,null):x:e.listType==="picture-card"&&(_=$?e.locale.uploading:x),_},u=v=>{const{customIcon:y,callback:b,prefixCls:$,title:x}=v,_={type:"text",size:"small",title:x,onClick:()=>{b()},class:`${$}-list-item-action`};return Jn(y)?g(Un,_,{icon:()=>y}):g(Un,_,{default:()=>[g("span",null,[y])]})};o({handlePreview:a,handleDownload:l});const{prefixCls:d,rootPrefixCls:f}=Ve("upload",e),h=M(()=>({[`${d.value}-list`]:!0,[`${d.value}-list-${e.listType}`]:!0})),m=M(()=>{const v=S({},Uh(`${f.value}-motion-collapse`));delete v.onAfterAppear,delete v.onAfterEnter,delete v.onAfterLeave;const y=S(S({},ny(`${d.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:h.value,appear:r.value});return e.listType!=="picture-card"?S(S({},v),y):y});return()=>{const{listType:v,locale:y,isImageUrl:b,showPreviewIcon:$,showRemoveIcon:x,showDownloadIcon:_,removeIcon:w,previewIcon:I,downloadIcon:O,progress:P,appendAction:E,itemRender:R,appendActionVisible:A}=e,N=E==null?void 0:E(),F=i.value;return g(Lb,V(V({},m.value),{},{tag:"div"}),{default:()=>[F.map(W=>{const{uid:D}=W;return g(jAe,{key:D,locale:y,prefixCls:d.value,file:W,items:F,progress:P,listType:v,isImgUrl:b,showPreviewIcon:$,showRemoveIcon:x,showDownloadIcon:_,onPreview:a,onDownload:l,onClose:s,removeIcon:w,previewIcon:I,downloadIcon:O,itemRender:R},S(S({},n),{iconRender:c,actionIconRender:u}))}),E?Ln(g(WAe,{key:"__ant_upload_appendAction"},{default:()=>N}),[[Bo,!!A]]):null]})}}}),KAe=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n},
+ p${t}-text,
+ p${t}-hint
+ `]:{color:e.colorTextDisabled}}}}}},UAe=KAe,GAe=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:i}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,c=Math.round(r*i);return{[`${t}-wrapper`]:{[`${t}-list`]:S(S({},aa()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*r,marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:S(S({},eo),{padding:`0 ${e.paddingXS}px`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
+ ${s}:focus,
+ &.picture ${s}
+ `]:{opacity:1},[o]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${o}`]:{color:e.colorText}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:r+e.paddingXS,fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${o}`]:{color:e.colorError},[l]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},YAe=GAe,ER=new Pt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),AR=new Pt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),XAe=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:ER},[`${n}-leave`]:{animationName:AR}}},ER,AR]},qAe=XAe,ZAe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[`${i}${i}-picture, ${i}${i}-picture-card`]:{[a]:{position:"relative",height:o+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:S(S({},eo),{width:o,height:o,lineHeight:`${o+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:r,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:o+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:r}}}}}},QAe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r}=e,i=`${t}-list`,a=`${i}-item`,l=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:S(S({},aa()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card`]:{[`${i}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:o,margin:`0 ${e.marginXXS}px`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${a}-actions, ${a}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new Zt(r).setAlpha(.65).toRgbString(),"&:hover":{color:r}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},JAe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},eMe=JAe,tMe=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:S(S({},vt(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},nMe=pt("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:o,lineWidth:r,controlHeightLG:i}=e,a=Math.round(n*o),l=nt(e,{uploadThumbnailSize:t*2,uploadProgressOffset:a/2+r,uploadPicCardSize:i*2.55});return[tMe(l),UAe(l),ZAe(l),QAe(l),YAe(l),qAe(l),eMe(l),Kh(l)]});var oMe=function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(u){try{c(o.next(u))}catch(d){a(d)}}function s(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(l,s)}c((o=o.apply(e,t||[])).next())})},rMe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ap=`__LIST_IGNORE_${Date.now()}__`,Wm=pe({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:bt(lj(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",supportServerRender:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=co(),{prefixCls:a,direction:l,disabled:s}=Ve("upload",e),[c,u]=nMe(a),d=jr(),f=M(()=>{var A;return(A=s.value)!==null&&A!==void 0?A:d.value}),[h,m]=yn(e.defaultFileList||[],{value:st(e,"fileList"),postState:A=>{const N=Date.now();return(A??[]).map((F,W)=>(!F.uid&&!Object.isFrozen(F)&&(F.uid=`__AUTO__${N}_${W}__`),F))}}),v=he("drop"),y=he(null);lt(()=>{pn(e.fileList!==void 0||o.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),pn(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),pn(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const b=(A,N,F)=>{var W,D;let B=[...N];e.maxCount===1?B=B.slice(-1):e.maxCount&&(B=B.slice(0,e.maxCount)),m(B);const k={file:A,fileList:B};F&&(k.event=F),(W=e["onUpdate:fileList"])===null||W===void 0||W.call(e,k.fileList),(D=e.onChange)===null||D===void 0||D.call(e,k),i.onFieldChange()},$=(A,N)=>oMe(this,void 0,void 0,function*(){const{beforeUpload:F,transformFile:W}=e;let D=A;if(F){const B=yield F(A,N);if(B===!1)return!1;if(delete A[ap],B===ap)return Object.defineProperty(A,ap,{value:!0,configurable:!0}),!1;typeof B=="object"&&B&&(D=B)}return W&&(D=yield W(D)),D}),x=A=>{const N=A.filter(D=>!D.file[ap]);if(!N.length)return;const F=N.map(D=>Wv(D.file));let W=[...h.value];F.forEach(D=>{W=Vv(D,W)}),F.forEach((D,B)=>{let k=D;if(N[B].parsedFile)D.status="uploading";else{const{originFileObj:L}=D;let z;try{z=new File([L],L.name,{type:L.type})}catch{z=new Blob([L],{type:L.type}),z.name=L.name,z.lastModifiedDate=new Date,z.lastModified=new Date().getTime()}z.uid=D.uid,k=z}b(k,W)})},_=(A,N,F)=>{try{typeof A=="string"&&(A=JSON.parse(A))}catch{}if(!ZC(N,h.value))return;const W=Wv(N);W.status="done",W.percent=100,W.response=A,W.xhr=F;const D=Vv(W,h.value);b(W,D)},w=(A,N)=>{if(!ZC(N,h.value))return;const F=Wv(N);F.status="uploading",F.percent=A.percent;const W=Vv(F,h.value);b(F,W,A)},I=(A,N,F)=>{if(!ZC(F,h.value))return;const W=Wv(F);W.error=A,W.response=N,W.status="error";const D=Vv(W,h.value);b(W,D)},O=A=>{let N;const F=e.onRemove||e.remove;Promise.resolve(typeof F=="function"?F(A):F).then(W=>{var D,B;if(W===!1)return;const k=RAe(A,h.value);k&&(N=S(S({},A),{status:"removed"}),(D=h.value)===null||D===void 0||D.forEach(L=>{const z=N.uid!==void 0?"uid":"name";L[z]===N[z]&&!Object.isFrozen(L)&&(L.status="removed")}),(B=y.value)===null||B===void 0||B.abort(N),b(N,k))})},P=A=>{var N;v.value=A.type,A.type==="drop"&&((N=e.onDrop)===null||N===void 0||N.call(e,A))};r({onBatchStart:x,onSuccess:_,onProgress:w,onError:I,fileList:h,upload:y});const[E]=Wi("Upload",cr.Upload,M(()=>e.locale)),R=(A,N)=>{const{removeIcon:F,previewIcon:W,downloadIcon:D,previewFile:B,onPreview:k,onDownload:L,isImageUrl:z,progress:K,itemRender:G,iconRender:Y,showUploadList:ne}=e,{showDownloadIcon:re,showPreviewIcon:J,showRemoveIcon:te}=typeof ne=="boolean"?{}:ne;return ne?g(VAe,{prefixCls:a.value,listType:e.listType,items:h.value,previewFile:B,onPreview:k,onDownload:L,onRemove:O,showRemoveIcon:!f.value&&te,showPreviewIcon:J,showDownloadIcon:re,removeIcon:F,previewIcon:W,downloadIcon:D,iconRender:Y,locale:E.value,isImageUrl:z,progress:K,itemRender:G,appendActionVisible:N,appendAction:A},S({},n)):A==null?void 0:A()};return()=>{var A,N,F;const{listType:W,type:D}=e,{class:B,style:k}=o,L=rMe(o,["class","style"]),z=S(S(S({onBatchStart:x,onError:I,onProgress:w,onSuccess:_},L),e),{id:(A=e.id)!==null&&A!==void 0?A:i.id.value,prefixCls:a.value,beforeUpload:$,onChange:void 0,disabled:f.value});delete z.remove,(!n.default||f.value)&&delete z.id;const K={[`${a.value}-rtl`]:l.value==="rtl"};if(D==="drag"){const re=me(a.value,{[`${a.value}-drag`]:!0,[`${a.value}-drag-uploading`]:h.value.some(J=>J.status==="uploading"),[`${a.value}-drag-hover`]:v.value==="dragover",[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"},o.class,u.value);return c(g("span",V(V({},o),{},{class:me(`${a.value}-wrapper`,K,B,u.value)}),[g("div",{class:re,onDrop:P,onDragover:P,onDragleave:P,style:o.style},[g(_R,V(V({},z),{},{ref:y,class:`${a.value}-btn`}),V({default:()=>[g("div",{class:`${a.value}-drag-container`},[(N=n.default)===null||N===void 0?void 0:N.call(n)])]},n))]),R()]))}const G=me(a.value,{[`${a.value}-select`]:!0,[`${a.value}-select-${W}`]:!0,[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"}),Y=ln((F=n.default)===null||F===void 0?void 0:F.call(n)),ne=re=>g("div",{class:G,style:re},[g(_R,V(V({},z),{},{ref:y}),n)]);return c(W==="picture-card"?g("span",V(V({},o),{},{class:me(`${a.value}-wrapper`,`${a.value}-picture-card-wrapper`,K,o.class,u.value)}),[R(ne,!!(Y&&Y.length))]):g("span",V(V({},o),{},{class:me(`${a.value}-wrapper`,K,o.class,u.value)}),[ne(Y&&Y.length?void 0:{display:"none"}),R()]))}}});var MR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Vm=pe({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:lj(),setup(e,t){let{slots:n,attrs:o}=t;return()=>{const{height:r}=e,i=MR(e,["height"]),{style:a}=o,l=MR(o,["style"]),s=S(S(S({},i),l),{type:"drag",style:S(S({},a),{height:typeof r=="number"?`${r}px`:r})});return g(Wm,s,n)}}}),iMe=Vm,aMe=S(Wm,{Dragger:Vm,LIST_IGNORE:ap,install(e){return e.component(Wm.name,Wm),e.component(Vm.name,Vm),e}});function lMe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function sMe(e){return Object.keys(e).map(t=>`${lMe(t)}: ${e[t]};`).join(" ")}function RR(){return window.devicePixelRatio||1}function QC(e,t,n,o){e.translate(t,n),e.rotate(Math.PI/180*Number(o)),e.translate(-t,-n)}const cMe=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(o=>o===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var uMe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function dMe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=IB}=n,r=uMe(n,["window"]);let i;const a=_B(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},s=Ie(()=>xO(e),u=>{l(),a.value&&o&&u&&(i=new MutationObserver(t),i.observe(u,r))},{immediate:!0}),c=()=>{l(),s()};return wB(c),{isSupported:a,stop:c}}const JC=2,DR=3,fMe=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:rt([String,Array]),font:qe(),rootClassName:String,gap:kt(),offset:kt()}),pMe=pe({name:"AWatermark",inheritAttrs:!1,props:bt(fMe(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:o}=t;const[,r]=Ol(),i=ve(),a=ve(),l=ve(!1),s=M(()=>{var R,A;return(A=(R=e.gap)===null||R===void 0?void 0:R[0])!==null&&A!==void 0?A:100}),c=M(()=>{var R,A;return(A=(R=e.gap)===null||R===void 0?void 0:R[1])!==null&&A!==void 0?A:100}),u=M(()=>s.value/2),d=M(()=>c.value/2),f=M(()=>{var R,A;return(A=(R=e.offset)===null||R===void 0?void 0:R[0])!==null&&A!==void 0?A:u.value}),h=M(()=>{var R,A;return(A=(R=e.offset)===null||R===void 0?void 0:R[1])!==null&&A!==void 0?A:d.value}),m=M(()=>{var R,A;return(A=(R=e.font)===null||R===void 0?void 0:R.fontSize)!==null&&A!==void 0?A:r.value.fontSizeLG}),v=M(()=>{var R,A;return(A=(R=e.font)===null||R===void 0?void 0:R.fontWeight)!==null&&A!==void 0?A:"normal"}),y=M(()=>{var R,A;return(A=(R=e.font)===null||R===void 0?void 0:R.fontStyle)!==null&&A!==void 0?A:"normal"}),b=M(()=>{var R,A;return(A=(R=e.font)===null||R===void 0?void 0:R.fontFamily)!==null&&A!==void 0?A:"sans-serif"}),$=M(()=>{var R,A;return(A=(R=e.font)===null||R===void 0?void 0:R.color)!==null&&A!==void 0?A:r.value.colorFill}),x=M(()=>{var R;const A={zIndex:(R=e.zIndex)!==null&&R!==void 0?R:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let N=f.value-u.value,F=h.value-d.value;return N>0&&(A.left=`${N}px`,A.width=`calc(100% - ${N}px)`,N=0),F>0&&(A.top=`${F}px`,A.height=`calc(100% - ${F}px)`,F=0),A.backgroundPosition=`${N}px ${F}px`,A}),_=()=>{a.value&&(a.value.remove(),a.value=void 0)},w=(R,A)=>{var N;i.value&&a.value&&(l.value=!0,a.value.setAttribute("style",sMe(S(S({},x.value),{backgroundImage:`url('${R}')`,backgroundSize:`${(s.value+A)*JC}px`}))),(N=i.value)===null||N===void 0||N.append(a.value),setTimeout(()=>{l.value=!1}))},I=R=>{let A=120,N=64;const F=e.content,W=e.image,D=e.width,B=e.height;if(!W&&R.measureText){R.font=`${Number(m.value)}px ${b.value}`;const k=Array.isArray(F)?F:[F],L=k.map(z=>R.measureText(z).width);A=Math.ceil(Math.max(...L)),N=Number(m.value)*k.length+(k.length-1)*DR}return[D??A,B??N]},O=(R,A,N,F,W)=>{const D=RR(),B=e.content,k=Number(m.value)*D;R.font=`${y.value} normal ${v.value} ${k}px/${W}px ${b.value}`,R.fillStyle=$.value,R.textAlign="center",R.textBaseline="top",R.translate(F/2,0);const L=Array.isArray(B)?B:[B];L==null||L.forEach((z,K)=>{R.fillText(z??"",A,N+K*(k+DR*D))})},P=()=>{var R;const A=document.createElement("canvas"),N=A.getContext("2d"),F=e.image,W=(R=e.rotate)!==null&&R!==void 0?R:-22;if(N){a.value||(a.value=document.createElement("div"));const D=RR(),[B,k]=I(N),L=(s.value+B)*D,z=(c.value+k)*D;A.setAttribute("width",`${L*JC}px`),A.setAttribute("height",`${z*JC}px`);const K=s.value*D/2,G=c.value*D/2,Y=B*D,ne=k*D,re=(Y+s.value*D)/2,J=(ne+c.value*D)/2,te=K+L,ee=G+z,fe=re+L,ie=J+z;if(N.save(),QC(N,re,J,W),F){const X=new Image;X.onload=()=>{N.drawImage(X,K,G,Y,ne),N.restore(),QC(N,fe,ie,W),N.drawImage(X,te,ee,Y,ne),w(A.toDataURL(),B)},X.crossOrigin="anonymous",X.referrerPolicy="no-referrer",X.src=F}else O(N,K,G,Y,ne),N.restore(),QC(N,fe,ie,W),O(N,te,ee,Y,ne),w(A.toDataURL(),B)}};return lt(()=>{P()}),Ie(()=>[e,r.value.colorFill,r.value.fontSizeLG],()=>{P()},{deep:!0,flush:"post"}),Ct(()=>{_()}),dMe(i,R=>{l.value||R.forEach(A=>{cMe(A,a.value)&&(_(),P())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var R;return g("div",V(V({},o),{},{ref:i,class:[o.class,e.rootClassName],style:[{position:"relative"},o.style]}),[(R=n.default)===null||R===void 0?void 0:R.call(n)])}}}),hMe=$n(pMe);function LR(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function NR(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const gMe=S({overflow:"hidden"},eo),vMe=e=>{const{componentCls:t}=e;return{[t]:S(S(S(S(S({},vt(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":S(S({},NR(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":S({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},gMe),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:S(S({},NR(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),LR(`&-disabled ${t}-item`,e)),LR(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},mMe=pt("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:o,colorText:r,colorFillSecondary:i,colorBgLayout:a,colorBgElevated:l}=e,s=nt(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:o,labelColorHover:r,bgColor:a,bgColorHover:i,bgColorSelected:l});return[vMe(s)]}),kR=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,Du=e=>e!==void 0?`${e}px`:void 0,bMe=pe({props:{value:cn(),getValueIndex:cn(),prefixCls:cn(),motionName:cn(),onMotionStart:cn(),onMotionEnd:cn(),direction:cn(),containerRef:cn()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const o=he(),r=m=>{var v;const y=e.getValueIndex(m),b=(v=e.containerRef.value)===null||v===void 0?void 0:v.querySelectorAll(`.${e.prefixCls}-item`)[y];return(b==null?void 0:b.offsetParent)&&b},i=he(null),a=he(null);Ie(()=>e.value,(m,v)=>{const y=r(v),b=r(m),$=kR(y),x=kR(b);i.value=$,a.value=x,n(y&&b?"motionStart":"motionEnd")},{flush:"post"});const l=M(()=>{var m,v;return e.direction==="rtl"?Du(-((m=i.value)===null||m===void 0?void 0:m.right)):Du((v=i.value)===null||v===void 0?void 0:v.left)}),s=M(()=>{var m,v;return e.direction==="rtl"?Du(-((m=a.value)===null||m===void 0?void 0:m.right)):Du((v=a.value)===null||v===void 0?void 0:v.left)});let c;const u=m=>{clearTimeout(c),wt(()=>{m&&(m.style.transform="translateX(var(--thumb-start-left))",m.style.width="var(--thumb-start-width)")})},d=m=>{c=setTimeout(()=>{m&&(Cx(m,`${e.motionName}-appear-active`),m.style.transform="translateX(var(--thumb-active-left))",m.style.width="var(--thumb-active-width)")})},f=m=>{i.value=null,a.value=null,m&&(m.style.transform=null,m.style.width=null,$x(m,`${e.motionName}-appear-active`)),n("motionEnd")},h=M(()=>{var m,v;return{"--thumb-start-left":l.value,"--thumb-start-width":Du((m=i.value)===null||m===void 0?void 0:m.width),"--thumb-active-left":s.value,"--thumb-active-width":Du((v=a.value)===null||v===void 0?void 0:v.width)}});return Ct(()=>{clearTimeout(c)}),()=>{const m={ref:o,style:h.value,class:[`${e.prefixCls}-thumb`]};return g(so,{appear:!0,onBeforeEnter:u,onEnter:d,onAfterEnter:f},{default:()=>[!i.value||!a.value?null:g("div",m,null)]})}}}),yMe=bMe;function SMe(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const CMe=()=>({prefixCls:String,options:kt(),block:De(),disabled:De(),size:Qe(),value:S(S({},rt([String,Number])),{required:!0}),motionName:String,onChange:Oe(),"onUpdate:value":Oe()}),cj=(e,t)=>{let{slots:n,emit:o}=t;const{value:r,disabled:i,payload:a,title:l,prefixCls:s,label:c=n.label,checked:u,className:d}=e,f=h=>{i||o("change",h,r)};return g("label",{class:me({[`${s}-item-disabled`]:i},d)},[g("input",{class:`${s}-item-input`,type:"radio",disabled:i,checked:u,onChange:f},null),g("div",{class:`${s}-item-label`,title:typeof l=="string"?l:""},[typeof c=="function"?c({value:r,disabled:i,payload:a,title:l}):c??r])])};cj.inheritAttrs=!1;const $Me=pe({name:"ASegmented",inheritAttrs:!1,props:bt(CMe(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:i,direction:a,size:l}=Ve("segmented",e),[s,c]=mMe(i),u=ve(),d=ve(!1),f=M(()=>SMe(e.options)),h=(m,v)=>{e.disabled||(n("update:value",v),n("change",v))};return()=>{const m=i.value;return s(g("div",V(V({},r),{},{class:me(m,{[c.value]:!0,[`${m}-block`]:e.block,[`${m}-disabled`]:e.disabled,[`${m}-lg`]:l.value=="large",[`${m}-sm`]:l.value=="small",[`${m}-rtl`]:a.value==="rtl"},r.class),ref:u}),[g("div",{class:`${m}-group`},[g(yMe,{containerRef:u,prefixCls:m,value:e.value,motionName:`${m}-${e.motionName}`,direction:a.value,getValueIndex:v=>f.value.findIndex(y=>y.value===v),onMotionStart:()=>{d.value=!0},onMotionEnd:()=>{d.value=!1}},null),f.value.map(v=>g(cj,V(V({key:v.value,prefixCls:m,checked:v.value===e.value,onChange:h},v),{},{className:me(v.className,`${m}-item`,{[`${m}-item-selected`]:v.value===e.value&&!d.value}),disabled:!!e.disabled||!!v.disabled}),o))])]))}}}),xMe=$n($Me),wMe=e=>{const{componentCls:t}=e;return{[t]:S(S({},vt(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired , & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},_Me=pt("QRCode",e=>wMe(nt(e,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var OMe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const IMe=OMe;function BR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PMe(e,r,n[r])})}return e}function PMe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iP=function(t,n){var o=BR({},t,n.attrs);return g(Ot,BR({},o,{icon:IMe}),null)};iP.displayName="ReloadOutlined";iP.inheritAttrs=!1;const TMe=iP,aP=()=>({size:{type:Number,default:160},value:{type:String,required:!0},type:Qe("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:qe()}),EMe=()=>S(S({},aP()),{errorLevel:Qe("M"),icon:String,iconSize:{type:Number,default:40},status:Qe("active"),bordered:{type:Boolean,default:!0}});/**
+ * @license QR Code generator library (TypeScript)
+ * Copyright (c) Project Nayuki.
+ * SPDX-License-Identifier: MIT
+ */var Bc;(function(e){class t{static encodeText(l,s){const c=e.QrSegment.makeSegments(l);return t.encodeSegments(c,s)}static encodeBinary(l,s){const c=e.QrSegment.makeBytes(l);return t.encodeSegments([c],s)}static encodeSegments(l,s){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=c&&c<=u&&u<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");let h,m;for(h=c;;h++){const $=t.getNumDataCodewords(h,s)*8,x=i.getTotalBits(l,h);if(x<=$){m=x;break}if(h>=u)throw new RangeError("Data too long")}for(const $ of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])f&&m<=t.getNumDataCodewords(h,$)*8&&(s=$);const v=[];for(const $ of l){n($.mode.modeBits,4,v),n($.numChars,$.mode.numCharCountBits(h),v);for(const x of $.getData())v.push(x)}r(v.length==m);const y=t.getNumDataCodewords(h,s)*8;r(v.length<=y),n(0,Math.min(4,y-v.length),v),n(0,(8-v.length%8)%8,v),r(v.length%8==0);for(let $=236;v.length<y;$^=253)n($,8,v);const b=[];for(;b.length*8<v.length;)b.push(0);return v.forEach(($,x)=>b[x>>>3]|=$<<7-(x&7)),new t(h,s,b,d)}constructor(l,s,c,u){if(this.version=l,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],l<t.MIN_VERSION||l>t.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=l*4+17;const d=[];for(let h=0;h<this.size;h++)d.push(!1);for(let h=0;h<this.size;h++)this.modules.push(d.slice()),this.isFunction.push(d.slice());this.drawFunctionPatterns();const f=this.addEccAndInterleave(c);if(this.drawCodewords(f),u==-1){let h=1e9;for(let m=0;m<8;m++){this.applyMask(m),this.drawFormatBits(m);const v=this.getPenaltyScore();v<h&&(u=m,h=v),this.applyMask(m)}}r(0<=u&&u<=7),this.mask=u,this.applyMask(u),this.drawFormatBits(u),this.isFunction=[]}getModule(l,s){return 0<=l&&l<this.size&&0<=s&&s<this.size&&this.modules[s][l]}getModules(){return this.modules}drawFunctionPatterns(){for(let c=0;c<this.size;c++)this.setFunctionModule(6,c,c%2==0),this.setFunctionModule(c,6,c%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const l=this.getAlignmentPatternPositions(),s=l.length;for(let c=0;c<s;c++)for(let u=0;u<s;u++)c==0&&u==0||c==0&&u==s-1||c==s-1&&u==0||this.drawAlignmentPattern(l[c],l[u]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(l){const s=this.errorCorrectionLevel.formatBits<<3|l;let c=s;for(let d=0;d<10;d++)c=c<<1^(c>>>9)*1335;const u=(s<<10|c)^21522;r(u>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,o(u,d));this.setFunctionModule(8,7,o(u,6)),this.setFunctionModule(8,8,o(u,7)),this.setFunctionModule(7,8,o(u,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,o(u,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,o(u,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,o(u,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let c=0;c<12;c++)l=l<<1^(l>>>11)*7973;const s=this.version<<12|l;r(s>>>18==0);for(let c=0;c<18;c++){const u=o(s,c),d=this.size-11+c%3,f=Math.floor(c/3);this.setFunctionModule(d,f,u),this.setFunctionModule(f,d,u)}}drawFinderPattern(l,s){for(let c=-4;c<=4;c++)for(let u=-4;u<=4;u++){const d=Math.max(Math.abs(u),Math.abs(c)),f=l+u,h=s+c;0<=f&&f<this.size&&0<=h&&h<this.size&&this.setFunctionModule(f,h,d!=2&&d!=4)}}drawAlignmentPattern(l,s){for(let c=-2;c<=2;c++)for(let u=-2;u<=2;u++)this.setFunctionModule(l+u,s+c,Math.max(Math.abs(u),Math.abs(c))!=1)}setFunctionModule(l,s,c){this.modules[s][l]=c,this.isFunction[s][l]=!0}addEccAndInterleave(l){const s=this.version,c=this.errorCorrectionLevel;if(l.length!=t.getNumDataCodewords(s,c))throw new RangeError("Invalid argument");const u=t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][s],d=t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][s],f=Math.floor(t.getNumRawDataModules(s)/8),h=u-f%u,m=Math.floor(f/u),v=[],y=t.reedSolomonComputeDivisor(d);for(let $=0,x=0;$<u;$++){const _=l.slice(x,x+m-d+($<h?0:1));x+=_.length;const w=t.reedSolomonComputeRemainder(_,y);$<h&&_.push(0),v.push(_.concat(w))}const b=[];for(let $=0;$<v[0].length;$++)v.forEach((x,_)=>{($!=m-d||_>=h)&&b.push(x[$])});return r(b.length==f),b}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let c=this.size-1;c>=1;c-=2){c==6&&(c=5);for(let u=0;u<this.size;u++)for(let d=0;d<2;d++){const f=c-d,m=(c+1&2)==0?this.size-1-u:u;!this.isFunction[m][f]&&s<l.length*8&&(this.modules[m][f]=o(l[s>>>3],7-(s&7)),s++)}}r(s==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let c=0;c<this.size;c++){let u;switch(l){case 0:u=(c+s)%2==0;break;case 1:u=s%2==0;break;case 2:u=c%3==0;break;case 3:u=(c+s)%3==0;break;case 4:u=(Math.floor(c/3)+Math.floor(s/2))%2==0;break;case 5:u=c*s%2+c*s%3==0;break;case 6:u=(c*s%2+c*s%3)%2==0;break;case 7:u=((c+s)%2+c*s%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[s][c]&&u&&(this.modules[s][c]=!this.modules[s][c])}}getPenaltyScore(){let l=0;for(let d=0;d<this.size;d++){let f=!1,h=0;const m=[0,0,0,0,0,0,0];for(let v=0;v<this.size;v++)this.modules[d][v]==f?(h++,h==5?l+=t.PENALTY_N1:h>5&&l++):(this.finderPenaltyAddHistory(h,m),f||(l+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),f=this.modules[d][v],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,m)*t.PENALTY_N3}for(let d=0;d<this.size;d++){let f=!1,h=0;const m=[0,0,0,0,0,0,0];for(let v=0;v<this.size;v++)this.modules[v][d]==f?(h++,h==5?l+=t.PENALTY_N1:h>5&&l++):(this.finderPenaltyAddHistory(h,m),f||(l+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),f=this.modules[v][d],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,m)*t.PENALTY_N3}for(let d=0;d<this.size-1;d++)for(let f=0;f<this.size-1;f++){const h=this.modules[d][f];h==this.modules[d][f+1]&&h==this.modules[d+1][f]&&h==this.modules[d+1][f+1]&&(l+=t.PENALTY_N2)}let s=0;for(const d of this.modules)s=d.reduce((f,h)=>f+(h?1:0),s);const c=this.size*this.size,u=Math.ceil(Math.abs(s*20-c*10)/c)-1;return r(0<=u&&u<=9),l+=u*t.PENALTY_N4,r(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2,c=[6];for(let u=this.size-7;c.length<l;u-=s)c.splice(1,0,u);return c}}static getNumRawDataModules(l){if(l<t.MIN_VERSION||l>t.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*l+128)*l+64;if(l>=2){const c=Math.floor(l/7)+2;s-=(25*c-10)*c-55,l>=7&&(s-=36)}return r(208<=s&&s<=29648),s}static getNumDataCodewords(l,s){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");const s=[];for(let u=0;u<l-1;u++)s.push(0);s.push(1);let c=1;for(let u=0;u<l;u++){for(let d=0;d<s.length;d++)s[d]=t.reedSolomonMultiply(s[d],c),d+1<s.length&&(s[d]^=s[d+1]);c=t.reedSolomonMultiply(c,2)}return s}static reedSolomonComputeRemainder(l,s){const c=s.map(u=>0);for(const u of l){const d=u^c.shift();c.push(0),s.forEach((f,h)=>c[h]^=t.reedSolomonMultiply(f,d))}return c}static reedSolomonMultiply(l,s){if(l>>>8||s>>>8)throw new RangeError("Byte out of range");let c=0;for(let u=7;u>=0;u--)c=c<<1^(c>>>7)*285,c^=(s>>>u&1)*l;return r(c>>>8==0),c}finderPenaltyCountPatterns(l){const s=l[1];r(s<=this.size*3);const c=s>0&&l[2]==s&&l[3]==s*3&&l[4]==s&&l[5]==s;return(c&&l[0]>=s*4&&l[6]>=s?1:0)+(c&&l[6]>=s*4&&l[0]>=s?1:0)}finderPenaltyTerminateAndCount(l,s,c){return l&&(this.finderPenaltyAddHistory(s,c),s=0),s+=this.size,this.finderPenaltyAddHistory(s,c),this.finderPenaltyCountPatterns(c)}finderPenaltyAddHistory(l,s){s[0]==0&&(l+=this.size),s.pop(),s.unshift(l)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(a,l,s){if(l<0||l>31||a>>>l)throw new RangeError("Value out of range");for(let c=l-1;c>=0;c--)s.push(a>>>c&1)}function o(a,l){return(a>>>l&1)!=0}function r(a){if(!a)throw new Error("Assertion error")}class i{static makeBytes(l){const s=[];for(const c of l)n(c,8,s);return new i(i.Mode.BYTE,l.length,s)}static makeNumeric(l){if(!i.isNumeric(l))throw new RangeError("String contains non-numeric characters");const s=[];for(let c=0;c<l.length;){const u=Math.min(l.length-c,3);n(parseInt(l.substring(c,c+u),10),u*3+1,s),c+=u}return new i(i.Mode.NUMERIC,l.length,s)}static makeAlphanumeric(l){if(!i.isAlphanumeric(l))throw new RangeError("String contains unencodable characters in alphanumeric mode");const s=[];let c;for(c=0;c+2<=l.length;c+=2){let u=i.ALPHANUMERIC_CHARSET.indexOf(l.charAt(c))*45;u+=i.ALPHANUMERIC_CHARSET.indexOf(l.charAt(c+1)),n(u,11,s)}return c<l.length&&n(i.ALPHANUMERIC_CHARSET.indexOf(l.charAt(c)),6,s),new i(i.Mode.ALPHANUMERIC,l.length,s)}static makeSegments(l){return l==""?[]:i.isNumeric(l)?[i.makeNumeric(l)]:i.isAlphanumeric(l)?[i.makeAlphanumeric(l)]:[i.makeBytes(i.toUtf8ByteArray(l))]}static makeEci(l){const s=[];if(l<0)throw new RangeError("ECI assignment value out of range");if(l<128)n(l,8,s);else if(l<16384)n(2,2,s),n(l,14,s);else if(l<1e6)n(6,3,s),n(l,21,s);else throw new RangeError("ECI assignment value out of range");return new i(i.Mode.ECI,0,s)}static isNumeric(l){return i.NUMERIC_REGEX.test(l)}static isAlphanumeric(l){return i.ALPHANUMERIC_REGEX.test(l)}constructor(l,s,c){if(this.mode=l,this.numChars=s,this.bitData=c,s<0)throw new RangeError("Invalid argument");this.bitData=c.slice()}getData(){return this.bitData.slice()}static getTotalBits(l,s){let c=0;for(const u of l){const d=u.mode.numCharCountBits(s);if(u.numChars>=1<<d)return 1/0;c+=4+d+u.bitData.length}return c}static toUtf8ByteArray(l){l=encodeURI(l);const s=[];for(let c=0;c<l.length;c++)l.charAt(c)!="%"?s.push(l.charCodeAt(c)):(s.push(parseInt(l.substring(c+1,c+3),16)),c+=2);return s}}i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=i})(Bc||(Bc={}));(function(e){(function(t){class n{constructor(r,i){this.ordinal=r,this.formatBits=i}}n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(Bc||(Bc={}));(function(e){(function(t){class n{constructor(r,i){this.modeBits=r,this.numBitsCharCount=i}numCharCountBits(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(Bc||(Bc={}));const nd=Bc,uj={L:nd.QrCode.Ecc.LOW,M:nd.QrCode.Ecc.MEDIUM,Q:nd.QrCode.Ecc.QUARTILE,H:nd.QrCode.Ecc.HIGH},bw=128,dj="L",fj="#FFFFFF",pj="#000000",hj=!1,AMe=4,MMe=0,RMe=.1;function gj(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(o,r){let i=null;o.forEach(function(a,l){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${l-i}v1H${i+t}z`),i=null;return}if(l===o.length-1){if(!a)return;i===null?n.push(`M${l+t},${r+t} h1v1H${l+t}z`):n.push(`M${i+t},${r+t} h${l+1-i}v1H${i+t}z`);return}a&&i===null&&(i=l)})}),n.join("")}function vj(e,t){return e.slice().map((n,o)=>o<t.y||o>=t.y+t.h?n:n.map((r,i)=>i<t.x||i>=t.x+t.w?r:!1))}function mj(e,t,n,o){if(o==null)return null;const r=e.length+n*2,i=Math.floor(t*RMe),a=r/t,l=(o.width||i)*a,s=(o.height||i)*a,c=o.x==null?e.length/2-l/2:o.x*a,u=o.y==null?e.length/2-s/2:o.y*a;let d=null;if(o.excavate){const f=Math.floor(c),h=Math.floor(u),m=Math.ceil(l+c-f),v=Math.ceil(s+u-h);d={x:f,y:h,w:m,h:v}}return{x:c,y:u,h:s,w:l,excavation:d}}function bj(e,t){return t!=null?Math.floor(t):e?AMe:MMe}const DMe=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),LMe=pe({name:"QRCodeCanvas",inheritAttrs:!1,props:S(S({},aP()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:o}=t;const r=M(()=>{var s;return(s=e.imageSettings)===null||s===void 0?void 0:s.src}),i=ve(null),a=ve(null),l=ve(!1);return o({toDataURL:(s,c)=>{var u;return(u=i.value)===null||u===void 0?void 0:u.toDataURL(s,c)}}),ct(()=>{const{value:s,size:c=bw,level:u=dj,bgColor:d=fj,fgColor:f=pj,includeMargin:h=hj,marginSize:m,imageSettings:v}=e;if(i.value!=null){const y=i.value,b=y.getContext("2d");if(!b)return;let $=nd.QrCode.encodeText(s,uj[u]).getModules();const x=bj(h,m),_=$.length+x*2,w=mj($,c,x,v),I=a.value,O=l.value&&w!=null&&I!==null&&I.complete&&I.naturalHeight!==0&&I.naturalWidth!==0;O&&w.excavation!=null&&($=vj($,w.excavation));const P=window.devicePixelRatio||1;y.height=y.width=c*P;const E=c/_*P;b.scale(E,E),b.fillStyle=d,b.fillRect(0,0,_,_),b.fillStyle=f,DMe?b.fill(new Path2D(gj($,x))):$.forEach(function(R,A){R.forEach(function(N,F){N&&b.fillRect(F+x,A+x,1,1)})}),O&&b.drawImage(I,w.x+x,w.y+x,w.w,w.h)}},{flush:"post"}),Ie(r,()=>{l.value=!1}),()=>{var s;const c=(s=e.size)!==null&&s!==void 0?s:bw,u={height:`${c}px`,width:`${c}px`};let d=null;return r.value!=null&&(d=g("img",{src:r.value,key:r.value,style:{display:"none"},onLoad:()=>{l.value=!0},ref:a},null)),g(Je,null,[g("canvas",V(V({},n),{},{style:[u,n.style],ref:i}),null),d])}}}),NMe=pe({name:"QRCodeSVG",inheritAttrs:!1,props:S(S({},aP()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,o=null,r=null,i=null,a=null;return ct(()=>{const{value:l,size:s=bw,level:c=dj,includeMargin:u=hj,marginSize:d,imageSettings:f}=e;t=nd.QrCode.encodeText(l,uj[c]).getModules(),n=bj(u,d),o=t.length+n*2,r=mj(t,s,n,f),f!=null&&r!=null&&(r.excavation!=null&&(t=vj(t,r.excavation)),a=g("image",{"xlink:href":f.src,height:r.h,width:r.w,x:r.x+n,y:r.y+n,preserveAspectRatio:"none"},null)),i=gj(t,n)}),()=>{const l=e.bgColor&&fj,s=e.fgColor&&pj;return g("svg",{height:e.size,width:e.size,viewBox:`0 0 ${o} ${o}`},[!!e.title&&g("title",null,[e.title]),g("path",{fill:l,d:`M0,0 h${o}v${o}H0z`,"shape-rendering":"crispEdges"},null),g("path",{fill:s,d:i,"shape-rendering":"crispEdges"},null),a])}}}),kMe=pe({name:"AQrcode",inheritAttrs:!1,props:EMe(),emits:["refresh"],setup(e,t){let{emit:n,attrs:o,expose:r}=t;const[i]=Wi("QRCode"),{prefixCls:a}=Ve("qrcode",e),[l,s]=_Me(a),[,c]=Ol(),u=he();r({toDataURL:(f,h)=>{var m;return(m=u.value)===null||m===void 0?void 0:m.toDataURL(f,h)}});const d=M(()=>{const{value:f,icon:h="",size:m=160,iconSize:v=40,color:y=c.value.colorText,bgColor:b="transparent",errorLevel:$="M"}=e,x={src:h,x:void 0,y:void 0,height:v,width:v,excavate:!0};return{value:f,size:m-(c.value.paddingSM+c.value.lineWidth)*2,level:$,bgColor:b,fgColor:y,imageSettings:h?x:void 0}});return()=>{const f=a.value;return l(g("div",V(V({},o),{},{style:[o.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:d.value.bgColor}],class:[s.value,f,{[`${f}-borderless`]:!e.bordered}]}),[e.status!=="active"&&g("div",{class:`${f}-mask`},[e.status==="loading"&&g(Aa,null,null),e.status==="expired"&&g(Je,null,[g("p",{class:`${f}-expired`},[i.value.expired]),g(Un,{type:"link",onClick:h=>n("refresh",h)},{default:()=>[i.value.refresh],icon:()=>g(TMe,null,null)})]),e.status==="scanned"&&g("p",{class:`${f}-scanned`},[i.value.scanned])]),e.type==="canvas"?g(LMe,V({ref:u},d.value),null):g(NMe,d.value,null)]))}}}),BMe=$n(kMe);function FMe(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:r,bottom:i,left:a}=e.getBoundingClientRect();return o>=0&&a>=0&&r<=t&&i<=n}function HMe(e,t,n,o){const[r,i]=nn(void 0);ct(()=>{const u=typeof e.value=="function"?e.value():e.value;i(u||null)},{flush:"post"});const[a,l]=nn(null),s=()=>{if(!t.value){l(null);return}if(r.value){!FMe(r.value)&&t.value&&r.value.scrollIntoView(o.value);const{left:u,top:d,width:f,height:h}=r.value.getBoundingClientRect(),m={left:u,top:d,width:f,height:h,radius:0};JSON.stringify(a.value)!==JSON.stringify(m)&&l(m)}else l(null)};return lt(()=>{Ie([t,r],()=>{s()},{flush:"post",immediate:!0}),window.addEventListener("resize",s)}),Ct(()=>{window.removeEventListener("resize",s)}),[M(()=>{var u,d;if(!a.value)return a.value;const f=((u=n.value)===null||u===void 0?void 0:u.offset)||6,h=((d=n.value)===null||d===void 0?void 0:d.radius)||2;return{left:a.value.left-f,top:a.value.top-f,width:a.value.width+f*2,height:a.value.height+f*2,radius:h}}),r]}const zMe=()=>({arrow:rt([Boolean,Object]),target:rt([String,Function,Object]),title:rt([String,Object]),description:rt([String,Object]),placement:Qe(),mask:rt([Object,Boolean],!0),className:{type:String},style:qe(),scrollIntoViewOptions:rt([Boolean,Object])}),lP=()=>S(S({},zMe()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:Oe(),onFinish:Oe(),renderPanel:Oe(),onPrev:Oe(),onNext:Oe()}),jMe=pe({name:"DefaultPanel",inheritAttrs:!1,props:lP(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:o,current:r,total:i,title:a,description:l,onClose:s,onPrev:c,onNext:u,onFinish:d}=e;return g("div",V(V({},n),{},{class:me(`${o}-content`,n.class)}),[g("div",{class:`${o}-inner`},[g("button",{type:"button",onClick:s,"aria-label":"Close",class:`${o}-close`},[g("span",{class:`${o}-close-x`},[Do("×")])]),g("div",{class:`${o}-header`},[g("div",{class:`${o}-title`},[a])]),g("div",{class:`${o}-description`},[l]),g("div",{class:`${o}-footer`},[g("div",{class:`${o}-sliders`},[i>1?[...Array.from({length:i}).keys()].map((f,h)=>g("span",{key:f,class:h===r?"active":""},null)):null]),g("div",{class:`${o}-buttons`},[r!==0?g("button",{class:`${o}-prev-btn`,onClick:c},[Do("Prev")]):null,r===i-1?g("button",{class:`${o}-finish-btn`,onClick:d},[Do("Finish")]):g("button",{class:`${o}-next-btn`,onClick:u},[Do("Next")])])])])])}}}),WMe=jMe,VMe=pe({name:"TourStep",inheritAttrs:!1,props:lP(),setup(e,t){let{attrs:n}=t;return()=>{const{current:o,renderPanel:r}=e;return g(Je,null,[typeof r=="function"?r(S(S({},n),e),o):g(WMe,V(V({},n),e),null)])}}}),KMe=VMe;let FR=0;const UMe=ur();function GMe(){let e;return UMe?(e=FR,FR+=1):e="TEST_OR_SSR",e}function YMe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:he("");const t=`vc_unique_${GMe()}`;return e.value||t}const Kv={fill:"transparent","pointer-events":"auto"},XMe=pe({name:"TourMask",props:{prefixCls:{type:String},pos:qe(),rootClassName:{type:String},showMask:De(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:De(),animated:rt([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const o=YMe();return()=>{const{prefixCls:r,open:i,rootClassName:a,pos:l,showMask:s,fill:c,animated:u,zIndex:d}=e,f=`${r}-mask-${o}`,h=typeof u=="object"?u==null?void 0:u.placeholder:u;return g(Hh,{visible:i,autoLock:!0},{default:()=>i&&g("div",V(V({},n),{},{class:me(`${r}-mask`,a,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:"none"},n.style]}),[s?g("svg",{style:{width:"100%",height:"100%"}},[g("defs",null,[g("mask",{id:f},[g("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),l&&g("rect",{x:l.left,y:l.top,rx:l.radius,width:l.width,height:l.height,fill:"black",class:h?`${r}-placeholder-animated`:""},null)])]),g("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:c,mask:`url(#${f})`},null),l&&g(Je,null,[g("rect",V(V({},Kv),{},{x:"0",y:"0",width:"100%",height:l.top}),null),g("rect",V(V({},Kv),{},{x:"0",y:"0",width:l.left,height:"100%"}),null),g("rect",V(V({},Kv),{},{x:"0",y:l.top+l.height,width:"100%",height:`calc(100vh - ${l.top+l.height}px)`}),null),g("rect",V(V({},Kv),{},{x:l.left+l.width,y:"0",width:`calc(100vw - ${l.left+l.width}px)`,height:"100%"}),null)])]):null])})}}}),qMe=XMe,ZMe=[0,0],HR={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function yj(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(HR).forEach(n=>{t[n]=S(S({},HR[n]),{autoArrow:e,targetOffset:ZMe})}),t}yj();var QMe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const e$={left:"50%",top:"50%",width:"1px",height:"1px"},Sj=()=>{const{builtinPlacements:e,popupAlign:t}=Y7();return{builtinPlacements:e,popupAlign:t,steps:kt(),open:De(),defaultCurrent:{type:Number},current:{type:Number},onChange:Oe(),onClose:Oe(),onFinish:Oe(),mask:rt([Boolean,Object],!0),arrow:rt([Boolean,Object],!0),rootClassName:{type:String},placement:Qe("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:Oe(),gap:qe(),animated:rt([Boolean,Object]),scrollIntoViewOptions:rt([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},JMe=pe({name:"Tour",inheritAttrs:!1,props:bt(Sj(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:o,scrollIntoViewOptions:r,open:i,gap:a,arrow:l}=oa(e),s=he(),[c,u]=yn(0,{value:M(()=>e.current),defaultValue:t.value}),[d,f]=yn(void 0,{value:M(()=>e.open),postState:O=>c.value<0||c.value>=e.steps.length?!1:O??!0}),h=ve(d.value);ct(()=>{d.value&&!h.value&&u(0),h.value=d.value});const m=M(()=>e.steps[c.value]||{}),v=M(()=>{var O;return(O=m.value.placement)!==null&&O!==void 0?O:n.value}),y=M(()=>{var O;return d.value&&((O=m.value.mask)!==null&&O!==void 0?O:o.value)}),b=M(()=>{var O;return(O=m.value.scrollIntoViewOptions)!==null&&O!==void 0?O:r.value}),[$,x]=HMe(M(()=>m.value.target),i,a,b),_=M(()=>x.value?typeof m.value.arrow>"u"?l.value:m.value.arrow:!1),w=M(()=>typeof _.value=="object"?_.value.pointAtCenter:!1);Ie(w,()=>{var O;(O=s.value)===null||O===void 0||O.forcePopupAlign()}),Ie(c,()=>{var O;(O=s.value)===null||O===void 0||O.forcePopupAlign()});const I=O=>{var P;u(O),(P=e.onChange)===null||P===void 0||P.call(e,O)};return()=>{var O;const{prefixCls:P,steps:E,onClose:R,onFinish:A,rootClassName:N,renderPanel:F,animated:W,zIndex:D}=e,B=QMe(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(x.value===void 0)return null;const k=()=>{f(!1),R==null||R(c.value)},L=typeof y.value=="boolean"?y.value:!!y.value,z=typeof y.value=="boolean"?void 0:y.value,K=()=>x.value||document.body,G=()=>g(KMe,V({arrow:_.value,key:"content",prefixCls:P,total:E.length,renderPanel:F,onPrev:()=>{I(c.value-1)},onNext:()=>{I(c.value+1)},onClose:k,current:c.value,onFinish:()=>{k(),A==null||A()}},m.value),null),Y=M(()=>{const ne=$.value||e$,re={};return Object.keys(ne).forEach(J=>{typeof ne[J]=="number"?re[J]=`${ne[J]}px`:re[J]=ne[J]}),re});return d.value?g(Je,null,[g(qMe,{zIndex:D,prefixCls:P,pos:$.value,showMask:L,style:z==null?void 0:z.style,fill:z==null?void 0:z.color,open:d.value,animated:W,rootClassName:N},null),g(tu,V(V({},B),{},{builtinPlacements:m.value.target?(O=B.builtinPlacements)!==null&&O!==void 0?O:yj(w.value):void 0,ref:s,popupStyle:m.value.target?m.value.style:S(S({},m.value.style),{position:"fixed",left:e$.left,top:e$.top,transform:"translate(-50%, -50%)"}),popupPlacement:v.value,popupVisible:d.value,popupClassName:me(N,m.value.className),prefixCls:P,popup:G,forceRender:!1,destroyPopupOnHide:!0,zIndex:D,mask:!1,getTriggerDOMNode:K}),{default:()=>[g(Hh,{visible:d.value,autoLock:!0},{default:()=>[g("div",{class:me(N,`${P}-target-placeholder`),style:S(S({},Y.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),e6e=JMe,t6e=()=>S(S({},Sj()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),n6e=()=>S(S({},lP()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),o6e=pe({name:"ATourPanel",inheritAttrs:!1,props:n6e(),setup(e,t){let{attrs:n,slots:o}=t;const{current:r,total:i}=oa(e),a=M(()=>r.value===i.value-1),l=c=>{var u;const d=e.prevButtonProps;(u=e.onPrev)===null||u===void 0||u.call(e,c),typeof(d==null?void 0:d.onClick)=="function"&&(d==null||d.onClick())},s=c=>{var u,d;const f=e.nextButtonProps;a.value?(u=e.onFinish)===null||u===void 0||u.call(e,c):(d=e.onNext)===null||d===void 0||d.call(e,c),typeof(f==null?void 0:f.onClick)=="function"&&(f==null||f.onClick())};return()=>{const{prefixCls:c,title:u,onClose:d,cover:f,description:h,type:m,arrow:v}=e,y=e.prevButtonProps,b=e.nextButtonProps;let $;u&&($=g("div",{class:`${c}-header`},[g("div",{class:`${c}-title`},[u])]));let x;h&&(x=g("div",{class:`${c}-description`},[h]));let _;f&&(_=g("div",{class:`${c}-cover`},[f]));let w;o.indicatorsRender?w=o.indicatorsRender({current:r.value,total:i}):w=[...Array.from({length:i.value}).keys()].map((P,E)=>g("span",{key:P,class:me(E===r.value&&`${c}-indicator-active`,`${c}-indicator`)},null));const I=m==="primary"?"default":"primary",O={type:"default",ghost:m==="primary"};return g(Yc,{componentName:"Tour",defaultLocale:cr.Tour},{default:P=>{var E,R;return g("div",V(V({},n),{},{class:me(m==="primary"?`${c}-primary`:"",n.class,`${c}-content`)}),[v&&g("div",{class:`${c}-arrow`,key:"arrow"},null),g("div",{class:`${c}-inner`},[g(Vr,{class:`${c}-close`,onClick:d},null),_,$,x,g("div",{class:`${c}-footer`},[i.value>1&&g("div",{class:`${c}-indicators`},[w]),g("div",{class:`${c}-buttons`},[r.value!==0?g(Un,V(V(V({},O),y),{},{onClick:l,size:"small",class:me(`${c}-prev-btn`,y==null?void 0:y.className)}),{default:()=>[(E=y==null?void 0:y.children)!==null&&E!==void 0?E:P.Previous]}):null,g(Un,V(V({type:I},b),{},{onClick:s,size:"small",class:me(`${c}-next-btn`,b==null?void 0:b.className)}),{default:()=>[(R=b==null?void 0:b.children)!==null&&R!==void 0?R:a.value?P.Finish:P.Next]})])])])])}})}}}),r6e=o6e,i6e=e=>{let{defaultType:t,steps:n,current:o,defaultCurrent:r}=e;const i=he(r==null?void 0:r.value),a=M(()=>o==null?void 0:o.value);Ie(a,u=>{i.value=u??(r==null?void 0:r.value)},{immediate:!0});const l=u=>{i.value=u},s=M(()=>{var u,d;return typeof i.value=="number"?n&&((d=(u=n.value)===null||u===void 0?void 0:u[i.value])===null||d===void 0?void 0:d.type):t==null?void 0:t.value});return{currentMergedType:M(()=>{var u;return(u=s.value)!==null&&u!==void 0?u:t==null?void 0:t.value}),updateInnerCurrent:l}},a6e=e=>{const{componentCls:t,lineHeight:n,padding:o,paddingXS:r,borderRadius:i,borderRadiusXS:a,colorPrimary:l,colorText:s,colorFill:c,indicatorHeight:u,indicatorWidth:d,boxShadowTertiary:f,tourZIndexPopup:h,fontSize:m,colorBgContainer:v,fontWeightStrong:y,marginXS:b,colorTextLightSolid:$,tourBorderRadius:x,colorWhite:_,colorBgTextHover:w,tourCloseSize:I,motionDurationSlow:O,antCls:P}=e;return[{[t]:S(S({},vt(e)),{color:s,position:"absolute",zIndex:h,display:"block",visibility:"visible",fontSize:m,lineHeight:n,width:520,"--antd-arrow-background-color":v,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:x,boxShadow:f,position:"relative",backgroundColor:v,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,outline:"none",width:I,height:I,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${o+I+r}px ${o}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${o}px ${o}px ${r}px`,[`${t}-title`]:{lineHeight:n,fontSize:m,fontWeight:y}},[`${t}-description`]:{padding:`0 ${o}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${r}px ${o}px ${o}px`,textAlign:"end",borderRadius:`0 0 ${a}px ${a}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:d,height:u,display:"inline-block",borderRadius:"50%",background:c,"&:not(:last-child)":{marginInlineEnd:u},"&-active":{background:l}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${P}-btn`]:{marginInlineStart:b}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":l,[`${t}-inner`]:{color:$,textAlign:"start",textDecoration:"none",backgroundColor:l,borderRadius:i,boxShadow:f,[`${t}-close`]:{color:$},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new Zt($).setAlpha(.15).toRgbString(),"&-active":{background:$}}},[`${t}-prev-btn`]:{color:$,borderColor:new Zt($).setAlpha(.15).toRgbString(),backgroundColor:l,"&:hover":{backgroundColor:new Zt($).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:l,borderColor:"transparent",background:_,"&:hover":{background:new Zt(w).onBackground(_).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${O}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(x,K_)}}},U_(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:x,limitVerticalRadius:!0})]},l6e=pt("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:o}=e,r=nt(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*o});return[a6e(r)]});var s6e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const c6e=pe({name:"ATour",inheritAttrs:!1,props:t6e(),setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{current:i,type:a,steps:l,defaultCurrent:s}=oa(e),{prefixCls:c,direction:u}=Ve("tour",e),[d,f]=l6e(c),{currentMergedType:h,updateInnerCurrent:m}=i6e({defaultType:a,steps:l,current:i,defaultCurrent:s});return()=>{const{steps:v,current:y,type:b,rootClassName:$}=e,x=s6e(e,["steps","current","type","rootClassName"]),_=me({[`${c.value}-primary`]:h.value==="primary",[`${c.value}-rtl`]:u.value==="rtl"},f.value,$),w=(P,E)=>g(r6e,V(V({},P),{},{type:b,current:E}),{indicatorsRender:r.indicatorsRender}),I=P=>{m(P),o("update:current",P),o("change",P)},O=M(()=>V_({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return d(g(e6e,V(V(V({},n),x),{},{rootClassName:_,prefixCls:c.value,current:y,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:w,onChange:I,steps:v,builtinPlacements:O.value}),null))}}}),u6e=$n(c6e),Cj=Symbol("appConfigContext"),d6e=e=>ft(Cj,e),f6e=()=>it(Cj,{}),$j=Symbol("appContext"),p6e=e=>ft($j,e),h6e=St({message:{},notification:{},modal:{}}),g6e=()=>it($j,h6e),v6e=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:r,fontFamily:i}=e;return{[t]:{color:n,fontSize:o,lineHeight:r,fontFamily:i}}},m6e=pt("App",e=>[v6e(e)]),b6e=()=>({rootClassName:String,message:qe(),notification:qe()}),y6e=()=>g6e(),Lp=pe({name:"AApp",props:bt(b6e(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ve("app",e),[r,i]=m6e(o),a=M(()=>me(i.value,o.value,e.rootClassName)),l=f6e(),s=M(()=>({message:S(S({},l.message),e.message),notification:S(S({},l.notification),e.notification)}));d6e(s.value);const[c,u]=BF(s.value.message),[d,f]=qF(s.value.notification),[h,m]=rz(),v=M(()=>({message:c,notification:d,modal:h}));return p6e(v.value),()=>{var y;return r(g("div",{class:a.value},[m(),u(),f(),(y=n.default)===null||y===void 0?void 0:y.call(n)]))}}});Lp.useApp=y6e;Lp.install=function(e){e.component(Lp.name,Lp)};const S6e=Lp,xj=["wrap","nowrap","wrap-reverse"],wj=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],_j=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],C6e=(e,t)=>{const n={};return xj.forEach(o=>{n[`${e}-wrap-${o}`]=t.wrap===o}),n},$6e=(e,t)=>{const n={};return _j.forEach(o=>{n[`${e}-align-${o}`]=t.align===o}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},x6e=(e,t)=>{const n={};return wj.forEach(o=>{n[`${e}-justify-${o}`]=t.justify===o}),n};function w6e(e,t){return me(S(S(S({},C6e(e,t)),$6e(e,t)),x6e(e,t)))}const _6e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},O6e=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},I6e=e=>{const{componentCls:t}=e,n={};return xj.forEach(o=>{n[`${t}-wrap-${o}`]={flexWrap:o}}),n},P6e=e=>{const{componentCls:t}=e,n={};return _j.forEach(o=>{n[`${t}-align-${o}`]={alignItems:o}}),n},T6e=e=>{const{componentCls:t}=e,n={};return wj.forEach(o=>{n[`${t}-justify-${o}`]={justifyContent:o}}),n},E6e=pt("Flex",e=>{const t=nt(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[_6e(t),O6e(t),I6e(t),P6e(t),T6e(t)]});function zR(e){return["small","middle","large"].includes(e)}const A6e=()=>({prefixCls:Qe(),vertical:De(),wrap:Qe(),justify:Qe(),align:Qe(),flex:rt([Number,String]),gap:rt([Number,String]),component:cn()});var M6e=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const R6e=pe({name:"AFlex",inheritAttrs:!1,props:A6e(),setup(e,t){let{slots:n,attrs:o}=t;const{flex:r,direction:i}=Bb(),{prefixCls:a}=Ve("flex",e),[l,s]=E6e(a),c=M(()=>{var u;return[a.value,s.value,w6e(a.value,e),{[`${a.value}-rtl`]:i.value==="rtl",[`${a.value}-gap-${e.gap}`]:zR(e.gap),[`${a.value}-vertical`]:(u=e.vertical)!==null&&u!==void 0?u:r==null?void 0:r.value.vertical}]});return()=>{var u;const{flex:d,gap:f,component:h="div"}=e,m=M6e(e,["flex","gap","component"]),v={};return d&&(v.flex=d),f&&!zR(f)&&(v.gap=`${f}px`),l(g(h,V({class:[o.class,c.value],style:[o.style,v]},_t(m,["justify","wrap","align","vertical"])),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),D6e=$n(R6e),jR=Object.freeze(Object.defineProperty({__proto__:null,Affix:R7,Alert:$he,Anchor:fc,AnchorLink:H2,App:S6e,AutoComplete:Vpe,AutoCompleteOptGroup:Wpe,AutoCompleteOption:jpe,Avatar:wc,AvatarGroup:w0,BackTop:K0,Badge:xp,BadgeRibbon:_0,Breadcrumb:_c,BreadcrumbItem:ph,BreadcrumbSeparator:M0,Button:Un,ButtonGroup:E0,Calendar:v0e,Card:hd,CardGrid:k0,CardMeta:N0,Carousel:vye,Cascader:FSe,CheckableTag:z0,Checkbox:Ri,CheckboxGroup:H0,Col:KSe,Collapse:_p,CollapsePanel:B0,Comment:qSe,Compact:$0,ConfigProvider:qO,DatePicker:S$e,Descriptions:A$e,DescriptionsItem:hH,DirectoryTree:km,Divider:N$e,Drawer:exe,Dropdown:Ta,DropdownButton:fh,Empty:cs,Flex:D6e,FloatButton:Ss,FloatButtonGroup:V0,Form:us,FormItem:TF,FormItemRest:y0,Grid:VSe,Image:zwe,ImagePreviewGroup:BH,Input:uo,InputGroup:_H,InputNumber:r2e,InputPassword:PH,InputSearch:OH,Layout:S2e,LayoutContent:y2e,LayoutFooter:m2e,LayoutHeader:v2e,LayoutSider:b2e,List:c_e,ListItem:VH,ListItemMeta:jH,LocaleProvider:RF,Mentions:E_e,MentionsOption:Rm,Menu:qn,MenuDivider:gh,MenuItem:Ea,MenuItemGroup:hh,Modal:wo,MonthPicker:wm,PageHeader:fOe,Pagination:Wy,Popconfirm:bOe,Popover:G_,Progress:II,QRCode:BMe,QuarterPicker:_m,Radio:yr,RadioButton:D0,RadioGroup:wO,RangePicker:Om,Rate:lIe,Result:PIe,Row:TIe,Segmented:xMe,Select:Cl,SelectOptGroup:Fpe,SelectOption:Bpe,Skeleton:or,SkeletonAvatar:DO,SkeletonButton:AO,SkeletonImage:RO,SkeletonInput:MO,SkeletonTitle:Oy,Slider:YIe,Space:sz,Spin:Aa,Statistic:dl,StatisticCountdown:G_e,Step:Dm,Steps:fPe,SubMenu:Lc,Switch:$Pe,TabPane:L0,Table:g4e,TableColumn:Fm,TableColumnGroup:Hm,TableSummary:zm,TableSummaryCell:Z0,TableSummaryRow:q0,Tabs:Oc,Tag:aH,Textarea:aI,TimePicker:p3e,TimeRangePicker:jm,Timeline:Dp,TimelineItem:$h,Tooltip:Br,Tour:u6e,Transfer:z4e,Tree:Uz,TreeNode:Bm,TreeSelect:d3e,TreeSelectNode:mw,Typography:Dr,TypographyLink:ZI,TypographyParagraph:QI,TypographyText:JI,TypographyTitle:eP,Upload:aMe,UploadDragger:iMe,Watermark:hMe,WeekPicker:xm,message:GO,notification:YO},Symbol.toStringTag,{value:"Module"})),L6e=function(e){return Object.keys(jR).forEach(t=>{const n=jR[t];n.install&&e.use(n)}),e.use(vne.StyleProvider),e.config.globalProperties.$message=GO,e.config.globalProperties.$notification=YO,e.config.globalProperties.$info=wo.info,e.config.globalProperties.$success=wo.success,e.config.globalProperties.$error=wo.error,e.config.globalProperties.$warning=wo.warning,e.config.globalProperties.$confirm=wo.confirm,e.config.globalProperties.$destroyAll=wo.destroyAll,e},N6e={version:b7,install:L6e};/*!
+ * vue-router v4.2.5
+ * (c) 2023 Eduardo San Martin Morote
+ * @license MIT
+ */const Gu=typeof window<"u";function k6e(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const mn=Object.assign;function t$(e,t){const n={};for(const o in t){const r=t[o];n[o]=ca(r)?r.map(e):e(r)}return n}const Np=()=>{},ca=Array.isArray,B6e=/\/$/,F6e=e=>e.replace(B6e,"");function n$(e,t,n="/"){let o,r={},i="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return l<s&&l>=0&&(s=-1),s>-1&&(o=t.slice(0,s),i=t.slice(s+1,l>-1?l:t.length),r=e(i)),l>-1&&(o=o||t.slice(0,l),a=t.slice(l,t.length)),o=W6e(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function H6e(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function WR(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function z6e(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&kd(t.matched[o],n.matched[r])&&Oj(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kd(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Oj(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!j6e(e[n],t[n]))return!1;return!0}function j6e(e,t){return ca(e)?VR(e,t):ca(t)?VR(t,e):e===t}function VR(e,t){return ca(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function W6e(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,l;for(a=0;a<o.length;a++)if(l=o[a],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var xh;(function(e){e.pop="pop",e.push="push"})(xh||(xh={}));var kp;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kp||(kp={}));function V6e(e){if(!e)if(Gu){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),F6e(e)}const K6e=/^[^#]+#/;function U6e(e,t){return e.replace(K6e,"#")+t}function G6e(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const e1=()=>({left:window.pageXOffset,top:window.pageYOffset});function Y6e(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=G6e(r,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 KR(e,t){return(history.state?history.state.position-t:-1)+e}const yw=new Map;function X6e(e,t){yw.set(e,t)}function q6e(e){const t=yw.get(e);return yw.delete(e),t}let Z6e=()=>location.protocol+"//"+location.host;function Ij(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,s=r.slice(l);return s[0]!=="/"&&(s="/"+s),WR(s,"")}return WR(n,e)+o+r}function Q6e(e,t,n,o){let r=[],i=[],a=null;const l=({state:f})=>{const h=Ij(e,location),m=n.value,v=t.value;let y=0;if(f){if(n.value=h,t.value=f,a&&a===m){a=null;return}y=v?f.position-v.position:0}else o(h);r.forEach(b=>{b(n.value,m,{delta:y,type:xh.pop,direction:y?y>0?kp.forward:kp.back:kp.unknown})})};function s(){a=n.value}function c(f){r.push(f);const h=()=>{const m=r.indexOf(f);m>-1&&r.splice(m,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(mn({},f.state,{scroll:e1()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:s,listen:c,destroy:d}}function UR(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?e1():null}}function J6e(e){const{history:t,location:n}=window,o={value:Ij(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:Z6e()+e+s;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function a(s,c){const u=mn({},t.state,UR(r.value.back,s,r.value.forward,!0),c,{position:r.value.position});i(s,u,!0),o.value=s}function l(s,c){const u=mn({},r.value,t.state,{forward:s,scroll:e1()});i(u.current,u,!0);const d=mn({},UR(o.value,s,null),{position:u.position+1},c);i(s,d,!1),o.value=s}return{location:o,state:r,push:l,replace:a}}function e8e(e){e=V6e(e);const t=J6e(e),n=Q6e(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=mn({location:"",base:e,go:o,createHref:U6e.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function t8e(e){return typeof e=="string"||e&&typeof e=="object"}function Pj(e){return typeof e=="string"||typeof e=="symbol"}const Xl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Tj=Symbol("");var GR;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(GR||(GR={}));function Bd(e,t){return mn(new Error,{type:e,[Tj]:!0},t)}function tl(e,t){return e instanceof Error&&Tj in e&&(t==null||!!(e.type&t))}const YR="[^/]+?",n8e={sensitive:!1,strict:!1,start:!0,end:!0},o8e=/[.+*?^${}()[\]/\\]/g;function r8e(e,t){const n=mn({},n8e,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(o8e,"\\$&"),h+=40;else if(f.type===1){const{value:m,repeatable:v,optional:y,regexp:b}=f;i.push({name:m,repeatable:v,optional:y});const $=b||YR;if($!==YR){h+=10;try{new RegExp(`(${$})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${m}" (${$}): `+_.message)}}let x=v?`((?:${$})(?:/(?:${$}))*)`:`(${$})`;d||(x=y&&c.length<2?`(?:/${x})`:"/"+x),y&&(x+="?"),r+=x,h+=20,y&&(h+=-8),v&&(h+=-20),$===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(a),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",m=i[f-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function s(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:v,optional:y}=h,b=m in c?c[m]:"";if(ca(b)&&!v)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const $=ca(b)?b.join("/"):b;if(!$)if(y)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=$}}return u||"/"}return{re:a,score:o,keys:i,parse:l,stringify:s}}function i8e(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function a8e(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const i=i8e(o[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-o.length)===1){if(XR(o))return 1;if(XR(r))return-1}return r.length-o.length}function XR(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const l8e={type:0,value:""},s8e=/[a-zA-Z0-9_]/;function c8e(e){if(!e)return[[]];if(e==="/")return[[l8e]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let l=0,s,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:s==="/"?(c&&d(),a()):s===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:s==="("?n=2:s8e.test(s)?f():(d(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case 2:s===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function u8e(e,t,n){const o=r8e(c8e(e.path),n),r=mn(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function d8e(e,t){const n=[],o=new Map;t=QR({strict:!1,end:!0,sensitive:!1},t);function r(u){return o.get(u)}function i(u,d,f){const h=!f,m=f8e(u);m.aliasOf=f&&f.record;const v=QR(t,u),y=[m];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const _ of x)y.push(mn({},m,{components:f?f.record.components:m.components,path:_,aliasOf:f?f.record:m}))}let b,$;for(const x of y){const{path:_}=x;if(d&&_[0]!=="/"){const w=d.record.path,I=w[w.length-1]==="/"?"":"/";x.path=d.record.path+(_&&I+_)}if(b=u8e(x,d,v),f?f.alias.push(b):($=$||b,$!==b&&$.alias.push(b),h&&u.name&&!ZR(b)&&a(u.name)),m.children){const w=m.children;for(let I=0;I<w.length;I++)i(w[I],b,f&&f.children[I])}f=f||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&s(b)}return $?()=>{a($)}:Np}function a(u){if(Pj(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function l(){return n}function s(u){let d=0;for(;d<n.length&&a8e(u,n[d])>=0&&(u.record.path!==n[d].record.path||!Ej(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!ZR(u)&&o.set(u.record.name,u)}function c(u,d){let f,h={},m,v;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw Bd(1,{location:u});v=f.record.name,h=mn(qR(d.params,f.keys.filter($=>!$.optional).map($=>$.name)),u.params&&qR(u.params,f.keys.map($=>$.name))),m=f.stringify(h)}else if("path"in u)m=u.path,f=n.find($=>$.re.test(m)),f&&(h=f.parse(m),v=f.record.name);else{if(f=d.name?o.get(d.name):n.find($=>$.re.test(d.path)),!f)throw Bd(1,{location:u,currentLocation:d});v=f.record.name,h=mn({},d.params,u.params),m=f.stringify(h)}const y=[];let b=f;for(;b;)y.unshift(b.record),b=b.parent;return{name:v,path:m,params:h,matched:y,meta:h8e(y)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:l,getRecordMatcher:r}}function qR(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function f8e(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:p8e(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function p8e(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function ZR(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function h8e(e){return e.reduce((t,n)=>mn(t,n.meta),{})}function QR(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ej(e,t){return t.children.some(n=>n===e||Ej(e,n))}const Aj=/#/g,g8e=/&/g,v8e=/\//g,m8e=/=/g,b8e=/\?/g,Mj=/\+/g,y8e=/%5B/g,S8e=/%5D/g,Rj=/%5E/g,C8e=/%60/g,Dj=/%7B/g,$8e=/%7C/g,Lj=/%7D/g,x8e=/%20/g;function sP(e){return encodeURI(""+e).replace($8e,"|").replace(y8e,"[").replace(S8e,"]")}function w8e(e){return sP(e).replace(Dj,"{").replace(Lj,"}").replace(Rj,"^")}function Sw(e){return sP(e).replace(Mj,"%2B").replace(x8e,"+").replace(Aj,"%23").replace(g8e,"%26").replace(C8e,"`").replace(Dj,"{").replace(Lj,"}").replace(Rj,"^")}function _8e(e){return Sw(e).replace(m8e,"%3D")}function O8e(e){return sP(e).replace(Aj,"%23").replace(b8e,"%3F")}function I8e(e){return e==null?"":O8e(e).replace(v8e,"%2F")}function Q0(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function P8e(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const i=o[r].replace(Mj," "),a=i.indexOf("="),l=Q0(a<0?i:i.slice(0,a)),s=a<0?null:Q0(i.slice(a+1));if(l in t){let c=t[l];ca(c)||(c=t[l]=[c]),c.push(s)}else t[l]=s}return t}function JR(e){let t="";for(let n in e){const o=e[n];if(n=_8e(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(ca(o)?o.map(i=>i&&Sw(i)):[o&&Sw(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function T8e(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=ca(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const E8e=Symbol(""),e5=Symbol(""),t1=Symbol(""),cP=Symbol(""),Cw=Symbol("");function Yf(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ls(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const s=d=>{d===!1?l(Bd(4,{from:n,to:t})):d instanceof Error?l(d):t8e(d)?l(Bd(2,{from:t,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},c=e.call(o&&o.instances[r],t,n,s);let u=Promise.resolve(c);e.length<3&&(u=u.then(s)),u.catch(d=>l(d))})}function o$(e,t,n,o){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(A8e(l)){const c=(l.__vccOpts||l)[t];c&&r.push(ls(c,n,o,i,a))}else{let s=l();r.push(()=>s.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=k6e(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&ls(f,n,o,i,a)()}))}}return r}function A8e(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function t5(e){const t=it(t1),n=it(cP),o=M(()=>t.resolve(It(e.to))),r=M(()=>{const{matched:s}=o.value,{length:c}=s,u=s[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(kd.bind(null,u));if(f>-1)return f;const h=n5(s[c-2]);return c>1&&n5(u)===h&&d[d.length-1].path!==h?d.findIndex(kd.bind(null,s[c-2])):f}),i=M(()=>r.value>-1&&L8e(n.params,o.value.params)),a=M(()=>r.value>-1&&r.value===n.matched.length-1&&Oj(n.params,o.value.params));function l(s={}){return D8e(s)?t[It(e.replace)?"replace":"push"](It(e.to)).catch(Np):Promise.resolve()}return{route:o,href:M(()=>o.value.href),isActive:i,isExactActive:a,navigate:l}}const M8e=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:t5,setup(e,{slots:t}){const n=St(t5(e)),{options:o}=it(t1),r=M(()=>({[o5(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[o5(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ni("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),R8e=M8e;function D8e(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function L8e(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!ca(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function n5(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const o5=(e,t,n)=>e??t??n,N8e=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=it(Cw),r=M(()=>e.route||o.value),i=it(e5,0),a=M(()=>{let c=It(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=M(()=>r.value.matched[a.value]);ft(e5,M(()=>a.value+1)),ft(E8e,l),ft(Cw,r);const s=he();return Ie(()=>[s.value,l.value,e.name],([c,u,d],[f,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!kd(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=l.value,f=d&&d.components[u];if(!f)return r5(n.default,{Component:f,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,y=Ni(f,mn({},m,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:s}));return r5(n.default,{Component:y,route:c})||y}}});function r5(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Nj=N8e;function k8e(e){const t=d8e(e.routes,e),n=e.parseQuery||P8e,o=e.stringifyQuery||JR,r=e.history,i=Yf(),a=Yf(),l=Yf(),s=ve(Xl);let c=Xl;Gu&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=t$.bind(null,ee=>""+ee),d=t$.bind(null,I8e),f=t$.bind(null,Q0);function h(ee,fe){let ie,X;return Pj(ee)?(ie=t.getRecordMatcher(ee),X=fe):X=ee,t.addRoute(X,ie)}function m(ee){const fe=t.getRecordMatcher(ee);fe&&t.removeRoute(fe)}function v(){return t.getRoutes().map(ee=>ee.record)}function y(ee){return!!t.getRecordMatcher(ee)}function b(ee,fe){if(fe=mn({},fe||s.value),typeof ee=="string"){const j=n$(n,ee,fe.path),q=t.resolve({path:j.path},fe),se=r.createHref(j.fullPath);return mn(j,q,{params:f(q.params),hash:Q0(j.hash),redirectedFrom:void 0,href:se})}let ie;if("path"in ee)ie=mn({},ee,{path:n$(n,ee.path,fe.path).path});else{const j=mn({},ee.params);for(const q in j)j[q]==null&&delete j[q];ie=mn({},ee,{params:d(j)}),fe.params=d(fe.params)}const X=t.resolve(ie,fe),ue=ee.hash||"";X.params=u(f(X.params));const ye=H6e(o,mn({},ee,{hash:w8e(ue),path:X.path})),H=r.createHref(ye);return mn({fullPath:ye,hash:ue,query:o===JR?T8e(ee.query):ee.query||{}},X,{redirectedFrom:void 0,href:H})}function $(ee){return typeof ee=="string"?n$(n,ee,s.value.path):mn({},ee)}function x(ee,fe){if(c!==ee)return Bd(8,{from:fe,to:ee})}function _(ee){return O(ee)}function w(ee){return _(mn($(ee),{replace:!0}))}function I(ee){const fe=ee.matched[ee.matched.length-1];if(fe&&fe.redirect){const{redirect:ie}=fe;let X=typeof ie=="function"?ie(ee):ie;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=$(X):{path:X},X.params={}),mn({query:ee.query,hash:ee.hash,params:"path"in X?{}:ee.params},X)}}function O(ee,fe){const ie=c=b(ee),X=s.value,ue=ee.state,ye=ee.force,H=ee.replace===!0,j=I(ie);if(j)return O(mn($(j),{state:typeof j=="object"?mn({},ue,j.state):ue,force:ye,replace:H}),fe||ie);const q=ie;q.redirectedFrom=fe;let se;return!ye&&z6e(o,X,ie)&&(se=Bd(16,{to:q,from:X}),G(X,X,!0,!1)),(se?Promise.resolve(se):R(q,X)).catch(ae=>tl(ae)?tl(ae,2)?ae:K(ae):L(ae,q,X)).then(ae=>{if(ae){if(tl(ae,2))return O(mn({replace:H},$(ae.to),{state:typeof ae.to=="object"?mn({},ue,ae.to.state):ue,force:ye}),fe||q)}else ae=N(q,X,!0,H,ue);return A(q,X,ae),ae})}function P(ee,fe){const ie=x(ee,fe);return ie?Promise.reject(ie):Promise.resolve()}function E(ee){const fe=re.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(ee):ee()}function R(ee,fe){let ie;const[X,ue,ye]=B8e(ee,fe);ie=o$(X.reverse(),"beforeRouteLeave",ee,fe);for(const j of X)j.leaveGuards.forEach(q=>{ie.push(ls(q,ee,fe))});const H=P.bind(null,ee,fe);return ie.push(H),te(ie).then(()=>{ie=[];for(const j of i.list())ie.push(ls(j,ee,fe));return ie.push(H),te(ie)}).then(()=>{ie=o$(ue,"beforeRouteUpdate",ee,fe);for(const j of ue)j.updateGuards.forEach(q=>{ie.push(ls(q,ee,fe))});return ie.push(H),te(ie)}).then(()=>{ie=[];for(const j of ye)if(j.beforeEnter)if(ca(j.beforeEnter))for(const q of j.beforeEnter)ie.push(ls(q,ee,fe));else ie.push(ls(j.beforeEnter,ee,fe));return ie.push(H),te(ie)}).then(()=>(ee.matched.forEach(j=>j.enterCallbacks={}),ie=o$(ye,"beforeRouteEnter",ee,fe),ie.push(H),te(ie))).then(()=>{ie=[];for(const j of a.list())ie.push(ls(j,ee,fe));return ie.push(H),te(ie)}).catch(j=>tl(j,8)?j:Promise.reject(j))}function A(ee,fe,ie){l.list().forEach(X=>E(()=>X(ee,fe,ie)))}function N(ee,fe,ie,X,ue){const ye=x(ee,fe);if(ye)return ye;const H=fe===Xl,j=Gu?history.state:{};ie&&(X||H?r.replace(ee.fullPath,mn({scroll:H&&j&&j.scroll},ue)):r.push(ee.fullPath,ue)),s.value=ee,G(ee,fe,ie,H),K()}let F;function W(){F||(F=r.listen((ee,fe,ie)=>{if(!J.listening)return;const X=b(ee),ue=I(X);if(ue){O(mn(ue,{replace:!0}),X).catch(Np);return}c=X;const ye=s.value;Gu&&X6e(KR(ye.fullPath,ie.delta),e1()),R(X,ye).catch(H=>tl(H,12)?H:tl(H,2)?(O(H.to,X).then(j=>{tl(j,20)&&!ie.delta&&ie.type===xh.pop&&r.go(-1,!1)}).catch(Np),Promise.reject()):(ie.delta&&r.go(-ie.delta,!1),L(H,X,ye))).then(H=>{H=H||N(X,ye,!1),H&&(ie.delta&&!tl(H,8)?r.go(-ie.delta,!1):ie.type===xh.pop&&tl(H,20)&&r.go(-1,!1)),A(X,ye,H)}).catch(Np)}))}let D=Yf(),B=Yf(),k;function L(ee,fe,ie){K(ee);const X=B.list();return X.length?X.forEach(ue=>ue(ee,fe,ie)):console.error(ee),Promise.reject(ee)}function z(){return k&&s.value!==Xl?Promise.resolve():new Promise((ee,fe)=>{D.add([ee,fe])})}function K(ee){return k||(k=!ee,W(),D.list().forEach(([fe,ie])=>ee?ie(ee):fe()),D.reset()),ee}function G(ee,fe,ie,X){const{scrollBehavior:ue}=e;if(!Gu||!ue)return Promise.resolve();const ye=!ie&&q6e(KR(ee.fullPath,0))||(X||!ie)&&history.state&&history.state.scroll||null;return wt().then(()=>ue(ee,fe,ye)).then(H=>H&&Y6e(H)).catch(H=>L(H,ee,fe))}const Y=ee=>r.go(ee);let ne;const re=new Set,J={currentRoute:s,listening:!0,addRoute:h,removeRoute:m,hasRoute:y,getRoutes:v,resolve:b,options:e,push:_,replace:w,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:B.add,isReady:z,install(ee){const fe=this;ee.component("RouterLink",R8e),ee.component("RouterView",Nj),ee.config.globalProperties.$router=fe,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>It(s)}),Gu&&!ne&&s.value===Xl&&(ne=!0,_(r.location).catch(ue=>{}));const ie={};for(const ue in Xl)Object.defineProperty(ie,ue,{get:()=>s.value[ue],enumerable:!0});ee.provide(t1,fe),ee.provide(cP,HL(ie)),ee.provide(Cw,s);const X=ee.unmount;re.add(ee),ee.unmount=function(){re.delete(ee),re.size<1&&(c=Xl,F&&F(),F=null,s.value=Xl,ne=!1,k=!1),X()}}};function te(ee){return ee.reduce((fe,ie)=>fe.then(()=>E(ie)),Promise.resolve())}return J}function B8e(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const l=t.matched[a];l&&(e.matched.find(c=>kd(c,l))?o.push(l):n.push(l));const s=e.matched[a];s&&(t.matched.find(c=>kd(c,s))||r.push(s))}return[n,o,r]}function kj(){return it(t1)}function Ml(){return it(cP)}const F8e="modulepreload",H8e=function(e){return"/admin/"+e},i5={},Ht=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");r=Promise.all(n.map(a=>{if(a=H8e(a),a in i5)return;i5[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!o)for(let d=i.length-1;d>=0;d--){const f=i[d];if(f.href===a&&(!l||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":F8e,l||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),l)return new Promise((d,f)=>{u.addEventListener("load",d),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},Bp=/^[a-z0-9]+(-[a-z0-9]+)*$/,n1=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),s=r.pop(),c={provider:r.length>0?r[0]:o,prefix:s,name:l};return t&&!Km(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const l={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!Km(l)?null:l}if(n&&o===""){const l={provider:o,prefix:"",name:i};return t&&!Km(l,n)?null:l}return null},Km=(e,t)=>e?!!((e.provider===""||e.provider.match(Bp))&&(t&&e.prefix===""||e.prefix.match(Bp))&&e.name.match(Bp)):!1,Bj=Object.freeze({left:0,top:0,width:16,height:16}),J0=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),o1=Object.freeze({...Bj,...J0}),$w=Object.freeze({...o1,body:"",hidden:!1});function z8e(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function a5(e,t){const n=z8e(e,t);for(const o in $w)o in J0?o in e&&!(o in n)&&(n[o]=J0[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function j8e(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const l=o[a]&&o[a].parent,s=l&&i(l);s&&(r[a]=[l].concat(s))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function W8e(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(l){i=a5(o[l]||r[l],i)}return a(t),n.forEach(a),a5(e,i)}function Fj(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=j8e(e);for(const r in o){const i=o[r];i&&(t(r,W8e(e,r,i)),n.push(r))}return n}const V8e={provider:"",aliases:{},not_found:{},...Bj};function r$(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Hj(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!r$(e,V8e))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Bp)||typeof i.body!="string"||!r$(i,$w))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Bp)||typeof a!="string"||!n[a]&&!o[a]||!r$(i,$w))return null}return t}const l5=Object.create(null);function K8e(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Fc(e,t){const n=l5[e]||(l5[e]=Object.create(null));return n[t]||(n[t]=K8e(e,t))}function uP(e,t){return Hj(t)?Fj(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function U8e(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let wh=!1;function zj(e){return typeof e=="boolean"&&(wh=e),wh}function G8e(e){const t=typeof e=="string"?n1(e,!0,wh):e;if(t){const n=Fc(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function Y8e(e,t){const n=n1(e,!0,wh);if(!n)return!1;const o=Fc(n.provider,n.prefix);return U8e(o,n.name,t)}function X8e(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),wh&&!t&&!e.prefix){let r=!1;return Hj(e)&&(e.prefix="",Fj(e,(i,a)=>{a&&Y8e(i,a)&&(r=!0)})),r}const n=e.prefix;if(!Km({provider:t,prefix:n,name:"a"}))return!1;const o=Fc(t,n);return!!uP(o,e)}const jj=Object.freeze({width:null,height:null}),Wj=Object.freeze({...jj,...J0}),q8e=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Z8e=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function s5(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(q8e);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=Z8e.test(i);for(;;){if(a){const l=parseFloat(i);isNaN(l)?r.push(i):r.push(Math.ceil(l*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}const Q8e=e=>e==="unset"||e==="undefined"||e==="none";function J8e(e,t){const n={...o1,...e},o={...Wj,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(m=>{const v=[],y=m.hFlip,b=m.vFlip;let $=m.rotate;y?b?$+=2:(v.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),v.push("scale(-1 1)"),r.top=r.left=0):b&&(v.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),v.push("scale(1 -1)"),r.top=r.left=0);let x;switch($<0&&($-=Math.floor($/4)*4),$=$%4,$){case 1:x=r.height/2+r.top,v.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:v.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:x=r.width/2+r.left,v.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}$%2===1&&(r.left!==r.top&&(x=r.left,r.left=r.top,r.top=x),r.width!==r.height&&(x=r.width,r.width=r.height,r.height=x)),v.length&&(i='<g transform="'+v.join(" ")+'">'+i+"</g>")});const a=o.width,l=o.height,s=r.width,c=r.height;let u,d;a===null?(d=l===null?"1em":l==="auto"?c:l,u=s5(d,s/c)):(u=a==="auto"?s:a,d=l===null?s5(u,c/s):l==="auto"?c:l);const f={},h=(m,v)=>{Q8e(v)||(f[m]=v.toString())};return h("width",u),h("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:f,body:i}}const eRe=/\sid="(\S+)"/g,tRe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let nRe=0;function oRe(e,t=tRe){const n=[];let o;for(;o=eRe.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(nRe++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const xw=Object.create(null);function rRe(e,t){xw[e]=t}function ww(e){return xw[e]||xw[""]}function dP(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const fP=Object.create(null),Xf=["https://api.simplesvg.com","https://api.unisvg.com"],Um=[];for(;Xf.length>0;)Xf.length===1||Math.random()>.5?Um.push(Xf.shift()):Um.push(Xf.pop());fP[""]=dP({resources:["https://api.iconify.design"].concat(Um)});function iRe(e,t){const n=dP(t);return n===null?!1:(fP[e]=n,!0)}function pP(e){return fP[e]}const aRe=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let c5=aRe();function lRe(e,t){const n=pP(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function sRe(e){return e===404}const cRe=(e,t,n)=>{const o=[],r=lRe(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((s,c)=>{l+=s.length+1,l>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},l=s.length),a.icons.push(s)}),o.push(a),o};function uRe(e){if(typeof e=="string"){const t=pP(e);if(t)return t.path}return"/"}const dRe=(e,t,n)=>{if(!c5){n("abort",424);return}let o=uRe(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),s=new URLSearchParams({icons:l});o+=i+".json?"+s.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;c5(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(sRe(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},fRe={prepare:cRe,send:dRe};function pRe(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,l=r.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Fc(i,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:l};u.push(d)}),t}function Vj(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function hRe(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,l=a.pending.length;a.pending=a.pending.filter(s=>{if(s.prefix!==r)return!0;const c=s.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||Vj([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let gRe=0;function vRe(e,t,n){const o=gRe++,r=Vj.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function mRe(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?n1(r,t,n):r;i&&o.push(i)}),o}var bRe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function yRe(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let I=e.resources.slice(0);for(a=[];I.length>1;){const O=Math.floor(Math.random()*I.length);a.push(I[O]),I=I.slice(0,O).concat(I.slice(O+1))}a=a.concat(I)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let s="pending",c=0,u,d=null,f=[],h=[];typeof o=="function"&&h.push(o);function m(){d&&(clearTimeout(d),d=null)}function v(){s==="pending"&&(s="aborted"),m(),f.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),f=[]}function y(I,O){O&&(h=[]),typeof I=="function"&&h.push(I)}function b(){return{startTime:l,payload:t,status:s,queriesSent:c,queriesPending:f.length,subscribe:y,abort:v}}function $(){s="failed",h.forEach(I=>{I(void 0,u)})}function x(){f.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),f=[]}function _(I,O,P){const E=O!=="success";switch(f=f.filter(R=>R!==I),s){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){u=P,$();return}if(E){u=P,f.length||(a.length?w():$());return}if(m(),x(),!e.random){const R=e.resources.indexOf(I.resource);R!==-1&&R!==e.index&&(e.index=R)}s="completed",h.forEach(R=>{R(P)})}function w(){if(s!=="pending")return;m();const I=a.shift();if(I===void 0){if(f.length){d=setTimeout(()=>{m(),s==="pending"&&(x(),$())},e.timeout);return}$();return}const O={status:"pending",resource:I,callback:(P,E)=>{_(O,P,E)}};f.push(O),c++,d=setTimeout(w,e.rotate),n(I,t,O.callback)}return setTimeout(w),b}function Kj(e){const t={...bRe,...e};let n=[];function o(){n=n.filter(l=>l().status==="pending")}function r(l,s,c){const u=yRe(t,l,s,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(l){return n.find(s=>l(s))||null}return{query:r,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:o}}function u5(){}const i$=Object.create(null);function SRe(e){if(!i$[e]){const t=pP(e);if(!t)return;const n=Kj(t),o={config:t,redundancy:n};i$[e]=o}return i$[e]}function CRe(e,t,n){let o,r;if(typeof e=="string"){const i=ww(e);if(!i)return n(void 0,424),u5;r=i.send;const a=SRe(e);a&&(o=a.redundancy)}else{const i=dP(e);if(i){o=Kj(i);const a=e.resources?e.resources[0]:"",l=ww(a);l&&(r=l.send)}}return!o||!r?(n(void 0,424),u5):o.query(t,r,n)().abort}const d5="iconify2",_h="iconify",Uj=_h+"-count",f5=_h+"-version",Gj=36e5,$Re=168;function _w(e,t){try{return e.getItem(t)}catch{}}function hP(e,t,n){try{return e.setItem(t,n),!0}catch{}}function p5(e,t){try{e.removeItem(t)}catch{}}function Ow(e,t){return hP(e,Uj,t.toString())}function Iw(e){return parseInt(_w(e,Uj))||0}const r1={local:!0,session:!0},Yj={local:new Set,session:new Set};let gP=!1;function xRe(e){gP=e}let Uv=typeof window>"u"?{}:window;function Xj(e){const t=e+"Storage";try{if(Uv&&Uv[t]&&typeof Uv[t].length=="number")return Uv[t]}catch{}r1[e]=!1}function qj(e,t){const n=Xj(e);if(!n)return;const o=_w(n,f5);if(o!==d5){if(o){const l=Iw(n);for(let s=0;s<l;s++)p5(n,_h+s.toString())}hP(n,f5,d5),Ow(n,0);return}const r=Math.floor(Date.now()/Gj)-$Re,i=l=>{const s=_h+l.toString(),c=_w(n,s);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}p5(n,s)}};let a=Iw(n);for(let l=a-1;l>=0;l--)i(l)||(l===a-1?(a--,Ow(n,a)):Yj[e].add(l))}function Zj(){if(!gP){xRe(!0);for(const e in r1)qj(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Fc(o,r);if(!uP(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function wRe(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in r1)qj(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function _Re(e,t){gP||Zj();function n(o){let r;if(!r1[o]||!(r=Xj(o)))return;const i=Yj[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Iw(r),!Ow(r,a+1))return;const l={cached:Math.floor(Date.now()/Gj),provider:e.provider,data:t};return hP(r,_h+a.toString(),JSON.stringify(l))}t.lastModified&&!wRe(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function h5(){}function ORe(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,hRe(e)}))}function IRe(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=ww(n)))return;i.prepare(n,o,r).forEach(l=>{CRe(n,l,s=>{if(typeof s!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=uP(e,s);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),_Re(e,s)}catch(c){console.error(c)}ORe(e)})})}))}const PRe=(e,t)=>{const n=mRe(e,!0,zj()),o=pRe(n);if(!o.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(o.loaded,o.missing,o.pending,h5)}),()=>{s=!1}}const r=Object.create(null),i=[];let a,l;return o.pending.forEach(s=>{const{provider:c,prefix:u}=s;if(u===l&&c===a)return;a=c,l=u,i.push(Fc(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(s=>{const{provider:c,prefix:u,name:d}=s,f=Fc(c,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),r[c][u].push(d))}),i.forEach(s=>{const{provider:c,prefix:u}=s;r[c][u].length&&IRe(s,r[c][u])}),t?vRe(t,o,i):h5};function TRe(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in jj?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const ERe=/[\s,]+/;function ARe(e,t){t.split(ERe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function MRe(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function RRe(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function DRe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function LRe(e){return"data:image/svg+xml,"+DRe(e)}function NRe(e){return'url("'+LRe(e)+'")'}const g5={...Wj,inline:!1},kRe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},BRe={display:"inline-block"},Pw={backgroundColor:"currentColor"},Qj={backgroundColor:"transparent"},v5={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},m5={webkitMask:Pw,mask:Pw,background:Qj};for(const e in m5){const t=m5[e];for(const n in v5)t[e+n]=v5[n]}const Gm={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Gm[e+"-flip"]=t,Gm[e.slice(0,1)+"-flip"]=t,Gm[e+"Flip"]=t});function b5(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const y5=(e,t)=>{const n=TRe(g5,t),o={...kRe},r=t.mode||"svg",i={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in t){const y=t[v];if(y!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=y===!0||y==="true"||y===1;break;case"flip":typeof y=="string"&&ARe(n,y);break;case"color":i.color=y;break;case"rotate":typeof y=="string"?n[v]=MRe(y):typeof y=="number"&&(n[v]=y);break;case"ariaHidden":case"aria-hidden":y!==!0&&y!=="true"&&delete o["aria-hidden"];break;default:{const b=Gm[v];b?(y===!0||y==="true"||y===1)&&(n[b]=!0):g5[v]===void 0&&(o[v]=y)}}}const s=J8e(e,n),c=s.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...l},Object.assign(o,c);let v=0,y=t.id;return typeof y=="string"&&(y=y.replace(/-/g,"_")),o.innerHTML=oRe(s.body,y?()=>y+"ID"+v++:"iconifyVue"),Ni("svg",o)}const{body:u,width:d,height:f}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),m=RRe(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":NRe(m),width:b5(c.width),height:b5(c.height),...BRe,...h?Pw:Qj,...l},Ni("span",o)};zj(!0);rRe("",fRe);if(typeof document<"u"&&typeof window<"u"){Zj();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!X8e(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;iRe(n,r)||console.error(o)}catch{console.error(o)}}}}const FRe={...o1,body:""},S5=pe({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=n1(e,!1,!0))===null)return this.abortLoading(),null;const o=G8e(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:PRe([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return y5(FRe,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),y5({...o1,...t.data},n)}});var eb={exports:{}};/**
+ * @license
+ * Lodash <https://lodash.com/>
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
+ * Released under MIT license <https://lodash.com/license>
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */eb.exports;(function(e,t){(function(){var n,o="4.17.21",r=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",s="__lodash_hash_undefined__",c=500,u="__lodash_placeholder__",d=1,f=2,h=4,m=1,v=2,y=1,b=2,$=4,x=8,_=16,w=32,I=64,O=128,P=256,E=512,R=30,A="...",N=800,F=16,W=1,D=2,B=3,k=1/0,L=9007199254740991,z=17976931348623157e292,K=NaN,G=4294967295,Y=G-1,ne=G>>>1,re=[["ary",O],["bind",y],["bindKey",b],["curry",x],["curryRight",_],["flip",E],["partial",w],["partialRight",I],["rearg",P]],J="[object Arguments]",te="[object Array]",ee="[object AsyncFunction]",fe="[object Boolean]",ie="[object Date]",X="[object DOMException]",ue="[object Error]",ye="[object Function]",H="[object GeneratorFunction]",j="[object Map]",q="[object Number]",se="[object Null]",ae="[object Object]",ge="[object Promise]",Se="[object Proxy]",$e="[object RegExp]",_e="[object Set]",be="[object String]",Te="[object Symbol]",Pe="[object Undefined]",oe="[object WeakMap]",le="[object WeakSet]",xe="[object ArrayBuffer]",Ae="[object DataView]",Be="[object Float32Array]",Ye="[object Float64Array]",Re="[object Int8Array]",Le="[object Int16Array]",Ne="[object Int32Array]",Ke="[object Uint8Array]",Ze="[object Uint8ClampedArray]",Ue="[object Uint16Array]",Xe="[object Uint32Array]",xt=/\b__p \+= '';/g,Mt=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jt=/&(?:amp|lt|gt|quot|#39);/g,Yt=/[&<>"']/g,Vn=RegExp(jt.source),Gn=RegExp(Yt.source),oo=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,yo=/<%=([\s\S]+?)%>/g,Yo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wr=/^\w*$/,Ur=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ao=/[\\^$.*+?()[\]{}|]/g,za=RegExp(Ao.source),We=/^\s+/,gt=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,un=/\{\n\/\* \[wrapped with (.+)\] \*/,Yn=/,? & /,Bn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xo=/[()=,{}\[\]\/\s]/,So=/\\(\\)?/g,hi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qo=/\w*$/,_r=/^[-+]0x[0-9a-f]+$/i,Cn=/^0b[01]+$/i,Gr=/^\[object .+?Constructor\]$/,Or=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zo=/($^)/,Ll=/['\n\r\u2028\u2029\\]/g,Qo="\\ud800-\\udfff",yf="\\u0300-\\u036f",m1="\\ufe20-\\ufe2f",b1="\\u20d0-\\u20ff",cg=yf+m1+b1,ug="\\u2700-\\u27bf",Sf="a-z\\xdf-\\xf6\\xf8-\\xff",y1="\\xac\\xb1\\xd7\\xf7",ks="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dg="\\u2000-\\u206f",S1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fg="A-Z\\xc0-\\xd6\\xd8-\\xde",pg="\\ufe0e\\ufe0f",Cf=y1+ks+dg+S1,du="['’]",hg="["+Qo+"]",fu="["+Cf+"]",Nl="["+cg+"]",gg="\\d+",Jo="["+ug+"]",Ki="["+Sf+"]",$f="[^"+Qo+Cf+gg+ug+Sf+fg+"]",Bs="\\ud83c[\\udffb-\\udfff]",ga="(?:"+Nl+"|"+Bs+")",vg="[^"+Qo+"]",mg="(?:\\ud83c[\\udde6-\\uddff]){2}",Fs="[\\ud800-\\udbff][\\udc00-\\udfff]",ja="["+fg+"]",xf="\\u200d",pu="(?:"+Ki+"|"+$f+")",HV="(?:"+ja+"|"+$f+")",rT="(?:"+du+"(?:d|ll|m|re|s|t|ve))?",iT="(?:"+du+"(?:D|LL|M|RE|S|T|VE))?",aT=ga+"?",lT="["+pg+"]?",zV="(?:"+xf+"(?:"+[vg,mg,Fs].join("|")+")"+lT+aT+")*",jV="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",WV="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",sT=lT+aT+zV,VV="(?:"+[Jo,mg,Fs].join("|")+")"+sT,KV="(?:"+[vg+Nl+"?",Nl,mg,Fs,hg].join("|")+")",UV=RegExp(du,"g"),GV=RegExp(Nl,"g"),C1=RegExp(Bs+"(?="+Bs+")|"+KV+sT,"g"),YV=RegExp([ja+"?"+Ki+"+"+rT+"(?="+[fu,ja,"$"].join("|")+")",HV+"+"+iT+"(?="+[fu,ja+pu,"$"].join("|")+")",ja+"?"+pu+"+"+rT,ja+"+"+iT,WV,jV,gg,VV].join("|"),"g"),XV=RegExp("["+xf+Qo+cg+pg+"]"),qV=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ZV=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],QV=-1,En={};En[Be]=En[Ye]=En[Re]=En[Le]=En[Ne]=En[Ke]=En[Ze]=En[Ue]=En[Xe]=!0,En[J]=En[te]=En[xe]=En[fe]=En[Ae]=En[ie]=En[ue]=En[ye]=En[j]=En[q]=En[ae]=En[$e]=En[_e]=En[be]=En[oe]=!1;var On={};On[J]=On[te]=On[xe]=On[Ae]=On[fe]=On[ie]=On[Be]=On[Ye]=On[Re]=On[Le]=On[Ne]=On[j]=On[q]=On[ae]=On[$e]=On[_e]=On[be]=On[Te]=On[Ke]=On[Ze]=On[Ue]=On[Xe]=!0,On[ue]=On[ye]=On[oe]=!1;var JV={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},eK={"&":"&","<":"<",">":">",'"':""","'":"'"},tK={"&":"&","<":"<",">":">",""":'"',"'":"'"},nK={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oK=parseFloat,rK=parseInt,cT=typeof Lr=="object"&&Lr&&Lr.Object===Object&&Lr,iK=typeof self=="object"&&self&&self.Object===Object&&self,Ho=cT||iK||Function("return this")(),$1=t&&!t.nodeType&&t,Hs=$1&&!0&&e&&!e.nodeType&&e,uT=Hs&&Hs.exports===$1,x1=uT&&cT.process,gi=function(){try{var Ee=Hs&&Hs.require&&Hs.require("util").types;return Ee||x1&&x1.binding&&x1.binding("util")}catch{}}(),dT=gi&&gi.isArrayBuffer,fT=gi&&gi.isDate,pT=gi&&gi.isMap,hT=gi&&gi.isRegExp,gT=gi&&gi.isSet,vT=gi&&gi.isTypedArray;function Yr(Ee,He,ke){switch(ke.length){case 0:return Ee.call(He);case 1:return Ee.call(He,ke[0]);case 2:return Ee.call(He,ke[0],ke[1]);case 3:return Ee.call(He,ke[0],ke[1],ke[2])}return Ee.apply(He,ke)}function aK(Ee,He,ke,dt){for(var Wt=-1,fn=Ee==null?0:Ee.length;++Wt<fn;){var Co=Ee[Wt];He(dt,Co,ke(Co),Ee)}return dt}function vi(Ee,He){for(var ke=-1,dt=Ee==null?0:Ee.length;++ke<dt&&He(Ee[ke],ke,Ee)!==!1;);return Ee}function lK(Ee,He){for(var ke=Ee==null?0:Ee.length;ke--&&He(Ee[ke],ke,Ee)!==!1;);return Ee}function mT(Ee,He){for(var ke=-1,dt=Ee==null?0:Ee.length;++ke<dt;)if(!He(Ee[ke],ke,Ee))return!1;return!0}function kl(Ee,He){for(var ke=-1,dt=Ee==null?0:Ee.length,Wt=0,fn=[];++ke<dt;){var Co=Ee[ke];He(Co,ke,Ee)&&(fn[Wt++]=Co)}return fn}function bg(Ee,He){var ke=Ee==null?0:Ee.length;return!!ke&&hu(Ee,He,0)>-1}function w1(Ee,He,ke){for(var dt=-1,Wt=Ee==null?0:Ee.length;++dt<Wt;)if(ke(He,Ee[dt]))return!0;return!1}function Fn(Ee,He){for(var ke=-1,dt=Ee==null?0:Ee.length,Wt=Array(dt);++ke<dt;)Wt[ke]=He(Ee[ke],ke,Ee);return Wt}function Bl(Ee,He){for(var ke=-1,dt=He.length,Wt=Ee.length;++ke<dt;)Ee[Wt+ke]=He[ke];return Ee}function _1(Ee,He,ke,dt){var Wt=-1,fn=Ee==null?0:Ee.length;for(dt&&fn&&(ke=Ee[++Wt]);++Wt<fn;)ke=He(ke,Ee[Wt],Wt,Ee);return ke}function sK(Ee,He,ke,dt){var Wt=Ee==null?0:Ee.length;for(dt&&Wt&&(ke=Ee[--Wt]);Wt--;)ke=He(ke,Ee[Wt],Wt,Ee);return ke}function O1(Ee,He){for(var ke=-1,dt=Ee==null?0:Ee.length;++ke<dt;)if(He(Ee[ke],ke,Ee))return!0;return!1}var cK=I1("length");function uK(Ee){return Ee.split("")}function dK(Ee){return Ee.match(Bn)||[]}function bT(Ee,He,ke){var dt;return ke(Ee,function(Wt,fn,Co){if(He(Wt,fn,Co))return dt=fn,!1}),dt}function yg(Ee,He,ke,dt){for(var Wt=Ee.length,fn=ke+(dt?1:-1);dt?fn--:++fn<Wt;)if(He(Ee[fn],fn,Ee))return fn;return-1}function hu(Ee,He,ke){return He===He?xK(Ee,He,ke):yg(Ee,yT,ke)}function fK(Ee,He,ke,dt){for(var Wt=ke-1,fn=Ee.length;++Wt<fn;)if(dt(Ee[Wt],He))return Wt;return-1}function yT(Ee){return Ee!==Ee}function ST(Ee,He){var ke=Ee==null?0:Ee.length;return ke?T1(Ee,He)/ke:K}function I1(Ee){return function(He){return He==null?n:He[Ee]}}function P1(Ee){return function(He){return Ee==null?n:Ee[He]}}function CT(Ee,He,ke,dt,Wt){return Wt(Ee,function(fn,Co,xn){ke=dt?(dt=!1,fn):He(ke,fn,Co,xn)}),ke}function pK(Ee,He){var ke=Ee.length;for(Ee.sort(He);ke--;)Ee[ke]=Ee[ke].value;return Ee}function T1(Ee,He){for(var ke,dt=-1,Wt=Ee.length;++dt<Wt;){var fn=He(Ee[dt]);fn!==n&&(ke=ke===n?fn:ke+fn)}return ke}function E1(Ee,He){for(var ke=-1,dt=Array(Ee);++ke<Ee;)dt[ke]=He(ke);return dt}function hK(Ee,He){return Fn(He,function(ke){return[ke,Ee[ke]]})}function $T(Ee){return Ee&&Ee.slice(0,OT(Ee)+1).replace(We,"")}function Xr(Ee){return function(He){return Ee(He)}}function A1(Ee,He){return Fn(He,function(ke){return Ee[ke]})}function wf(Ee,He){return Ee.has(He)}function xT(Ee,He){for(var ke=-1,dt=Ee.length;++ke<dt&&hu(He,Ee[ke],0)>-1;);return ke}function wT(Ee,He){for(var ke=Ee.length;ke--&&hu(He,Ee[ke],0)>-1;);return ke}function gK(Ee,He){for(var ke=Ee.length,dt=0;ke--;)Ee[ke]===He&&++dt;return dt}var vK=P1(JV),mK=P1(eK);function bK(Ee){return"\\"+nK[Ee]}function yK(Ee,He){return Ee==null?n:Ee[He]}function gu(Ee){return XV.test(Ee)}function SK(Ee){return qV.test(Ee)}function CK(Ee){for(var He,ke=[];!(He=Ee.next()).done;)ke.push(He.value);return ke}function M1(Ee){var He=-1,ke=Array(Ee.size);return Ee.forEach(function(dt,Wt){ke[++He]=[Wt,dt]}),ke}function _T(Ee,He){return function(ke){return Ee(He(ke))}}function Fl(Ee,He){for(var ke=-1,dt=Ee.length,Wt=0,fn=[];++ke<dt;){var Co=Ee[ke];(Co===He||Co===u)&&(Ee[ke]=u,fn[Wt++]=ke)}return fn}function Sg(Ee){var He=-1,ke=Array(Ee.size);return Ee.forEach(function(dt){ke[++He]=dt}),ke}function $K(Ee){var He=-1,ke=Array(Ee.size);return Ee.forEach(function(dt){ke[++He]=[dt,dt]}),ke}function xK(Ee,He,ke){for(var dt=ke-1,Wt=Ee.length;++dt<Wt;)if(Ee[dt]===He)return dt;return-1}function wK(Ee,He,ke){for(var dt=ke+1;dt--;)if(Ee[dt]===He)return dt;return dt}function vu(Ee){return gu(Ee)?OK(Ee):cK(Ee)}function Ui(Ee){return gu(Ee)?IK(Ee):uK(Ee)}function OT(Ee){for(var He=Ee.length;He--&>.test(Ee.charAt(He)););return He}var _K=P1(tK);function OK(Ee){for(var He=C1.lastIndex=0;C1.test(Ee);)++He;return He}function IK(Ee){return Ee.match(C1)||[]}function PK(Ee){return Ee.match(YV)||[]}var TK=function Ee(He){He=He==null?Ho:mu.defaults(Ho.Object(),He,mu.pick(Ho,ZV));var ke=He.Array,dt=He.Date,Wt=He.Error,fn=He.Function,Co=He.Math,xn=He.Object,R1=He.RegExp,EK=He.String,mi=He.TypeError,Cg=ke.prototype,AK=fn.prototype,bu=xn.prototype,$g=He["__core-js_shared__"],xg=AK.toString,vn=bu.hasOwnProperty,MK=0,IT=function(){var p=/[^.]+$/.exec($g&&$g.keys&&$g.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}(),wg=bu.toString,RK=xg.call(xn),DK=Ho._,LK=R1("^"+xg.call(vn).replace(Ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_g=uT?He.Buffer:n,Hl=He.Symbol,Og=He.Uint8Array,PT=_g?_g.allocUnsafe:n,Ig=_T(xn.getPrototypeOf,xn),TT=xn.create,ET=bu.propertyIsEnumerable,Pg=Cg.splice,AT=Hl?Hl.isConcatSpreadable:n,_f=Hl?Hl.iterator:n,zs=Hl?Hl.toStringTag:n,Tg=function(){try{var p=Us(xn,"defineProperty");return p({},"",{}),p}catch{}}(),NK=He.clearTimeout!==Ho.clearTimeout&&He.clearTimeout,kK=dt&&dt.now!==Ho.Date.now&&dt.now,BK=He.setTimeout!==Ho.setTimeout&&He.setTimeout,Eg=Co.ceil,Ag=Co.floor,D1=xn.getOwnPropertySymbols,FK=_g?_g.isBuffer:n,MT=He.isFinite,HK=Cg.join,zK=_T(xn.keys,xn),$o=Co.max,er=Co.min,jK=dt.now,WK=He.parseInt,RT=Co.random,VK=Cg.reverse,L1=Us(He,"DataView"),Of=Us(He,"Map"),N1=Us(He,"Promise"),yu=Us(He,"Set"),If=Us(He,"WeakMap"),Pf=Us(xn,"create"),Mg=If&&new If,Su={},KK=Gs(L1),UK=Gs(Of),GK=Gs(N1),YK=Gs(yu),XK=Gs(If),Rg=Hl?Hl.prototype:n,Tf=Rg?Rg.valueOf:n,DT=Rg?Rg.toString:n;function ce(p){if(Xn(p)&&!Kt(p)&&!(p instanceof on)){if(p instanceof bi)return p;if(vn.call(p,"__wrapped__"))return LE(p)}return new bi(p)}var Cu=function(){function p(){}return function(C){if(!Kn(C))return{};if(TT)return TT(C);p.prototype=C;var T=new p;return p.prototype=n,T}}();function Dg(){}function bi(p,C){this.__wrapped__=p,this.__actions__=[],this.__chain__=!!C,this.__index__=0,this.__values__=n}ce.templateSettings={escape:oo,evaluate:kn,interpolate:yo,variable:"",imports:{_:ce}},ce.prototype=Dg.prototype,ce.prototype.constructor=ce,bi.prototype=Cu(Dg.prototype),bi.prototype.constructor=bi;function on(p){this.__wrapped__=p,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=G,this.__views__=[]}function qK(){var p=new on(this.__wrapped__);return p.__actions__=Ir(this.__actions__),p.__dir__=this.__dir__,p.__filtered__=this.__filtered__,p.__iteratees__=Ir(this.__iteratees__),p.__takeCount__=this.__takeCount__,p.__views__=Ir(this.__views__),p}function ZK(){if(this.__filtered__){var p=new on(this);p.__dir__=-1,p.__filtered__=!0}else p=this.clone(),p.__dir__*=-1;return p}function QK(){var p=this.__wrapped__.value(),C=this.__dir__,T=Kt(p),U=C<0,Q=T?p.length:0,de=uG(0,Q,this.__views__),Ce=de.start,we=de.end,Me=we-Ce,ze=U?we:Ce-1,je=this.__iteratees__,Ge=je.length,ot=0,yt=er(Me,this.__takeCount__);if(!T||!U&&Q==Me&&yt==Me)return rE(p,this.__actions__);var Et=[];e:for(;Me--&&ot<yt;){ze+=C;for(var Qt=-1,At=p[ze];++Qt<Ge;){var tn=je[Qt],sn=tn.iteratee,Qr=tn.type,vr=sn(At);if(Qr==D)At=vr;else if(!vr){if(Qr==W)continue e;break e}}Et[ot++]=At}return Et}on.prototype=Cu(Dg.prototype),on.prototype.constructor=on;function js(p){var C=-1,T=p==null?0:p.length;for(this.clear();++C<T;){var U=p[C];this.set(U[0],U[1])}}function JK(){this.__data__=Pf?Pf(null):{},this.size=0}function eU(p){var C=this.has(p)&&delete this.__data__[p];return this.size-=C?1:0,C}function tU(p){var C=this.__data__;if(Pf){var T=C[p];return T===s?n:T}return vn.call(C,p)?C[p]:n}function nU(p){var C=this.__data__;return Pf?C[p]!==n:vn.call(C,p)}function oU(p,C){var T=this.__data__;return this.size+=this.has(p)?0:1,T[p]=Pf&&C===n?s:C,this}js.prototype.clear=JK,js.prototype.delete=eU,js.prototype.get=tU,js.prototype.has=nU,js.prototype.set=oU;function Wa(p){var C=-1,T=p==null?0:p.length;for(this.clear();++C<T;){var U=p[C];this.set(U[0],U[1])}}function rU(){this.__data__=[],this.size=0}function iU(p){var C=this.__data__,T=Lg(C,p);if(T<0)return!1;var U=C.length-1;return T==U?C.pop():Pg.call(C,T,1),--this.size,!0}function aU(p){var C=this.__data__,T=Lg(C,p);return T<0?n:C[T][1]}function lU(p){return Lg(this.__data__,p)>-1}function sU(p,C){var T=this.__data__,U=Lg(T,p);return U<0?(++this.size,T.push([p,C])):T[U][1]=C,this}Wa.prototype.clear=rU,Wa.prototype.delete=iU,Wa.prototype.get=aU,Wa.prototype.has=lU,Wa.prototype.set=sU;function Va(p){var C=-1,T=p==null?0:p.length;for(this.clear();++C<T;){var U=p[C];this.set(U[0],U[1])}}function cU(){this.size=0,this.__data__={hash:new js,map:new(Of||Wa),string:new js}}function uU(p){var C=Gg(this,p).delete(p);return this.size-=C?1:0,C}function dU(p){return Gg(this,p).get(p)}function fU(p){return Gg(this,p).has(p)}function pU(p,C){var T=Gg(this,p),U=T.size;return T.set(p,C),this.size+=T.size==U?0:1,this}Va.prototype.clear=cU,Va.prototype.delete=uU,Va.prototype.get=dU,Va.prototype.has=fU,Va.prototype.set=pU;function Ws(p){var C=-1,T=p==null?0:p.length;for(this.__data__=new Va;++C<T;)this.add(p[C])}function hU(p){return this.__data__.set(p,s),this}function gU(p){return this.__data__.has(p)}Ws.prototype.add=Ws.prototype.push=hU,Ws.prototype.has=gU;function Gi(p){var C=this.__data__=new Wa(p);this.size=C.size}function vU(){this.__data__=new Wa,this.size=0}function mU(p){var C=this.__data__,T=C.delete(p);return this.size=C.size,T}function bU(p){return this.__data__.get(p)}function yU(p){return this.__data__.has(p)}function SU(p,C){var T=this.__data__;if(T instanceof Wa){var U=T.__data__;if(!Of||U.length<r-1)return U.push([p,C]),this.size=++T.size,this;T=this.__data__=new Va(U)}return T.set(p,C),this.size=T.size,this}Gi.prototype.clear=vU,Gi.prototype.delete=mU,Gi.prototype.get=bU,Gi.prototype.has=yU,Gi.prototype.set=SU;function LT(p,C){var T=Kt(p),U=!T&&Ys(p),Q=!T&&!U&&Kl(p),de=!T&&!U&&!Q&&_u(p),Ce=T||U||Q||de,we=Ce?E1(p.length,EK):[],Me=we.length;for(var ze in p)(C||vn.call(p,ze))&&!(Ce&&(ze=="length"||Q&&(ze=="offset"||ze=="parent")||de&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||Ya(ze,Me)))&&we.push(ze);return we}function NT(p){var C=p.length;return C?p[G1(0,C-1)]:n}function CU(p,C){return Yg(Ir(p),Vs(C,0,p.length))}function $U(p){return Yg(Ir(p))}function k1(p,C,T){(T!==n&&!Yi(p[C],T)||T===n&&!(C in p))&&Ka(p,C,T)}function Ef(p,C,T){var U=p[C];(!(vn.call(p,C)&&Yi(U,T))||T===n&&!(C in p))&&Ka(p,C,T)}function Lg(p,C){for(var T=p.length;T--;)if(Yi(p[T][0],C))return T;return-1}function xU(p,C,T,U){return zl(p,function(Q,de,Ce){C(U,Q,T(Q),Ce)}),U}function kT(p,C){return p&&ma(C,Mo(C),p)}function wU(p,C){return p&&ma(C,Tr(C),p)}function Ka(p,C,T){C=="__proto__"&&Tg?Tg(p,C,{configurable:!0,enumerable:!0,value:T,writable:!0}):p[C]=T}function B1(p,C){for(var T=-1,U=C.length,Q=ke(U),de=p==null;++T<U;)Q[T]=de?n:bS(p,C[T]);return Q}function Vs(p,C,T){return p===p&&(T!==n&&(p=p<=T?p:T),C!==n&&(p=p>=C?p:C)),p}function yi(p,C,T,U,Q,de){var Ce,we=C&d,Me=C&f,ze=C&h;if(T&&(Ce=Q?T(p,U,Q,de):T(p)),Ce!==n)return Ce;if(!Kn(p))return p;var je=Kt(p);if(je){if(Ce=fG(p),!we)return Ir(p,Ce)}else{var Ge=tr(p),ot=Ge==ye||Ge==H;if(Kl(p))return lE(p,we);if(Ge==ae||Ge==J||ot&&!Q){if(Ce=Me||ot?{}:OE(p),!we)return Me?tG(p,wU(Ce,p)):eG(p,kT(Ce,p))}else{if(!On[Ge])return Q?p:{};Ce=pG(p,Ge,we)}}de||(de=new Gi);var yt=de.get(p);if(yt)return yt;de.set(p,Ce),t4(p)?p.forEach(function(At){Ce.add(yi(At,C,T,At,p,de))}):JE(p)&&p.forEach(function(At,tn){Ce.set(tn,yi(At,C,T,tn,p,de))});var Et=ze?Me?rS:oS:Me?Tr:Mo,Qt=je?n:Et(p);return vi(Qt||p,function(At,tn){Qt&&(tn=At,At=p[tn]),Ef(Ce,tn,yi(At,C,T,tn,p,de))}),Ce}function _U(p){var C=Mo(p);return function(T){return BT(T,p,C)}}function BT(p,C,T){var U=T.length;if(p==null)return!U;for(p=xn(p);U--;){var Q=T[U],de=C[Q],Ce=p[Q];if(Ce===n&&!(Q in p)||!de(Ce))return!1}return!0}function FT(p,C,T){if(typeof p!="function")throw new mi(a);return kf(function(){p.apply(n,T)},C)}function Af(p,C,T,U){var Q=-1,de=bg,Ce=!0,we=p.length,Me=[],ze=C.length;if(!we)return Me;T&&(C=Fn(C,Xr(T))),U?(de=w1,Ce=!1):C.length>=r&&(de=wf,Ce=!1,C=new Ws(C));e:for(;++Q<we;){var je=p[Q],Ge=T==null?je:T(je);if(je=U||je!==0?je:0,Ce&&Ge===Ge){for(var ot=ze;ot--;)if(C[ot]===Ge)continue e;Me.push(je)}else de(C,Ge,U)||Me.push(je)}return Me}var zl=fE(va),HT=fE(H1,!0);function OU(p,C){var T=!0;return zl(p,function(U,Q,de){return T=!!C(U,Q,de),T}),T}function Ng(p,C,T){for(var U=-1,Q=p.length;++U<Q;){var de=p[U],Ce=C(de);if(Ce!=null&&(we===n?Ce===Ce&&!Zr(Ce):T(Ce,we)))var we=Ce,Me=de}return Me}function IU(p,C,T,U){var Q=p.length;for(T=Xt(T),T<0&&(T=-T>Q?0:Q+T),U=U===n||U>Q?Q:Xt(U),U<0&&(U+=Q),U=T>U?0:o4(U);T<U;)p[T++]=C;return p}function zT(p,C){var T=[];return zl(p,function(U,Q,de){C(U,Q,de)&&T.push(U)}),T}function zo(p,C,T,U,Q){var de=-1,Ce=p.length;for(T||(T=gG),Q||(Q=[]);++de<Ce;){var we=p[de];C>0&&T(we)?C>1?zo(we,C-1,T,U,Q):Bl(Q,we):U||(Q[Q.length]=we)}return Q}var F1=pE(),jT=pE(!0);function va(p,C){return p&&F1(p,C,Mo)}function H1(p,C){return p&&jT(p,C,Mo)}function kg(p,C){return kl(C,function(T){return Xa(p[T])})}function Ks(p,C){C=Wl(C,p);for(var T=0,U=C.length;p!=null&&T<U;)p=p[ba(C[T++])];return T&&T==U?p:n}function WT(p,C,T){var U=C(p);return Kt(p)?U:Bl(U,T(p))}function hr(p){return p==null?p===n?Pe:se:zs&&zs in xn(p)?cG(p):$G(p)}function z1(p,C){return p>C}function PU(p,C){return p!=null&&vn.call(p,C)}function TU(p,C){return p!=null&&C in xn(p)}function EU(p,C,T){return p>=er(C,T)&&p<$o(C,T)}function j1(p,C,T){for(var U=T?w1:bg,Q=p[0].length,de=p.length,Ce=de,we=ke(de),Me=1/0,ze=[];Ce--;){var je=p[Ce];Ce&&C&&(je=Fn(je,Xr(C))),Me=er(je.length,Me),we[Ce]=!T&&(C||Q>=120&&je.length>=120)?new Ws(Ce&&je):n}je=p[0];var Ge=-1,ot=we[0];e:for(;++Ge<Q&&ze.length<Me;){var yt=je[Ge],Et=C?C(yt):yt;if(yt=T||yt!==0?yt:0,!(ot?wf(ot,Et):U(ze,Et,T))){for(Ce=de;--Ce;){var Qt=we[Ce];if(!(Qt?wf(Qt,Et):U(p[Ce],Et,T)))continue e}ot&&ot.push(Et),ze.push(yt)}}return ze}function AU(p,C,T,U){return va(p,function(Q,de,Ce){C(U,T(Q),de,Ce)}),U}function Mf(p,C,T){C=Wl(C,p),p=EE(p,C);var U=p==null?p:p[ba(Ci(C))];return U==null?n:Yr(U,p,T)}function VT(p){return Xn(p)&&hr(p)==J}function MU(p){return Xn(p)&&hr(p)==xe}function RU(p){return Xn(p)&&hr(p)==ie}function Rf(p,C,T,U,Q){return p===C?!0:p==null||C==null||!Xn(p)&&!Xn(C)?p!==p&&C!==C:DU(p,C,T,U,Rf,Q)}function DU(p,C,T,U,Q,de){var Ce=Kt(p),we=Kt(C),Me=Ce?te:tr(p),ze=we?te:tr(C);Me=Me==J?ae:Me,ze=ze==J?ae:ze;var je=Me==ae,Ge=ze==ae,ot=Me==ze;if(ot&&Kl(p)){if(!Kl(C))return!1;Ce=!0,je=!1}if(ot&&!je)return de||(de=new Gi),Ce||_u(p)?xE(p,C,T,U,Q,de):lG(p,C,Me,T,U,Q,de);if(!(T&m)){var yt=je&&vn.call(p,"__wrapped__"),Et=Ge&&vn.call(C,"__wrapped__");if(yt||Et){var Qt=yt?p.value():p,At=Et?C.value():C;return de||(de=new Gi),Q(Qt,At,T,U,de)}}return ot?(de||(de=new Gi),sG(p,C,T,U,Q,de)):!1}function LU(p){return Xn(p)&&tr(p)==j}function W1(p,C,T,U){var Q=T.length,de=Q,Ce=!U;if(p==null)return!de;for(p=xn(p);Q--;){var we=T[Q];if(Ce&&we[2]?we[1]!==p[we[0]]:!(we[0]in p))return!1}for(;++Q<de;){we=T[Q];var Me=we[0],ze=p[Me],je=we[1];if(Ce&&we[2]){if(ze===n&&!(Me in p))return!1}else{var Ge=new Gi;if(U)var ot=U(ze,je,Me,p,C,Ge);if(!(ot===n?Rf(je,ze,m|v,U,Ge):ot))return!1}}return!0}function KT(p){if(!Kn(p)||mG(p))return!1;var C=Xa(p)?LK:Gr;return C.test(Gs(p))}function NU(p){return Xn(p)&&hr(p)==$e}function kU(p){return Xn(p)&&tr(p)==_e}function BU(p){return Xn(p)&&ev(p.length)&&!!En[hr(p)]}function UT(p){return typeof p=="function"?p:p==null?Er:typeof p=="object"?Kt(p)?XT(p[0],p[1]):YT(p):h4(p)}function V1(p){if(!Nf(p))return zK(p);var C=[];for(var T in xn(p))vn.call(p,T)&&T!="constructor"&&C.push(T);return C}function FU(p){if(!Kn(p))return CG(p);var C=Nf(p),T=[];for(var U in p)U=="constructor"&&(C||!vn.call(p,U))||T.push(U);return T}function K1(p,C){return p<C}function GT(p,C){var T=-1,U=Pr(p)?ke(p.length):[];return zl(p,function(Q,de,Ce){U[++T]=C(Q,de,Ce)}),U}function YT(p){var C=aS(p);return C.length==1&&C[0][2]?PE(C[0][0],C[0][1]):function(T){return T===p||W1(T,p,C)}}function XT(p,C){return sS(p)&&IE(C)?PE(ba(p),C):function(T){var U=bS(T,p);return U===n&&U===C?yS(T,p):Rf(C,U,m|v)}}function Bg(p,C,T,U,Q){p!==C&&F1(C,function(de,Ce){if(Q||(Q=new Gi),Kn(de))HU(p,C,Ce,T,Bg,U,Q);else{var we=U?U(uS(p,Ce),de,Ce+"",p,C,Q):n;we===n&&(we=de),k1(p,Ce,we)}},Tr)}function HU(p,C,T,U,Q,de,Ce){var we=uS(p,T),Me=uS(C,T),ze=Ce.get(Me);if(ze){k1(p,T,ze);return}var je=de?de(we,Me,T+"",p,C,Ce):n,Ge=je===n;if(Ge){var ot=Kt(Me),yt=!ot&&Kl(Me),Et=!ot&&!yt&&_u(Me);je=Me,ot||yt||Et?Kt(we)?je=we:ro(we)?je=Ir(we):yt?(Ge=!1,je=lE(Me,!0)):Et?(Ge=!1,je=sE(Me,!0)):je=[]:Bf(Me)||Ys(Me)?(je=we,Ys(we)?je=r4(we):(!Kn(we)||Xa(we))&&(je=OE(Me))):Ge=!1}Ge&&(Ce.set(Me,je),Q(je,Me,U,de,Ce),Ce.delete(Me)),k1(p,T,je)}function qT(p,C){var T=p.length;if(T)return C+=C<0?T:0,Ya(C,T)?p[C]:n}function ZT(p,C,T){C.length?C=Fn(C,function(de){return Kt(de)?function(Ce){return Ks(Ce,de.length===1?de[0]:de)}:de}):C=[Er];var U=-1;C=Fn(C,Xr(Tt()));var Q=GT(p,function(de,Ce,we){var Me=Fn(C,function(ze){return ze(de)});return{criteria:Me,index:++U,value:de}});return pK(Q,function(de,Ce){return JU(de,Ce,T)})}function zU(p,C){return QT(p,C,function(T,U){return yS(p,U)})}function QT(p,C,T){for(var U=-1,Q=C.length,de={};++U<Q;){var Ce=C[U],we=Ks(p,Ce);T(we,Ce)&&Df(de,Wl(Ce,p),we)}return de}function jU(p){return function(C){return Ks(C,p)}}function U1(p,C,T,U){var Q=U?fK:hu,de=-1,Ce=C.length,we=p;for(p===C&&(C=Ir(C)),T&&(we=Fn(p,Xr(T)));++de<Ce;)for(var Me=0,ze=C[de],je=T?T(ze):ze;(Me=Q(we,je,Me,U))>-1;)we!==p&&Pg.call(we,Me,1),Pg.call(p,Me,1);return p}function JT(p,C){for(var T=p?C.length:0,U=T-1;T--;){var Q=C[T];if(T==U||Q!==de){var de=Q;Ya(Q)?Pg.call(p,Q,1):q1(p,Q)}}return p}function G1(p,C){return p+Ag(RT()*(C-p+1))}function WU(p,C,T,U){for(var Q=-1,de=$o(Eg((C-p)/(T||1)),0),Ce=ke(de);de--;)Ce[U?de:++Q]=p,p+=T;return Ce}function Y1(p,C){var T="";if(!p||C<1||C>L)return T;do C%2&&(T+=p),C=Ag(C/2),C&&(p+=p);while(C);return T}function Jt(p,C){return dS(TE(p,C,Er),p+"")}function VU(p){return NT(Ou(p))}function KU(p,C){var T=Ou(p);return Yg(T,Vs(C,0,T.length))}function Df(p,C,T,U){if(!Kn(p))return p;C=Wl(C,p);for(var Q=-1,de=C.length,Ce=de-1,we=p;we!=null&&++Q<de;){var Me=ba(C[Q]),ze=T;if(Me==="__proto__"||Me==="constructor"||Me==="prototype")return p;if(Q!=Ce){var je=we[Me];ze=U?U(je,Me,we):n,ze===n&&(ze=Kn(je)?je:Ya(C[Q+1])?[]:{})}Ef(we,Me,ze),we=we[Me]}return p}var eE=Mg?function(p,C){return Mg.set(p,C),p}:Er,UU=Tg?function(p,C){return Tg(p,"toString",{configurable:!0,enumerable:!1,value:CS(C),writable:!0})}:Er;function GU(p){return Yg(Ou(p))}function Si(p,C,T){var U=-1,Q=p.length;C<0&&(C=-C>Q?0:Q+C),T=T>Q?Q:T,T<0&&(T+=Q),Q=C>T?0:T-C>>>0,C>>>=0;for(var de=ke(Q);++U<Q;)de[U]=p[U+C];return de}function YU(p,C){var T;return zl(p,function(U,Q,de){return T=C(U,Q,de),!T}),!!T}function Fg(p,C,T){var U=0,Q=p==null?U:p.length;if(typeof C=="number"&&C===C&&Q<=ne){for(;U<Q;){var de=U+Q>>>1,Ce=p[de];Ce!==null&&!Zr(Ce)&&(T?Ce<=C:Ce<C)?U=de+1:Q=de}return Q}return X1(p,C,Er,T)}function X1(p,C,T,U){var Q=0,de=p==null?0:p.length;if(de===0)return 0;C=T(C);for(var Ce=C!==C,we=C===null,Me=Zr(C),ze=C===n;Q<de;){var je=Ag((Q+de)/2),Ge=T(p[je]),ot=Ge!==n,yt=Ge===null,Et=Ge===Ge,Qt=Zr(Ge);if(Ce)var At=U||Et;else ze?At=Et&&(U||ot):we?At=Et&&ot&&(U||!yt):Me?At=Et&&ot&&!yt&&(U||!Qt):yt||Qt?At=!1:At=U?Ge<=C:Ge<C;At?Q=je+1:de=je}return er(de,Y)}function tE(p,C){for(var T=-1,U=p.length,Q=0,de=[];++T<U;){var Ce=p[T],we=C?C(Ce):Ce;if(!T||!Yi(we,Me)){var Me=we;de[Q++]=Ce===0?0:Ce}}return de}function nE(p){return typeof p=="number"?p:Zr(p)?K:+p}function qr(p){if(typeof p=="string")return p;if(Kt(p))return Fn(p,qr)+"";if(Zr(p))return DT?DT.call(p):"";var C=p+"";return C=="0"&&1/p==-k?"-0":C}function jl(p,C,T){var U=-1,Q=bg,de=p.length,Ce=!0,we=[],Me=we;if(T)Ce=!1,Q=w1;else if(de>=r){var ze=C?null:iG(p);if(ze)return Sg(ze);Ce=!1,Q=wf,Me=new Ws}else Me=C?[]:we;e:for(;++U<de;){var je=p[U],Ge=C?C(je):je;if(je=T||je!==0?je:0,Ce&&Ge===Ge){for(var ot=Me.length;ot--;)if(Me[ot]===Ge)continue e;C&&Me.push(Ge),we.push(je)}else Q(Me,Ge,T)||(Me!==we&&Me.push(Ge),we.push(je))}return we}function q1(p,C){return C=Wl(C,p),p=EE(p,C),p==null||delete p[ba(Ci(C))]}function oE(p,C,T,U){return Df(p,C,T(Ks(p,C)),U)}function Hg(p,C,T,U){for(var Q=p.length,de=U?Q:-1;(U?de--:++de<Q)&&C(p[de],de,p););return T?Si(p,U?0:de,U?de+1:Q):Si(p,U?de+1:0,U?Q:de)}function rE(p,C){var T=p;return T instanceof on&&(T=T.value()),_1(C,function(U,Q){return Q.func.apply(Q.thisArg,Bl([U],Q.args))},T)}function Z1(p,C,T){var U=p.length;if(U<2)return U?jl(p[0]):[];for(var Q=-1,de=ke(U);++Q<U;)for(var Ce=p[Q],we=-1;++we<U;)we!=Q&&(de[Q]=Af(de[Q]||Ce,p[we],C,T));return jl(zo(de,1),C,T)}function iE(p,C,T){for(var U=-1,Q=p.length,de=C.length,Ce={};++U<Q;){var we=U<de?C[U]:n;T(Ce,p[U],we)}return Ce}function Q1(p){return ro(p)?p:[]}function J1(p){return typeof p=="function"?p:Er}function Wl(p,C){return Kt(p)?p:sS(p,C)?[p]:DE(hn(p))}var XU=Jt;function Vl(p,C,T){var U=p.length;return T=T===n?U:T,!C&&T>=U?p:Si(p,C,T)}var aE=NK||function(p){return Ho.clearTimeout(p)};function lE(p,C){if(C)return p.slice();var T=p.length,U=PT?PT(T):new p.constructor(T);return p.copy(U),U}function eS(p){var C=new p.constructor(p.byteLength);return new Og(C).set(new Og(p)),C}function qU(p,C){var T=C?eS(p.buffer):p.buffer;return new p.constructor(T,p.byteOffset,p.byteLength)}function ZU(p){var C=new p.constructor(p.source,qo.exec(p));return C.lastIndex=p.lastIndex,C}function QU(p){return Tf?xn(Tf.call(p)):{}}function sE(p,C){var T=C?eS(p.buffer):p.buffer;return new p.constructor(T,p.byteOffset,p.length)}function cE(p,C){if(p!==C){var T=p!==n,U=p===null,Q=p===p,de=Zr(p),Ce=C!==n,we=C===null,Me=C===C,ze=Zr(C);if(!we&&!ze&&!de&&p>C||de&&Ce&&Me&&!we&&!ze||U&&Ce&&Me||!T&&Me||!Q)return 1;if(!U&&!de&&!ze&&p<C||ze&&T&&Q&&!U&&!de||we&&T&&Q||!Ce&&Q||!Me)return-1}return 0}function JU(p,C,T){for(var U=-1,Q=p.criteria,de=C.criteria,Ce=Q.length,we=T.length;++U<Ce;){var Me=cE(Q[U],de[U]);if(Me){if(U>=we)return Me;var ze=T[U];return Me*(ze=="desc"?-1:1)}}return p.index-C.index}function uE(p,C,T,U){for(var Q=-1,de=p.length,Ce=T.length,we=-1,Me=C.length,ze=$o(de-Ce,0),je=ke(Me+ze),Ge=!U;++we<Me;)je[we]=C[we];for(;++Q<Ce;)(Ge||Q<de)&&(je[T[Q]]=p[Q]);for(;ze--;)je[we++]=p[Q++];return je}function dE(p,C,T,U){for(var Q=-1,de=p.length,Ce=-1,we=T.length,Me=-1,ze=C.length,je=$o(de-we,0),Ge=ke(je+ze),ot=!U;++Q<je;)Ge[Q]=p[Q];for(var yt=Q;++Me<ze;)Ge[yt+Me]=C[Me];for(;++Ce<we;)(ot||Q<de)&&(Ge[yt+T[Ce]]=p[Q++]);return Ge}function Ir(p,C){var T=-1,U=p.length;for(C||(C=ke(U));++T<U;)C[T]=p[T];return C}function ma(p,C,T,U){var Q=!T;T||(T={});for(var de=-1,Ce=C.length;++de<Ce;){var we=C[de],Me=U?U(T[we],p[we],we,T,p):n;Me===n&&(Me=p[we]),Q?Ka(T,we,Me):Ef(T,we,Me)}return T}function eG(p,C){return ma(p,lS(p),C)}function tG(p,C){return ma(p,wE(p),C)}function zg(p,C){return function(T,U){var Q=Kt(T)?aK:xU,de=C?C():{};return Q(T,p,Tt(U,2),de)}}function $u(p){return Jt(function(C,T){var U=-1,Q=T.length,de=Q>1?T[Q-1]:n,Ce=Q>2?T[2]:n;for(de=p.length>3&&typeof de=="function"?(Q--,de):n,Ce&&gr(T[0],T[1],Ce)&&(de=Q<3?n:de,Q=1),C=xn(C);++U<Q;){var we=T[U];we&&p(C,we,U,de)}return C})}function fE(p,C){return function(T,U){if(T==null)return T;if(!Pr(T))return p(T,U);for(var Q=T.length,de=C?Q:-1,Ce=xn(T);(C?de--:++de<Q)&&U(Ce[de],de,Ce)!==!1;);return T}}function pE(p){return function(C,T,U){for(var Q=-1,de=xn(C),Ce=U(C),we=Ce.length;we--;){var Me=Ce[p?we:++Q];if(T(de[Me],Me,de)===!1)break}return C}}function nG(p,C,T){var U=C&y,Q=Lf(p);function de(){var Ce=this&&this!==Ho&&this instanceof de?Q:p;return Ce.apply(U?T:this,arguments)}return de}function hE(p){return function(C){C=hn(C);var T=gu(C)?Ui(C):n,U=T?T[0]:C.charAt(0),Q=T?Vl(T,1).join(""):C.slice(1);return U[p]()+Q}}function xu(p){return function(C){return _1(f4(d4(C).replace(UV,"")),p,"")}}function Lf(p){return function(){var C=arguments;switch(C.length){case 0:return new p;case 1:return new p(C[0]);case 2:return new p(C[0],C[1]);case 3:return new p(C[0],C[1],C[2]);case 4:return new p(C[0],C[1],C[2],C[3]);case 5:return new p(C[0],C[1],C[2],C[3],C[4]);case 6:return new p(C[0],C[1],C[2],C[3],C[4],C[5]);case 7:return new p(C[0],C[1],C[2],C[3],C[4],C[5],C[6])}var T=Cu(p.prototype),U=p.apply(T,C);return Kn(U)?U:T}}function oG(p,C,T){var U=Lf(p);function Q(){for(var de=arguments.length,Ce=ke(de),we=de,Me=wu(Q);we--;)Ce[we]=arguments[we];var ze=de<3&&Ce[0]!==Me&&Ce[de-1]!==Me?[]:Fl(Ce,Me);if(de-=ze.length,de<T)return yE(p,C,jg,Q.placeholder,n,Ce,ze,n,n,T-de);var je=this&&this!==Ho&&this instanceof Q?U:p;return Yr(je,this,Ce)}return Q}function gE(p){return function(C,T,U){var Q=xn(C);if(!Pr(C)){var de=Tt(T,3);C=Mo(C),T=function(we){return de(Q[we],we,Q)}}var Ce=p(C,T,U);return Ce>-1?Q[de?C[Ce]:Ce]:n}}function vE(p){return Ga(function(C){var T=C.length,U=T,Q=bi.prototype.thru;for(p&&C.reverse();U--;){var de=C[U];if(typeof de!="function")throw new mi(a);if(Q&&!Ce&&Ug(de)=="wrapper")var Ce=new bi([],!0)}for(U=Ce?U:T;++U<T;){de=C[U];var we=Ug(de),Me=we=="wrapper"?iS(de):n;Me&&cS(Me[0])&&Me[1]==(O|x|w|P)&&!Me[4].length&&Me[9]==1?Ce=Ce[Ug(Me[0])].apply(Ce,Me[3]):Ce=de.length==1&&cS(de)?Ce[we]():Ce.thru(de)}return function(){var ze=arguments,je=ze[0];if(Ce&&ze.length==1&&Kt(je))return Ce.plant(je).value();for(var Ge=0,ot=T?C[Ge].apply(this,ze):je;++Ge<T;)ot=C[Ge].call(this,ot);return ot}})}function jg(p,C,T,U,Q,de,Ce,we,Me,ze){var je=C&O,Ge=C&y,ot=C&b,yt=C&(x|_),Et=C&E,Qt=ot?n:Lf(p);function At(){for(var tn=arguments.length,sn=ke(tn),Qr=tn;Qr--;)sn[Qr]=arguments[Qr];if(yt)var vr=wu(At),Jr=gK(sn,vr);if(U&&(sn=uE(sn,U,Q,yt)),de&&(sn=dE(sn,de,Ce,yt)),tn-=Jr,yt&&tn<ze){var io=Fl(sn,vr);return yE(p,C,jg,At.placeholder,T,sn,io,we,Me,ze-tn)}var Xi=Ge?T:this,Za=ot?Xi[p]:p;return tn=sn.length,we?sn=xG(sn,we):Et&&tn>1&&sn.reverse(),je&&Me<tn&&(sn.length=Me),this&&this!==Ho&&this instanceof At&&(Za=Qt||Lf(Za)),Za.apply(Xi,sn)}return At}function mE(p,C){return function(T,U){return AU(T,p,C(U),{})}}function Wg(p,C){return function(T,U){var Q;if(T===n&&U===n)return C;if(T!==n&&(Q=T),U!==n){if(Q===n)return U;typeof T=="string"||typeof U=="string"?(T=qr(T),U=qr(U)):(T=nE(T),U=nE(U)),Q=p(T,U)}return Q}}function tS(p){return Ga(function(C){return C=Fn(C,Xr(Tt())),Jt(function(T){var U=this;return p(C,function(Q){return Yr(Q,U,T)})})})}function Vg(p,C){C=C===n?" ":qr(C);var T=C.length;if(T<2)return T?Y1(C,p):C;var U=Y1(C,Eg(p/vu(C)));return gu(C)?Vl(Ui(U),0,p).join(""):U.slice(0,p)}function rG(p,C,T,U){var Q=C&y,de=Lf(p);function Ce(){for(var we=-1,Me=arguments.length,ze=-1,je=U.length,Ge=ke(je+Me),ot=this&&this!==Ho&&this instanceof Ce?de:p;++ze<je;)Ge[ze]=U[ze];for(;Me--;)Ge[ze++]=arguments[++we];return Yr(ot,Q?T:this,Ge)}return Ce}function bE(p){return function(C,T,U){return U&&typeof U!="number"&&gr(C,T,U)&&(T=U=n),C=qa(C),T===n?(T=C,C=0):T=qa(T),U=U===n?C<T?1:-1:qa(U),WU(C,T,U,p)}}function Kg(p){return function(C,T){return typeof C=="string"&&typeof T=="string"||(C=$i(C),T=$i(T)),p(C,T)}}function yE(p,C,T,U,Q,de,Ce,we,Me,ze){var je=C&x,Ge=je?Ce:n,ot=je?n:Ce,yt=je?de:n,Et=je?n:de;C|=je?w:I,C&=~(je?I:w),C&$||(C&=~(y|b));var Qt=[p,C,Q,yt,Ge,Et,ot,we,Me,ze],At=T.apply(n,Qt);return cS(p)&&AE(At,Qt),At.placeholder=U,ME(At,p,C)}function nS(p){var C=Co[p];return function(T,U){if(T=$i(T),U=U==null?0:er(Xt(U),292),U&&MT(T)){var Q=(hn(T)+"e").split("e"),de=C(Q[0]+"e"+(+Q[1]+U));return Q=(hn(de)+"e").split("e"),+(Q[0]+"e"+(+Q[1]-U))}return C(T)}}var iG=yu&&1/Sg(new yu([,-0]))[1]==k?function(p){return new yu(p)}:wS;function SE(p){return function(C){var T=tr(C);return T==j?M1(C):T==_e?$K(C):hK(C,p(C))}}function Ua(p,C,T,U,Q,de,Ce,we){var Me=C&b;if(!Me&&typeof p!="function")throw new mi(a);var ze=U?U.length:0;if(ze||(C&=~(w|I),U=Q=n),Ce=Ce===n?Ce:$o(Xt(Ce),0),we=we===n?we:Xt(we),ze-=Q?Q.length:0,C&I){var je=U,Ge=Q;U=Q=n}var ot=Me?n:iS(p),yt=[p,C,T,U,Q,je,Ge,de,Ce,we];if(ot&&SG(yt,ot),p=yt[0],C=yt[1],T=yt[2],U=yt[3],Q=yt[4],we=yt[9]=yt[9]===n?Me?0:p.length:$o(yt[9]-ze,0),!we&&C&(x|_)&&(C&=~(x|_)),!C||C==y)var Et=nG(p,C,T);else C==x||C==_?Et=oG(p,C,we):(C==w||C==(y|w))&&!Q.length?Et=rG(p,C,T,U):Et=jg.apply(n,yt);var Qt=ot?eE:AE;return ME(Qt(Et,yt),p,C)}function CE(p,C,T,U){return p===n||Yi(p,bu[T])&&!vn.call(U,T)?C:p}function $E(p,C,T,U,Q,de){return Kn(p)&&Kn(C)&&(de.set(C,p),Bg(p,C,n,$E,de),de.delete(C)),p}function aG(p){return Bf(p)?n:p}function xE(p,C,T,U,Q,de){var Ce=T&m,we=p.length,Me=C.length;if(we!=Me&&!(Ce&&Me>we))return!1;var ze=de.get(p),je=de.get(C);if(ze&&je)return ze==C&&je==p;var Ge=-1,ot=!0,yt=T&v?new Ws:n;for(de.set(p,C),de.set(C,p);++Ge<we;){var Et=p[Ge],Qt=C[Ge];if(U)var At=Ce?U(Qt,Et,Ge,C,p,de):U(Et,Qt,Ge,p,C,de);if(At!==n){if(At)continue;ot=!1;break}if(yt){if(!O1(C,function(tn,sn){if(!wf(yt,sn)&&(Et===tn||Q(Et,tn,T,U,de)))return yt.push(sn)})){ot=!1;break}}else if(!(Et===Qt||Q(Et,Qt,T,U,de))){ot=!1;break}}return de.delete(p),de.delete(C),ot}function lG(p,C,T,U,Q,de,Ce){switch(T){case Ae:if(p.byteLength!=C.byteLength||p.byteOffset!=C.byteOffset)return!1;p=p.buffer,C=C.buffer;case xe:return!(p.byteLength!=C.byteLength||!de(new Og(p),new Og(C)));case fe:case ie:case q:return Yi(+p,+C);case ue:return p.name==C.name&&p.message==C.message;case $e:case be:return p==C+"";case j:var we=M1;case _e:var Me=U&m;if(we||(we=Sg),p.size!=C.size&&!Me)return!1;var ze=Ce.get(p);if(ze)return ze==C;U|=v,Ce.set(p,C);var je=xE(we(p),we(C),U,Q,de,Ce);return Ce.delete(p),je;case Te:if(Tf)return Tf.call(p)==Tf.call(C)}return!1}function sG(p,C,T,U,Q,de){var Ce=T&m,we=oS(p),Me=we.length,ze=oS(C),je=ze.length;if(Me!=je&&!Ce)return!1;for(var Ge=Me;Ge--;){var ot=we[Ge];if(!(Ce?ot in C:vn.call(C,ot)))return!1}var yt=de.get(p),Et=de.get(C);if(yt&&Et)return yt==C&&Et==p;var Qt=!0;de.set(p,C),de.set(C,p);for(var At=Ce;++Ge<Me;){ot=we[Ge];var tn=p[ot],sn=C[ot];if(U)var Qr=Ce?U(sn,tn,ot,C,p,de):U(tn,sn,ot,p,C,de);if(!(Qr===n?tn===sn||Q(tn,sn,T,U,de):Qr)){Qt=!1;break}At||(At=ot=="constructor")}if(Qt&&!At){var vr=p.constructor,Jr=C.constructor;vr!=Jr&&"constructor"in p&&"constructor"in C&&!(typeof vr=="function"&&vr instanceof vr&&typeof Jr=="function"&&Jr instanceof Jr)&&(Qt=!1)}return de.delete(p),de.delete(C),Qt}function Ga(p){return dS(TE(p,n,BE),p+"")}function oS(p){return WT(p,Mo,lS)}function rS(p){return WT(p,Tr,wE)}var iS=Mg?function(p){return Mg.get(p)}:wS;function Ug(p){for(var C=p.name+"",T=Su[C],U=vn.call(Su,C)?T.length:0;U--;){var Q=T[U],de=Q.func;if(de==null||de==p)return Q.name}return C}function wu(p){var C=vn.call(ce,"placeholder")?ce:p;return C.placeholder}function Tt(){var p=ce.iteratee||$S;return p=p===$S?UT:p,arguments.length?p(arguments[0],arguments[1]):p}function Gg(p,C){var T=p.__data__;return vG(C)?T[typeof C=="string"?"string":"hash"]:T.map}function aS(p){for(var C=Mo(p),T=C.length;T--;){var U=C[T],Q=p[U];C[T]=[U,Q,IE(Q)]}return C}function Us(p,C){var T=yK(p,C);return KT(T)?T:n}function cG(p){var C=vn.call(p,zs),T=p[zs];try{p[zs]=n;var U=!0}catch{}var Q=wg.call(p);return U&&(C?p[zs]=T:delete p[zs]),Q}var lS=D1?function(p){return p==null?[]:(p=xn(p),kl(D1(p),function(C){return ET.call(p,C)}))}:_S,wE=D1?function(p){for(var C=[];p;)Bl(C,lS(p)),p=Ig(p);return C}:_S,tr=hr;(L1&&tr(new L1(new ArrayBuffer(1)))!=Ae||Of&&tr(new Of)!=j||N1&&tr(N1.resolve())!=ge||yu&&tr(new yu)!=_e||If&&tr(new If)!=oe)&&(tr=function(p){var C=hr(p),T=C==ae?p.constructor:n,U=T?Gs(T):"";if(U)switch(U){case KK:return Ae;case UK:return j;case GK:return ge;case YK:return _e;case XK:return oe}return C});function uG(p,C,T){for(var U=-1,Q=T.length;++U<Q;){var de=T[U],Ce=de.size;switch(de.type){case"drop":p+=Ce;break;case"dropRight":C-=Ce;break;case"take":C=er(C,p+Ce);break;case"takeRight":p=$o(p,C-Ce);break}}return{start:p,end:C}}function dG(p){var C=p.match(un);return C?C[1].split(Yn):[]}function _E(p,C,T){C=Wl(C,p);for(var U=-1,Q=C.length,de=!1;++U<Q;){var Ce=ba(C[U]);if(!(de=p!=null&&T(p,Ce)))break;p=p[Ce]}return de||++U!=Q?de:(Q=p==null?0:p.length,!!Q&&ev(Q)&&Ya(Ce,Q)&&(Kt(p)||Ys(p)))}function fG(p){var C=p.length,T=new p.constructor(C);return C&&typeof p[0]=="string"&&vn.call(p,"index")&&(T.index=p.index,T.input=p.input),T}function OE(p){return typeof p.constructor=="function"&&!Nf(p)?Cu(Ig(p)):{}}function pG(p,C,T){var U=p.constructor;switch(C){case xe:return eS(p);case fe:case ie:return new U(+p);case Ae:return qU(p,T);case Be:case Ye:case Re:case Le:case Ne:case Ke:case Ze:case Ue:case Xe:return sE(p,T);case j:return new U;case q:case be:return new U(p);case $e:return ZU(p);case _e:return new U;case Te:return QU(p)}}function hG(p,C){var T=C.length;if(!T)return p;var U=T-1;return C[U]=(T>1?"& ":"")+C[U],C=C.join(T>2?", ":" "),p.replace(ut,`{
+/* [wrapped with `+C+`] */
+`)}function gG(p){return Kt(p)||Ys(p)||!!(AT&&p&&p[AT])}function Ya(p,C){var T=typeof p;return C=C??L,!!C&&(T=="number"||T!="symbol"&&pa.test(p))&&p>-1&&p%1==0&&p<C}function gr(p,C,T){if(!Kn(T))return!1;var U=typeof C;return(U=="number"?Pr(T)&&Ya(C,T.length):U=="string"&&C in T)?Yi(T[C],p):!1}function sS(p,C){if(Kt(p))return!1;var T=typeof p;return T=="number"||T=="symbol"||T=="boolean"||p==null||Zr(p)?!0:wr.test(p)||!Yo.test(p)||C!=null&&p in xn(C)}function vG(p){var C=typeof p;return C=="string"||C=="number"||C=="symbol"||C=="boolean"?p!=="__proto__":p===null}function cS(p){var C=Ug(p),T=ce[C];if(typeof T!="function"||!(C in on.prototype))return!1;if(p===T)return!0;var U=iS(T);return!!U&&p===U[0]}function mG(p){return!!IT&&IT in p}var bG=$g?Xa:OS;function Nf(p){var C=p&&p.constructor,T=typeof C=="function"&&C.prototype||bu;return p===T}function IE(p){return p===p&&!Kn(p)}function PE(p,C){return function(T){return T==null?!1:T[p]===C&&(C!==n||p in xn(T))}}function yG(p){var C=Qg(p,function(U){return T.size===c&&T.clear(),U}),T=C.cache;return C}function SG(p,C){var T=p[1],U=C[1],Q=T|U,de=Q<(y|b|O),Ce=U==O&&T==x||U==O&&T==P&&p[7].length<=C[8]||U==(O|P)&&C[7].length<=C[8]&&T==x;if(!(de||Ce))return p;U&y&&(p[2]=C[2],Q|=T&y?0:$);var we=C[3];if(we){var Me=p[3];p[3]=Me?uE(Me,we,C[4]):we,p[4]=Me?Fl(p[3],u):C[4]}return we=C[5],we&&(Me=p[5],p[5]=Me?dE(Me,we,C[6]):we,p[6]=Me?Fl(p[5],u):C[6]),we=C[7],we&&(p[7]=we),U&O&&(p[8]=p[8]==null?C[8]:er(p[8],C[8])),p[9]==null&&(p[9]=C[9]),p[0]=C[0],p[1]=Q,p}function CG(p){var C=[];if(p!=null)for(var T in xn(p))C.push(T);return C}function $G(p){return wg.call(p)}function TE(p,C,T){return C=$o(C===n?p.length-1:C,0),function(){for(var U=arguments,Q=-1,de=$o(U.length-C,0),Ce=ke(de);++Q<de;)Ce[Q]=U[C+Q];Q=-1;for(var we=ke(C+1);++Q<C;)we[Q]=U[Q];return we[C]=T(Ce),Yr(p,this,we)}}function EE(p,C){return C.length<2?p:Ks(p,Si(C,0,-1))}function xG(p,C){for(var T=p.length,U=er(C.length,T),Q=Ir(p);U--;){var de=C[U];p[U]=Ya(de,T)?Q[de]:n}return p}function uS(p,C){if(!(C==="constructor"&&typeof p[C]=="function")&&C!="__proto__")return p[C]}var AE=RE(eE),kf=BK||function(p,C){return Ho.setTimeout(p,C)},dS=RE(UU);function ME(p,C,T){var U=C+"";return dS(p,hG(U,wG(dG(U),T)))}function RE(p){var C=0,T=0;return function(){var U=jK(),Q=F-(U-T);if(T=U,Q>0){if(++C>=N)return arguments[0]}else C=0;return p.apply(n,arguments)}}function Yg(p,C){var T=-1,U=p.length,Q=U-1;for(C=C===n?U:C;++T<C;){var de=G1(T,Q),Ce=p[de];p[de]=p[T],p[T]=Ce}return p.length=C,p}var DE=yG(function(p){var C=[];return p.charCodeAt(0)===46&&C.push(""),p.replace(Ur,function(T,U,Q,de){C.push(Q?de.replace(So,"$1"):U||T)}),C});function ba(p){if(typeof p=="string"||Zr(p))return p;var C=p+"";return C=="0"&&1/p==-k?"-0":C}function Gs(p){if(p!=null){try{return xg.call(p)}catch{}try{return p+""}catch{}}return""}function wG(p,C){return vi(re,function(T){var U="_."+T[0];C&T[1]&&!bg(p,U)&&p.push(U)}),p.sort()}function LE(p){if(p instanceof on)return p.clone();var C=new bi(p.__wrapped__,p.__chain__);return C.__actions__=Ir(p.__actions__),C.__index__=p.__index__,C.__values__=p.__values__,C}function _G(p,C,T){(T?gr(p,C,T):C===n)?C=1:C=$o(Xt(C),0);var U=p==null?0:p.length;if(!U||C<1)return[];for(var Q=0,de=0,Ce=ke(Eg(U/C));Q<U;)Ce[de++]=Si(p,Q,Q+=C);return Ce}function OG(p){for(var C=-1,T=p==null?0:p.length,U=0,Q=[];++C<T;){var de=p[C];de&&(Q[U++]=de)}return Q}function IG(){var p=arguments.length;if(!p)return[];for(var C=ke(p-1),T=arguments[0],U=p;U--;)C[U-1]=arguments[U];return Bl(Kt(T)?Ir(T):[T],zo(C,1))}var PG=Jt(function(p,C){return ro(p)?Af(p,zo(C,1,ro,!0)):[]}),TG=Jt(function(p,C){var T=Ci(C);return ro(T)&&(T=n),ro(p)?Af(p,zo(C,1,ro,!0),Tt(T,2)):[]}),EG=Jt(function(p,C){var T=Ci(C);return ro(T)&&(T=n),ro(p)?Af(p,zo(C,1,ro,!0),n,T):[]});function AG(p,C,T){var U=p==null?0:p.length;return U?(C=T||C===n?1:Xt(C),Si(p,C<0?0:C,U)):[]}function MG(p,C,T){var U=p==null?0:p.length;return U?(C=T||C===n?1:Xt(C),C=U-C,Si(p,0,C<0?0:C)):[]}function RG(p,C){return p&&p.length?Hg(p,Tt(C,3),!0,!0):[]}function DG(p,C){return p&&p.length?Hg(p,Tt(C,3),!0):[]}function LG(p,C,T,U){var Q=p==null?0:p.length;return Q?(T&&typeof T!="number"&&gr(p,C,T)&&(T=0,U=Q),IU(p,C,T,U)):[]}function NE(p,C,T){var U=p==null?0:p.length;if(!U)return-1;var Q=T==null?0:Xt(T);return Q<0&&(Q=$o(U+Q,0)),yg(p,Tt(C,3),Q)}function kE(p,C,T){var U=p==null?0:p.length;if(!U)return-1;var Q=U-1;return T!==n&&(Q=Xt(T),Q=T<0?$o(U+Q,0):er(Q,U-1)),yg(p,Tt(C,3),Q,!0)}function BE(p){var C=p==null?0:p.length;return C?zo(p,1):[]}function NG(p){var C=p==null?0:p.length;return C?zo(p,k):[]}function kG(p,C){var T=p==null?0:p.length;return T?(C=C===n?1:Xt(C),zo(p,C)):[]}function BG(p){for(var C=-1,T=p==null?0:p.length,U={};++C<T;){var Q=p[C];U[Q[0]]=Q[1]}return U}function FE(p){return p&&p.length?p[0]:n}function FG(p,C,T){var U=p==null?0:p.length;if(!U)return-1;var Q=T==null?0:Xt(T);return Q<0&&(Q=$o(U+Q,0)),hu(p,C,Q)}function HG(p){var C=p==null?0:p.length;return C?Si(p,0,-1):[]}var zG=Jt(function(p){var C=Fn(p,Q1);return C.length&&C[0]===p[0]?j1(C):[]}),jG=Jt(function(p){var C=Ci(p),T=Fn(p,Q1);return C===Ci(T)?C=n:T.pop(),T.length&&T[0]===p[0]?j1(T,Tt(C,2)):[]}),WG=Jt(function(p){var C=Ci(p),T=Fn(p,Q1);return C=typeof C=="function"?C:n,C&&T.pop(),T.length&&T[0]===p[0]?j1(T,n,C):[]});function VG(p,C){return p==null?"":HK.call(p,C)}function Ci(p){var C=p==null?0:p.length;return C?p[C-1]:n}function KG(p,C,T){var U=p==null?0:p.length;if(!U)return-1;var Q=U;return T!==n&&(Q=Xt(T),Q=Q<0?$o(U+Q,0):er(Q,U-1)),C===C?wK(p,C,Q):yg(p,yT,Q,!0)}function UG(p,C){return p&&p.length?qT(p,Xt(C)):n}var GG=Jt(HE);function HE(p,C){return p&&p.length&&C&&C.length?U1(p,C):p}function YG(p,C,T){return p&&p.length&&C&&C.length?U1(p,C,Tt(T,2)):p}function XG(p,C,T){return p&&p.length&&C&&C.length?U1(p,C,n,T):p}var qG=Ga(function(p,C){var T=p==null?0:p.length,U=B1(p,C);return JT(p,Fn(C,function(Q){return Ya(Q,T)?+Q:Q}).sort(cE)),U});function ZG(p,C){var T=[];if(!(p&&p.length))return T;var U=-1,Q=[],de=p.length;for(C=Tt(C,3);++U<de;){var Ce=p[U];C(Ce,U,p)&&(T.push(Ce),Q.push(U))}return JT(p,Q),T}function fS(p){return p==null?p:VK.call(p)}function QG(p,C,T){var U=p==null?0:p.length;return U?(T&&typeof T!="number"&&gr(p,C,T)?(C=0,T=U):(C=C==null?0:Xt(C),T=T===n?U:Xt(T)),Si(p,C,T)):[]}function JG(p,C){return Fg(p,C)}function eY(p,C,T){return X1(p,C,Tt(T,2))}function tY(p,C){var T=p==null?0:p.length;if(T){var U=Fg(p,C);if(U<T&&Yi(p[U],C))return U}return-1}function nY(p,C){return Fg(p,C,!0)}function oY(p,C,T){return X1(p,C,Tt(T,2),!0)}function rY(p,C){var T=p==null?0:p.length;if(T){var U=Fg(p,C,!0)-1;if(Yi(p[U],C))return U}return-1}function iY(p){return p&&p.length?tE(p):[]}function aY(p,C){return p&&p.length?tE(p,Tt(C,2)):[]}function lY(p){var C=p==null?0:p.length;return C?Si(p,1,C):[]}function sY(p,C,T){return p&&p.length?(C=T||C===n?1:Xt(C),Si(p,0,C<0?0:C)):[]}function cY(p,C,T){var U=p==null?0:p.length;return U?(C=T||C===n?1:Xt(C),C=U-C,Si(p,C<0?0:C,U)):[]}function uY(p,C){return p&&p.length?Hg(p,Tt(C,3),!1,!0):[]}function dY(p,C){return p&&p.length?Hg(p,Tt(C,3)):[]}var fY=Jt(function(p){return jl(zo(p,1,ro,!0))}),pY=Jt(function(p){var C=Ci(p);return ro(C)&&(C=n),jl(zo(p,1,ro,!0),Tt(C,2))}),hY=Jt(function(p){var C=Ci(p);return C=typeof C=="function"?C:n,jl(zo(p,1,ro,!0),n,C)});function gY(p){return p&&p.length?jl(p):[]}function vY(p,C){return p&&p.length?jl(p,Tt(C,2)):[]}function mY(p,C){return C=typeof C=="function"?C:n,p&&p.length?jl(p,n,C):[]}function pS(p){if(!(p&&p.length))return[];var C=0;return p=kl(p,function(T){if(ro(T))return C=$o(T.length,C),!0}),E1(C,function(T){return Fn(p,I1(T))})}function zE(p,C){if(!(p&&p.length))return[];var T=pS(p);return C==null?T:Fn(T,function(U){return Yr(C,n,U)})}var bY=Jt(function(p,C){return ro(p)?Af(p,C):[]}),yY=Jt(function(p){return Z1(kl(p,ro))}),SY=Jt(function(p){var C=Ci(p);return ro(C)&&(C=n),Z1(kl(p,ro),Tt(C,2))}),CY=Jt(function(p){var C=Ci(p);return C=typeof C=="function"?C:n,Z1(kl(p,ro),n,C)}),$Y=Jt(pS);function xY(p,C){return iE(p||[],C||[],Ef)}function wY(p,C){return iE(p||[],C||[],Df)}var _Y=Jt(function(p){var C=p.length,T=C>1?p[C-1]:n;return T=typeof T=="function"?(p.pop(),T):n,zE(p,T)});function jE(p){var C=ce(p);return C.__chain__=!0,C}function OY(p,C){return C(p),p}function Xg(p,C){return C(p)}var IY=Ga(function(p){var C=p.length,T=C?p[0]:0,U=this.__wrapped__,Q=function(de){return B1(de,p)};return C>1||this.__actions__.length||!(U instanceof on)||!Ya(T)?this.thru(Q):(U=U.slice(T,+T+(C?1:0)),U.__actions__.push({func:Xg,args:[Q],thisArg:n}),new bi(U,this.__chain__).thru(function(de){return C&&!de.length&&de.push(n),de}))});function PY(){return jE(this)}function TY(){return new bi(this.value(),this.__chain__)}function EY(){this.__values__===n&&(this.__values__=n4(this.value()));var p=this.__index__>=this.__values__.length,C=p?n:this.__values__[this.__index__++];return{done:p,value:C}}function AY(){return this}function MY(p){for(var C,T=this;T instanceof Dg;){var U=LE(T);U.__index__=0,U.__values__=n,C?Q.__wrapped__=U:C=U;var Q=U;T=T.__wrapped__}return Q.__wrapped__=p,C}function RY(){var p=this.__wrapped__;if(p instanceof on){var C=p;return this.__actions__.length&&(C=new on(this)),C=C.reverse(),C.__actions__.push({func:Xg,args:[fS],thisArg:n}),new bi(C,this.__chain__)}return this.thru(fS)}function DY(){return rE(this.__wrapped__,this.__actions__)}var LY=zg(function(p,C,T){vn.call(p,T)?++p[T]:Ka(p,T,1)});function NY(p,C,T){var U=Kt(p)?mT:OU;return T&&gr(p,C,T)&&(C=n),U(p,Tt(C,3))}function kY(p,C){var T=Kt(p)?kl:zT;return T(p,Tt(C,3))}var BY=gE(NE),FY=gE(kE);function HY(p,C){return zo(qg(p,C),1)}function zY(p,C){return zo(qg(p,C),k)}function jY(p,C,T){return T=T===n?1:Xt(T),zo(qg(p,C),T)}function WE(p,C){var T=Kt(p)?vi:zl;return T(p,Tt(C,3))}function VE(p,C){var T=Kt(p)?lK:HT;return T(p,Tt(C,3))}var WY=zg(function(p,C,T){vn.call(p,T)?p[T].push(C):Ka(p,T,[C])});function VY(p,C,T,U){p=Pr(p)?p:Ou(p),T=T&&!U?Xt(T):0;var Q=p.length;return T<0&&(T=$o(Q+T,0)),tv(p)?T<=Q&&p.indexOf(C,T)>-1:!!Q&&hu(p,C,T)>-1}var KY=Jt(function(p,C,T){var U=-1,Q=typeof C=="function",de=Pr(p)?ke(p.length):[];return zl(p,function(Ce){de[++U]=Q?Yr(C,Ce,T):Mf(Ce,C,T)}),de}),UY=zg(function(p,C,T){Ka(p,T,C)});function qg(p,C){var T=Kt(p)?Fn:GT;return T(p,Tt(C,3))}function GY(p,C,T,U){return p==null?[]:(Kt(C)||(C=C==null?[]:[C]),T=U?n:T,Kt(T)||(T=T==null?[]:[T]),ZT(p,C,T))}var YY=zg(function(p,C,T){p[T?0:1].push(C)},function(){return[[],[]]});function XY(p,C,T){var U=Kt(p)?_1:CT,Q=arguments.length<3;return U(p,Tt(C,4),T,Q,zl)}function qY(p,C,T){var U=Kt(p)?sK:CT,Q=arguments.length<3;return U(p,Tt(C,4),T,Q,HT)}function ZY(p,C){var T=Kt(p)?kl:zT;return T(p,Jg(Tt(C,3)))}function QY(p){var C=Kt(p)?NT:VU;return C(p)}function JY(p,C,T){(T?gr(p,C,T):C===n)?C=1:C=Xt(C);var U=Kt(p)?CU:KU;return U(p,C)}function eX(p){var C=Kt(p)?$U:GU;return C(p)}function tX(p){if(p==null)return 0;if(Pr(p))return tv(p)?vu(p):p.length;var C=tr(p);return C==j||C==_e?p.size:V1(p).length}function nX(p,C,T){var U=Kt(p)?O1:YU;return T&&gr(p,C,T)&&(C=n),U(p,Tt(C,3))}var oX=Jt(function(p,C){if(p==null)return[];var T=C.length;return T>1&&gr(p,C[0],C[1])?C=[]:T>2&&gr(C[0],C[1],C[2])&&(C=[C[0]]),ZT(p,zo(C,1),[])}),Zg=kK||function(){return Ho.Date.now()};function rX(p,C){if(typeof C!="function")throw new mi(a);return p=Xt(p),function(){if(--p<1)return C.apply(this,arguments)}}function KE(p,C,T){return C=T?n:C,C=p&&C==null?p.length:C,Ua(p,O,n,n,n,n,C)}function UE(p,C){var T;if(typeof C!="function")throw new mi(a);return p=Xt(p),function(){return--p>0&&(T=C.apply(this,arguments)),p<=1&&(C=n),T}}var hS=Jt(function(p,C,T){var U=y;if(T.length){var Q=Fl(T,wu(hS));U|=w}return Ua(p,U,C,T,Q)}),GE=Jt(function(p,C,T){var U=y|b;if(T.length){var Q=Fl(T,wu(GE));U|=w}return Ua(C,U,p,T,Q)});function YE(p,C,T){C=T?n:C;var U=Ua(p,x,n,n,n,n,n,C);return U.placeholder=YE.placeholder,U}function XE(p,C,T){C=T?n:C;var U=Ua(p,_,n,n,n,n,n,C);return U.placeholder=XE.placeholder,U}function qE(p,C,T){var U,Q,de,Ce,we,Me,ze=0,je=!1,Ge=!1,ot=!0;if(typeof p!="function")throw new mi(a);C=$i(C)||0,Kn(T)&&(je=!!T.leading,Ge="maxWait"in T,de=Ge?$o($i(T.maxWait)||0,C):de,ot="trailing"in T?!!T.trailing:ot);function yt(io){var Xi=U,Za=Q;return U=Q=n,ze=io,Ce=p.apply(Za,Xi),Ce}function Et(io){return ze=io,we=kf(tn,C),je?yt(io):Ce}function Qt(io){var Xi=io-Me,Za=io-ze,g4=C-Xi;return Ge?er(g4,de-Za):g4}function At(io){var Xi=io-Me,Za=io-ze;return Me===n||Xi>=C||Xi<0||Ge&&Za>=de}function tn(){var io=Zg();if(At(io))return sn(io);we=kf(tn,Qt(io))}function sn(io){return we=n,ot&&U?yt(io):(U=Q=n,Ce)}function Qr(){we!==n&&aE(we),ze=0,U=Me=Q=we=n}function vr(){return we===n?Ce:sn(Zg())}function Jr(){var io=Zg(),Xi=At(io);if(U=arguments,Q=this,Me=io,Xi){if(we===n)return Et(Me);if(Ge)return aE(we),we=kf(tn,C),yt(Me)}return we===n&&(we=kf(tn,C)),Ce}return Jr.cancel=Qr,Jr.flush=vr,Jr}var iX=Jt(function(p,C){return FT(p,1,C)}),aX=Jt(function(p,C,T){return FT(p,$i(C)||0,T)});function lX(p){return Ua(p,E)}function Qg(p,C){if(typeof p!="function"||C!=null&&typeof C!="function")throw new mi(a);var T=function(){var U=arguments,Q=C?C.apply(this,U):U[0],de=T.cache;if(de.has(Q))return de.get(Q);var Ce=p.apply(this,U);return T.cache=de.set(Q,Ce)||de,Ce};return T.cache=new(Qg.Cache||Va),T}Qg.Cache=Va;function Jg(p){if(typeof p!="function")throw new mi(a);return function(){var C=arguments;switch(C.length){case 0:return!p.call(this);case 1:return!p.call(this,C[0]);case 2:return!p.call(this,C[0],C[1]);case 3:return!p.call(this,C[0],C[1],C[2])}return!p.apply(this,C)}}function sX(p){return UE(2,p)}var cX=XU(function(p,C){C=C.length==1&&Kt(C[0])?Fn(C[0],Xr(Tt())):Fn(zo(C,1),Xr(Tt()));var T=C.length;return Jt(function(U){for(var Q=-1,de=er(U.length,T);++Q<de;)U[Q]=C[Q].call(this,U[Q]);return Yr(p,this,U)})}),gS=Jt(function(p,C){var T=Fl(C,wu(gS));return Ua(p,w,n,C,T)}),ZE=Jt(function(p,C){var T=Fl(C,wu(ZE));return Ua(p,I,n,C,T)}),uX=Ga(function(p,C){return Ua(p,P,n,n,n,C)});function dX(p,C){if(typeof p!="function")throw new mi(a);return C=C===n?C:Xt(C),Jt(p,C)}function fX(p,C){if(typeof p!="function")throw new mi(a);return C=C==null?0:$o(Xt(C),0),Jt(function(T){var U=T[C],Q=Vl(T,0,C);return U&&Bl(Q,U),Yr(p,this,Q)})}function pX(p,C,T){var U=!0,Q=!0;if(typeof p!="function")throw new mi(a);return Kn(T)&&(U="leading"in T?!!T.leading:U,Q="trailing"in T?!!T.trailing:Q),qE(p,C,{leading:U,maxWait:C,trailing:Q})}function hX(p){return KE(p,1)}function gX(p,C){return gS(J1(C),p)}function vX(){if(!arguments.length)return[];var p=arguments[0];return Kt(p)?p:[p]}function mX(p){return yi(p,h)}function bX(p,C){return C=typeof C=="function"?C:n,yi(p,h,C)}function yX(p){return yi(p,d|h)}function SX(p,C){return C=typeof C=="function"?C:n,yi(p,d|h,C)}function CX(p,C){return C==null||BT(p,C,Mo(C))}function Yi(p,C){return p===C||p!==p&&C!==C}var $X=Kg(z1),xX=Kg(function(p,C){return p>=C}),Ys=VT(function(){return arguments}())?VT:function(p){return Xn(p)&&vn.call(p,"callee")&&!ET.call(p,"callee")},Kt=ke.isArray,wX=dT?Xr(dT):MU;function Pr(p){return p!=null&&ev(p.length)&&!Xa(p)}function ro(p){return Xn(p)&&Pr(p)}function _X(p){return p===!0||p===!1||Xn(p)&&hr(p)==fe}var Kl=FK||OS,OX=fT?Xr(fT):RU;function IX(p){return Xn(p)&&p.nodeType===1&&!Bf(p)}function PX(p){if(p==null)return!0;if(Pr(p)&&(Kt(p)||typeof p=="string"||typeof p.splice=="function"||Kl(p)||_u(p)||Ys(p)))return!p.length;var C=tr(p);if(C==j||C==_e)return!p.size;if(Nf(p))return!V1(p).length;for(var T in p)if(vn.call(p,T))return!1;return!0}function TX(p,C){return Rf(p,C)}function EX(p,C,T){T=typeof T=="function"?T:n;var U=T?T(p,C):n;return U===n?Rf(p,C,n,T):!!U}function vS(p){if(!Xn(p))return!1;var C=hr(p);return C==ue||C==X||typeof p.message=="string"&&typeof p.name=="string"&&!Bf(p)}function AX(p){return typeof p=="number"&&MT(p)}function Xa(p){if(!Kn(p))return!1;var C=hr(p);return C==ye||C==H||C==ee||C==Se}function QE(p){return typeof p=="number"&&p==Xt(p)}function ev(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=L}function Kn(p){var C=typeof p;return p!=null&&(C=="object"||C=="function")}function Xn(p){return p!=null&&typeof p=="object"}var JE=pT?Xr(pT):LU;function MX(p,C){return p===C||W1(p,C,aS(C))}function RX(p,C,T){return T=typeof T=="function"?T:n,W1(p,C,aS(C),T)}function DX(p){return e4(p)&&p!=+p}function LX(p){if(bG(p))throw new Wt(i);return KT(p)}function NX(p){return p===null}function kX(p){return p==null}function e4(p){return typeof p=="number"||Xn(p)&&hr(p)==q}function Bf(p){if(!Xn(p)||hr(p)!=ae)return!1;var C=Ig(p);if(C===null)return!0;var T=vn.call(C,"constructor")&&C.constructor;return typeof T=="function"&&T instanceof T&&xg.call(T)==RK}var mS=hT?Xr(hT):NU;function BX(p){return QE(p)&&p>=-L&&p<=L}var t4=gT?Xr(gT):kU;function tv(p){return typeof p=="string"||!Kt(p)&&Xn(p)&&hr(p)==be}function Zr(p){return typeof p=="symbol"||Xn(p)&&hr(p)==Te}var _u=vT?Xr(vT):BU;function FX(p){return p===n}function HX(p){return Xn(p)&&tr(p)==oe}function zX(p){return Xn(p)&&hr(p)==le}var jX=Kg(K1),WX=Kg(function(p,C){return p<=C});function n4(p){if(!p)return[];if(Pr(p))return tv(p)?Ui(p):Ir(p);if(_f&&p[_f])return CK(p[_f]());var C=tr(p),T=C==j?M1:C==_e?Sg:Ou;return T(p)}function qa(p){if(!p)return p===0?p:0;if(p=$i(p),p===k||p===-k){var C=p<0?-1:1;return C*z}return p===p?p:0}function Xt(p){var C=qa(p),T=C%1;return C===C?T?C-T:C:0}function o4(p){return p?Vs(Xt(p),0,G):0}function $i(p){if(typeof p=="number")return p;if(Zr(p))return K;if(Kn(p)){var C=typeof p.valueOf=="function"?p.valueOf():p;p=Kn(C)?C+"":C}if(typeof p!="string")return p===0?p:+p;p=$T(p);var T=Cn.test(p);return T||Or.test(p)?rK(p.slice(2),T?2:8):_r.test(p)?K:+p}function r4(p){return ma(p,Tr(p))}function VX(p){return p?Vs(Xt(p),-L,L):p===0?p:0}function hn(p){return p==null?"":qr(p)}var KX=$u(function(p,C){if(Nf(C)||Pr(C)){ma(C,Mo(C),p);return}for(var T in C)vn.call(C,T)&&Ef(p,T,C[T])}),i4=$u(function(p,C){ma(C,Tr(C),p)}),nv=$u(function(p,C,T,U){ma(C,Tr(C),p,U)}),UX=$u(function(p,C,T,U){ma(C,Mo(C),p,U)}),GX=Ga(B1);function YX(p,C){var T=Cu(p);return C==null?T:kT(T,C)}var XX=Jt(function(p,C){p=xn(p);var T=-1,U=C.length,Q=U>2?C[2]:n;for(Q&&gr(C[0],C[1],Q)&&(U=1);++T<U;)for(var de=C[T],Ce=Tr(de),we=-1,Me=Ce.length;++we<Me;){var ze=Ce[we],je=p[ze];(je===n||Yi(je,bu[ze])&&!vn.call(p,ze))&&(p[ze]=de[ze])}return p}),qX=Jt(function(p){return p.push(n,$E),Yr(a4,n,p)});function ZX(p,C){return bT(p,Tt(C,3),va)}function QX(p,C){return bT(p,Tt(C,3),H1)}function JX(p,C){return p==null?p:F1(p,Tt(C,3),Tr)}function eq(p,C){return p==null?p:jT(p,Tt(C,3),Tr)}function tq(p,C){return p&&va(p,Tt(C,3))}function nq(p,C){return p&&H1(p,Tt(C,3))}function oq(p){return p==null?[]:kg(p,Mo(p))}function rq(p){return p==null?[]:kg(p,Tr(p))}function bS(p,C,T){var U=p==null?n:Ks(p,C);return U===n?T:U}function iq(p,C){return p!=null&&_E(p,C,PU)}function yS(p,C){return p!=null&&_E(p,C,TU)}var aq=mE(function(p,C,T){C!=null&&typeof C.toString!="function"&&(C=wg.call(C)),p[C]=T},CS(Er)),lq=mE(function(p,C,T){C!=null&&typeof C.toString!="function"&&(C=wg.call(C)),vn.call(p,C)?p[C].push(T):p[C]=[T]},Tt),sq=Jt(Mf);function Mo(p){return Pr(p)?LT(p):V1(p)}function Tr(p){return Pr(p)?LT(p,!0):FU(p)}function cq(p,C){var T={};return C=Tt(C,3),va(p,function(U,Q,de){Ka(T,C(U,Q,de),U)}),T}function uq(p,C){var T={};return C=Tt(C,3),va(p,function(U,Q,de){Ka(T,Q,C(U,Q,de))}),T}var dq=$u(function(p,C,T){Bg(p,C,T)}),a4=$u(function(p,C,T,U){Bg(p,C,T,U)}),fq=Ga(function(p,C){var T={};if(p==null)return T;var U=!1;C=Fn(C,function(de){return de=Wl(de,p),U||(U=de.length>1),de}),ma(p,rS(p),T),U&&(T=yi(T,d|f|h,aG));for(var Q=C.length;Q--;)q1(T,C[Q]);return T});function pq(p,C){return l4(p,Jg(Tt(C)))}var hq=Ga(function(p,C){return p==null?{}:zU(p,C)});function l4(p,C){if(p==null)return{};var T=Fn(rS(p),function(U){return[U]});return C=Tt(C),QT(p,T,function(U,Q){return C(U,Q[0])})}function gq(p,C,T){C=Wl(C,p);var U=-1,Q=C.length;for(Q||(Q=1,p=n);++U<Q;){var de=p==null?n:p[ba(C[U])];de===n&&(U=Q,de=T),p=Xa(de)?de.call(p):de}return p}function vq(p,C,T){return p==null?p:Df(p,C,T)}function mq(p,C,T,U){return U=typeof U=="function"?U:n,p==null?p:Df(p,C,T,U)}var s4=SE(Mo),c4=SE(Tr);function bq(p,C,T){var U=Kt(p),Q=U||Kl(p)||_u(p);if(C=Tt(C,4),T==null){var de=p&&p.constructor;Q?T=U?new de:[]:Kn(p)?T=Xa(de)?Cu(Ig(p)):{}:T={}}return(Q?vi:va)(p,function(Ce,we,Me){return C(T,Ce,we,Me)}),T}function yq(p,C){return p==null?!0:q1(p,C)}function Sq(p,C,T){return p==null?p:oE(p,C,J1(T))}function Cq(p,C,T,U){return U=typeof U=="function"?U:n,p==null?p:oE(p,C,J1(T),U)}function Ou(p){return p==null?[]:A1(p,Mo(p))}function $q(p){return p==null?[]:A1(p,Tr(p))}function xq(p,C,T){return T===n&&(T=C,C=n),T!==n&&(T=$i(T),T=T===T?T:0),C!==n&&(C=$i(C),C=C===C?C:0),Vs($i(p),C,T)}function wq(p,C,T){return C=qa(C),T===n?(T=C,C=0):T=qa(T),p=$i(p),EU(p,C,T)}function _q(p,C,T){if(T&&typeof T!="boolean"&&gr(p,C,T)&&(C=T=n),T===n&&(typeof C=="boolean"?(T=C,C=n):typeof p=="boolean"&&(T=p,p=n)),p===n&&C===n?(p=0,C=1):(p=qa(p),C===n?(C=p,p=0):C=qa(C)),p>C){var U=p;p=C,C=U}if(T||p%1||C%1){var Q=RT();return er(p+Q*(C-p+oK("1e-"+((Q+"").length-1))),C)}return G1(p,C)}var Oq=xu(function(p,C,T){return C=C.toLowerCase(),p+(T?u4(C):C)});function u4(p){return SS(hn(p).toLowerCase())}function d4(p){return p=hn(p),p&&p.replace(ha,vK).replace(GV,"")}function Iq(p,C,T){p=hn(p),C=qr(C);var U=p.length;T=T===n?U:Vs(Xt(T),0,U);var Q=T;return T-=C.length,T>=0&&p.slice(T,Q)==C}function Pq(p){return p=hn(p),p&&Gn.test(p)?p.replace(Yt,mK):p}function Tq(p){return p=hn(p),p&&za.test(p)?p.replace(Ao,"\\$&"):p}var Eq=xu(function(p,C,T){return p+(T?"-":"")+C.toLowerCase()}),Aq=xu(function(p,C,T){return p+(T?" ":"")+C.toLowerCase()}),Mq=hE("toLowerCase");function Rq(p,C,T){p=hn(p),C=Xt(C);var U=C?vu(p):0;if(!C||U>=C)return p;var Q=(C-U)/2;return Vg(Ag(Q),T)+p+Vg(Eg(Q),T)}function Dq(p,C,T){p=hn(p),C=Xt(C);var U=C?vu(p):0;return C&&U<C?p+Vg(C-U,T):p}function Lq(p,C,T){p=hn(p),C=Xt(C);var U=C?vu(p):0;return C&&U<C?Vg(C-U,T)+p:p}function Nq(p,C,T){return T||C==null?C=0:C&&(C=+C),WK(hn(p).replace(We,""),C||0)}function kq(p,C,T){return(T?gr(p,C,T):C===n)?C=1:C=Xt(C),Y1(hn(p),C)}function Bq(){var p=arguments,C=hn(p[0]);return p.length<3?C:C.replace(p[1],p[2])}var Fq=xu(function(p,C,T){return p+(T?"_":"")+C.toLowerCase()});function Hq(p,C,T){return T&&typeof T!="number"&&gr(p,C,T)&&(C=T=n),T=T===n?G:T>>>0,T?(p=hn(p),p&&(typeof C=="string"||C!=null&&!mS(C))&&(C=qr(C),!C&&gu(p))?Vl(Ui(p),0,T):p.split(C,T)):[]}var zq=xu(function(p,C,T){return p+(T?" ":"")+SS(C)});function jq(p,C,T){return p=hn(p),T=T==null?0:Vs(Xt(T),0,p.length),C=qr(C),p.slice(T,T+C.length)==C}function Wq(p,C,T){var U=ce.templateSettings;T&&gr(p,C,T)&&(C=n),p=hn(p),C=nv({},C,U,CE);var Q=nv({},C.imports,U.imports,CE),de=Mo(Q),Ce=A1(Q,de),we,Me,ze=0,je=C.interpolate||Zo,Ge="__p += '",ot=R1((C.escape||Zo).source+"|"+je.source+"|"+(je===yo?hi:Zo).source+"|"+(C.evaluate||Zo).source+"|$","g"),yt="//# sourceURL="+(vn.call(C,"sourceURL")?(C.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++QV+"]")+`
+`;p.replace(ot,function(At,tn,sn,Qr,vr,Jr){return sn||(sn=Qr),Ge+=p.slice(ze,Jr).replace(Ll,bK),tn&&(we=!0,Ge+=`' +
+__e(`+tn+`) +
+'`),vr&&(Me=!0,Ge+=`';
+`+vr+`;
+__p += '`),sn&&(Ge+=`' +
+((__t = (`+sn+`)) == null ? '' : __t) +
+'`),ze=Jr+At.length,At}),Ge+=`';
+`;var Et=vn.call(C,"variable")&&C.variable;if(!Et)Ge=`with (obj) {
+`+Ge+`
+}
+`;else if(Xo.test(Et))throw new Wt(l);Ge=(Me?Ge.replace(xt,""):Ge).replace(Mt,"$1").replace(Ft,"$1;"),Ge="function("+(Et||"obj")+`) {
+`+(Et?"":`obj || (obj = {});
+`)+"var __t, __p = ''"+(we?", __e = _.escape":"")+(Me?`, __j = Array.prototype.join;
+function print() { __p += __j.call(arguments, '') }
+`:`;
+`)+Ge+`return __p
+}`;var Qt=p4(function(){return fn(de,yt+"return "+Ge).apply(n,Ce)});if(Qt.source=Ge,vS(Qt))throw Qt;return Qt}function Vq(p){return hn(p).toLowerCase()}function Kq(p){return hn(p).toUpperCase()}function Uq(p,C,T){if(p=hn(p),p&&(T||C===n))return $T(p);if(!p||!(C=qr(C)))return p;var U=Ui(p),Q=Ui(C),de=xT(U,Q),Ce=wT(U,Q)+1;return Vl(U,de,Ce).join("")}function Gq(p,C,T){if(p=hn(p),p&&(T||C===n))return p.slice(0,OT(p)+1);if(!p||!(C=qr(C)))return p;var U=Ui(p),Q=wT(U,Ui(C))+1;return Vl(U,0,Q).join("")}function Yq(p,C,T){if(p=hn(p),p&&(T||C===n))return p.replace(We,"");if(!p||!(C=qr(C)))return p;var U=Ui(p),Q=xT(U,Ui(C));return Vl(U,Q).join("")}function Xq(p,C){var T=R,U=A;if(Kn(C)){var Q="separator"in C?C.separator:Q;T="length"in C?Xt(C.length):T,U="omission"in C?qr(C.omission):U}p=hn(p);var de=p.length;if(gu(p)){var Ce=Ui(p);de=Ce.length}if(T>=de)return p;var we=T-vu(U);if(we<1)return U;var Me=Ce?Vl(Ce,0,we).join(""):p.slice(0,we);if(Q===n)return Me+U;if(Ce&&(we+=Me.length-we),mS(Q)){if(p.slice(we).search(Q)){var ze,je=Me;for(Q.global||(Q=R1(Q.source,hn(qo.exec(Q))+"g")),Q.lastIndex=0;ze=Q.exec(je);)var Ge=ze.index;Me=Me.slice(0,Ge===n?we:Ge)}}else if(p.indexOf(qr(Q),we)!=we){var ot=Me.lastIndexOf(Q);ot>-1&&(Me=Me.slice(0,ot))}return Me+U}function qq(p){return p=hn(p),p&&Vn.test(p)?p.replace(jt,_K):p}var Zq=xu(function(p,C,T){return p+(T?" ":"")+C.toUpperCase()}),SS=hE("toUpperCase");function f4(p,C,T){return p=hn(p),C=T?n:C,C===n?SK(p)?PK(p):dK(p):p.match(C)||[]}var p4=Jt(function(p,C){try{return Yr(p,n,C)}catch(T){return vS(T)?T:new Wt(T)}}),Qq=Ga(function(p,C){return vi(C,function(T){T=ba(T),Ka(p,T,hS(p[T],p))}),p});function Jq(p){var C=p==null?0:p.length,T=Tt();return p=C?Fn(p,function(U){if(typeof U[1]!="function")throw new mi(a);return[T(U[0]),U[1]]}):[],Jt(function(U){for(var Q=-1;++Q<C;){var de=p[Q];if(Yr(de[0],this,U))return Yr(de[1],this,U)}})}function eZ(p){return _U(yi(p,d))}function CS(p){return function(){return p}}function tZ(p,C){return p==null||p!==p?C:p}var nZ=vE(),oZ=vE(!0);function Er(p){return p}function $S(p){return UT(typeof p=="function"?p:yi(p,d))}function rZ(p){return YT(yi(p,d))}function iZ(p,C){return XT(p,yi(C,d))}var aZ=Jt(function(p,C){return function(T){return Mf(T,p,C)}}),lZ=Jt(function(p,C){return function(T){return Mf(p,T,C)}});function xS(p,C,T){var U=Mo(C),Q=kg(C,U);T==null&&!(Kn(C)&&(Q.length||!U.length))&&(T=C,C=p,p=this,Q=kg(C,Mo(C)));var de=!(Kn(T)&&"chain"in T)||!!T.chain,Ce=Xa(p);return vi(Q,function(we){var Me=C[we];p[we]=Me,Ce&&(p.prototype[we]=function(){var ze=this.__chain__;if(de||ze){var je=p(this.__wrapped__),Ge=je.__actions__=Ir(this.__actions__);return Ge.push({func:Me,args:arguments,thisArg:p}),je.__chain__=ze,je}return Me.apply(p,Bl([this.value()],arguments))})}),p}function sZ(){return Ho._===this&&(Ho._=DK),this}function wS(){}function cZ(p){return p=Xt(p),Jt(function(C){return qT(C,p)})}var uZ=tS(Fn),dZ=tS(mT),fZ=tS(O1);function h4(p){return sS(p)?I1(ba(p)):jU(p)}function pZ(p){return function(C){return p==null?n:Ks(p,C)}}var hZ=bE(),gZ=bE(!0);function _S(){return[]}function OS(){return!1}function vZ(){return{}}function mZ(){return""}function bZ(){return!0}function yZ(p,C){if(p=Xt(p),p<1||p>L)return[];var T=G,U=er(p,G);C=Tt(C),p-=G;for(var Q=E1(U,C);++T<p;)C(T);return Q}function SZ(p){return Kt(p)?Fn(p,ba):Zr(p)?[p]:Ir(DE(hn(p)))}function CZ(p){var C=++MK;return hn(p)+C}var $Z=Wg(function(p,C){return p+C},0),xZ=nS("ceil"),wZ=Wg(function(p,C){return p/C},1),_Z=nS("floor");function OZ(p){return p&&p.length?Ng(p,Er,z1):n}function IZ(p,C){return p&&p.length?Ng(p,Tt(C,2),z1):n}function PZ(p){return ST(p,Er)}function TZ(p,C){return ST(p,Tt(C,2))}function EZ(p){return p&&p.length?Ng(p,Er,K1):n}function AZ(p,C){return p&&p.length?Ng(p,Tt(C,2),K1):n}var MZ=Wg(function(p,C){return p*C},1),RZ=nS("round"),DZ=Wg(function(p,C){return p-C},0);function LZ(p){return p&&p.length?T1(p,Er):0}function NZ(p,C){return p&&p.length?T1(p,Tt(C,2)):0}return ce.after=rX,ce.ary=KE,ce.assign=KX,ce.assignIn=i4,ce.assignInWith=nv,ce.assignWith=UX,ce.at=GX,ce.before=UE,ce.bind=hS,ce.bindAll=Qq,ce.bindKey=GE,ce.castArray=vX,ce.chain=jE,ce.chunk=_G,ce.compact=OG,ce.concat=IG,ce.cond=Jq,ce.conforms=eZ,ce.constant=CS,ce.countBy=LY,ce.create=YX,ce.curry=YE,ce.curryRight=XE,ce.debounce=qE,ce.defaults=XX,ce.defaultsDeep=qX,ce.defer=iX,ce.delay=aX,ce.difference=PG,ce.differenceBy=TG,ce.differenceWith=EG,ce.drop=AG,ce.dropRight=MG,ce.dropRightWhile=RG,ce.dropWhile=DG,ce.fill=LG,ce.filter=kY,ce.flatMap=HY,ce.flatMapDeep=zY,ce.flatMapDepth=jY,ce.flatten=BE,ce.flattenDeep=NG,ce.flattenDepth=kG,ce.flip=lX,ce.flow=nZ,ce.flowRight=oZ,ce.fromPairs=BG,ce.functions=oq,ce.functionsIn=rq,ce.groupBy=WY,ce.initial=HG,ce.intersection=zG,ce.intersectionBy=jG,ce.intersectionWith=WG,ce.invert=aq,ce.invertBy=lq,ce.invokeMap=KY,ce.iteratee=$S,ce.keyBy=UY,ce.keys=Mo,ce.keysIn=Tr,ce.map=qg,ce.mapKeys=cq,ce.mapValues=uq,ce.matches=rZ,ce.matchesProperty=iZ,ce.memoize=Qg,ce.merge=dq,ce.mergeWith=a4,ce.method=aZ,ce.methodOf=lZ,ce.mixin=xS,ce.negate=Jg,ce.nthArg=cZ,ce.omit=fq,ce.omitBy=pq,ce.once=sX,ce.orderBy=GY,ce.over=uZ,ce.overArgs=cX,ce.overEvery=dZ,ce.overSome=fZ,ce.partial=gS,ce.partialRight=ZE,ce.partition=YY,ce.pick=hq,ce.pickBy=l4,ce.property=h4,ce.propertyOf=pZ,ce.pull=GG,ce.pullAll=HE,ce.pullAllBy=YG,ce.pullAllWith=XG,ce.pullAt=qG,ce.range=hZ,ce.rangeRight=gZ,ce.rearg=uX,ce.reject=ZY,ce.remove=ZG,ce.rest=dX,ce.reverse=fS,ce.sampleSize=JY,ce.set=vq,ce.setWith=mq,ce.shuffle=eX,ce.slice=QG,ce.sortBy=oX,ce.sortedUniq=iY,ce.sortedUniqBy=aY,ce.split=Hq,ce.spread=fX,ce.tail=lY,ce.take=sY,ce.takeRight=cY,ce.takeRightWhile=uY,ce.takeWhile=dY,ce.tap=OY,ce.throttle=pX,ce.thru=Xg,ce.toArray=n4,ce.toPairs=s4,ce.toPairsIn=c4,ce.toPath=SZ,ce.toPlainObject=r4,ce.transform=bq,ce.unary=hX,ce.union=fY,ce.unionBy=pY,ce.unionWith=hY,ce.uniq=gY,ce.uniqBy=vY,ce.uniqWith=mY,ce.unset=yq,ce.unzip=pS,ce.unzipWith=zE,ce.update=Sq,ce.updateWith=Cq,ce.values=Ou,ce.valuesIn=$q,ce.without=bY,ce.words=f4,ce.wrap=gX,ce.xor=yY,ce.xorBy=SY,ce.xorWith=CY,ce.zip=$Y,ce.zipObject=xY,ce.zipObjectDeep=wY,ce.zipWith=_Y,ce.entries=s4,ce.entriesIn=c4,ce.extend=i4,ce.extendWith=nv,xS(ce,ce),ce.add=$Z,ce.attempt=p4,ce.camelCase=Oq,ce.capitalize=u4,ce.ceil=xZ,ce.clamp=xq,ce.clone=mX,ce.cloneDeep=yX,ce.cloneDeepWith=SX,ce.cloneWith=bX,ce.conformsTo=CX,ce.deburr=d4,ce.defaultTo=tZ,ce.divide=wZ,ce.endsWith=Iq,ce.eq=Yi,ce.escape=Pq,ce.escapeRegExp=Tq,ce.every=NY,ce.find=BY,ce.findIndex=NE,ce.findKey=ZX,ce.findLast=FY,ce.findLastIndex=kE,ce.findLastKey=QX,ce.floor=_Z,ce.forEach=WE,ce.forEachRight=VE,ce.forIn=JX,ce.forInRight=eq,ce.forOwn=tq,ce.forOwnRight=nq,ce.get=bS,ce.gt=$X,ce.gte=xX,ce.has=iq,ce.hasIn=yS,ce.head=FE,ce.identity=Er,ce.includes=VY,ce.indexOf=FG,ce.inRange=wq,ce.invoke=sq,ce.isArguments=Ys,ce.isArray=Kt,ce.isArrayBuffer=wX,ce.isArrayLike=Pr,ce.isArrayLikeObject=ro,ce.isBoolean=_X,ce.isBuffer=Kl,ce.isDate=OX,ce.isElement=IX,ce.isEmpty=PX,ce.isEqual=TX,ce.isEqualWith=EX,ce.isError=vS,ce.isFinite=AX,ce.isFunction=Xa,ce.isInteger=QE,ce.isLength=ev,ce.isMap=JE,ce.isMatch=MX,ce.isMatchWith=RX,ce.isNaN=DX,ce.isNative=LX,ce.isNil=kX,ce.isNull=NX,ce.isNumber=e4,ce.isObject=Kn,ce.isObjectLike=Xn,ce.isPlainObject=Bf,ce.isRegExp=mS,ce.isSafeInteger=BX,ce.isSet=t4,ce.isString=tv,ce.isSymbol=Zr,ce.isTypedArray=_u,ce.isUndefined=FX,ce.isWeakMap=HX,ce.isWeakSet=zX,ce.join=VG,ce.kebabCase=Eq,ce.last=Ci,ce.lastIndexOf=KG,ce.lowerCase=Aq,ce.lowerFirst=Mq,ce.lt=jX,ce.lte=WX,ce.max=OZ,ce.maxBy=IZ,ce.mean=PZ,ce.meanBy=TZ,ce.min=EZ,ce.minBy=AZ,ce.stubArray=_S,ce.stubFalse=OS,ce.stubObject=vZ,ce.stubString=mZ,ce.stubTrue=bZ,ce.multiply=MZ,ce.nth=UG,ce.noConflict=sZ,ce.noop=wS,ce.now=Zg,ce.pad=Rq,ce.padEnd=Dq,ce.padStart=Lq,ce.parseInt=Nq,ce.random=_q,ce.reduce=XY,ce.reduceRight=qY,ce.repeat=kq,ce.replace=Bq,ce.result=gq,ce.round=RZ,ce.runInContext=Ee,ce.sample=QY,ce.size=tX,ce.snakeCase=Fq,ce.some=nX,ce.sortedIndex=JG,ce.sortedIndexBy=eY,ce.sortedIndexOf=tY,ce.sortedLastIndex=nY,ce.sortedLastIndexBy=oY,ce.sortedLastIndexOf=rY,ce.startCase=zq,ce.startsWith=jq,ce.subtract=DZ,ce.sum=LZ,ce.sumBy=NZ,ce.template=Wq,ce.times=yZ,ce.toFinite=qa,ce.toInteger=Xt,ce.toLength=o4,ce.toLower=Vq,ce.toNumber=$i,ce.toSafeInteger=VX,ce.toString=hn,ce.toUpper=Kq,ce.trim=Uq,ce.trimEnd=Gq,ce.trimStart=Yq,ce.truncate=Xq,ce.unescape=qq,ce.uniqueId=CZ,ce.upperCase=Zq,ce.upperFirst=SS,ce.each=WE,ce.eachRight=VE,ce.first=FE,xS(ce,function(){var p={};return va(ce,function(C,T){vn.call(ce.prototype,T)||(p[T]=C)}),p}(),{chain:!1}),ce.VERSION=o,vi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(p){ce[p].placeholder=ce}),vi(["drop","take"],function(p,C){on.prototype[p]=function(T){T=T===n?1:$o(Xt(T),0);var U=this.__filtered__&&!C?new on(this):this.clone();return U.__filtered__?U.__takeCount__=er(T,U.__takeCount__):U.__views__.push({size:er(T,G),type:p+(U.__dir__<0?"Right":"")}),U},on.prototype[p+"Right"]=function(T){return this.reverse()[p](T).reverse()}}),vi(["filter","map","takeWhile"],function(p,C){var T=C+1,U=T==W||T==B;on.prototype[p]=function(Q){var de=this.clone();return de.__iteratees__.push({iteratee:Tt(Q,3),type:T}),de.__filtered__=de.__filtered__||U,de}}),vi(["head","last"],function(p,C){var T="take"+(C?"Right":"");on.prototype[p]=function(){return this[T](1).value()[0]}}),vi(["initial","tail"],function(p,C){var T="drop"+(C?"":"Right");on.prototype[p]=function(){return this.__filtered__?new on(this):this[T](1)}}),on.prototype.compact=function(){return this.filter(Er)},on.prototype.find=function(p){return this.filter(p).head()},on.prototype.findLast=function(p){return this.reverse().find(p)},on.prototype.invokeMap=Jt(function(p,C){return typeof p=="function"?new on(this):this.map(function(T){return Mf(T,p,C)})}),on.prototype.reject=function(p){return this.filter(Jg(Tt(p)))},on.prototype.slice=function(p,C){p=Xt(p);var T=this;return T.__filtered__&&(p>0||C<0)?new on(T):(p<0?T=T.takeRight(-p):p&&(T=T.drop(p)),C!==n&&(C=Xt(C),T=C<0?T.dropRight(-C):T.take(C-p)),T)},on.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},on.prototype.toArray=function(){return this.take(G)},va(on.prototype,function(p,C){var T=/^(?:filter|find|map|reject)|While$/.test(C),U=/^(?:head|last)$/.test(C),Q=ce[U?"take"+(C=="last"?"Right":""):C],de=U||/^find/.test(C);Q&&(ce.prototype[C]=function(){var Ce=this.__wrapped__,we=U?[1]:arguments,Me=Ce instanceof on,ze=we[0],je=Me||Kt(Ce),Ge=function(tn){var sn=Q.apply(ce,Bl([tn],we));return U&&ot?sn[0]:sn};je&&T&&typeof ze=="function"&&ze.length!=1&&(Me=je=!1);var ot=this.__chain__,yt=!!this.__actions__.length,Et=de&&!ot,Qt=Me&&!yt;if(!de&&je){Ce=Qt?Ce:new on(this);var At=p.apply(Ce,we);return At.__actions__.push({func:Xg,args:[Ge],thisArg:n}),new bi(At,ot)}return Et&&Qt?p.apply(this,we):(At=this.thru(Ge),Et?U?At.value()[0]:At.value():At)})}),vi(["pop","push","shift","sort","splice","unshift"],function(p){var C=Cg[p],T=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",U=/^(?:pop|shift)$/.test(p);ce.prototype[p]=function(){var Q=arguments;if(U&&!this.__chain__){var de=this.value();return C.apply(Kt(de)?de:[],Q)}return this[T](function(Ce){return C.apply(Kt(Ce)?Ce:[],Q)})}}),va(on.prototype,function(p,C){var T=ce[C];if(T){var U=T.name+"";vn.call(Su,U)||(Su[U]=[]),Su[U].push({name:C,func:T})}}),Su[jg(n,b).name]=[{name:"wrapper",func:n}],on.prototype.clone=qK,on.prototype.reverse=ZK,on.prototype.value=QK,ce.prototype.at=IY,ce.prototype.chain=PY,ce.prototype.commit=TY,ce.prototype.next=EY,ce.prototype.plant=MY,ce.prototype.reverse=RY,ce.prototype.toJSON=ce.prototype.valueOf=ce.prototype.value=DY,ce.prototype.first=ce.prototype.head,_f&&(ce.prototype[_f]=AY),ce},mu=TK();Hs?((Hs.exports=mu)._=mu,$1._=mu):Ho._=mu}).call(Lr)})(eb,eb.exports);var HRe=eb.exports;const Fp=Ba(HRe),zRe="#17b392",Jj="LOCAL_STORAGE_LOCALE",jRe="LOCAL_STORAGE_THEME";let WRe=localStorage.getItem(jRe);function VRe(e){e=e.replace("#","");const t=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),o=parseInt(e.substring(4,6),16),[r,i,a]=[t,n,o].map(s=>{const c=s/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*r+.7152*i+.0722*a>.5?"#131313":"#e3e1e1"}const Oh=he(WRe||zRe),_He=e=>M(()=>Oh.value+e),OHe=M(()=>VRe(Oh.value)),IHe={HEALTHY:"green",REGISTED:"green"},KRe={functional:!0,props:["route"],render:(e,t,n)=>{var i,a,l;let o=n.route,r=(a=(i=o.meta)==null?void 0:i.slots)==null?void 0:a.header;return Ni(r)||Ni("div",(l=o.params)==null?void 0:l.pathId)}},PHe={RUNNING:"green",PENDING:"yellow",TERMINATING:"red",CRASHING:"darkRed"},Lu="__PROVIDE_INJECT_KEY_",eW={LAYOUT_ROUTE_KEY:Lu+"LAYOUT_ROUTE_KEY",LOCALE:Lu+"LOCALE",GRAFANA:Lu+"GRAFANA",SEARCH_DOMAIN:Lu+"SEARCH_DOMAIN",COLLAPSED:Lu+"COLLAPSED",TAB_LAYOUT_STATE:Lu+"TAB_LAYOUT_STATE"},URe={class:"__container_router_tab_index"},GRe={key:0,class:"header"},YRe={id:"layout-tab-body",style:{transition:"scroll-top 0.5s ease",overflow:"auto",height:"calc(100vh - 300px)","padding-bottom":"20px"}},XRe=pe({__name:"layout_tab",setup(e){ON(c=>({"6b871b3a":It(Oh)}));const t=St({});ft(eW.PROVIDE_INJECT_KEY,t);const n=kj(),o=Ml();o.meta;const r=M(()=>{var u,d;let c=o.meta;return(d=(u=c==null?void 0:c.parent)==null?void 0:u.children)==null?void 0:d.filter(f=>f.meta.tab)}),i=M(()=>o.name+"_"+Fp.uniqueId());let a=he(o.name),l=he(!1),s=Fp.uniqueId("__tab_page");return n.beforeEach((c,u,d)=>{s=Fp.uniqueId("__tab_page"),l.value=!0,a.value=c.name,d(),setTimeout(()=>{l.value=!1},500)}),(c,u)=>{const d=Nt("a-col"),f=Nt("a-row"),h=Nt("a-tab-pane"),m=Nt("a-tabs"),v=Nt("router-view"),y=Nt("a-spin");return ht(),qt("div",URe,[(ht(),qt("div",{key:It(s)},[It(o).meta.tab?(ht(),qt("div",GRe,[g(f,null,{default:bn(()=>[g(d,{span:1},{default:bn(()=>[tt("span",{onClick:u[0]||(u[0]=b=>It(n).replace(It(o).meta.back||"../")),style:{float:"left"}},[g(It(S5),{icon:"material-symbols:keyboard-backspace-rounded",class:"back"})])]),_:1}),g(d,{span:18},{default:bn(()=>[g(It(KRe),{route:It(o)},null,8,["route"])]),_:1})]),_:1}),g(m,{onChange:u[1]||(u[1]=b=>It(n).push({name:It(a)||""})),activeKey:It(a),"onUpdate:activeKey":u[2]||(u[2]=b=>Wn(a)?a.value=b:a=b)},{default:bn(()=>[(ht(!0),qt(Je,null,Cd(r.value.filter(b=>!b.meta.hidden),b=>(ht(),jn(h,{key:b.name},{tab:bn(()=>[tt("span",null,[g(It(S5),{style:{"margin-bottom":"-2px"},icon:b.meta.icon},null,8,["icon"]),Do(" "+Uo(c.$t(b.name)),1)])]),_:2},1024))),128))]),_:1},8,["activeKey"])])):zn("",!0),g(y,{class:"tab-spin",spinning:It(l)},{default:bn(()=>[tt("div",YRe,[It(l)?zn("",!0):(ht(),jn(v,{key:i.value}))])]),_:1},8,["spinning"])]))])}}}),fa=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},qi=fa(XRe,[["__scopeId","data-v-e3c1cda1"]]),qRe={class:"__container_AppTabHeaderSlot"},ZRe={class:"header-desc"},QRe=pe({__name:"AppTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",qRe,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",ZRe,Uo(n.$t("applicationDomain.name"))+": "+Uo((a=It(t).params)==null?void 0:a.pathId),1)]}),_:1})]),_:1})])}}}),JRe=fa(QRe,[["__scopeId","data-v-d9202124"]]),e5e={class:"__container_ServiceTabHeaderSlot"},t5e={class:"header-desc"},n5e=pe({__name:"ServiceTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{var r;return ht(),qt("div",e5e,[tt("span",t5e,Uo(n.$t("serviceDomain.name"))+": "+Uo((r=It(t).params)==null?void 0:r.pathId),1)])}}}),o5e=fa(n5e,[["__scopeId","data-v-3de51f62"]]),r5e={class:"__container_AppTabHeaderSlot"},i5e={class:"header-desc"},a5e=pe({__name:"InstanceTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",r5e,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",i5e,Uo(n.$t("instanceDomain.name"))+": "+Uo((a=It(t).params)==null?void 0:a.pathId),1)]}),_:1})]),_:1})])}}}),l5e=fa(a5e,[["__scopeId","data-v-945638c8"]]),s5e={},c5e=e=>(Ps("data-v-0f2e35af"),e=e(),Ts(),e),u5e={class:"__container_AppTabHeaderSlot"},d5e=c5e(()=>tt("span",{class:"header-desc"}," 新增条件路由 ",-1));function f5e(e,t){const n=Nt("a-col"),o=Nt("a-row");return ht(),qt("div",u5e,[g(o,null,{default:bn(()=>[g(n,{span:12},{default:bn(()=>[d5e]),_:1})]),_:1})])}const p5e=fa(s5e,[["render",f5e],["__scopeId","data-v-0f2e35af"]]),h5e={class:"__container_AppTabHeaderSlot"},g5e={class:"header-desc"},v5e=pe({__name:"conditionRuleDetailTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",h5e,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",g5e,Uo((a=It(t).params)==null?void 0:a.ruleName),1)]}),_:1})]),_:1})])}}}),m5e=fa(v5e,[["__scopeId","data-v-8b847dc2"]]),b5e={class:"__container_AppTabHeaderSlot"},y5e={class:"header-desc"},S5e=pe({__name:"updateConditionRuleTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",b5e,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",y5e," 修改 "+Uo((a=It(t).params)==null?void 0:a.ruleName),1)]}),_:1})]),_:1})])}}}),C5e=fa(S5e,[["__scopeId","data-v-9e571c17"]]),$5e={},x5e=e=>(Ps("data-v-0f780945"),e=e(),Ts(),e),w5e={class:"__container_AppTabHeaderSlot"},_5e=x5e(()=>tt("span",{class:"header-desc"}," 新增标签路由 ",-1));function O5e(e,t){const n=Nt("a-col"),o=Nt("a-row");return ht(),qt("div",w5e,[g(o,null,{default:bn(()=>[g(n,{span:12},{default:bn(()=>[_5e]),_:1})]),_:1})])}const I5e=fa($5e,[["render",O5e],["__scopeId","data-v-0f780945"]]),P5e={class:"__container_AppTabHeaderSlot"},T5e={class:"header-desc"},E5e=pe({__name:"tagRuleDetailTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",P5e,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",T5e,Uo((a=It(t).params)==null?void 0:a.ruleName),1)]}),_:1})]),_:1})])}}}),A5e=fa(E5e,[["__scopeId","data-v-49f86476"]]),M5e={class:"__container_AppTabHeaderSlot"},R5e={class:"header-desc"},D5e=pe({__name:"updateTagRuleTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",M5e,[g(i,null,{default:bn(()=>[g(r,{span:12},{default:bn(()=>{var a;return[tt("span",R5e," 修改 "+Uo((a=It(t).params)==null?void 0:a.ruleName),1)]}),_:1})]),_:1})])}}}),L5e=fa(D5e,[["__scopeId","data-v-91777569"]]),N5e={class:"__container_AppTabHeaderSlot"},k5e={class:"header-desc"},B5e=pe({__name:"updateDCTabHeaderSlot",setup(e){const t=Ml();return(n,o)=>{const r=Nt("a-col"),i=Nt("a-row");return ht(),qt("div",N5e,[g(i,null,{default:bn(()=>[g(r,{span:20},{default:bn(()=>{var a,l;return[tt("span",k5e,Uo(((a=It(t).params)==null?void 0:a.isEdit)==="1"?n.$t("dynamicConfigDomain.updateByFormView"):n.$t("dynamicConfigDomain.detailByFormView"))+" "+Uo((l=It(t).params)==null?void 0:l.pathId),1)]}),_:1})]),_:1})])}}}),C5=fa(B5e,[["__scopeId","data-v-4d4ee463"]]),tW=[{path:"/login",name:"Login",component:()=>Ht(()=>import("./Login-QsM7tdlI.js"),__vite__mapDeps([0,1,2,3])),meta:{skip:!0},children:[]},{path:"/",name:"Root",redirect:"/home",component:()=>Ht(()=>import("./index-ECEQf-Fc.js"),__vite__mapDeps([4,5,2,6,7,1,8])),meta:{skip:!0},children:[{path:"/home",name:"homePage",component:()=>Ht(()=>import("./index-PuhA8qFJ.js"),__vite__mapDeps([9,10,2,11])),meta:{icon:"carbon:web-services-cluster"}},{path:"/resources",name:"resources",meta:{icon:"carbon:web-services-cluster"},children:[{path:"/applications",name:"applications",component:qi,redirect:"list",meta:{tab_parent:!0,slots:{header:JRe}},children:[{path:"/list",name:"router.resource.app.list",component:()=>Ht(()=>import("./index-jbm-YZ4W.js"),__vite__mapDeps([12,5,2,13,14,15])),meta:{hidden:!0}},{path:"/detail/:pathId",name:"applicationDomain.detail",component:()=>Ht(()=>import("./detail-NWi5D_Jp.js"),__vite__mapDeps([16,5,2,17])),meta:{tab:!0,icon:"tabler:list-details",back:"/resources/applications/list"}},{path:"/instance/:pathId",name:"applicationDomain.instance",component:()=>Ht(()=>import("./instance-u5IY96cv.js"),__vite__mapDeps([18,13,14,5,2,19,20,21,22])),meta:{tab:!0,icon:"ooui:instance-ltr",back:"/resources/applications/list"}},{path:"/service/:pathId",name:"applicationDomain.service",component:()=>Ht(()=>import("./service-LECfslfz.js"),__vite__mapDeps([23,10,2,13,14,5,20,24])),meta:{tab:!0,icon:"carbon:web-services-definition",back:"/resources/applications/list"}},{path:"/monitor/:pathId",name:"applicationDomain.monitor",component:()=>Ht(()=>import("./monitor-kZ_wOjob.js"),__vite__mapDeps([25,26,27,5,2])),meta:{tab:!0,icon:"material-symbols-light:monitor-heart-outline",back:"/resources/applications/list"}},{path:"/tracing/:pathId",name:"applicationDomain.tracing",component:()=>Ht(()=>import("./tracing-egUve7nj.js"),__vite__mapDeps([28,26,27,5,2])),meta:{tab:!0,icon:"game-icons:digital-trace",back:"/resources/applications/list"}},{path:"/config/:pathId",name:"applicationDomain.config",component:()=>Ht(()=>import("./config-iPQQ4Osw.js"),__vite__mapDeps([29,30,31,5,2,32])),meta:{tab:!0,icon:"material-symbols:settings",back:"/resources/applications/list"}},{path:"/event/:pathId",name:"applicationDomain.event",component:()=>Ht(()=>import("./event-ZoLBaQpy.js"),__vite__mapDeps([33,5,2,34])),meta:{tab:!0,hidden:!0,icon:"material-symbols:date-range",back:"/resources/applications/list"}}]},{path:"/instances",name:"instances",component:qi,redirect:"list",meta:{tab_parent:!0,slots:{header:l5e}},children:[{path:"/list",name:"router.resource.ins.list",component:()=>Ht(()=>import("./index-fU57L0AQ.js"),__vite__mapDeps([35,6,2,13,14,20,21,36])),meta:{hidden:!0}},{path:"/detail/:appName/:pathId?",name:"instanceDomain.details",component:()=>Ht(()=>import("./detail-IPVQRAO3.js"),__vite__mapDeps([37,17,6,2,19])),meta:{tab:!0,icon:"tabler:list-details",back:"/resources/instances/list"}},{path:"/monitor/:pathId/:appName",name:"instanceDomain.monitor",component:()=>Ht(()=>import("./monitor-Yx9RU22f.js"),__vite__mapDeps([38,26,27,6,2])),meta:{tab:!0,icon:"ooui:instance-ltr",back:"/resources/instances/list"}},{path:"/linktracking/:pathId/:appName",name:"instanceDomain.linkTracking",component:()=>Ht(()=>import("./linkTracking-gLhWXj25.js"),__vite__mapDeps([39,26,27,6,2])),meta:{tab:!0,icon:"material-symbols-light:monitor-heart-outline",back:"/resources/instances/list"}},{path:"/configuration/:pathId/:appName",name:"instanceDomain.configuration",component:()=>Ht(()=>import("./configuration-um3mt9hU.js"),__vite__mapDeps([40,30,31,6,2])),meta:{tab:!0,icon:"material-symbols:settings",back:"/resources/instances/list"}},{path:"/event/:pathId/:appName",name:"instanceDomain.event",component:()=>Ht(()=>import("./event-Di8PmXwq.js"),__vite__mapDeps([])),meta:{tab:!0,hidden:!0,icon:"material-symbols:date-range",back:"/resources/instances/list"}}]},{path:"/services",name:"services",redirect:"list",component:qi,meta:{tab_parent:!0,slots:{header:o5e}},children:[{path:"/list",name:"router.resource.svc.list",component:()=>Ht(()=>import("./search-c0Szb99-.js"),__vite__mapDeps([41,7,2,13,14,20,42])),meta:{hidden:!0}},{path:"/distribution/:pathId/:group?/:version?",name:"distribution",component:()=>Ht(()=>import("./distribution-WSPxFnjE.js"),__vite__mapDeps([43,7,2,19,44])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/monitor/:pathId/:group?/:version?",name:"monitor",component:()=>Ht(()=>import("./monitor-JE2IXQk_.js"),__vite__mapDeps([45,26,27,7,2])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/tracing/:pathId/:group?/:version?",name:"tracing",component:()=>Ht(()=>import("./tracing-DAAA17XP.js"),__vite__mapDeps([46,26,27,7,2])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/sceneConfig/:pathId/:group?/:version?",name:"sceneConfig",component:()=>Ht(()=>import("./sceneConfig-wKVgfCMN.js"),__vite__mapDeps([47,30,31,7,2,48])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/event/:pathId/:group?/:version?",name:"event",component:()=>Ht(()=>import("./event-IjH1CTVp.js"),__vite__mapDeps([49,50])),meta:{tab:!0,hidden:!0,back:"/resources/services/list"}}]}]},{path:"/traffic",name:"trafficManagement",meta:{icon:"eos-icons:cluster-management"},children:[{path:"/routingRule",name:"routingRule",redirect:"index",component:qi,meta:{tab_parent:!0,slots:{header:m5e}},children:[{path:"/index",name:"routingRuleIndex",component:()=>Ht(()=>import("./index-9Tpk6WxM.js"),__vite__mapDeps([51,52,2,13,14,19,53])),meta:{hidden:!0}},{path:"/formview/:ruleName",name:"routingRuleDomain.formView",component:()=>Ht(()=>import("./formView-RlUvRzIB.js"),__vite__mapDeps([54,17,52,2,55])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/yamlview/:ruleName",name:"routingRuleDomain.YAMLView",component:()=>Ht(()=>import("./YAMLView-mXrxtewG.js"),__vite__mapDeps([56,57,58,52,2,59])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/addRoutingRule",name:"addRoutingRule",component:qi,redirect:"addByFormView",meta:{tab_parent:!0,hidden:!0,slots:{header:p5e}},children:[{path:"/addByFormView",name:"addRoutingRuleDomain.formView",component:()=>Ht(()=>import("./addByFormView-suZAGsdv.js"),__vite__mapDeps([60,17,52,2,61])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/addByYamlView",name:"addRoutingRuleDomain.YAMLView",component:()=>Ht(()=>import("./addByYAMLView-fC-hqbkM.js"),__vite__mapDeps([62,57,58,52,2,63])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/updateRoutingRule",name:"updateRoutingRule",component:qi,meta:{tab_parent:!0,hidden:!0,slots:{header:C5e}},children:[{path:"/updateByFormView/:ruleName",name:"updateRoutingRuleDomain.formView",component:()=>Ht(()=>import("./updateByFormView-ySWJqpjX.js"),__vite__mapDeps([64,17,52,2,65])),meta:{tab:!0}},{path:"/updateByYAMLView/:ruleName",name:"updateRoutingRuleDomain.YAMLView",component:()=>Ht(()=>import("./updateByYAMLView--nyJvxZJ.js"),__vite__mapDeps([66,57,58,52,2,67])),meta:{tab:!0}}]},{path:"/tagRule",name:"tagRule",redirect:"index",component:qi,meta:{tab_parent:!0,slots:{header:A5e}},children:[{path:"/index",name:"tagRuleIndex",component:()=>Ht(()=>import("./index-VDeT_deC.js"),__vite__mapDeps([68,52,2,13,14,19,69])),meta:{hidden:!0}},{path:"/formview/:ruleName",name:"tagRuleDomain.formView",component:()=>Ht(()=>import("./formView-2KzX11dd.js"),__vite__mapDeps([70,17,52,2,71])),meta:{tab:!0,icon:"oui:apm-trace",back:"/traffic/tagRule"}},{path:"/yamlview/:ruleName",name:"tagRuleDomain.YAMLView",component:()=>Ht(()=>import("./YAMLView-s3WMf-Uo.js"),__vite__mapDeps([72,57,58,52,2,73])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/addTagRule",name:"addTagRule",component:qi,meta:{tab_parent:!0,hidden:!0,slots:{header:I5e}},children:[{path:"/addByFormView",name:"addTagRuleDomain.formView",component:()=>Ht(()=>import("./addByFormView-Ia4T74MU.js"),__vite__mapDeps([74,17,52,2,75])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/addByYAMLView",name:"addTagRuleDomain.YAMLView",component:()=>Ht(()=>import("./addByYAMLView--WjgktlZ.js"),__vite__mapDeps([76,57,58,52,2,77])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/updateTagRule",name:"updateTagRule",component:qi,meta:{tab_parent:!0,hidden:!0,slots:{header:L5e}},children:[{path:"/updateByFormView/:ruleName",name:"updateTagRuleDomain.formView",component:()=>Ht(()=>import("./updateByFormView-mbEXmvrc.js"),__vite__mapDeps([78,17,52,2,79])),meta:{tab:!0}},{path:"/updateByYAMLView/:ruleName",name:"updateTagRuleDomain.YAMLView",component:()=>Ht(()=>import("./updateByYAMLView-X3vjkbCV.js"),__vite__mapDeps([80,57,58,52,2,81])),meta:{tab:!0}}]},{path:"/dynamicConfig",name:"dynamicConfig",redirect:"index",component:qi,meta:{tab_parent:!0},children:[{path:"/index",name:"dynamicConfigIndex",component:()=>Ht(()=>import("./index-ytKGiqRq.js"),__vite__mapDeps([82,52,2,13,14,83])),meta:{hidden:!0}},{path:"/formview/:pathId/:isEdit",name:"dynamicConfigDomain.formView",component:()=>Ht(()=>import("./formView-vzcbtWy_.js"),__vite__mapDeps([84,17,52,2,85,86])),meta:{tab:!0,icon:"oui:apm-trace",back:"/traffic/dynamicConfig",slots:{header:C5}}},{path:"/yamlview/:pathId/:isEdit",name:"dynamicConfigDomain.YAMLView",component:()=>Ht(()=>import("./YAMLView-TcLqiDOf.js"),__vite__mapDeps([87,57,58,52,2,85,88])),meta:{tab:!0,icon:"oui:app-console",back:"/traffic/dynamicConfig",slots:{header:C5}}}]}]},{path:"/common",name:"commonDemo",redirect:"tab",meta:{hidden:!0,icon:"tdesign:play-demo"},children:[{path:"/tab",name:"tabDemo",component:qi,redirect:"index",meta:{tab_parent:!0},children:[{path:"/index",name:"tab_demo_index",component:()=>Ht(()=>import("./index-tIlk8-2z.js"),__vite__mapDeps([])),meta:{hidden:!0}},{path:"/tab1/:pathId",name:"tab1",component:()=>Ht(()=>import("./tab1-Erm3qhoK.js"),__vite__mapDeps([])),meta:{icon:"simple-icons:podman",tab:!0}},{path:"/tab2/:pathId",name:"tab2",component:()=>Ht(()=>import("./tab2-gYKBqlWv.js"),__vite__mapDeps([])),meta:{icon:"fontisto:docker",tab:!0}}]},{path:"/placeholder",name:"placeholder_demo",component:()=>Ht(()=>import("./index-gNarHmYQ.js"),__vite__mapDeps([])),meta:{}}]}]},{path:"/:catchAll(.*)",name:"notFound",component:()=>Ht(()=>import("./notFound-hYD9Tscu.js"),__vite__mapDeps([89,90])),meta:{skip:!0}}];function $5(...e){return e.join("/").replace(/\/+/g,"/")}function nW(e,t){if(e)for(const n of e)t&&(n.path=$5(t==null?void 0:t.path,n.path)),n.redirect&&(n.redirect=$5(n.path,n.redirect||"")),n.meta?(n.meta._router_key=Fp.uniqueId("__router_key"),n.meta.parent=t,n.meta.skip=n.meta.skip===!0):n.meta={_router_key:Fp.uniqueId("__router_key"),skip:!1},nW(n.children,n)}nW(tW,void 0);const F5e={history:e8e("/admin"),routes:tW},oW=k8e(F5e),H5e={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},z5e=H5e,j5e={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},rW=j5e,iW={lang:S({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},z5e),timePickerLocale:S({},rW)};iW.lang.ok="确定";const x5=iW,oi="${label}不是一个有效的${type}",W5e={locale:"zh-cn",Pagination:zH,DatePicker:x5,TimePicker:rW,Calendar:x5,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:oi,method:oi,array:oi,object:oi,number:oi,date:oi,boolean:oi,integer:oi,float:oi,regexp:oi,email:oi,url:oi,hex:oi},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码已过期",refresh:"点击刷新",scanned:"已扫描"}},V5e=W5e;var aW={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Lr,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",l="minute",s="hour",c="day",u="week",d="month",f="quarter",h="year",m="date",v="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(W){var D=["th","st","nd","rd"],B=W%100;return"["+W+(D[(B-20)%10]||D[B]||D[0])+"]"}},x=function(W,D,B){var k=String(W);return!k||k.length>=D?W:""+Array(D+1-k.length).join(B)+W},_={s:x,z:function(W){var D=-W.utcOffset(),B=Math.abs(D),k=Math.floor(B/60),L=B%60;return(D<=0?"+":"-")+x(k,2,"0")+":"+x(L,2,"0")},m:function W(D,B){if(D.date()<B.date())return-W(B,D);var k=12*(B.year()-D.year())+(B.month()-D.month()),L=D.clone().add(k,d),z=B-L<0,K=D.clone().add(k+(z?-1:1),d);return+(-(k+(B-L)/(z?L-K:K-L))||0)},a:function(W){return W<0?Math.ceil(W)||0:Math.floor(W)},p:function(W){return{M:d,y:h,w:u,d:c,D:m,h:s,m:l,s:a,ms:i,Q:f}[W]||String(W||"").toLowerCase().replace(/s$/,"")},u:function(W){return W===void 0}},w="en",I={};I[w]=$;var O="$isDayjsObject",P=function(W){return W instanceof N||!(!W||!W[O])},E=function W(D,B,k){var L;if(!D)return w;if(typeof D=="string"){var z=D.toLowerCase();I[z]&&(L=z),B&&(I[z]=B,L=z);var K=D.split("-");if(!L&&K.length>1)return W(K[0])}else{var G=D.name;I[G]=D,L=G}return!k&&L&&(w=L),L||!k&&w},R=function(W,D){if(P(W))return W.clone();var B=typeof D=="object"?D:{};return B.date=W,B.args=arguments,new N(B)},A=_;A.l=E,A.i=P,A.w=function(W,D){return R(W,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var N=function(){function W(B){this.$L=E(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[O]=!0}var D=W.prototype;return D.parse=function(B){this.$d=function(k){var L=k.date,z=k.utc;if(L===null)return new Date(NaN);if(A.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var K=L.match(y);if(K){var G=K[2]-1||0,Y=(K[7]||"0").substring(0,3);return z?new Date(Date.UTC(K[1],G,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)):new Date(K[1],G,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)}}return new Date(L)}(B),this.init()},D.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},D.$utils=function(){return A},D.isValid=function(){return this.$d.toString()!==v},D.isSame=function(B,k){var L=R(B);return this.startOf(k)<=L&&L<=this.endOf(k)},D.isAfter=function(B,k){return R(B)<this.startOf(k)},D.isBefore=function(B,k){return this.endOf(k)<R(B)},D.$g=function(B,k,L){return A.u(B)?this[k]:this.set(L,B)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(B,k){var L=this,z=!!A.u(k)||k,K=A.p(B),G=function(ie,X){var ue=A.w(L.$u?Date.UTC(L.$y,X,ie):new Date(L.$y,X,ie),L);return z?ue:ue.endOf(c)},Y=function(ie,X){return A.w(L.toDate()[ie].apply(L.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(X)),L)},ne=this.$W,re=this.$M,J=this.$D,te="set"+(this.$u?"UTC":"");switch(K){case h:return z?G(1,0):G(31,11);case d:return z?G(1,re):G(0,re+1);case u:var ee=this.$locale().weekStart||0,fe=(ne<ee?ne+7:ne)-ee;return G(z?J-fe:J+(6-fe),re);case c:case m:return Y(te+"Hours",0);case s:return Y(te+"Minutes",1);case l:return Y(te+"Seconds",2);case a:return Y(te+"Milliseconds",3);default:return this.clone()}},D.endOf=function(B){return this.startOf(B,!1)},D.$set=function(B,k){var L,z=A.p(B),K="set"+(this.$u?"UTC":""),G=(L={},L[c]=K+"Date",L[m]=K+"Date",L[d]=K+"Month",L[h]=K+"FullYear",L[s]=K+"Hours",L[l]=K+"Minutes",L[a]=K+"Seconds",L[i]=K+"Milliseconds",L)[z],Y=z===c?this.$D+(k-this.$W):k;if(z===d||z===h){var ne=this.clone().set(m,1);ne.$d[G](Y),ne.init(),this.$d=ne.set(m,Math.min(this.$D,ne.daysInMonth())).$d}else G&&this.$d[G](Y);return this.init(),this},D.set=function(B,k){return this.clone().$set(B,k)},D.get=function(B){return this[A.p(B)]()},D.add=function(B,k){var L,z=this;B=Number(B);var K=A.p(k),G=function(re){var J=R(z);return A.w(J.date(J.date()+Math.round(re*B)),z)};if(K===d)return this.set(d,this.$M+B);if(K===h)return this.set(h,this.$y+B);if(K===c)return G(1);if(K===u)return G(7);var Y=(L={},L[l]=o,L[s]=r,L[a]=n,L)[K]||1,ne=this.$d.getTime()+B*Y;return A.w(ne,this)},D.subtract=function(B,k){return this.add(-1*B,k)},D.format=function(B){var k=this,L=this.$locale();if(!this.isValid())return L.invalidDate||v;var z=B||"YYYY-MM-DDTHH:mm:ssZ",K=A.z(this),G=this.$H,Y=this.$m,ne=this.$M,re=L.weekdays,J=L.months,te=L.meridiem,ee=function(X,ue,ye,H){return X&&(X[ue]||X(k,z))||ye[ue].slice(0,H)},fe=function(X){return A.s(G%12||12,X,"0")},ie=te||function(X,ue,ye){var H=X<12?"AM":"PM";return ye?H.toLowerCase():H};return z.replace(b,function(X,ue){return ue||function(ye){switch(ye){case"YY":return String(k.$y).slice(-2);case"YYYY":return A.s(k.$y,4,"0");case"M":return ne+1;case"MM":return A.s(ne+1,2,"0");case"MMM":return ee(L.monthsShort,ne,J,3);case"MMMM":return ee(J,ne);case"D":return k.$D;case"DD":return A.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return ee(L.weekdaysMin,k.$W,re,2);case"ddd":return ee(L.weekdaysShort,k.$W,re,3);case"dddd":return re[k.$W];case"H":return String(G);case"HH":return A.s(G,2,"0");case"h":return fe(1);case"hh":return fe(2);case"a":return ie(G,Y,!0);case"A":return ie(G,Y,!1);case"m":return String(Y);case"mm":return A.s(Y,2,"0");case"s":return String(k.$s);case"ss":return A.s(k.$s,2,"0");case"SSS":return A.s(k.$ms,3,"0");case"Z":return K}return null}(X)||K.replace(":","")})},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(B,k,L){var z,K=this,G=A.p(k),Y=R(B),ne=(Y.utcOffset()-this.utcOffset())*o,re=this-Y,J=function(){return A.m(K,Y)};switch(G){case h:z=J()/12;break;case d:z=J();break;case f:z=J()/3;break;case u:z=(re-ne)/6048e5;break;case c:z=(re-ne)/864e5;break;case s:z=re/r;break;case l:z=re/o;break;case a:z=re/n;break;default:z=re}return L?z:A.a(z)},D.daysInMonth=function(){return this.endOf(d).$D},D.$locale=function(){return I[this.$L]},D.locale=function(B,k){if(!B)return this.$L;var L=this.clone(),z=E(B,k,!0);return z&&(L.$L=z),L},D.clone=function(){return A.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},W}(),F=N.prototype;return R.prototype=F,[["$ms",i],["$s",a],["$m",l],["$H",s],["$W",c],["$M",d],["$y",h],["$D",m]].forEach(function(W){F[W[1]]=function(D){return this.$g(D,W[0],W[1])}}),R.extend=function(W,D){return W.$i||(W(D,N,R),W.$i=!0),R},R.locale=E,R.isDayjs=P,R.unix=function(W){return R(1e3*W)},R.en=I[w],R.Ls=I,R.p={},R})})(aW);var K5e=aW.exports;const w5=Ba(K5e);/*!
+ * shared v9.9.1
+ * (c) 2024 kazuya kawaguchi
+ * Released under the MIT License.
+ */const tb=typeof window<"u",Ds=(e,t=!1)=>t?Symbol.for(e):Symbol(e),U5e=(e,t,n)=>G5e({l:e,k:t,s:n}),G5e=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),_o=e=>typeof e=="number"&&isFinite(e),Y5e=e=>sW(e)==="[object Date]",ws=e=>sW(e)==="[object RegExp]",i1=e=>zt(e)&&Object.keys(e).length===0,Ko=Object.assign;let _5;const fl=()=>_5||(_5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function O5(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const X5e=Object.prototype.hasOwnProperty;function nb(e,t){return X5e.call(e,t)}const Rn=Array.isArray,Pn=e=>typeof e=="function",at=e=>typeof e=="string",en=e=>typeof e=="boolean",gn=e=>e!==null&&typeof e=="object",q5e=e=>gn(e)&&Pn(e.then)&&Pn(e.catch),lW=Object.prototype.toString,sW=e=>lW.call(e),zt=e=>{if(!gn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Z5e=e=>e==null?"":Rn(e)||zt(e)&&e.toString===lW?JSON.stringify(e,null,2):String(e);function Q5e(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function vP(e){let t=e;return()=>++t}function J5e(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Gv=e=>!gn(e)||Rn(e);function Ym(e,t){if(Gv(e)||Gv(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Gv(o[i])||Gv(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*!
+ * message-compiler v9.9.1
+ * (c) 2024 kazuya kawaguchi
+ * Released under the MIT License.
+ */function eDe(e,t,n){return{line:e,column:t,offset:n}}function Tw(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const tDe=/\{([0-9a-zA-Z]+)\}/g;function nDe(e,...t){return t.length===1&&oDe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(tDe,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const cW=Object.assign,I5=e=>typeof e=="string",oDe=e=>e!==null&&typeof e=="object";function uW(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const Dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},rDe={[Dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function gf(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=nDe((r||rDe)[e]||"",...i||[]),l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=o,l}function iDe(e){throw e}const nl=" ",aDe="\r",br=`
+`,lDe="\u2028",sDe="\u2029";function cDe(e){const t=e;let n=0,o=1,r=1,i=0;const a=O=>t[O]===aDe&&t[O+1]===br,l=O=>t[O]===br,s=O=>t[O]===sDe,c=O=>t[O]===lDe,u=O=>a(O)||l(O)||s(O)||c(O),d=()=>n,f=()=>o,h=()=>r,m=()=>i,v=O=>a(O)||s(O)||c(O)?br:t[O],y=()=>v(n),b=()=>v(n+i);function $(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function x(){return a(n+i)&&i++,i++,t[n+i]}function _(){n=0,o=1,r=1,i=0}function w(O=0){i=O}function I(){const O=n+i;for(;O!==n;)$();i=0}return{index:d,line:f,column:h,peekOffset:m,charAt:v,currentChar:y,currentPeek:b,next:$,peek:x,reset:_,resetPeek:w,skipToPeek:I}}const ql=void 0,uDe=".",P5="'",dDe="tokenizer";function fDe(e,t={}){const n=t.location!==!1,o=cDe(e),r=()=>o.index(),i=()=>eDe(o.line(),o.column(),o.index()),a=i(),l=r(),s={currentType:14,offset:l,startLoc:a,endLoc:a,lastType:14,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function d(H,j,q,...se){const ae=c();if(j.column+=q,j.offset+=q,u){const ge=n?Tw(ae.startLoc,j):null,Se=gf(H,ge,{domain:dDe,args:se});u(Se)}}function f(H,j,q){H.endLoc=i(),H.currentType=j;const se={type:j};return n&&(se.loc=Tw(H.startLoc,H.endLoc)),q!=null&&(se.value=q),se}const h=H=>f(H,14);function m(H,j){return H.currentChar()===j?(H.next(),j):(d(Dt.EXPECTED_TOKEN,i(),0,j),"")}function v(H){let j="";for(;H.currentPeek()===nl||H.currentPeek()===br;)j+=H.currentPeek(),H.peek();return j}function y(H){const j=v(H);return H.skipToPeek(),j}function b(H){if(H===ql)return!1;const j=H.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function $(H){if(H===ql)return!1;const j=H.charCodeAt(0);return j>=48&&j<=57}function x(H,j){const{currentType:q}=j;if(q!==2)return!1;v(H);const se=b(H.currentPeek());return H.resetPeek(),se}function _(H,j){const{currentType:q}=j;if(q!==2)return!1;v(H);const se=H.currentPeek()==="-"?H.peek():H.currentPeek(),ae=$(se);return H.resetPeek(),ae}function w(H,j){const{currentType:q}=j;if(q!==2)return!1;v(H);const se=H.currentPeek()===P5;return H.resetPeek(),se}function I(H,j){const{currentType:q}=j;if(q!==8)return!1;v(H);const se=H.currentPeek()===".";return H.resetPeek(),se}function O(H,j){const{currentType:q}=j;if(q!==9)return!1;v(H);const se=b(H.currentPeek());return H.resetPeek(),se}function P(H,j){const{currentType:q}=j;if(!(q===8||q===12))return!1;v(H);const se=H.currentPeek()===":";return H.resetPeek(),se}function E(H,j){const{currentType:q}=j;if(q!==10)return!1;const se=()=>{const ge=H.currentPeek();return ge==="{"?b(H.peek()):ge==="@"||ge==="%"||ge==="|"||ge===":"||ge==="."||ge===nl||!ge?!1:ge===br?(H.peek(),se()):b(ge)},ae=se();return H.resetPeek(),ae}function R(H){v(H);const j=H.currentPeek()==="|";return H.resetPeek(),j}function A(H){const j=v(H),q=H.currentPeek()==="%"&&H.peek()==="{";return H.resetPeek(),{isModulo:q,hasSpace:j.length>0}}function N(H,j=!0){const q=(ae=!1,ge="",Se=!1)=>{const $e=H.currentPeek();return $e==="{"?ge==="%"?!1:ae:$e==="@"||!$e?ge==="%"?!0:ae:$e==="%"?(H.peek(),q(ae,"%",!0)):$e==="|"?ge==="%"||Se?!0:!(ge===nl||ge===br):$e===nl?(H.peek(),q(!0,nl,Se)):$e===br?(H.peek(),q(!0,br,Se)):!0},se=q();return j&&H.resetPeek(),se}function F(H,j){const q=H.currentChar();return q===ql?ql:j(q)?(H.next(),q):null}function W(H){return F(H,q=>{const se=q.charCodeAt(0);return se>=97&&se<=122||se>=65&&se<=90||se>=48&&se<=57||se===95||se===36})}function D(H){return F(H,q=>{const se=q.charCodeAt(0);return se>=48&&se<=57})}function B(H){return F(H,q=>{const se=q.charCodeAt(0);return se>=48&&se<=57||se>=65&&se<=70||se>=97&&se<=102})}function k(H){let j="",q="";for(;j=D(H);)q+=j;return q}function L(H){y(H);const j=H.currentChar();return j!=="%"&&d(Dt.EXPECTED_TOKEN,i(),0,j),H.next(),"%"}function z(H){let j="";for(;;){const q=H.currentChar();if(q==="{"||q==="}"||q==="@"||q==="|"||!q)break;if(q==="%")if(N(H))j+=q,H.next();else break;else if(q===nl||q===br)if(N(H))j+=q,H.next();else{if(R(H))break;j+=q,H.next()}else j+=q,H.next()}return j}function K(H){y(H);let j="",q="";for(;j=W(H);)q+=j;return H.currentChar()===ql&&d(Dt.UNTERMINATED_CLOSING_BRACE,i(),0),q}function G(H){y(H);let j="";return H.currentChar()==="-"?(H.next(),j+=`-${k(H)}`):j+=k(H),H.currentChar()===ql&&d(Dt.UNTERMINATED_CLOSING_BRACE,i(),0),j}function Y(H){y(H),m(H,"'");let j="",q="";const se=ge=>ge!==P5&&ge!==br;for(;j=F(H,se);)j==="\\"?q+=ne(H):q+=j;const ae=H.currentChar();return ae===br||ae===ql?(d(Dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),ae===br&&(H.next(),m(H,"'")),q):(m(H,"'"),q)}function ne(H){const j=H.currentChar();switch(j){case"\\":case"'":return H.next(),`\\${j}`;case"u":return re(H,j,4);case"U":return re(H,j,6);default:return d(Dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,j),""}}function re(H,j,q){m(H,j);let se="";for(let ae=0;ae<q;ae++){const ge=B(H);if(!ge){d(Dt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${j}${se}${H.currentChar()}`);break}se+=ge}return`\\${j}${se}`}function J(H){y(H);let j="",q="";const se=ae=>ae!=="{"&&ae!=="}"&&ae!==nl&&ae!==br;for(;j=F(H,se);)q+=j;return q}function te(H){let j="",q="";for(;j=W(H);)q+=j;return q}function ee(H){const j=(q=!1,se)=>{const ae=H.currentChar();return ae==="{"||ae==="%"||ae==="@"||ae==="|"||ae==="("||ae===")"||!ae||ae===nl?se:ae===br||ae===uDe?(se+=ae,H.next(),j(q,se)):(se+=ae,H.next(),j(!0,se))};return j(!1,"")}function fe(H){y(H);const j=m(H,"|");return y(H),j}function ie(H,j){let q=null;switch(H.currentChar()){case"{":return j.braceNest>=1&&d(Dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),H.next(),q=f(j,2,"{"),y(H),j.braceNest++,q;case"}":return j.braceNest>0&&j.currentType===2&&d(Dt.EMPTY_PLACEHOLDER,i(),0),H.next(),q=f(j,3,"}"),j.braceNest--,j.braceNest>0&&y(H),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),q;case"@":return j.braceNest>0&&d(Dt.UNTERMINATED_CLOSING_BRACE,i(),0),q=X(H,j)||h(j),j.braceNest=0,q;default:let ae=!0,ge=!0,Se=!0;if(R(H))return j.braceNest>0&&d(Dt.UNTERMINATED_CLOSING_BRACE,i(),0),q=f(j,1,fe(H)),j.braceNest=0,j.inLinked=!1,q;if(j.braceNest>0&&(j.currentType===5||j.currentType===6||j.currentType===7))return d(Dt.UNTERMINATED_CLOSING_BRACE,i(),0),j.braceNest=0,ue(H,j);if(ae=x(H,j))return q=f(j,5,K(H)),y(H),q;if(ge=_(H,j))return q=f(j,6,G(H)),y(H),q;if(Se=w(H,j))return q=f(j,7,Y(H)),y(H),q;if(!ae&&!ge&&!Se)return q=f(j,13,J(H)),d(Dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,q.value),y(H),q;break}return q}function X(H,j){const{currentType:q}=j;let se=null;const ae=H.currentChar();switch((q===8||q===9||q===12||q===10)&&(ae===br||ae===nl)&&d(Dt.INVALID_LINKED_FORMAT,i(),0),ae){case"@":return H.next(),se=f(j,8,"@"),j.inLinked=!0,se;case".":return y(H),H.next(),f(j,9,".");case":":return y(H),H.next(),f(j,10,":");default:return R(H)?(se=f(j,1,fe(H)),j.braceNest=0,j.inLinked=!1,se):I(H,j)||P(H,j)?(y(H),X(H,j)):O(H,j)?(y(H),f(j,12,te(H))):E(H,j)?(y(H),ae==="{"?ie(H,j)||se:f(j,11,ee(H))):(q===8&&d(Dt.INVALID_LINKED_FORMAT,i(),0),j.braceNest=0,j.inLinked=!1,ue(H,j))}}function ue(H,j){let q={type:14};if(j.braceNest>0)return ie(H,j)||h(j);if(j.inLinked)return X(H,j)||h(j);switch(H.currentChar()){case"{":return ie(H,j)||h(j);case"}":return d(Dt.UNBALANCED_CLOSING_BRACE,i(),0),H.next(),f(j,3,"}");case"@":return X(H,j)||h(j);default:if(R(H))return q=f(j,1,fe(H)),j.braceNest=0,j.inLinked=!1,q;const{isModulo:ae,hasSpace:ge}=A(H);if(ae)return ge?f(j,0,z(H)):f(j,4,L(H));if(N(H))return f(j,0,z(H));break}return q}function ye(){const{currentType:H,offset:j,startLoc:q,endLoc:se}=s;return s.lastType=H,s.lastOffset=j,s.lastStartLoc=q,s.lastEndLoc=se,s.offset=r(),s.startLoc=i(),o.currentChar()===ql?f(s,14):ue(o,s)}return{nextToken:ye,currentOffset:r,currentPosition:i,context:c}}const pDe="parser",hDe=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function gDe(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function vDe(e={}){const t=e.location!==!1,{onError:n}=e;function o(b,$,x,_,...w){const I=b.currentPosition();if(I.offset+=_,I.column+=_,n){const O=t?Tw(x,I):null,P=gf($,O,{domain:pDe,args:w});n(P)}}function r(b,$,x){const _={type:b};return t&&(_.start=$,_.end=$,_.loc={start:x,end:x}),_}function i(b,$,x,_){_&&(b.type=_),t&&(b.end=$,b.loc&&(b.loc.end=x))}function a(b,$){const x=b.context(),_=r(3,x.offset,x.startLoc);return _.value=$,i(_,b.currentOffset(),b.currentPosition()),_}function l(b,$){const x=b.context(),{lastOffset:_,lastStartLoc:w}=x,I=r(5,_,w);return I.index=parseInt($,10),b.nextToken(),i(I,b.currentOffset(),b.currentPosition()),I}function s(b,$){const x=b.context(),{lastOffset:_,lastStartLoc:w}=x,I=r(4,_,w);return I.key=$,b.nextToken(),i(I,b.currentOffset(),b.currentPosition()),I}function c(b,$){const x=b.context(),{lastOffset:_,lastStartLoc:w}=x,I=r(9,_,w);return I.value=$.replace(hDe,gDe),b.nextToken(),i(I,b.currentOffset(),b.currentPosition()),I}function u(b){const $=b.nextToken(),x=b.context(),{lastOffset:_,lastStartLoc:w}=x,I=r(8,_,w);return $.type!==12?(o(b,Dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),I.value="",i(I,_,w),{nextConsumeToken:$,node:I}):($.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Sa($)),I.value=$.value||"",i(I,b.currentOffset(),b.currentPosition()),{node:I})}function d(b,$){const x=b.context(),_=r(7,x.offset,x.startLoc);return _.value=$,i(_,b.currentOffset(),b.currentPosition()),_}function f(b){const $=b.context(),x=r(6,$.offset,$.startLoc);let _=b.nextToken();if(_.type===9){const w=u(b);x.modifier=w.node,_=w.nextConsumeToken||b.nextToken()}switch(_.type!==10&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(_)),_=b.nextToken(),_.type===2&&(_=b.nextToken()),_.type){case 11:_.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(_)),x.key=d(b,_.value||"");break;case 5:_.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(_)),x.key=s(b,_.value||"");break;case 6:_.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(_)),x.key=l(b,_.value||"");break;case 7:_.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(_)),x.key=c(b,_.value||"");break;default:o(b,Dt.UNEXPECTED_EMPTY_LINKED_KEY,$.lastStartLoc,0);const w=b.context(),I=r(7,w.offset,w.startLoc);return I.value="",i(I,w.offset,w.startLoc),x.key=I,i(x,w.offset,w.startLoc),{nextConsumeToken:_,node:x}}return i(x,b.currentOffset(),b.currentPosition()),{node:x}}function h(b){const $=b.context(),x=$.currentType===1?b.currentOffset():$.offset,_=$.currentType===1?$.endLoc:$.startLoc,w=r(2,x,_);w.items=[];let I=null;do{const E=I||b.nextToken();switch(I=null,E.type){case 0:E.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(E)),w.items.push(a(b,E.value||""));break;case 6:E.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(E)),w.items.push(l(b,E.value||""));break;case 5:E.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(E)),w.items.push(s(b,E.value||""));break;case 7:E.value==null&&o(b,Dt.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,Sa(E)),w.items.push(c(b,E.value||""));break;case 8:const R=f(b);w.items.push(R.node),I=R.nextConsumeToken||null;break}}while($.currentType!==14&&$.currentType!==1);const O=$.currentType===1?$.lastOffset:b.currentOffset(),P=$.currentType===1?$.lastEndLoc:b.currentPosition();return i(w,O,P),w}function m(b,$,x,_){const w=b.context();let I=_.items.length===0;const O=r(1,$,x);O.cases=[],O.cases.push(_);do{const P=h(b);I||(I=P.items.length===0),O.cases.push(P)}while(w.currentType!==14);return I&&o(b,Dt.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),i(O,b.currentOffset(),b.currentPosition()),O}function v(b){const $=b.context(),{offset:x,startLoc:_}=$,w=h(b);return $.currentType===14?w:m(b,x,_,w)}function y(b){const $=fDe(b,cW({},e)),x=$.context(),_=r(0,x.offset,x.startLoc);return t&&_.loc&&(_.loc.source=b),_.body=v($),e.onCacheKey&&(_.cacheKey=e.onCacheKey(b)),x.currentType!==14&&o($,Dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,b[x.offset]||""),i(_,$.currentOffset(),$.currentPosition()),_}return{parse:y}}function Sa(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function mDe(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function T5(e,t){for(let n=0;n<e.length;n++)mP(e[n],t)}function mP(e,t){switch(e.type){case 1:T5(e.cases,t),t.helper("plural");break;case 2:T5(e.items,t);break;case 6:mP(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function bDe(e,t={}){const n=mDe(e);n.helper("normalize"),e.body&&mP(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function yDe(e){const t=e.body;return t.type===2?E5(t):t.cases.forEach(n=>E5(n)),e}function E5(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=uW(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const SDe="minifier";function Yu(e){switch(e.t=e.type,e.type){case 0:const t=e;Yu(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,o=n.cases;for(let u=0;u<o.length;u++)Yu(o[u]);n.c=o,delete n.cases;break;case 2:const r=e,i=r.items;for(let u=0;u<i.length;u++)Yu(i[u]);r.i=i,delete r.items,r.static&&(r.s=r.static,delete r.static);break;case 3:case 9:case 8:case 7:const a=e;a.value&&(a.v=a.value,delete a.value);break;case 6:const l=e;Yu(l.key),l.k=l.key,delete l.key,l.modifier&&(Yu(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const s=e;s.i=s.index,delete s.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw gf(Dt.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:SDe,args:[e.type]})}delete e.type}const CDe="parser";function $De(e,t){const{sourceMap:n,filename:o,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,l={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(l.source=e.loc.source);const s=()=>l;function c(y,b){l.code+=y}function u(y,b=!0){const $=b?r:"";c(i?$+" ".repeat(y):$)}function d(y=!0){const b=++l.indentLevel;y&&u(b)}function f(y=!0){const b=--l.indentLevel;y&&u(b)}function h(){u(l.indentLevel)}return{context:s,push:c,indent:d,deindent:f,newline:h,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function xDe(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Fd(e,t.key),t.modifier?(e.push(", "),Fd(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function wDe(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i<r&&(Fd(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}function _De(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i<r&&(Fd(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}}function ODe(e,t){t.body?Fd(e,t.body):e.push("null")}function Fd(e,t){const{helper:n}=e;switch(t.type){case 0:ODe(e,t);break;case 1:_De(e,t);break;case 2:wDe(e,t);break;case 6:xDe(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw gf(Dt.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:CDe,args:[t.type]})}}const IDe=(e,t={})=>{const n=I5(t.mode)?t.mode:"normal",o=I5(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
+`,a=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],s=$De(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),l.length>0&&(s.push(`const { ${uW(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),Fd(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function PDe(e,t={}){const n=cW({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,l=vDe(n).parse(e);return o?(i&&yDe(l),r&&Yu(l),{ast:l,code:""}):(bDe(l,n),IDe(l,n))}/*!
+ * core-base v9.9.1
+ * (c) 2024 kazuya kawaguchi
+ * Released under the MIT License.
+ */function TDe(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fl().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(fl().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(fl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ls=[];Ls[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ls[1]={w:[1],".":[2],"[":[4],o:[7]};Ls[2]={w:[2],i:[3,0],0:[3,0]};Ls[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ls[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ls[5]={"'":[4,0],o:8,l:[5,0]};Ls[6]={'"':[4,0],o:8,l:[6,0]};const EDe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ADe(e){return EDe.test(e)}function MDe(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function RDe(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function DDe(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ADe(t)?MDe(t):"*"+t}function LDe(e){const t=[];let n=-1,o=0,r=0,i,a,l,s,c,u,d;const f=[];f[0]=()=>{a===void 0?a=l:a+=l},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=DDe(a),a===!1))return!1;f[1]()}};function h(){const m=e[n+1];if(o===5&&m==="'"||o===6&&m==='"')return n++,l="\\"+m,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(s=RDe(i),d=Ls[o],c=d[s]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(l=i,u()===!1))))return;if(o===7)return t}}const A5=new Map;function NDe(e,t){return gn(e)?e[t]:null}function kDe(e,t){if(!gn(e))return null;let n=A5.get(t);if(n||(n=LDe(t),n&&A5.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;i<o;){const a=r[n[i]];if(a===void 0||Pn(r))return null;r=a,i++}return r}const BDe=e=>e,FDe=e=>"",HDe="text",zDe=e=>e.length===0?"":Q5e(e),jDe=Z5e;function M5(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function WDe(e){const t=_o(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(_o(e.named.count)||_o(e.named.n))?_o(e.named.count)?e.named.count:_o(e.named.n)?e.named.n:t:t}function VDe(e,t){t.count||(t.count=e),t.n||(t.n=e)}function KDe(e={}){const t=e.locale,n=WDe(e),o=gn(e.pluralRules)&&at(t)&&Pn(e.pluralRules[t])?e.pluralRules[t]:M5,r=gn(e.pluralRules)&&at(t)&&Pn(e.pluralRules[t])?M5:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],l=b=>a[b],s=e.named||{};_o(e.pluralIndex)&&VDe(n,s);const c=b=>s[b];function u(b){const $=Pn(e.messages)?e.messages(b):gn(e.messages)?e.messages[b]:!1;return $||(e.parent?e.parent.message(b):FDe)}const d=b=>e.modifiers?e.modifiers[b]:BDe,f=zt(e.processor)&&Pn(e.processor.normalize)?e.processor.normalize:zDe,h=zt(e.processor)&&Pn(e.processor.interpolate)?e.processor.interpolate:jDe,m=zt(e.processor)&&at(e.processor.type)?e.processor.type:HDe,y={list:l,named:c,plural:i,linked:(b,...$)=>{const[x,_]=$;let w="text",I="";$.length===1?gn(x)?(I=x.modifier||I,w=x.type||w):at(x)&&(I=x||I):$.length===2&&(at(x)&&(I=x||I),at(_)&&(w=_||w));const O=u(b)(y),P=w==="vnode"&&Rn(O)&&I?O[0]:O;return I?d(I)(P,w):P},message:u,type:m,interpolate:h,normalize:f,values:Ko({},a,s)};return y}let Ih=null;function UDe(e){Ih=e}function GDe(e,t,n){Ih&&Ih.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const YDe=XDe("function:translate");function XDe(e){return t=>Ih&&Ih.emit(e,t)}const qDe={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},dW=Dt.__EXTEND_POINT__,rc=vP(dW),ta={INVALID_ARGUMENT:dW,INVALID_DATE_ARGUMENT:rc(),INVALID_ISO_DATE_ARGUMENT:rc(),NOT_SUPPORT_NON_STRING_MESSAGE:rc(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:rc(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:rc(),NOT_SUPPORT_LOCALE_TYPE:rc(),__EXTEND_POINT__:rc()};function Pa(e){return gf(e,null,void 0)}function bP(e,t){return t.locale!=null?R5(t.locale):R5(e.locale)}let a$;function R5(e){if(at(e))return e;if(Pn(e)){if(e.resolvedOnce&&a$!=null)return a$;if(e.constructor.name==="Function"){const t=e();if(q5e(t))throw Pa(ta.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return a$=t}else throw Pa(ta.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Pa(ta.NOT_SUPPORT_LOCALE_TYPE)}function ZDe(e,t,n){return[...new Set([n,...Rn(t)?t:gn(t)?Object.keys(t):at(t)?[t]:[n]])]}function fW(e,t,n){const o=at(n)?n:Hd,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;Rn(a);)a=D5(i,a,t);const l=Rn(t)||!zt(t)?t:t.default?t.default:null;a=at(l)?[l]:l,Rn(a)&&D5(i,a,!1),r.__localeChainCache.set(o,i)}return i}function D5(e,t,n){let o=!0;for(let r=0;r<t.length&&en(o);r++){const i=t[r];at(i)&&(o=QDe(e,t[r],n))}return o}function QDe(e,t,n){let o;const r=t.split("-");do{const i=r.join("-");o=JDe(e,i,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function JDe(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(Rn(n)||zt(n))&&n[r]&&(o=n[r])}return o}const eLe="9.9.1",a1=-1,Hd="en-US",L5="",N5=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function tLe(){return{upper:(e,t)=>t==="text"&&at(e)?e.toUpperCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&at(e)?e.toLowerCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&at(e)?N5(e):t==="vnode"&&gn(e)&&"__v_isVNode"in e?N5(e.children):e}}let pW;function k5(e){pW=e}let hW;function nLe(e){hW=e}let gW;function oLe(e){gW=e}let vW=null;const rLe=e=>{vW=e},iLe=()=>vW;let mW=null;const B5=e=>{mW=e},aLe=()=>mW;let F5=0;function lLe(e={}){const t=Pn(e.onWarn)?e.onWarn:J5e,n=at(e.version)?e.version:eLe,o=at(e.locale)||Pn(e.locale)?e.locale:Hd,r=Pn(o)?Hd:o,i=Rn(e.fallbackLocale)||zt(e.fallbackLocale)||at(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=zt(e.messages)?e.messages:{[r]:{}},l=zt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},s=zt(e.numberFormats)?e.numberFormats:{[r]:{}},c=Ko({},e.modifiers||{},tLe()),u=e.pluralRules||{},d=Pn(e.missing)?e.missing:null,f=en(e.missingWarn)||ws(e.missingWarn)?e.missingWarn:!0,h=en(e.fallbackWarn)||ws(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,v=!!e.unresolving,y=Pn(e.postTranslation)?e.postTranslation:null,b=zt(e.processor)?e.processor:null,$=en(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter,_=Pn(e.messageCompiler)?e.messageCompiler:pW,w=Pn(e.messageResolver)?e.messageResolver:hW||NDe,I=Pn(e.localeFallbacker)?e.localeFallbacker:gW||ZDe,O=gn(e.fallbackContext)?e.fallbackContext:void 0,P=e,E=gn(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,R=gn(P.__numberFormatters)?P.__numberFormatters:new Map,A=gn(P.__meta)?P.__meta:{};F5++;const N={version:n,cid:F5,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:v,postTranslation:y,processor:b,warnHtmlMessage:$,escapeParameter:x,messageCompiler:_,messageResolver:w,localeFallbacker:I,fallbackContext:O,onWarn:t,__meta:A};return N.datetimeFormats=l,N.numberFormats=s,N.__datetimeFormatters=E,N.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&GDe(N,n,A),N}function yP(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const l=i(e,n,t,r);return at(l)?l:t}else return t}function qf(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function l$(e){return n=>sLe(n,e)}function sLe(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,H5(e,a)],[]))}else return H5(e,n)}function H5(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Ew(e,i)],[]);return e.normalize(o)}}function Ew(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const l=t,s=l.m||l.modifier;return e.linked(Ew(e,l.k||l.key),s?Ew(e,s):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const bW=e=>e;let od=Object.create(null);const zd=e=>gn(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function yW(e,t={}){let n=!1;const o=t.onError||iDe;return t.onError=r=>{n=!0,o(r)},{...PDe(e,t),detectError:n}}const cLe=(e,t)=>{if(!at(e))throw Pa(ta.NOT_SUPPORT_NON_STRING_MESSAGE);{en(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||bW)(e),r=od[o];if(r)return r;const{code:i,detectError:a}=yW(e,t),l=new Function(`return ${i}`)();return a?l:od[o]=l}};function uLe(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&at(e)){en(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||bW)(e),r=od[o];if(r)return r;const{ast:i,detectError:a}=yW(e,{...t,location:!1,jit:!0}),l=l$(i);return a?l:od[o]=l}else{const n=e.cacheKey;if(n){const o=od[n];return o||(od[n]=l$(e))}else return l$(e)}}const z5=()=>"",Pi=e=>Pn(e);function j5(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,c]=Aw(...t),u=en(c.missingWarn)?c.missingWarn:e.missingWarn,d=en(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=en(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,m=at(c.default)||en(c.default)?en(c.default)?i?s:()=>s:c.default:n?i?s:()=>s:"",v=n||m!=="",y=bP(e,c);f&&dLe(c);let[b,$,x]=h?[s,y,l[y]||{}]:SW(e,s,y,a,d,u),_=b,w=s;if(!h&&!(at(_)||zd(_)||Pi(_))&&v&&(_=m,w=_),!h&&(!(at(_)||zd(_)||Pi(_))||!at($)))return r?a1:s;let I=!1;const O=()=>{I=!0},P=Pi(_)?_:CW(e,s,$,_,w,O);if(I)return _;const E=hLe(e,$,x,c),R=KDe(E),A=fLe(e,P,R),N=o?o(A,s):A;if(__INTLIFY_PROD_DEVTOOLS__){const F={timestamp:Date.now(),key:at(s)?s:Pi(_)?_.key:"",locale:$||(Pi(_)?_.locale:""),format:at(_)?_:Pi(_)?_.source:"",message:N};F.meta=Ko({},e.__meta,iLe()||{}),YDe(F)}return N}function dLe(e){Rn(e.list)?e.list=e.list.map(t=>at(t)?O5(t):t):gn(e.named)&&Object.keys(e.named).forEach(t=>{at(e.named[t])&&(e.named[t]=O5(e.named[t]))})}function SW(e,t,n,o,r,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,h=null;const m="translate";for(let v=0;v<u.length&&(f=u[v],d=a[f]||{},(h=s(d,t))===null&&(h=d[t]),!(at(h)||zd(h)||Pi(h)));v++){const y=yP(e,t,f,i,m);y!==t&&(h=y)}return[h,f,d]}function CW(e,t,n,o,r,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Pi(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}if(a==null){const c=()=>o;return c.locale=n,c.key=t,c}const s=a(o,pLe(e,n,r,o,l,i));return s.locale=n,s.key=t,s.source=o,s}function fLe(e,t,n){return t(n)}function Aw(...e){const[t,n,o]=e,r={};if(!at(t)&&!_o(t)&&!Pi(t)&&!zd(t))throw Pa(ta.INVALID_ARGUMENT);const i=_o(t)?String(t):(Pi(t),t);return _o(n)?r.plural=n:at(n)?r.default=n:zt(n)&&!i1(n)?r.named=n:Rn(n)&&(r.list=n),_o(o)?r.plural=o:at(o)?r.default=o:zt(o)&&Ko(r,o),[i,r]}function pLe(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>U5e(t,n,a)}}function hLe(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:h=>{let m=a(n,h);if(m==null&&u){const[,,v]=SW(u,h,t,l,s,c);m=a(v,h)}if(at(m)||zd(m)){let v=!1;const b=CW(e,h,t,m,h,()=>{v=!0});return v?z5:b}else return Pi(m)?m:z5}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),_o(o.plural)&&(f.pluralIndex=o.plural),f}function W5(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e,[s,c,u,d]=Mw(...t),f=en(u.missingWarn)?u.missingWarn:e.missingWarn;en(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,m=bP(e,u),v=a(e,r,m);if(!at(s)||s==="")return new Intl.DateTimeFormat(m,d).format(c);let y={},b,$=null;const x="datetime format";for(let I=0;I<v.length&&(b=v[I],y=n[b]||{},$=y[s],!zt($));I++)yP(e,s,b,f,x);if(!zt($)||!at(b))return o?a1:s;let _=`${b}__${s}`;i1(d)||(_=`${_}__${JSON.stringify(d)}`);let w=l.get(_);return w||(w=new Intl.DateTimeFormat(b,Ko({},$,d)),l.set(_,w)),h?w.formatToParts(c):w.format(c)}const $W=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Mw(...e){const[t,n,o,r]=e,i={};let a={},l;if(at(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Pa(ta.INVALID_ISO_DATE_ARGUMENT);const c=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Pa(ta.INVALID_ISO_DATE_ARGUMENT)}}else if(Y5e(t)){if(isNaN(t.getTime()))throw Pa(ta.INVALID_DATE_ARGUMENT);l=t}else if(_o(t))l=t;else throw Pa(ta.INVALID_ARGUMENT);return at(n)?i.key=n:zt(n)&&Object.keys(n).forEach(s=>{$W.includes(s)?a[s]=n[s]:i[s]=n[s]}),at(o)?i.locale=o:zt(o)&&(a=o),zt(r)&&(a=r),[i.key||"",l,i,a]}function V5(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function K5(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e,[s,c,u,d]=Rw(...t),f=en(u.missingWarn)?u.missingWarn:e.missingWarn;en(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,m=bP(e,u),v=a(e,r,m);if(!at(s)||s==="")return new Intl.NumberFormat(m,d).format(c);let y={},b,$=null;const x="number format";for(let I=0;I<v.length&&(b=v[I],y=n[b]||{},$=y[s],!zt($));I++)yP(e,s,b,f,x);if(!zt($)||!at(b))return o?a1:s;let _=`${b}__${s}`;i1(d)||(_=`${_}__${JSON.stringify(d)}`);let w=l.get(_);return w||(w=new Intl.NumberFormat(b,Ko({},$,d)),l.set(_,w)),h?w.formatToParts(c):w.format(c)}const xW=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Rw(...e){const[t,n,o,r]=e,i={};let a={};if(!_o(t))throw Pa(ta.INVALID_ARGUMENT);const l=t;return at(n)?i.key=n:zt(n)&&Object.keys(n).forEach(s=>{xW.includes(s)?a[s]=n[s]:i[s]=n[s]}),at(o)?i.locale=o:zt(o)&&(a=o),zt(r)&&(a=r),[i.key||"",l,i,a]}function U5(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}TDe();/*!
+ * vue-i18n v9.9.1
+ * (c) 2024 kazuya kawaguchi
+ * Released under the MIT License.
+ */const gLe="9.9.1";function vLe(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(fl().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(fl().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(fl().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(fl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fl().__INTLIFY_PROD_DEVTOOLS__=!1)}const wW=qDe.__EXTEND_POINT__,Zl=vP(wW);Zl(),Zl(),Zl(),Zl(),Zl(),Zl(),Zl(),Zl();const _W=ta.__EXTEND_POINT__,Mr=vP(_W),Io={UNEXPECTED_RETURN_TYPE:_W,INVALID_ARGUMENT:Mr(),MUST_BE_CALL_SETUP_TOP:Mr(),NOT_INSTALLED:Mr(),NOT_AVAILABLE_IN_LEGACY_MODE:Mr(),REQUIRED_VALUE:Mr(),INVALID_VALUE:Mr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Mr(),NOT_INSTALLED_WITH_PROVIDE:Mr(),UNEXPECTED_ERROR:Mr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Mr(),BRIDGE_SUPPORT_VUE_2_ONLY:Mr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Mr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Mr(),__EXTEND_POINT__:Mr()};function No(e,...t){return gf(e,null,void 0)}const Dw=Ds("__translateVNode"),Lw=Ds("__datetimeParts"),Nw=Ds("__numberParts"),OW=Ds("__setPluralRules"),IW=Ds("__injectWithOption"),kw=Ds("__dispose");function Ph(e){if(!gn(e))return e;for(const t in e)if(nb(e,t))if(!t.includes("."))gn(e[t])&&Ph(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a<o;a++){if(n[a]in r||(r[n[a]]={}),!gn(r[n[a]])){i=!0;break}r=r[n[a]]}i||(r[n[o]]=e[t],delete e[t]),gn(r[n[o]])&&Ph(r[n[o]])}return e}function l1(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:i}=t,a=zt(n)?n:Rn(o)?{}:{[e]:{}};if(Rn(o)&&o.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:c}=l;s?(a[s]=a[s]||{},Ym(c,a[s])):Ym(c,a)}else at(l)&&Ym(JSON.parse(l),a)}),r==null&&i)for(const l in a)nb(a,l)&&Ph(a[l]);return a}function PW(e){return e.type}function TW(e,t,n){let o=gn(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=l1(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(gn(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(gn(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function G5(e){return g(_l,null,e,0)}const Y5="__INTLIFY_META__",X5=()=>[],mLe=()=>!1;let q5=0;function Z5(e){return(t,n,o,r)=>e(n,o,Nn()||void 0,r)}const bLe=()=>{const e=Nn();let t=null;return e&&(t=PW(e)[Y5])?{[Y5]:t}:null};function SP(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=tb?he:ve;let l=en(e.inheritLocale)?e.inheritLocale:!0;const s=a(n&&l?n.locale.value:at(e.locale)?e.locale:Hd),c=a(n&&l?n.fallbackLocale.value:at(e.fallbackLocale)||Rn(e.fallbackLocale)||zt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=a(l1(s.value,e)),d=a(zt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=a(zt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:en(e.missingWarn)||ws(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:en(e.fallbackWarn)||ws(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:en(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,b=Pn(e.missing)?e.missing:null,$=Pn(e.missing)?Z5(e.missing):null,x=Pn(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:en(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const I=n?n.modifiers:zt(e.modifiers)?e.modifiers:{};let O=e.pluralRules||n&&n.pluralRules,P;P=(()=>{r&&B5(null);const oe={version:gLe,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:I,pluralRules:O,missing:$===null?void 0:$,missingWarn:h,fallbackWarn:m,fallbackFormat:y,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:_,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};oe.datetimeFormats=d.value,oe.numberFormats=f.value,oe.__datetimeFormatters=zt(P)?P.__datetimeFormatters:void 0,oe.__numberFormatters=zt(P)?P.__numberFormatters:void 0;const le=lLe(oe);return r&&B5(le),le})(),qf(P,s.value,c.value);function R(){return[s.value,c.value,u.value,d.value,f.value]}const A=M({get:()=>s.value,set:oe=>{s.value=oe,P.locale=s.value}}),N=M({get:()=>c.value,set:oe=>{c.value=oe,P.fallbackLocale=c.value,qf(P,s.value,oe)}}),F=M(()=>u.value),W=M(()=>d.value),D=M(()=>f.value);function B(){return Pn(x)?x:null}function k(oe){x=oe,P.postTranslation=oe}function L(){return b}function z(oe){oe!==null&&($=Z5(oe)),b=oe,P.missing=$}const K=(oe,le,xe,Ae,Be,Ye)=>{R();let Re;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=n?aLe():void 0),Re=oe(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(xe!=="translate exists"&&_o(Re)&&Re===a1||xe==="translate exists"&&!Re){const[Le,Ne]=le();return n&&v?Ae(n):Be(Le)}else{if(Ye(Re))return Re;throw No(Io.UNEXPECTED_RETURN_TYPE)}};function G(...oe){return K(le=>Reflect.apply(j5,null,[le,...oe]),()=>Aw(...oe),"translate",le=>Reflect.apply(le.t,le,[...oe]),le=>le,le=>at(le))}function Y(...oe){const[le,xe,Ae]=oe;if(Ae&&!gn(Ae))throw No(Io.INVALID_ARGUMENT);return G(le,xe,Ko({resolvedMessage:!0},Ae||{}))}function ne(...oe){return K(le=>Reflect.apply(W5,null,[le,...oe]),()=>Mw(...oe),"datetime format",le=>Reflect.apply(le.d,le,[...oe]),()=>L5,le=>at(le))}function re(...oe){return K(le=>Reflect.apply(K5,null,[le,...oe]),()=>Rw(...oe),"number format",le=>Reflect.apply(le.n,le,[...oe]),()=>L5,le=>at(le))}function J(oe){return oe.map(le=>at(le)||_o(le)||en(le)?G5(String(le)):le)}const ee={normalize:J,interpolate:oe=>oe,type:"vnode"};function fe(...oe){return K(le=>{let xe;const Ae=le;try{Ae.processor=ee,xe=Reflect.apply(j5,null,[Ae,...oe])}finally{Ae.processor=null}return xe},()=>Aw(...oe),"translate",le=>le[Dw](...oe),le=>[G5(le)],le=>Rn(le))}function ie(...oe){return K(le=>Reflect.apply(K5,null,[le,...oe]),()=>Rw(...oe),"number format",le=>le[Nw](...oe),X5,le=>at(le)||Rn(le))}function X(...oe){return K(le=>Reflect.apply(W5,null,[le,...oe]),()=>Mw(...oe),"datetime format",le=>le[Lw](...oe),X5,le=>at(le)||Rn(le))}function ue(oe){O=oe,P.pluralRules=O}function ye(oe,le){return K(()=>{if(!oe)return!1;const xe=at(le)?le:s.value,Ae=q(xe),Be=P.messageResolver(Ae,oe);return zd(Be)||Pi(Be)||at(Be)},()=>[oe],"translate exists",xe=>Reflect.apply(xe.te,xe,[oe,le]),mLe,xe=>en(xe))}function H(oe){let le=null;const xe=fW(P,c.value,s.value);for(let Ae=0;Ae<xe.length;Ae++){const Be=u.value[xe[Ae]]||{},Ye=P.messageResolver(Be,oe);if(Ye!=null){le=Ye;break}}return le}function j(oe){const le=H(oe);return le??(n?n.tm(oe)||{}:{})}function q(oe){return u.value[oe]||{}}function se(oe,le){if(i){const xe={[oe]:le};for(const Ae in xe)nb(xe,Ae)&&Ph(xe[Ae]);le=xe[oe]}u.value[oe]=le,P.messages=u.value}function ae(oe,le){u.value[oe]=u.value[oe]||{};const xe={[oe]:le};if(i)for(const Ae in xe)nb(xe,Ae)&&Ph(xe[Ae]);le=xe[oe],Ym(le,u.value[oe]),P.messages=u.value}function ge(oe){return d.value[oe]||{}}function Se(oe,le){d.value[oe]=le,P.datetimeFormats=d.value,V5(P,oe,le)}function $e(oe,le){d.value[oe]=Ko(d.value[oe]||{},le),P.datetimeFormats=d.value,V5(P,oe,le)}function _e(oe){return f.value[oe]||{}}function be(oe,le){f.value[oe]=le,P.numberFormats=f.value,U5(P,oe,le)}function Te(oe,le){f.value[oe]=Ko(f.value[oe]||{},le),P.numberFormats=f.value,U5(P,oe,le)}q5++,n&&tb&&(Ie(n.locale,oe=>{l&&(s.value=oe,P.locale=oe,qf(P,s.value,c.value))}),Ie(n.fallbackLocale,oe=>{l&&(c.value=oe,P.fallbackLocale=oe,qf(P,s.value,c.value))}));const Pe={id:q5,locale:A,fallbackLocale:N,get inheritLocale(){return l},set inheritLocale(oe){l=oe,oe&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,qf(P,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:F,get modifiers(){return I},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(oe){h=oe,P.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(oe){m=oe,P.fallbackWarn=m},get fallbackRoot(){return v},set fallbackRoot(oe){v=oe},get fallbackFormat(){return y},set fallbackFormat(oe){y=oe,P.fallbackFormat=y},get warnHtmlMessage(){return _},set warnHtmlMessage(oe){_=oe,P.warnHtmlMessage=oe},get escapeParameter(){return w},set escapeParameter(oe){w=oe,P.escapeParameter=oe},t:G,getLocaleMessage:q,setLocaleMessage:se,mergeLocaleMessage:ae,getPostTranslationHandler:B,setPostTranslationHandler:k,getMissingHandler:L,setMissingHandler:z,[OW]:ue};return Pe.datetimeFormats=W,Pe.numberFormats=D,Pe.rt=Y,Pe.te=ye,Pe.tm=j,Pe.d=ne,Pe.n=re,Pe.getDateTimeFormat=ge,Pe.setDateTimeFormat=Se,Pe.mergeDateTimeFormat=$e,Pe.getNumberFormat=_e,Pe.setNumberFormat=be,Pe.mergeNumberFormat=Te,Pe[IW]=o,Pe[Dw]=fe,Pe[Lw]=X,Pe[Nw]=ie,Pe}function yLe(e){const t=at(e.locale)?e.locale:Hd,n=at(e.fallbackLocale)||Rn(e.fallbackLocale)||zt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Pn(e.missing)?e.missing:void 0,r=en(e.silentTranslationWarn)||ws(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=en(e.silentFallbackWarn)||ws(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=en(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,s=zt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Pn(e.postTranslation)?e.postTranslation:void 0,d=at(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=en(e.sync)?e.sync:!0;let m=e.messages;if(zt(e.sharedMessages)){const w=e.sharedMessages;m=Object.keys(w).reduce((O,P)=>{const E=O[P]||(O[P]={});return Ko(E,w[P]),O},m||{})}const{__i18n:v,__root:y,__injectWithOption:b}=e,$=e.datetimeFormats,x=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:_,datetimeFormats:$,numberFormats:x,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,__i18n:v,__root:y,__injectWithOption:b}}function Bw(e={},t){{const n=SP(yLe(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return en(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=en(i)?!i:i},get silentFallbackWarn(){return en(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=en(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,l,s]=i,c={};let u=null,d=null;if(!at(a))throw No(Io.INVALID_ARGUMENT);const f=a;return at(l)?c.locale=l:Rn(l)?u=l:zt(l)&&(d=l),Rn(s)?u=s:zt(s)&&(d=s),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,l,s]=i,c={plural:1};let u=null,d=null;if(!at(a))throw No(Io.INVALID_ARGUMENT);const f=a;return at(l)?c.locale=l:_o(l)?c.plural=l:Rn(l)?u=l:zt(l)&&(d=l),at(s)?c.locale=s:Rn(s)?u=s:zt(s)&&(d=s),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const CP={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function SLe({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===Je?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function EW(e){return Je}const CLe=pe({name:"i18n-t",props:Ko({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>_o(e)||!isNaN(e)}},CP),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||$P({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=at(e.plural)?+e.plural:e.plural);const l=SLe(t,i),s=r[Dw](e.keypath,l,a),c=Ko({},o),u=at(e.tag)||gn(e.tag)?e.tag:EW();return Ni(u,c,s)}}}),Q5=CLe;function $Le(e){return Rn(e)&&!at(e[0])}function AW(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let l={};e.locale&&(a.locale=e.locale),at(e.format)?a.key=e.format:gn(e.format)&&(at(e.format.key)&&(a.key=e.format.key),l=Object.keys(e.format).reduce((f,h)=>n.includes(h)?Ko({},f,{[h]:e.format[h]}):f,{}));const s=o(e.value,a,l);let c=[a.key];Rn(s)?c=s.map((f,h)=>{const m=r[f.type],v=m?m({[f.type]:f.value,index:h,parts:s}):[f.value];return $Le(v)&&(v[0].key=`${f.type}-${h}`),v}):at(s)&&(c=[s]);const u=Ko({},i),d=at(e.tag)||gn(e.tag)?e.tag:EW();return Ni(d,u,c)}}const xLe=pe({name:"i18n-n",props:Ko({value:{type:Number,required:!0},format:{type:[String,Object]}},CP),setup(e,t){const n=e.i18n||$P({useScope:"parent",__useComponent:!0});return AW(e,t,xW,(...o)=>n[Nw](...o))}}),J5=xLe,wLe=pe({name:"i18n-d",props:Ko({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},CP),setup(e,t){const n=e.i18n||$P({useScope:"parent",__useComponent:!0});return AW(e,t,$W,(...o)=>n[Lw](...o))}}),eD=wLe;function _Le(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function OLe(e){const t=a=>{const{instance:l,modifiers:s,value:c}=a;if(!l||!l.$)throw No(Io.UNEXPECTED_ERROR);const u=_Le(e,l.$),d=tD(c);return[Reflect.apply(u.t,u,[...nD(d)]),u]};return{created:(a,l)=>{const[s,c]=t(l);tb&&e.global===c&&(a.__i18nWatcher=Ie(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=c,a.textContent=s},unmounted:a=>{tb&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const s=a.__composer,c=tD(l);a.textContent=Reflect.apply(s.t,s,[...nD(c)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function tD(e){if(at(e))return{path:e};if(zt(e)){if(!("path"in e))throw No(Io.REQUIRED_VALUE,"path");return e}else throw No(Io.INVALID_VALUE)}function nD(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},l=o||{};return at(n)&&(a.locale=n),_o(r)&&(a.plural=r),_o(i)&&(a.plural=i),[t,l,a]}function ILe(e,t,...n){const o=zt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(en(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Q5.name,"I18nT"].forEach(a=>e.component(a,Q5)),[J5.name,"I18nN"].forEach(a=>e.component(a,J5)),[eD.name,"I18nD"].forEach(a=>e.component(a,eD))),e.directive("t",OLe(t))}function PLe(e,t,n){return{beforeCreate(){const o=Nn();if(!o)throw No(Io.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=oD(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Bw(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=oD(e,r);else{this.$i18n=Bw({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&TW(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Nn();if(!o)throw No(Io.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function oD(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[OW](t.pluralizationRules||e.pluralizationRules);const n=l1(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const TLe=Ds("global-vue-i18n");function ELe(e={},t){const n=__VUE_I18N_LEGACY_API__&&en(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=en(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,l]=ALe(e,n),s=Ds("");function c(f){return i.get(f)||null}function u(f,h){i.set(f,h)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(h,...m){if(h.__VUE_I18N_SYMBOL__=s,h.provide(h.__VUE_I18N_SYMBOL__,f),zt(m[0])){const b=m[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let v=null;!n&&o&&(v=HLe(h,f.global)),__VUE_I18N_FULL_INSTALL__&&ILe(h,f,...m),__VUE_I18N_LEGACY_API__&&n&&h.mixin(PLe(l,l.__composer,f));const y=h.unmount;h.unmount=()=>{v&&v(),f.dispose(),y()}},get global(){return l},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function $P(e={}){const t=Nn();if(t==null)throw No(Io.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw No(Io.NOT_INSTALLED);const n=MLe(t),o=DLe(n),r=PW(t),i=RLe(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw No(Io.NOT_AVAILABLE_IN_LEGACY_MODE);return BLe(t,i,o,e)}if(i==="global")return TW(o,e,r),o;if(i==="parent"){let s=LLe(n,t,e.__useComponent);return s==null&&(s=o),s}const a=n;let l=a.__getInstance(t);if(l==null){const s=Ko({},e);"__i18n"in r&&(s.__i18n=r.__i18n),o&&(s.__root=o),l=SP(s),a.__composerExtend&&(l[kw]=a.__composerExtend(l)),kLe(a,t,l),a.__setInstance(t,l)}return l}function ALe(e,t,n){const o=o2();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Bw(e)):o.run(()=>SP(e));if(r==null)throw No(Io.UNEXPECTED_ERROR);return[o,r]}}function MLe(e){{const t=it(e.isCE?TLe:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw No(e.isCE?Io.NOT_INSTALLED_WITH_PROVIDE:Io.UNEXPECTED_ERROR);return t}}function RLe(e,t){return i1(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function DLe(e){return e.mode==="composition"?e.global:e.global.__composer}function LLe(e,t,n=!1){let o=null;const r=t.root;let i=NLe(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=a.__getInstance(i);l!=null&&(o=l.__composer,n&&o&&!o[IW]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function NLe(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function kLe(e,t,n){lt(()=>{},t),Fo(()=>{const o=n;e.__deleteInstance(t);const r=o[kw];r&&(r(),delete o[kw])},t)}function BLe(e,t,n,o={}){const r=t==="local",i=ve(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw No(Io.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=en(o.inheritLocale)?o.inheritLocale:!at(o.locale),l=he(!r||a?n.locale.value:at(o.locale)?o.locale:Hd),s=he(!r||a?n.fallbackLocale.value:at(o.fallbackLocale)||Rn(o.fallbackLocale)||zt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:l.value),c=he(l1(l.value,o)),u=he(zt(o.datetimeFormats)?o.datetimeFormats:{[l.value]:{}}),d=he(zt(o.numberFormats)?o.numberFormats:{[l.value]:{}}),f=r?n.missingWarn:en(o.missingWarn)||ws(o.missingWarn)?o.missingWarn:!0,h=r?n.fallbackWarn:en(o.fallbackWarn)||ws(o.fallbackWarn)?o.fallbackWarn:!0,m=r?n.fallbackRoot:en(o.fallbackRoot)?o.fallbackRoot:!0,v=!!o.fallbackFormat,y=Pn(o.missing)?o.missing:null,b=Pn(o.postTranslation)?o.postTranslation:null,$=r?n.warnHtmlMessage:en(o.warnHtmlMessage)?o.warnHtmlMessage:!0,x=!!o.escapeParameter,_=r?n.modifiers:zt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function I(){return[l.value,s.value,c.value,u.value,d.value]}const O=M({get:()=>i.value?i.value.locale.value:l.value,set:j=>{i.value&&(i.value.locale.value=j),l.value=j}}),P=M({get:()=>i.value?i.value.fallbackLocale.value:s.value,set:j=>{i.value&&(i.value.fallbackLocale.value=j),s.value=j}}),E=M(()=>i.value?i.value.messages.value:c.value),R=M(()=>u.value),A=M(()=>d.value);function N(){return i.value?i.value.getPostTranslationHandler():b}function F(j){i.value&&i.value.setPostTranslationHandler(j)}function W(){return i.value?i.value.getMissingHandler():y}function D(j){i.value&&i.value.setMissingHandler(j)}function B(j){return I(),j()}function k(...j){return i.value?B(()=>Reflect.apply(i.value.t,null,[...j])):B(()=>"")}function L(...j){return i.value?Reflect.apply(i.value.rt,null,[...j]):""}function z(...j){return i.value?B(()=>Reflect.apply(i.value.d,null,[...j])):B(()=>"")}function K(...j){return i.value?B(()=>Reflect.apply(i.value.n,null,[...j])):B(()=>"")}function G(j){return i.value?i.value.tm(j):{}}function Y(j,q){return i.value?i.value.te(j,q):!1}function ne(j){return i.value?i.value.getLocaleMessage(j):{}}function re(j,q){i.value&&(i.value.setLocaleMessage(j,q),c.value[j]=q)}function J(j,q){i.value&&i.value.mergeLocaleMessage(j,q)}function te(j){return i.value?i.value.getDateTimeFormat(j):{}}function ee(j,q){i.value&&(i.value.setDateTimeFormat(j,q),u.value[j]=q)}function fe(j,q){i.value&&i.value.mergeDateTimeFormat(j,q)}function ie(j){return i.value?i.value.getNumberFormat(j):{}}function X(j,q){i.value&&(i.value.setNumberFormat(j,q),d.value[j]=q)}function ue(j,q){i.value&&i.value.mergeNumberFormat(j,q)}const ye={get id(){return i.value?i.value.id:-1},locale:O,fallbackLocale:P,messages:E,datetimeFormats:R,numberFormats:A,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(j){i.value&&(i.value.inheritLocale=j)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(j){i.value&&(i.value.missingWarn=j)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(j){i.value&&(i.value.missingWarn=j)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(j){i.value&&(i.value.fallbackRoot=j)},get fallbackFormat(){return i.value?i.value.fallbackFormat:v},set fallbackFormat(j){i.value&&(i.value.fallbackFormat=j)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:$},set warnHtmlMessage(j){i.value&&(i.value.warnHtmlMessage=j)},get escapeParameter(){return i.value?i.value.escapeParameter:x},set escapeParameter(j){i.value&&(i.value.escapeParameter=j)},t:k,getPostTranslationHandler:N,setPostTranslationHandler:F,getMissingHandler:W,setMissingHandler:D,rt:L,d:z,n:K,tm:G,te:Y,getLocaleMessage:ne,setLocaleMessage:re,mergeLocaleMessage:J,getDateTimeFormat:te,setDateTimeFormat:ee,mergeDateTimeFormat:fe,getNumberFormat:ie,setNumberFormat:X,mergeNumberFormat:ue};function H(j){j.locale.value=l.value,j.fallbackLocale.value=s.value,Object.keys(c.value).forEach(q=>{j.mergeLocaleMessage(q,c.value[q])}),Object.keys(u.value).forEach(q=>{j.mergeDateTimeFormat(q,u.value[q])}),Object.keys(d.value).forEach(q=>{j.mergeNumberFormat(q,d.value[q])}),j.escapeParameter=x,j.fallbackFormat=v,j.fallbackRoot=m,j.fallbackWarn=h,j.missingWarn=f,j.warnHtmlMessage=$}return Dh(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw No(Io.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const j=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=j.locale.value,s.value=j.fallbackLocale.value,c.value=j.messages.value,u.value=j.datetimeFormats.value,d.value=j.numberFormats.value):r&&H(j)}),ye}const FLe=["locale","fallbackLocale","availableLocales"],rD=["t","rt","d","n","tm","te"];function HLe(e,t){const n=Object.create(null);return FLe.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw No(Io.UNEXPECTED_ERROR);const a=Wn(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,rD.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw No(Io.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,rD.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}vLe();__INTLIFY_JIT_COMPILATION__?k5(uLe):k5(cLe);nLe(kDe);oLe(fW);if(__INTLIFY_PROD_DEVTOOLS__){const e=fl();e.__INTLIFY__=!0,UDe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const zLe={destinationRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},virtualServiceDomain:{YAMLView:"YAML视图",formView:"表单视图"},loginDomain:{username:"用户名",password:"密码",login:"登录",authFail:"认证失败"},dynamicConfigDomain:{addConfig:"增加配置",addByFormView:"新增动态配置",updateByFormView:"修改动态配置",detailByFormView:"查看动态配置",addMatches:"增加匹配条件",matchType:"匹配条件类型",configType:"配置项类型",notSaved:"*改动未保存",saved:"配置无改动",YAMLView:"YAML视图",formView:"表单视图",event:"事件",save:"保存",reset:"重置"},routingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},updateRoutingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},addRoutingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},tagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},updateTagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},addTagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},flowControlDomain:{notSet:"未设置",versionRecords:"版本记录",YAMLView:"YAML视图",addConfiguration:"增加配置",addConfigurationItem:"增加配置项",addFilter:"增加筛选",configurationItem:"配置项",actuatingRange:"作用范围",matches:"作用范围",scopeScreening:"作用范围筛选",endOfAction:"作用端",side:"作用端",actions:"操作",filterType:"筛选类型",labelName:"标签名",formView:"表单视图",addMatch:"增加匹配",addRouter:"增加路由",addLabel:"增加标签",addressSubsetMatching:"地址子集匹配",value:"值",relation:"关系",requestParameterMatching:"请求参数匹配",matchingDimension:"匹配维度",parameter:"参数",ruleName:"规则名",actionObject:"作用对象",key:"作用对象",faultTolerantProtection:"容错保护",runTimeEffective:"运行时生效",ruleGranularity:"规则粒度",scope:"规则粒度",effectTime:"生效时间",enabledState:"启用状态",priority:"优先级",off:"关",on:"开",opened:"开启",closed:"关闭",enabled:"启用",disabled:"禁用"},instanceDomain:{flowDisabled:"流量禁用",operatorLog:"执行日志",CPU:"CPU",enableAppInstanceLogs:"开启该应用所有实例的访问日志",appServiceLoadBalance:"调整应用提供服务的负载均衡策略",appServiceNegativeClusteringMethod:"调整应用提供服务的的集群方式",appServiceRetries:"调整该应用提供服务的重试次数",appServiceTimeout:"调整应用提供服务的超时时间",close:"关闭",enable:"开启",executionLog:"执行日志",retryCount:"重试次数",clusterApproach:"集群方式",timeout_ms:"超时时间(ms)",details:"详情",loadBalance:"负载均衡",monitor:"监控",linkTracking:"链路追踪",configuration:"场景配置",event:"事件",healthExamination_k8s:"健康检查(k8s)",instanceLabel:"实例标签",instanceImage_k8s:"镜像(k8s)",owningWorkload_k8s:"所属工作负载(k8s)",node:"节点",whichApplication:"所属应用",registerCluster:"注册集群",dubboPort:"Dubbo端口",instanceIP:"实例IP",ip:"IP",name:"实例名称",deployState:"部署状态",deployCluster:"部署集群",deployClusters:"部署集群",registerState:"注册状态",registerClusters:"注册集群",registryClusters:"注册集群",cpu:"CPU",memory:"内存",startTime:"启动时间",registerTime:"注册时间",labels:"标签",instanceCount:"实例数量",instanceName:"实例名称",creationTime_k8s:"创建时间(k8s)",startTime_k8s:"启动时间(k8s)"},serviceDomain:{name:"服务名",notSpecified:"不指定",timeout:"超时时间",retryNum:"重试次数",sameAreaFirst:"同区域优先",closed:"关闭",opened:"开启",paramRoute:"参数路由"},service:"服务",versionGroup:"版本&分组",avgQPS:"QPS",avgRT:"RT",requestTotal:"近1min请求总量",serviceSearch:"服务查询",serviceGovernance:"路由规则",trafficManagement:"流量管控",serviceMetrics:"服务统计",serviceRelation:"服务关系",routingRule:"条件路由",tagRule:"标签路由",meshRule:"Mesh路由",dynamicConfig:"动态配置",accessControl:"黑白名单",weightAdjust:"权重调整",loadBalance:"负载均衡",serviceTest:"服务测试",serviceMock:"服务Mock",services:"服务",providers:"提供者",consumers:"消费者",application:"应用",instance:"实例",all:"全部",common:"通用",metrics:"可观测",relation:"关系",group:"组",version:"版本",app:"应用",ip:"IP地址",qps:"qps",rt:"rt",successRate:"成功率",serviceInfo:"服务信息",port:"端口",timeout:"超时(毫秒)",serialization:"序列化",appName:"应用名",instanceNum:"实例数量",deployCluster:"部署集群",registerClusters:"注册集群列表",serviceName:"服务名",provideServiceName:"提供服务",registrySource:"注册来源",instanceRegistry:"应用级",interfaceRegistry:"接口级",allRegistry:"应用级/接口级",operation:"操作",searchResult:"查询结果",search:"搜索",methodName:"方法名",enabled:"开启",disabled:"禁用",method:"方法",weight:"权重",create:"创建",save:"保存",cancel:"取消",close:"关闭",confirm:"确认",ruleContent:"规则内容",createNewRoutingRule:"创建新路由规则",createNewTagRule:"创建新标签规则",createMeshTagRule:"创建新mesh规则",createNewDynamicConfigRule:"创建新动态配置规则",createNewWeightRule:"新建权重规则",createNewLoadBalanceRule:"新建负载均衡规则",createTimeoutRule:"创建超时时间规则",createRetryRule:"创建重试规则",createRegionRule:"创建同区域优先规则",createArgumentRule:"创建参数路由规则",createMockCircuitRule:"创建调用降级规则",createAccesslogRule:"创建访问日志规则",createGrayRule:"创建灰度隔离规则",createWeightRule:"创建权重比例规则",serviceIdHint:"服务名",view:"查看",edit:"编辑",delete:"删除",searchRoutingRule:"搜索路由规则",searchAccessRule:"搜索黑白名单",searchWeightRule:"搜索权重调整规则",dataIdClassHint:"服务接口的类完整包路径",dataIdVersionHint:"服务接口的Version,根据接口实际情况选填",dataIdGroupHint:"服务接口的Group,根据接口实际情况选填",agree:"同意",disagree:"不同意",searchDynamicConfig:"搜索动态配置",appNameHint:"服务所属的应用名称",basicInfo:"基础信息",metaData:"元数据",methodMetrics:"服务方法统计",searchDubboService:"搜索Dubbo服务或应用",serviceSearchHint:"服务ID, org.apache.dubbo.demo.api.DemoService, * 代表所有服务",ipSearchHint:"在指定的IP地址上查找目标服务器提供的所有服务",appSearchHint:"输入应用名称以查找由一个特定应用提供的所有服务, * 代表所有",searchTagRule:"根据应用名搜索标签规则",searchMeshRule:"根据应用名搜索mesh规则",searchSingleMetrics:"输入IP搜索Metrics信息",searchBalanceRule:"搜索负载均衡规则",parameterList:"参数列表",returnType:"返回值",noMetadataHint:"无元数据信息,请升级至Dubbo2.7及以上版本,或者查看application.properties中关于config center的配置,详见",here:"这里",configAddress:"https://github.com/apache/incubator-dubbo-admin/wiki/Dubbo-Admin%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E",whiteList:"白名单",whiteListHint:"白名单IP列表, 多个地址用逗号分隔: 1.1.1.1,2.2.2.2",blackList:"黑名单",blackListHint:"黑名单IP列表, 多个地址用逗号分隔: 3.3.3.3,4.4.4.4",address:"地址列表",weightAddressHint:"此权重设置的IP地址,用逗号分隔: 1.1.1.1,2.2.2.2",weightHint:"权重值,默认100",methodHint:"负载均衡生效的方法,*代表所有方法",strategy:"策略",balanceStrategyHint:"负载均衡策略",goIndex:"返回首页",releaseLater:"在后续版本中发布,敬请期待",later:{metrics:"Metrics会在后续版本中发布,敬请期待",serviceTest:"服务测试会在后续版本中发布,敬请期待",serviceMock:"服务Mock会在后续版本中发布,敬请期待"},by:"按",$vuetify:{dataIterator:{rowsPerPageText:"每页记录数:",rowsPerPageAll:"全部",pageText:"{0}-{1} 共 {2} 条",noResultsText:"没有找到匹配记录",nextPage:"下一页",prevPage:"上一页"},dataTable:{rowsPerPageText:"每页行数:"},noDataText:"无可用数据"},configManage:"配置管理",configCenterAddress:"配置中心地址",searchDubboConfig:"搜索Dubbo配置",createNewDubboConfig:"新建Dubbo配置",scope:"范围",name:"名称",warnDeleteConfig:" 是否要删除Dubbo配置: ",warnDeleteRouteRule:"是否要删除路由规则",warnDeleteDynamicConfig:"是否要删除动态配置",warnDeleteBalancing:"是否要删除负载均衡规则",warnDeleteAccessControl:"是否要删除黑白名单",warnDeleteTagRule:"是否要删除标签路由",warnDeleteMeshRule:"是否要删除mesh路由",warnDeleteWeightAdjust:"是否要删除权重规则",configNameHint:"配置所属的应用名, global 表示全局配置",configContent:"配置内容",testMethod:"测试方法",execute:"执行",result:"结果: ",success:" 成功",fail:"失败",detail:"详情",more:"更多",copyUrl:"复制 URL",copy:"复制",url:"URL",copySuccessfully:"已复制",test:"测试",placeholders:{searchService:"通过服务名搜索服务"},methods:"方法列表",testModule:{searchServiceHint:"完整服务ID, org.apache.dubbo.demo.api.DemoService, 按回车键查询"},userName:"用户名",password:"密码",login:"登录",apiDocs:"接口文档",apiDocsRes:{dubboProviderIP:"Dubbo 提供者Ip",dubboProviderPort:"Dubbo 提供者端口",loadApiList:"加载接口列表",apiListText:"接口列表",apiForm:{missingInterfaceInfo:"缺少接口信息",getApiInfoErr:"获取接口信息异常",api404Err:"接口名称不正确,没有查找到接口参数和响应信息",apiRespDecShowLabel:"响应说明",apiNameShowLabel:"接口名称",apiPathShowLabel:"接口位置",apiMethodParamInfoLabel:"接口参数",apiVersionShowLabel:"接口版本",apiGroupShowLabel:"接口分组",apiDescriptionShowLabel:"接口说明",isAsyncFormLabel:"是否异步调用(此参数不可修改,根据接口定义的是否异步显示)",apiModuleFormLabel:"接口模块(此参数不可修改)",apiFunctionNameFormLabel:"接口方法名(此参数不可修改)",registryCenterUrlFormLabel:"注册中心地址, 如果为空将使用Dubbo 提供者Ip和端口进行直连",paramNameLabel:"参数名",paramPathLabel:"参数位置",paramDescriptionLabel:"说明",paramRequiredLabel:"该参数为必填",doTestBtn:"测试",responseLabel:"响应",responseExampleLabel:"响应示例",apiResponseLabel:"接口响应",LoadingLabel:"加载中...",requireTip:"有未填写的必填项",requireItemTip:"该项为必填!",requestApiErrorTip:"请求接口发生异常,请检查提交的数据,特别是JSON类数据和其中的枚举部分",unsupportedHtmlTypeTip:"暂不支持的表单类型",none:"无"}},authFailed:"权限验证失败",ruleList:"规则列表",registryCenter:"注册中心",mockRule:"规则配置",mockData:"模拟数据",globalDisable:"全局禁用",globalEnable:"全局启用",saveRuleSuccess:"保存规则成功",deleteRuleSuccess:"删除成功",disableRuleSuccess:"禁用成功",enableRuleSuccess:"启用成功",methodNameHint:"服务方法名",createMockRule:"创建规则",editMockRule:"修改规则",deleteRuleTitle:"确定要删除此服务Mock规则吗?",ruleName:"规则名",ruleGranularity:"规则粒度",createTime:"创建时间",lastModifiedTime:"最后修改时间",enable:"是否启用",protection:"容错保护",trafficTimeout:"超时时间",trafficRetry:"调用重试",trafficRegion:"同区域优先",trafficIsolation:"环境隔离",trafficWeight:"权重比例",trafficArguments:"参数路由",trafficMock:"调用降级",trafficAccesslog:"访问日志",trafficHost:"固定机器导流",trafficGray:"流量灰度",homePage:"集群概览",serviceManagement:"开发测试",groupInputPrompt:"请输入服务group(可选)",versionInputPrompt:"请输入服务version(可选)",resources:"资源详情",applications:"应用",instances:"实例",applicationDomain:{instanceCount:"实例数量",deployClusters:"部署集群",registryClusters:"注册集群",registerClusters:"注册集群",registerModes:"注册模式",operatorLog:"执行日志",flowWeight:"流量权重",gray:"灰度隔离",name:"应用名",detail:"详情",instance:"实例",service:"服务",monitor:"监控",tracing:"链路追踪",config:"配置",event:"事件",appName:"应用名",rpcProtocols:"RPC 协议",dubboVersions:"Dubbo 版本",dubboPorts:"Dubbo 端口",serialProtocols:"序列化协议",appTypes:"应用类型",images:"应用镜像",workloads:"工作负载",deployCluster:"部署集群",registerCluster:"注册集群",registerMode:"注册模式"},searchDomain:{total:"共计",unit:"条"},messageDomain:{success:{copy:"您已经成功复制一条信息"}},backHome:"回到首页",noPageTip:"抱歉,你访问的页面不存在",globalSearchTip:"搜索ip,应用,实例,服务",placeholder:{typeAppName:"请输入应用名,支持前缀搜索",typeDefault:"请输入",typeRoutingRules:"搜索路由规则,支持前缀过滤"},none:"无",details:"详情",debug:"调试",distribution:"分布",monitor:"监控",tracing:"链路追踪",sceneConfig:"场景配置",event:"事件",provideService:"提供服务",dependentService:"依赖服务",idx:"序号",submit:"提交",reset:"重置",router:{resource:{app:{list:"列表"},ins:{list:"列表"},svc:{list:"列表"}}},form:{save:"保存"}},jLe={loginDomain:{username:"Username",password:"Password",login:"Login",authFail:"Auth Fail"},destinationRuleDomain:{YAMLView:"YAML view",formView:"Form view"},virtualServiceDomain:{YAMLView:"YAML view",formView:"Form view"},dynamicConfigDomain:{YAMLView:"YAML view",formView:"Form view",event:"Event"},updateRoutingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},routingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},addRoutingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},tagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},updateTagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},addTagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},flowControlDomain:{actuatingRange:"Actuating range",notSet:"Not set",versionRecords:"Version records",YAMLView:"YAML View",addConfiguration:"Add configuration",addConfigurationItem:"Add configurationItem",addFilter:"Add filter",configurationItem:"Configuration item",scopeScreening:"Scope screening",endOfAction:"End of action",addLabel:"Add label",actions:"Actions",filterType:"Filter type",labelName:"Label name",formView:"Form view",addMatch:"Add match",addRouter:"Add router",addressSubsetMatching:"Address subset matching",value:"Value",relation:"Relation",parameter:"Parameter",matchingDimension:"Matching dimension",requestParameterMatching:"Request parameter matching",ruleName:"Rule name",actionObject:"Action object",faultTolerantProtection:"Fault-tolerant protection",runTimeEffective:"Run time effective",ruleGranularity:"Rule granularity",effectTime:"Time of taking effect",enabledState:"Enabled status",priority:"Priority",off:"off",on:"on",opened:"Opened",closed:"Closed",enabled:"Enabled",disabled:"Disabled"},instanceDomain:{flowDisabled:"Flow disabled",operatorLog:"Operator log",enableAppInstanceLogs:"Enable access logs for all instances of this application",appServiceRetries:"Adjust the number of retries for the service provided by this application",appServiceLoadBalance:"Adjusting the load balancing strategy for application service provision",appServiceNegativeClusteringMethod:"Adjusting the clustering approach for application service provision",appServiceTimeout:"Adjusting the timeout for application service provision",close:"Close",enable:"Enable",executionLog:"ExecutionLog",loadBalance:"LoadBalance",instanceIP:"InstanceIP",clusterApproach:"ClusterApproach",details:"Detail",retryCount:"RetryCount",timeout_ms:"Timeout(ms)",monitor:"Monitor",linkTracking:"LinkTracking",configuration:"Configuration",event:"Event",instanceName:"InstanceName",ip:"Ip",name:"Name",deployState:"Deploy State",deployCluster:"Deploy Cluster",deployClusters:"Deploy Clusters",registerState:"Register State",registerCluster:"Register Cluster",registryClusters:"Registry Clusters",CPU:"CPU",node:"Node",memory:"Memory",owningWorkload_k8s:"Owning Workload(k8s)",creationTime_k8s:"CreationTime(k8s)",startTime:"StartTime",dubboPort:"DubboPort",instanceImage_k8s:"Image(k8s)",instanceLabel:"Instance Label",whichApplication:"Owning Application",healthExamination_k8s:"Health Examination(k8s)",registerTime:"RegisterTime",labels:"Labels",startTime_k8s:"StartTime(k8s)",instanceCount:"Instance Count"},serviceDomain:{name:"Name",timeout:"Timeout",retryNum:"Retry Num",sameAreaFirst:"Same Area First",closed:"Closed",opened:"Opened",paramRoute:"Param Route"},appServiceTimeout:"Adjusting the timeout for application service provision",enableAppInstanceLogs:"Enable access logs for all instances of this application",appServiceLoadBalance:"Adjusting the load balancing strategy for application service provision",appServiceRetries:"Adjusting the number of retries for application provided services",appServiceNegativeClusteringMethod:"Adjusting the negative clustering method for application service provision",executionLog:"Execution Log",clusterApproach:"Cluster Approach",retryCount:"Retry Count",event:"Event",configuration:"Configuration",linkTracking:"Link Tracking",monitor:"Monitor",details:"Details",creationTime_k8s:"creationTime(k8s)",dubboPort:"Dubbo Port",whichApplication:"application",registerTime:"Register Time",startTime_k8s:"Start Time(k8s)",registerStates:"Register States",deployState:"Deployment Status",owningWorkload_k8s:"Owning Workload(k8s)",creationTime:"Creation Time",nodeIP:"Node IP",healthExamination:"Health Examination",instanceImage_k8s:"Image(k8s)",instanceLabel:"Instance Label",instanceDetail:"Instance Detail",state:"State",memory:"Memory",CPU:"CPU",node:"Node",labels:"Labels",instanceIP:"Instance IP",instanceName:"Instance Name",instance:"Instance",resourceDetails:"Resource Details",service:"Service",versionGroup:"Version & Group",avgQPS:"last 1min QPS",avgRT:"last 1min RT",requestTotal:"last 1min request total",serviceSearch:"Search Service",serviceGovernance:"Routing Rule",trafficManagement:"Traffic Management",routingRule:"Condition Rule",tagRule:"Tag Rule",meshRule:"Mesh Rule",dynamicConfig:"Dynamic Config",accessControl:"Black White List",weightAdjust:"Weight Adjust",loadBalance:"Load Balance",serviceTest:"Service Test",serviceMock:"Service Mock",serviceMetrics:"Service Metrics",serviceRelation:"Service Relation",metrics:"Metrics",relation:"Relation",group:"Group",serviceInfo:"Service Info",providers:"Providers",consumers:"Consumers",common:"Common",version:"Version",app:"Application",services:"Services",application:"Application",all:"All",ip:"IP",qps:"qps",rt:"rt",successRate:"success rate",port:"PORT",timeout:"timeout(ms)",serialization:"serialization",appName:"Application Name",instanceNum:"Instance Number",deployCluster:"Deploy Cluster",registerCluster:"Register Cluster",serviceName:"Service Name",registrySource:"Registry Source",instanceRegistry:"Instance Registry",interfaceRegistry:"Interface Registry",allRegistry:"Instance / Interface Registry",operation:"Operation",searchResult:"Search Result",search:"Search",methodName:"Method Name",enabled:"Enabled",disabled:"Disabled",method:"Method",weight:"Weight",create:"CREATE",save:"SAVE",cancel:"CANCEL",close:"CLOSE",confirm:"CONFIRM",ruleContent:"RULE CONTENT",createNewRoutingRule:"Create New Routing Rule",createNewTagRule:"Create New Tag Rule",createNewMeshRule:"Create New Mesh Rule",createNewDynamicConfigRule:"Create New Dynamic Config Rule",createNewWeightRule:"Create New Weight Rule",createNewLoadBalanceRule:"Create new load balancing rule",createTimeoutRule:"Create timeout rule",createRetryRule:"Create timeout rule",createRegionRule:"Create retry rule",createArgumentRule:"Create argument routing rule",createMockCircuitRule:"Create mock (circuit breaking) rule",createAccesslogRule:"Create accesslog rule",createGrayRule:"Create gray rule",createWeightRule:"Create weighting rule",serviceIdHint:"Service ID",view:"View",edit:"Edit",delete:"Delete",searchRoutingRule:"Search Routing Rule",searchAccess:"Search Access Rule",searchWeightRule:"Search Weight Adjust Rule",dataIdClassHint:"Complete package path of service interface class",dataIdVersionHint:"The version of the service interface, which can be filled in according to the actual situation of the interface",dataIdGroupHint:"The group of the service interface, which can be filled in according to the actual situation of the interface",agree:"Agree",disagree:"Disagree",searchDynamicConfig:"Search Dynamic Config",appNameHint:"Application name the service belongs to",basicInfo:"BasicInfo",metaData:"MetaData",methodMetrics:"Method Statistics",searchDubboService:"Search Dubbo Services or applications",serviceSearchHint:"Service ID, org.apache.dubbo.demo.api.DemoService, * for all services",ipSearchHint:"Find all services provided by the target server on the specified IP address",appSearchHint:"Input an application name to find all services provided by one particular application, * for all",searchTagRule:"Search Tag Rule by application name",searchMeshRule:"Search Mesh Rule by application name",searchSingleMetrics:"Search Metrics by IP",searchBalanceRule:"Search Balancing Rule",noMetadataHint:"There is no metadata available, please update to Dubbo2.7, or check your config center configuration in application.properties, please check ",parameterList:"parameterList",returnType:"returnType",here:"here",configAddress:"https://github.com/apache/incubator-dubbo-admin/wiki/Dubbo-Admin-configuration",whiteList:"White List",whiteListHint:"White list IP address, divided by comma: 1.1.1.1,2.2.2.2",blackList:"Black List",blackListHint:"Black list IP address, divided by comma: 3.3.3.3,4.4.4.4",address:"Address",weightAddressHint:"IP addresses to set this weight, divided by comma: 1.1.1.1,2.2.2.2",weightHint:"weight value, default is 100",methodHint:"choose method of load balancing, * for all methods",strategy:"Strategy",balanceStrategyHint:"load balancing strategy",goIndex:"Go To Index",releaseLater:"will release later",later:{metrics:"Metrics will release later",serviceTest:"Service Test will release later",serviceMock:"Service Mock will release later"},by:"by ",$vuetify:{dataIterator:{rowsPerPageText:"Items per page:",rowsPerPageAll:"All",pageText:"{0}-{1} of {2}",noResultsText:"No matching records found",nextPage:"Next page",prevPage:"Previous page"},dataTable:{rowsPerPageText:"Rows per page:"},noDataText:"No data available"},configManage:"Configuration Management",configCenterAddress:"ConfigCenter Address",searchDubboConfig:"Search Dubbo Config",createNewDubboConfig:"Create New Dubbo Config",scope:"Scope",name:"Name",warnDeleteConfig:" Are you sure to Delete Dubbo Config: ",warnDeleteRouteRule:"Are you sure to Delete routing rule",warnDeleteDynamicConfig:"Are you sure to Delete dynamic config",warnDeleteBalancing:"Are you sure to Delete load balancing",warnDeleteAccessControl:"Are you sure to Delete access control",warnDeleteTagRule:"Are you sure to Delete tag rule",warnDeleteMeshRule:"Are you sure to Delete mesh rule",warnDeleteWeightAdjust:"Are you sure to Delete weight adjust",configNameHint:"Application name the config belongs to, use 'global'(without quotes) for global config",configContent:"Config Content",testMethod:"Test Method",execute:"EXECUTE",result:"Result: ",success:"SUCCESS",fail:"FAIL",detail:"Detail",more:"More",copyUrl:"Copy URL",copy:"Copy",url:"URL",copySuccessfully:"Copied",test:"Test",placeholders:{searchService:"Search by service name"},methods:"Methods",testModule:{searchServiceHint:"Entire service ID, org.apache.dubbo.demo.api.DemoService, press Enter to search"},userName:"User Name",password:"Password",login:"Login",apiDocs:"API Docs",apiDocsRes:{dubboProviderIP:"Dubbo Provider Ip",dubboProviderPort:"Dubbo Provider Port",loadApiList:"Load Api List",apiListText:"Api List",apiForm:{missingInterfaceInfo:"Missing interface information",getApiInfoErr:"Exception in obtaining interface information",api404Err:"Interface name is incorrect, interface parameters and response information are not found",apiRespDecShowLabel:"Response Description",apiNameShowLabel:"Api Name",apiPathShowLabel:"Api Path",apiMethodParamInfoLabel:"Api method parameters",apiVersionShowLabel:"Api Version",apiGroupShowLabel:"Api Group",apiDescriptionShowLabel:"Api Description",isAsyncFormLabel:"Whether to call asynchronously (this parameter cannot be modified, according to whether to display asynchronously defined by the interface)",apiModuleFormLabel:"Api module (this parameter cannot be modified)",apiFunctionNameFormLabel:"Api function name(this parameter cannot be modified)",registryCenterUrlFormLabel:"Registry address. If it is empty, Dubbo provider IP and port will be used for direct connection",paramNameLabel:"Parameter name",paramPathLabel:"Parameter path",paramDescriptionLabel:"Description",paramRequiredLabel:"This parameter is required",doTestBtn:"Do Test",responseLabel:"Response",responseExampleLabel:"Response Example",apiResponseLabel:"Api Response",LoadingLabel:"Loading...",requireTip:"There are required items not filled in",requireItemTip:"This field is required",requestApiErrorTip:"There is an exception in the request interface. Please check the submitted data, especially the JSON class data and the enumeration part",unsupportedHtmlTypeTip:"Temporarily unsupported form type",none:"none"}},authFailed:"Authorized failed,please login.",registryCenter:"Registry",ruleList:"Rule List",mockRule:"Mock Rule",mockData:"Mock Data",globalDisable:"Global Disable",globalEnable:"Global Enable",saveRuleSuccess:"Save Rule Successfully",deleteRuleSuccess:"Delete Rule Successfully",disableRuleSuccess:"Disable Rule Successfully",enableRuleSuccess:"Enable Rule Successfully",methodNameHint:"The method name of Service",createMockRule:"Create Mock Rule",editMockRule:"Edit Mock Rule",deleteRuleTitle:"Are you sure to delete this mock rule?",createTime:"Create Time",lastModifiedTime:"Last Modified Time",trafficTimeout:"Timeout",trafficRetry:"Retry",trafficRegion:"Region Aware",trafficIsolation:"Isolation",trafficWeight:"Weight Percentage",trafficArguments:"Arg Routing",trafficMock:"Mock",trafficAccesslog:"Accesslog",trafficHost:"Host",homePage:"Cluster Overview",serviceManagement:"Dev & Test",resources:"Resources",applications:"Applications",instances:"Instances",applicationDomain:{instanceCount:"Instance Count",deployClusters:"Deploy Clusters",registryClusters:"Registry Clusters",registerClusters:"Registry Clusters",registerModes:"Register Modes",operatorLog:"OperatorLog",flowWeight:"FlowWeight",gray:"Gray",detail:"Detail",instance:"Instance",service:"Service",monitor:"Monitor",tracing:"Tracing",config:"Config",event:"Event",appName:"Application Name",rpcProtocols:"Rpc Protocols",dubboVersions:"Dubbo Versions",dubboPorts:"Dubbo Ports",serialProtocols:"Serial Protocols",appTypes:"Application Types",images:"Images",workloads:"Workloads",deployCluster:"Deploy Cluster",registerCluster:"Register Cluster",registerMode:"Register Mode"},searchDomain:{total:"Total",unit:"items"},messageDomain:{success:{copy:"You have successfully copied a piece of information"}},backHome:"Back Home",noPageTip:"Sorry, the page you visited does not exist.",globalSearchTip:"Search ip, application, instance, service",placeholder:{typeAppName:"please type appName, support for prefix",typeDefault:"please type "},none:"No Select",debug:"Debug",distribution:"Distribution",tracing:"Tracing",sceneConfig:"Scene Config",provideService:"Provide Service",dependentService:"Dependent Service",submit:"Submit",reset:"Reset",router:{resource:{app:{list:"List"},ins:{list:"List"},svc:{list:"List"}}},form:{save:"SAVE"}},WLe={cn:{content:"内容",Home:"主页",home:"主页",...zLe},en:{content:"content",Home:"Home",home:"home",...jLe}},MW=St({locale:localStorage.getItem(Jj)||"cn",opts:[{value:"en",title:"en"},{value:"cn",title:"中文"}]}),xP=ELe({locale:MW.locale,legacy:!1,globalInjection:!0,messages:WLe}),THe=e=>{localStorage.setItem(Jj,e),xP.global.locale.value=e};/*! js-cookie v3.0.5 | MIT */function Yv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var VLe={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Fw(e,t){function n(r,i,a){if(!(typeof document>"u")){a=Yv({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in a)a[s]&&(l+="; "+s,a[s]!==!0&&(l+="="+a[s].split(";")[0]));return document.cookie=r+"="+e.write(i,r)+l}}function o(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var i=document.cookie?document.cookie.split("; "):[],a={},l=0;l<i.length;l++){var s=i[l].split("="),c=s.slice(1).join("=");try{var u=decodeURIComponent(s[0]);if(a[u]=e.read(c,u),r===u)break}catch{}}return r?a[r]:a}}return Object.create({set:n,get:o,remove:function(r,i){n(r,"",Yv({},i,{expires:-1}))},withAttributes:function(r){return Fw(this.converter,Yv({},this.attributes,r))},withConverter:function(r){return Fw(Yv({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var wP=Fw(VLe,{path:"/"});function EHe(e,t){let n={state:e,userinfo:{username:t}};wP.set("auth-state",JSON.stringify(n))}function KLe(){return JSON.parse(wP.get("auth-state")||"{}")}function AHe(){wP.remove("auth-state")}const ULe=pe({__name:"App",setup(e){ON(r=>({"74d14fde":It(Oh)})),w5.locale("en");const t=St(MW);Ie(t,r=>{w5.locale(r.locale)}),ft(eW.LOCALE,t);function n(){window.open("https://cn.dubbo.apache.org/zh-cn/overview/what/")}const o=St(xP.global.locale);return kj(),(r,i)=>{const a=Nt("a-float-button"),l=Nt("a-config-provider");return ht(),jn(l,{locale:It(o==="en"?cr:V5e),theme:{token:{colorPrimary:It(Oh)}}},{default:bn(()=>[g(It(Nj)),g(a,{type:"primary",class:"__global_float_button_question",onClick:n},{icon:bn(()=>[g(It(PF))]),_:1})]),_:1},8,["locale","theme"])}}});var GLe=!1;function YLe(e){return Sb()?(r2(e),!0):!1}function Th(e){return typeof e=="function"?e():It(e)}const RW=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const XLe=Object.prototype.toString,qLe=e=>XLe.call(e)==="[object Object]",bd=()=>{},ZLe=QLe();function QLe(){var e,t;return RW&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function DW(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const LW=e=>e();function JLe(e,t={}){let n,o,r=bd;const i=l=>{clearTimeout(l),r(),r=bd};return l=>{const s=Th(e),c=Th(t.maxWait);return n&&i(n),s<=0||c!==void 0&&c<=0?(o&&(i(o),o=null),Promise.resolve(l())):new Promise((u,d)=>{r=t.rejectOnCancel?d:u,c&&!o&&(o=setTimeout(()=>{n&&i(n),o=null,u(l())},c)),n=setTimeout(()=>{o&&i(o),o=null,u(l())},s)})}}function eNe(e=LW){const t=he(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:u2(t),pause:n,resume:o,eventFilter:r}}function tNe(e){return e||Nn()}function Hc(e,t=200,n={}){return DW(JLe(t,n),e)}function nNe(e,t,n={}){const{eventFilter:o=LW,...r}=n;return Ie(e,DW(o,t),r)}function oNe(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:l,isActive:s}=eNe(o);return{stop:nNe(e,t,{...r,eventFilter:i}),pause:a,resume:l,isActive:s}}function au(e,t=!0,n){tNe()?lt(e,n):t?e():wt(e)}function ar(e,t,n){return Ie(e,(o,r,i)=>{o&&t(o,r,i)},n)}function lp(e){var t;const n=Th(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Eh=RW?window:void 0;function Hp(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Eh):[t,n,o,r]=e,!t)return bd;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},l=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),s=Ie(()=>[lp(t),Th(r)],([u,d])=>{if(a(),!u)return;const f=qLe(d)?{...d}:d;i.push(...n.flatMap(h=>o.map(m=>l(u,h,m,f))))},{immediate:!0,flush:"post"}),c=()=>{s(),a()};return YLe(c),c}let iD=!1;function rNe(e,t,n={}){const{window:o=Eh,ignore:r=[],capture:i=!0,detectIframe:a=!1}=n;if(!o)return bd;ZLe&&!iD&&(iD=!0,Array.from(o.document.body.children).forEach(f=>f.addEventListener("click",bd)),o.document.documentElement.addEventListener("click",bd));let l=!0;const s=f=>r.some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(m=>m===f.target||f.composedPath().includes(m));{const m=lp(h);return m&&(f.target===m||f.composedPath().includes(m))}}),u=[Hp(o,"click",f=>{const h=lp(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(l=!s(f)),!l){l=!0;return}t(f)}},{passive:!0,capture:i}),Hp(o,"pointerdown",f=>{const h=lp(e);l=!s(f)&&!!(h&&!f.composedPath().includes(h))},{passive:!0}),a&&Hp(o,"blur",f=>{setTimeout(()=>{var h;const m=lp(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const Xv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qv="__vueuse_ssr_handlers__",iNe=aNe();function aNe(){return qv in Xv||(Xv[qv]=Xv[qv]||{}),Xv[qv]}function lNe(e,t){return iNe[e]||t}function sNe(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const cNe={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},aD="vueuse-storage";function uNe(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:u,window:d=Eh,eventFilter:f,onError:h=E=>{console.error(E)},initOnMounted:m}=o,v=(u?ve:he)(typeof t=="function"?t():t);if(!n)try{n=lNe("getDefaultStorage",()=>{var E;return(E=Eh)==null?void 0:E.localStorage})()}catch(E){h(E)}if(!n)return v;const y=Th(t),b=sNe(y),$=(r=o.serializer)!=null?r:cNe[b],{pause:x,resume:_}=oNe(v,()=>w(v.value),{flush:i,deep:a,eventFilter:f});return d&&l&&au(()=>{Hp(d,"storage",P),Hp(d,aD,O),m&&P()}),m||P(),v;function w(E){try{if(E==null)n.removeItem(e);else{const R=$.write(E),A=n.getItem(e);A!==R&&(n.setItem(e,R),d&&d.dispatchEvent(new CustomEvent(aD,{detail:{key:e,oldValue:A,newValue:R,storageArea:n}})))}}catch(R){h(R)}}function I(E){const R=E?E.newValue:n.getItem(e);if(R==null)return s&&y!=null&&n.setItem(e,$.write(y)),y;if(!E&&c){const A=$.read(R);return typeof c=="function"?c(A,y):b==="object"&&!Array.isArray(A)?{...y,...A}:A}else return typeof R!="string"?R:$.read(R)}function O(E){P(E.detail)}function P(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){v.value=y;return}if(!(E&&E.key!==e)){x();try{(E==null?void 0:E.newValue)!==$.write(v.value)&&(v.value=I(E))}catch(R){h(R)}finally{E?wt(_):_()}}}}}function _P(e,t,n={}){const{window:o=Eh}=n;return uNe(e,t,o==null?void 0:o.localStorage,n)}function ob(e){"@babel/helpers - typeof";return ob=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ob(e)}var dNe=/^\s+/,fNe=/\s+$/;function et(e,t){if(e=e||"",t=t||{},e instanceof et)return e;if(!(this instanceof et))return new et(e,t);var n=pNe(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}et.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,o,r,i,a,l;return n=t.r/255,o=t.g/255,r=t.b/255,n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),o<=.03928?a=o/12.92:a=Math.pow((o+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),.2126*i+.7152*a+.0722*l},setAlpha:function(t){return this._a=NW(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=sD(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=sD(this._r,this._g,this._b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+o+"%, "+r+"%)":"hsva("+n+", "+o+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=lD(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=lD(this._r,this._g,this._b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+o+"%, "+r+"%)":"hsla("+n+", "+o+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return cD(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return mNe(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Hn(this._r,255)*100)+"%",g:Math.round(Hn(this._g,255)*100)+"%",b:Math.round(Hn(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Hn(this._r,255)*100)+"%, "+Math.round(Hn(this._g,255)*100)+"%, "+Math.round(Hn(this._b,255)*100)+"%)":"rgba("+Math.round(Hn(this._r,255)*100)+"%, "+Math.round(Hn(this._g,255)*100)+"%, "+Math.round(Hn(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:TNe[cD(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+uD(this._r,this._g,this._b,this._a),o=n,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=et(t);o="#"+uD(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+n+",endColorstr="+o+")"},toString:function(t){var n=!!t;t=t||this._format;var o=!1,r=this._a<1&&this._a>=0,i=!n&&r&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return i?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},clone:function(){return et(this.toString())},_applyModification:function(t,n){var o=t.apply(null,[this].concat([].slice.call(n)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(CNe,arguments)},brighten:function(){return this._applyModification($Ne,arguments)},darken:function(){return this._applyModification(xNe,arguments)},desaturate:function(){return this._applyModification(bNe,arguments)},saturate:function(){return this._applyModification(yNe,arguments)},greyscale:function(){return this._applyModification(SNe,arguments)},spin:function(){return this._applyModification(wNe,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(INe,arguments)},complement:function(){return this._applyCombination(_Ne,arguments)},monochromatic:function(){return this._applyCombination(PNe,arguments)},splitcomplement:function(){return this._applyCombination(ONe,arguments)},triad:function(){return this._applyCombination(dD,[3])},tetrad:function(){return this._applyCombination(dD,[4])}};et.fromRatio=function(e,t){if(ob(e)=="object"){var n={};for(var o in e)e.hasOwnProperty(o)&&(o==="a"?n[o]=e[o]:n[o]=sp(e[o]));e=n}return et(e,t)};function pNe(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=RNe(e)),ob(e)=="object"&&(ol(e.r)&&ol(e.g)&&ol(e.b)?(t=hNe(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ol(e.h)&&ol(e.s)&&ol(e.v)?(o=sp(e.s),r=sp(e.v),t=vNe(e.h,o,r),a=!0,l="hsv"):ol(e.h)&&ol(e.s)&&ol(e.l)&&(o=sp(e.s),i=sp(e.l),t=gNe(e.h,o,i),a=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=NW(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function hNe(e,t,n){return{r:Hn(e,255)*255,g:Hn(t,255)*255,b:Hn(n,255)*255}}function lD(e,t,n){e=Hn(e,255),t=Hn(t,255),n=Hn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i,a,l=(o+r)/2;if(o==r)i=a=0;else{var s=o-r;switch(a=l>.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,l}}function gNe(e,t,n){var o,r,i;e=Hn(e,360),t=Hn(t,100),n=Hn(n,100);function a(c,u,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?c+(u-c)*6*d:d<1/2?u:d<2/3?c+(u-c)*(2/3-d)*6:c}if(t===0)o=r=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),r=a(s,l,e),i=a(s,l,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function sD(e,t,n){e=Hn(e,255),t=Hn(t,255),n=Hn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i,a,l=o,s=o-r;if(a=o===0?0:s/o,o==r)i=0;else{switch(o){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,v:l}}function vNe(e,t,n){e=Hn(e,360)*6,t=Hn(t,100),n=Hn(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6,c=[n,a,i,i,l,n][s],u=[l,n,n,a,i,i][s],d=[i,i,l,n,n,a][s];return{r:c*255,g:u*255,b:d*255}}function cD(e,t,n,o){var r=[na(Math.round(e).toString(16)),na(Math.round(t).toString(16)),na(Math.round(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function mNe(e,t,n,o,r){var i=[na(Math.round(e).toString(16)),na(Math.round(t).toString(16)),na(Math.round(n).toString(16)),na(kW(o))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function uD(e,t,n,o){var r=[na(kW(o)),na(Math.round(e).toString(16)),na(Math.round(t).toString(16)),na(Math.round(n).toString(16))];return r.join("")}et.equals=function(e,t){return!e||!t?!1:et(e).toRgbString()==et(t).toRgbString()};et.random=function(){return et.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function bNe(e,t){t=t===0?0:t||10;var n=et(e).toHsl();return n.s-=t/100,n.s=s1(n.s),et(n)}function yNe(e,t){t=t===0?0:t||10;var n=et(e).toHsl();return n.s+=t/100,n.s=s1(n.s),et(n)}function SNe(e){return et(e).desaturate(100)}function CNe(e,t){t=t===0?0:t||10;var n=et(e).toHsl();return n.l+=t/100,n.l=s1(n.l),et(n)}function $Ne(e,t){t=t===0?0:t||10;var n=et(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),et(n)}function xNe(e,t){t=t===0?0:t||10;var n=et(e).toHsl();return n.l-=t/100,n.l=s1(n.l),et(n)}function wNe(e,t){var n=et(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,et(n)}function _Ne(e){var t=et(e).toHsl();return t.h=(t.h+180)%360,et(t)}function dD(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=et(e).toHsl(),o=[et(e)],r=360/t,i=1;i<t;i++)o.push(et({h:(n.h+i*r)%360,s:n.s,l:n.l}));return o}function ONe(e){var t=et(e).toHsl(),n=t.h;return[et(e),et({h:(n+72)%360,s:t.s,l:t.l}),et({h:(n+216)%360,s:t.s,l:t.l})]}function INe(e,t,n){t=t||6,n=n||30;var o=et(e).toHsl(),r=360/n,i=[et(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(et(o));return i}function PNe(e,t){t=t||6;for(var n=et(e).toHsv(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(et({h:o,s:r,v:i})),i=(i+l)%1;return a}et.mix=function(e,t,n){n=n===0?0:n||50;var o=et(e).toRgb(),r=et(t).toRgb(),i=n/100,a={r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a};return et(a)};et.readability=function(e,t){var n=et(e),o=et(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)};et.isReadable=function(e,t,n){var o=et.readability(e,t),r,i;switch(i=!1,r=DNe(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7;break}return i};et.mostReadable=function(e,t,n){var o=null,r=0,i,a,l,s;n=n||{},a=n.includeFallbackColors,l=n.level,s=n.size;for(var c=0;c<t.length;c++)i=et.readability(e,t[c]),i>r&&(r=i,o=et(t[c]));return et.isReadable(e,o,{level:l,size:s})||!a?o:(n.includeFallbackColors=!1,et.mostReadable(e,["#fff","#000"],n))};var Hw=et.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},TNe=et.hexNames=ENe(Hw);function ENe(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function NW(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Hn(e,t){ANe(e)&&(e="100%");var n=MNe(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function s1(e){return Math.min(1,Math.max(0,e))}function ii(e){return parseInt(e,16)}function ANe(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function MNe(e){return typeof e=="string"&&e.indexOf("%")!=-1}function na(e){return e.length==1?"0"+e:""+e}function sp(e){return e<=1&&(e=e*100+"%"),e}function kW(e){return Math.round(parseFloat(e)*255).toString(16)}function fD(e){return ii(e)/255}var Qi=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+o),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+o),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+o),hsva:new RegExp("hsva"+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ol(e){return!!Qi.CSS_UNIT.exec(e)}function RNe(e){e=e.replace(dNe,"").replace(fNe,"").toLowerCase();var t=!1;if(Hw[e])e=Hw[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Qi.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Qi.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qi.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Qi.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qi.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Qi.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qi.hex8.exec(e))?{r:ii(n[1]),g:ii(n[2]),b:ii(n[3]),a:fD(n[4]),format:t?"name":"hex8"}:(n=Qi.hex6.exec(e))?{r:ii(n[1]),g:ii(n[2]),b:ii(n[3]),format:t?"name":"hex"}:(n=Qi.hex4.exec(e))?{r:ii(n[1]+""+n[1]),g:ii(n[2]+""+n[2]),b:ii(n[3]+""+n[3]),a:fD(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=Qi.hex3.exec(e))?{r:ii(n[1]+""+n[1]),g:ii(n[2]+""+n[2]),b:ii(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function DNe(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var lu=lu||{};lu.stringify=function(){var e={"visit_linear-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-linear-gradient":function(t){return e.visit_gradient(t)},"visit_radial-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-radial-gradient":function(t){return e.visit_gradient(t)},visit_gradient:function(t){var n=e.visit(t.orientation);return n&&(n+=", "),t.type+"("+n+e.visit(t.colorStops)+")"},visit_shape:function(t){var n=t.value,o=e.visit(t.at),r=e.visit(t.style);return r&&(n+=" "+r),o&&(n+=" at "+o),n},"visit_default-radial":function(t){var n="",o=e.visit(t.at);return o&&(n+=o),n},"visit_extent-keyword":function(t){var n=t.value,o=e.visit(t.at);return o&&(n+=" at "+o),n},"visit_position-keyword":function(t){return t.value},visit_position:function(t){return e.visit(t.value.x)+" "+e.visit(t.value.y)},"visit_%":function(t){return t.value+"%"},visit_em:function(t){return t.value+"em"},visit_px:function(t){return t.value+"px"},visit_literal:function(t){return e.visit_color(t.value,t)},visit_hex:function(t){return e.visit_color("#"+t.value,t)},visit_rgb:function(t){return e.visit_color("rgb("+t.value.join(", ")+")",t)},visit_rgba:function(t){return e.visit_color("rgba("+t.value.join(", ")+")",t)},visit_color:function(t,n){var o=t,r=e.visit(n.length);return r&&(o+=" "+r),o},visit_angular:function(t){return t.value+"deg"},visit_directional:function(t){return"to "+t.value},visit_array:function(t){var n="",o=t.length;return t.forEach(function(r,i){n+=e.visit(r),i<o-1&&(n+=", ")}),n},visit:function(t){if(!t)return"";var n="";if(t instanceof Array)return e.visit_array(t,n);if(t.type){var o=e["visit_"+t.type];if(o)return o(t);throw Error("Missing visitor visit_"+t.type)}else throw Error("Invalid node.")}};return function(t){return e.visit(t)}}();var lu=lu||{};lu.parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(k){var L=new Error(t+": "+k);throw L.source=t,L}function o(){var k=r();return t.length>0&&n("Invalid input not EOF"),k}function r(){return x(i)}function i(){return a("linear-gradient",e.linearGradient,s)||a("repeating-linear-gradient",e.repeatingLinearGradient,s)||a("radial-gradient",e.radialGradient,d)||a("repeating-radial-gradient",e.repeatingRadialGradient,d)}function a(k,L,z){return l(L,function(K){var G=z();return G&&(D(e.comma)||n("Missing comma before color stops")),{type:k,orientation:G,colorStops:x(_)}})}function l(k,L){var z=D(k);if(z){D(e.startCall)||n("Missing (");var K=L(z);return D(e.endCall)||n("Missing )"),K}}function s(){return c()||u()}function c(){return W("directional",e.sideOrCorner,1)}function u(){return W("angular",e.angleValue,1)}function d(){var k,L=f(),z;return L&&(k=[],k.push(L),z=t,D(e.comma)&&(L=f(),L?k.push(L):t=z)),k}function f(){var k=h()||m();if(k)k.at=y();else{var L=v();if(L){k=L;var z=y();z&&(k.at=z)}else{var K=b();K&&(k={type:"default-radial",at:K})}}return k}function h(){var k=W("shape",/^(circle)/i,0);return k&&(k.style=F()||v()),k}function m(){var k=W("shape",/^(ellipse)/i,0);return k&&(k.style=A()||v()),k}function v(){return W("extent-keyword",e.extentKeywords,1)}function y(){if(W("position",/^at/,0)){var k=b();return k||n("Missing positioning value"),k}}function b(){var k=$();if(k.x||k.y)return{type:"position",value:k}}function $(){return{x:A(),y:A()}}function x(k){var L=k(),z=[];if(L)for(z.push(L);D(e.comma);)L=k(),L?z.push(L):n("One extra comma");return z}function _(){var k=w();return k||n("Expected color definition"),k.length=A(),k}function w(){return O()||E()||P()||I()}function I(){return W("literal",e.literalColor,0)}function O(){return W("hex",e.hexColor,1)}function P(){return l(e.rgbColor,function(){return{type:"rgb",value:x(R)}})}function E(){return l(e.rgbaColor,function(){return{type:"rgba",value:x(R)}})}function R(){return D(e.number)[1]}function A(){return W("%",e.percentageValue,1)||N()||F()}function N(){return W("position-keyword",e.positionKeywords,1)}function F(){return W("px",e.pixelValue,1)||W("em",e.emValue,1)}function W(k,L,z){var K=D(L);if(K)return{type:k,value:K[z]}}function D(k){var L,z;return z=/^[\n\r\t\s]+/.exec(t),z&&B(z[0].length),L=k.exec(t),L&&B(L[0].length),L}function B(k){t=t.substr(k)}return function(k){return t=k.toString(),o()}}();var LNe=lu.parse,NNe=lu.stringify,Fr="top",zi="bottom",ji="right",Hr="left",OP="auto",ig=[Fr,zi,ji,Hr],jd="start",Ah="end",kNe="clippingParents",BW="viewport",Zf="popper",BNe="reference",pD=ig.reduce(function(e,t){return e.concat([t+"-"+jd,t+"-"+Ah])},[]),FW=[].concat(ig,[OP]).reduce(function(e,t){return e.concat([t,t+"-"+jd,t+"-"+Ah])},[]),FNe="beforeRead",HNe="read",zNe="afterRead",jNe="beforeMain",WNe="main",VNe="afterMain",KNe="beforeWrite",UNe="write",GNe="afterWrite",YNe=[FNe,HNe,zNe,jNe,WNe,VNe,KNe,UNe,GNe];function ka(e){return e?(e.nodeName||"").toLowerCase():null}function fi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zc(e){var t=fi(e).Element;return e instanceof t||e instanceof Element}function Di(e){var t=fi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function IP(e){if(typeof ShadowRoot>"u")return!1;var t=fi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function XNe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!Di(i)||!ka(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(a){var l=r[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function qNe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},a=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),l=a.reduce(function(s,c){return s[c]="",s},{});!Di(r)||!ka(r)||(Object.assign(r.style,l),Object.keys(i).forEach(function(s){r.removeAttribute(s)}))})}}const ZNe={name:"applyStyles",enabled:!0,phase:"write",fn:XNe,effect:qNe,requires:["computeStyles"]};function Ma(e){return e.split("-")[0]}var Tc=Math.max,rb=Math.min,Wd=Math.round;function zw(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function HW(){return!/^((?!chrome|android).)*safari/i.test(zw())}function Vd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Di(e)&&(r=e.offsetWidth>0&&Wd(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Wd(o.height)/e.offsetHeight||1);var a=zc(e)?fi(e):window,l=a.visualViewport,s=!HW()&&n,c=(o.left+(s&&l?l.offsetLeft:0))/r,u=(o.top+(s&&l?l.offsetTop:0))/i,d=o.width/r,f=o.height/i;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function PP(e){var t=Vd(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function zW(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&IP(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function xl(e){return fi(e).getComputedStyle(e)}function QNe(e){return["table","td","th"].indexOf(ka(e))>=0}function Ns(e){return((zc(e)?e.ownerDocument:e.document)||window.document).documentElement}function c1(e){return ka(e)==="html"?e:e.assignedSlot||e.parentNode||(IP(e)?e.host:null)||Ns(e)}function hD(e){return!Di(e)||xl(e).position==="fixed"?null:e.offsetParent}function JNe(e){var t=/firefox/i.test(zw()),n=/Trident/i.test(zw());if(n&&Di(e)){var o=xl(e);if(o.position==="fixed")return null}var r=c1(e);for(IP(r)&&(r=r.host);Di(r)&&["html","body"].indexOf(ka(r))<0;){var i=xl(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ag(e){for(var t=fi(e),n=hD(e);n&&QNe(n)&&xl(n).position==="static";)n=hD(n);return n&&(ka(n)==="html"||ka(n)==="body"&&xl(n).position==="static")?t:n||JNe(e)||t}function TP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zp(e,t,n){return Tc(e,rb(t,n))}function e7e(e,t,n){var o=zp(e,t,n);return o>n?n:o}function jW(){return{top:0,right:0,bottom:0,left:0}}function WW(e){return Object.assign({},jW(),e)}function VW(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var t7e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,WW(typeof t!="number"?t:VW(t,ig))};function n7e(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Ma(n.placement),s=TP(l),c=[Hr,ji].indexOf(l)>=0,u=c?"height":"width";if(!(!i||!a)){var d=t7e(r.padding,n),f=PP(i),h=s==="y"?Fr:Hr,m=s==="y"?zi:ji,v=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],y=a[s]-n.rects.reference[s],b=ag(i),$=b?s==="y"?b.clientHeight||0:b.clientWidth||0:0,x=v/2-y/2,_=d[h],w=$-f[u]-d[m],I=$/2-f[u]/2+x,O=zp(_,I,w),P=s;n.modifiersData[o]=(t={},t[P]=O,t.centerOffset=O-I,t)}}function o7e(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||zW(t.elements.popper,r)&&(t.elements.arrow=r))}const r7e={name:"arrow",enabled:!0,phase:"main",fn:n7e,effect:o7e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Kd(e){return e.split("-")[1]}var i7e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function a7e(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Wd(n*r)/r||0,y:Wd(o*r)/r||0}}function gD(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,h=f===void 0?0:f,m=a.y,v=m===void 0?0:m,y=typeof u=="function"?u({x:h,y:v}):{x:h,y:v};h=y.x,v=y.y;var b=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),x=Hr,_=Fr,w=window;if(c){var I=ag(n),O="clientHeight",P="clientWidth";if(I===fi(n)&&(I=Ns(n),xl(I).position!=="static"&&l==="absolute"&&(O="scrollHeight",P="scrollWidth")),I=I,r===Fr||(r===Hr||r===ji)&&i===Ah){_=zi;var E=d&&I===w&&w.visualViewport?w.visualViewport.height:I[O];v-=E-o.height,v*=s?1:-1}if(r===Hr||(r===Fr||r===zi)&&i===Ah){x=ji;var R=d&&I===w&&w.visualViewport?w.visualViewport.width:I[P];h-=R-o.width,h*=s?1:-1}}var A=Object.assign({position:l},c&&i7e),N=u===!0?a7e({x:h,y:v},fi(n)):{x:h,y:v};if(h=N.x,v=N.y,s){var F;return Object.assign({},A,(F={},F[_]=$?"0":"",F[x]=b?"0":"",F.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",F))}return Object.assign({},A,(t={},t[_]=$?v+"px":"",t[x]=b?h+"px":"",t.transform="",t))}function l7e(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,s=l===void 0?!0:l,c={placement:Ma(t.placement),variation:Kd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,gD(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,gD(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const s7e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:l7e,data:{}};var Zv={passive:!0};function c7e(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,a=o.resize,l=a===void 0?!0:a,s=fi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,Zv)}),l&&s.addEventListener("resize",n.update,Zv),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Zv)}),l&&s.removeEventListener("resize",n.update,Zv)}}const u7e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:c7e,data:{}};var d7e={left:"right",right:"left",bottom:"top",top:"bottom"};function Xm(e){return e.replace(/left|right|bottom|top/g,function(t){return d7e[t]})}var f7e={start:"end",end:"start"};function vD(e){return e.replace(/start|end/g,function(t){return f7e[t]})}function EP(e){var t=fi(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function AP(e){return Vd(Ns(e)).left+EP(e).scrollLeft}function p7e(e,t){var n=fi(e),o=Ns(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=HW();(c||!c&&t==="fixed")&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+AP(e),y:s}}function h7e(e){var t,n=Ns(e),o=EP(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=Tc(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Tc(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+AP(e),s=-o.scrollTop;return xl(r||n).direction==="rtl"&&(l+=Tc(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function MP(e){var t=xl(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function KW(e){return["html","body","#document"].indexOf(ka(e))>=0?e.ownerDocument.body:Di(e)&&MP(e)?e:KW(c1(e))}function jp(e,t){var n;t===void 0&&(t=[]);var o=KW(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=fi(o),a=r?[i].concat(i.visualViewport||[],MP(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(jp(c1(a)))}function jw(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function g7e(e,t){var n=Vd(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function mD(e,t,n){return t===BW?jw(p7e(e,n)):zc(t)?g7e(t,n):jw(h7e(Ns(e)))}function v7e(e){var t=jp(c1(e)),n=["absolute","fixed"].indexOf(xl(e).position)>=0,o=n&&Di(e)?ag(e):e;return zc(o)?t.filter(function(r){return zc(r)&&zW(r,o)&&ka(r)!=="body"}):[]}function m7e(e,t,n,o){var r=t==="clippingParents"?v7e(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce(function(s,c){var u=mD(e,c,o);return s.top=Tc(u.top,s.top),s.right=rb(u.right,s.right),s.bottom=rb(u.bottom,s.bottom),s.left=Tc(u.left,s.left),s},mD(e,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function UW(e){var t=e.reference,n=e.element,o=e.placement,r=o?Ma(o):null,i=o?Kd(o):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(r){case Fr:s={x:a,y:t.y-n.height};break;case zi:s={x:a,y:t.y+t.height};break;case ji:s={x:t.x+t.width,y:l};break;case Hr:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var c=r?TP(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case jd:s[c]=s[c]-(t[u]/2-n[u]/2);break;case Ah:s[c]=s[c]+(t[u]/2-n[u]/2);break}}return s}function Mh(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,a=i===void 0?e.strategy:i,l=n.boundary,s=l===void 0?kNe:l,c=n.rootBoundary,u=c===void 0?BW:c,d=n.elementContext,f=d===void 0?Zf:d,h=n.altBoundary,m=h===void 0?!1:h,v=n.padding,y=v===void 0?0:v,b=WW(typeof y!="number"?y:VW(y,ig)),$=f===Zf?BNe:Zf,x=e.rects.popper,_=e.elements[m?$:f],w=m7e(zc(_)?_:_.contextElement||Ns(e.elements.popper),s,u,a),I=Vd(e.elements.reference),O=UW({reference:I,element:x,strategy:"absolute",placement:r}),P=jw(Object.assign({},x,O)),E=f===Zf?P:I,R={top:w.top-E.top+b.top,bottom:E.bottom-w.bottom+b.bottom,left:w.left-E.left+b.left,right:E.right-w.right+b.right},A=e.modifiersData.offset;if(f===Zf&&A){var N=A[r];Object.keys(R).forEach(function(F){var W=[ji,zi].indexOf(F)>=0?1:-1,D=[Fr,zi].indexOf(F)>=0?"y":"x";R[F]+=N[D]*W})}return R}function b7e(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=s===void 0?FW:s,u=Kd(o),d=u?l?pD:pD.filter(function(m){return Kd(m)===u}):ig,f=d.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=d);var h=f.reduce(function(m,v){return m[v]=Mh(e,{placement:v,boundary:r,rootBoundary:i,padding:a})[Ma(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function y7e(e){if(Ma(e)===OP)return[];var t=Xm(e);return[vD(e),t,vD(t)]}function S7e(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!0:a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,v=n.allowedAutoPlacements,y=t.options.placement,b=Ma(y),$=b===y,x=s||($||!m?[Xm(y)]:y7e(y)),_=[y].concat(x).reduce(function(re,J){return re.concat(Ma(J)===OP?b7e(t,{placement:J,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:v}):J)},[]),w=t.rects.reference,I=t.rects.popper,O=new Map,P=!0,E=_[0],R=0;R<_.length;R++){var A=_[R],N=Ma(A),F=Kd(A)===jd,W=[Fr,zi].indexOf(N)>=0,D=W?"width":"height",B=Mh(t,{placement:A,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),k=W?F?ji:Hr:F?zi:Fr;w[D]>I[D]&&(k=Xm(k));var L=Xm(k),z=[];if(i&&z.push(B[N]<=0),l&&z.push(B[k]<=0,B[L]<=0),z.every(function(re){return re})){E=A,P=!1;break}O.set(A,z)}if(P)for(var K=m?3:1,G=function(J){var te=_.find(function(ee){var fe=O.get(ee);if(fe)return fe.slice(0,J).every(function(ie){return ie})});if(te)return E=te,"break"},Y=K;Y>0;Y--){var ne=G(Y);if(ne==="break")break}t.placement!==E&&(t.modifiersData[o]._skip=!0,t.placement=E,t.reset=!0)}}const C7e={name:"flip",enabled:!0,phase:"main",fn:S7e,requiresIfExists:["offset"],data:{_skip:!1}};function bD(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yD(e){return[Fr,ji,zi,Hr].some(function(t){return e[t]>=0})}function $7e(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=Mh(t,{elementContext:"reference"}),l=Mh(t,{altBoundary:!0}),s=bD(a,o),c=bD(l,r,i),u=yD(s),d=yD(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const x7e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$7e};function w7e(e,t,n){var o=Ma(e),r=[Hr,Fr].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*r,[Hr,ji].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}function _7e(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,a=FW.reduce(function(u,d){return u[d]=w7e(d,t.rects,i),u},{}),l=a[t.placement],s=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}const O7e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_7e};function I7e(e){var t=e.state,n=e.name;t.modifiersData[n]=UW({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const P7e={name:"popperOffsets",enabled:!0,phase:"read",fn:I7e,data:{}};function T7e(e){return e==="x"?"y":"x"}function E7e(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!1:a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,h=f===void 0?!0:f,m=n.tetherOffset,v=m===void 0?0:m,y=Mh(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=Ma(t.placement),$=Kd(t.placement),x=!$,_=TP(b),w=T7e(_),I=t.modifiersData.popperOffsets,O=t.rects.reference,P=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,R=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(I){if(i){var F,W=_==="y"?Fr:Hr,D=_==="y"?zi:ji,B=_==="y"?"height":"width",k=I[_],L=k+y[W],z=k-y[D],K=h?-P[B]/2:0,G=$===jd?O[B]:P[B],Y=$===jd?-P[B]:-O[B],ne=t.elements.arrow,re=h&&ne?PP(ne):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jW(),te=J[W],ee=J[D],fe=zp(0,O[B],re[B]),ie=x?O[B]/2-K-fe-te-R.mainAxis:G-fe-te-R.mainAxis,X=x?-O[B]/2+K+fe+ee+R.mainAxis:Y+fe+ee+R.mainAxis,ue=t.elements.arrow&&ag(t.elements.arrow),ye=ue?_==="y"?ue.clientTop||0:ue.clientLeft||0:0,H=(F=A==null?void 0:A[_])!=null?F:0,j=k+ie-H-ye,q=k+X-H,se=zp(h?rb(L,j):L,k,h?Tc(z,q):z);I[_]=se,N[_]=se-k}if(l){var ae,ge=_==="x"?Fr:Hr,Se=_==="x"?zi:ji,$e=I[w],_e=w==="y"?"height":"width",be=$e+y[ge],Te=$e-y[Se],Pe=[Fr,Hr].indexOf(b)!==-1,oe=(ae=A==null?void 0:A[w])!=null?ae:0,le=Pe?be:$e-O[_e]-P[_e]-oe+R.altAxis,xe=Pe?$e+O[_e]+P[_e]-oe-R.altAxis:Te,Ae=h&&Pe?e7e(le,$e,xe):zp(h?le:be,$e,h?xe:Te);I[w]=Ae,N[w]=Ae-$e}t.modifiersData[o]=N}}const A7e={name:"preventOverflow",enabled:!0,phase:"main",fn:E7e,requiresIfExists:["offset"]};function M7e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function R7e(e){return e===fi(e)||!Di(e)?EP(e):M7e(e)}function D7e(e){var t=e.getBoundingClientRect(),n=Wd(t.width)/e.offsetWidth||1,o=Wd(t.height)/e.offsetHeight||1;return n!==1||o!==1}function L7e(e,t,n){n===void 0&&(n=!1);var o=Di(t),r=Di(t)&&D7e(t),i=Ns(t),a=Vd(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&((ka(t)!=="body"||MP(i))&&(l=R7e(t)),Di(t)?(s=Vd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=AP(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function N7e(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&r(s)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function k7e(e){var t=N7e(e);return YNe.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function B7e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function F7e(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var SD={placement:"bottom",modifiers:[],strategy:"absolute"};function CD(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function H7e(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?SD:r;return function(l,s,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},SD,i),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},d=[],f=!1,h={state:u,setOptions:function(b){var $=typeof b=="function"?b(u.options):b;v(),u.options=Object.assign({},i,u.options,$),u.scrollParents={reference:zc(l)?jp(l):l.contextElement?jp(l.contextElement):[],popper:jp(s)};var x=k7e(F7e([].concat(o,u.options.modifiers)));return u.orderedModifiers=x.filter(function(_){return _.enabled}),m(),h.update()},forceUpdate:function(){if(!f){var b=u.elements,$=b.reference,x=b.popper;if(CD($,x)){u.rects={reference:L7e($,ag(x),u.options.strategy==="fixed"),popper:PP(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var _=0;_<u.orderedModifiers.length;_++){if(u.reset===!0){u.reset=!1,_=-1;continue}var w=u.orderedModifiers[_],I=w.fn,O=w.options,P=O===void 0?{}:O,E=w.name;typeof I=="function"&&(u=I({state:u,options:P,name:E,instance:h})||u)}}}},update:B7e(function(){return new Promise(function(y){h.forceUpdate(),y(u)})}),destroy:function(){v(),f=!0}};if(!CD(l,s))return h;h.setOptions(c).then(function(y){!f&&c.onFirstUpdate&&c.onFirstUpdate(y)});function m(){u.orderedModifiers.forEach(function(y){var b=y.name,$=y.options,x=$===void 0?{}:$,_=y.effect;if(typeof _=="function"){var w=_({state:u,name:b,instance:h,options:x}),I=function(){};d.push(w||I)}})}function v(){d.forEach(function(y){return y()}),d=[]}return h}}var z7e=[u7e,P7e,s7e,ZNe,O7e,C7e,A7e,r7e,x7e],j7e=H7e({defaultModifiers:z7e});/*!
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */function $D(e){return Object.prototype.toString.call(e)==="[object Object]"}function W7e(e){var t,n;return $D(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!($D(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}function Wp(){return Wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Wp.apply(this,arguments)}function GW(e,t){if(e==null)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(n=i[o])>=0||(r[n]=e[n]);return r}const V7e={silent:!1,logLevel:"warn"},K7e=["validator"],YW=Object.prototype,XW=YW.toString,U7e=YW.hasOwnProperty,qW=/^\s*function (\w+)/;function xD(e){var t;const n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){const o=n.toString().match(qW);return o?o[1]:""}return""}const jc=W7e,G7e=e=>e;let lr=G7e;const Ud=(e,t)=>U7e.call(e,t),Y7e=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Gd=Array.isArray||function(e){return XW.call(e)==="[object Array]"},Yd=e=>XW.call(e)==="[object Function]",ib=e=>jc(e)&&Ud(e,"_vueTypes_name"),ZW=e=>jc(e)&&(Ud(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>Ud(e,t)));function RP(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function su(e,t,n=!1){let o,r=!0,i="";o=jc(e)?e:{type:e};const a=ib(o)?o._vueTypes_name+" - ":"";if(ZW(o)&&o.type!==null){if(o.type===void 0||o.type===!0||!o.required&&t===void 0)return r;Gd(o.type)?(r=o.type.some(l=>su(l,t,!0)===!0),i=o.type.map(l=>xD(l)).join(" or ")):(i=xD(o),r=i==="Array"?Gd(t):i==="Object"?jc(t):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(l){if(l==null)return"";const s=l.constructor.toString().match(qW);return s?s[1]:""}(t)===i:t instanceof o.type)}if(!r){const l=`${a}value "${t}" should be of type "${i}"`;return n===!1?(lr(l),!1):l}if(Ud(o,"validator")&&Yd(o.validator)){const l=lr,s=[];if(lr=c=>{s.push(c)},r=o.validator(t),lr=l,!r){const c=(s.length>1?"* ":"")+s.join(`
+* `);return s.length=0,n===!1?(lr(c),r):c}}return r}function ci(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(r){return r===void 0?(Ud(this,"default")&&delete this.default,this):Yd(r)||su(this,r,!0)===!0?(this.default=Gd(r)?()=>[...r]:jc(r)?()=>Object.assign({},r):r,this):(lr(`${this._vueTypes_name} - invalid default value: "${r}"`),this)}}}),{validator:o}=n;return Yd(o)&&(n.validator=RP(o,n)),n}function Ra(e,t){const n=ci(e,t);return Object.defineProperty(n,"validate",{value(o){return Yd(this.validator)&&lr(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
+${JSON.stringify(this)}`),this.validator=RP(o,this),this}})}function wD(e,t,n){const o=function(s){const c={};return Object.getOwnPropertyNames(s).forEach(u=>{c[u]=Object.getOwnPropertyDescriptor(s,u)}),Object.defineProperties({},c)}(t);if(o._vueTypes_name=e,!jc(n))return o;const{validator:r}=n,i=GW(n,K7e);if(Yd(r)){let{validator:s}=o;s&&(s=(l=(a=s).__original)!==null&&l!==void 0?l:a),o.validator=RP(s?function(c){return s.call(this,c)&&r.call(this,c)}:r,o)}var a,l;return Object.assign(o,i)}function u1(e){return e.replace(/^(?!\s*$)/gm," ")}const X7e=()=>Ra("any",{}),q7e=()=>Ra("function",{type:Function}),Z7e=()=>Ra("boolean",{type:Boolean}),Q7e=()=>Ra("string",{type:String}),J7e=()=>Ra("number",{type:Number}),eke=()=>Ra("array",{type:Array}),tke=()=>Ra("object",{type:Object}),nke=()=>ci("integer",{type:Number,validator:e=>Y7e(e)}),oke=()=>ci("symbol",{validator:e=>typeof e=="symbol"});function rke(e,t="custom validation failed"){if(typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return ci(e.name||"<<anonymous function>>",{type:null,validator(n){const o=e(n);return o||lr(`${this._vueTypes_name} - ${t}`),o}})}function ike(e){if(!Gd(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.join('", "')}".`,n=e.reduce((o,r)=>{if(r!=null){const i=r.constructor;o.indexOf(i)===-1&&o.push(i)}return o},[]);return ci("oneOf",{type:n.length>0?n:void 0,validator(o){const r=e.indexOf(o)!==-1;return r||lr(t),r}})}function ake(e){if(!Gd(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,n=[];for(let r=0;r<e.length;r+=1){const i=e[r];if(ZW(i)){if(ib(i)&&i._vueTypes_name==="oneOf"&&i.type){n=n.concat(i.type);continue}if(Yd(i.validator)&&(t=!0),i.type===!0||!i.type){lr('oneOfType - invalid usage of "true" or "null" as types.');continue}n=n.concat(i.type)}else n.push(i)}n=n.filter((r,i)=>n.indexOf(r)===i);const o=n.length>0?n:null;return ci("oneOfType",t?{type:o,validator(r){const i=[],a=e.some(l=>{const s=su(ib(l)&&l._vueTypes_name==="oneOf"?l.type||null:l,r,!0);return typeof s=="string"&&i.push(s),s===!0});return a||lr(`oneOfType - provided value does not match any of the ${i.length} passed-in validators:
+${u1(i.join(`
+`))}`),a}}:{type:o})}function lke(e){return ci("arrayOf",{type:Array,validator(t){let n="";const o=t.every(r=>(n=su(e,r,!0),n===!0));return o||lr(`arrayOf - value validation error:
+${u1(n)}`),o}})}function ske(e){return ci("instanceOf",{type:e})}function cke(e){return ci("objectOf",{type:Object,validator(t){let n="";const o=Object.keys(t).every(r=>(n=su(e,t[r],!0),n===!0));return o||lr(`objectOf - value validation error:
+${u1(n)}`),o}})}function uke(e){const t=Object.keys(e),n=t.filter(r=>{var i;return!((i=e[r])===null||i===void 0||!i.required)}),o=ci("shape",{type:Object,validator(r){if(!jc(r))return!1;const i=Object.keys(r);if(n.length>0&&n.some(a=>i.indexOf(a)===-1)){const a=n.filter(l=>i.indexOf(l)===-1);return lr(a.length===1?`shape - required property "${a[0]}" is not defined.`:`shape - required properties "${a.join('", "')}" are not defined.`),!1}return i.every(a=>{if(t.indexOf(a)===-1)return this._vueTypes_isLoose===!0||(lr(`shape - shape definition does not include a "${a}" property. Allowed keys: "${t.join('", "')}".`),!1);const l=su(e[a],r[a],!0);return typeof l=="string"&&lr(`shape - "${a}" property validation error:
+ ${u1(l)}`),l===!0})}});return Object.defineProperty(o,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(o,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),o}const dke=["name","validate","getter"],fke=(()=>{var e;return(e=class{static get any(){return X7e()}static get func(){return q7e().def(this.defaults.func)}static get bool(){return Z7e().def(this.defaults.bool)}static get string(){return Q7e().def(this.defaults.string)}static get number(){return J7e().def(this.defaults.number)}static get array(){return eke().def(this.defaults.array)}static get object(){return tke().def(this.defaults.object)}static get integer(){return nke().def(this.defaults.integer)}static get symbol(){return oke()}static get nullable(){return{type:null}}static extend(t){if(Gd(t))return t.forEach(s=>this.extend(s)),this;const{name:n,validate:o=!1,getter:r=!1}=t,i=GW(t,dke);if(Ud(this,n))throw new TypeError(`[VueTypes error]: Type "${n}" already defined`);const{type:a}=i;if(ib(a))return delete i.type,Object.defineProperty(this,n,r?{get:()=>wD(n,a,i)}:{value(...s){const c=wD(n,a,i);return c.validator&&(c.validator=c.validator.bind(c,...s)),c}});let l;return l=r?{get(){const s=Object.assign({},i);return o?Ra(n,s):ci(n,s)},enumerable:!0}:{value(...s){const c=Object.assign({},i);let u;return u=o?Ra(n,c):ci(n,c),c.validator&&(u.validator=c.validator.bind(u,...s)),u},enumerable:!0},Object.defineProperty(this,n,l)}}).defaults={},e.sensibleDefaults=void 0,e.config=V7e,e.custom=rke,e.oneOf=ike,e.instanceOf=ske,e.oneOfType=ake,e.arrayOf=lke,e.objectOf=cke,e.shape=uke,e.utils={validate:(t,n)=>su(n,t,!0)===!0,toType:(t,n,o=!1)=>o?Ra(t,n):ci(t,n)},e})();function pke(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var t;return(t=class extends fke{static get sensibleDefaults(){return Wp({},this.defaults)}static set sensibleDefaults(n){this.defaults=n!==!1?Wp({},n!==!0?n:e):{}}}).defaults=Wp({},e),t}let Bt=class extends pke(){};var _D=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function DP(e){var t={exports:{}};return e(t,t.exports),t.exports}var Qv=function(e){return e&&e.Math==Math&&e},Po=Qv(typeof globalThis=="object"&&globalThis)||Qv(typeof window=="object"&&window)||Qv(typeof self=="object"&&self)||Qv(typeof _D=="object"&&_D)||function(){return this}()||Function("return this")(),Dn=function(e){try{return!!e()}catch{return!0}},Ti=!Dn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),OD={}.propertyIsEnumerable,ID=Object.getOwnPropertyDescriptor,hke={f:ID&&!OD.call({1:2},1)?function(e){var t=ID(this,e);return!!t&&t.enumerable}:OD},d1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},gke={}.toString,bl=function(e){return gke.call(e).slice(8,-1)},vke="".split,f1=Dn(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return bl(e)=="String"?vke.call(e,""):Object(e)}:Object,_s=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},vf=function(e){return f1(_s(e))},Lo=function(e){return typeof e=="object"?e!==null:typeof e=="function"},LP=function(e,t){if(!Lo(e))return e;var n,o;if(t&&typeof(n=e.toString)=="function"&&!Lo(o=n.call(e))||typeof(n=e.valueOf)=="function"&&!Lo(o=n.call(e))||!t&&typeof(n=e.toString)=="function"&&!Lo(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")},mke={}.hasOwnProperty,go=function(e,t){return mke.call(e,t)},Ww=Po.document,bke=Lo(Ww)&&Lo(Ww.createElement),QW=function(e){return bke?Ww.createElement(e):{}},JW=!Ti&&!Dn(function(){return Object.defineProperty(QW("div"),"a",{get:function(){return 7}}).a!=7}),PD=Object.getOwnPropertyDescriptor,NP={f:Ti?PD:function(e,t){if(e=vf(e),t=LP(t,!0),JW)try{return PD(e,t)}catch{}if(go(e,t))return d1(!hke.f.call(e,t),e[t])}},$r=function(e){if(!Lo(e))throw TypeError(String(e)+" is not an object");return e},TD=Object.defineProperty,Rl={f:Ti?TD:function(e,t,n){if($r(e),t=LP(t,!0),$r(n),JW)try{return TD(e,t,n)}catch{}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Li=Ti?function(e,t,n){return Rl.f(e,t,d1(1,n))}:function(e,t,n){return e[t]=n,e},kP=function(e,t){try{Li(Po,e,t)}catch{Po[e]=t}return t},Wc=Po["__core-js_shared__"]||kP("__core-js_shared__",{}),yke=Function.toString;typeof Wc.inspectSource!="function"&&(Wc.inspectSource=function(e){return yke.call(e)});var ab,Vp,lb,eV=Wc.inspectSource,ED=Po.WeakMap,Ske=typeof ED=="function"&&/native code/.test(eV(ED)),tV=DP(function(e){(e.exports=function(t,n){return Wc[t]||(Wc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Cke=0,$ke=Math.random(),BP=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++Cke+$ke).toString(36)},AD=tV("keys"),FP=function(e){return AD[e]||(AD[e]=BP(e))},p1={},xke=Po.WeakMap;if(Ske){var Nu=Wc.state||(Wc.state=new xke),wke=Nu.get,_ke=Nu.has,Oke=Nu.set;ab=function(e,t){return t.facade=e,Oke.call(Nu,e,t),t},Vp=function(e){return wke.call(Nu,e)||{}},lb=function(e){return _ke.call(Nu,e)}}else{var Qf=FP("state");p1[Qf]=!0,ab=function(e,t){return t.facade=e,Li(e,Qf,t),t},Vp=function(e){return go(e,Qf)?e[Qf]:{}},lb=function(e){return go(e,Qf)}}var Os={set:ab,get:Vp,has:lb,enforce:function(e){return lb(e)?Vp(e):ab(e,{})},getterFor:function(e){return function(t){var n;if(!Lo(t)||(n=Vp(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Is=DP(function(e){var t=Os.get,n=Os.enforce,o=String(String).split("String");(e.exports=function(r,i,a,l){var s,c=!!l&&!!l.unsafe,u=!!l&&!!l.enumerable,d=!!l&&!!l.noTargetGet;typeof a=="function"&&(typeof i!="string"||go(a,"name")||Li(a,"name",i),(s=n(a)).source||(s.source=o.join(typeof i=="string"?i:""))),r!==Po?(c?!d&&r[i]&&(u=!0):delete r[i],u?r[i]=a:Li(r,i,a)):u?r[i]=a:kP(i,a)})(Function.prototype,"toString",function(){return typeof this=="function"&&t(this).source||eV(this)})}),s$=Po,MD=function(e){return typeof e=="function"?e:void 0},h1=function(e,t){return arguments.length<2?MD(s$[e])||MD(Po[e]):s$[e]&&s$[e][t]||Po[e]&&Po[e][t]},Ike=Math.ceil,Pke=Math.floor,mf=function(e){return isNaN(e=+e)?0:(e>0?Pke:Ike)(e)},Tke=Math.min,pi=function(e){return e>0?Tke(mf(e),9007199254740991):0},Eke=Math.max,Ake=Math.min,sb=function(e,t){var n=mf(e);return n<0?Eke(n+t,0):Ake(n,t)},RD=function(e){return function(t,n,o){var r,i=vf(t),a=pi(i.length),l=sb(o,a);if(e&&n!=n){for(;a>l;)if((r=i[l++])!=r)return!0}else for(;a>l;l++)if((e||l in i)&&i[l]===n)return e||l||0;return!e&&-1}},nV={includes:RD(!0),indexOf:RD(!1)},Mke=nV.indexOf,oV=function(e,t){var n,o=vf(e),r=0,i=[];for(n in o)!go(p1,n)&&go(o,n)&&i.push(n);for(;t.length>r;)go(o,n=t[r++])&&(~Mke(i,n)||i.push(n));return i},cb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rke=cb.concat("length","prototype"),Dke={f:Object.getOwnPropertyNames||function(e){return oV(e,Rke)}},Lke={f:Object.getOwnPropertySymbols},Nke=h1("Reflect","ownKeys")||function(e){var t=Dke.f($r(e)),n=Lke.f;return n?t.concat(n(e)):t},kke=function(e,t){for(var n=Nke(t),o=Rl.f,r=NP.f,i=0;i<n.length;i++){var a=n[i];go(e,a)||o(e,a,r(t,a))}},Bke=/#|\.prototype\./,lg=function(e,t){var n=Hke[Fke(e)];return n==jke||n!=zke&&(typeof t=="function"?Dn(t):!!t)},Fke=lg.normalize=function(e){return String(e).replace(Bke,".").toLowerCase()},Hke=lg.data={},zke=lg.NATIVE="N",jke=lg.POLYFILL="P",Vw=lg,Wke=NP.f,pr=function(e,t){var n,o,r,i,a,l=e.target,s=e.global,c=e.stat;if(n=s?Po:c?Po[l]||kP(l,{}):(Po[l]||{}).prototype)for(o in t){if(i=t[o],r=e.noTargetGet?(a=Wke(n,o))&&a.value:n[o],!Vw(s?o:l+(c?".":"#")+o,e.forced)&&r!==void 0){if(typeof i==typeof r)continue;kke(i,r)}(e.sham||r&&r.sham)&&Li(i,"sham",!0),Is(n,o,i,e)}},HP=function(e,t){var n=[][e];return!!n&&Dn(function(){n.call(null,t||function(){throw 1},1)})},Vke=Object.defineProperty,c$={},DD=function(e){throw e},bf=function(e,t){if(go(c$,e))return c$[e];t||(t={});var n=[][e],o=!!go(t,"ACCESSORS")&&t.ACCESSORS,r=go(t,0)?t[0]:DD,i=go(t,1)?t[1]:void 0;return c$[e]=!!n&&!Dn(function(){if(o&&!Ti)return!0;var a={length:-1};o?Vke(a,1,{enumerable:!0,get:DD}):a[1]=1,n.call(a,r,i)})},Kke=nV.indexOf,rV=[].indexOf,LD=!!rV&&1/[1].indexOf(1,-0)<0,Uke=HP("indexOf"),Gke=bf("indexOf",{ACCESSORS:!0,1:0});function cu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ND(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uu(e,t,n){return t&&ND(e.prototype,t),n&&ND(e,n),e}pr({target:"Array",proto:!0,forced:LD||!Uke||!Gke},{indexOf:function(e){return LD?rV.apply(this,arguments)||0:Kke(this,e,arguments.length>1?arguments[1]:void 0)}});(function(){function e(){cu(this,e)}return uu(e,null,[{key:"isInBrowser",value:function(){return typeof window<"u"}},{key:"isServer",value:function(){return typeof window>"u"}},{key:"getUA",value:function(){return e.isInBrowser()?window.navigator.userAgent.toLowerCase():""}},{key:"isMobile",value:function(){return/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion)}},{key:"isOpera",value:function(){return navigator.userAgent.indexOf("Opera")!==-1}},{key:"isIE",value:function(){var t=e.getUA();return t!==""&&t.indexOf("msie")>0}},{key:"isIE9",value:function(){var t=e.getUA();return t!==""&&t.indexOf("msie 9.0")>0}},{key:"isEdge",value:function(){var t=e.getUA();return t!==""&&t.indexOf("edge/")>0}},{key:"isChrome",value:function(){var t=e.getUA();return t!==""&&/chrome\/\d+/.test(t)&&!e.isEdge()}},{key:"isPhantomJS",value:function(){var t=e.getUA();return t!==""&&/phantomjs/.test(t)}},{key:"isFirefox",value:function(){var t=e.getUA();return t!==""&&/firefox/.test(t)}}]),e})();var Yke=[].join,Xke=f1!=Object,qke=HP("join",",");pr({target:"Array",proto:!0,forced:Xke||!qke},{join:function(e){return Yke.call(vf(this),e===void 0?",":e)}});var ku,ub,Dl=function(e){return Object(_s(e))},Xd=Array.isArray||function(e){return bl(e)=="Array"},iV=!!Object.getOwnPropertySymbols&&!Dn(function(){return!String(Symbol())}),Zke=iV&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Jv=tV("wks"),Kp=Po.Symbol,Qke=Zke?Kp:Kp&&Kp.withoutSetter||BP,no=function(e){return go(Jv,e)||(iV&&go(Kp,e)?Jv[e]=Kp[e]:Jv[e]=Qke("Symbol."+e)),Jv[e]},Jke=no("species"),g1=function(e,t){var n;return Xd(e)&&(typeof(n=e.constructor)!="function"||n!==Array&&!Xd(n.prototype)?Lo(n)&&(n=n[Jke])===null&&(n=void 0):n=void 0),new(n===void 0?Array:n)(t===0?0:t)},qd=function(e,t,n){var o=LP(t);o in e?Rl.f(e,o,d1(0,n)):e[o]=n},u$=h1("navigator","userAgent")||"",kD=Po.process,BD=kD&&kD.versions,FD=BD&&BD.v8;FD?ub=(ku=FD.split("."))[0]+ku[1]:u$&&(!(ku=u$.match(/Edge\/(\d+)/))||ku[1]>=74)&&(ku=u$.match(/Chrome\/(\d+)/))&&(ub=ku[1]);var db=ub&&+ub,e9e=no("species"),zP=function(e){return db>=51||!Dn(function(){var t=[];return(t.constructor={})[e9e]=function(){return{foo:1}},t[e](Boolean).foo!==1})},t9e=zP("splice"),n9e=bf("splice",{ACCESSORS:!0,0:0,1:2}),o9e=Math.max,r9e=Math.min;pr({target:"Array",proto:!0,forced:!t9e||!n9e},{splice:function(e,t){var n,o,r,i,a,l,s=Dl(this),c=pi(s.length),u=sb(e,c),d=arguments.length;if(d===0?n=o=0:d===1?(n=0,o=c-u):(n=d-2,o=r9e(o9e(mf(t),0),c-u)),c+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(r=g1(s,o),i=0;i<o;i++)(a=u+i)in s&&qd(r,i,s[a]);if(r.length=o,n<o){for(i=u;i<c-o;i++)l=i+n,(a=i+o)in s?s[l]=s[a]:delete s[l];for(i=c;i>c-o+n;i--)delete s[i-1]}else if(n>o)for(i=c-o;i>u;i--)l=i+n-1,(a=i+o-1)in s?s[l]=s[a]:delete s[l];for(i=0;i<n;i++)s[i+u]=arguments[i+2];return s.length=c-o+n,r}});var aV={};aV[no("toStringTag")]="z";var jP=String(aV)==="[object z]",i9e=no("toStringTag"),a9e=bl(function(){return arguments}())=="Arguments",lV=jP?bl:function(e){var t,n,o;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(r,i){try{return r[i]}catch{}}(t=Object(e),i9e))=="string"?n:a9e?bl(t):(o=bl(t))=="Object"&&typeof t.callee=="function"?"Arguments":o},l9e=jP?{}.toString:function(){return"[object "+lV(this)+"]"};jP||Is(Object.prototype,"toString",l9e,{unsafe:!0});var sV=function(){var e=$r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function HD(e,t){return RegExp(e,t)}var d$,f$,zD={UNSUPPORTED_Y:Dn(function(){var e=HD("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),BROKEN_CARET:Dn(function(){var e=HD("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},fb=RegExp.prototype.exec,s9e=String.prototype.replace,cV=fb,p$=(d$=/a/,f$=/b*/g,fb.call(d$,"a"),fb.call(f$,"a"),d$.lastIndex!==0||f$.lastIndex!==0),jD=zD.UNSUPPORTED_Y||zD.BROKEN_CARET,h$=/()??/.exec("")[1]!==void 0;(p$||h$||jD)&&(cV=function(e){var t,n,o,r,i=this,a=jD&&i.sticky,l=sV.call(i),s=i.source,c=0,u=e;return a&&((l=l.replace("y","")).indexOf("g")===-1&&(l+="g"),u=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&e[i.lastIndex-1]!==`
+`)&&(s="(?: "+s+")",u=" "+u,c++),n=new RegExp("^(?:"+s+")",l)),h$&&(n=new RegExp("^"+s+"$(?!\\s)",l)),p$&&(t=i.lastIndex),o=fb.call(a?n:i,u),a?o?(o.input=o.input.slice(c),o[0]=o[0].slice(c),o.index=i.lastIndex,i.lastIndex+=o[0].length):i.lastIndex=0:p$&&o&&(i.lastIndex=i.global?o.index+o[0].length:t),h$&&o&&o.length>1&&s9e.call(o[0],n,function(){for(r=1;r<arguments.length-2;r++)arguments[r]===void 0&&(o[r]=void 0)}),o});var Rh=cV;pr({target:"RegExp",proto:!0,forced:/./.exec!==Rh},{exec:Rh});var uV=RegExp.prototype,dV=uV.toString,c9e=Dn(function(){return dV.call({source:"a",flags:"b"})!="/a/b"}),u9e=dV.name!="toString";(c9e||u9e)&&Is(RegExp.prototype,"toString",function(){var e=$r(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(n===void 0&&e instanceof RegExp&&!("flags"in uV)?sV.call(e):n)},{unsafe:!0});var d9e=no("species"),f9e=!Dn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"}),WD="a".replace(/./,"$0")==="$0",VD=no("replace"),KD=!!/./[VD]&&/./[VD]("a","$0")==="",p9e=!Dn(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),fV=function(e,t,n,o){var r=no(e),i=!Dn(function(){var d={};return d[r]=function(){return 7},""[e](d)!=7}),a=i&&!Dn(function(){var d=!1,f=/a/;return e==="split"&&((f={}).constructor={},f.constructor[d9e]=function(){return f},f.flags="",f[r]=/./[r]),f.exec=function(){return d=!0,null},f[r](""),!d});if(!i||!a||e==="replace"&&(!f9e||!WD||KD)||e==="split"&&!p9e){var l=/./[r],s=n(r,""[e],function(d,f,h,m,v){return f.exec===Rh?i&&!v?{done:!0,value:l.call(f,h,m)}:{done:!0,value:d.call(h,f,m)}:{done:!1}},{REPLACE_KEEPS_$0:WD,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:KD}),c=s[0],u=s[1];Is(String.prototype,e,c),Is(RegExp.prototype,r,t==2?function(d,f){return u.call(d,this,f)}:function(d){return u.call(d,this)})}o&&Li(RegExp.prototype[r],"sham",!0)},h9e=no("match"),pV=function(e){var t;return Lo(e)&&((t=e[h9e])!==void 0?!!t:bl(e)=="RegExp")},WP=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e},g9e=no("species"),UD=function(e){return function(t,n){var o,r,i=String(_s(t)),a=mf(n),l=i.length;return a<0||a>=l?e?"":void 0:(o=i.charCodeAt(a))<55296||o>56319||a+1===l||(r=i.charCodeAt(a+1))<56320||r>57343?e?i.charAt(a):o:e?i.slice(a,a+2):r-56320+(o-55296<<10)+65536}},hV={codeAt:UD(!1),charAt:UD(!0)},v9e=hV.charAt,gV=function(e,t,n){return t+(n?v9e(e,t).length:1)},Kw=function(e,t){var n=e.exec;if(typeof n=="function"){var o=n.call(e,t);if(typeof o!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return o}if(bl(e)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return Rh.call(e,t)},m9e=[].push,b9e=Math.min,Bu=!Dn(function(){return!RegExp(4294967295,"y")});fV("split",2,function(e,t,n){var o;return o="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(r,i){var a=String(_s(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(r===void 0)return[a];if(!pV(r))return t.call(a,r,l);for(var s,c,u,d=[],f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),h=0,m=new RegExp(r.source,f+"g");(s=Rh.call(m,a))&&!((c=m.lastIndex)>h&&(d.push(a.slice(h,s.index)),s.length>1&&s.index<a.length&&m9e.apply(d,s.slice(1)),u=s[0].length,h=c,d.length>=l));)m.lastIndex===s.index&&m.lastIndex++;return h===a.length?!u&&m.test("")||d.push(""):d.push(a.slice(h)),d.length>l?d.slice(0,l):d}:"0".split(void 0,0).length?function(r,i){return r===void 0&&i===0?[]:t.call(this,r,i)}:t,[function(r,i){var a=_s(this),l=r==null?void 0:r[e];return l!==void 0?l.call(r,a,i):o.call(String(a),r,i)},function(r,i){var a=n(o,r,this,i,o!==t);if(a.done)return a.value;var l=$r(r),s=String(this),c=function(_,w){var I,O=$r(_).constructor;return O===void 0||(I=$r(O)[g9e])==null?w:WP(I)}(l,RegExp),u=l.unicode,d=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(Bu?"y":"g"),f=new c(Bu?l:"^(?:"+l.source+")",d),h=i===void 0?4294967295:i>>>0;if(h===0)return[];if(s.length===0)return Kw(f,s)===null?[s]:[];for(var m=0,v=0,y=[];v<s.length;){f.lastIndex=Bu?v:0;var b,$=Kw(f,Bu?s:s.slice(v));if($===null||(b=b9e(pi(f.lastIndex+(Bu?0:v)),s.length))===m)v=gV(s,v,u);else{if(y.push(s.slice(m,v)),y.length===h)return y;for(var x=1;x<=$.length-1;x++)if(y.push($[x]),y.length===h)return y;v=m=b}}return y.push(s.slice(m)),y}]},!Bu);var Uw=`
+\v\f\r \u2028\u2029\uFEFF`,pb="["+Uw+"]",y9e=RegExp("^"+pb+pb+"*"),S9e=RegExp(pb+pb+"*$"),g$=function(e){return function(t){var n=String(_s(t));return 1&e&&(n=n.replace(y9e,"")),2&e&&(n=n.replace(S9e,"")),n}},C9e={start:g$(1),end:g$(2),trim:g$(3)},$9e=C9e.trim;pr({target:"String",proto:!0,forced:function(e){return Dn(function(){return!!Uw[e]()||"
"[e]()!="
"||Uw[e].name!==e})}("trim")},{trim:function(){return $9e(this)}});var x9e=zP("slice"),w9e=bf("slice",{ACCESSORS:!0,0:0,1:2}),_9e=no("species"),O9e=[].slice,I9e=Math.max;pr({target:"Array",proto:!0,forced:!x9e||!w9e},{slice:function(e,t){var n,o,r,i=vf(this),a=pi(i.length),l=sb(e,a),s=sb(t===void 0?a:t,a);if(Xd(i)&&(typeof(n=i.constructor)!="function"||n!==Array&&!Xd(n.prototype)?Lo(n)&&(n=n[_9e])===null&&(n=void 0):n=void 0,n===Array||n===void 0))return O9e.call(i,l,s);for(o=new(n===void 0?Array:n)(I9e(s-l,0)),r=0;l<s;l++,r++)l in i&&qd(o,r,i[l]);return o.length=r,o}});var VP=Object.keys||function(e){return oV(e,cb)},P9e=Dn(function(){VP(1)});pr({target:"Object",stat:!0,forced:P9e},{keys:function(e){return VP(Dl(e))}});var v$,T9e=function(e){if(pV(e))throw TypeError("The method doesn't accept regular expressions");return e},E9e=no("match"),A9e=NP.f,GD="".startsWith,M9e=Math.min,vV=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[E9e]=!1,"/./"[e](t)}catch{}}return!1}("startsWith"),R9e=!(vV||(v$=A9e(String.prototype,"startsWith"),!v$||v$.writable));function mV(e){return(mV=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}pr({target:"String",proto:!0,forced:!R9e&&!vV},{startsWith:function(e){var t=String(_s(this));T9e(e);var n=pi(M9e(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return GD?GD.call(t,o,n):t.slice(n,n+o.length)===o}});var Fu=function(e){return typeof e=="string"},Hu=function(e){return e!==null&&mV(e)==="object"},Zd=function(){function e(){cu(this,e)}return uu(e,null,[{key:"isWindow",value:function(t){return t===window}},{key:"addEventListener",value:function(t,n,o){var r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];t&&n&&o&&t.addEventListener(n,o,r)}},{key:"removeEventListener",value:function(t,n,o){var r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];t&&n&&o&&t.removeEventListener(n,o,r)}},{key:"triggerDragEvent",value:function(t,n){var o=!1,r=function(a){var l;(l=n.drag)===null||l===void 0||l.call(n,a)},i=function a(l){var s;e.removeEventListener(document,"mousemove",r),e.removeEventListener(document,"mouseup",a),document.onselectstart=null,document.ondragstart=null,o=!1,(s=n.end)===null||s===void 0||s.call(n,l)};e.addEventListener(t,"mousedown",function(a){var l;o||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},e.addEventListener(document,"mousemove",r),e.addEventListener(document,"mouseup",i),o=!0,(l=n.start)===null||l===void 0||l.call(n,a))})}},{key:"getBoundingClientRect",value:function(t){return t&&Hu(t)&&t.nodeType===1?t.getBoundingClientRect():null}},{key:"hasClass",value:function(t,n){return!!(t&&Hu(t)&&Fu(n)&&t.nodeType===1)&&t.classList.contains(n.trim())}},{key:"addClass",value:function(t,n){if(t&&Hu(t)&&Fu(n)&&t.nodeType===1&&(n=n.trim(),!e.hasClass(t,n))){var o=t.className;t.className=o?o+" "+n:n}}},{key:"removeClass",value:function(t,n){if(t&&Hu(t)&&Fu(n)&&t.nodeType===1&&typeof t.className=="string"){n=n.trim();for(var o=t.className.trim().split(" "),r=o.length-1;r>=0;r--)o[r]=o[r].trim(),o[r]&&o[r]!==n||o.splice(r,1);t.className=o.join(" ")}}},{key:"toggleClass",value:function(t,n,o){t&&Hu(t)&&Fu(n)&&t.nodeType===1&&t.classList.toggle(n,o)}},{key:"replaceClass",value:function(t,n,o){t&&Hu(t)&&Fu(n)&&Fu(o)&&t.nodeType===1&&(n=n.trim(),o=o.trim(),e.removeClass(t,n),e.addClass(t,o))}},{key:"getScrollTop",value:function(t){var n="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(n,0)}},{key:"setScrollTop",value:function(t,n){"scrollTop"in t?t.scrollTop=n:t.scrollTo(t.scrollX,n)}},{key:"getRootScrollTop",value:function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},{key:"setRootScrollTop",value:function(t){e.setScrollTop(window,t),e.setScrollTop(document.body,t)}},{key:"getElementTop",value:function(t,n){if(e.isWindow(t))return 0;var o=n?e.getScrollTop(n):e.getRootScrollTop();return t.getBoundingClientRect().top+o}},{key:"getVisibleHeight",value:function(t){return e.isWindow(t)?t.innerHeight:t.getBoundingClientRect().height}},{key:"isHidden",value:function(t){if(!t)return!1;var n=window.getComputedStyle(t),o=n.display==="none",r=t.offsetParent===null&&n.position!=="fixed";return o||r}},{key:"triggerEvent",value:function(t,n){if("createEvent"in document){var o=document.createEvent("HTMLEvents");o.initEvent(n,!1,!0),t.dispatchEvent(o)}}},{key:"calcAngle",value:function(t,n){var o=t.getBoundingClientRect(),r=o.left+o.width/2,i=o.top+o.height/2,a=Math.abs(r-n.clientX),l=Math.abs(i-n.clientY),s=l/Math.sqrt(Math.pow(a,2)+Math.pow(l,2)),c=Math.acos(s),u=Math.floor(180/(Math.PI/c));return n.clientX>r&&n.clientY>i&&(u=180-u),n.clientX==r&&n.clientY>i&&(u=180),n.clientX>r&&n.clientY==i&&(u=90),n.clientX<r&&n.clientY>i&&(u=180+u),n.clientX<r&&n.clientY==i&&(u=270),n.clientX<r&&n.clientY<i&&(u=360-u),u}},{key:"querySelector",value:function(t,n){return n?n.querySelector(t):document.querySelector(t)}},{key:"createElement",value:function(t){for(var n=document.createElement(t),o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];for(var a=0;a<r.length;a++)r[a]&&n.classList.add(r[a]);return n}},{key:"appendChild",value:function(t){for(var n=0;n<(arguments.length<=1?0:arguments.length-1);n++)t.appendChild(n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}},{key:"getWindow",value:function(t){if(t.toString()!=="[object Window]"){var n=t.ownerDocument;return n&&n.defaultView||window}return t}},{key:"isElement",value:function(t){return t instanceof this.getWindow(t).Element||t instanceof Element}},{key:"isHTMLElement",value:function(t){return t instanceof this.getWindow(t).HTMLElement||t instanceof HTMLElement}},{key:"isShadowRoot",value:function(t){return typeof ShadowRoot<"u"&&(t instanceof this.getWindow(t).ShadowRoot||t instanceof ShadowRoot)}},{key:"getWindowScroll",value:function(t){var n=this.getWindow(t);return{scrollLeft:n.pageXOffset||0,scrollTop:n.pageYOffset||0}}}]),e}(),D9e=Math.floor,L9e="".replace,N9e=/\$([$&'`]|\d\d?|<[^>]*>)/g,k9e=/\$([$&'`]|\d\d?)/g,B9e=function(e,t,n,o,r,i){var a=n+e.length,l=o.length,s=k9e;return r!==void 0&&(r=Dl(r),s=N9e),L9e.call(i,s,function(c,u){var d;switch(u.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":d=r[u.slice(1,-1)];break;default:var f=+u;if(f===0)return c;if(f>l){var h=D9e(f/10);return h===0?c:h<=l?o[h-1]===void 0?u.charAt(1):o[h-1]+u.charAt(1):c}d=o[f-1]}return d===void 0?"":d})},F9e=Math.max,H9e=Math.min;fV("replace",2,function(e,t,n,o){var r=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=o.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(l,s){var c=_s(this),u=l==null?void 0:l[e];return u!==void 0?u.call(l,c,s):t.call(String(c),l,s)},function(l,s){if(!r&&i||typeof s=="string"&&s.indexOf(a)===-1){var c=n(t,l,this,s);if(c.done)return c.value}var u=$r(l),d=String(this),f=typeof s=="function";f||(s=String(s));var h=u.global;if(h){var m=u.unicode;u.lastIndex=0}for(var v=[];;){var y=Kw(u,d);if(y===null||(v.push(y),!h))break;String(y[0])===""&&(u.lastIndex=gV(d,pi(u.lastIndex),m))}for(var b,$="",x=0,_=0;_<v.length;_++){y=v[_];for(var w=String(y[0]),I=F9e(H9e(mf(y.index),d.length),0),O=[],P=1;P<y.length;P++)O.push((b=y[P])===void 0?b:String(b));var E=y.groups;if(f){var R=[w].concat(O,I,d);E!==void 0&&R.push(E);var A=String(s.apply(void 0,R))}else A=B9e(w,d,I,O,E,s);I>=x&&($+=d.slice(x,I)+A,x=I+w.length)}return $+d.slice(x)}]});(function(){function e(){cu(this,e)}return uu(e,null,[{key:"camelize",value:function(t){return t.replace(/-(\w)/g,function(n,o){return o?o.toUpperCase():""})}},{key:"capitalize",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}}]),e})();(function(){function e(){cu(this,e)}return uu(e,null,[{key:"_clone",value:function(){}}]),e})();var bV=no("isConcatSpreadable"),z9e=db>=51||!Dn(function(){var e=[];return e[bV]=!1,e.concat()[0]!==e}),j9e=zP("concat"),W9e=function(e){if(!Lo(e))return!1;var t=e[bV];return t!==void 0?!!t:Xd(e)};pr({target:"Array",proto:!0,forced:!z9e||!j9e},{concat:function(e){var t,n,o,r,i,a=Dl(this),l=g1(a,0),s=0;for(t=-1,o=arguments.length;t<o;t++)if(W9e(i=t===-1?a:arguments[t])){if(s+(r=pi(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,s++)n in i&&qd(l,s,i[n])}else{if(s>=9007199254740991)throw TypeError("Maximum allowed index exceeded");qd(l,s++,i)}return l.length=s,l}});var m$,sg=function(e,t,n){if(WP(e),t===void 0)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(o){return e.call(t,o)};case 2:return function(o,r){return e.call(t,o,r)};case 3:return function(o,r,i){return e.call(t,o,r,i)}}return function(){return e.apply(t,arguments)}},YD=[].push,Ql=function(e){var t=e==1,n=e==2,o=e==3,r=e==4,i=e==6,a=e==7,l=e==5||i;return function(s,c,u,d){for(var f,h,m=Dl(s),v=f1(m),y=sg(c,u,3),b=pi(v.length),$=0,x=d||g1,_=t?x(s,b):n||a?x(s,0):void 0;b>$;$++)if((l||$ in v)&&(h=y(f=v[$],$,m),e))if(t)_[$]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return $;case 2:YD.call(_,f)}else switch(e){case 4:return!1;case 7:YD.call(_,f)}return i?-1:o||r?r:_}},yV={forEach:Ql(0),map:Ql(1),filter:Ql(2),some:Ql(3),every:Ql(4),find:Ql(5),findIndex:Ql(6),filterOut:Ql(7)},V9e=Ti?Object.defineProperties:function(e,t){$r(e);for(var n,o=VP(t),r=o.length,i=0;r>i;)Rl.f(e,n=o[i++],t[n]);return e},K9e=h1("document","documentElement"),SV=FP("IE_PROTO"),b$=function(){},XD=function(e){return"<script>"+e+"<\/script>"},qm=function(){try{m$=document.domain&&new ActiveXObject("htmlfile")}catch{}var e,t;qm=m$?function(o){o.write(XD("")),o.close();var r=o.parentWindow.Object;return o=null,r}(m$):((t=QW("iframe")).style.display="none",K9e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(XD("document.F=Object")),e.close(),e.F);for(var n=cb.length;n--;)delete qm.prototype[cb[n]];return qm()};p1[SV]=!0;var KP=Object.create||function(e,t){var n;return e!==null?(b$.prototype=$r(e),n=new b$,b$.prototype=null,n[SV]=e):n=qm(),t===void 0?n:V9e(n,t)},Gw=no("unscopables"),Yw=Array.prototype;Yw[Gw]==null&&Rl.f(Yw,Gw,{configurable:!0,value:KP(null)});var yd=function(e){Yw[Gw][e]=!0},U9e=yV.find,qD=!0,G9e=bf("find");"find"in[]&&Array(1).find(function(){qD=!1}),pr({target:"Array",proto:!0,forced:qD||!G9e},{find:function(e){return U9e(this,e,arguments.length>1?arguments[1]:void 0)}}),yd("find");var Y9e=yV.findIndex,ZD=!0,X9e=bf("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){ZD=!1}),pr({target:"Array",proto:!0,forced:ZD||!X9e},{findIndex:function(e){return Y9e(this,e,arguments.length>1?arguments[1]:void 0)}}),yd("findIndex");var CV=function(e,t,n,o,r,i,a,l){for(var s,c=r,u=0,d=!!a&&sg(a,l,3);u<o;){if(u in n){if(s=d?d(n[u],u,t):n[u],i>0&&Xd(s))c=CV(e,t,s,pi(s.length),c,i-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=s}c++}u++}return c},q9e=CV;pr({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Dl(this),n=pi(t.length),o=g1(t,0);return o.length=q9e(o,t,t,n,0,e===void 0?1:mf(e)),o}});var Xw=function(e){var t=e.return;if(t!==void 0)return $r(t.call(e)).value},Z9e=function(e,t,n,o){try{return o?t($r(n)[0],n[1]):t(n)}catch(r){throw Xw(e),r}},Qd={},Q9e=no("iterator"),J9e=Array.prototype,$V=function(e){return e!==void 0&&(Qd.Array===e||J9e[Q9e]===e)},eBe=no("iterator"),xV=function(e){if(e!=null)return e[eBe]||e["@@iterator"]||Qd[lV(e)]},wV=no("iterator"),_V=!1;try{var tBe=0,QD={next:function(){return{done:!!tBe++}},return:function(){_V=!0}};QD[wV]=function(){return this},Array.from(QD,function(){throw 2})}catch{}var OV=function(e,t){if(!t&&!_V)return!1;var n=!1;try{var o={};o[wV]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch{}return n},nBe=!OV(function(e){Array.from(e)});pr({target:"Array",stat:!0,forced:nBe},{from:function(e){var t,n,o,r,i,a,l=Dl(e),s=typeof this=="function"?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,d=u!==void 0,f=xV(l),h=0;if(d&&(u=sg(u,c>2?arguments[2]:void 0,2)),f==null||s==Array&&$V(f))for(n=new s(t=pi(l.length));t>h;h++)a=d?u(l[h],h):l[h],qd(n,h,a);else for(i=(r=f.call(l)).next,n=new s;!(o=i.call(r)).done;h++)a=d?Z9e(r,u,[o.value,h],!0):o.value,qd(n,h,a);return n.length=h,n}});var JD=function(e){return function(t,n,o,r){WP(n);var i=Dl(t),a=f1(i),l=pi(i.length),s=e?l-1:0,c=e?-1:1;if(o<2)for(;;){if(s in a){r=a[s],s+=c;break}if(s+=c,e?s<0:l<=s)throw TypeError("Reduce of empty array with no initial value")}for(;e?s>=0:l>s;s+=c)s in a&&(r=n(r,a[s],s,i));return r}},oBe={left:JD(!1),right:JD(!0)},rBe=bl(Po.process)=="process",iBe=oBe.left,aBe=HP("reduce"),lBe=bf("reduce",{1:0});pr({target:"Array",proto:!0,forced:!aBe||!lBe||!rBe&&db>79&&db<83},{reduce:function(e){return iBe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}}),yd("flat");var lc,eL,tL,sBe=!Dn(function(){return Object.isExtensible(Object.preventExtensions({}))}),IV=DP(function(e){var t=Rl.f,n=BP("meta"),o=0,r=Object.isExtensible||function(){return!0},i=function(l){t(l,n,{value:{objectID:"O"+ ++o,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(l,s){if(!Lo(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!go(l,n)){if(!r(l))return"F";if(!s)return"E";i(l)}return l[n].objectID},getWeakData:function(l,s){if(!go(l,n)){if(!r(l))return!0;if(!s)return!1;i(l)}return l[n].weakData},onFreeze:function(l){return sBe&&a.REQUIRED&&r(l)&&!go(l,n)&&i(l),l}};p1[n]=!0}),Jf=function(e,t){this.stopped=e,this.result=t},nL=function(e,t,n){var o,r,i,a,l,s,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=sg(t,u,1+d+h),v=function(b){return o&&Xw(o),new Jf(!0,b)},y=function(b){return d?($r(b),h?m(b[0],b[1],v):m(b[0],b[1])):h?m(b,v):m(b)};if(f)o=e;else{if(typeof(r=xV(e))!="function")throw TypeError("Target is not iterable");if($V(r)){for(i=0,a=pi(e.length);a>i;i++)if((l=y(e[i]))&&l instanceof Jf)return l;return new Jf(!1)}o=r.call(e)}for(s=o.next;!(c=s.call(o)).done;){try{l=y(c.value)}catch(b){throw Xw(o),b}if(typeof l=="object"&&l&&l instanceof Jf)return l}return new Jf(!1)},oL=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},cBe=Rl.f,rL=no("toStringTag"),qw=function(e,t,n){e&&!go(e=n?e:e.prototype,rL)&&cBe(e,rL,{configurable:!0,value:t})},hb=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch{}return function(o,r){return $r(o),function(i){if(!Lo(i)&&i!==null)throw TypeError("Can't set "+String(i)+" as a prototype")}(r),t?e.call(o,r):o.__proto__=r,o}}():void 0),iL=function(e,t,n){for(var o in t)Is(e,o,t[o],n);return e},uBe=!Dn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),aL=FP("IE_PROTO"),dBe=Object.prototype,gb=uBe?Object.getPrototypeOf:function(e){return e=Dl(e),go(e,aL)?e[aL]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?dBe:null},y$=no("iterator"),PV=!1;[].keys&&("next"in(tL=[].keys())?(eL=gb(gb(tL)))!==Object.prototype&&(lc=eL):PV=!0),(lc==null||Dn(function(){var e={};return lc[y$].call(e)!==e}))&&(lc={}),go(lc,y$)||Li(lc,y$,function(){return this});var UP={IteratorPrototype:lc,BUGGY_SAFARI_ITERATORS:PV},fBe=UP.IteratorPrototype,pBe=function(){return this},S$=UP.IteratorPrototype,em=UP.BUGGY_SAFARI_ITERATORS,ep=no("iterator"),hBe=function(){return this},GP=function(e,t,n,o,r,i,a){(function(b,$,x){var _=$+" Iterator";b.prototype=KP(fBe,{next:d1(1,x)}),qw(b,_,!1),Qd[_]=pBe})(n,t,o);var l,s,c,u=function(b){if(b===r&&v)return v;if(!em&&b in h)return h[b];switch(b){case"keys":case"values":case"entries":return function(){return new n(this,b)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,h=e.prototype,m=h[ep]||h["@@iterator"]||r&&h[r],v=!em&&m||u(r),y=t=="Array"&&h.entries||m;if(y&&(l=gb(y.call(new e)),S$!==Object.prototype&&l.next&&(gb(l)!==S$&&(hb?hb(l,S$):typeof l[ep]!="function"&&Li(l,ep,hBe)),qw(l,d,!0))),r=="values"&&m&&m.name!=="values"&&(f=!0,v=function(){return m.call(this)}),h[ep]!==v&&Li(h,ep,v),Qd[t]=v,r)if(s={values:u("values"),keys:i?v:u("keys"),entries:u("entries")},a)for(c in s)(em||f||!(c in h))&&Is(h,c,s[c]);else pr({target:t,proto:!0,forced:em||f},s);return s},lL=no("species"),gBe=Rl.f,sL=IV.fastKey,cL=Os.set,C$=Os.getterFor;(function(e,t,n){var o=e.indexOf("Map")!==-1,r=e.indexOf("Weak")!==-1,i=o?"set":"add",a=Po[e],l=a&&a.prototype,s=a,c={},u=function(y){var b=l[y];Is(l,y,y=="add"?function($){return b.call(this,$===0?0:$),this}:y=="delete"?function($){return!(r&&!Lo($))&&b.call(this,$===0?0:$)}:y=="get"?function($){return r&&!Lo($)?void 0:b.call(this,$===0?0:$)}:y=="has"?function($){return!(r&&!Lo($))&&b.call(this,$===0?0:$)}:function($,x){return b.call(this,$===0?0:$,x),this})};if(Vw(e,typeof a!="function"||!(r||l.forEach&&!Dn(function(){new a().entries().next()}))))s=n.getConstructor(t,e,o,i),IV.REQUIRED=!0;else if(Vw(e,!0)){var d=new s,f=d[i](r?{}:-0,1)!=d,h=Dn(function(){d.has(1)}),m=OV(function(y){new a(y)}),v=!r&&Dn(function(){for(var y=new a,b=5;b--;)y[i](b,b);return!y.has(-0)});m||((s=t(function(y,b){oL(y,s,e);var $=function(x,_,w){var I,O;return hb&&typeof(I=_.constructor)=="function"&&I!==w&&Lo(O=I.prototype)&&O!==w.prototype&&hb(x,O),x}(new a,y,s);return b!=null&&nL(b,$[i],{that:$,AS_ENTRIES:o}),$})).prototype=l,l.constructor=s),(h||v)&&(u("delete"),u("has"),o&&u("get")),(v||f)&&u(i),r&&l.clear&&delete l.clear}c[e]=s,pr({global:!0,forced:s!=a},c),qw(s,e),r||n.setStrong(s,e,o)})("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},{getConstructor:function(e,t,n,o){var r=e(function(s,c){oL(s,r,t),cL(s,{type:t,index:KP(null),first:void 0,last:void 0,size:0}),Ti||(s.size=0),c!=null&&nL(c,s[o],{that:s,AS_ENTRIES:n})}),i=C$(t),a=function(s,c,u){var d,f,h=i(s),m=l(s,c);return m?m.value=u:(h.last=m={index:f=sL(c,!0),key:c,value:u,previous:d=h.last,next:void 0,removed:!1},h.first||(h.first=m),d&&(d.next=m),Ti?h.size++:s.size++,f!=="F"&&(h.index[f]=m)),s},l=function(s,c){var u,d=i(s),f=sL(c);if(f!=="F")return d.index[f];for(u=d.first;u;u=u.next)if(u.key==c)return u};return iL(r.prototype,{clear:function(){for(var s=i(this),c=s.index,u=s.first;u;)u.removed=!0,u.previous&&(u.previous=u.previous.next=void 0),delete c[u.index],u=u.next;s.first=s.last=void 0,Ti?s.size=0:this.size=0},delete:function(s){var c=this,u=i(c),d=l(c,s);if(d){var f=d.next,h=d.previous;delete u.index[d.index],d.removed=!0,h&&(h.next=f),f&&(f.previous=h),u.first==d&&(u.first=f),u.last==d&&(u.last=h),Ti?u.size--:c.size--}return!!d},forEach:function(s){for(var c,u=i(this),d=sg(s,arguments.length>1?arguments[1]:void 0,3);c=c?c.next:u.first;)for(d(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(s){return!!l(this,s)}}),iL(r.prototype,n?{get:function(s){var c=l(this,s);return c&&c.value},set:function(s,c){return a(this,s===0?0:s,c)}}:{add:function(s){return a(this,s=s===0?0:s,s)}}),Ti&&gBe(r.prototype,"size",{get:function(){return i(this).size}}),r},setStrong:function(e,t,n){var o=t+" Iterator",r=C$(t),i=C$(o);GP(e,t,function(a,l){cL(this,{type:o,target:a,state:r(a),kind:l,last:void 0})},function(){for(var a=i(this),l=a.kind,s=a.last;s&&s.removed;)s=s.previous;return a.target&&(a.last=s=s?s.next:a.state.first)?l=="keys"?{value:s.key,done:!1}:l=="values"?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(a.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),function(a){var l=h1(a),s=Rl.f;Ti&&l&&!l[lL]&&s(l,lL,{configurable:!0,get:function(){return this}})}(t)}});var vBe=hV.charAt,mBe=Os.set,bBe=Os.getterFor("String Iterator");GP(String,"String",function(e){mBe(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=bBe(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=vBe(n,o),t.index+=e.length,{value:e,done:!1})});var uL={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},yBe=Os.set,SBe=Os.getterFor("Array Iterator"),cp=GP(Array,"Array",function(e,t){yBe(this,{type:"Array Iterator",target:vf(e),index:0,kind:t})},function(){var e=SBe(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:o,done:!1}:n=="values"?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}},"values");Qd.Arguments=Qd.Array,yd("keys"),yd("values"),yd("entries");var $$=no("iterator"),dL=no("toStringTag"),x$=cp.values;for(var w$ in uL){var fL=Po[w$],rl=fL&&fL.prototype;if(rl){if(rl[$$]!==x$)try{Li(rl,$$,x$)}catch{rl[$$]=x$}if(rl[dL]||Li(rl,dL,w$),uL[w$]){for(var zu in cp)if(rl[zu]!==cp[zu])try{Li(rl,zu,cp[zu])}catch{rl[zu]=cp[zu]}}}}(function(){function e(){cu(this,e)}return uu(e,null,[{key:"deduplicate",value:function(t){return Array.from(new Set(t))}},{key:"flat",value:function(t){return t.reduce(function(n,o){var r=Array.isArray(o)?e.flat(o):o;return n.concat(r)},[])}},{key:"find",value:function(t,n){return t.find(n)}},{key:"findIndex",value:function(t,n){return t.findIndex(n)}}]),e})();(function(){function e(){cu(this,e)}return uu(e,null,[{key:"today",value:function(){return new Date}}]),e})();(function(){function e(){cu(this,e)}return uu(e,null,[{key:"range",value:function(t,n,o){return Math.min(Math.max(t,n),o)}},{key:"clamp",value:function(t,n,o){return n<o?t<n?n:t>o?o:t:t<o?o:t>n?n:t}}]),e})();var CBe=Object.defineProperty,$Be=(e,t,n)=>t in e?CBe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nr=(e,t,n)=>($Be(e,typeof t!="symbol"?t+"":t,n),n);const ao=e=>Math.round(e*100)/100;class Zn{constructor(t){nr(this,"instance"),nr(this,"alphaValue",0),nr(this,"redValue",0),nr(this,"greenValue",0),nr(this,"blueValue",0),nr(this,"hueValue",0),nr(this,"saturationValue",0),nr(this,"brightnessValue",0),nr(this,"hslSaturationValue",0),nr(this,"lightnessValue",0),nr(this,"initAlpha",()=>{const n=this.instance.getAlpha();this.alphaValue=Math.min(1,n)*100}),nr(this,"initLightness",()=>{const{s:n,l:o}=this.instance.toHsl();this.hslSaturationValue=ao(n),this.lightnessValue=ao(o)}),nr(this,"initRgb",()=>{const{r:n,g:o,b:r}=this.instance.toRgb();this.redValue=ao(n),this.greenValue=ao(o),this.blueValue=ao(r)}),nr(this,"initHsb",()=>{const{h:n,s:o,v:r}=this.instance.toHsv();this.hueValue=Math.min(360,Math.ceil(n)),this.saturationValue=ao(o),this.brightnessValue=ao(r)}),nr(this,"toHexString",()=>this.instance.toHexString()),nr(this,"toRgbString",()=>this.instance.toRgbString()),this.instance=et(t),this.initRgb(),this.initHsb(),this.initLightness(),this.initAlpha()}toString(t){return this.instance.toString(t)}get hex(){return this.instance.toHex()}set hex(t){this.instance=et(t),this.initHsb(),this.initRgb(),this.initAlpha(),this.initLightness()}set hue(t){this.saturation===0&&this.brightness===0&&(this.saturationValue=1,this.brightnessValue=1),this.instance=et({h:ao(t),s:this.saturation,v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.hueValue=ao(t)}get hue(){return this.hueValue}set saturation(t){this.instance=et({h:this.hue,s:ao(t),v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.saturationValue=ao(t)}get saturation(){return this.saturationValue}set brightness(t){this.instance=et({h:this.hue,s:this.saturation,v:ao(t),a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.brightnessValue=ao(t)}get brightness(){return this.brightnessValue}set lightness(t){this.instance=et({h:this.hue,s:this.hslSaturationValue,l:ao(t),a:this.alphaValue/100}),this.initRgb(),this.initHsb(),this.lightnessValue=ao(t)}get lightness(){return this.lightnessValue}set red(t){const n=this.instance.toRgb();this.instance=et({...n,r:ao(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.redValue=ao(t)}get red(){return this.redValue}set green(t){const n=this.instance.toRgb();this.instance=et({...n,g:ao(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.greenValue=ao(t)}get green(){return this.greenValue}set blue(t){const n=this.instance.toRgb();this.instance=et({...n,b:ao(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.blueValue=ao(t)}get blue(){return this.blueValue}set alpha(t){this.instance.setAlpha(t/100),this.alphaValue=t}get alpha(){return this.alphaValue}get RGB(){return[this.red,this.green,this.blue,this.alpha/100]}get HSB(){return[this.hue,this.saturation,this.brightness,this.alpha/100]}get HSL(){return[this.hue,this.hslSaturationValue,this.lightness,this.alpha/100]}}function pL(e,t,n,o){return`rgba(${[e,t,n,o/100].join(",")})`}const _$=(e,t,n)=>t<n?e<t?t:e>n?n:e:e<n?n:e>t?t:e,YP="color-history",XP=8,Vi=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},xBe=pe({name:"Alpha",props:{color:Bt.instanceOf(Zn),size:Bt.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const n=he(null),o=he(null);let r=e.color||new Zn;const i=St({red:r.red,green:r.green,blue:r.blue,alpha:r.alpha});Ie(()=>e.color,d=>{d&&(r=d,hy(i,{red:d.red,green:d.green,blue:d.blue,alpha:d.alpha}))},{deep:!0});const a=M(()=>{const d=pL(i.red,i.green,i.blue,0),f=pL(i.red,i.green,i.blue,100);return{background:`linear-gradient(to right, ${d} , ${f})`}}),l=()=>{if(n.value&&o.value){const d=i.alpha/100,f=n.value.getBoundingClientRect(),h=o.value.offsetWidth;return Math.round(d*(f.width-h)+h/2)}return 0},s=M(()=>({left:l()+"px",top:0})),c=d=>{d.target!==n.value&&u(d)},u=d=>{if(d.stopPropagation(),n.value&&o.value){const f=n.value.getBoundingClientRect(),h=o.value.offsetWidth;let m=d.clientX-f.left;m=Math.max(h/2,m),m=Math.min(m,f.width-h/2);const v=Math.round((m-h/2)/(f.width-h)*100);r.alpha=v,i.alpha=v,t("change",v)}};return au(()=>{const d={drag:f=>{u(f)},end:f=>{u(f)}};n.value&&o.value&&Zd.triggerDragEvent(n.value,d)}),{barElement:n,cursorElement:o,getCursorStyle:s,getBackgroundStyle:a,onClickSider:c}}}),wBe=e=>(Ps("data-v-18925ba6"),e=e(),Ts(),e),_Be=wBe(()=>tt("div",{class:"vc-alpha-slider__bar-handle"},null,-1)),OBe=[_Be];function IBe(e,t,n,o,r,i){return ht(),qt("div",{class:Oo(["vc-alpha-slider","transparent",{"small-slider":e.size==="small"}])},[tt("div",{ref:"barElement",class:"vc-alpha-slider__bar",style:vo(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...a)=>e.onClickSider&&e.onClickSider(...a))},[tt("div",{class:Oo(["vc-alpha-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:vo(e.getCursorStyle)},OBe,6)],4)],2)}const qP=Vi(xBe,[["render",IBe],["__scopeId","data-v-18925ba6"]]),PBe=[["#fcc02e","#f67c01","#e64a19","#d81b43","#8e24aa","#512da7","#1f87e8","#008781","#05a045"],["#fed835","#fb8c00","#f5511e","#eb1d4e","#9c28b1","#5d35b0","#2097f3","#029688","#4cb050"],["#ffeb3c","#ffa727","#fe5722","#eb4165","#aa47bc","#673bb7","#42a5f6","#26a59a","#83c683"],["#fff176","#ffb74e","#ff8a66","#f1627e","#b968c7","#7986cc","#64b5f6","#80cbc4","#a5d6a7"],["#fff59c","#ffcc80","#ffab91","#fb879e","#cf93d9","#9ea8db","#90caf8","#b2dfdc","#c8e6ca"],["transparent","#ffffff","#dedede","#a9a9a9","#4b4b4b","#353535","#212121","#000000","advance"]],TBe=pe({name:"Palette",emits:["change"],setup(e,{emit:t}){return{palettes:PBe,computedBgStyle:n=>n==="transparent"?n:n==="advance"?{}:{background:et(n).toRgbString()},onColorChange:n=>{t("change",n)}}}}),EBe={class:"vc-compact"},ABe=["onClick"];function MBe(e,t,n,o,r,i){return ht(),qt("div",EBe,[(ht(!0),qt(Je,null,Cd(e.palettes,(a,l)=>(ht(),qt("div",{key:l,class:"vc-compact__row"},[(ht(!0),qt(Je,null,Cd(a,(s,c)=>(ht(),qt("div",{key:c,class:"vc-compact__color-cube--wrap",onClick:u=>e.onColorChange(s)},[tt("div",{class:Oo(["vc-compact__color_cube",{advance:s==="advance",transparent:s==="transparent"}]),style:vo(e.computedBgStyle(s))},null,6)],8,ABe))),128))]))),128))])}const TV=Vi(TBe,[["render",MBe],["__scopeId","data-v-b969fd48"]]),RBe=pe({name:"Board",props:{color:Bt.instanceOf(Zn),round:Bt.bool.def(!1),hide:Bt.bool.def(!0)},emits:["change"],setup(e,{emit:t}){var n,o,r;const i=Nn(),a={h:((n=e.color)==null?void 0:n.hue)||0,s:1,v:1},l=new Zn(a).toHexString(),s=St({hueColor:l,saturation:((o=e.color)==null?void 0:o.saturation)||0,brightness:((r=e.color)==null?void 0:r.brightness)||0}),c=he(0),u=he(0),d=he(),f=he(),h=M(()=>({top:c.value+"px",left:u.value+"px"})),m=()=>{if(i){const b=i.vnode.el;u.value=s.saturation*(b==null?void 0:b.clientWidth),c.value=(1-s.brightness)*(b==null?void 0:b.clientHeight)}},v=b=>{b.target!==f.value&&y(b)},y=b=>{if(i){const $=i.vnode.el,x=$==null?void 0:$.getBoundingClientRect();let _=b.clientX-x.left,w=b.clientY-x.top;_=_$(_,0,x.width),w=_$(w,0,x.height);const I=_/x.width,O=_$(-(w/x.height)+1,0,1);u.value=_,c.value=w,s.saturation=I,s.brightness=O,t("change",I,O)}};return au(()=>{i&&i.vnode.el&&d.value&&(Zd.triggerDragEvent(d.value,{drag:b=>{y(b)},end:b=>{y(b)}}),wt(()=>{m()}))}),ar(()=>e.color,b=>{hy(s,{hueColor:new Zn({h:b.hue,s:1,v:1}).toHexString(),saturation:b.saturation,brightness:b.brightness}),m()},{deep:!0}),{state:s,cursorElement:d,getCursorStyle:h,onClickBoard:v}}}),ZP=e=>(Ps("data-v-058e5db2"),e=e(),Ts(),e),DBe=ZP(()=>tt("div",{class:"vc-saturation__white"},null,-1)),LBe=ZP(()=>tt("div",{class:"vc-saturation__black"},null,-1)),NBe=ZP(()=>tt("div",null,null,-1)),kBe=[NBe];function BBe(e,t,n,o,r,i){return ht(),qt("div",{ref:"boardElement",class:Oo(["vc-saturation",{"vc-saturation__chrome":e.round,"vc-saturation__hidden":e.hide}]),style:vo({backgroundColor:e.state.hueColor}),onClick:t[0]||(t[0]=(...a)=>e.onClickBoard&&e.onClickBoard(...a))},[DBe,LBe,tt("div",{class:"vc-saturation__cursor",ref:"cursorElement",style:vo(e.getCursorStyle)},kBe,4)],6)}const QP=Vi(RBe,[["render",BBe],["__scopeId","data-v-058e5db2"]]),FBe=pe({name:"Hue",props:{color:Bt.instanceOf(Zn),size:Bt.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const n=he(null),o=he(null);let r=e.color||new Zn;const i=St({hue:r.hue||0});Ie(()=>e.color,u=>{u&&(r=u,hy(i,{hue:r.hue}))},{deep:!0});const a=()=>{if(n.value&&o.value){const u=n.value.getBoundingClientRect(),d=o.value.offsetWidth;return i.hue===360?u.width-d/2:i.hue%360*(u.width-d)/360+d/2}return 0},l=M(()=>({left:a()+"px",top:0})),s=u=>{u.target!==n.value&&c(u)},c=u=>{if(u.stopPropagation(),n.value&&o.value){const d=n.value.getBoundingClientRect(),f=o.value.offsetWidth;let h=u.clientX-d.left;h=Math.min(h,d.width-f/2),h=Math.max(f/2,h);const m=Math.round((h-f/2)/(d.width-f)*360);r.hue=m,i.hue=m,t("change",m)}};return au(()=>{const u={drag:d=>{c(d)},end:d=>{c(d)}};n.value&&o.value&&Zd.triggerDragEvent(n.value,u)}),{barElement:n,cursorElement:o,getCursorStyle:l,onClickSider:s}}}),HBe=e=>(Ps("data-v-e1a08576"),e=e(),Ts(),e),zBe=HBe(()=>tt("div",{class:"vc-hue-slider__bar-handle"},null,-1)),jBe=[zBe];function WBe(e,t,n,o,r,i){return ht(),qt("div",{class:Oo(["vc-hue-slider",{"small-slider":e.size==="small"}])},[tt("div",{ref:"barElement",class:"vc-hue-slider__bar",onClick:t[0]||(t[0]=(...a)=>e.onClickSider&&e.onClickSider(...a))},[tt("div",{class:Oo(["vc-hue-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:vo(e.getCursorStyle)},jBe,6)],512)],2)}const JP=Vi(FBe,[["render",WBe],["__scopeId","data-v-e1a08576"]]),VBe=pe({name:"Lightness",props:{color:Bt.instanceOf(Zn),size:Bt.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const n=he(null),o=he(null);let r=e.color||new Zn;const[i,a,l]=r.HSL,s=St({hue:i,saturation:a,lightness:l});Ie(()=>e.color,m=>{if(m){r=m;const[v,y,b]=r.HSL;hy(s,{hue:v,saturation:y,lightness:b})}},{deep:!0});const c=M(()=>{const m=et({h:s.hue,s:s.saturation,l:.8}).toPercentageRgbString(),v=et({h:s.hue,s:s.saturation,l:.6}).toPercentageRgbString(),y=et({h:s.hue,s:s.saturation,l:.4}).toPercentageRgbString(),b=et({h:s.hue,s:s.saturation,l:.2}).toPercentageRgbString();return{background:[`linear-gradient(to right, rgb(255, 255, 255), ${m}, ${v}, ${y}, ${b}, rgb(0, 0, 0))`,`-webkit-linear-gradient(left, rgb(255, 255, 255), ${m}, ${v}, ${y}, ${b}, rgb(0, 0, 0))`,`-moz-linear-gradient(left, rgb(255, 255, 255), ${m}, ${v}, ${y}, ${b}, rgb(0, 0, 0))`,`-ms-linear-gradient(left, rgb(255, 255, 255), ${m}, ${v}, ${y}, ${b}, rgb(0, 0, 0))`]}}),u=()=>{if(n.value&&o.value){const m=s.lightness,v=n.value.getBoundingClientRect(),y=o.value.offsetWidth;return(1-m)*(v.width-y)+y/2}return 0},d=M(()=>({left:u()+"px",top:0})),f=m=>{m.target!==n.value&&h(m)},h=m=>{if(m.stopPropagation(),n.value&&o.value){const v=n.value.getBoundingClientRect(),y=o.value.offsetWidth;let b=m.clientX-v.left;b=Math.max(y/2,b),b=Math.min(b,v.width-y/2);const $=1-(b-y/2)/(v.width-y);r.lightness=$,t("change",$)}};return au(()=>{const m={drag:v=>{h(v)},end:v=>{h(v)}};n.value&&o.value&&Zd.triggerDragEvent(n.value,m)}),{barElement:n,cursorElement:o,getCursorStyle:d,getBackgroundStyle:c,onClickSider:f}}}),KBe=e=>(Ps("data-v-94a50a9e"),e=e(),Ts(),e),UBe=KBe(()=>tt("div",{class:"vc-lightness-slider__bar-handle"},null,-1)),GBe=[UBe];function YBe(e,t,n,o,r,i){return ht(),qt("div",{class:Oo(["vc-lightness-slider",{"small-slider":e.size==="small"}])},[tt("div",{ref:"barElement",class:"vc-lightness-slider__bar",style:vo(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...a)=>e.onClickSider&&e.onClickSider(...a))},[tt("div",{class:Oo(["vc-lightness-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:vo(e.getCursorStyle)},GBe,6)],4)],2)}const EV=Vi(VBe,[["render",YBe],["__scopeId","data-v-94a50a9e"]]),XBe=pe({name:"History",props:{colors:Bt.arrayOf(String).def(()=>[]),round:Bt.bool.def(!1)},emits:["change"],setup(e,{emit:t}){return{onColorSelect:n=>{t("change",n)}}}}),qBe={key:0,class:"vc-colorPicker__record"},ZBe={class:"color-list"},QBe=["onClick"];function JBe(e,t,n,o,r,i){return e.colors&&e.colors.length>0?(ht(),qt("div",qBe,[tt("div",ZBe,[(ht(!0),qt(Je,null,Cd(e.colors,(a,l)=>(ht(),qt("div",{key:l,class:Oo(["color-item","transparent",{"color-item__round":e.round}]),onClick:s=>e.onColorSelect(a)},[tt("div",{class:"color-item__display",style:vo({backgroundColor:a})},null,4)],10,QBe))),128))])])):zn("",!0)}const eT=Vi(XBe,[["render",JBe],["__scopeId","data-v-0f657238"]]),eFe=pe({name:"Display",props:{color:Bt.instanceOf(Zn),disableAlpha:Bt.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){var n,o,r,i;const a=he("hex"),l=St({color:e.color,hex:(n=e.color)==null?void 0:n.hex,alpha:Math.floor(((o=e.color)==null?void 0:o.alpha)||100)+"%",rgba:(r=e.color)==null?void 0:r.RGB,previewBgColor:(i=e.color)==null?void 0:i.toRgbString()}),s=M(()=>({background:l.previewBgColor})),c=()=>{a.value=a.value==="rgba"?"hex":"rgba"},u=Hc(f=>{if(!f.target.value)return;let h=parseInt(f.target.value.replace("%",""));h>100&&(f.target.value="100%",h=100),h<0&&(f.target.value="0%",h=0),isNaN(h)&&(f.target.value="100%",h=100),!isNaN(h)&&l.color&&(l.color.alpha=h),t("update:color",l.color),t("change",l.color)},300),d=Hc((f,h)=>{if(f.target.value){if(a.value==="hex"){const m=f.target.value.replace("#","");et(m).isValid()&&l.color&&(l.color.hex=m)}else if(h!==void 0&&l.rgba&&l.color){f.target.value<0&&(f.target.value=0),h===3&&f.target.value>1&&(f.target.value=1),h<3&&f.target.value>255&&(f.target.value=255),l.rgba[h]=Number(f.target.value);const[m,v,y,b]=l.rgba;l.color.hex=et({r:m,g:v,b:y}).toHex(),l.color.alpha=Math.floor(b*100)}t("update:color",l.color),t("change",l.color)}},300);return ar(()=>e.color,f=>{f&&(l.color=f,l.alpha=Math.floor(l.color.alpha)+"%",l.hex=l.color.hex,l.rgba=l.color.RGB)},{deep:!0}),ar(()=>l.color,()=>{l.color&&(l.previewBgColor=l.color.toRgbString())},{deep:!0}),{state:l,getBgColorStyle:s,inputType:a,onInputTypeChange:c,onAlphaBlur:u,onInputChange:d}}}),tFe={class:"vc-display"},nFe={class:"vc-current-color vc-transparent"},oFe={key:0,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},rFe={class:"vc-color-input"},iFe=["value"],aFe={key:0,class:"vc-alpha-input"},lFe=["value"],sFe={key:1,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},cFe=["value","onInput"];function uFe(e,t,n,o,r,i){return ht(),qt("div",tFe,[tt("div",nFe,[tt("div",{class:"color-cube",style:vo(e.getBgColorStyle)},null,4)]),e.inputType==="hex"?(ht(),qt("div",oFe,[tt("div",rFe,[tt("input",{value:e.state.hex,onInput:t[0]||(t[0]=(...a)=>e.onInputChange&&e.onInputChange(...a))},null,40,iFe)]),e.disableAlpha?zn("",!0):(ht(),qt("div",aFe,[tt("input",{class:"vc-alpha-input__inner",value:e.state.alpha,onInput:t[1]||(t[1]=(...a)=>e.onAlphaBlur&&e.onAlphaBlur(...a))},null,40,lFe)]))])):e.state.rgba?(ht(),qt("div",sFe,[(ht(!0),qt(Je,null,Cd(e.state.rgba,(a,l)=>(ht(),qt("div",{class:"vc-color-input",key:l},[tt("input",{value:a,onInput:s=>e.onInputChange(s,l)},null,40,cFe)]))),128))])):zn("",!0),tt("div",{class:"vc-input-toggle",onClick:t[2]||(t[2]=(...a)=>e.onInputTypeChange&&e.onInputTypeChange(...a))},Uo(e.inputType),1)])}const tT=Vi(eFe,[["render",uFe],["__scopeId","data-v-80d589ba"]]),dFe=pe({name:"FkColorPicker",components:{Display:tT,Alpha:qP,Palette:TV,Board:QP,Hue:JP,Lightness:EV,History:eT},props:{color:Bt.instanceOf(Zn),disableHistory:Bt.bool.def(!1),roundHistory:Bt.bool.def(!1),disableAlpha:Bt.bool.def(!1)},emits:["update:color","change","advanceChange"],setup(e,{emit:t}){const n=e.color||new Zn,o=St({color:n,hex:n.toHexString(),rgb:n.toRgbString()}),r=he(!1),i=M(()=>({background:o.rgb})),a=()=>{r.value=!1,t("advanceChange",!1)},l=_P(YP,[],{}),s=Hc(()=>{if(e.disableHistory)return;const v=o.color.toRgbString();if(l.value=l.value.filter(y=>!et.equals(y,v)),!l.value.includes(v)){for(;l.value.length>XP;)l.value.pop();l.value.unshift(v)}},500),c=v=>{v==="advance"?(r.value=!0,t("advanceChange",!0)):(o.color.hex=v,t("advanceChange",!1))},u=v=>{o.color.alpha=v},d=v=>{o.color.hue=v},f=(v,y)=>{o.color.saturation=v,o.color.brightness=y},h=v=>{o.color.lightness=v},m=v=>{const y=v.target.value.replace("#","");et(y).isValid()&&(o.color.hex=y)};return ar(()=>e.color,v=>{v&&(o.color=v)},{deep:!0}),ar(()=>o.color,()=>{o.hex=o.color.hex,o.rgb=o.color.toRgbString(),s(),t("update:color",o.color),t("change",o.color)},{deep:!0}),{state:o,advancePanelShow:r,onBack:a,onCompactChange:c,onAlphaChange:u,onHueChange:d,onBoardChange:f,onLightChange:h,onInputChange:m,previewStyle:i,historyColors:l}}}),fFe=e=>(Ps("data-v-0d5bef46"),e=e(),Ts(),e),pFe={class:"vc-fk-colorPicker"},hFe={class:"vc-fk-colorPicker__inner"},gFe={class:"vc-fk-colorPicker__header"},vFe=fFe(()=>tt("div",{class:"back"},null,-1)),mFe=[vFe];function bFe(e,t,n,o,r,i){const a=Nt("Palette"),l=Nt("Board"),s=Nt("Hue"),c=Nt("Lightness"),u=Nt("Alpha"),d=Nt("Display"),f=Nt("History");return ht(),qt("div",pFe,[tt("div",hFe,[tt("div",gFe,[e.advancePanelShow?(ht(),qt("span",{key:0,style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...h)=>e.onBack&&e.onBack(...h))},mFe)):zn("",!0)]),e.advancePanelShow?zn("",!0):(ht(),jn(a,{key:0,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?(ht(),jn(l,{key:1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"])):zn("",!0),e.advancePanelShow?(ht(),jn(s,{key:2,color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"])):zn("",!0),e.advancePanelShow?zn("",!0):(ht(),jn(c,{key:3,color:e.state.color,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?zn("",!0):(ht(),jn(u,{key:4,color:e.state.color,onChange:e.onAlphaChange},null,8,["color","onChange"])),g(d,{color:e.state.color,"disable-alpha":e.disableAlpha},null,8,["color","disable-alpha"]),e.disableHistory?zn("",!0):(ht(),jn(f,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const hL=Vi(dFe,[["render",bFe],["__scopeId","data-v-0d5bef46"]]),yFe=pe({name:"ChromeColorPicker",components:{Display:tT,Alpha:qP,Board:QP,Hue:JP,History:eT},props:{color:Bt.instanceOf(Zn),disableHistory:Bt.bool.def(!1),roundHistory:Bt.bool.def(!1),disableAlpha:Bt.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){const n=e.color||new Zn,o=St({color:n,hex:n.toHexString(),rgb:n.toRgbString()}),r=M(()=>({background:o.rgb})),i=_P(YP,[],{}),a=Hc(()=>{if(e.disableHistory)return;const d=o.color.toRgbString();if(i.value=i.value.filter(f=>!et.equals(f,d)),!i.value.includes(d)){for(;i.value.length>XP;)i.value.pop();i.value.unshift(d)}},500),l=d=>{o.color.alpha=d},s=d=>{o.color.hue=d},c=(d,f)=>{o.color.saturation=d,o.color.brightness=f},u=d=>{d!=="advance"&&(o.color.hex=d)};return ar(()=>e.color,d=>{d&&(o.color=d)},{deep:!0}),ar(()=>o.color,()=>{o.hex=o.color.hex,o.rgb=o.color.toRgbString(),a(),t("update:color",o.color),t("change",o.color)},{deep:!0}),{state:o,previewStyle:r,historyColors:i,onAlphaChange:l,onHueChange:s,onBoardChange:c,onCompactChange:u}}}),SFe={class:"vc-chrome-colorPicker"},CFe={class:"vc-chrome-colorPicker-body"},$Fe={class:"chrome-controls"},xFe={class:"chrome-sliders"};function wFe(e,t,n,o,r,i){const a=Nt("Board"),l=Nt("Hue"),s=Nt("Alpha"),c=Nt("Display"),u=Nt("History");return ht(),qt("div",SFe,[g(a,{round:!0,hide:!1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"]),tt("div",CFe,[tt("div",$Fe,[tt("div",xFe,[g(l,{size:"small",color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"]),e.disableAlpha?zn("",!0):(ht(),jn(s,{key:0,size:"small",color:e.state.color,onChange:e.onAlphaChange},null,8,["color","onChange"]))])]),g(c,{color:e.state.color,"disable-alpha":e.disableAlpha},null,8,["color","disable-alpha"]),e.disableHistory?zn("",!0):(ht(),jn(u,{key:0,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const gL=Vi(yFe,[["render",wFe],["__scopeId","data-v-33636434"]]),nT="Vue3ColorPickerProvider",_Fe=(e,t)=>{const n=e.getBoundingClientRect(),o=n.left+n.width/2,r=n.top+n.height/2,i=Math.abs(o-t.clientX),a=Math.abs(r-t.clientY),l=Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),s=a/l,c=Math.acos(s);let u=Math.floor(180/(Math.PI/c));return t.clientX>o&&t.clientY>r&&(u=180-u),t.clientX==o&&t.clientY>r&&(u=180),t.clientX>o&&t.clientY==r&&(u=90),t.clientX<o&&t.clientY>r&&(u=180+u),t.clientX<o&&t.clientY==r&&(u=270),t.clientX<o&&t.clientY<r&&(u=360-u),u};let O$=!1;const OFe=(e,t)=>{const n=function(r){var i;(i=t.drag)==null||i.call(t,r)},o=function(r){var i;document.removeEventListener("mousemove",n,!1),document.removeEventListener("mouseup",o,!1),document.onselectstart=null,document.ondragstart=null,O$=!1,(i=t.end)==null||i.call(t,r)};e&&e.addEventListener("mousedown",r=>{var i;O$||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n,!1),document.addEventListener("mouseup",o,!1),O$=!0,(i=t.start)==null||i.call(t,r))})},IFe={angle:{type:Number,default:0},size:{type:Number,default:16,validator:e=>e>=16},borderWidth:{type:Number,default:1,validator:e=>e>=1},borderColor:{type:String,default:"#666"}},PFe=pe({name:"Angle",props:IFe,emits:["update:angle","change"],setup(e,{emit:t}){const n=he(null),o=he(0);Ie(()=>e.angle,l=>{o.value=l});const r=()=>{let l=Number(o.value);isNaN(l)||(l=l>360||l<0?e.angle:l,o.value=l===360?0:l,t("update:angle",o.value),t("change",o.value))},i=M(()=>({width:e.size+"px",height:e.size+"px",borderWidth:e.borderWidth+"px",borderColor:e.borderColor,transform:`rotate(${o.value}deg)`})),a=l=>{n.value&&(o.value=_Fe(n.value,l)%360,r())};return lt(()=>{const l={drag:s=>{a(s)},end:s=>{a(s)}};n.value&&OFe(n.value,l)}),()=>g("div",{class:"bee-angle"},[g("div",{class:"bee-angle__round",ref:n,style:i.value},null)])}}),TFe=pe({name:"GradientColorPicker",components:{Angle:PFe,Display:tT,Alpha:qP,Palette:TV,Board:QP,Hue:JP,Lightness:EV,History:eT},props:{startColor:Bt.instanceOf(Zn).isRequired,endColor:Bt.instanceOf(Zn).isRequired,startColorStop:Bt.number.def(0),endColorStop:Bt.number.def(100),angle:Bt.number.def(0),type:Bt.oneOf(["linear","radial"]).def("linear"),disableHistory:Bt.bool.def(!1),roundHistory:Bt.bool.def(!1),disableAlpha:Bt.bool.def(!1),pickerType:Bt.oneOf(["fk","chrome"]).def("fk")},emits:["update:startColor","update:endColor","update:angle","update:startColorStop","update:endColorStop","startColorChange","endColorChange","advanceChange","angleChange","startColorStopChange","endColorStopChange","typeChange"],setup(e,{emit:t}){const n=St({startActive:!0,startColor:e.startColor,endColor:e.endColor,startColorStop:e.startColorStop,endColorStop:e.endColorStop,angle:e.angle,type:e.type,startColorRgba:e.startColor.toRgbString(),endColorRgba:e.endColor.toRgbString()}),o=it(nT),r=he(e.pickerType==="chrome"),i=he(),a=he(),l=he();Ie(()=>[e.startColor,e.endColor,e.angle],A=>{n.startColor=A[0],n.endColor=A[1],n.angle=A[2]}),Ie(()=>e.type,A=>{n.type=A});const s=M({get:()=>n.startActive?n.startColor:n.endColor,set:A=>{if(n.startActive){n.startColor=A;return}n.endColor=A}}),c=M(()=>{if(l.value&&i.value){const A=n.startColorStop/100,N=l.value.getBoundingClientRect(),F=i.value.offsetWidth;return Math.round(A*(N.width-F)+F/2)}return 0}),u=M(()=>{if(l.value&&a.value){const A=n.endColorStop/100,N=l.value.getBoundingClientRect(),F=a.value.offsetWidth;return Math.round(A*(N.width-F)+F/2)}return 0}),d=M(()=>{let A=`background: linear-gradient(${n.angle}deg, ${n.startColorRgba} ${n.startColorStop}%, ${n.endColorRgba} ${n.endColorStop}%)`;return n.type==="radial"&&(A=`background: radial-gradient(circle, ${n.startColorRgba} ${n.startColorStop}%, ${n.endColorRgba} ${n.endColorStop}%)`),A}),f=A=>{var N;if(n.startActive=!0,l.value&&i.value){const F=(N=l.value)==null?void 0:N.getBoundingClientRect();let W=A.clientX-F.left;W=Math.max(i.value.offsetWidth/2,W),W=Math.min(W,F.width-i.value.offsetWidth/2),n.startColorStop=Math.round((W-i.value.offsetWidth/2)/(F.width-i.value.offsetWidth)*100),t("update:startColorStop",n.startColorStop),t("startColorStopChange",n.startColorStop)}},h=A=>{var N;if(n.startActive=!1,l.value&&a.value){const F=(N=l.value)==null?void 0:N.getBoundingClientRect();let W=A.clientX-F.left;W=Math.max(a.value.offsetWidth/2,W),W=Math.min(W,F.width-a.value.offsetWidth/2),n.endColorStop=Math.round((W-a.value.offsetWidth/2)/(F.width-a.value.offsetWidth)*100),t("update:endColorStop",n.endColorStop),t("endColorStopChange",n.endColorStop)}},m=A=>{const N=A.target,F=parseInt(N.value.replace("°",""));isNaN(F)||(n.angle=F%360),t("update:angle",n.angle),t("angleChange",n.angle)},v=A=>{n.angle=A,t("update:angle",n.angle),t("angleChange",n.angle)},y=A=>{A==="advance"?(r.value=!0,t("advanceChange",!0)):(s.value.hex=A,t("advanceChange",!1)),I()},b=A=>{s.value.alpha=A,I()},$=A=>{s.value.hue=A,I()},x=(A,N)=>{s.value.saturation=A,s.value.brightness=N,I()},_=A=>{s.value.lightness=A,I()},w=()=>{I()},I=()=>{n.startActive?(t("update:startColor",n.startColor),t("startColorChange",n.startColor)):(t("update:endColor",n.endColor),t("endColorChange",n.endColor))},O=()=>{r.value=!1,t("advanceChange",!1)},P=()=>{n.type=n.type==="linear"?"radial":"linear",t("typeChange",n.type)},E=_P(YP,[],{}),R=Hc(()=>{if(e.disableHistory)return;const A=s.value.toRgbString();if(E.value=E.value.filter(N=>!et.equals(N,A)),!E.value.includes(A)){for(;E.value.length>XP;)E.value.pop();E.value.unshift(A)}},500);return au(()=>{a.value&&i.value&&(Zd.triggerDragEvent(a.value,{drag:A=>{h(A)},end:A=>{h(A)}}),Zd.triggerDragEvent(i.value,{drag:A=>{f(A)},end:A=>{f(A)}}))}),ar(()=>n.startColor,A=>{n.startColorRgba=A.toRgbString()},{deep:!0}),ar(()=>n.endColor,A=>{n.endColorRgba=A.toRgbString()},{deep:!0}),ar(()=>s.value,()=>{R()},{deep:!0}),{startGradientRef:i,stopGradientRef:a,colorRangeRef:l,state:n,currentColor:s,getStartColorLeft:c,getEndColorLeft:u,gradientBg:d,advancePanelShow:r,onDegreeBlur:m,onCompactChange:y,onAlphaChange:b,onHueChange:$,onBoardChange:x,onLightChange:_,historyColors:E,onBack:O,onDegreeChange:v,onDisplayChange:w,onTypeChange:P,lang:o==null?void 0:o.lang}}}),AV=e=>(Ps("data-v-431cadee"),e=e(),Ts(),e),EFe={class:"vc-gradient-picker"},AFe={class:"vc-gradient-picker__header"},MFe={class:"vc-gradient__types"},RFe={class:"vc-gradient-wrap__types"},DFe={class:"vc-picker-degree-input vc-degree-input"},LFe={class:"vc-degree-input__control"},NFe=["value"],kFe={class:"vc-degree-input__panel"},BFe={class:"vc-degree-input__disk"},FFe={class:"vc-gradient-picker__body"},HFe={class:"vc-color-range",ref:"colorRangeRef"},zFe={class:"vc-color-range__container"},jFe={class:"vc-gradient__stop__container"},WFe=["title"],VFe=AV(()=>tt("span",{class:"vc-gradient__stop--inner"},null,-1)),KFe=[VFe],UFe=["title"],GFe=AV(()=>tt("span",{class:"vc-gradient__stop--inner"},null,-1)),YFe=[GFe];function XFe(e,t,n,o,r,i){var a,l;const s=Nt("Angle"),c=Nt("Board"),u=Nt("Hue"),d=Nt("Palette"),f=Nt("Lightness"),h=Nt("Alpha"),m=Nt("Display"),v=Nt("History");return ht(),qt("div",EFe,[tt("div",AFe,[tt("div",null,[Ln(tt("div",{class:"back",style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...y)=>e.onBack&&e.onBack(...y))},null,512),[[Bo,e.pickerType==="fk"&&e.advancePanelShow]])]),tt("div",MFe,[tt("div",RFe,[(ht(),qt(Je,null,Cd(["linear","radial"],y=>tt("div",{class:Oo(["vc-gradient__type",{active:e.state.type===y}]),key:y,onClick:t[1]||(t[1]=(...b)=>e.onTypeChange&&e.onTypeChange(...b))},Uo(e.lang?e.lang[y]:y),3)),64))]),Ln(tt("div",DFe,[tt("div",LFe,[tt("input",{value:e.state.angle,onBlur:t[2]||(t[2]=(...y)=>e.onDegreeBlur&&e.onDegreeBlur(...y))},null,40,NFe),Do("deg ")]),tt("div",kFe,[tt("div",BFe,[g(s,{angle:e.state.angle,"onUpdate:angle":t[3]||(t[3]=y=>e.state.angle=y),size:40,onChange:e.onDegreeChange},null,8,["angle","onChange"])])])],512),[[Bo,e.state.type==="linear"]])])]),tt("div",FFe,[tt("div",HFe,[tt("div",zFe,[tt("div",{class:"vc-background",style:vo(e.gradientBg)},null,4),tt("div",jFe,[tt("div",{class:Oo(["vc-gradient__stop",{"vc-gradient__stop--current":e.state.startActive}]),ref:"startGradientRef",title:(a=e.lang)==null?void 0:a.start,style:vo({left:e.getStartColorLeft+"px",backgroundColor:e.state.startColorRgba})},KFe,14,WFe),tt("div",{class:Oo(["vc-gradient__stop",{"vc-gradient__stop--current":!e.state.startActive}]),ref:"stopGradientRef",title:(l=e.lang)==null?void 0:l.end,style:vo({left:e.getEndColorLeft+"px",backgroundColor:e.state.endColorRgba})},YFe,14,UFe)])])],512)]),e.advancePanelShow?(ht(),jn(c,{key:0,color:e.currentColor,onChange:e.onBoardChange},null,8,["color","onChange"])):zn("",!0),e.advancePanelShow?(ht(),jn(u,{key:1,color:e.currentColor,onChange:e.onHueChange},null,8,["color","onChange"])):zn("",!0),e.advancePanelShow?zn("",!0):(ht(),jn(d,{key:2,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?zn("",!0):(ht(),jn(f,{key:3,color:e.currentColor,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?zn("",!0):(ht(),jn(h,{key:4,color:e.currentColor,onChange:e.onAlphaChange},null,8,["color","onChange"])),g(m,{color:e.currentColor,"disable-alpha":e.disableAlpha,onChange:e.onDisplayChange},null,8,["color","disable-alpha","onChange"]),e.disableHistory?zn("",!0):(ht(),jn(v,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])}const vL=Vi(TFe,[["render",XFe],["__scopeId","data-v-431cadee"]]),qFe=pe({name:"WrapContainer",props:{theme:Bt.oneOf(["white","black"]).def("white"),showTab:Bt.bool.def(!1),activeKey:Bt.oneOf(["pure","gradient"]).def("pure")},emits:["update:activeKey","change"],setup(e,{emit:t}){const n=St({activeKey:e.activeKey}),o=it(nT),r=i=>{n.activeKey=i,t("update:activeKey",i),t("change",i)};return ar(()=>e.activeKey,i=>{n.activeKey=i}),{state:n,onActiveKeyChange:r,lang:o==null?void 0:o.lang}}}),ZFe={class:"vc-colorpicker--container"},QFe={key:0,class:"vc-colorpicker--tabs"},JFe={class:"vc-colorpicker--tabs__inner"},eHe={class:"vc-btn__content"},tHe={class:"vc-btn__content"};function nHe(e,t,n,o,r,i){var a,l;return ht(),qt("div",{class:Oo(["vc-colorpicker",e.theme])},[tt("div",ZFe,[e.showTab?(ht(),qt("div",QFe,[tt("div",JFe,[tt("div",{class:Oo(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="pure"}]),onClick:t[0]||(t[0]=s=>e.onActiveKeyChange("pure"))},[tt("button",null,[tt("div",eHe,Uo((a=e.lang)==null?void 0:a.pure),1)])],2),tt("div",{class:Oo(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="gradient"}]),onClick:t[1]||(t[1]=s=>e.onActiveKeyChange("gradient"))},[tt("button",null,[tt("div",tHe,Uo((l=e.lang)==null?void 0:l.gradient),1)])],2),tt("div",{class:"vc-colorpicker--tabs__bg",style:vo({width:"50%",left:`calc(${e.state.activeKey==="gradient"?50:0}%)`})},null,4)])])):zn("",!0),GQ(e.$slots,"default",{},void 0,!0)])],2)}const oHe=Vi(qFe,[["render",nHe],["__scopeId","data-v-0492277d"]]),rHe={start:"Start",end:"End",pure:"Pure",gradient:"Gradient",linear:"linear",radial:"radial"},iHe={start:"开始",end:"结束",pure:"纯色",gradient:"渐变",linear:"线性",radial:"径向"},aHe={En:rHe,"ZH-cn":iHe},lHe={isWidget:Bt.bool.def(!1),pickerType:Bt.oneOf(["fk","chrome"]).def("fk"),shape:Bt.oneOf(["circle","square"]).def("square"),pureColor:{type:[String,Object],default:"#000000"},gradientColor:Bt.string.def("linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%)"),format:{type:String,default:"rgb"},disableAlpha:Bt.bool.def(!1),disableHistory:Bt.bool.def(!1),roundHistory:Bt.bool.def(!1),useType:Bt.oneOf(["pure","gradient","both"]).def("pure"),activeKey:Bt.oneOf(["pure","gradient"]).def("pure"),lang:{type:String,default:"ZH-cn"},zIndex:Bt.number.def(9999),pickerContainer:{type:[String,HTMLElement],default:"body"},debounce:Bt.number.def(100),theme:Bt.oneOf(["white","black"]).def("white")},sHe=pe({name:"ColorPicker",components:{FkColorPicker:hL,ChromeColorPicker:gL,GradientColorPicker:vL,WrapContainer:oHe},inheritAttrs:!1,props:lHe,emits:["update:pureColor","pureColorChange","update:gradientColor","gradientColorChange","update:activeKey","activeKeyChange"],setup(e,{emit:t}){ft(nT,{lang:M(()=>aHe[e.lang||"ZH-cn"])});const n=St({pureColor:e.pureColor||"",activeKey:e.useType==="gradient"?"gradient":e.activeKey,isAdvanceMode:!1}),o=new Zn("#000"),r=new Zn("#000"),i=new Zn(n.pureColor),a=St({startColor:o,endColor:r,startColorStop:0,endColorStop:100,angle:0,type:"linear",gradientColor:e.gradientColor}),l=he(i),s=he(!1),c=he(null),u=he(null);let d=null;const f=M(()=>({background:n.activeKey!=="gradient"?et(n.pureColor).toRgbString():a.gradientColor})),h=M(()=>n.activeKey==="gradient"?vL.name:e.pickerType==="fk"?hL.name:gL.name),m=E=>{n.isAdvanceMode=E},v=M(()=>{const E={disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,pickerType:e.pickerType};return n.activeKey==="gradient"?{...E,startColor:a.startColor,endColor:a.endColor,angle:a.angle,type:a.type,startColorStop:a.startColorStop,endColorStop:a.endColorStop,onStartColorChange:R=>{a.startColor=R,x()},onEndColorChange:R=>{a.endColor=R,x()},onStartColorStopChange:R=>{a.startColorStop=R,x()},onEndColorStopChange:R=>{a.endColorStop=R,x()},onAngleChange:R=>{a.angle=R,x()},onTypeChange:R=>{a.type=R,x()},onAdvanceChange:m}:{...E,disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,color:l.value,onChange:I,onAdvanceChange:m}}),y=()=>{s.value=!0,d?d.update():w()},b=()=>{s.value=!1},$=()=>{var E,R,A,N;try{const[F]=LNe(a.gradientColor);if(F&&F.type.includes("gradient")&&F.colorStops.length>=2){const W=F.colorStops[0],D=F.colorStops[1];a.startColorStop=Number((E=W.length)==null?void 0:E.value)||0,a.endColorStop=Number((R=D.length)==null?void 0:R.value)||0,F.type==="linear-gradient"&&((A=F.orientation)==null?void 0:A.type)==="angular"&&(a.angle=Number((N=F.orientation)==null?void 0:N.value)||0),a.type=F.type.split("-")[0];const[B,k,L,z]=W.value,[K,G,Y,ne]=D.value;a.startColor=new Zn({r:Number(B),g:Number(k),b:Number(L),a:Number(z)}),a.endColor=new Zn({r:Number(K),g:Number(G),b:Number(Y),a:Number(ne)})}}catch(F){console.log(`[Parse Color]: ${F}`)}},x=Hc(()=>{const E=_();try{a.gradientColor=NNe(E),t("update:gradientColor",a.gradientColor),t("gradientColorChange",a.gradientColor)}catch(R){console.log(R)}},e.debounce),_=()=>{const E=[],R=a.startColor.RGB.map(F=>F.toString()),A=a.endColor.RGB.map(F=>F.toString()),N=[{type:"rgba",value:[R[0],R[1],R[2],R[3]],length:{value:a.startColorStop+"",type:"%"}},{type:"rgba",value:[A[0],A[1],A[2],A[3]],length:{value:a.endColorStop+"",type:"%"}}];return a.type==="linear"?E.push({type:"linear-gradient",orientation:{type:"angular",value:a.angle+""},colorStops:N}):a.type==="radial"&&E.push({type:"radial-gradient",orientation:[{type:"shape",value:"circle"}],colorStops:N}),E},w=()=>{c.value&&u.value&&(d=j7e(c.value,u.value,{placement:"auto",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{allowedAutoPlacements:["top","bottom","left","right"],rootBoundary:"viewport"}}]}))},I=E=>{l.value=E,n.pureColor=E.toString(e.format),O()},O=Hc(()=>{t("update:pureColor",n.pureColor),t("pureColorChange",n.pureColor)},e.debounce);rNe(u,()=>{b()});const P=E=>{n.activeKey=E,t("update:activeKey",E),t("activeKeyChange",E)};return au(()=>{$()}),ar(()=>e.gradientColor,E=>{E!=a.gradientColor&&(a.gradientColor=E)}),ar(()=>a.gradientColor,()=>{$()}),ar(()=>e.activeKey,E=>{n.activeKey=E}),ar(()=>e.useType,E=>{n.activeKey!=="gradient"&&E==="gradient"?n.activeKey="gradient":n.activeKey="pure"}),ar(()=>e.pureColor,E=>{et.equals(E,n.pureColor)||(n.pureColor=E,l.value=new Zn(E))},{deep:!0}),{colorCubeRef:c,pickerRef:u,showPicker:s,colorInstance:l,getBgColorStyle:f,onColorChange:I,onShowPicker:y,onActiveKeyChange:P,getComponentName:h,getBindArgs:v,state:n}}});function cHe(e,t,n,o,r,i){const a=Nt("WrapContainer");return ht(),qt(Je,null,[e.isWidget?(ht(),jn(a,{key:0,"active-key":e.state.activeKey,"onUpdate:activeKey":t[0]||(t[0]=l=>e.state.activeKey=l),"show-tab":e.useType==="both",onChange:e.onActiveKeyChange,style:vo({zIndex:e.zIndex}),theme:e.theme},{default:bn(()=>[(ht(),jn(O4(e.getComponentName),k$({key:e.getComponentName},e.getBindArgs),null,16))]),_:1},8,["active-key","show-tab","onChange","style","theme"])):zn("",!0),e.isWidget?zn("",!0):(ht(),qt(Je,{key:1},[tt("div",{class:Oo(["vc-color-wrap transparent",{round:e.shape==="circle"}]),ref:"colorCubeRef"},[tt("div",{class:"current-color",style:vo(e.getBgColorStyle),onClick:t[1]||(t[1]=(...l)=>e.onShowPicker&&e.onShowPicker(...l))},null,4)],2),(ht(),jn(Ab,{to:e.pickerContainer},[Ln(tt("div",{ref:"pickerRef",style:vo({zIndex:e.zIndex})},[e.showPicker?(ht(),jn(a,{key:0,"show-tab":e.useType==="both"&&!e.state.isAdvanceMode,"active-key":e.state.activeKey,"onUpdate:activeKey":t[2]||(t[2]=l=>e.state.activeKey=l),onChange:e.onActiveKeyChange,theme:e.theme},{default:bn(()=>[(ht(),jn(O4(e.getComponentName),k$({key:e.getComponentName},e.getBindArgs),null,16))]),_:1},8,["show-tab","active-key","onChange","theme"])):zn("",!0)],4),[[Bo,e.showPicker]])],8,["to"]))],64))],64)}const tm=Vi(sHe,[["render",cHe],["__scopeId","data-v-3ba84123"]]),uHe={install:e=>{e.component(tm.name,tm),e.component("Vue3"+tm.name,tm)}};function dHe(e,t){if(e==null)return;let n=e;for(let o=0;o<t.length;o++){if(n===void 0||n[t[o]]===void 0)return;if(n===null||n[t[o]]===null)return null;n=n[t[o]]}return n}function oT(e,t,n){if(n.length===0)return t;const o=n[0];return n.length>1&&(t=oT(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,o)?Number.isInteger(Number(n[1]))?[]:{}:e[o],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(o))&&Array.isArray(e)?e.slice()[o]:Object.assign({},e,{[o]:t})}function MV(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const o in e)n[o]=e[o];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const o in e)n[o]=e[o];return n}return oT(e,MV(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function RV(e,t){return t.map(n=>n.split(".")).map(n=>[n,dHe(e,n)]).filter(n=>n[1]!==void 0).reduce((n,o)=>oT(n,o[1],o[0]),{})}function DV(e,t){return t.map(n=>n.split(".")).reduce((n,o)=>MV(n,o),e)}function mL(e,{storage:t,serializer:n,key:o,debug:r,pick:i,omit:a,beforeHydrate:l,afterHydrate:s},c,u=!0){try{u&&(l==null||l(c));const d=t.getItem(o);if(d){const f=n.deserialize(d),h=i?RV(f,i):f,m=a?DV(h,a):h;e.$patch(m)}u&&(s==null||s(c))}catch(d){r&&console.error("[pinia-plugin-persistedstate]",d)}}function bL(e,{storage:t,serializer:n,key:o,debug:r,pick:i,omit:a}){try{const l=i?RV(e,i):e,s=a?DV(l,a):l,c=n.serialize(s);t.setItem(o,c)}catch(l){r&&console.error("[pinia-plugin-persistedstate]",l)}}function fHe(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function pHe(e,t,n){const{pinia:o,store:r,options:{persist:i=n}}=e;if(!i)return;// v8 ignore if -- @preserve
+if(!(r.$id in o.state.value)){const l=o._s.get(r.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(i)?i:i===!0?[{}]:[i]).map(t);r.$hydrate=({runHooks:l=!0}={})=>{a.forEach(s=>{mL(r,s,e,l)})},r.$persist=()=>{a.forEach(l=>{bL(r.$state,l)})},a.forEach(l=>{mL(r,l,e),r.$subscribe((s,c)=>bL(c,l),{detached:!0})})}function hHe(e={}){return function(t){pHe(t,n=>{const o=fHe(n.key,t.store.$id);return{key:(e.key?e.key:r=>r)(o),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:r=>JSON.stringify(r),deserialize:r=>JSON.parse(r)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var gHe=hHe();/*!
+ * pinia v2.1.7
+ * (c) 2023 Eduardo San Martin Morote
+ * @license MIT
+ */let LV;const v1=e=>LV=e,NV=Symbol();function Zw(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Up;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Up||(Up={}));function vHe(){const e=o2(!0),t=e.run(()=>he({}));let n=[],o=[];const r=$b({install(i){v1(r),r._a=i,i.provide(NV,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!GLe?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const kV=()=>{};function yL(e,t,n,o=kV){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Sb()&&r2(r),r}function ju(e,...t){e.slice().forEach(n=>{n(...t)})}const mHe=e=>e();function Qw(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Zw(r)&&Zw(o)&&e.hasOwnProperty(n)&&!Wn(o)&&!gs(o)?e[n]=Qw(r,o):e[n]=o}return e}const bHe=Symbol();function yHe(e){return!Zw(e)||!e.hasOwnProperty(bHe)}const{assign:ts}=Object;function SHe(e){return!!(Wn(e)&&e.effect)}function CHe(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let s;function c(){l||(n.state.value[e]=r?r():{});const u=oa(n.state.value[e]);return ts(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=$b(M(()=>{v1(n);const h=n._s.get(e);return a[f].call(h,h)})),d),{}))}return s=BV(e,c,t,n,o,!0),s}function BV(e,t,n={},o,r,i){let a;const l=ts({actions:{}},n),s={deep:!0};let c,u,d=[],f=[],h;const m=o.state.value[e];!i&&!m&&(o.state.value[e]={}),he({});let v;function y(P){let E;c=u=!1,typeof P=="function"?(P(o.state.value[e]),E={type:Up.patchFunction,storeId:e,events:h}):(Qw(o.state.value[e],P),E={type:Up.patchObject,payload:P,storeId:e,events:h});const R=v=Symbol();wt().then(()=>{v===R&&(c=!0)}),u=!0,ju(d,E,o.state.value[e])}const b=i?function(){const{state:E}=n,R=E?E():{};this.$patch(A=>{ts(A,R)})}:kV;function $(){a.stop(),d=[],f=[],o._s.delete(e)}function x(P,E){return function(){v1(o);const R=Array.from(arguments),A=[],N=[];function F(B){A.push(B)}function W(B){N.push(B)}ju(f,{args:R,name:P,store:w,after:F,onError:W});let D;try{D=E.apply(this&&this.$id===e?this:w,R)}catch(B){throw ju(N,B),B}return D instanceof Promise?D.then(B=>(ju(A,B),B)).catch(B=>(ju(N,B),Promise.reject(B))):(ju(A,D),D)}}const _={_p:o,$id:e,$onAction:yL.bind(null,f),$patch:y,$reset:b,$subscribe(P,E={}){const R=yL(d,P,E.detached,()=>A()),A=a.run(()=>Ie(()=>o.state.value[e],N=>{(E.flush==="sync"?u:c)&&P({storeId:e,type:Up.direct,events:h},N)},ts({},s,E)));return R},$dispose:$},w=St(_);o._s.set(e,w);const O=(o._a&&o._a.runWithContext||mHe)(()=>o._e.run(()=>(a=o2()).run(t)));for(const P in O){const E=O[P];if(Wn(E)&&!SHe(E)||gs(E))i||(m&&yHe(E)&&(Wn(E)?E.value=m[P]:Qw(E,m[P])),o.state.value[e][P]=E);else if(typeof E=="function"){const R=x(P,E);O[P]=R,l.actions[P]=E}}return ts(w,O),ts($t(w),O),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:P=>{y(E=>{ts(E,P)})}}),o._p.forEach(P=>{ts(w,a.run(()=>P({store:w,app:o._a,pinia:o,options:l})))}),m&&i&&n.hydrate&&n.hydrate(w.$state,m),c=!0,u=!0,w}function RHe(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(l,s){const c=rJ();return l=l||(c?it(NV,null):null),l&&v1(l),l=LV,l._s.has(o)||(i?BV(o,t,r,l):CHe(o,r,l)),l._s.get(o)}return a.$id=o,a}const $He=AN(ULe),FV=vHe();FV.use(gHe);$He.use(N6e).use(uHe).use(FV).use(xP).use(oW).mount("#app");oW.beforeEach((e,t,n)=>{const o=KLe();o!=null&&o.state||e.path.startsWith("/login")?n():n({path:`/login?redirect=${t.path}`})});export{Ln as $,Ot as A,he as B,MW as C,lt as D,KLe as E,Ie as F,THe as G,HRe as H,S5 as I,jn as J,wHe as K,Je as L,Cd as M,Wn as N,jRe as O,Oh as P,zRe as Q,AHe as R,cy as S,zn as T,ft as U,so as V,O4 as W,Ba as X,oW as Y,_He as Z,fa as _,Ml as a,Y3e as a0,Bo as a1,PHe as a2,IHe as a3,wt as a4,xHe as a5,sH as a6,Oo as a7,ej as a8,GQ as a9,d8 as aa,p8 as ab,w5 as ac,Lr as ad,RHe as ae,vo as af,n3 as ag,Ht as ah,wo as ai,g as b,qt as c,pe as d,Nt as e,Do as f,EHe as g,Ts as h,xP as i,tt as j,Nn as k,M as l,GO as m,It as n,ht as o,Ps as p,tW as q,St as r,Ni as s,Uo as t,kj as u,ON as v,bn as w,OHe as x,it as y,eW as z};
+function __vite__mapDeps(indexes) {
+ if (!__vite__mapDeps.viteFileDeps) {
+ __vite__mapDeps.viteFileDeps = ["assets/Login-QsM7tdlI.js","assets/globalSearch--VMQnq3S.js","assets/request-3an337VF.js","assets/Login-85H3mqPu.css","assets/index-ECEQf-Fc.js","assets/app-mdoSebGq.js","assets/instance-qriYfOrq.js","assets/service-Hb3ldtV6.js","assets/index-0bxuOvJ7.css","assets/index-PuhA8qFJ.js","assets/serverInfo-F5PlCBPJ.js","assets/index-bVXendlO.css","assets/index-jbm-YZ4W.js","assets/SearchUtil-bfid3zNl.js","assets/SearchUtil-Fi_1zs66.css","assets/index-ymIevjDI.css","assets/detail-NWi5D_Jp.js","assets/index-HdnVQEsT.js","assets/instance-u5IY96cv.js","assets/DateUtil-QXt7LnE3.js","assets/PromQueryUtil-4K1j3sa5.js","assets/ByteUtil-YdHlSEeW.js","assets/instance-q0PmH8ZQ.css","assets/service-LECfslfz.js","assets/service-ExPGSUQV.css","assets/monitor-kZ_wOjob.js","assets/GrafanaPage-tT3NMW70.js","assets/GrafanaPage-RVDi4ROE.css","assets/tracing-egUve7nj.js","assets/config-iPQQ4Osw.js","assets/ConfigPage-Onvd_SY6.js","assets/ConfigPage-cVEIcX7I.css","assets/config-c0xW8oe-.css","assets/event-ZoLBaQpy.js","assets/event-0p00qhH9.css","assets/index-fU57L0AQ.js","assets/index-ZwzA_cjG.css","assets/detail-IPVQRAO3.js","assets/monitor-Yx9RU22f.js","assets/linkTracking-gLhWXj25.js","assets/configuration-um3mt9hU.js","assets/search-c0Szb99-.js","assets/search-WG_H-dj7.css","assets/distribution-WSPxFnjE.js","assets/distribution-6xS25HWj.css","assets/monitor-JE2IXQk_.js","assets/tracing-DAAA17XP.js","assets/sceneConfig-wKVgfCMN.js","assets/sceneConfig-ym7dtk3_.css","assets/event-IjH1CTVp.js","assets/event-lmBmBbXg.css","assets/index-9Tpk6WxM.js","assets/traffic-dHGZ6qwp.js","assets/index-frGZziTc.css","assets/formView-RlUvRzIB.js","assets/formView-vPzA7v6e.css","assets/YAMLView-mXrxtewG.js","assets/js-yaml-eElisXzH.js","assets/js-yaml-TGthJqWD.css","assets/YAMLView-pRLW5CcG.css","assets/addByFormView-suZAGsdv.js","assets/addByFormView-dOXVpw6L.css","assets/addByYAMLView-fC-hqbkM.js","assets/addByYAMLView-BhMg41Un.css","assets/updateByFormView-ySWJqpjX.js","assets/updateByFormView-xj5SSwKL.css","assets/updateByYAMLView--nyJvxZJ.js","assets/updateByYAMLView--JNoYLc_.css","assets/index-VDeT_deC.js","assets/index-DgO44mZ7.css","assets/formView-2KzX11dd.js","assets/formView-94FyHCnm.css","assets/YAMLView-s3WMf-Uo.js","assets/YAMLView-aVJMfs-Z.css","assets/addByFormView-Ia4T74MU.js","assets/addByFormView-WZtXwxTg.css","assets/addByYAMLView--WjgktlZ.js","assets/addByYAMLView-JtG8ss_3.css","assets/updateByFormView-mbEXmvrc.js","assets/updateByFormView-4kEkTPi2.css","assets/updateByYAMLView-X3vjkbCV.js","assets/updateByYAMLView-p2OY6kUu.css","assets/index-ytKGiqRq.js","assets/index-sqj_NuZt.css","assets/formView-vzcbtWy_.js","assets/ConfigModel-IgPiU3B2.js","assets/formView-IqMlu-2J.css","assets/YAMLView-TcLqiDOf.js","assets/YAMLView-G9GNoDTj.css","assets/notFound-hYD9Tscu.js","assets/notFound-DMLJUJ6x.css"]
+ }
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
+}
diff --git a/app/dubbo-ui/dist/admin/assets/index-3ObQClF5.js b/app/dubbo-ui/dist/admin/assets/index-9Tpk6WxM.js
similarity index 69%
rename from app/dubbo-ui/dist/admin/assets/index-3ObQClF5.js
rename to app/dubbo-ui/dist/admin/assets/index-9Tpk6WxM.js
index 66defbb..85ece6e 100644
--- a/app/dubbo-ui/dist/admin/assets/index-3ObQClF5.js
+++ b/app/dubbo-ui/dist/admin/assets/index-9Tpk6WxM.js
@@ -1 +1 @@
-import{d as w,v as S,x as T,y as h,r as g,W as E,c as l,b as n,w as o,n as r,P as V,R as $,e as C,o as c,X as p,f as a,j as D,I as A,t as _,Q as u,J as f,_ as B}from"./index-hmLAZQYT.js";import{s as G,d as O}from"./traffic-C2a-KjHH.js";import{S as P,a as Y,s as y}from"./SearchUtil-sOWd6ofa.js";import{f as F}from"./DateUtil-BI1mUH_z.js";import"./request-8jI_GZey.js";const J={class:"routing-rule-container"},M=["onClick"],j=w({__name:"index",setup(K){S(e=>({"5abc36e7":r(V)}));const N=T(h.PROVIDE_INJECT_KEY);let I=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,t)=>y(e.appName,t.appName),width:140},{title:"ruleGranularity",key:"ruleGranularity",dataIndex:"ruleGranularity",render:(e,t)=>t.isService?"服务":"应用",width:100,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"createTime",key:"createTime",dataIndex:"createTime",width:120,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"enabled",key:"enabled",dataIndex:"enabled",width:120,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const d=g(new P([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],G,I)),v=async e=>{(await O(e)).code===200&&await d.onSearch()};E(()=>{N.conditionRule=null,N.addConditionRuleSate=null,d.onSearch(),d.tableStyle={scrollX:"100",scrollY:"367px"}});const R=e=>{v(e)};return $(h.SEARCH_DOMAIN,d),(e,t)=>{const m=C("a-button"),b=C("a-popconfirm");return c(),l("div",J,[n(Y,{"search-domain":d},{customOperation:o(()=>[n(m,{type:"primary",onClick:t[0]||(t[0]=k=>r(p).push("/traffic/addRoutingRule/addByFormView"))},{default:o(()=>[a("新增条件路由规则 ")]),_:1})]),bodyCell:o(({text:k,column:i,record:s})=>[i.dataIndex==="ruleName"?(c(),l("span",{key:0,class:"rule-link",onClick:x=>r(p).push(`formview/${s[i.key]}`)},[D("b",null,[n(r(A),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),a(" "+_(k),1)])],8,M)):u("",!0),i.dataIndex==="ruleGranularity"?(c(),l(f,{key:1},[a(_(s.scope==="service"?"服务":"应用"),1)],64)):u("",!0),i.dataIndex==="enabled"?(c(),l(f,{key:2},[a(_(k?"启用":"禁用"),1)],64)):u("",!0),i.dataIndex==="createTime"?(c(),l(f,{key:3},[a(_(r(F)(s.createTime)),1)],64)):u("",!0),i.dataIndex==="operation"?(c(),l(f,{key:4},[n(m,{type:"link",onClick:x=>r(p).push(`formview/${s.ruleName}`)},{default:o(()=>[a(" 查看 ")]),_:2},1032,["onClick"]),n(m,{type:"link",onClick:x=>r(p).push(`/traffic/updateRoutingRule/updateByFormView/${s.ruleName}`)},{default:o(()=>[a(" 修改 ")]),_:2},1032,["onClick"]),n(b,{title:"确认删除该条件路由规则?","ok-text":"Yes","cancel-text":"No",onConfirm:x=>R(s.ruleName)},{default:o(()=>[n(m,{type:"link"},{default:o(()=>[a(" 删除")]),_:1})]),_:2},1032,["onConfirm"])],64)):u("",!0)]),_:1},8,["search-domain"])])}}}),q=B(j,[["__scopeId","data-v-142b26f8"]]);export{q as default};
+import{d as w,v as T,y as S,z as h,r as g,D as E,c as l,b as n,w as o,n as r,P as V,U as D,e as C,o as c,Y as p,f as a,j as $,I as A,t as _,T as u,L as f,_ as B}from"./index-3zDsduUv.js";import{s as G,d as O}from"./traffic-dHGZ6qwp.js";import{S as Y,a as P,s as y}from"./SearchUtil-bfid3zNl.js";import{f as F}from"./DateUtil-QXt7LnE3.js";import"./request-3an337VF.js";const M={class:"routing-rule-container"},j=["onClick"],J=w({__name:"index",setup(K){T(e=>({"5abc36e7":r(V)}));const N=S(h.PROVIDE_INJECT_KEY);let I=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,t)=>y(e.appName,t.appName),width:140},{title:"ruleGranularity",key:"ruleGranularity",dataIndex:"ruleGranularity",render:(e,t)=>t.isService?"服务":"应用",width:100,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"createTime",key:"createTime",dataIndex:"createTime",width:120,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"enabled",key:"enabled",dataIndex:"enabled",width:120,sorter:(e,t)=>y(e.instanceNum,t.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const d=g(new Y([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],G,I)),v=async e=>{(await O(e)).code===200&&await d.onSearch()};E(()=>{N.conditionRule=null,N.addConditionRuleSate=null,d.onSearch(),d.tableStyle={scrollX:"100",scrollY:"367px"}});const R=e=>{v(e)};return D(h.SEARCH_DOMAIN,d),(e,t)=>{const m=C("a-button"),b=C("a-popconfirm");return c(),l("div",M,[n(P,{"search-domain":d},{customOperation:o(()=>[n(m,{type:"primary",onClick:t[0]||(t[0]=k=>r(p).push("/traffic/addRoutingRule/addByFormView"))},{default:o(()=>[a("新增条件路由规则 ")]),_:1})]),bodyCell:o(({text:k,column:i,record:s})=>[i.dataIndex==="ruleName"?(c(),l("span",{key:0,class:"rule-link",onClick:x=>r(p).push(`formview/${s[i.key]}`)},[$("b",null,[n(r(A),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),a(" "+_(k),1)])],8,j)):u("",!0),i.dataIndex==="ruleGranularity"?(c(),l(f,{key:1},[a(_(s.scope==="service"?"服务":"应用"),1)],64)):u("",!0),i.dataIndex==="enabled"?(c(),l(f,{key:2},[a(_(k?"启用":"禁用"),1)],64)):u("",!0),i.dataIndex==="createTime"?(c(),l(f,{key:3},[a(_(r(F)(s.createTime)),1)],64)):u("",!0),i.dataIndex==="operation"?(c(),l(f,{key:4},[n(m,{type:"link",onClick:x=>r(p).push(`formview/${s.ruleName}`)},{default:o(()=>[a(" 查看 ")]),_:2},1032,["onClick"]),n(m,{type:"link",onClick:x=>r(p).push(`/traffic/updateRoutingRule/updateByFormView/${s.ruleName}`)},{default:o(()=>[a(" 修改 ")]),_:2},1032,["onClick"]),n(b,{title:"确认删除该条件路由规则?","ok-text":"Yes","cancel-text":"No",onConfirm:x=>R(s.ruleName)},{default:o(()=>[n(m,{type:"link"},{default:o(()=>[a(" 删除")]),_:1})]),_:2},1032,["onConfirm"])],64)):u("",!0)]),_:1},8,["search-domain"])])}}}),q=B(J,[["__scopeId","data-v-142b26f8"]]);export{q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-ECEQf-Fc.js b/app/dubbo-ui/dist/admin/assets/index-ECEQf-Fc.js
new file mode 100644
index 0000000..49dca51
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/index-ECEQf-Fc.js
@@ -0,0 +1 @@
+import{b as n,A as I,d as V,k as ue,a as X,l as Y,r as G,u as k,e as u,o as g,c as B,n as i,q as we,s as ie,I as de,_ as Z,v as pe,P as C,x as ze,y as q,z as S,B as z,C as Ye,D as je,E as Be,F as ae,G as Re,H as Ke,w as s,J as j,K as Ue,L as J,M as me,f as U,t as Q,S as Le,N as Fe,j as L,O as oe,Q as Ce,R as Se,p as He,h as Ne,T as fe,U as se,V as Ee,W as Te}from"./index-3zDsduUv.js";import{s as Ge}from"./app-mdoSebGq.js";import{s as Qe}from"./instance-qriYfOrq.js";import{s as Ve}from"./service-Hb3ldtV6.js";import{m as Xe,a as Ze}from"./globalSearch--VMQnq3S.js";import{u as qe}from"./request-3an337VF.js";var Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"};const ke=Ie;function ce(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},c=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),c.forEach(function(o){Je(a,o,t[o])})}return a}function Je(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var W=function(e,t){var c=ce({},e,t.attrs);return n(I,ce({},c,{icon:ke}),null)};W.displayName="MenuFoldOutlined";W.inheritAttrs=!1;const We=W;var $e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"};const et=$e;function re(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},c=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),c.forEach(function(o){tt(a,o,t[o])})}return a}function tt(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var $=function(e,t){var c=re({},e,t.attrs);return n(I,re({},c,{icon:et}),null)};$.displayName="MenuUnfoldOutlined";$.inheritAttrs=!1;const nt=$;var at={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const ot=at;function le(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},c=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),c.forEach(function(o){st(a,o,t[o])})}return a}function st(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var ee=function(e,t){var c=le({},e,t.attrs);return n(I,le({},c,{icon:ot}),null)};ee.displayName="UserOutlined";ee.inheritAttrs=!1;const ct=ee,rt={class:"__container_menu"},lt=V({__name:"layout_menu",setup(a){const{appContext:{config:{globalProperties:e}}}=ue(),t=we,c=X();let o=Y(()=>[v(c.meta)]),b=G([]);function v(l){var d;return l.tab||l.hidden?v((d=l.parent)==null?void 0:d.meta):l._router_key}function A(){var d,h;let l=c.meta.parent;for(;l;)b.push((d=l.meta)==null?void 0:d._router_key),l=(h=l.meta)==null?void 0:h.parent}A();function P(l){o[0]=l.key}function y(l,d,h,O,K,D){return O&&(O=ie(de,{icon:O})),{key:h,title:d,icon:O,children:K,label:Y(()=>e.$t(l)),type:D}}const R=G([]);function x(l,d,h="root"){var O,K,D,N,F,E,p,m,_;if(!(!l||l.length===0))for(let r of l){if((O=r.meta)!=null&&O.skip){x(r.children,d,r.name);continue}if(!((K=r.meta)!=null&&K.hidden))if(!r.children||r.children.length===0||(D=r.meta)!=null&&D.tab_parent)d.push(y(r.name,r.path,(N=r.meta)==null?void 0:N._router_key,(F=r.meta)==null?void 0:F.icon));else if(r.children.length===1)d.push(y(r.children[0].name,r.path,(E=r.meta)==null?void 0:E._router_key,(p=r.children[0].meta)==null?void 0:p.icon));else{const w=G([]);x(r.children,w,r.name),d.push(y(r.name,r.path,(m=r.meta)==null?void 0:m._router_key,(_=r.meta)==null?void 0:_.icon,w))}}}x(t,R);const M=k(),H=l=>{var d;M.push((d=l.item)==null?void 0:d.title)};return(l,d)=>{const h=u("a-menu");return g(),B("div",rt,[n(h,{mode:"inline",selectedKeys:i(o),"open-keys":i(b),onSelect:P,items:R,onClick:H},null,8,["selectedKeys","open-keys","items"])])}}}),ut=Z(lt,[["__scopeId","data-v-0c21c672"]]),it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ0AAAENCAYAAAAVEjAIAAAOg0lEQVR4Xu3dYXXjSBSE0YUwEAJhIQjCQDCEgSAIA8EQBoIhLARDWAa17mQzZ1KJbcVx8rq7vnuO/3eXyi+SLDt//XVHkhYB0r+n1+H/18/Taz29dnrqxzfvDYL9Xwrgmueh0gZKGyZ/e5cQQgwNfEwbJO2sZPFuYVLtYFsJgI9oQ+TH6fXgXcMkxNDA5znq6XKGS5mZiKGBr9EGSLuMefAOYjBiaODrtUuYnXcRgxBDA3XaJzLt8uXBe4mOiaGBPuzFJzBjaAfKjx5QqF26LN5TdKQdID9qQAcYHr1qB8aPFtCRNjz4yLYnYmhgDO2eB9+B6YEYGhhH+7Rl9Q7ji4mhgfEcxf2OOi18PyLAINozHlyyfDUxNDA2zjq+WgvcjwIwIM46vooYGpjHP+Lj2c8nhgbm88N7jjsSQwNz2ovLlc8hhgbmxeXKZxBDA3NrD4Qt3nt8QAvUUwYmtPPu40ZiaCDH3vuPG4ihgSx7fw/gncTQQJ52g5RPVm4lhgYyMThuJYYGcjE4biGGBrIxON5LDA2AwfEeYmgADYNjKzE0gGcMji3E0AD+tPf3CIwYGoDb+/sEfxBDA3gLv8lxjhgawDk7f7/gL4YGcEH7Wj2/x+HE0AAuOYpPVF4SQwO45uDvm2hiaABbrP7eiSWGxmdp18OHDl+43Xd//0QSQ+Me2oDYn16702vxjHti68b7tOPM/Q0xNG71PCiGurvum8C7HTzTOGJovFcbFqsG/Yvjm8FNsh/8EkNjq6GHxTPfFG421BnmXYmhscXh9Hrw7EbkG8PN/vFsY4ihcc3qmY3MN4cPWT3fCGJonDPlf+byTeLD8i5TxNB4y7TfOfCN4sMOnvH0xNBw0w6MxjeLu8j6NEUMjT9NPTAa3zDuIuuhLzE0/rTzfGbjG8bd7D3raYmh8eynZzMj3zTuauqz1N/E0GiOCjm99I3jrg6e95TE0GgWz2VWvnHc3eKZT6dt0ncdZu+ZzMw3j7s7eubTEUPjwTOZmW8en2LnuU9F2UNj73nMzgPApzh67lNR9tDIuNv9Bw8An2bn2U9DuUNjyG8pntb9t56O2a0vfI2jH7tpKLdIQzz6e1rnQ1urnv45Mcay8+M5BeUOja4vTU7r+6annxPEuI5+XKegzKHxr+fQk9P6vrc1+qIxpJ0f3+Epc2j88hx6oaefFMQ8Dn6Mh6fMobF6Dj3Q070LzGfxYz20tiHfYYDvnkO1tiZfJKax9+M9NGUOjcVzqKSnm57cw5jbPF+IFEOjnLiPkWD14z4sBQ4Nz6CSOMtIcfRjPywxNErp6f+/IsPix39IbSO+s9l5BpVOy/nl68O09n78hySGRilxaZKk64cKNxNDo5SvDdPr7uP+dxNDo4yevrGKLHvvwXDE0CijwOwxwSWKAovrGVRRYPZ4NPYligKL6xlUUWD2eLT3LgxFgcX1DKooMHs8OnoXhqLA4noGVRSYPX7r+kegLlJgcT2DKgrMHr+t3odhKLC4nkEVBWaP34b8YetHCiyuZ1BFgdnjhTG/Lq/A4noGVRSYPV4Y86NXBRbXM6iiwOzxwk/vxBAUWFzPoIoCs8cLY97XUGBxPYMqCswer4x3X0OBxfUMqigwe7wy3n0NBRbXM6iiwOzxynj3NRRYXM+gigKzxysH70X3FFhcz6CKArPHa96L7imwuJ5BFQVmjzct3o2utQX7DmbnGVRRYPZ40w/vRtcUWFzPoIoCs8eb9t6NrimwuJ5BFQVmjzeN9ZCXAovrGVRRYPZ4m3ejawosrmdQRYHZ46zF+9Gttlhf/ew8gyoKzB5n7bwf3VJgcT2DKgrMHmeN82SoAovrGVRRYPY46+D96JYCi+sZVFFg9jhrnH+ipMDiegZVFJg9zvN+dEuBxfUMqigwe1y0eEe61BbqK5+dZ1BFgdnjop13pEsKLK5nUEWB2eOi1TvSJQUW1zOoosDscdHeO9IlBRbXM6iiwOxx0cE70iUFFtczqKLA7HHRGB+7KrC4nkEVBWaPy7wjXVJgcT2DKgrMHlc9eE+6o8DiegZVFJg9rlq8J91pi/RVz84zqKLA7HFV//8HRYHF9QyqKDB7XLV6T7qjwOJ6BlUUmD2uWr0n3VFgcT2DKgrMHlf98p50R4HF9QyqKDB7XHXwnnRHgcX1DKooMHtcdfCedEeBxfUMqigwe1zV/1OhCiyuZ1BFgdnjOu9JdxRYXM+gigKzx3Xek+4osLieQRUFZo/rvCfdUWBxPYMqCswemyzela60BfqKZ+cZVFFg9thk8a50pS3QVzw7z6CKArPHJot3pSttgb7i2XkGVRSYPTZZvCtdaQv0Fc/OM6iiwOyxyeJd6UpboK94dp5BFQVmj00W70pX2gJ9xbPzDKooMHtssnpXuqLA4noGVRSYPTZZvStdUWBxPYMqCswem6zela4osLieQRUFZo9NVu9KVxRYXM+gigKzxyard6UrCiyuZ1BFgdljk9W70hUFFtczqKLA7LHJ6l3pigKL6xlUUWD22GT1rnRFgcX1DKooMHtssnpXuqLA4noGVRSYPTZZvStdUWBxPYMqCswem6zela4osLieQRUFZo9NVu9KVxRYXM+gigKzxyY/vCtdUWBxPYMqCswemyzela60BfqKZ+cZVFFg9thk8a50pS3QVzw7z6CKArPHJot3pSttgb7i2XkGVRSYPTZZvCtdaQv0Fc/OM6iiwOyxyeJd6UpboK94dp5BFQVmj00evCtdUWBxPYMqCswe13lPuqPA4noGVRSYPa7znnRHgcX1DKooMHtc5z3pjgKL6xlUUWD2uOroPemOAovrGVRRYPa46uA96Y4Ci+sZVFFg9rjq4D3pjgKL6xlUUWD2uGrvPemOAovrGVRRYPa4avWedEeBxfUMqigwe1y1ek+6o8DiegZVFJg9rlq8J91pi/RVz84zqKLA7HHV4j3pTlukr3p2nkEVBWaPq755T7qjwOJ6BlUUmD0u8450SYHF9QyqKDB7XPSPd6RLCiyuZ1BFgdnjooN3pEsKLK5nUEWB2eOin96RLimwuJ5BFQVmj4tW70iXFFhcz6CKArPHRYt3pEttob7y2XkGVRSYPS762zvSJQUW1zOoosDscZ73o1sKLK5nUEWB2eOsMT5ubRRYXM+gigKzx1m/vB/dUmBxPYMqCsweZ63ej24psLieQRUFZo+zvns/uqXA4noGVRSYPc4a45OTRoHF9QyqKDB7vM270TUFFtczqKLA7PGmg3ejawosrmdQRYHZ401jfOfkmQKL6xlUUWD2eNPOu9E1BRbXM6iiwOzxpgfvRtcUWFzPoIoCs8cr/3ovuqfA4noGVRSYPV4Z50nQZwosrmdQRYHZ45XVe9E9BRbXM6iiwOzxyuK96F5btO9idp5BFQVmj5e8E0NQYHE9gyoKzB4vHLwTQ1BgcT2DKgrMHi+s3okhKLC4nkEVBWaPFxbvxBDawn0ns/MMqigwe/w23vMZzxRYXM+gigKzx2/jPZ/xTIHF9QyqKDB7/LbzPgxDgcX1DKooMHv89uB9GIYCi+sZVFFg9ng0zi+Pv0WBxfUMqigwezwa6/cznAKL6xlUUWD2eDTO74G+RYHF9QyqKDB76Og9GI4Ci+sZVDkt5ZuvDdMb+9KkEUOjlK8N0xv70qQRQ6PUaTlHXx+mdfTjPyQxNEqdlrP39WFa41+aNGJolDot57uvD9N68OM/JAUOjZNvnkMlcYmSYNzvmjhlDo3Fc6h0Ws/OF4jpLH7ch9U247sLsHgO1U5rOvgiMY2jH++hKXNo7DyHaqc1PZxe//pCMYWdH++hKXNorJ5DD07r+lsMjtm049nVPbQPU+bQOHgOvRCDYzarH+PhKXNodPWxq9PT4+Xc4xjffGcZjUKHxsl3z6I3ejo2DI9xrX5Mp6DcobH3LHqlp0uWH6fXr9Prn5fbQKfmPMtolDs0xv016A/wEPBpVs9+GsodGs3O85idB4BPMe9ZRqPsoXHwPGbnAeBTrJ77VJQ9NJrFM5mZbx53N/dZRiOGxti/DP1Ovnnc3Q/PfDpiaDTzH+j/+cZxV0fPe0piaDTtlPLBs5mRbxx31f2zP3chhsaziMsU3zTu5uBZT0sMjT/tPZ/Z+IZxNw+e9bTE0HA7z2gmvlncxeo5T00MjbfsPKdZ+EbxYUfN/hGrE0PjnJ1nNQPfJD4s4+bnn8TQuGTveY3ON4gPmefHgt9DDI1r2rdKHzy3UfnmcLP5n/w8RwyNLVpBpngAzDeGm+VdljwTQ+M92lnH4hmOxDeEm2ReljwTQ+MWBw36l8Y3gnc7KvWy5JkYGh/RCvRTA/0ncN8A3m3xTOO0EDwV3KTd92hnIKue/j9ry7W7v0gvVoz3Wj3PSGJoAFsc/L0TSwwN4Jrcj1ffIoYGcM3i75toLRBPCMBvUzyfc1diaADn7P39gr8YGsAZET/KdBMxNADXnvzlxuc5YmgAf2qflAzzsF4JMTSAZwyMLcTQAJ4N+X2iLyeGBtDs/L2BM8TQAHb+vsAFYmgg287fE7hCDA3k2vn7ARuIoYFMO38vYCMxNJBn5+8DvIMYGsjBcxj3IIYGMjAw7kUMDcyP75LckxgamNteDIz7EkMD81q977gDMTQwn3b/gu+RfBYxNDCXqf73bpfE0MA8fnq/8QnE0MD4jqfX4t3GJ2lh+xEABvJLfDrytcTQwJg4u6jSgvejAXSu/dNtzi6qiKGBcRzEo+D1xNBA/9qlCM9d9EIMDfSrPaS1emdRTAwN9OdxWIj7Fn0SQwP9YFiMQAwN1Gv3LHZiWIxBDA3UaQ9mcYNzNGJo4Gu1s4p2CfLgXcQgxNDA52v3KvbiCc45tANpBxi4h3ZG0QYFlx+zEUMD93M4vX6IpzbnJoYGbtPOJNqNzHZ/YvFeYWLtgL/sAvBKO4NolxqPA0J8NJrt/xIgSxsC/moD4fnVOrF4VwAAAIDX/gMpuapHNnE8KQAAAABJRU5ErkJggg==",te=a=>(He("data-v-fbb481f3"),a=a(),Ne(),a),dt={class:"__container_layout_header"},pt=te(()=>L("div",null,null,-1)),mt=te(()=>L("div",null,null,-1)),ft=te(()=>L("a",{href:"javascript:;"},"logout",-1)),gt={class:"username"},_t=V({__name:"layout_header",setup(a){pe(p=>({"33f79e48":i(C),"75bb75af":i(ze)}));const{appContext:{config:{globalProperties:e}}}=ue(),t=q(S.COLLAPSED),c=q(S.LOCALE);let o=z(Ye.locale);function b(p){localStorage.setItem(oe,p),C.value=p}function v(p){localStorage.removeItem(oe),C.value=Ce}function A(){Se(),Ze().then(()=>{D.replace(`/login?redirect=${N.path}`)})}const P=z([]),y=qe(),R=q(S.LAYOUT_ROUTE_KEY),x=p=>{y.mesh=p,R()};je(async()=>{const{data:p}=await Xe();P.value=p});const M=Be();ae(o,p=>{Re(p)});const H=G([{label:Y(()=>e.$t("application")),value:"applications"},{label:Y(()=>e.$t("instance")),value:"instances"},{label:Y(()=>e.$t("service")),value:"services"}]),l=z(H[0].value),d=z(""),h=async()=>{const p={keywords:d.value},m=async(_,r)=>{const{data:{list:w}}=await _(p);O.value=w.map(T=>({label:T[r],value:T[r]}))};switch(l.value){case"ip":break;case"applications":await m(Ge,"appName");break;case"instances":await m(Qe,"name");break;case"services":await m(Ve,"serviceName");break}};ae(l,async p=>{await h()});const O=z([]),K=Ke.debounce(h,300),D=k(),N=X(),F=()=>{D.replace(`/resources/${l.value}/list?query=${d.value}`)},E=()=>{};return(p,m)=>{const _=u("a-flex"),r=u("a-select-option"),w=u("a-select"),T=u("a-auto-complete"),ge=u("a-button"),_e=u("a-input-group"),ve=u("a-form-item"),he=u("a-form"),Oe=u("a-segmented"),be=u("color-picker"),Pe=u("a-popover"),ye=u("a-avatar"),xe=u("a-menu-item"),Ae=u("a-menu"),Me=u("a-dropdown"),De=u("a-layout-header");return g(),B("div",dt,[n(De,{class:"header"},{default:s(()=>[n(_,{style:{height:"100%"},justify:"space-between",align:"center"},{default:s(()=>[n(_,null,{default:s(()=>[i(t)?(g(),j(i(nt),{key:0,class:"trigger",onClick:m[0]||(m[0]=()=>t.value=!i(t))})):(g(),j(i(We),{key:1,class:"trigger",onClick:m[1]||(m[1]=()=>t.value=!i(t))}))]),_:1}),pt,n(_,{gap:20},{default:s(()=>[n(_e,{onKeyup:Ue(F,["enter"]),class:"search-group",compact:""},{default:s(()=>[n(w,{value:l.value,"onUpdate:value":m[2]||(m[2]=f=>l.value=f),class:"select-type"},{default:s(()=>[(g(!0),B(J,null,me(H,f=>(g(),j(r,{value:f.value},{default:s(()=>[U(Q(f.label),1)]),_:2},1032,["value"]))),256))]),_:1},8,["value"]),n(T,{value:d.value,"onUpdate:value":m[3]||(m[3]=f=>d.value=f),class:"input-keywords",placeholder:p.$t("globalSearchTip"),options:O.value,onSelect:E,onSearch:i(K)},null,8,["value","placeholder","options","onSearch"]),n(ge,{icon:ie(i(Le)),class:"search-icon",onClick:F},null,8,["icon"])]),_:1}),n(he,{layout:"inline"},{default:s(()=>[n(ve,{class:"mesh-select-item",label:p.$t("registryCenter"),inline:""},{default:s(()=>[n(w,{class:"mesh-select",value:i(y).mesh,options:P.value.map(f=>({value:f.name,label:f.name})),onChange:x},null,8,["value","options"])]),_:1},8,["label"])]),_:1})]),_:1}),mt,n(_,{align:"center",gap:"middle"},{default:s(()=>[n(_,{align:"center"},{default:s(()=>[n(Oe,{value:i(o),"onUpdate:value":m[4]||(m[4]=f=>Fe(o)?o.value=f:o=f),options:i(c).opts},null,8,["value","options"])]),_:1}),n(_,{align:"center"},{default:s(()=>[n(be,{pureColor:i(C),onPureColorChange:b,format:"hex6",shape:"circle",useType:"pure"},null,8,["pureColor"]),n(Pe,null,{content:s(()=>[U("reset the theme")]),default:s(()=>[n(i(de),{class:"reset-icon",icon:"material-symbols:reset-tv-outline",onClick:v})]),_:1})]),_:1}),n(_,{align:"center"},{default:s(()=>{var f,ne;return[n(Me,null,{overlay:s(()=>[n(Ae,null,{default:s(()=>[n(xe,{onClick:A},{default:s(()=>[ft]),_:1})]),_:1})]),default:s(()=>[n(ye,{onClick:m[5]||(m[5]=()=>{})},{icon:s(()=>[n(i(ct))]),_:1})]),_:1}),L("span",gt,Q((ne=(f=i(M))==null?void 0:f.userinfo)==null?void 0:ne.username),1)]}),_:1})]),_:1})]),_:1})]),_:1})])}}}),vt=Z(_t,[["__scopeId","data-v-fbb481f3"]]),ht={class:"__container_layout_bread"},Ot=V({__name:"layout_bread",setup(a){const e=X();k();let t=Y(()=>{var o;return(o=e.params)!=null&&o.pathId?e.params.pathId:""});const c=Y(()=>e.matched.slice(1).map((o,b)=>({name:o.name})));return(o,b)=>{const v=u("a-breadcrumb-item"),A=u("a-breadcrumb");return g(),B("div",ht,[n(A,null,{default:s(()=>[(g(!0),B(J,null,me(c.value,P=>(g(),j(v,null,{default:s(()=>[U(Q(o.$t(P.name)),1)]),_:2},1024))),256)),i(t)?(g(),j(v,{key:0},{default:s(()=>[U(Q(i(t)),1)]),_:1})):fe("",!0)]),_:1})])}}}),bt=Z(Ot,[["__scopeId","data-v-97925c3f"]]),Pt={class:"__container_layout_index"},yt={class:"logo"},xt=["src"],At=V({__name:"index",setup(a){pe(b=>({"1cdde0dc":i(C)}));const e=z(!1);se(S.COLLAPSED,e);const t=X(),c=z(t.fullPath),o=()=>{c.value=`${t.fullPath}-${Date.now()}`};return se(S.LAYOUT_ROUTE_KEY,o),(b,v)=>{const A=u("a-layout-sider"),P=u("router-view"),y=u("a-layout-content"),R=u("a-layout-footer"),x=u("a-layout");return g(),B("div",Pt,[n(x,{style:{height:"100vh"}},{default:s(()=>[n(A,{width:"268",collapsed:e.value,"onUpdate:collapsed":v[0]||(v[0]=M=>e.value=M),theme:"light",trigger:null,collapsible:""},{default:s(()=>[L("div",yt,[L("img",{alt:"Dubbo Admin",src:i(it)},null,8,xt),e.value?fe("",!0):(g(),B(J,{key:0},[U("Dubbo Admin")],64))]),n(ut)]),_:1},8,["collapsed"]),n(x,null,{default:s(()=>[n(vt,{collapsed:e.value},null,8,["collapsed"]),n(bt),n(y,{class:"layout-content"},{default:s(()=>[(g(),j(P,{key:c.value},{default:s(({Component:M})=>[n(Ee,{name:"slide-fade"},{default:s(()=>[(g(),j(Te(M)))]),_:2},1024)]),_:1}))]),_:1}),n(R,{class:"layout-footer"},{default:s(()=>[U("© 2024 The Apache Software Foundation. ")]),_:1})]),_:1})]),_:1})])}}}),Bt=Z(At,[["__scopeId","data-v-e6898f0d"]]);export{Bt as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-Va7nxJVK.js b/app/dubbo-ui/dist/admin/assets/index-HdnVQEsT.js
similarity index 96%
rename from app/dubbo-ui/dist/admin/assets/index-Va7nxJVK.js
rename to app/dubbo-ui/dist/admin/assets/index-HdnVQEsT.js
index 1d9af79..71b1aa4 100644
--- a/app/dubbo-ui/dist/admin/assets/index-Va7nxJVK.js
+++ b/app/dubbo-ui/dist/admin/assets/index-HdnVQEsT.js
@@ -1,6 +1,6 @@
-import{V as $,ac as J}from"./index-hmLAZQYT.js";var M={exports:{}};/*!
+import{X as $,ad as J}from"./index-3zDsduUv.js";var M={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
- */(function(x,O){(function(_,g){x.exports=g()})(J,function(){return function(){var T={686:function(s,u,t){t.d(u,{default:function(){return X}});var a=t(279),f=t.n(a),l=t(370),h=t.n(l),y=t(817),m=t.n(y);function d(i){try{return document.execCommand(i)}catch{return!1}}var v=function(n){var e=m()(n);return d("cut"),e},p=v;function E(i){var n=document.documentElement.getAttribute("dir")==="rtl",e=document.createElement("textarea");e.style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return e.style.top="".concat(r,"px"),e.setAttribute("readonly",""),e.value=i,e}var R=function(n,e){var r=E(n);e.container.appendChild(r);var o=m()(r);return d("copy"),r.remove(),o},j=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},r="";return typeof n=="string"?r=R(n,e):n instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(n==null?void 0:n.type)?r=R(n.value,e):(r=m()(n),d("copy")),r},L=j;function w(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(e){return typeof e}:w=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(i)}var D=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.action,r=e===void 0?"copy":e,o=n.container,c=n.target,b=n.text;if(r!=="copy"&&r!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(c!==void 0)if(c&&w(c)==="object"&&c.nodeType===1){if(r==="copy"&&c.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(r==="cut"&&(c.hasAttribute("readonly")||c.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(b)return L(b,{container:o});if(c)return r==="cut"?p(c):L(c,{container:o})},F=D;function S(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(e){return typeof e}:S=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(i)}function H(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function N(i,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function I(i,n,e){return n&&N(i.prototype,n),e&&N(i,e),i}function z(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),n&&k(i,n)}function k(i,n){return k=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},k(i,n)}function B(i){var n=V();return function(){var r=A(i),o;if(n){var c=A(this).constructor;o=Reflect.construct(r,arguments,c)}else o=r.apply(this,arguments);return U(this,o)}}function U(i,n){return n&&(S(n)==="object"||typeof n=="function")?n:Y(i)}function Y(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function V(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(i){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(i)}function P(i,n){var e="data-clipboard-".concat(i);if(n.hasAttribute(e))return n.getAttribute(e)}var G=function(i){z(e,i);var n=B(e);function e(r,o){var c;return H(this,e),c=n.call(this),c.resolveOptions(o),c.listenClick(r),c}return I(e,[{key:"resolveOptions",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof o.action=="function"?o.action:this.defaultAction,this.target=typeof o.target=="function"?o.target:this.defaultTarget,this.text=typeof o.text=="function"?o.text:this.defaultText,this.container=S(o.container)==="object"?o.container:document.body}},{key:"listenClick",value:function(o){var c=this;this.listener=h()(o,"click",function(b){return c.onClick(b)})}},{key:"onClick",value:function(o){var c=o.delegateTarget||o.currentTarget,b=this.action(c)||"copy",C=F({action:b,container:this.container,target:this.target(c),text:this.text(c)});this.emit(C?"success":"error",{action:b,text:C,trigger:c,clearSelection:function(){c&&c.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(o){return P("action",o)}},{key:"defaultTarget",value:function(o){var c=P("target",o);if(c)return document.querySelector(c)}},{key:"defaultText",value:function(o){return P("text",o)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(o){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return L(o,c)}},{key:"cut",value:function(o){return p(o)}},{key:"isSupported",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],c=typeof o=="string"?[o]:o,b=!!document.queryCommandSupported;return c.forEach(function(C){b=b&&!!document.queryCommandSupported(C)}),b}}]),e}(f()),X=G},828:function(s){var u=9;if(typeof Element<"u"&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}function a(f,l){for(;f&&f.nodeType!==u;){if(typeof f.matches=="function"&&f.matches(l))return f;f=f.parentNode}}s.exports=a},438:function(s,u,t){var a=t(828);function f(y,m,d,v,p){var E=h.apply(this,arguments);return y.addEventListener(d,E,p),{destroy:function(){y.removeEventListener(d,E,p)}}}function l(y,m,d,v,p){return typeof y.addEventListener=="function"?f.apply(null,arguments):typeof d=="function"?f.bind(null,document).apply(null,arguments):(typeof y=="string"&&(y=document.querySelectorAll(y)),Array.prototype.map.call(y,function(E){return f(E,m,d,v,p)}))}function h(y,m,d,v){return function(p){p.delegateTarget=a(p.target,m),p.delegateTarget&&v.call(y,p)}}s.exports=l},879:function(s,u){u.node=function(t){return t!==void 0&&t instanceof HTMLElement&&t.nodeType===1},u.nodeList=function(t){var a=Object.prototype.toString.call(t);return t!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in t&&(t.length===0||u.node(t[0]))},u.string=function(t){return typeof t=="string"||t instanceof String},u.fn=function(t){var a=Object.prototype.toString.call(t);return a==="[object Function]"}},370:function(s,u,t){var a=t(879),f=t(438);function l(d,v,p){if(!d&&!v&&!p)throw new Error("Missing required arguments");if(!a.string(v))throw new TypeError("Second argument must be a String");if(!a.fn(p))throw new TypeError("Third argument must be a Function");if(a.node(d))return h(d,v,p);if(a.nodeList(d))return y(d,v,p);if(a.string(d))return m(d,v,p);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function h(d,v,p){return d.addEventListener(v,p),{destroy:function(){d.removeEventListener(v,p)}}}function y(d,v,p){return Array.prototype.forEach.call(d,function(E){E.addEventListener(v,p)}),{destroy:function(){Array.prototype.forEach.call(d,function(E){E.removeEventListener(v,p)})}}}function m(d,v,p){return f(document.body,d,v,p)}s.exports=l},817:function(s){function u(t){var a;if(t.nodeName==="SELECT")t.focus(),a=t.value;else if(t.nodeName==="INPUT"||t.nodeName==="TEXTAREA"){var f=t.hasAttribute("readonly");f||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),f||t.removeAttribute("readonly"),a=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var l=window.getSelection(),h=document.createRange();h.selectNodeContents(t),l.removeAllRanges(),l.addRange(h),a=l.toString()}return a}s.exports=u},279:function(s){function u(){}u.prototype={on:function(t,a,f){var l=this.e||(this.e={});return(l[t]||(l[t]=[])).push({fn:a,ctx:f}),this},once:function(t,a,f){var l=this;function h(){l.off(t,h),a.apply(f,arguments)}return h._=a,this.on(t,h,f)},emit:function(t){var a=[].slice.call(arguments,1),f=((this.e||(this.e={}))[t]||[]).slice(),l=0,h=f.length;for(l;l<h;l++)f[l].fn.apply(f[l].ctx,a);return this},off:function(t,a){var f=this.e||(this.e={}),l=f[t],h=[];if(l&&a)for(var y=0,m=l.length;y<m;y++)l[y].fn!==a&&l[y].fn._!==a&&h.push(l[y]);return h.length?f[t]=h:delete f[t],this}},s.exports=u,s.exports.TinyEmitter=u}},_={};function g(s){if(_[s])return _[s].exports;var u=_[s]={exports:{}};return T[s](u,u.exports,g),u.exports}return function(){g.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return g.d(u,{a:u}),u}}(),function(){g.d=function(s,u){for(var t in u)g.o(u,t)&&!g.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:u[t]})}}(),function(){g.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)}}(),g(686)}().default})})(M);var K=M.exports;const Q=$(K),q=x=>{const O=(x==null?void 0:x.appendToBody)===void 0?!0:x.appendToBody;return{toClipboard(T,_){return new Promise((g,s)=>{const u=document.createElement("button"),t=new Q(u,{text:()=>T,action:()=>"copy",container:_!==void 0?_:document.body});t.on("success",a=>{t.destroy(),g(a)}),t.on("error",a=>{t.destroy(),s(a)}),O&&document.body.appendChild(u),u.click(),O&&document.body.removeChild(u)})}}};export{q as u};
+ */(function(x,O){(function(_,g){x.exports=g()})(J,function(){return function(){var T={686:function(s,u,t){t.d(u,{default:function(){return V}});var a=t(279),f=t.n(a),l=t(370),h=t.n(l),y=t(817),m=t.n(y);function d(i){try{return document.execCommand(i)}catch{return!1}}var v=function(n){var e=m()(n);return d("cut"),e},p=v;function E(i){var n=document.documentElement.getAttribute("dir")==="rtl",e=document.createElement("textarea");e.style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return e.style.top="".concat(r,"px"),e.setAttribute("readonly",""),e.value=i,e}var R=function(n,e){var r=E(n);e.container.appendChild(r);var o=m()(r);return d("copy"),r.remove(),o},j=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},r="";return typeof n=="string"?r=R(n,e):n instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(n==null?void 0:n.type)?r=R(n.value,e):(r=m()(n),d("copy")),r},L=j;function w(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(e){return typeof e}:w=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(i)}var D=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.action,r=e===void 0?"copy":e,o=n.container,c=n.target,b=n.text;if(r!=="copy"&&r!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(c!==void 0)if(c&&w(c)==="object"&&c.nodeType===1){if(r==="copy"&&c.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(r==="cut"&&(c.hasAttribute("readonly")||c.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(b)return L(b,{container:o});if(c)return r==="cut"?p(c):L(c,{container:o})},F=D;function S(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(e){return typeof e}:S=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(i)}function H(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function N(i,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function I(i,n,e){return n&&N(i.prototype,n),e&&N(i,e),i}function z(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),n&&k(i,n)}function k(i,n){return k=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},k(i,n)}function B(i){var n=X();return function(){var r=A(i),o;if(n){var c=A(this).constructor;o=Reflect.construct(r,arguments,c)}else o=r.apply(this,arguments);return U(this,o)}}function U(i,n){return n&&(S(n)==="object"||typeof n=="function")?n:Y(i)}function Y(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(i){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(i)}function P(i,n){var e="data-clipboard-".concat(i);if(n.hasAttribute(e))return n.getAttribute(e)}var G=function(i){z(e,i);var n=B(e);function e(r,o){var c;return H(this,e),c=n.call(this),c.resolveOptions(o),c.listenClick(r),c}return I(e,[{key:"resolveOptions",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof o.action=="function"?o.action:this.defaultAction,this.target=typeof o.target=="function"?o.target:this.defaultTarget,this.text=typeof o.text=="function"?o.text:this.defaultText,this.container=S(o.container)==="object"?o.container:document.body}},{key:"listenClick",value:function(o){var c=this;this.listener=h()(o,"click",function(b){return c.onClick(b)})}},{key:"onClick",value:function(o){var c=o.delegateTarget||o.currentTarget,b=this.action(c)||"copy",C=F({action:b,container:this.container,target:this.target(c),text:this.text(c)});this.emit(C?"success":"error",{action:b,text:C,trigger:c,clearSelection:function(){c&&c.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(o){return P("action",o)}},{key:"defaultTarget",value:function(o){var c=P("target",o);if(c)return document.querySelector(c)}},{key:"defaultText",value:function(o){return P("text",o)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(o){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return L(o,c)}},{key:"cut",value:function(o){return p(o)}},{key:"isSupported",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],c=typeof o=="string"?[o]:o,b=!!document.queryCommandSupported;return c.forEach(function(C){b=b&&!!document.queryCommandSupported(C)}),b}}]),e}(f()),V=G},828:function(s){var u=9;if(typeof Element<"u"&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}function a(f,l){for(;f&&f.nodeType!==u;){if(typeof f.matches=="function"&&f.matches(l))return f;f=f.parentNode}}s.exports=a},438:function(s,u,t){var a=t(828);function f(y,m,d,v,p){var E=h.apply(this,arguments);return y.addEventListener(d,E,p),{destroy:function(){y.removeEventListener(d,E,p)}}}function l(y,m,d,v,p){return typeof y.addEventListener=="function"?f.apply(null,arguments):typeof d=="function"?f.bind(null,document).apply(null,arguments):(typeof y=="string"&&(y=document.querySelectorAll(y)),Array.prototype.map.call(y,function(E){return f(E,m,d,v,p)}))}function h(y,m,d,v){return function(p){p.delegateTarget=a(p.target,m),p.delegateTarget&&v.call(y,p)}}s.exports=l},879:function(s,u){u.node=function(t){return t!==void 0&&t instanceof HTMLElement&&t.nodeType===1},u.nodeList=function(t){var a=Object.prototype.toString.call(t);return t!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in t&&(t.length===0||u.node(t[0]))},u.string=function(t){return typeof t=="string"||t instanceof String},u.fn=function(t){var a=Object.prototype.toString.call(t);return a==="[object Function]"}},370:function(s,u,t){var a=t(879),f=t(438);function l(d,v,p){if(!d&&!v&&!p)throw new Error("Missing required arguments");if(!a.string(v))throw new TypeError("Second argument must be a String");if(!a.fn(p))throw new TypeError("Third argument must be a Function");if(a.node(d))return h(d,v,p);if(a.nodeList(d))return y(d,v,p);if(a.string(d))return m(d,v,p);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function h(d,v,p){return d.addEventListener(v,p),{destroy:function(){d.removeEventListener(v,p)}}}function y(d,v,p){return Array.prototype.forEach.call(d,function(E){E.addEventListener(v,p)}),{destroy:function(){Array.prototype.forEach.call(d,function(E){E.removeEventListener(v,p)})}}}function m(d,v,p){return f(document.body,d,v,p)}s.exports=l},817:function(s){function u(t){var a;if(t.nodeName==="SELECT")t.focus(),a=t.value;else if(t.nodeName==="INPUT"||t.nodeName==="TEXTAREA"){var f=t.hasAttribute("readonly");f||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),f||t.removeAttribute("readonly"),a=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var l=window.getSelection(),h=document.createRange();h.selectNodeContents(t),l.removeAllRanges(),l.addRange(h),a=l.toString()}return a}s.exports=u},279:function(s){function u(){}u.prototype={on:function(t,a,f){var l=this.e||(this.e={});return(l[t]||(l[t]=[])).push({fn:a,ctx:f}),this},once:function(t,a,f){var l=this;function h(){l.off(t,h),a.apply(f,arguments)}return h._=a,this.on(t,h,f)},emit:function(t){var a=[].slice.call(arguments,1),f=((this.e||(this.e={}))[t]||[]).slice(),l=0,h=f.length;for(l;l<h;l++)f[l].fn.apply(f[l].ctx,a);return this},off:function(t,a){var f=this.e||(this.e={}),l=f[t],h=[];if(l&&a)for(var y=0,m=l.length;y<m;y++)l[y].fn!==a&&l[y].fn._!==a&&h.push(l[y]);return h.length?f[t]=h:delete f[t],this}},s.exports=u,s.exports.TinyEmitter=u}},_={};function g(s){if(_[s])return _[s].exports;var u=_[s]={exports:{}};return T[s](u,u.exports,g),u.exports}return function(){g.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return g.d(u,{a:u}),u}}(),function(){g.d=function(s,u){for(var t in u)g.o(u,t)&&!g.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:u[t]})}}(),function(){g.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)}}(),g(686)}().default})})(M);var K=M.exports;const Q=$(K),q=x=>{const O=(x==null?void 0:x.appendToBody)===void 0?!0:x.appendToBody;return{toClipboard(T,_){return new Promise((g,s)=>{const u=document.createElement("button"),t=new Q(u,{text:()=>T,action:()=>"copy",container:_!==void 0?_:document.body});t.on("success",a=>{t.destroy(),g(a)}),t.on("error",a=>{t.destroy(),s(a)}),O&&document.body.appendChild(u),u.click(),O&&document.body.removeChild(u)})}}};export{q as u};
diff --git a/app/dubbo-ui/dist/admin/assets/index-JAGQH17O.js b/app/dubbo-ui/dist/admin/assets/index-JAGQH17O.js
deleted file mode 100644
index 2d1456c..0000000
--- a/app/dubbo-ui/dist/admin/assets/index-JAGQH17O.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as T,v as g,x as S,y as C,W as N,a as $,r as D,c as l,b as t,w as n,n as o,P as E,R as V,e as b,o as c,X as p,f as r,j as A,I as B,t as y,Q as f,J as k,_ as O}from"./index-hmLAZQYT.js";import{b as P,c as Y}from"./traffic-C2a-KjHH.js";import{S as F,a as J,s as h}from"./SearchUtil-sOWd6ofa.js";import{f as M}from"./DateUtil-BI1mUH_z.js";import"./request-8jI_GZey.js";const j={class:"tag-rule-container"},G=["onClick"],K=T({__name:"index",setup(X){g(e=>({c2298156:o(E)}));const x=S(C.PROVIDE_INJECT_KEY);N(()=>{x.tagRule=null}),$();let I=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,a)=>h(e.appName,a.appName),width:140},{title:"createTime",key:"createTime",dataIndex:"createTime",width:120,sorter:(e,a)=>h(e.instanceNum,a.instanceNum)},{title:"enable",key:"enabled",dataIndex:"enabled",width:120,sorter:(e,a)=>h(e.instanceNum,a.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const s=D(new F([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],P,I)),v=async e=>{(await Y(e)).code===200&&await s.onSearch()};N(()=>{s.onSearch(),s.tableStyle={scrollX:"100",scrollY:"367px"}});const R=e=>{v(e)};return V(C.SEARCH_DOMAIN,s),(e,a)=>{const d=b("a-button"),w=b("a-popconfirm");return c(),l("div",j,[t(J,{"search-domain":s},{customOperation:n(()=>[t(d,{type:"primary",onClick:a[0]||(a[0]=m=>o(p).push("/traffic/addTagRule/addByFormView"))},{default:n(()=>[r(" 新增标签路由规则 ")]),_:1})]),bodyCell:n(({text:m,column:i,record:u})=>[i.dataIndex==="ruleName"?(c(),l("span",{key:0,class:"rule-link",onClick:_=>o(p).push(`/traffic/tagRule/formview/${u[i.key]}`)},[A("b",null,[t(o(B),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),r(" "+y(m),1)])],8,G)):f("",!0),i.dataIndex==="createTime"?(c(),l(k,{key:1},[r(y(o(M)(m)),1)],64)):f("",!0),i.dataIndex==="enabled"?(c(),l(k,{key:2},[r(y(m?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)],64)):f("",!0),i.dataIndex==="operation"?(c(),l(k,{key:3},[t(d,{type:"link",onClick:_=>o(p).push(`formview/${u.ruleName}`)},{default:n(()=>[r(" 查看 ")]),_:2},1032,["onClick"]),t(d,{onClick:_=>o(p).push(`/traffic/updateTagRule/updateByFormView/${u.ruleName}`),type:"link"},{default:n(()=>[r(" 修改 ")]),_:2},1032,["onClick"]),t(w,{title:"确认删除该标签路由规则?","ok-text":"Yes","cancel-text":"No",onConfirm:_=>R(u.ruleName)},{default:n(()=>[t(d,{type:"link"},{default:n(()=>[r(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])],64)):f("",!0)]),_:1},8,["search-domain"])])}}}),z=O(K,[["__scopeId","data-v-8b7bd8e7"]]);export{z as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-bidvosE-.js b/app/dubbo-ui/dist/admin/assets/index-PuhA8qFJ.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/index-bidvosE-.js
rename to app/dubbo-ui/dist/admin/assets/index-PuhA8qFJ.js
index 2400ed2..d6f68b0 100644
--- a/app/dubbo-ui/dist/admin/assets/index-bidvosE-.js
+++ b/app/dubbo-ui/dist/admin/assets/index-PuhA8qFJ.js
@@ -1,4 +1,4 @@
-import{V as ip,d as vk,v as gk,a as yk,r as Bv,W as mk,c as bf,j as Qo,t as xf,n as yi,b as Fn,w as On,e as ho,P as Fv,o as po,J as zv,K as Gv,G as Yv,I as Wv,f as Hv,p as bk,h as xk,_ as wk}from"./index-hmLAZQYT.js";import{g as Ok,a as Sk}from"./serverInfo-j8z5RY-E.js";import"./request-8jI_GZey.js";const _b=()=>[["cartesian"]];_b.props={};function _k(t,e){return t=t%(2*Math.PI),e=e%(2*Math.PI),t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e=e+2*Math.PI),{startAngle:t,endAngle:e}}const Mb=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1},n=Object.assign(Object.assign({},e),t);return Object.assign(Object.assign({},n),_k(n.startAngle,n.endAngle))},Cs=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Mb(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};Cs.props={};const ap=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];ap.props={transform:!0};const Mk=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},e),t)},Eb=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Mk(t);return[...ap(),...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};Eb.props={};const Pb=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},e),t)},op=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Pb(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};op.props={};const sp=()=>[["parallel",0,1,0,1]];sp.props={};const Ab=({focusX:t=0,focusY:e=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",t,e,n,r,i]];Ab.props={transform:!0};const kb=t=>{const{startAngle:e=-Math.PI/2,endAngle:n=Math.PI*3/2,innerRadius:r=0,outerRadius:i=1}=t;return[...sp(),...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};kb.props={};const Tb=({value:t})=>e=>e.map(()=>t);Tb.props={};const Cb=({value:t})=>e=>e.map(t);Cb.props={};const Lb=({value:t})=>e=>e.map(n=>n[t]);Lb.props={};const Nb=({value:t})=>()=>t;Nb.props={};var fl=function(t){return t!==null&&typeof t!="function"&&isFinite(t.length)};const Ve=function(t){return typeof t=="function"};var nt=function(t){return t==null},Ek={}.toString,Ls=function(t,e){return Ek.call(t)==="[object "+e+"]"};const Le=function(t){return Array.isArray?Array.isArray(t):Ls(t,"Array")},ki=function(t){var e=typeof t;return t!==null&&e==="object"||e==="function"};function cp(t,e){if(t){var n;if(Le(t))for(var r=0,i=t.length;r<i&&(n=e(t[r],r),n!==!1);r++);else if(ki(t)){for(var a in t)if(t.hasOwnProperty(a)&&(n=e(t[a],a),n===!1))break}}}var Pk=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return cp(t,function(n,r){Ve(t)&&r==="prototype"||e.push(r)}),e};const Rb=Pk;function Ak(t,e){var n=Rb(e),r=n.length;if(nt(t))return!r;for(var i=0;i<r;i+=1){var a=n[i];if(e[a]!==t[a]||!(a in t))return!1}return!0}var kd=function(t){return typeof t=="object"&&t!==null},Cr=function(t){if(!kd(t)||!Ls(t,"Object"))return!1;if(Object.getPrototypeOf(t)===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};function Vv(t,e){if(!Le(t))return null;var n;if(Ve(e)&&(n=e),Cr(e)&&(n=function(i){return Ak(i,e)}),n){for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r]}return null}const dl=function(t){if(Le(t))return t.reduce(function(e,n){return Math.max(e,n)},t[0])},hl=function(t){if(Le(t))return t.reduce(function(e,n){return Math.min(e,n)},t[0])};var kk=function(t,e,n){if(!Le(t)&&!Cr(t))return t;var r=n;return cp(t,function(i,a){r=e(r,i,a)}),r};const le=function(t){return Ls(t,"String")};function Ns(t){if(fl(t)){var e=t;return e[e.length-1]}}var ce=function(t,e,n){return t<e?e:t>n?n:t},de=function(t){return Ls(t,"Number")},Tk=1e-5;function Fo(t,e,n){return n===void 0&&(n=Tk),Math.abs(t-e)<n}const Ck=function(t,e){if(Le(t)){for(var n,r=-1/0,i=0;i<t.length;i++){var a=t[i],o=Ve(e)?e(a):a[e];o>r&&(n=a,r=o)}return n}},Lk=function(t,e){if(Le(t)){for(var n,r=1/0,i=0;i<t.length;i++){var a=t[i],o=Ve(e)?e(a):a[e];o<r&&(n=a,r=o)}return n}};var Ib=function(t,e){return(t%e+e)%e};const jb=function(t){return nt(t)?"":t.toString()};var Db=function(t){var e=jb(t);return e.charAt(0).toLowerCase()+e.substring(1)};function Nk(t,e){return!t||!e?t:t.replace(/\\?\{([^{}]+)\}/g,function(n,r){return n.charAt(0)==="\\"?n.slice(1):e[r]===void 0?"":e[r]})}var ii=function(t){var e=jb(t);return e.charAt(0).toUpperCase()+e.substring(1)},Xv=function(t){return Ls(t,"Boolean")},ne=function(t){return t===void 0},Jo=function(t){if(typeof t!="object"||t===null)return t;var e;if(Le(t)){e=[];for(var n=0,r=t.length;n<r;n++)typeof t[n]=="object"&&t[n]!=null?e[n]=Jo(t[n]):e[n]=t[n]}else{e={};for(var i in t)typeof t[i]=="object"&&t[i]!=null?e[i]=Jo(t[i]):e[i]=t[i]}return e};function $b(t,e,n){var r;return function(){var i=this,a=arguments,o=function(){r=null,n||t.apply(i,a)},s=n&&!r;clearTimeout(r),r=setTimeout(o,e),s&&t.apply(i,a)}}function Rk(t){var e,n,r,i=t||1;function a(s,c){++e>i&&(r=n,o(1),++e),n[s]=c}function o(s){e=0,n=Object.create(null),s||(r=Object.create(null))}return o(),{clear:o,has:function(s){return n[s]!==void 0||r[s]!==void 0},get:function(s){var c=n[s];if(c!==void 0)return c;if((c=r[s])!==void 0)return a(s,c),c},set:function(s,c){n[s]!==void 0?n[s]=c:a(s,c)}}}const Ik=function(t,e,n){if(n===void 0&&(n=128),!Ve(t))throw new TypeError("Expected a function");var r=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var o=e?e.apply(this,i):i[0],s=r.cache;if(s.has(o))return s.get(o);var c=t.apply(this,i);return s.set(o,c),c};return r.cache=Rk(n),r};var jk=5;function Dk(t,e){if(Object.hasOwn)return Object.hasOwn(t,e);if(t==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)}function Bb(t,e,n,r){n=n||0,r=r||jk;for(var i in e)if(Dk(e,i)){var a=e[i];a!==null&&Cr(a)?(Cr(t[i])||(t[i]={}),n<r?Bb(t[i],a,n+1,r):t[i]=e[i]):Le(a)?(t[i]=[],t[i]=t[i].concat(a)):a!==void 0&&(t[i]=a)}}var X=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)Bb(t,e[r]);return t},pl=function(t,e){if(t===e)return!0;if(!t||!e||le(t)||le(e))return!1;if(fl(t)||fl(e)){if(t.length!==e.length)return!1;for(var n=!0,r=0;r<t.length&&(n=pl(t[r],e[r]),!!n);r++);return n}if(kd(t)||kd(e)){var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var n=!0,r=0;r<i.length&&(n=pl(t[i[r]],e[i[r]]),!!n);r++);return n}return!1};const je=function(t,e,n){for(var r=0,i=le(e)?e.split("."):e;t&&r<i.length;)t=t[i[r++]];return t===void 0||r<i.length?n:t},$k=function(t,e,n){var r=t,i=le(e)?e.split("."):e;return i.forEach(function(a,o){o<i.length-1?(ki(r[a])||(r[a]=de(i[o+1])?[]:{}),r=r[a]):r[a]=n}),t};var Bk=Object.prototype.hasOwnProperty;const Fk=function(t,e){if(t===null||!Cr(t))return{};var n={};return cp(e,function(r){Bk.call(t,r)&&(n[r]=t[r])}),n},Fb=function(t,e){return kk(t,function(n,r,i){return e.includes(i)||(n[i]=r),n},{})},Ni=function(t,e,n){var r,i,a,o,s=0;n||(n={});var c=function(){s=n.leading===!1?0:Date.now(),r=null,o=t.apply(i,a),r||(i=a=null)},l=function(){var u=Date.now();!s&&n.leading===!1&&(s=u);var f=e-(u-s);return i=this,a=arguments,f<=0||f>e?(r&&(clearTimeout(r),r=null),s=u,o=t.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,f)),o};return l.cancel=function(){clearTimeout(r),s=0,r=i=a=null},l},wf=function(){};function Uv(t){return nt(t)?0:fl(t)?t.length:Object.keys(t).length}var Zt=1e-6,he=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});function Ja(){var t=new he(9);return he!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function zk(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function Gk(t){var e=new he(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function Yk(t,e,n,r,i,a,o,s,c){var l=new he(9);return l[0]=t,l[1]=e,l[2]=n,l[3]=r,l[4]=i,l[5]=a,l[6]=o,l[7]=s,l[8]=c,l}function Wk(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=u*o-s*l,d=-u*a+s*c,h=l*a-o*c,p=n*f+r*d+i*h;return p?(p=1/p,t[0]=f*p,t[1]=(-u*r+i*l)*p,t[2]=(s*r-i*o)*p,t[3]=d*p,t[4]=(u*n-i*c)*p,t[5]=(-s*n+i*a)*p,t[6]=h*p,t[7]=(-l*n+r*c)*p,t[8]=(o*n-r*a)*p,t):null}function Hk(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=e[8],d=n[0],h=n[1],p=n[2],v=n[3],g=n[4],y=n[5],m=n[6],b=n[7],x=n[8];return t[0]=d*r+h*o+p*l,t[1]=d*i+h*s+p*u,t[2]=d*a+h*c+p*f,t[3]=v*r+g*o+y*l,t[4]=v*i+g*s+y*u,t[5]=v*a+g*c+y*f,t[6]=m*r+b*o+x*l,t[7]=m*i+b*s+x*u,t[8]=m*a+b*c+x*f,t}function Vk(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function Xk(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function Uk(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}var qk=Hk;function Nt(){var t=new he(16);return he!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function lp(t){var e=new he(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Ri(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Kk(t,e,n,r,i,a,o,s,c,l,u,f,d,h,p,v){var g=new he(16);return g[0]=t,g[1]=e,g[2]=n,g[3]=r,g[4]=i,g[5]=a,g[6]=o,g[7]=s,g[8]=c,g[9]=l,g[10]=u,g[11]=f,g[12]=d,g[13]=h,g[14]=p,g[15]=v,g}function Td(t,e,n,r,i,a,o,s,c,l,u,f,d,h,p,v,g){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=f,t[11]=d,t[12]=h,t[13]=p,t[14]=v,t[15]=g,t}function Rs(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function zb(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function Wn(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],v=e[13],g=e[14],y=e[15],m=n*s-r*o,b=n*c-i*o,x=n*l-a*o,w=r*c-i*s,O=r*l-a*s,S=i*l-a*c,_=u*v-f*p,M=u*g-d*p,E=u*y-h*p,P=f*g-d*v,T=f*y-h*v,A=d*y-h*g,k=m*A-b*T+x*P+w*E-O*M+S*_;return k?(k=1/k,t[0]=(s*A-c*T+l*P)*k,t[1]=(i*T-r*A-a*P)*k,t[2]=(v*S-g*O+y*w)*k,t[3]=(d*O-f*S-h*w)*k,t[4]=(c*E-o*A-l*M)*k,t[5]=(n*A-i*E+a*M)*k,t[6]=(g*x-p*S-y*b)*k,t[7]=(u*S-d*x+h*b)*k,t[8]=(o*T-s*E+l*_)*k,t[9]=(r*E-n*T-a*_)*k,t[10]=(p*O-v*x+y*m)*k,t[11]=(f*x-u*O-h*m)*k,t[12]=(s*M-o*P-c*_)*k,t[13]=(n*P-r*M+i*_)*k,t[14]=(v*b-p*w-g*m)*k,t[15]=(u*w-f*b+d*m)*k,t):null}function Zk(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],v=e[13],g=e[14],y=e[15];return t[0]=s*(d*y-h*g)-f*(c*y-l*g)+v*(c*h-l*d),t[1]=-(r*(d*y-h*g)-f*(i*y-a*g)+v*(i*h-a*d)),t[2]=r*(c*y-l*g)-s*(i*y-a*g)+v*(i*l-a*c),t[3]=-(r*(c*h-l*d)-s*(i*h-a*d)+f*(i*l-a*c)),t[4]=-(o*(d*y-h*g)-u*(c*y-l*g)+p*(c*h-l*d)),t[5]=n*(d*y-h*g)-u*(i*y-a*g)+p*(i*h-a*d),t[6]=-(n*(c*y-l*g)-o*(i*y-a*g)+p*(i*l-a*c)),t[7]=n*(c*h-l*d)-o*(i*h-a*d)+u*(i*l-a*c),t[8]=o*(f*y-h*v)-u*(s*y-l*v)+p*(s*h-l*f),t[9]=-(n*(f*y-h*v)-u*(r*y-a*v)+p*(r*h-a*f)),t[10]=n*(s*y-l*v)-o*(r*y-a*v)+p*(r*l-a*s),t[11]=-(n*(s*h-l*f)-o*(r*h-a*f)+u*(r*l-a*s)),t[12]=-(o*(f*g-d*v)-u*(s*g-c*v)+p*(s*d-c*f)),t[13]=n*(f*g-d*v)-u*(r*g-i*v)+p*(r*d-i*f),t[14]=-(n*(s*g-c*v)-o*(r*g-i*v)+p*(r*c-i*s)),t[15]=n*(s*d-c*f)-o*(r*d-i*f)+u*(r*c-i*s),t}function Gb(t){var e=t[0],n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],f=t[10],d=t[11],h=t[12],p=t[13],v=t[14],g=t[15],y=e*o-n*a,m=e*s-r*a,b=e*c-i*a,x=n*s-r*o,w=n*c-i*o,O=r*c-i*s,S=l*p-u*h,_=l*v-f*h,M=l*g-d*h,E=u*v-f*p,P=u*g-d*p,T=f*g-d*v;return y*T-m*P+b*E+x*M-w*_+O*S}function $e(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],v=e[12],g=e[13],y=e[14],m=e[15],b=n[0],x=n[1],w=n[2],O=n[3];return t[0]=b*r+x*s+w*f+O*v,t[1]=b*i+x*c+w*d+O*g,t[2]=b*a+x*l+w*h+O*y,t[3]=b*o+x*u+w*p+O*m,b=n[4],x=n[5],w=n[6],O=n[7],t[4]=b*r+x*s+w*f+O*v,t[5]=b*i+x*c+w*d+O*g,t[6]=b*a+x*l+w*h+O*y,t[7]=b*o+x*u+w*p+O*m,b=n[8],x=n[9],w=n[10],O=n[11],t[8]=b*r+x*s+w*f+O*v,t[9]=b*i+x*c+w*d+O*g,t[10]=b*a+x*l+w*h+O*y,t[11]=b*o+x*u+w*p+O*m,b=n[12],x=n[13],w=n[14],O=n[15],t[12]=b*r+x*s+w*f+O*v,t[13]=b*i+x*c+w*d+O*g,t[14]=b*a+x*l+w*h+O*y,t[15]=b*o+x*u+w*p+O*m,t}function Ur(t,e,n){var r=n[0],i=n[1],a=n[2],o,s,c,l,u,f,d,h,p,v,g,y;return e===t?(t[12]=e[0]*r+e[4]*i+e[8]*a+e[12],t[13]=e[1]*r+e[5]*i+e[9]*a+e[13],t[14]=e[2]*r+e[6]*i+e[10]*a+e[14],t[15]=e[3]*r+e[7]*i+e[11]*a+e[15]):(o=e[0],s=e[1],c=e[2],l=e[3],u=e[4],f=e[5],d=e[6],h=e[7],p=e[8],v=e[9],g=e[10],y=e[11],t[0]=o,t[1]=s,t[2]=c,t[3]=l,t[4]=u,t[5]=f,t[6]=d,t[7]=h,t[8]=p,t[9]=v,t[10]=g,t[11]=y,t[12]=o*r+u*i+p*a+e[12],t[13]=s*r+f*i+v*a+e[13],t[14]=c*r+d*i+g*a+e[14],t[15]=l*r+h*i+y*a+e[15]),t}function vl(t,e,n){var r=n[0],i=n[1],a=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Qk(t,e,n,r){var i=r[0],a=r[1],o=r[2],s=Math.hypot(i,a,o),c,l,u,f,d,h,p,v,g,y,m,b,x,w,O,S,_,M,E,P,T,A,k,C;return s<Zt?null:(s=1/s,i*=s,a*=s,o*=s,c=Math.sin(n),l=Math.cos(n),u=1-l,f=e[0],d=e[1],h=e[2],p=e[3],v=e[4],g=e[5],y=e[6],m=e[7],b=e[8],x=e[9],w=e[10],O=e[11],S=i*i*u+l,_=a*i*u+o*c,M=o*i*u-a*c,E=i*a*u-o*c,P=a*a*u+l,T=o*a*u+i*c,A=i*o*u+a*c,k=a*o*u-i*c,C=o*o*u+l,t[0]=f*S+v*_+b*M,t[1]=d*S+g*_+x*M,t[2]=h*S+y*_+w*M,t[3]=p*S+m*_+O*M,t[4]=f*E+v*P+b*T,t[5]=d*E+g*P+x*T,t[6]=h*E+y*P+w*T,t[7]=p*E+m*P+O*T,t[8]=f*A+v*k+b*C,t[9]=d*A+g*k+x*C,t[10]=h*A+y*k+w*C,t[11]=p*A+m*k+O*C,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}function Yb(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=e[9],f=e[10],d=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=a*i+l*r,t[5]=o*i+u*r,t[6]=s*i+f*r,t[7]=c*i+d*r,t[8]=l*i-a*r,t[9]=u*i-o*r,t[10]=f*i-s*r,t[11]=d*i-c*r,t}function Wb(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[0],o=e[1],s=e[2],c=e[3],l=e[8],u=e[9],f=e[10],d=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i-l*r,t[1]=o*i-u*r,t[2]=s*i-f*r,t[3]=c*i-d*r,t[8]=a*r+l*i,t[9]=o*r+u*i,t[10]=s*r+f*i,t[11]=c*r+d*i,t}function Jk(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[0],o=e[1],s=e[2],c=e[3],l=e[4],u=e[5],f=e[6],d=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i+l*r,t[1]=o*i+u*r,t[2]=s*i+f*r,t[3]=c*i+d*r,t[4]=l*i-a*r,t[5]=u*i-o*r,t[6]=f*i-s*r,t[7]=d*i-c*r,t}function up(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function fp(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function tT(t,e,n){var r=n[0],i=n[1],a=n[2],o=Math.hypot(r,i,a),s,c,l;return o<Zt?null:(o=1/o,r*=o,i*=o,a*=o,s=Math.sin(e),c=Math.cos(e),l=1-c,t[0]=r*r*l+c,t[1]=i*r*l+a*s,t[2]=a*r*l-i*s,t[3]=0,t[4]=r*i*l-a*s,t[5]=i*i*l+c,t[6]=a*i*l+r*s,t[7]=0,t[8]=r*a*l+i*s,t[9]=i*a*l-r*s,t[10]=a*a*l+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}function eT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function nT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function rT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function Hb(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=r+r,c=i+i,l=a+a,u=r*s,f=r*c,d=r*l,h=i*c,p=i*l,v=a*l,g=o*s,y=o*c,m=o*l;return t[0]=1-(h+v),t[1]=f+m,t[2]=d-y,t[3]=0,t[4]=f-m,t[5]=1-(u+v),t[6]=p+g,t[7]=0,t[8]=d+y,t[9]=p-g,t[10]=1-(u+h),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function iT(t,e){var n=new he(3),r=-e[0],i=-e[1],a=-e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=r*r+i*i+a*a+o*o;return f>0?(n[0]=(s*o+u*r+c*a-l*i)*2/f,n[1]=(c*o+u*i+l*r-s*a)*2/f,n[2]=(l*o+u*a+s*i-c*r)*2/f):(n[0]=(s*o+u*r+c*a-l*i)*2,n[1]=(c*o+u*i+l*r-s*a)*2,n[2]=(l*o+u*a+s*i-c*r)*2),Hb(t,e,n),t}function gl(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function Aa(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],s=e[6],c=e[8],l=e[9],u=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,s),t[2]=Math.hypot(c,l,u),t}function yl(t,e){var n=new he(3);Aa(n,e);var r=1/n[0],i=1/n[1],a=1/n[2],o=e[0]*r,s=e[1]*i,c=e[2]*a,l=e[4]*r,u=e[5]*i,f=e[6]*a,d=e[8]*r,h=e[9]*i,p=e[10]*a,v=o+u+p,g=0;return v>0?(g=Math.sqrt(v+1)*2,t[3]=.25*g,t[0]=(f-h)/g,t[1]=(d-c)/g,t[2]=(s-l)/g):o>u&&o>p?(g=Math.sqrt(1+o-u-p)*2,t[3]=(f-h)/g,t[0]=.25*g,t[1]=(s+l)/g,t[2]=(d+c)/g):u>p?(g=Math.sqrt(1+u-o-p)*2,t[3]=(d-c)/g,t[0]=(s+l)/g,t[1]=.25*g,t[2]=(f+h)/g):(g=Math.sqrt(1+p-o-u)*2,t[3]=(s-l)/g,t[0]=(d+c)/g,t[1]=(f+h)/g,t[2]=.25*g),t}function aT(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3],c=i+i,l=a+a,u=o+o,f=i*c,d=i*l,h=i*u,p=a*l,v=a*u,g=o*u,y=s*c,m=s*l,b=s*u,x=r[0],w=r[1],O=r[2];return t[0]=(1-(p+g))*x,t[1]=(d+b)*x,t[2]=(h-m)*x,t[3]=0,t[4]=(d-b)*w,t[5]=(1-(f+g))*w,t[6]=(v+y)*w,t[7]=0,t[8]=(h+m)*O,t[9]=(v-y)*O,t[10]=(1-(f+p))*O,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function zo(t,e,n,r,i){var a=e[0],o=e[1],s=e[2],c=e[3],l=a+a,u=o+o,f=s+s,d=a*l,h=a*u,p=a*f,v=o*u,g=o*f,y=s*f,m=c*l,b=c*u,x=c*f,w=r[0],O=r[1],S=r[2],_=i[0],M=i[1],E=i[2],P=(1-(v+y))*w,T=(h+x)*w,A=(p-b)*w,k=(h-x)*O,C=(1-(d+y))*O,L=(g+m)*O,I=(p+b)*S,R=(g-m)*S,j=(1-(d+v))*S;return t[0]=P,t[1]=T,t[2]=A,t[3]=0,t[4]=k,t[5]=C,t[6]=L,t[7]=0,t[8]=I,t[9]=R,t[10]=j,t[11]=0,t[12]=n[0]+_-(P*_+k*M+I*E),t[13]=n[1]+M-(T*_+C*M+R*E),t[14]=n[2]+E-(A*_+L*M+j*E),t[15]=1,t}function dp(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n+n,s=r+r,c=i+i,l=n*o,u=r*o,f=r*s,d=i*o,h=i*s,p=i*c,v=a*o,g=a*s,y=a*c;return t[0]=1-f-p,t[1]=u+y,t[2]=d-g,t[3]=0,t[4]=u-y,t[5]=1-l-p,t[6]=h+v,t[7]=0,t[8]=d+g,t[9]=h-v,t[10]=1-l-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function oT(t,e,n,r,i,a,o){var s=1/(n-e),c=1/(i-r),l=1/(a-o);return t[0]=a*2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a*2*c,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(i+r)*c,t[10]=(o+a)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*l,t[15]=0,t}function Vb(t,e,n,r,i){var a=1/Math.tan(e/2),o;return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,i!=null&&i!==1/0?(o=1/(r-i),t[10]=(i+r)*o,t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t}var sT=Vb;function cT(t,e,n,r,i){var a=1/Math.tan(e/2),o;return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,i!=null&&i!==1/0?(o=1/(r-i),t[10]=i*o,t[14]=i*r*o):(t[10]=-1,t[14]=-r),t}function lT(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),c=2/(o+s),l=2/(i+a);return t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-((o-s)*c*.5),t[9]=(i-a)*l*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function Xb(t,e,n,r,i,a,o){var s=1/(e-n),c=1/(r-i),l=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*c,t[14]=(o+a)*l,t[15]=1,t}var Ub=Xb;function qb(t,e,n,r,i,a,o){var s=1/(e-n),c=1/(r-i),l=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=l,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*c,t[14]=a*l,t[15]=1,t}function Kb(t,e,n,r){var i,a,o,s,c,l,u,f,d,h,p=e[0],v=e[1],g=e[2],y=r[0],m=r[1],b=r[2],x=n[0],w=n[1],O=n[2];return Math.abs(p-x)<Zt&&Math.abs(v-w)<Zt&&Math.abs(g-O)<Zt?Rs(t):(u=p-x,f=v-w,d=g-O,h=1/Math.hypot(u,f,d),u*=h,f*=h,d*=h,i=m*d-b*f,a=b*u-y*d,o=y*f-m*u,h=Math.hypot(i,a,o),h?(h=1/h,i*=h,a*=h,o*=h):(i=0,a=0,o=0),s=f*o-d*a,c=d*i-u*o,l=u*a-f*i,h=Math.hypot(s,c,l),h?(h=1/h,s*=h,c*=h,l*=h):(s=0,c=0,l=0),t[0]=i,t[1]=s,t[2]=u,t[3]=0,t[4]=a,t[5]=c,t[6]=f,t[7]=0,t[8]=o,t[9]=l,t[10]=d,t[11]=0,t[12]=-(i*p+a*v+o*g),t[13]=-(s*p+c*v+l*g),t[14]=-(u*p+f*v+d*g),t[15]=1,t)}function uT(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=r[0],c=r[1],l=r[2],u=i-n[0],f=a-n[1],d=o-n[2],h=u*u+f*f+d*d;h>0&&(h=1/Math.sqrt(h),u*=h,f*=h,d*=h);var p=c*d-l*f,v=l*u-s*d,g=s*f-c*u;return h=p*p+v*v+g*g,h>0&&(h=1/Math.sqrt(h),p*=h,v*=h,g*=h),t[0]=p,t[1]=v,t[2]=g,t[3]=0,t[4]=f*g-d*v,t[5]=d*p-u*g,t[6]=u*v-f*p,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function fT(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function dT(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function hT(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function Zb(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function pT(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function vT(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function gT(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function yT(t,e){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],g=t[14],y=t[15],m=e[0],b=e[1],x=e[2],w=e[3],O=e[4],S=e[5],_=e[6],M=e[7],E=e[8],P=e[9],T=e[10],A=e[11],k=e[12],C=e[13],L=e[14],I=e[15];return Math.abs(n-m)<=Zt*Math.max(1,Math.abs(n),Math.abs(m))&&Math.abs(r-b)<=Zt*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-x)<=Zt*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(a-w)<=Zt*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(o-O)<=Zt*Math.max(1,Math.abs(o),Math.abs(O))&&Math.abs(s-S)<=Zt*Math.max(1,Math.abs(s),Math.abs(S))&&Math.abs(c-_)<=Zt*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(l-M)<=Zt*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-E)<=Zt*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(f-P)<=Zt*Math.max(1,Math.abs(f),Math.abs(P))&&Math.abs(d-T)<=Zt*Math.max(1,Math.abs(d),Math.abs(T))&&Math.abs(h-A)<=Zt*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(p-k)<=Zt*Math.max(1,Math.abs(p),Math.abs(k))&&Math.abs(v-C)<=Zt*Math.max(1,Math.abs(v),Math.abs(C))&&Math.abs(g-L)<=Zt*Math.max(1,Math.abs(g),Math.abs(L))&&Math.abs(y-I)<=Zt*Math.max(1,Math.abs(y),Math.abs(I))}var Qb=$e,mT=Zb;const bT=Object.freeze(Object.defineProperty({__proto__:null,add:hT,adjoint:Zk,clone:lp,copy:Ri,create:Nt,determinant:Gb,equals:yT,exactEquals:gT,frob:dT,fromQuat:dp,fromQuat2:iT,fromRotation:tT,fromRotationTranslation:Hb,fromRotationTranslationScale:aT,fromRotationTranslationScaleOrigin:zo,fromScaling:fp,fromTranslation:up,fromValues:Kk,fromXRotation:eT,fromYRotation:nT,fromZRotation:rT,frustum:oT,getRotation:yl,getScaling:Aa,getTranslation:gl,identity:Rs,invert:Wn,lookAt:Kb,mul:Qb,multiply:$e,multiplyScalar:pT,multiplyScalarAndAdd:vT,ortho:Ub,orthoNO:Xb,orthoZO:qb,perspective:sT,perspectiveFromFieldOfView:lT,perspectiveNO:Vb,perspectiveZO:cT,rotate:Qk,rotateX:Yb,rotateY:Wb,rotateZ:Jk,scale:vl,set:Td,str:fT,sub:mT,subtract:Zb,targetTo:uT,translate:Ur,transpose:zb},Symbol.toStringTag,{value:"Module"}));function yt(){var t=new he(3);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function br(t){var e=new he(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function wr(t){var e=t[0],n=t[1],r=t[2];return Math.hypot(e,n,r)}function St(t,e,n){var r=new he(3);return r[0]=t,r[1]=e,r[2]=n,r}function rn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Gn(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function ba(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function qv(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function xT(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function Cd(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function wT(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.hypot(n,r,i)}function Ti(t,e){var n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t}function nr(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Qc(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],c=n[2];return t[0]=i*c-a*s,t[1]=a*o-r*c,t[2]=r*s-i*o,t}function Ld(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function Oe(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t}function Jb(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function OT(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=e[0],c=e[1],l=e[2],u=i*l-a*c,f=a*s-r*l,d=r*c-i*s,h=i*d-a*f,p=a*u-r*d,v=r*f-i*u,g=o*2;return u*=g,f*=g,d*=g,h*=2,p*=2,v*=2,t[0]=s+u+h,t[1]=c+f+p,t[2]=l+d+v,t}function vo(t,e){var n=t[0],r=t[1],i=t[2],a=e[0],o=e[1],s=e[2];return Math.abs(n-a)<=Zt*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-o)<=Zt*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-s)<=Zt*Math.max(1,Math.abs(i),Math.abs(s))}var Kv=wT,tx=wr;(function(){var t=yt();return function(e,n,r,i,a,o){var s,c;for(n||(n=3),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],a(t,t,o),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2];return e}})();function da(){var t=new he(4);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function ST(t,e,n,r){var i=new he(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i}function _T(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function MT(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function ha(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t}(function(){var t=da();return function(e,n,r,i,a,o){var s,c;for(n||(n=4),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],t[3]=e[s+3],a(t,t,o),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2],e[s+3]=t[3];return e}})();function ve(){var t=new he(4);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function Hr(t,e,n){n=n*.5;var r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function qr(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],c=n[1],l=n[2],u=n[3];return t[0]=r*u+o*s+i*l-a*c,t[1]=i*u+o*c+a*s-r*l,t[2]=a*u+o*l+r*c-i*s,t[3]=o*u-r*s-i*c-a*l,t}function Of(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3],c=n[0],l=n[1],u=n[2],f=n[3],d,h,p,v,g;return h=i*c+a*l+o*u+s*f,h<0&&(h=-h,c=-c,l=-l,u=-u,f=-f),1-h>Zt?(d=Math.acos(h),p=Math.sin(d),v=Math.sin((1-r)*d)/p,g=Math.sin(r*d)/p):(v=1-r,g=r),t[0]=v*i+g*c,t[1]=v*a+g*l,t[2]=v*o+g*u,t[3]=v*s+g*f,t}function Sf(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t}function ET(t,e){var n=e[0]+e[4]+e[8],r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[i*3+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;r=Math.sqrt(e[i*3+i]-e[a*3+a]-e[o*3+o]+1),t[i]=.5*r,r=.5/r,t[3]=(e[a*3+o]-e[o*3+a])*r,t[a]=(e[a*3+i]+e[i*3+a])*r,t[o]=(e[o*3+i]+e[i*3+o])*r}return t}function oc(t,e,n,r){var i=.5*Math.PI/180;e*=i,n*=i,r*=i;var a=Math.sin(e),o=Math.cos(e),s=Math.sin(n),c=Math.cos(n),l=Math.sin(r),u=Math.cos(r);return t[0]=a*c*u-o*s*l,t[1]=o*s*u+a*c*l,t[2]=o*c*l-a*s*u,t[3]=o*c*u+a*s*l,t}var _f=ST,sc=_T,Zv=qr,ml=MT;(function(){var t=yt(),e=St(1,0,0),n=St(0,1,0);return function(r,i,a){var o=nr(i,a);return o<-.999999?(Qc(t,e,i),tx(t)<1e-6&&Qc(t,n,i),Ti(t,t),Hr(r,t,Math.PI),r):o>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(Qc(t,i,a),r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=1+o,ml(r,r))}})();(function(){var t=ve(),e=ve();return function(n,r,i,a,o,s){return Of(t,r,o,s),Of(e,i,a,s),Of(n,t,e,2*s*(1-s)),n}})();(function(){var t=Ja();return function(e,n,r,i){return t[0]=r[0],t[3]=r[1],t[6]=r[2],t[1]=i[0],t[4]=i[1],t[7]=i[2],t[2]=-n[0],t[5]=-n[1],t[8]=-n[2],ml(e,ET(e,t))}})();function PT(){var t=new he(2);return he!=Float32Array&&(t[0]=0,t[1]=0),t}function AT(t,e){var n=new he(2);return n[0]=t,n[1]=e,n}function kT(t,e){return t[0]=e[0],t[1]=e[1],t}function TT(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function CT(t,e){return t[0]*e[0]+t[1]*e[1]}function LT(t,e){return t[0]===e[0]&&t[1]===e[1]}(function(){var t=PT();return function(e,n,r,i,a,o){var s,c;for(n||(n=2),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],a(t,t,o),e[s]=t[0],e[s+1]=t[1];return e}})();var Nd=function(t,e){return Nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Nd(t,e)};function rt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Nd(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var z=function(){return z=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},z.apply(this,arguments)};function $t(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function ka(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})}function Ta(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(t,n)}catch(u){l=[6,u],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function vn(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,a=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function ex(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var a=arguments[e],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function q(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function Mf(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)}var nx={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null};function NT(t,e,n){if(t[n].length>7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}var Go={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0};function rx(t){return Array.isArray(t)&&t.every(function(e){var n=e[0].toLowerCase();return Go[n]===e.length-1&&"achlmqstvz".includes(n)})}function ix(t){return rx(t)&&t.every(function(e){var n=e[0];return n===n.toUpperCase()})}function ax(t){return ix(t)&&t.every(function(e){var n=e[0];return"ACLMQZ".includes(n)})}function Qv(t){for(var e=t.pathValue[t.segmentStart],n=e.toLowerCase(),r=t.data;r.length>=Go[n]&&(n==="m"&&r.length>2?(t.segments.push([e].concat(r.splice(0,2))),n="l",e=e==="m"?"l":"L"):t.segments.push([e].concat(r.splice(0,Go[n]))),!!Go[n]););}function RT(t){var e=t.index,n=t.pathValue,r=n.charCodeAt(e);if(r===48){t.param=0,t.index+=1;return}if(r===49){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+n[e]+'", expecting 0 or 1 at index '+e}function IT(t){return t>=48&&t<=57||t===43||t===45||t===46}function ea(t){return t>=48&&t<=57}function jT(t){var e=t.max,n=t.pathValue,r=t.index,i=r,a=!1,o=!1,s=!1,c=!1,l;if(i>=e){t.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if(l=n.charCodeAt(i),(l===43||l===45)&&(i+=1,l=n.charCodeAt(i)),!ea(l)&&l!==46){t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" is not a number';return}if(l!==46){if(a=l===48,i+=1,l=n.charCodeAt(i),a&&i<e&&l&&ea(l)){t.err="[path-util]: Invalid path value at index "+r+', "'+n[r]+'" illegal number';return}for(;i<e&&ea(n.charCodeAt(i));)i+=1,o=!0;l=n.charCodeAt(i)}if(l===46){for(c=!0,i+=1;ea(n.charCodeAt(i));)i+=1,s=!0;l=n.charCodeAt(i)}if(l===101||l===69){if(c&&!o&&!s){t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" invalid float exponent';return}if(i+=1,l=n.charCodeAt(i),(l===43||l===45)&&(i+=1),i<e&&ea(n.charCodeAt(i)))for(;i<e&&ea(n.charCodeAt(i));)i+=1;else{t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" invalid integer exponent';return}}t.index=i,t.param=+t.pathValue.slice(r,i)}function DT(t){var e=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];return t===10||t===13||t===8232||t===8233||t===32||t===9||t===11||t===12||t===160||t>=5760&&e.includes(t)}function Jc(t){for(var e=t.pathValue,n=t.max;t.index<n&&DT(e.charCodeAt(t.index));)t.index+=1}function $T(t){switch(t|32){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:return!0;default:return!1}}function BT(t){return(t|32)===97}function FT(t){var e=t.max,n=t.pathValue,r=t.index,i=n.charCodeAt(r),a=Go[n[r].toLowerCase()];if(t.segmentStart=r,!$T(i)){t.err='[path-util]: Invalid path value "'+n[r]+'" is not a path command';return}if(t.index+=1,Jc(t),t.data=[],!a){Qv(t);return}for(;;){for(var o=a;o>0;o-=1){if(BT(i)&&(o===3||o===4)?RT(t):jT(t),t.err.length)return;t.data.push(t.param),Jc(t),t.index<e&&n.charCodeAt(t.index)===44&&(t.index+=1,Jc(t))}if(t.index>=t.max||!IT(n.charCodeAt(t.index)))break}Qv(t)}var zT=function(){function t(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}return t}();function GT(t){if(rx(t))return[].concat(t);var e=new zT(t);for(Jc(e);e.index<e.max&&!e.err.length;)FT(e);return e.err?e.err:e.segments}function YT(t){if(ix(t))return[].concat(t);var e=GT(t),n=0,r=0,i=0,a=0;return e.map(function(o){var s=o.slice(1).map(Number),c=o[0],l=c.toUpperCase();if(c==="M")return n=s[0],r=s[1],i=n,a=r,["M",n,r];var u;if(c!==l)switch(l){case"A":u=[l,s[0],s[1],s[2],s[3],s[4],s[5]+n,s[6]+r];break;case"V":u=[l,s[0]+r];break;case"H":u=[l,s[0]+n];break;default:{var f=s.map(function(h,p){return h+(p%2?r:n)});u=[l].concat(f)}}else u=[l].concat(s);var d=u.length;switch(l){case"Z":n=i,r=a;break;case"H":n=u[1];break;case"V":r=u[1];break;default:n=u[d-2],r=u[d-1],l==="M"&&(i=n,a=r)}return u})}function WT(t,e){var n=t[0],r=e.x1,i=e.y1,a=e.x2,o=e.y2,s=t.slice(1).map(Number),c=t;if("TQ".includes(n)||(e.qx=null,e.qy=null),n==="H")c=["L",t[1],i];else if(n==="V")c=["L",r,t[1]];else if(n==="S"){var l=r*2-a,u=i*2-o;e.x1=l,e.y1=u,c=["C",l,u].concat(s)}else if(n==="T"){var f=r*2-e.qx,d=i*2-e.qy;e.qx=f,e.qy=d,c=["Q",f,d].concat(s)}else if(n==="Q"){var h=s[0],p=s[1];e.qx=h,e.qy=p}return c}function bl(t){if(ax(t))return[].concat(t);for(var e=YT(t),n=z({},nx),r=0;r<e.length;r+=1){e[r]=WT(e[r],n);var i=e[r],a=i.length;n.x1=+i[a-2],n.y1=+i[a-1],n.x2=+i[a-4]||n.x1,n.y2=+i[a-3]||n.y1}return e}function HT(t){return ax(t)&&t.every(function(e){var n=e[0];return"MC".includes(n)})}function cc(t,e,n){var r=t*Math.cos(n)-e*Math.sin(n),i=t*Math.sin(n)+e*Math.cos(n);return{x:r,y:i}}function hp(t,e,n,r,i,a,o,s,c,l){var u=t,f=e,d=n,h=r,p=s,v=c,g=Math.PI*120/180,y=Math.PI/180*(+i||0),m=[],b,x,w,O,S;if(l)x=l[0],w=l[1],O=l[2],S=l[3];else{b=cc(u,f,-y),u=b.x,f=b.y,b=cc(p,v,-y),p=b.x,v=b.y;var _=(u-p)/2,M=(f-v)/2,E=_*_/(d*d)+M*M/(h*h);E>1&&(E=Math.sqrt(E),d*=E,h*=E);var P=d*d,T=h*h,A=(a===o?-1:1)*Math.sqrt(Math.abs((P*T-P*M*M-T*_*_)/(P*M*M+T*_*_)));O=A*d*M/h+(u+p)/2,S=A*-h*_/d+(f+v)/2,x=Math.asin(((f-S)/h*Math.pow(10,9)>>0)/Math.pow(10,9)),w=Math.asin(((v-S)/h*Math.pow(10,9)>>0)/Math.pow(10,9)),x=u<O?Math.PI-x:x,w=p<O?Math.PI-w:w,x<0&&(x=Math.PI*2+x),w<0&&(w=Math.PI*2+w),o&&x>w&&(x-=Math.PI*2),!o&&w>x&&(w-=Math.PI*2)}var k=w-x;if(Math.abs(k)>g){var C=w,L=p,I=v;w=x+g*(o&&w>x?1:-1),p=O+d*Math.cos(w),v=S+h*Math.sin(w),m=hp(p,v,d,h,i,0,o,L,I,[w,C,O,S])}k=w-x;var R=Math.cos(x),j=Math.sin(x),D=Math.cos(w),$=Math.sin(w),B=Math.tan(k/4),F=4/3*d*B,Y=4/3*h*B,U=[u,f],K=[u+F*j,f-Y*R],V=[p+F*$,v-Y*D],W=[p,v];if(K[0]=2*U[0]-K[0],K[1]=2*U[1]-K[1],l)return K.concat(V,W,m);m=K.concat(V,W,m);for(var J=[],et=0,it=m.length;et<it;et+=1)J[et]=et%2?cc(m[et-1],m[et],y).y:cc(m[et],m[et+1],y).x;return J}function VT(t,e,n,r,i,a){var o=.3333333333333333,s=2/3;return[o*t+s*n,o*e+s*r,o*i+s*n,o*a+s*r,i,a]}function Fr(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return[r+(a-r)*n,i+(o-i)*n]}var Jv=function(t,e,n,r){var i=.5,a=Fr([t,e],[n,r],i);return q(q([],a,!0),[n,r,n,r],!1)};function XT(t,e){var n=t[0],r=t.slice(1).map(Number),i=r[0],a=r[1],o,s=e.x1,c=e.y1,l=e.x,u=e.y;switch("TQ".includes(n)||(e.qx=null,e.qy=null),n){case"M":return e.x=i,e.y=a,t;case"A":return o=[s,c].concat(r),["C"].concat(hp(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],o[8],o[9]));case"Q":return e.qx=i,e.qy=a,o=[s,c].concat(r),["C"].concat(VT(o[0],o[1],o[2],o[3],o[4],o[5]));case"L":return["C"].concat(Jv(s,c,i,a));case"Z":return s===l&&c===u?["C",s,c,l,u,l,u]:["C"].concat(Jv(s,c,l,u))}return t}function Rd(t,e){if(e===void 0&&(e=!1),HT(t)){var n=[].concat(t);return e?[n,[]]:n}for(var r=bl(t),i=z({},nx),a=[],o="",s=r.length,c,l,u=[],f=0;f<s;f+=1){r[f]&&(o=r[f][0]),a[f]=o;var d=XT(r[f],i);r[f]=d,NT(r,a,f),s=r.length,o==="Z"&&u.push(f),c=r[f],l=c.length,i.x1=+c[l-2],i.y1=+c[l-1],i.x2=+c[l-4]||i.x1,i.y2=+c[l-3]||i.y1}return e?[r,u]:r}function UT(t){return t.map(function(e){return Array.isArray(e)?[].concat(e):e})}function qT(t){var e=t.slice(1).map(function(n,r,i){return r?i[r-1].slice(-2).concat(n.slice(1)):t[0].slice(1).concat(n.slice(1))}).map(function(n){return n.map(function(r,i){return n[n.length-i-2*(1-i%2)]})}).reverse();return[["M"].concat(e[0].slice(0,2))].concat(e.map(function(n){return["C"].concat(n.slice(2))}))}function nn(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function Id(t,e,n,r,i){var a=nn([t,e],[n,r]),o={x:0,y:0};if(typeof i=="number")if(i<=0)o={x:t,y:e};else if(i>=a)o={x:n,y:r};else{var s=Fr([t,e],[n,r],i/a),c=s[0],l=s[1];o={x:c,y:l}}return{length:a,point:o,min:{x:Math.min(t,n),y:Math.min(e,r)},max:{x:Math.max(t,n),y:Math.max(e,r)}}}function tg(t,e){var n=t.x,r=t.y,i=e.x,a=e.y,o=n*i+r*a,s=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2))),c=n*a-r*i<0?-1:1,l=c*Math.acos(o/s);return l}function KT(t,e,n,r,i,a,o,s,c,l){var u=Math.abs,f=Math.sin,d=Math.cos,h=Math.sqrt,p=Math.PI,v=u(n),g=u(r),y=(i%360+360)%360,m=y*(p/180);if(t===s&&e===c)return{x:t,y:e};if(v===0||g===0)return Id(t,e,s,c,l).point;var b=(t-s)/2,x=(e-c)/2,w={x:d(m)*b+f(m)*x,y:-f(m)*b+d(m)*x},O=Math.pow(w.x,2)/Math.pow(v,2)+Math.pow(w.y,2)/Math.pow(g,2);O>1&&(v*=h(O),g*=h(O));var S=Math.pow(v,2)*Math.pow(g,2)-Math.pow(v,2)*Math.pow(w.y,2)-Math.pow(g,2)*Math.pow(w.x,2),_=Math.pow(v,2)*Math.pow(w.y,2)+Math.pow(g,2)*Math.pow(w.x,2),M=S/_;M=M<0?0:M;var E=(a!==o?1:-1)*h(M),P={x:E*(v*w.y/g),y:E*(-(g*w.x)/v)},T={x:d(m)*P.x-f(m)*P.y+(t+s)/2,y:f(m)*P.x+d(m)*P.y+(e+c)/2},A={x:(w.x-P.x)/v,y:(w.y-P.y)/g},k=tg({x:1,y:0},A),C={x:(-w.x-P.x)/v,y:(-w.y-P.y)/g},L=tg(A,C);!o&&L>0?L-=2*p:o&&L<0&&(L+=2*p),L%=2*p;var I=k+L*l,R=v*d(I),j=g*f(I),D={x:d(m)*R-f(m)*j+T.x,y:f(m)*R+d(m)*j+T.y};return D}function ZT(t,e,n,r,i,a,o,s,c,l,u){var f,d=u.bbox,h=d===void 0?!0:d,p=u.length,v=p===void 0?!0:p,g=u.sampleSize,y=g===void 0?30:g,m=typeof l=="number",b=t,x=e,w=0,O=[b,x,w],S=[b,x],_=0,M={x:0,y:0},E=[{x:b,y:x}];m&&l<=0&&(M={x:b,y:x});for(var P=0;P<=y;P+=1){if(_=P/y,f=KT(t,e,n,r,i,a,o,s,c,_),b=f.x,x=f.y,h&&E.push({x:b,y:x}),v&&(w+=nn(S,[b,x])),S=[b,x],m&&w>=l&&l>O[2]){var T=(w-l)/(w-O[2]);M={x:S[0]*(1-T)+O[0]*T,y:S[1]*(1-T)+O[1]*T}}O=[b,x,w]}return m&&l>=w&&(M={x:s,y:c}),{length:w,point:M,min:{x:Math.min.apply(null,E.map(function(A){return A.x})),y:Math.min.apply(null,E.map(function(A){return A.y}))},max:{x:Math.max.apply(null,E.map(function(A){return A.x})),y:Math.max.apply(null,E.map(function(A){return A.y}))}}}function QT(t,e,n,r,i,a,o,s,c){var l=1-c;return{x:Math.pow(l,3)*t+3*Math.pow(l,2)*c*n+3*l*Math.pow(c,2)*i+Math.pow(c,3)*o,y:Math.pow(l,3)*e+3*Math.pow(l,2)*c*r+3*l*Math.pow(c,2)*a+Math.pow(c,3)*s}}function ox(t,e,n,r,i,a,o,s,c,l){var u,f=l.bbox,d=f===void 0?!0:f,h=l.length,p=h===void 0?!0:h,v=l.sampleSize,g=v===void 0?10:v,y=typeof c=="number",m=t,b=e,x=0,w=[m,b,x],O=[m,b],S=0,_={x:0,y:0},M=[{x:m,y:b}];y&&c<=0&&(_={x:m,y:b});for(var E=0;E<=g;E+=1){if(S=E/g,u=QT(t,e,n,r,i,a,o,s,S),m=u.x,b=u.y,d&&M.push({x:m,y:b}),p&&(x+=nn(O,[m,b])),O=[m,b],y&&x>=c&&c>w[2]){var P=(x-c)/(x-w[2]);_={x:O[0]*(1-P)+w[0]*P,y:O[1]*(1-P)+w[1]*P}}w=[m,b,x]}return y&&c>=x&&(_={x:o,y:s}),{length:x,point:_,min:{x:Math.min.apply(null,M.map(function(T){return T.x})),y:Math.min.apply(null,M.map(function(T){return T.y}))},max:{x:Math.max.apply(null,M.map(function(T){return T.x})),y:Math.max.apply(null,M.map(function(T){return T.y}))}}}function JT(t,e,n,r,i,a,o){var s=1-o;return{x:Math.pow(s,2)*t+2*s*o*n+Math.pow(o,2)*i,y:Math.pow(s,2)*e+2*s*o*r+Math.pow(o,2)*a}}function t5(t,e,n,r,i,a,o,s){var c,l=s.bbox,u=l===void 0?!0:l,f=s.length,d=f===void 0?!0:f,h=s.sampleSize,p=h===void 0?10:h,v=typeof o=="number",g=t,y=e,m=0,b=[g,y,m],x=[g,y],w=0,O={x:0,y:0},S=[{x:g,y}];v&&o<=0&&(O={x:g,y});for(var _=0;_<=p;_+=1){if(w=_/p,c=JT(t,e,n,r,i,a,w),g=c.x,y=c.y,u&&S.push({x:g,y}),d&&(m+=nn(x,[g,y])),x=[g,y],v&&m>=o&&o>b[2]){var M=(m-o)/(m-b[2]);O={x:x[0]*(1-M)+b[0]*M,y:x[1]*(1-M)+b[1]*M}}b=[g,y,m]}return v&&o>=m&&(O={x:i,y:a}),{length:m,point:O,min:{x:Math.min.apply(null,S.map(function(E){return E.x})),y:Math.min.apply(null,S.map(function(E){return E.y}))},max:{x:Math.max.apply(null,S.map(function(E){return E.x})),y:Math.max.apply(null,S.map(function(E){return E.y}))}}}function sx(t,e,n){for(var r,i,a,o,s,c,l=bl(t),u=typeof e=="number",f,d=[],h,p=0,v=0,g=0,y=0,m,b=[],x=[],w=0,O={x:0,y:0},S=O,_=O,M=O,E=0,P=0,T=l.length;P<T;P+=1)m=l[P],h=m[0],f=h==="M",d=f?d:[p,v].concat(m.slice(1)),f?(g=m[1],y=m[2],O={x:g,y},S=O,w=0,u&&e<.001&&(M=O)):h==="L"?(r=Id(d[0],d[1],d[2],d[3],(e||0)-E),w=r.length,O=r.min,S=r.max,_=r.point):h==="A"?(i=ZT(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],(e||0)-E,n||{}),w=i.length,O=i.min,S=i.max,_=i.point):h==="C"?(a=ox(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],(e||0)-E,n||{}),w=a.length,O=a.min,S=a.max,_=a.point):h==="Q"?(o=t5(d[0],d[1],d[2],d[3],d[4],d[5],(e||0)-E,n||{}),w=o.length,O=o.min,S=o.max,_=o.point):h==="Z"&&(d=[p,v,g,y],s=Id(d[0],d[1],d[2],d[3],(e||0)-E),w=s.length,O=s.min,S=s.max,_=s.point),u&&E<e&&E+w>=e&&(M=_),x.push(S),b.push(O),E+=w,c=h!=="Z"?m.slice(-2):[g,y],p=c[0],v=c[1];return u&&e>=E&&(M={x:p,y:v}),{length:E,point:M,min:{x:Math.min.apply(null,b.map(function(A){return A.x})),y:Math.min.apply(null,b.map(function(A){return A.y}))},max:{x:Math.max.apply(null,x.map(function(A){return A.x})),y:Math.max.apply(null,x.map(function(A){return A.y}))}}}function e5(t,e){return sx(t,void 0,z(z({},e),{bbox:!1,length:!0})).length}function n5(t){var e=t.length,n=e-1;return t.map(function(r,i){return t.map(function(a,o){var s=i+o,c;return o===0||t[s]&&t[s][0]==="M"?(c=t[s],["M"].concat(c.slice(-2))):(s>=e&&(s-=n),t[s])})})}function r5(t,e){var n=t.length-1,r=[],i=0,a=0,o=n5(t);return o.forEach(function(s,c){t.slice(1).forEach(function(l,u){a+=nn(t[(c+u)%n].slice(-2),e[u%n].slice(-2))}),r[c]=a,a=0}),i=r.indexOf(Math.min.apply(null,r)),o[i]}function i5(t,e,n,r,i,a,o,s){return 3*((s-e)*(n+i)-(o-t)*(r+a)+r*(t-i)-n*(e-a)+s*(i+t/3)-o*(a+e/3))/20}function a5(t){var e=0,n=0,r=0;return Rd(t).map(function(i){var a;switch(i[0]){case"M":return e=i[1],n=i[2],0;default:var o=i.slice(1),s=o[0],c=o[1],l=o[2],u=o[3],f=o[4],d=o[5];return r=i5(e,n,s,c,l,u,f,d),a=i.slice(-2),e=a[0],n=a[1],r}}).reduce(function(i,a){return i+a},0)}function eg(t){return a5(t)>=0}function o5(t,e,n){return sx(t,e,z(z({},n),{bbox:!1,length:!0})).point}function s5(t,e){e===void 0&&(e=.5);var n=t.slice(0,2),r=t.slice(2,4),i=t.slice(4,6),a=t.slice(6,8),o=Fr(n,r,e),s=Fr(r,i,e),c=Fr(i,a,e),l=Fr(o,s,e),u=Fr(s,c,e),f=Fr(l,u,e);return[["C"].concat(o,l,f),["C"].concat(u,c,a)]}function ng(t){return t.map(function(e,n,r){var i=n&&r[n-1].slice(-2).concat(e.slice(1)),a=n?ox(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],{bbox:!1}).length:0,o;return n?o=a?s5(i):[e,e]:o=[e],{s:e,ss:o,l:a}})}function cx(t,e,n){var r=ng(t),i=ng(e),a=r.length,o=i.length,s=r.filter(function(g){return g.l}).length,c=i.filter(function(g){return g.l}).length,l=r.filter(function(g){return g.l}).reduce(function(g,y){var m=y.l;return g+m},0)/s||0,u=i.filter(function(g){return g.l}).reduce(function(g,y){var m=y.l;return g+m},0)/c||0,f=n||Math.max(a,o),d=[l,u],h=[f-a,f-o],p=0,v=[r,i].map(function(g,y){return g.l===f?g.map(function(m){return m.s}):g.map(function(m,b){return p=b&&h[y]&&m.l>=d[y],h[y]-=p?1:0,p?m.ss:[m.s]}).flat()});return v[0].length===v[1].length?v:cx(v[0],v[1],f)}function rg(t){var e=document.createElement("div");e.innerHTML=t;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}function Wt(t,e){if(t!==null)return{type:"column",value:t,field:e}}function yu(t,e){const n=Wt(t,e);return Object.assign(Object.assign({},n),{inferred:!0})}function xl(t,e){if(t!==null)return{type:"column",value:t,field:e,visual:!0}}function c5(t,e){const n=Wt(t,e);return Object.assign(Object.assign({},n),{constant:!1})}function Kr(t,e){const n=[];for(const r of t)n[r]=e;return n}function Ot(t,e){const n=t[e];if(!n)return[null,null];const{value:r,field:i=null}=n;return[r,i]}function ts(t,...e){for(const n of e)if(typeof n=="string"){const[r,i]=Ot(t,n);if(r!==null)return[r,i]}else return[n,null];return[null,null]}function Is(t){return t instanceof Date?!1:typeof t=="object"}const js=()=>(t,e)=>{const{encode:n}=e,{y1:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{y1:yu(Kr(t,0))}})]};js.props={};function oe(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function l5(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ca(t){let e,n,r;t.length!==2?(e=oe,n=(s,c)=>oe(t(s),c),r=(s,c)=>t(s)-c):(e=t===oe||t===l5?t:u5,n=t,r=t);function i(s,c,l=0,u=s.length){if(l<u){if(e(c,c)!==0)return u;do{const f=l+u>>>1;n(s[f],c)<0?l=f+1:u=f}while(l<u)}return l}function a(s,c,l=0,u=s.length){if(l<u){if(e(c,c)!==0)return u;do{const f=l+u>>>1;n(s[f],c)<=0?l=f+1:u=f}while(l<u)}return l}function o(s,c,l=0,u=s.length){const f=i(s,c,l,u-1);return f>l&&r(s[f-1],c)>-r(s[f],c)?f-1:f}return{left:i,center:o,right:a}}function u5(){return 0}function jd(t){return t===null?NaN:+t}function*f5(t,e){if(e===void 0)for(let n of t)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)(r=e(r,++n,t))!=null&&(r=+r)>=r&&(yield r)}}const lx=Ca(oe),d5=lx.right,h5=lx.left,p5=Ca(jd).center;function ux(t,e){let n=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(i=+i)>=i&&++n}return n}function v5(t,e){let n=0,r,i=0,a=0;if(e===void 0)for(let o of t)o!=null&&(o=+o)>=o&&(r=o-i,i+=r/++n,a+=r*(o-i));else{let o=-1;for(let s of t)(s=e(s,++o,t))!=null&&(s=+s)>=s&&(r=s-i,i+=r/++n,a+=r*(s-i))}if(n>1)return a/(n-1)}function fx(t,e){const n=v5(t,e);return n&&Math.sqrt(n)}function Mr(t,e){let n,r;if(e===void 0)for(const i of t)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let a of t)(a=e(a,++i,t))!=null&&(n===void 0?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}return[n,r]}class Ii{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const n=this._partials;let r=0;for(let i=0;i<this._n&&i<32;i++){const a=n[i],o=e+a,s=Math.abs(e)<Math.abs(a)?e-(o-a):a-(o-e);s&&(n[r++]=s),e=o}return n[r]=e,this._n=r+1,this}valueOf(){const e=this._partials;let n=this._n,r,i,a,o=0;if(n>0){for(o=e[--n];n>0&&(r=o,i=e[--n],o=r+i,a=i-(o-r),!a););n>0&&(a<0&&e[n-1]<0||a>0&&e[n-1]>0)&&(i=a*2,r=o+i,i==r-o&&(o=r))}return o}}let g5=class extends Map{constructor(e,n=b5){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(ig(this,e))}has(e){return super.has(ig(this,e))}set(e,n){return super.set(y5(this,e),n)}delete(e){return super.delete(m5(this,e))}};function ig({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function y5({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function m5({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function b5(t){return t!==null&&typeof t=="object"?t.valueOf():t}function es(t){return t}function te(t,...e){return mu(t,es,es,e)}function pp(t,...e){return mu(t,Array.from,es,e)}function vp(t,e,...n){return mu(t,es,e,n)}function dx(t,e,...n){return mu(t,Array.from,e,n)}function mu(t,e,n,r){return function i(a,o){if(o>=r.length)return n(a);const s=new g5,c=r[o++];let l=-1;for(const u of a){const f=c(u,++l,a),d=s.get(f);d?d.push(u):s.set(f,[u])}for(const[u,f]of s)s.set(u,i(f,o));return e(s)}(t,0)}function x5(t,e){return Array.from(e,n=>t[n])}function Er(t,...e){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");t=Array.from(t);let[n]=e;if(n&&n.length!==2||e.length>1){const r=Uint32Array.from(t,(i,a)=>a);return e.length>1?(e=e.map(i=>t.map(i)),r.sort((i,a)=>{for(const o of e){const s=ns(o[i],o[a]);if(s)return s}})):(n=t.map(n),r.sort((i,a)=>ns(n[i],n[a]))),x5(t,r)}return t.sort(hx(n))}function hx(t=oe){if(t===oe)return ns;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function ns(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(t<e?-1:t>e?1:0)}function w5(t,e,n){return(e.length!==2?Er(vp(t,e,n),([r,i],[a,o])=>oe(i,o)||oe(r,a)):Er(te(t,n),([r,i],[a,o])=>e(i,o)||oe(r,a))).map(([r])=>r)}var O5=Array.prototype,S5=O5.slice;function Ef(t){return()=>t}const _5=Math.sqrt(50),M5=Math.sqrt(10),E5=Math.sqrt(2);function wl(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=_5?10:a>=M5?5:a>=E5?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(t*l),c=Math.round(e*l),s/l<t&&++s,c/l>e&&--c,l=-l):(l=Math.pow(10,i)*o,s=Math.round(t/l),c=Math.round(e/l),s*l<t&&++s,c*l>e&&--c),c<s&&.5<=n&&n<2?wl(t,e,n*2):[s,c,l]}function P5(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,a,o]=r?wl(e,t,n):wl(t,e,n);if(!(a>=i))return[];const s=a-i+1,c=new Array(s);if(r)if(o<0)for(let l=0;l<s;++l)c[l]=(a-l)/-o;else for(let l=0;l<s;++l)c[l]=(a-l)*o;else if(o<0)for(let l=0;l<s;++l)c[l]=(i+l)/-o;else for(let l=0;l<s;++l)c[l]=(i+l)*o;return c}function Dd(t,e,n){return e=+e,t=+t,n=+n,wl(t,e,n)[2]}function A5(t,e,n){let r;for(;;){const i=Dd(t,e,n);if(i===r||i===0||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}function k5(t){return Math.max(1,Math.ceil(Math.log(ux(t))/Math.LN2)+1)}function T5(){var t=es,e=Mr,n=k5;function r(i){Array.isArray(i)||(i=Array.from(i));var a,o=i.length,s,c,l=new Array(o);for(a=0;a<o;++a)l[a]=t(i[a],a,i);var u=e(l),f=u[0],d=u[1],h=n(l,f,d);if(!Array.isArray(h)){const b=d,x=+h;if(e===Mr&&([f,d]=A5(f,d,x)),h=P5(f,d,x),h[0]<=f&&(c=Dd(f,d,x)),h[h.length-1]>=d)if(b>=d&&e===Mr){const w=Dd(f,d,x);isFinite(w)&&(w>0?d=(Math.floor(d/w)+1)*w:w<0&&(d=(Math.ceil(d*-w)+1)/-w))}else h.pop()}for(var p=h.length,v=0,g=p;h[v]<=f;)++v;for(;h[g-1]>d;)--g;(v||g<p)&&(h=h.slice(v,g),p=g-v);var y=new Array(p+1),m;for(a=0;a<=p;++a)m=y[a]=[],m.x0=a>0?h[a-1]:f,m.x1=a<p?h[a]:d;if(isFinite(c)){if(c>0)for(a=0;a<o;++a)(s=l[a])!=null&&f<=s&&s<=d&&y[Math.min(p,Math.floor((s-f)/c))].push(i[a]);else if(c<0){for(a=0;a<o;++a)if((s=l[a])!=null&&f<=s&&s<=d){const b=Math.floor((f-s)*c);y[Math.min(p,b+(h[b]<=s))].push(i[a])}}}else for(a=0;a<o;++a)(s=l[a])!=null&&f<=s&&s<=d&&y[d5(h,s,0,p)].push(i[a]);return y}return r.value=function(i){return arguments.length?(t=typeof i=="function"?i:Ef(i),r):t},r.domain=function(i){return arguments.length?(e=typeof i=="function"?i:Ef([i[0],i[1]]),r):e},r.thresholds=function(i){return arguments.length?(n=typeof i=="function"?i:Ef(Array.isArray(i)?S5.call(i):i),r):n},r}function Ct(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function to(t,e){let n,r=-1,i=-1;if(e===void 0)for(const a of t)++i,a!=null&&(n<a||n===void 0&&a>=a)&&(n=a,r=i);else for(let a of t)(a=e(a,++i,t))!=null&&(n<a||n===void 0&&a>=a)&&(n=a,r=i);return r}function bn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function bu(t,e){let n,r=-1,i=-1;if(e===void 0)for(const a of t)++i,a!=null&&(n>a||n===void 0&&a>=a)&&(n=a,r=i);else for(let a of t)(a=e(a,++i,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a,r=i);return r}function gp(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=i===void 0?ns:hx(i);r>n;){if(r-n>600){const c=r-n+1,l=e-n+1,u=Math.log(c),f=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*f*(c-f)/c)*(l-c/2<0?-1:1),h=Math.max(n,Math.floor(e-l*f/c+d)),p=Math.min(r,Math.floor(e+(c-l)*f/c+d));gp(t,e,h,p,i)}const a=t[e];let o=n,s=r;for(go(t,n,e),i(t[r],a)>0&&go(t,n,r);o<s;){for(go(t,o,s),++o,--s;i(t[o],a)<0;)++o;for(;i(t[s],a)>0;)--s}i(t[n],a)===0?go(t,n,s):(++s,go(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function go(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function C5(t,e=oe){let n,r=!1;if(e.length===1){let i;for(const a of t){const o=e(a);(r?oe(o,i)>0:oe(o,o)===0)&&(n=a,i=o,r=!0)}}else for(const i of t)(r?e(i,n)>0:e(i,i)===0)&&(n=i,r=!0);return n}function xu(t,e,n){if(t=Float64Array.from(f5(t,n)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return bn(t);if(e>=1)return Ct(t);var r,i=(r-1)*e,a=Math.floor(i),o=Ct(gp(t,a).subarray(0,a+1)),s=bn(t.subarray(a+1));return o+(s-o)*(i-a)}}function L5(t,e,n=jd){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(s,c)=>jd(n(t[c],c,t))),e<=0)return bu(r);if(e>=1)return to(r);var r,i=Uint32Array.from(t,(s,c)=>c),a=r.length-1,o=Math.floor(a*e);return gp(i,o,0,a,(s,c)=>ns(r[s],r[c])),o=C5(i.subarray(0,o+1),s=>r[s]),o>=0?o:-1}}function N5(t,e,n){const r=ux(t),i=fx(t);return r&&i?Math.ceil((n-e)*Math.cbrt(r)/(3.49*i)):1}function rs(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let a of t)(a=e(a,++i,t))!=null&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}function yp(t,e){return xu(t,.5,e)}function R5(t,e){return L5(t,.5,e)}function*I5(t){for(const e of t)yield*e}function px(t){return Array.from(I5(t))}function pa(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,a=new Array(i);++r<i;)a[r]=t+r*n;return a}function Cn(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}var j5=function(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};function ji(t){return t}function mp(t){return t.reduce((e,n)=>(r,...i)=>n(e(r,...i),...i),ji)}function D5(t){return t.reduce((e,n)=>r=>j5(this,void 0,void 0,function*(){const i=yield e(r);return n(i)}),ji)}function bp(t){return t.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function La(t=""){throw new Error(t)}function xp(t,e){const{attributes:n}=e,r=new Set(["id","className"]);for(const[i,a]of Object.entries(n))r.has(i)||(i==="transform"&&t.attr(i,""),t.attr(i,a))}function zt(t){return t!=null&&!Number.isNaN(t)}function $5(t){const e=new Map;return n=>{if(e.has(n))return e.get(n);const r=t(n);return e.set(n,r),r}}function B5(t,e){const{transform:n}=t.style,i=(a=>a==="none"||a===void 0)(n)?"":n;t.style.transform=`${i} ${e}`.trimStart()}function Q(t,e){return vx(t,e)||{}}function vx(t,e){const n=Object.entries(t||{}).filter(([r])=>r.startsWith(e)).map(([r,i])=>[Db(r.replace(e,"").trim()),i]).filter(([r])=>!!r);return n.length===0?null:Object.fromEntries(n)}function F5(t,e){return Object.fromEntries(Object.entries(t).filter(([n])=>e.find(r=>n.startsWith(r))))}function Pf(t,...e){return Object.fromEntries(Object.entries(t).filter(([n])=>e.every(r=>!n.startsWith(r))))}function ag(t,e){if(t===void 0)return null;if(typeof t=="number")return t;const n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function is(t){return typeof t=="object"&&!(t instanceof Date)&&t!==null&&!Array.isArray(t)}function Lr(t){return t===null||t===!1}function gx(t,e,n=5,r=0){if(!(r>=n)){for(const i of Object.keys(e)){const a=e[i];!Cr(a)||!Cr(t[i])?t[i]=a:gx(t[i],a,n,r+1)}return t}}function ai(t,e){return Object.entries(t).reduce((n,[r,i])=>(n[r]=e(i,r,t),n),{})}function Ui(t){return t.map((e,n)=>n)}function z5(t){return t[0]}function yx(t){return t[t.length-1]}function G5(t){return Array.from(new Set(t))}function mx(t,e){const n=[[],[]];return t.forEach(r=>{n[e(r)?0:1].push(r)}),n}function bx(t,e=t.length){if(e===1)return t.map(r=>[r]);const n=[];for(let r=0;r<t.length;r++){const i=t.slice(r+1);bx(i,e-1).forEach(o=>{n.push([t[r],...o])})}return n}function Y5(t){if(t.length===1)return[t];const e=[];for(let n=1;n<=t.length;n++)e.push(...bx(t,n));return e}function oi(t,e,n){const{encode:r}=n;if(t===null)return[e];const i=W5(t).map(o=>{var s;return[o,(s=Ot(r,o))===null||s===void 0?void 0:s[0]]}).filter(([,o])=>zt(o)),a=o=>i.map(([,s])=>s[o]).join("-");return Array.from(te(e,a).values())}function xx(t){return Array.isArray(t)?X5(t):typeof t=="function"?V5(t):t==="series"?H5:t==="value"?U5:t==="sum"?q5:t==="maxIndex"?K5:()=>null}function wx(t,e){for(const n of t)n.sort(e)}function Ox(t,e){return(e==null?void 0:e.domain)||Array.from(new Set(t))}function W5(t){return Array.isArray(t)?t:[t]}function H5(t,e,n){return Ds(r=>n[r])}function V5(t){return(e,n,r)=>Ds(i=>t(e[i]))}function X5(t){return(e,n,r)=>(i,a)=>t.reduce((o,s)=>o!==0?o:oe(e[i][s],e[a][s]),0)}function U5(t,e,n){return Ds(r=>e[r])}function q5(t,e,n){const r=Ui(t),i=Array.from(te(r,o=>n[+o]).entries()),a=new Map(i.map(([o,s])=>[o,s.reduce((c,l)=>c+ +e[l])]));return Ds(o=>a.get(n[o]))}function K5(t,e,n){const r=Ui(t),i=Array.from(te(r,o=>n[+o]).entries()),a=new Map(i.map(([o,s])=>[o,to(s,c=>e[c])]));return Ds(o=>a.get(n[o]))}function Ds(t){return(e,n)=>oe(t(e),t(n))}const Sx=(t={})=>{const{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(s,c)=>{const{data:l,encode:u,style:f={}}=c,[d,h]=Ot(u,"y"),[p,v]=Ot(u,"y1"),[g]=o?ts(u,"series","color"):Ot(u,"color"),y=oi(e,s,c),b=xx(n)(l,d,g);b&&wx(y,b);const x=new Array(s.length),w=new Array(s.length),O=new Array(s.length),S=[],_=[];for(const A of y){r&&A.reverse();const k=p?+p[A[0]]:0,C=[],L=[];for(const F of A){const Y=O[F]=+d[F]-k;Y<0?L.push(F):Y>=0&&C.push(F)}const I=C.length>0?C:L,R=L.length>0?L:C;let j=C.length-1,D=0;for(;j>0&&d[I[j]]===0;)j--;for(;D<R.length-1&&d[R[D]]===0;)D++;S.push(I[j]),_.push(R[D]);let $=k;for(const F of L.reverse()){const Y=O[F];$=x[F]=(w[F]=$)+Y}let B=k;for(const F of C){const Y=O[F];Y>0?B=x[F]=(w[F]=B)+Y:x[F]=w[F]=B}}const M=new Set(S),E=new Set(_),P=i==="y"?x:w,T=a==="y"?x:w;return[s,X({},c,{encode:{y0:yu(d,h),y:Wt(P,h),y1:Wt(T,v)},style:Object.assign({first:(A,k)=>M.has(k),last:(A,k)=>E.has(k)},f)})]}};Sx.props={};function yo(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}function Z5(t){const e=t.getFullYear(),n=yo(t.getMonth()+1),r=yo(t.getDate()),i=`${e}-${n}-${r}`,a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return a||o||s?`${i} ${yo(a)}:${yo(o)}:${yo(s)}`:i}const wu=(t={})=>{const{channel:e="x"}=t;return(n,r)=>{const{encode:i}=r,{tooltip:a}=r;if(Lr(a))return[n,r];const{title:o}=a;if(o!==void 0)return[n,r];const s=Object.keys(i).filter(l=>l.startsWith(e)).filter(l=>!i[l].inferred).map(l=>Ot(i,l)).filter(([l])=>l).map(l=>l[0]);if(s.length===0)return[n,r];const c=[];for(const l of n)c[l]={value:s.map(u=>u[l]instanceof Date?Z5(u[l]):u[l]).join(", ")};return[n,X({},r,{tooltip:{title:c}})]}};wu.props={};const qi=()=>(t,e)=>{const{encode:n}=e,{x:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{x:yu(Kr(t,0))},scale:{x:{guide:null}}})]};qi.props={};const Ou=()=>(t,e)=>{const{encode:n}=e,{y:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{y:yu(Kr(t,0))},scale:{y:{guide:null}}})]};Ou.props={};const _x=()=>(t,e)=>{const{encode:n}=e,{size:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{size:xl(Kr(t,3))}})]};_x.props={};var Q5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Mx=()=>(t,e)=>{const{encode:n}=e,{key:r}=n,i=Q5(n,["key"]);if(r!==void 0)return[t,e];const a=Object.values(i).map(({value:s})=>s),o=t.map(s=>a.filter(Array.isArray).map(c=>c[s]).join("-"));return[t,X({},e,{encode:{key:Wt(o)}})]};Mx.props={};const wp=()=>(t,e)=>{const{encode:n}=e,{series:r,color:i}=n;if(r!==void 0||i===void 0)return[t,e];const[a,o]=Ot(n,"color");return[t,X({},e,{encode:{series:Wt(a,o)}})]};wp.props={};const Ex=()=>(t,e)=>{const{data:n}=e;return!Array.isArray(n)||n.some(Is)?[t,e]:[t,X({},e,{encode:{y:Wt(n)}})]};Ex.props={};const Px=()=>(t,e)=>{const{data:n}=e;return!Array.isArray(n)||n.some(Is)?[t,e]:[t,X({},e,{encode:{x:Wt(n)}})]};Px.props={};const Ax=()=>(t,e)=>{const{encode:n}=e,{y1:r}=n;if(r)return[t,e];const[i]=Ot(n,"y");return[t,X({},e,{encode:{y1:Wt([...i])}})]};Ax.props={};const kx=()=>(t,e)=>{const{encode:n}=e,{x1:r}=n;if(r)return[t,e];const[i]=Ot(n,"x");return[t,X({},e,{encode:{x1:Wt([...i])}})]};kx.props={};const Tx=()=>(t,e)=>{const{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(Is))){const r=(i,a)=>Array.isArray(i[0])?i.map(o=>o[a]):[i[a]];return[t,X({},e,{encode:{x:Wt(r(n,0)),x1:Wt(r(n,1))}})]}return[t,e]};Tx.props={};const Cx=()=>(t,e)=>{const{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(Is))){const r=(i,a)=>Array.isArray(i[0])?i.map(o=>o[a]):[i[a]];return[t,X({},e,{encode:{y:Wt(r(n,0)),y1:Wt(r(n,1))}})]}return[t,e]};Cx.props={};const Su=t=>{const{channel:e}=t;return(n,r)=>{const{encode:i,tooltip:a}=r;if(Lr(a))return[n,r];const{items:o=[]}=a;if(!o||o.length>0)return[n,r];const c=(Array.isArray(e)?e:[e]).flatMap(l=>Object.keys(i).filter(u=>u.startsWith(l)).map(u=>{const{field:f,value:d,inferred:h=!1,aggregate:p}=i[u];return h?null:p&&d?{channel:u}:f?{field:f}:d?{channel:u}:null}).filter(u=>u!==null));return[n,X({},r,{tooltip:{items:c}})]}};Su.props={};const Op=()=>(t,e)=>[t,X({scale:{x:{padding:0},y:{padding:0}}},e)];Op.props={};var og=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const _u=()=>(t,e)=>{const{data:n,style:r={}}=e,i=og(e,["data","style"]),{x:a,y:o}=r,s=og(r,["x","y"]);if(a==null||o==null)return[t,e];const c=a||0,l=o||0;return[[0],X({},i,{data:[0],cartesian:!0,encode:{x:Wt([c]),y:Wt([l])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};_u.props={};const Lx=()=>(t,e)=>{const{style:n={}}=e;return[t,X({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,r])=>typeof r=="function").map(([r,i])=>[r,()=>i])))})]};Lx.props={};const Mu=()=>(t,e)=>{const{data:n}=e;if(!Array.isArray(n)||n.some(Is))return[t,e];const r=Array.isArray(n[0])?n:[n],i=r.map(o=>o[0]),a=r.map(o=>o[1]);return[t,X({},e,{encode:{x:Wt(i),y:Wt(a)}})]};Mu.props={};const Nx=()=>(t,e)=>{const{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,X({},e,{encode:{series:xl(Kr(t,void 0))}})]};Nx.props={};var J5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Rx=(t={})=>{const{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return J5(t,["groupBy","reverse","orderBy","padding"]),(a,o)=>{const{data:s,encode:c,scale:l}=o,{series:u}=l,[f]=Ot(c,"y"),[d]=ts(c,"series","color"),h=Ox(d,u),p=oi(e,a,o),g=xx(r)(s,f,d);g&&wx(p,g);const y=new Array(a.length);for(const m of p){n&&m.reverse();for(let b=0;b<m.length;b++)y[m[b]]=h[b]}return[a,X({},o,{scale:{series:{domain:h,paddingInner:i}},encode:{series:Wt(y)}})]}};Rx.props={};const Ix=t=>{const{groupBy:e=["x"],reducer:n=(o,s)=>s[o[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(o,s)=>{const{encode:c}=s,u=(Array.isArray(e)?e:[e]).map(g=>[g,Ot(c,g)[0]]);if(u.length===0)return[o,s];let f=[o];for(const[,g]of u){const y=[];for(const m of f){const b=Array.from(te(m,x=>g[x]).values());y.push(...b)}f=y}if(r){const[g]=Ot(c,r);g&&f.sort((y,m)=>n(y,g)-n(m,g)),i&&f.reverse()}const d=(a||3e3)/f.length,[h]=a?[Kr(o,d)]:ts(c,"enterDuration",Kr(o,d)),[p]=ts(c,"enterDelay",Kr(o,0)),v=new Array(o.length);for(let g=0,y=0;g<f.length;g++){const m=f[g],b=Ct(m,x=>+h[x]);for(const x of m)v[x]=+p[x]+y;y+=b}return[o,X({},s,{encode:{enterDuration:xl(h),enterDelay:xl(v)}})]}};Ix.props={};var t3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function e3(t){return typeof t=="function"?t:{min:(n,r)=>bn(n,i=>r[+i]),max:(n,r)=>Ct(n,i=>r[+i]),first:(n,r)=>r[n[0]],last:(n,r)=>r[n[n.length-1]],mean:(n,r)=>rs(n,i=>r[+i]),median:(n,r)=>yp(n,i=>r[+i]),sum:(n,r)=>Cn(n,i=>r[+i]),deviation:(n,r)=>fx(n,i=>r[+i])}[t]||Ct}const jx=(t={})=>{const{groupBy:e="x",basis:n="max"}=t;return(r,i)=>{const{encode:a,tooltip:o}=i,s=t3(a,["x"]),c=Object.entries(s).filter(([p])=>p.startsWith("y")).map(([p])=>[p,Ot(a,p)[0]]),[,l]=c.find(([p])=>p==="y"),u=c.map(([p])=>[p,new Array(r.length)]),f=oi(e,r,i),d=e3(n);for(const p of f){const v=d(p,l);for(const g of p)for(let y=0;y<c.length;y++){const[,m]=c[y],[,b]=u[y];b[g]=+m[g]/v}}const h=Lr(o)||(o==null?void 0:o.items)&&(o==null?void 0:o.items.length)!==0;return[r,X({},i,Object.assign({encode:Object.fromEntries(u.map(([p,v])=>[p,Wt(v,Ot(a,p)[1])]))},!h&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};jx.props={};function Na(t,...e){return e.reduce((n,r)=>i=>n(r(i)),t)}function Ol(t,e){return e-t?n=>(n-t)/(e-t):n=>.5}function n3(t,e){const n=e<t?e:t,r=t>e?t:e;return i=>Math.min(Math.max(n,i),r)}function Sp(t,e,n,r,i){let a=n||0,o=r||t.length;const s=i||(c=>c);for(;a<o;){const c=Math.floor((a+o)/2);s(t[c])>e?o=c:a=c+1}return a}const $d=Math.sqrt(50),Bd=Math.sqrt(10),Fd=Math.sqrt(2);function tl(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=$d?10:a>=Bd?5:a>=Fd?2:1)*10**i:-(10**-i)/(a>=$d?10:a>=Bd?5:a>=Fd?2:1)}function sg(t,e,n){const r=Math.abs(e-t)/Math.max(0,n);let i=10**Math.floor(Math.log(r)/Math.LN10);const a=r/i;return a>=$d?i*=10:a>=Bd?i*=5:a>=Fd&&(i*=2),e<t?-i:i}const Dx=(t,e,n=5)=>{const r=[t,e];let i=0,a=r.length-1,o=r[i],s=r[a],c;return s<o&&([o,s]=[s,o],[i,a]=[a,i]),c=tl(o,s,n),c>0?(o=Math.floor(o/c)*c,s=Math.ceil(s/c)*c,c=tl(o,s,n)):c<0&&(o=Math.ceil(o*c)/c,s=Math.floor(s*c)/c,c=tl(o,s,n)),c>0?(r[i]=Math.floor(o/c)*c,r[a]=Math.ceil(s/c)*c):c<0&&(r[i]=Math.ceil(o*c)/c,r[a]=Math.floor(s*c)/c),r},as=1e3,os=as*60,ss=os*60,Di=ss*24,Yo=Di*7,$x=Di*30,Bx=Di*365;function Fe(t,e,n,r){const i=(l,u)=>{const f=h=>r(h)%u===0;let d=u;for(;d&&!f(l);)n(l,-1),d-=1;return l},a=(l,u)=>{u&&i(l,u),e(l)},o=(l,u)=>{const f=new Date(+l);return a(f,u),f},s=(l,u)=>{const f=new Date(+l-1);return a(f,u),n(f,u),a(f),f};return{ceil:s,floor:o,range:(l,u,f,d)=>{const h=[],p=Math.floor(f),v=d?s(l,f):s(l);for(let g=v;g<u;n(g,p),a(g))h.push(new Date(+g));return h},duration:t}}const r3=Fe(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),i3=Fe(as,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+as*e)},t=>t.getSeconds()),a3=Fe(os,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+os*e)},t=>t.getMinutes()),o3=Fe(ss,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+ss*e)},t=>t.getHours()),s3=Fe(Di,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Di*e)},t=>t.getDate()-1),Fx=Fe($x,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{const n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),c3=Fe(Yo,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setDate(t.getDate()+7*e)},t=>{const e=Fx.floor(t),n=new Date(+t);return Math.floor((+n-+e)/Yo)}),l3=Fe(Bx,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{const n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),zx={millisecond:r3,second:i3,minute:a3,hour:o3,day:s3,week:c3,month:Fx,year:l3},u3=Fe(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),f3=Fe(as,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+as*e)},t=>t.getUTCSeconds()),d3=Fe(os,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+os*e)},t=>t.getUTCMinutes()),h3=Fe(ss,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+ss*e)},t=>t.getUTCHours()),p3=Fe(Di,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Di*e)},t=>t.getUTCDate()-1),Gx=Fe($x,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{const n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),v3=Fe(Yo,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Yo*e)},t=>{const e=Gx.floor(t),n=new Date(+t);return Math.floor((+n-+e)/Yo)}),g3=Fe(Bx,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{const n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),Yx={millisecond:u3,second:f3,minute:d3,hour:h3,day:p3,week:v3,month:Gx,year:g3};function y3(t){const e=t?Yx:zx,{year:n,month:r,week:i,day:a,hour:o,minute:s,second:c,millisecond:l}=e;return{tickIntervals:[[c,1],[c,5],[c,15],[c,30],[s,1],[s,5],[s,15],[s,30],[o,1],[o,3],[o,6],[o,12],[a,1],[a,2],[i,1],[r,1],[r,3],[n,1]],year:n,millisecond:l}}function Wx(t,e,n,r,i){const a=+t,o=+e,{tickIntervals:s,year:c,millisecond:l}=y3(i),u=([g,y])=>g.duration*y,f=r?(o-a)/r:n||5,d=r||(o-a)/f,h=s.length,p=Sp(s,d,0,h,u);let v;if(p===h){const g=sg(a/c.duration,o/c.duration,f);v=[c,g]}else if(p){const g=d/u(s[p-1])<u(s[p])/d,[y,m]=g?s[p-1]:s[p],b=r?Math.ceil(r/y.duration):m;v=[y,b]}else{const g=Math.max(sg(a,o,f),1);v=[l,g]}return v}const m3=(t,e,n,r,i)=>{const a=t>e,o=a?e:t,s=a?t:e,[c,l]=Wx(o,s,n,r,i),u=[c.floor(o,l),c.ceil(s,l)];return a?u.reverse():u};var Hx=function(t){return t!==null&&typeof t!="function"&&isFinite(t.length)},b3={}.toString,$s=function(t,e){return b3.call(t)==="[object "+e+"]"};const Vx=function(t){return $s(t,"Function")};var x3=function(t){return t==null};const Xx=function(t){return Array.isArray?Array.isArray(t):$s(t,"Array")},w3=function(t){var e=typeof t;return t!==null&&e==="object"||e==="function"};function O3(t,e){if(t){var n;if(Xx(t))for(var r=0,i=t.length;r<i&&(n=e(t[r],r),n!==!1);r++);else if(w3(t)){for(var a in t)if(t.hasOwnProperty(a)&&(n=e(t[a],a),n===!1))break}}}var S3=function(t){return typeof t=="object"&&t!==null},cg=function(t){if(!S3(t)||!$s(t,"Object"))return!1;if(Object.getPrototypeOf(t)===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};const _3=function(t){return $s(t,"String")};var cs=function(t){return $s(t,"Number")},M3=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return O3(t,function(n,r){Vx(t)&&r==="prototype"||e.push(n)}),e},E3=function(t){return t===null},P3=function(t){return t===void 0};const A3=function(t,e){if(!Vx(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=e?e.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var s=t.apply(this,r);return o.set(a,s),s};return n.cache=new Map,n};var k3=5;function Ux(t,e,n,r){n=n||0,r=r||k3;for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];a!==null&&cg(a)?(cg(t[i])||(t[i]={}),n<r?Ux(t[i],a,n+1,r):t[i]=e[i]):Xx(a)?(t[i]=[],t[i]=t[i].concat(a)):a!==void 0&&(t[i]=a)}}var lg=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)Ux(t,e[r]);return t},qx=function(t,e){if(!Hx(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,i=0;i<t.length;i++)if(t[i]===e){r=i;break}return r};const $i=function(t){return t};function Kx(t){return x3(t)?0:Hx(t)?t.length:Object.keys(t).length}var lc;A3(function(t,e){e===void 0&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return lc||(lc=document.createElement("canvas").getContext("2d")),lc.font=[a,o,i,n+"px",r].join(" "),lc.measureText(_3(t)?t:"").width},function(t,e){return e===void 0&&(e={}),ex([t],M3(e)).join("")});function Sl(t){return!P3(t)&&!E3(t)&&!Number.isNaN(t)}const Zx=t=>e=>-t(-e),_p=(t,e)=>{const n=Math.log(t),r=t===Math.E?Math.log:t===10?Math.log10:t===2?Math.log2:i=>Math.log(i)/n;return e?Zx(r):r},Mp=(t,e)=>{const n=t===Math.E?Math.exp:r=>t**r;return e?Zx(n):n},T3=(t,e,n,r)=>{const i=t<0,a=_p(r,i),o=Mp(r,i),s=t>e,c=s?e:t,l=s?t:e,u=[o(Math.floor(a(c))),o(Math.ceil(a(l)))];return s?u.reverse():u},C3=t=>e=>{const n=t(e);return cs(n)?Math.round(n):n};function L3(t,e){return n=>{n.prototype.rescale=function(){this.initRange(),this.nice();const[r]=this.chooseTransforms();this.composeOutput(r,this.chooseClamp(r))},n.prototype.initRange=function(){const{interpolator:r}=this.options;this.options.range=t(r)},n.prototype.composeOutput=function(r,i){const{domain:a,interpolator:o,round:s}=this.getOptions(),c=e(a.map(r)),l=s?C3(o):o;this.output=Na(l,c,i,r)},n.prototype.invert=void 0}}var Qx={exports:{}},N3={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Jx={exports:{}},R3=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},I3=R3,j3=Array.prototype.concat,D3=Array.prototype.slice,ug=Jx.exports=function(e){for(var n=[],r=0,i=e.length;r<i;r++){var a=e[r];I3(a)?n=j3.call(n,D3.call(a)):n.push(a)}return n};ug.wrap=function(t){return function(){return t(ug(arguments))}};var $3=Jx.exports,Wo=N3,Bs=$3,t2=Object.hasOwnProperty,e2=Object.create(null);for(var Af in Wo)t2.call(Wo,Af)&&(e2[Wo[Af]]=Af);var gn=Qx.exports={to:{},get:{}};gn.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=gn.get.hsl(t),r="hsl";break;case"hwb":n=gn.get.hwb(t),r="hwb";break;default:n=gn.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null};gn.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,o=[0,0,0,1],s,c,l;if(s=t.match(n)){for(l=s[2],s=s[1],c=0;c<3;c++){var u=c*2;o[c]=parseInt(s.slice(u,u+2),16)}l&&(o[3]=parseInt(l,16)/255)}else if(s=t.match(e)){for(s=s[1],l=s[3],c=0;c<3;c++)o[c]=parseInt(s[c]+s[c],16);l&&(o[3]=parseInt(l+l,16)/255)}else if(s=t.match(r)){for(c=0;c<3;c++)o[c]=parseInt(s[c+1],0);s[4]&&(s[5]?o[3]=parseFloat(s[4])*.01:o[3]=parseFloat(s[4]))}else if(s=t.match(i)){for(c=0;c<3;c++)o[c]=Math.round(parseFloat(s[c+1])*2.55);s[4]&&(s[5]?o[3]=parseFloat(s[4])*.01:o[3]=parseFloat(s[4]))}else return(s=t.match(a))?s[1]==="transparent"?[0,0,0,0]:t2.call(Wo,s[1])?(o=Wo[s[1]],o[3]=1,o):null:null;for(c=0;c<3;c++)o[c]=Zr(o[c],0,255);return o[3]=Zr(o[3],0,1),o};gn.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,a=Zr(parseFloat(n[2]),0,100),o=Zr(parseFloat(n[3]),0,100),s=Zr(isNaN(r)?1:r,0,1);return[i,a,o,s]}return null};gn.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,a=Zr(parseFloat(n[2]),0,100),o=Zr(parseFloat(n[3]),0,100),s=Zr(isNaN(r)?1:r,0,1);return[i,a,o,s]}return null};gn.to.hex=function(){var t=Bs(arguments);return"#"+uc(t[0])+uc(t[1])+uc(t[2])+(t[3]<1?uc(Math.round(t[3]*255)):"")};gn.to.rgb=function(){var t=Bs(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};gn.to.rgb.percent=function(){var t=Bs(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"};gn.to.hsl=function(){var t=Bs(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};gn.to.hwb=function(){var t=Bs(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};gn.to.keyword=function(t){return e2[t.slice(0,3)]};function Zr(t,e,n){return Math.min(Math.max(e,t),n)}function uc(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var B3=Qx.exports;const F3=ip(B3);function kf(t,e,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function z3(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(n===0)return[r*255,r*255,r*255,i];const a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,s=kf(o,a,e+1/3),c=kf(o,a,e),l=kf(o,a,e-1/3);return[s*255,c*255,l*255,i]}function fg(t){const e=F3.get(t);if(!e)return null;const{model:n,value:r}=e;return n==="rgb"?r:n==="hsl"?z3(r):null}const Ra=(t,e)=>n=>t*(1-n)+e*n,G3=(t,e)=>{const n=fg(t),r=fg(e);return n===null||r===null?n?()=>t:()=>e:i=>{const a=new Array(4);for(let u=0;u<4;u+=1){const f=n[u],d=r[u];a[u]=f*(1-i)+d*i}const[o,s,c,l]=a;return`rgba(${Math.round(o)}, ${Math.round(s)}, ${Math.round(c)}, ${l})`}},Fs=(t,e)=>typeof t=="number"&&typeof e=="number"?Ra(t,e):typeof t=="string"&&typeof e=="string"?G3(t,e):()=>t,Y3=(t,e)=>{const n=Ra(t,e);return r=>Math.round(n(r))};function W3(t,e){const{second:n,minute:r,hour:i,day:a,week:o,month:s,year:c}=e;return n.floor(t)<t?".SSS":r.floor(t)<t?":ss":i.floor(t)<t?"hh:mm":a.floor(t)<t?"hh A":s.floor(t)<t?o.floor(t)<t?"MMM DD":"ddd DD":c.floor(t)<t?"MMMM":"YYYY"}function dg({map:t,initKey:e},n){const r=e(n);return t.has(r)?t.get(r):n}function H3({map:t,initKey:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function V3({map:t,initKey:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function X3(t){return typeof t=="object"?t.valueOf():t}class hg extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=X3,e!==null)for(const[n,r]of e)this.set(n,r)}get(e){return super.get(dg({map:this.map,initKey:this.initKey},e))}has(e){return super.has(dg({map:this.map,initKey:this.initKey},e))}set(e,n){return super.set(H3({map:this.map,initKey:this.initKey},e),n)}delete(e){return super.delete(V3({map:this.map,initKey:this.initKey},e))}}class zs{constructor(e){this.options=lg({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=lg({},this.options,e),this.rescale(e)}rescale(e){}}const Eu=Symbol("defaultUnknown");function pg(t,e,n){for(let r=0;r<e.length;r+=1)t.has(e[r])||t.set(n(e[r]),r)}function vg(t){const{value:e,from:n,to:r,mapper:i,notFoundReturn:a}=t;let o=i.get(e);if(o===void 0){if(a!==Eu)return a;o=n.push(e)-1,i.set(e,o)}return r[o%r.length]}function gg(t){return t instanceof Date?e=>`${e}`:typeof t=="object"?e=>JSON.stringify(e):e=>e}let n2=class r2 extends zs{getDefaultOptions(){return{domain:[],range:[],unknown:Eu}}constructor(e){super(e)}map(e){return this.domainIndexMap.size===0&&pg(this.domainIndexMap,this.getDomain(),this.domainKey),vg({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return this.rangeIndexMap.size===0&&pg(this.rangeIndexMap,this.getRange(),this.rangeKey),vg({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){const[n]=this.options.domain,[r]=this.options.range;if(this.domainKey=gg(n),this.rangeKey=gg(r),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new r2(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;const{domain:e,compare:n}=this.options;return this.sortedDomain=n?[...e].sort(n):e,this.sortedDomain}};function U3(t){const e=Math.min(...t);return t.map(n=>n/e)}function q3(t,e){const n=t.length,r=e-n;return r>0?[...t,...new Array(r).fill(1)]:r<0?t.slice(0,e):t}function K3(t){return Math.round(t*1e12)/1e12}function Z3(t){const{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:s}=t,c=e.length,l=q3(a,c),[u,f]=n,d=f-u,h=2/c*r+1-1/c*i,p=d/h,v=p*i/c,g=p-c*v,y=U3(l),m=y.reduce((T,A)=>T+A),b=g/m,x=new hg(e.map((T,A)=>{const k=y[A]*b;return[T,o?Math.floor(k):k]})),w=new hg(e.map((T,A)=>{const C=y[A]*b+v;return[T,o?Math.floor(C):C]})),O=Array.from(w.values()).reduce((T,A)=>T+A),_=(d-(O-O/c*i))*s,M=u+_;let E=o?Math.round(M):M;const P=new Array(c);for(let T=0;T<c;T+=1){P[T]=K3(E);const A=e[T];E+=w.get(A)}return{valueBandWidth:x,valueStep:w,adjustedRange:P}}function Q3(t){var e;const{domain:n}=t,r=n.length;if(r===0)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(!!(!((e=t.flex)===null||e===void 0)&&e.length))return Z3(t);const{range:a,paddingOuter:o,paddingInner:s,round:c,align:l}=t;let u,f,d=a[0];const p=a[1]-d,v=o*2,g=r-s;u=p/Math.max(1,v+g),c&&(u=Math.floor(u)),d+=(p-u*(r-s))*l,f=u*(1-s),c&&(d=Math.round(d),f=Math.round(f));const y=new Array(r).fill(0).map((m,b)=>d+b*u);return{valueStep:u,valueBandWidth:f,adjustedRange:y}}let Ia=class i2 extends n2{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:Eu,flex:[]}}constructor(e){super(e)}clone(){return new i2(this.options)}getStep(e){return this.valueStep===void 0?1:typeof this.valueStep=="number"?this.valueStep:e===void 0?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return this.valueBandWidth===void 0?1:typeof this.valueBandWidth=="number"?this.valueBandWidth:e===void 0?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){const{padding:e,paddingInner:n}=this.options;return e>0?e:n}getPaddingOuter(){const{padding:e,paddingOuter:n}=this.options;return e>0?e:n}rescale(){super.rescale();const{align:e,domain:n,range:r,round:i,flex:a}=this.options,{adjustedRange:o,valueBandWidth:s,valueStep:c}=Q3({align:e,range:r,round:i,flex:a,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:n});this.valueStep=c,this.valueBandWidth=s,this.adjustedRange=o}};const Bi=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&n>0)return[a];let s=tl(a,o,n);if(s===0||!Number.isFinite(s))return[];if(s>0){a=Math.ceil(a/s),o=Math.floor(o/s),i=new Array(r=Math.ceil(o-a+1));for(let c=0;c<r;c+=1)i[c]=(a+c)*s}else{s=-s,a=Math.ceil(a*s),o=Math.floor(o*s),i=new Array(r=Math.ceil(o-a+1));for(let c=0;c<r;c+=1)i[c]=(a+c)/s}return i};let Ep=class a2 extends zs{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:Bi}}map(e){const[n]=this.options.range;return n!==void 0?n:this.options.unknown}invert(e){const[n]=this.options.range;return e===n&&n!==void 0?this.options.domain:[]}getTicks(){const{tickMethod:e,domain:n,tickCount:r}=this.options,[i,a]=n;return!cs(i)||!cs(a)?[]:e(i,a,r)}clone(){return new a2(this.options)}};function mo(t){return Math.abs(t)<1e-14?t:parseFloat(t.toFixed(14))}const J3=[1,5,2,2.5,4,3],yg=Number.EPSILON*100;function tC(t,e){return(t%e+e)%e}function eC(t){return Math.round(t*1e12)/1e12}function nC(t,e,n,r,i,a){const o=Kx(e),s=qx(e,t);let c=0;const l=tC(r,a);return(l<yg||a-l<yg)&&r<=0&&i>=0&&(c=1),1-s/(o-1)-n+c}function rC(t,e,n){const r=Kx(e);return 1-qx(e,t)/(r-1)-n+1}function iC(t,e,n,r,i,a){const o=(t-1)/(a-i),s=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/s,s/o)}function aC(t,e){return t>=e?2-(t-1)/(e-1):1}function oC(t,e,n,r){const i=e-t;return 1-.5*((e-r)**2+(t-n)**2)/(.1*i)**2}function sC(t,e,n){const r=e-t;return n>r?1-((n-r)/2)**2/(.1*r)**2:1}function cC(){return 1}const Pp=(t,e,n=5,r=!0,i=J3,a=[.25,.2,.5,.05])=>{const o=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||typeof t!="number"||typeof e!="number"||!o)return[];if(e-t<1e-15||o===1)return[t];const s={score:-2,lmin:0,lmax:0,lstep:0};let c=1;for(;c<1/0;){for(let p=0;p<i.length;p+=1){const v=i[p],g=rC(v,i,c);if(a[0]*g+a[1]+a[2]+a[3]<s.score){c=1/0;break}let y=2;for(;y<1/0;){const m=aC(y,o);if(a[0]*g+a[1]+a[2]*m+a[3]<s.score)break;const b=(e-t)/(y+1)/c/v;let x=Math.ceil(Math.log10(b));for(;x<1/0;){const w=c*v*10**x,O=sC(t,e,w*(y-1));if(a[0]*g+a[1]*O+a[2]*m+a[3]<s.score)break;const S=Math.floor(e/w)*c-(y-1)*c,_=Math.ceil(t/w)*c;if(S<=_){const M=_-S;for(let E=0;E<=M;E+=1){const T=(S+E)*(w/c),A=T+w*(y-1),k=w,C=nC(v,i,c,T,A,k),L=oC(t,e,T,A),I=iC(y,o,t,e,T,A),R=cC(),j=a[0]*C+a[1]*L+a[2]*I+a[3]*R;j>s.score&&(!r||T<=t&&A>=e)&&(s.lmin=T,s.lmax=A,s.lstep=k,s.score=j)}}x+=1}y+=1}}c+=1}const l=mo(s.lmax),u=mo(s.lmin),f=mo(s.lstep),d=Math.floor(eC((l-u)/f))+1,h=new Array(d);h[0]=mo(u);for(let p=1;p<d;p+=1)h[p]=mo(h[p-1]+f);return h};let o2=class s2 extends zs{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:Pp}}map(e){return Sl(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new s2(this.options)}getTicks(){const{domain:e,tickCount:n,tickMethod:r}=this.options,[i,a]=e;return!cs(i)||!cs(a)?[]:r(i,a,n)}};const lC=(t,e,n)=>{const[r,i]=t,[a,o]=e;let s,c;return r<i?(s=Ol(r,i),c=n(a,o)):(s=Ol(i,r),c=n(o,a)),Na(c,s)},uC=(t,e,n)=>{const r=Math.min(t.length,e.length)-1,i=new Array(r),a=new Array(r),o=t[0]>t[r],s=o?[...t].reverse():t,c=o?[...e].reverse():e;for(let l=0;l<r;l+=1)i[l]=Ol(s[l],s[l+1]),a[l]=n(c[l],c[l+1]);return l=>{const u=Sp(t,l,1,r)-1,f=i[u],d=a[u];return Na(d,f)(l)}},mg=(t,e,n,r)=>(Math.min(t.length,e.length)>2?uC:lC)(t,e,r?Y3:n);let Pu=class extends zs{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:Ra,tickCount:5}}map(e){return Sl(e)?this.output(e):this.options.unknown}invert(e){return Sl(e)?this.input(e):this.options.unknown}nice(){if(!this.options.nice)return;const[e,n,r,...i]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(e,n,r,...i)}getTicks(){const{tickMethod:e}=this.options,[n,r,i,...a]=this.getTickMethodOptions();return e(n,r,i,...a)}getTickMethodOptions(){const{domain:e,tickCount:n}=this.options,r=e[0],i=e[e.length-1];return[r,i,n]}chooseNice(){return Dx}rescale(){this.nice();const[e,n]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e)),this.composeInput(e,n,this.chooseClamp(n))}chooseClamp(e){const{clamp:n,range:r}=this.options,i=this.options.domain.map(e),a=Math.min(i.length,r.length);return n?n3(i[0],i[a-1]):$i}composeOutput(e,n){const{domain:r,range:i,round:a,interpolate:o}=this.options,s=mg(r.map(e),i,o,a);this.output=Na(s,n,e)}composeInput(e,n,r){const{domain:i,range:a}=this.options,o=mg(a,i.map(e),Ra);this.input=Na(n,r,o)}},Yt=class c2 extends Pu{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:Fs,tickMethod:Bi,tickCount:5}}chooseTransforms(){return[$i,$i]}clone(){return new c2(this.options)}},l2=class u2 extends Ia{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:Eu,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new u2(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}};const fC=t=>e=>e<0?-((-e)**t):e**t,dC=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),hC=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);let f2=class d2 extends Pu{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:Fs,tickMethod:Bi,tickCount:5}}constructor(e){super(e)}chooseTransforms(){const{exponent:e}=this.options;if(e===1)return[$i,$i];const n=e===.5?hC:fC(e),r=dC(e);return[n,r]}clone(){return new d2(this.options)}},pC=class h2 extends f2{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:Fs,tickMethod:Bi,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new h2(this.options)}},Au=class p2 extends zs{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!Sl(e))return this.options.unknown;const n=Sp(this.thresholds,e,0,this.n);return this.options.range[n]}invert(e){const{range:n}=this.options,r=n.indexOf(e),i=this.thresholds;return[i[r-1],i[r]]}clone(){return new p2(this.options)}rescale(){const{domain:e,range:n}=this.options;this.n=Math.min(e.length,n.length-1),this.thresholds=e}};const vC=(t,e,n,r=10)=>{const i=t<0,a=Mp(r,i),o=_p(r,i),s=e<t,c=s?e:t,l=s?t:e;let u=o(c),f=o(l),d=[];if(!(r%1)&&f-u<n){if(u=Math.floor(u),f=Math.ceil(f),i)for(;u<=f;u+=1){const h=a(u);for(let p=r-1;p>=1;p-=1){const v=h*p;if(v>l)break;v>=c&&d.push(v)}}else for(;u<=f;u+=1){const h=a(u);for(let p=1;p<r;p+=1){const v=h*p;if(v>l)break;v>=c&&d.push(v)}}d.length*2<n&&(d=Bi(c,l,n))}else{const h=n===-1?f-u:Math.min(f-u,n);d=Bi(u,f,h).map(a)}return s?d.reverse():d};let gC=class v2 extends Pu{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:Fs,tickMethod:vC,tickCount:5}}chooseNice(){return T3}getTickMethodOptions(){const{domain:e,tickCount:n,base:r}=this.options,i=e[0],a=e[e.length-1];return[i,a,n,r]}chooseTransforms(){const{base:e,domain:n}=this.options,r=n[0]<0;return[_p(e,r),Mp(e,r)]}clone(){return new v2(this.options)}},g2=class y2 extends Au{getDefaultOptions(){return{domain:[0,1],range:[.5],nice:!1,tickCount:5,tickMethod:Pp}}constructor(e){super(e)}nice(){const{nice:e}=this.options;if(e){const[n,r,i]=this.getTickMethodOptions();this.options.domain=Dx(n,r,i)}}getTicks(){const{tickMethod:e}=this.options,[n,r,i]=this.getTickMethodOptions();return e(n,r,i)}getTickMethodOptions(){const{domain:e,tickCount:n}=this.options,r=e[0],i=e[e.length-1];return[r,i,n]}rescale(){this.nice();const{range:e,domain:n}=this.options,[r,i]=n;this.n=e.length-1,this.thresholds=new Array(this.n);for(let a=0;a<this.n;a+=1)this.thresholds[a]=((a+1)*i-(a-this.n)*r)/(this.n+1)}invert(e){const[n,r]=super.invert(e),[i,a]=this.options.domain;return n===void 0&&r===void 0?[n,r]:[n||i,r||a]}getThresholds(){return this.thresholds}clone(){return new y2(this.options)}};function yC(t,e){const n=t.length;if(!n)return;if(n<2)return t[n-1];const r=(n-1)*e,i=Math.floor(r),a=t[i],o=t[i+1];return a+(o-a)*(r-i)}function mC(t,e,n=!1){const r=t;n||r.sort((a,o)=>a-o);const i=[];for(let a=1;a<e;a+=1)i.push(yC(r,a/e));return i}let m2=class b2 extends Au{getDefaultOptions(){return{domain:[],range:[],tickCount:5,unknown:void 0,tickMethod:Pp}}constructor(e){super(e)}rescale(){const{domain:e,range:n}=this.options;this.n=n.length-1,this.thresholds=mC(e,this.n+1,!1)}invert(e){const[n,r]=super.invert(e),{domain:i}=this.options,a=i[0],o=i[i.length-1];return n===void 0&&r===void 0?[n,r]:[n||a,r||o]}getThresholds(){return this.thresholds}clone(){return new b2(this.options)}getTicks(){const{tickCount:e,domain:n,tickMethod:r}=this.options,i=n.length-1,a=n[0],o=n[i];return r(a,o,e)}};var bC=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,xC=/\[([^]*?)\]/gm;function x2(t,e){for(var n=[],r=0,i=t.length;r<i;r++)n.push(t[r].substr(0,e));return n}function zd(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0,i=e;r<i.length;r++){var a=i[r];for(var o in a)t[o]=a[o]}return t}var w2=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],O2=["January","February","March","April","May","June","July","August","September","October","November","December"],wC=x2(O2,3),OC=x2(w2,3),SC={dayNamesShort:OC,dayNames:w2,monthNamesShort:wC,monthNames:O2,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!==10?1:0)*t%10]}},_C=zd({},SC),Qe=function(t,e){for(e===void 0&&(e=2),t=String(t);t.length<e;)t="0"+t;return t},MC={D:function(t){return String(t.getDate())},DD:function(t){return Qe(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return Qe(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return Qe(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return Qe(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return Qe(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return Qe(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return Qe(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return Qe(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return Qe(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return Qe(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return Qe(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Qe(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Qe(Math.floor(Math.abs(e)/60),2)+":"+Qe(Math.abs(e)%60,2)}},bg={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},EC=function(t,e,n){if(e===void 0&&(e=bg.default),n===void 0&&(n={}),typeof t=="number"&&(t=new Date(t)),Object.prototype.toString.call(t)!=="[object Date]"||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");e=bg[e]||e;var r=[];e=e.replace(xC,function(a,o){return r.push(o),"@@@"});var i=zd(zd({},_C),n);return e=e.replace(bC,function(a){return MC[a](t,i)}),e.replace(/@@@/g,function(){return r.shift()})};const PC=(t,e,n,r,i)=>{const a=t>e,o=a?e:t,s=a?t:e,[c,l]=Wx(o,s,n,r,i),u=c.range(o,new Date(+s+1),l,!0);return a?u.reverse():u};function AC(t){const e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}let kC=class S2 extends Pu{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:PC,interpolate:Ra,mask:void 0,utc:!1}}chooseTransforms(){return[r=>+r,r=>new Date(r)]}chooseNice(){return m3}getTickMethodOptions(){const{domain:e,tickCount:n,tickInterval:r,utc:i}=this.options,a=e[0],o=e[e.length-1];return[a,o,n,r,i]}getFormatter(){const{mask:e,utc:n}=this.options,r=n?Yx:zx,i=n?AC:$i;return a=>EC(i(a),e||W3(a,r))}clone(){return new S2(this.options)}};var TC=function(t,e,n,r){var i=arguments.length,a=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},Gd;function CC(t){return[t(0),t(1)]}const LC=t=>{const[e,n]=t;return Na(Ra(0,1),Ol(e,n))};let Yd=Gd=class extends Yt{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:$i,tickMethod:Bi,tickCount:5}}constructor(e){super(e)}clone(){return new Gd(this.options)}};Yd=Gd=TC([L3(CC,LC)],Yd);function _l(t,e,n){if(t===null)return[-.5,.5];const r=Ox(t,e),a=new Ia({domain:r,range:[0,1],padding:n}).getBandWidth();return[-a/2,a/2]}function Ml(t,e,n){return e*(1-t)+n*t}const _2=(t={})=>{const{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(a,o)=>{const{encode:s,scale:c}=o,{x:l,y:u}=c,[f]=Ot(s,"x"),[d]=Ot(s,"y"),h=_l(f,l,n),p=_l(d,u,r),v=a.map(()=>Ml(i(),...p)),g=a.map(()=>Ml(i(),...h));return[a,X({scale:{x:{padding:.5},y:{padding:.5}}},o,{encode:{dy:Wt(v),dx:Wt(g)}})]}};_2.props={};const M2=(t={})=>{const{padding:e=0,random:n=Math.random}=t;return(r,i)=>{const{encode:a,scale:o}=i,{x:s}=o,[c]=Ot(a,"x"),l=_l(c,s,e),u=r.map(()=>Ml(n(),...l));return[r,X({scale:{x:{padding:.5}}},i,{encode:{dx:Wt(u)}})]}};M2.props={};const E2=(t={})=>{const{padding:e=0,random:n=Math.random}=t;return(r,i)=>{const{encode:a,scale:o}=i,{y:s}=o,[c]=Ot(a,"y"),l=_l(c,s,e),u=r.map(()=>Ml(n(),...l));return[r,X({scale:{y:{padding:.5}}},i,{encode:{dy:Wt(u)}})]}};E2.props={};var NC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const P2=(t={})=>{const{groupBy:e="x"}=t;return(n,r)=>{const{encode:i}=r,a=NC(i,["x"]),o=Object.entries(a).filter(([f])=>f.startsWith("y")).map(([f])=>[f,Ot(i,f)[0]]),s=o.map(([f])=>[f,new Array(n.length)]),c=oi(e,n,r),l=new Array(c.length);for(let f=0;f<c.length;f++){const h=c[f].flatMap(g=>o.map(([,y])=>+y[g])),[p,v]=Mr(h);l[f]=(p+v)/2}const u=Math.max(...l);for(let f=0;f<c.length;f++){const d=u-l[f],h=c[f];for(const p of h)for(let v=0;v<o.length;v++){const[,g]=o[v],[,y]=s[v];y[p]=+g[p]+d}}return[n,X({},r,{encode:Object.fromEntries(s.map(([f,d])=>[f,Wt(d,Ot(i,f)[1])]))})]}};P2.props={};const A2=(t={})=>{const{groupBy:e="x",series:n=!0}=t;return(r,i)=>{const{encode:a}=i,[o]=Ot(a,"y"),[s,c]=Ot(a,"y1");n?ts(a,"series","color"):Ot(a,"color");const l=oi(e,r,i),u=new Array(r.length);for(const f of l){const d=f.map(h=>+o[h]);for(let h=0;h<f.length;h++){const p=f[h],v=Math.max(...d.filter((g,y)=>y!==h));u[p]=o[p]>v?v:o[p]}}return[r,X({},i,{encode:{y1:Wt(u,c)}})]}};A2.props={};function xg(t,e){return[t[0]]}function RC(t,e){const n=t.length-1;return[t[n]]}function IC(t,e){const n=to(t,r=>e[r]);return[t[n]]}function jC(t,e){const n=bu(t,r=>e[r]);return[t[n]]}function DC(t){return typeof t=="function"?t:{first:xg,last:RC,max:IC,min:jC}[t]||xg}const ku=(t={})=>{const{groupBy:e="series",channel:n,selector:r}=t;return(i,a)=>{const{encode:o}=a,s=oi(e,i,a),[c]=Ot(o,n),l=DC(r);return[s.flatMap(u=>l(u,c)),a]}};ku.props={};var $C=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const k2=(t={})=>{const{selector:e}=t,n=$C(t,["selector"]);return ku(Object.assign({channel:"x",selector:e},n))};k2.props={};var BC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const T2=(t={})=>{const{selector:e}=t,n=BC(t,["selector"]);return ku(Object.assign({channel:"y",selector:e},n))};T2.props={};var FC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function si(t){return e=>e===null?t:`${t} of ${e}`}function zC(t){if(typeof t=="function")return[t,null];const n={mean:GC,max:WC,count:VC,first:UC,last:qC,sum:XC,min:HC,median:YC}[t];if(!n)throw new Error(`Unknown reducer: ${t}.`);return n()}function GC(){const t=(n,r)=>rs(n,i=>+r[i]),e=si("mean");return[t,e]}function YC(){const t=(n,r)=>yp(n,i=>+r[i]),e=si("median");return[t,e]}function WC(){const t=(n,r)=>Ct(n,i=>+r[i]),e=si("max");return[t,e]}function HC(){const t=(n,r)=>bn(n,i=>+r[i]),e=si("min");return[t,e]}function VC(){const t=(n,r)=>n.length,e=si("count");return[t,e]}function XC(){const t=(n,r)=>Cn(n,i=>+r[i]),e=si("sum");return[t,e]}function UC(){const t=(n,r)=>r[n[0]],e=si("first");return[t,e]}function qC(){const t=(n,r)=>r[n[n.length-1]],e=si("last");return[t,e]}const Ap=(t={})=>{const{groupBy:e}=t,n=FC(t,["groupBy"]);return(r,i)=>{const{data:a,encode:o}=i,s=e(r,i);if(!s)return[r,i];const c=(h,p)=>{if(h)return h;const{from:v}=p;if(!v)return h;const[,g]=Ot(o,v);return g},l=Object.entries(n).map(([h,p])=>{const[v,g]=zC(p),[y,m]=Ot(o,h),b=c(m,p),x=s.map(w=>v(w,y??a));return[h,Object.assign(Object.assign({},c5(x,(g==null?void 0:g(b))||b)),{aggregate:!0})]}),u=Object.keys(o).map(h=>{const[p,v]=Ot(o,h),g=s.map(y=>p[y[0]]);return[h,Wt(g,v)]}),f=s.map(h=>a[h[0]]);return[Ui(s),X({},i,{data:f,encode:Object.fromEntries([...u,...l])})]}};Ap.props={};var KC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Gs=(t={})=>{const{channels:e=["x","y"]}=t,n=KC(t,["channels"]),r=(i,a)=>oi(e,i,a);return Ap(Object.assign(Object.assign({},n),{groupBy:r}))};Gs.props={};const C2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["x","color","series"]}));C2.props={};const L2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["y","color","series"]}));L2.props={};const N2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["color"]}));N2.props={};var R2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ZC(t,e,n){const{by:r=t,reducer:i="max"}=e,[a]=Ot(n,r);if(typeof i=="function")return o=>i(o,a);if(i==="max")return o=>Ct(o,s=>+a[s]);if(i==="min")return o=>bn(o,s=>+a[s]);if(i==="sum")return o=>Cn(o,s=>+a[s]);if(i==="median")return o=>yp(o,s=>+a[s]);if(i==="mean")return o=>rs(o,s=>+a[s]);if(i==="first")return o=>a[o[0]];if(i==="last")return o=>a[o[o.length-1]];throw new Error(`Unknown reducer: ${i}`)}function QC(t,e,n){const{reverse:r,channel:i}=n,{encode:a}=e,[o]=Ot(a,i),s=Er(t,c=>o[c]);return r&&s.reverse(),[s,e]}function JC(t,e,n){if(!Array.isArray(n))return t;const r=new Set(n);return t.filter(i=>r.has(e[i]))}function tL(t,e,n){var r;const{reverse:i,slice:a,channel:o}=n,s=R2(n,["reverse","slice","channel"]),{encode:c,scale:l={}}=e,u=(r=l[o])===null||r===void 0?void 0:r.domain,[f]=Ot(c,o),d=ZC(o,s,c),h=JC(t,f,u),p=w5(h,d,y=>f[y]);i&&p.reverse();const v=typeof a=="number"?[0,a]:a,g=a?p.slice(...v):p;return[t,X(e,{scale:{[o]:{domain:g}}})]}const Tu=(t={})=>{const{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=R2(t,["reverse","slice","channel","ordinal"]);return(o,s)=>i?tL(o,s,Object.assign({reverse:e,slice:n,channel:r},a)):QC(o,s,Object.assign({reverse:e,slice:n,channel:r},a))};Tu.props={};const I2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"x"}));I2.props={};const j2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"color"}));j2.props={};const D2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"y"}));D2.props={};function eL(t,e){return typeof e=="string"?t.map(n=>n[e]):t.map(e)}function nL(t,e){if(typeof t=="function")return n=>t(n,e);if(t==="sum")return n=>Cn(n,r=>+e[r]);throw new Error(`Unknown reducer: ${t}`)}const $2=(t={})=>{const{field:e,channel:n="y",reducer:r="sum"}=t;return(i,a)=>{const{data:o,encode:s}=a,[c]=Ot(s,"x"),l=e?eL(o,e):Ot(s,n)[0],u=nL(r,l),f=dx(i,u,d=>c[d]).map(d=>d[1]);return[i,X({},a,{scale:{x:{flex:f}}})]}};$2.props={};function se([t,e],[n,r]){return[t-n,e-r]}function fc([t,e],[n,r]){return[t+n,e+r]}function Jt([t,e],[n,r]){return Math.sqrt(Math.pow(t-n,2)+Math.pow(e-r,2))}function Nn([t,e]){return Math.atan2(e,t)}function ja([t,e]){return Nn([t,e])+Math.PI/2}function B2(t,e){const n=Nn(t),r=Nn(e);return n<r?r-n:Math.PI*2-(n-r)}function kp(t){let e=1/0,n=-1/0,r=1/0,i=-1/0;for(const[s,c]of t)e=Math.min(s,e),n=Math.max(s,n),r=Math.min(c,r),i=Math.max(c,i);const a=n-e,o=i-r;return[e,r,a,o]}function F2([t,e],[n,r]){return[(t+n)/2,(e+r)/2]}function rL(t){const{padding:e=0,direction:n="col"}=t;return(r,i,a)=>{const o=r.length;if(o===0)return[];const{innerWidth:s,innerHeight:c}=a,l=c/s;let u=Math.ceil(Math.sqrt(i/l)),f=s/u,d=Math.ceil(i/u),h=d*f;for(;h>c;)u=u+1,f=s/u,d=Math.ceil(i/u),h=d*f;const p=c-d*f,v=d<=1?0:p/(d-1),[g,y]=d<=1?[(s-o*f)/(o-1),(c-f)/2]:[0,0];return r.map((m,b)=>{const[x,w,O,S]=kp(m),_=n==="col"?b%u:Math.floor(b/d),M=n==="col"?Math.floor(b/u):b%d,E=_*f,P=(d-M-1)*f+p,T=(f-e)/O,A=(f-e)/S,k=E-x+g*_+1/2*e,C=P-w-v*M-y+1/2*e;return`translate(${k}, ${C}) scale(${T}, ${A})`})}}const z2=t=>(e,n)=>[e,X({},n,{modifier:rL(t),axis:!1})];z2.props={};var iL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const wg="thresholds";function aL(t){const[e,n]=Mr(t);return Math.min(200,N5(t,e,n))}const Tp=(t={})=>{const{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=iL(t,["groupChannels","binChannels"]),i={},a=(o,s)=>{const{encode:c}=s,l=n.map(p=>{const[v]=Ot(c,p);return v}),u=Q(r,wg),f=o.filter(p=>l.every(v=>zt(v[p]))),d=[...e.map(p=>{const[v]=Ot(c,p);return v}).filter(zt).map(p=>v=>p[v]),...n.map((p,v)=>{const g=l[v],y=u[p]||aL(g),m=T5().thresholds(y).value(x=>+g[x])(f),b=new Map(m.flatMap(x=>{const{x0:w,x1:O}=x,S=`${w},${O}`;return x.map(_=>[_,S])}));return i[p]=b,x=>b.get(x)})],h=p=>d.map(v=>v(p)).join("-");return Array.from(te(f,h).values())};return Ap(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([o])=>!o.startsWith(wg)))),Object.fromEntries(n.flatMap(o=>{const s=([l])=>+i[o].get(l).split(",")[0],c=([l])=>+i[o].get(l).split(",")[1];return c.from=o,[[o,s],[`${o}1`,c]]}))),{groupBy:a}))};Tp.props={};const G2=(t={})=>{const{thresholds:e}=t;return Tp(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};G2.props={};function oL(t,e,n,r){const i=t.length;if(r>=i||r===0)return t;const a=h=>e[t[h]]*1,o=h=>n[t[h]]*1,s=[],c=(i-2)/(r-2);let l=0,u,f,d;s.push(l);for(let h=0;h<r-2;h++){let p=0,v=0,g=Math.floor((h+1)*c)+1,y=Math.floor((h+2)*c)+1;y=Math.min(y,i);const m=y-g;for(;g<y;g++)p+=a(g),v+=o(g);p/=m,v/=m;let b=Math.floor((h+0)*c)+1;const x=Math.floor((h+1)*c)+1,w=[a(l),o(l)];for(u=f=-1;b<x;b++)f=Math.abs((w[0]-p)*(a(b)-w[1])-(w[0]-o(b))*(v-w[0]))*.5,f>u&&(u=f,d=b);s.push(d),l=d}return s.push(i-1),s.map(h=>t[h])}function sL(t){if(typeof t=="function")return t;if(t==="lttb")return oL;const e={first:r=>[r[0]],last:r=>[r[r.length-1]],min:(r,i,a)=>[r[bu(r,o=>a[o])]],max:(r,i,a)=>[r[to(r,o=>a[o])]],median:(r,i,a)=>[r[R5(r,o=>a[o])]]},n=e[t]||e.median;return(r,i,a,o)=>{const s=Math.max(1,Math.floor(r.length/o));return cL(r,s).flatMap(l=>n(l,i,a))}}function cL(t,e){const n=t.length,r=[];let i=0;for(;i<n;)r.push(t.slice(i,i+=e));return r}const Y2=(t={})=>{const{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=sL(e);return(a,o)=>{const{encode:s}=o,c=oi(r,a,o),[l]=Ot(s,"x"),[u]=Ot(s,"y");return[c.flatMap(f=>i(f,l,u,n)),o]}};Y2.props={};function lL(t){return typeof t=="object"?[t.value,t.ordinal]:[t,!0]}const W2=(t={})=>(e,n)=>{const{encode:r,data:i}=n,a=Object.entries(t).map(([u,f])=>{const[d]=Ot(r,u);if(!d)return null;const[h,p=!0]=lL(f);if(typeof h=="function")return v=>h(d[v]);if(p){const v=Array.isArray(h)?h:[h];return v.length===0?null:g=>v.includes(d[g])}else{const[v,g]=h;return y=>d[y]>=v&&d[y]<=g}}).filter(zt);if(a.length===0)return[e,n];const o=u=>a.every(f=>f(u)),s=e.filter(o),c=s.map((u,f)=>f),l=Object.entries(r).map(([u,f])=>[u,Object.assign(Object.assign({},f),{value:c.map(d=>f.value[s[d]]).filter(d=>d!==void 0)})]);return[c,X({},n,{encode:Object.fromEntries(l),data:s.map(u=>i[u])})]};W2.props={};function Ut(t){return function(){return t}}const Og=Math.abs,Re=Math.atan2,mi=Math.cos,uL=Math.max,Tf=Math.min,qn=Math.sin,va=Math.sqrt,Ie=1e-12,ls=Math.PI,El=ls/2,fL=2*ls;function dL(t){return t>1?0:t<-1?ls:Math.acos(t)}function Sg(t){return t>=1?El:t<=-1?-El:Math.asin(t)}const Wd=Math.PI,Hd=2*Wd,_i=1e-6,hL=Hd-_i;function H2(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function pL(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return H2;const n=10**e;return function(r){this._+=r[0];for(let i=1,a=r.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}let Cp=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?H2:pL(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,r,i){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(e,n,r,i,a,o){this._append`C${+e},${+n},${+r},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(e,n,r,i,a){if(e=+e,n=+n,r=+r,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,c=r-e,l=i-n,u=o-e,f=s-n,d=u*u+f*f;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(d>_i)if(!(Math.abs(f*c-l*u)>_i)||!a)this._append`L${this._x1=e},${this._y1=n}`;else{let h=r-o,p=i-s,v=c*c+l*l,g=h*h+p*p,y=Math.sqrt(v),m=Math.sqrt(d),b=a*Math.tan((Wd-Math.acos((v+d-g)/(2*y*m)))/2),x=b/m,w=b/y;Math.abs(x-1)>_i&&this._append`L${e+x*u},${n+x*f}`,this._append`A${a},${a},0,0,${+(f*h>u*p)},${this._x1=e+w*c},${this._y1=n+w*l}`}}arc(e,n,r,i,a,o){if(e=+e,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),c=r*Math.sin(i),l=e+s,u=n+c,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${u}`:(Math.abs(this._x1-l)>_i||Math.abs(this._y1-u)>_i)&&this._append`L${l},${u}`,r&&(d<0&&(d=d%Hd+Hd),d>hL?this._append`A${r},${r},0,1,${f},${e-s},${n-c}A${r},${r},0,1,${f},${this._x1=l},${this._y1=u}`:d>_i&&this._append`A${r},${r},0,${+(d>=Wd)},${f},${this._x1=e+r*Math.cos(a)},${this._y1=n+r*Math.sin(a)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function jn(){return new Cp}jn.prototype=Cp.prototype;function Lp(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new Cp(e)}function vL(t){return t.innerRadius}function gL(t){return t.outerRadius}function yL(t){return t.startAngle}function mL(t){return t.endAngle}function bL(t){return t&&t.padAngle}function xL(t,e,n,r,i,a,o,s){var c=n-t,l=r-e,u=o-i,f=s-a,d=f*c-u*l;if(!(d*d<Ie))return d=(u*(e-a)-f*(t-i))/d,[t+d*c,e+d*l]}function dc(t,e,n,r,i,a,o){var s=t-n,c=e-r,l=(o?a:-a)/va(s*s+c*c),u=l*c,f=-l*s,d=t+u,h=e+f,p=n+u,v=r+f,g=(d+p)/2,y=(h+v)/2,m=p-d,b=v-h,x=m*m+b*b,w=i-a,O=d*v-p*h,S=(b<0?-1:1)*va(uL(0,w*w*x-O*O)),_=(O*b-m*S)/x,M=(-O*m-b*S)/x,E=(O*b+m*S)/x,P=(-O*m+b*S)/x,T=_-g,A=M-y,k=E-g,C=P-y;return T*T+A*A>k*k+C*C&&(_=E,M=P),{cx:_,cy:M,x01:-u,y01:-f,x11:_*(i/w-1),y11:M*(i/w-1)}}function Cu(){var t=vL,e=gL,n=Ut(0),r=null,i=yL,a=mL,o=bL,s=null,c=Lp(l);function l(){var u,f,d=+t.apply(this,arguments),h=+e.apply(this,arguments),p=i.apply(this,arguments)-El,v=a.apply(this,arguments)-El,g=Og(v-p),y=v>p;if(s||(s=u=c()),h<d&&(f=h,h=d,d=f),!(h>Ie))s.moveTo(0,0);else if(g>fL-Ie)s.moveTo(h*mi(p),h*qn(p)),s.arc(0,0,h,p,v,!y),d>Ie&&(s.moveTo(d*mi(v),d*qn(v)),s.arc(0,0,d,v,p,y));else{var m=p,b=v,x=p,w=v,O=g,S=g,_=o.apply(this,arguments)/2,M=_>Ie&&(r?+r.apply(this,arguments):va(d*d+h*h)),E=Tf(Og(h-d)/2,+n.apply(this,arguments)),P=E,T=E,A,k;if(M>Ie){var C=Sg(M/d*qn(_)),L=Sg(M/h*qn(_));(O-=C*2)>Ie?(C*=y?1:-1,x+=C,w-=C):(O=0,x=w=(p+v)/2),(S-=L*2)>Ie?(L*=y?1:-1,m+=L,b-=L):(S=0,m=b=(p+v)/2)}var I=h*mi(m),R=h*qn(m),j=d*mi(w),D=d*qn(w);if(E>Ie){var $=h*mi(b),B=h*qn(b),F=d*mi(x),Y=d*qn(x),U;if(g<ls)if(U=xL(I,R,F,Y,$,B,j,D)){var K=I-U[0],V=R-U[1],W=$-U[0],J=B-U[1],et=1/qn(dL((K*W+V*J)/(va(K*K+V*V)*va(W*W+J*J)))/2),it=va(U[0]*U[0]+U[1]*U[1]);P=Tf(E,(d-it)/(et-1)),T=Tf(E,(h-it)/(et+1))}else P=T=0}S>Ie?T>Ie?(A=dc(F,Y,I,R,h,T,y),k=dc($,B,j,D,h,T,y),s.moveTo(A.cx+A.x01,A.cy+A.y01),T<E?s.arc(A.cx,A.cy,T,Re(A.y01,A.x01),Re(k.y01,k.x01),!y):(s.arc(A.cx,A.cy,T,Re(A.y01,A.x01),Re(A.y11,A.x11),!y),s.arc(0,0,h,Re(A.cy+A.y11,A.cx+A.x11),Re(k.cy+k.y11,k.cx+k.x11),!y),s.arc(k.cx,k.cy,T,Re(k.y11,k.x11),Re(k.y01,k.x01),!y))):(s.moveTo(I,R),s.arc(0,0,h,m,b,!y)):s.moveTo(I,R),!(d>Ie)||!(O>Ie)?s.lineTo(j,D):P>Ie?(A=dc(j,D,$,B,d,-P,y),k=dc(I,R,F,Y,d,-P,y),s.lineTo(A.cx+A.x01,A.cy+A.y01),P<E?s.arc(A.cx,A.cy,P,Re(A.y01,A.x01),Re(k.y01,k.x01),!y):(s.arc(A.cx,A.cy,P,Re(A.y01,A.x01),Re(A.y11,A.x11),!y),s.arc(0,0,d,Re(A.cy+A.y11,A.cx+A.x11),Re(k.cy+k.y11,k.cx+k.x11),y),s.arc(k.cx,k.cy,P,Re(k.y11,k.x11),Re(k.y01,k.x01),!y))):s.arc(0,0,d,w,x,y)}if(s.closePath(),u)return s=null,u+""||null}return l.centroid=function(){var u=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,f=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-ls/2;return[mi(f)*u,qn(f)*u]},l.innerRadius=function(u){return arguments.length?(t=typeof u=="function"?u:Ut(+u),l):t},l.outerRadius=function(u){return arguments.length?(e=typeof u=="function"?u:Ut(+u),l):e},l.cornerRadius=function(u){return arguments.length?(n=typeof u=="function"?u:Ut(+u),l):n},l.padRadius=function(u){return arguments.length?(r=u==null?null:typeof u=="function"?u:Ut(+u),l):r},l.startAngle=function(u){return arguments.length?(i=typeof u=="function"?u:Ut(+u),l):i},l.endAngle=function(u){return arguments.length?(a=typeof u=="function"?u:Ut(+u),l):a},l.padAngle=function(u){return arguments.length?(o=typeof u=="function"?u:Ut(+u),l):o},l.context=function(u){return arguments.length?(s=u??null,l):s},l}function V2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function X2(t){this._context=t}X2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Ys(t){return new X2(t)}function U2(t){return t[0]}function q2(t){return t[1]}function Jr(t,e){var n=Ut(!0),r=null,i=Ys,a=null,o=Lp(s);t=typeof t=="function"?t:t===void 0?U2:Ut(t),e=typeof e=="function"?e:e===void 0?q2:Ut(e);function s(c){var l,u=(c=V2(c)).length,f,d=!1,h;for(r==null&&(a=i(h=o())),l=0;l<=u;++l)!(l<u&&n(f=c[l],l,c))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+t(f,l,c),+e(f,l,c));if(h)return a=null,h+""||null}return s.x=function(c){return arguments.length?(t=typeof c=="function"?c:Ut(+c),s):t},s.y=function(c){return arguments.length?(e=typeof c=="function"?c:Ut(+c),s):e},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Ut(!!c),s):n},s.curve=function(c){return arguments.length?(i=c,r!=null&&(a=i(r)),s):i},s.context=function(c){return arguments.length?(c==null?r=a=null:a=i(r=c),s):r},s}function Vd(t,e,n){var r=null,i=Ut(!0),a=null,o=Ys,s=null,c=Lp(l);t=typeof t=="function"?t:t===void 0?U2:Ut(+t),e=typeof e=="function"?e:Ut(e===void 0?0:+e),n=typeof n=="function"?n:n===void 0?q2:Ut(+n);function l(f){var d,h,p,v=(f=V2(f)).length,g,y=!1,m,b=new Array(v),x=new Array(v);for(a==null&&(s=o(m=c())),d=0;d<=v;++d){if(!(d<v&&i(g=f[d],d,f))===y)if(y=!y)h=d,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),p=d-1;p>=h;--p)s.point(b[p],x[p]);s.lineEnd(),s.areaEnd()}y&&(b[d]=+t(g,d,f),x[d]=+e(g,d,f),s.point(r?+r(g,d,f):b[d],n?+n(g,d,f):x[d]))}if(m)return s=null,m+""||null}function u(){return Jr().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(t=typeof f=="function"?f:Ut(+f),r=null,l):t},l.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Ut(+f),l):t},l.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Ut(+f),l):r},l.y=function(f){return arguments.length?(e=typeof f=="function"?f:Ut(+f),n=null,l):e},l.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Ut(+f),l):e},l.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Ut(+f),l):n},l.lineX0=l.lineY0=function(){return u().x(t).y(e)},l.lineY1=function(){return u().x(t).y(n)},l.lineX1=function(){return u().x(r).y(e)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Ut(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}var K2=Np(Ys);function Z2(t){this._curve=t}Z2.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};function Np(t){function e(n){return new Z2(t(n))}return e._curve=t,e}function Mo(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(n){return arguments.length?e(Np(n)):e()._curve},t}function wL(){return Mo(Jr().curve(K2))}function OL(){var t=Vd().curve(K2),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Mo(n())},delete t.lineX0,t.lineEndAngle=function(){return Mo(r())},delete t.lineX1,t.lineInnerRadius=function(){return Mo(i())},delete t.lineY0,t.lineOuterRadius=function(){return Mo(a())},delete t.lineY1,t.curve=function(o){return arguments.length?e(Np(o)):e()._curve},t}function Da(){}function Xd(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Rp(t,e){this._context=t,this._k=(1-e)/6}Rp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Xd(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Xd(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return new Rp(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Ip(t,e){this._context=t,this._k=(1-e)/6}Ip.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Xd(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return new Ip(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Q2(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>Ie){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Ie){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*l+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function J2(t,e){this._context=t,this._alpha=e}J2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Q2(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return e?new J2(r,e):new Rp(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function tw(t,e){this._context=t,this._alpha=e}tw.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Q2(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ew=function t(e){function n(r){return e?new tw(r,e):new Ip(r,0)}return n.alpha=function(r){return t(+r)},n}(.5);function nw(t){this._context=t}nw.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function jp(t){return new nw(t)}function _g(t){return t<0?-1:1}function Mg(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(_g(a)+_g(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Eg(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Cf(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function Pl(t){this._context=t}Pl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Cf(this,this._t0,Eg(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Cf(this,Eg(this,n=Mg(this,t,e)),n);break;default:Cf(this,this._t0,n=Mg(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function rw(t){this._context=new iw(t)}(rw.prototype=Object.create(Pl.prototype)).point=function(t,e){Pl.prototype.point.call(this,e,t)};function iw(t){this._context=t}iw.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}};function aw(t){return new Pl(t)}function ow(t){return new rw(t)}function Lu(t,e){this._context=t,this._t=e}Lu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function sw(t){return new Lu(t,.5)}function cw(t){return new Lu(t,0)}function lw(t){return new Lu(t,1)}function qt(t){const{transformations:e}=t.getOptions();return e.map(([r])=>r).filter(r=>r==="transpose").length%2!==0}function Ht(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="polar")}function Nu(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="reflect")&&e.some(([n])=>n.startsWith("transpose"))}function uw(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="helix")}function Ru(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="parallel")}function fw(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="fisheye")}function SL(t){return Ru(t)&&Ht(t)}function eo(t){return uw(t)||Ht(t)}function _L(t){return Ht(t)&&qt(t)}function ML(t){if(eo(t)){const[e,n]=t.getSize(),r=t.getOptions().transformations.find(i=>i[0]==="polar");if(r)return Math.max(e,n)/2*r[4]}return 0}function Iu(t){const{transformations:e}=t.getOptions(),[,,,n,r]=e.find(i=>i[0]==="polar");return[+n,+r]}function Dp(t,e=!0){const{transformations:n}=t.getOptions(),[,r,i]=n.find(a=>a[0]==="polar");return e?[+r*180/Math.PI,+i*180/Math.PI]:[r,i]}function EL(t,e){const{transformations:n}=t.getOptions(),[,...r]=n.find(i=>i[0]===e);return r}var dw={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,l,u){this.fn=c,this.context=l,this.once=u||!1}function a(c,l,u,f,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var h=new i(u,f||c,d),p=n?n+l:l;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function o(c,l){--c._eventsCount===0?c._events=new r:delete c._events[l]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],u,f;if(this._eventsCount===0)return l;for(f in u=this._events)e.call(u,f)&&l.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},s.prototype.listeners=function(l){var u=n?n+l:l,f=this._events[u];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,p=new Array(h);d<h;d++)p[d]=f[d].fn;return p},s.prototype.listenerCount=function(l){var u=n?n+l:l,f=this._events[u];return f?f.fn?1:f.length:0},s.prototype.emit=function(l,u,f,d,h,p){var v=n?n+l:l;if(!this._events[v])return!1;var g=this._events[v],y=arguments.length,m,b;if(g.fn){switch(g.once&&this.removeListener(l,g.fn,void 0,!0),y){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,u),!0;case 3:return g.fn.call(g.context,u,f),!0;case 4:return g.fn.call(g.context,u,f,d),!0;case 5:return g.fn.call(g.context,u,f,d,h),!0;case 6:return g.fn.call(g.context,u,f,d,h,p),!0}for(b=1,m=new Array(y-1);b<y;b++)m[b-1]=arguments[b];g.fn.apply(g.context,m)}else{var x=g.length,w;for(b=0;b<x;b++)switch(g[b].once&&this.removeListener(l,g[b].fn,void 0,!0),y){case 1:g[b].fn.call(g[b].context);break;case 2:g[b].fn.call(g[b].context,u);break;case 3:g[b].fn.call(g[b].context,u,f);break;case 4:g[b].fn.call(g[b].context,u,f,d);break;default:if(!m)for(w=1,m=new Array(y-1);w<y;w++)m[w-1]=arguments[w];g[b].fn.apply(g[b].context,m)}}return!0},s.prototype.on=function(l,u,f){return a(this,l,u,f,!1)},s.prototype.once=function(l,u,f){return a(this,l,u,f,!0)},s.prototype.removeListener=function(l,u,f,d){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!d||p.once)&&(!f||p.context===f)&&o(this,h);else{for(var v=0,g=[],y=p.length;v<y;v++)(p[v].fn!==u||d&&!p[v].once||f&&p[v].context!==f)&&g.push(p[v]);g.length?this._events[h]=g.length===1?g[0]:g:o(this,h)}return this},s.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s})(dw);var PL=dw.exports;const $p=ip(PL);function Bp(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function hw(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ws(){}var us=.7,Al=1/us,xa="\\s*([+-]?\\d+)\\s*",fs="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",or="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",AL=/^#([0-9a-f]{3,8})$/,kL=new RegExp("^rgb\\("+[xa,xa,xa]+"\\)$"),TL=new RegExp("^rgb\\("+[or,or,or]+"\\)$"),CL=new RegExp("^rgba\\("+[xa,xa,xa,fs]+"\\)$"),LL=new RegExp("^rgba\\("+[or,or,or,fs]+"\\)$"),NL=new RegExp("^hsl\\("+[fs,or,or]+"\\)$"),RL=new RegExp("^hsla\\("+[fs,or,or,fs]+"\\)$"),Pg={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Bp(Ws,ju,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ag,formatHex:Ag,formatHsl:IL,formatRgb:kg,toString:kg});function Ag(){return this.rgb().formatHex()}function IL(){return pw(this).formatHsl()}function kg(){return this.rgb().formatRgb()}function ju(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=AL.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Tg(e):n===3?new yn(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?hc(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?hc(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=kL.exec(t))?new yn(e[1],e[2],e[3],1):(e=TL.exec(t))?new yn(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=CL.exec(t))?hc(e[1],e[2],e[3],e[4]):(e=LL.exec(t))?hc(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=NL.exec(t))?Ng(e[1],e[2]/100,e[3]/100,1):(e=RL.exec(t))?Ng(e[1],e[2]/100,e[3]/100,e[4]):Pg.hasOwnProperty(t)?Tg(Pg[t]):t==="transparent"?new yn(NaN,NaN,NaN,0):null}function Tg(t){return new yn(t>>16&255,t>>8&255,t&255,1)}function hc(t,e,n,r){return r<=0&&(t=e=n=NaN),new yn(t,e,n,r)}function jL(t){return t instanceof Ws||(t=ju(t)),t?(t=t.rgb(),new yn(t.r,t.g,t.b,t.opacity)):new yn}function DL(t,e,n,r){return arguments.length===1?jL(t):new yn(t,e,n,r??1)}function yn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}Bp(yn,DL,hw(Ws,{brighter:function(t){return t=t==null?Al:Math.pow(Al,t),new yn(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?us:Math.pow(us,t),new yn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Cg,formatHex:Cg,formatRgb:Lg,toString:Lg}));function Cg(){return"#"+Lf(this.r)+Lf(this.g)+Lf(this.b)}function Lg(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function Lf(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function Ng(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Qn(t,e,n,r)}function pw(t){if(t instanceof Qn)return new Qn(t.h,t.s,t.l,t.opacity);if(t instanceof Ws||(t=ju(t)),!t)return new Qn;if(t instanceof Qn)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(e===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-e)/s+2:o=(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Qn(o,s,c,t.opacity)}function $L(t,e,n,r){return arguments.length===1?pw(t):new Qn(t,e,n,r??1)}function Qn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Bp(Qn,$L,hw(Ws,{brighter:function(t){return t=t==null?Al:Math.pow(Al,t),new Qn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?us:Math.pow(us,t),new Qn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new yn(Nf(t>=240?t-240:t+120,i,r),Nf(t,i,r),Nf(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(t===1?")":", "+t+")")}}));function Nf(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function Pr(t,e,n,r){var i=t-n,a=e-r;return Math.sqrt(i*i+a*a)}function vw(t,e){var n=Math.min.apply(Math,q([],N(t),!1)),r=Math.min.apply(Math,q([],N(e),!1)),i=Math.max.apply(Math,q([],N(t),!1)),a=Math.max.apply(Math,q([],N(e),!1));return{x:n,y:r,width:i-n,height:a-r}}function BL(t,e,n){return Math.atan(-e/t*Math.tan(n))}function FL(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function zL(t,e,n,r,i,a){return n*Math.cos(i)*Math.cos(a)-r*Math.sin(i)*Math.sin(a)+t}function GL(t,e,n,r,i,a){return n*Math.sin(i)*Math.cos(a)+r*Math.cos(i)*Math.sin(a)+e}function YL(t,e,n,r,i,a,o){for(var s=BL(n,r,i),c=1/0,l=-1/0,u=[a,o],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var d=s+f;a<o?a<d&&d<o&&u.push(d):o<d&&d<a&&u.push(d)}for(var f=0;f<u.length;f++){var h=zL(t,e,n,r,i,u[f]);h<c&&(c=h),h>l&&(l=h)}for(var p=FL(n,r,i),v=1/0,g=-1/0,y=[a,o],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var m=p+f;a<o?a<m&&m<o&&y.push(m):o<m&&m<a&&y.push(m)}for(var f=0;f<y.length;f++){var b=GL(t,e,n,r,i,y[f]);b<v&&(v=b),b>g&&(g=b)}return{x:c,y:v,width:l-c,height:g-v}}var WL=1e-4;function gw(t,e,n,r,i,a){var o=-1,s=1/0,c=[n,r],l=20;a&&a>200&&(l=a/10);for(var u=1/l,f=u/10,d=0;d<=l;d++){var h=d*u,p=[i.apply(void 0,q([],N(t.concat([h])),!1)),i.apply(void 0,q([],N(e.concat([h])),!1))],v=Pr(c[0],c[1],p[0],p[1]);v<s&&(o=h,s=v)}if(o===0)return{x:t[0],y:e[0]};if(o===1){var g=t.length;return{x:t[g-1],y:e[g-1]}}s=1/0;for(var d=0;d<32&&!(f<WL);d++){var y=o-f,m=o+f,p=[i.apply(void 0,q([],N(t.concat([y])),!1)),i.apply(void 0,q([],N(e.concat([y])),!1))],v=Pr(c[0],c[1],p[0],p[1]);if(y>=0&&v<s)o=y,s=v;else{var b=[i.apply(void 0,q([],N(t.concat([m])),!1)),i.apply(void 0,q([],N(e.concat([m])),!1))],x=Pr(c[0],c[1],b[0],b[1]);m<=1&&x<s?(o=m,s=x):f*=.5}}return{x:i.apply(void 0,q([],N(t.concat([o])),!1)),y:i.apply(void 0,q([],N(e.concat([o])),!1))}}function yw(t,e,n,r){return Pr(t,e,n,r)}function mw(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}}function HL(t,e,n,r,i,a){var o=[n-t,r-e];if(LT(o,[0,0]))return Math.sqrt((i-t)*(i-t)+(a-e)*(a-e));var s=[-o[1],o[0]];TT(s,s);var c=[i-t,a-e];return Math.abs(CT(c,s))}function Ud(t,e,n,r,i){var a=1-i;return a*a*a*t+3*e*i*a*a+3*n*i*i*a+r*i*i*i}function Rg(t,e,n,r){var i=-3*t+9*e-9*n+3*r,a=6*t-12*e+6*n,o=3*e-3*t,s=[],c,l,u;if(Fo(i,0))Fo(a,0)||(c=-o/a,c>=0&&c<=1&&s.push(c));else{var f=a*a-4*i*o;Fo(f,0)?s.push(-a/(2*i)):f>0&&(u=Math.sqrt(f),c=(-a+u)/(2*i),l=(-a-u)/(2*i),c>=0&&c<=1&&s.push(c),l>=0&&l<=1&&s.push(l))}return s}function VL(t,e,n,r,i,a,o,s){for(var c=[t,o],l=[e,s],u=Rg(t,n,i,o),f=Rg(e,r,a,s),d=0;d<u.length;d++)c.push(Ud(t,n,i,o,u[d]));for(var d=0;d<f.length;d++)l.push(Ud(e,r,a,s,f[d]));return vw(c,l)}function XL(t,e,n,r,i,a,o,s,c,l,u){return gw([t,n,i,o],[e,r,a,s],c,l,Ud,u)}function Ig(t,e,n,r,i,a,o,s,c,l,u){var f=XL(t,e,n,r,i,a,o,s,c,l,u);return Pr(f.x,f.y,c,l)}function UL(t){if(t.length<2)return 0;for(var e=0,n=0;n<t.length-1;n++){var r=t[n],i=t[n+1];e+=Pr(r[0],r[1],i[0],i[1])}return e}function qL(t){return UL(t)}function qd(t,e,n,r){var i=1-r;return i*i*t+2*r*i*e+r*r*n}function jg(t,e,n){var r=t+n-2*e;if(Fo(r,0))return[.5];var i=(t-e)/r;return i<=1&&i>=0?[i]:[]}function KL(t,e,n,r,i,a){var o=jg(t,n,i)[0],s=jg(e,r,a)[0],c=[t,i],l=[e,a];return o!==void 0&&c.push(qd(t,n,i,o)),s!==void 0&&l.push(qd(e,r,a,s)),vw(c,l)}function ZL(t,e,n,r,i,a,o,s){return gw([t,n,i],[e,r,a],o,s,qd)}function QL(t,e,n,r,i,a,o,s){var c=ZL(t,e,n,r,i,a,o,s);return Pr(c.x,c.y,o,s)}var JL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bw={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(JL,function(){function n(w,O,S,_,M){r(w,O,S||0,_||w.length-1,M||a)}function r(w,O,S,_,M){for(;_>S;){if(_-S>600){var E=_-S+1,P=O-S+1,T=Math.log(E),A=.5*Math.exp(2*T/3),k=.5*Math.sqrt(T*A*(E-A)/E)*(P-E/2<0?-1:1),C=Math.max(S,Math.floor(O-P*A/E+k)),L=Math.min(_,Math.floor(O+(E-P)*A/E+k));r(w,O,C,L,M)}var I=w[O],R=S,j=_;for(i(w,S,O),M(w[_],I)>0&&i(w,S,_);R<j;){for(i(w,R,j),R++,j--;M(w[R],I)<0;)R++;for(;M(w[j],I)>0;)j--}M(w[S],I)===0?i(w,S,j):(j++,i(w,j,_)),j<=O&&(S=j+1),O<=j&&(_=j-1)}}function i(w,O,S){var _=w[O];w[O]=w[S],w[S]=_}function a(w,O){return w<O?-1:w>O?1:0}var o=function(O){O===void 0&&(O=9),this._maxEntries=Math.max(4,O),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()};o.prototype.all=function(){return this._all(this.data,[])},o.prototype.search=function(O){var S=this.data,_=[];if(!m(O,S))return _;for(var M=this.toBBox,E=[];S;){for(var P=0;P<S.children.length;P++){var T=S.children[P],A=S.leaf?M(T):T;m(O,A)&&(S.leaf?_.push(T):y(O,A)?this._all(T,_):E.push(T))}S=E.pop()}return _},o.prototype.collides=function(O){var S=this.data;if(!m(O,S))return!1;for(var _=[];S;){for(var M=0;M<S.children.length;M++){var E=S.children[M],P=S.leaf?this.toBBox(E):E;if(m(O,P)){if(S.leaf||y(O,P))return!0;_.push(E)}}S=_.pop()}return!1},o.prototype.load=function(O){if(!(O&&O.length))return this;if(O.length<this._minEntries){for(var S=0;S<O.length;S++)this.insert(O[S]);return this}var _=this._build(O.slice(),0,O.length-1,0);if(!this.data.children.length)this.data=_;else if(this.data.height===_.height)this._splitRoot(this.data,_);else{if(this.data.height<_.height){var M=this.data;this.data=_,_=M}this._insert(_,this.data.height-_.height-1,!0)}return this},o.prototype.insert=function(O){return O&&this._insert(O,this.data.height-1),this},o.prototype.clear=function(){return this.data=b([]),this},o.prototype.remove=function(O,S){if(!O)return this;for(var _=this.data,M=this.toBBox(O),E=[],P=[],T,A,k;_||E.length;){if(_||(_=E.pop(),A=E[E.length-1],T=P.pop(),k=!0),_.leaf){var C=s(O,_.children,S);if(C!==-1)return _.children.splice(C,1),E.push(_),this._condense(E),this}!k&&!_.leaf&&y(_,M)?(E.push(_),P.push(T),T=0,A=_,_=_.children[0]):A?(T++,_=A.children[T],k=!1):_=null}return this},o.prototype.toBBox=function(O){return O},o.prototype.compareMinX=function(O,S){return O.minX-S.minX},o.prototype.compareMinY=function(O,S){return O.minY-S.minY},o.prototype.toJSON=function(){return this.data},o.prototype.fromJSON=function(O){return this.data=O,this},o.prototype._all=function(O,S){for(var _=[];O;)O.leaf?S.push.apply(S,O.children):_.push.apply(_,O.children),O=_.pop();return S},o.prototype._build=function(O,S,_,M){var E=_-S+1,P=this._maxEntries,T;if(E<=P)return T=b(O.slice(S,_+1)),c(T,this.toBBox),T;M||(M=Math.ceil(Math.log(E)/Math.log(P)),P=Math.ceil(E/Math.pow(P,M-1))),T=b([]),T.leaf=!1,T.height=M;var A=Math.ceil(E/P),k=A*Math.ceil(Math.sqrt(P));x(O,S,_,k,this.compareMinX);for(var C=S;C<=_;C+=k){var L=Math.min(C+k-1,_);x(O,C,L,A,this.compareMinY);for(var I=C;I<=L;I+=A){var R=Math.min(I+A-1,L);T.children.push(this._build(O,I,R,M-1))}}return c(T,this.toBBox),T},o.prototype._chooseSubtree=function(O,S,_,M){for(;M.push(S),!(S.leaf||M.length-1===_);){for(var E=1/0,P=1/0,T=void 0,A=0;A<S.children.length;A++){var k=S.children[A],C=h(k),L=v(O,k)-C;L<P?(P=L,E=C<E?C:E,T=k):L===P&&C<E&&(E=C,T=k)}S=T||S.children[0]}return S},o.prototype._insert=function(O,S,_){var M=_?O:this.toBBox(O),E=[],P=this._chooseSubtree(M,this.data,S,E);for(P.children.push(O),u(P,M);S>=0&&E[S].children.length>this._maxEntries;)this._split(E,S),S--;this._adjustParentBBoxes(M,E,S)},o.prototype._split=function(O,S){var _=O[S],M=_.children.length,E=this._minEntries;this._chooseSplitAxis(_,E,M);var P=this._chooseSplitIndex(_,E,M),T=b(_.children.splice(P,_.children.length-P));T.height=_.height,T.leaf=_.leaf,c(_,this.toBBox),c(T,this.toBBox),S?O[S-1].children.push(T):this._splitRoot(_,T)},o.prototype._splitRoot=function(O,S){this.data=b([O,S]),this.data.height=O.height+1,this.data.leaf=!1,c(this.data,this.toBBox)},o.prototype._chooseSplitIndex=function(O,S,_){for(var M,E=1/0,P=1/0,T=S;T<=_-S;T++){var A=l(O,0,T,this.toBBox),k=l(O,T,_,this.toBBox),C=g(A,k),L=h(A)+h(k);C<E?(E=C,M=T,P=L<P?L:P):C===E&&L<P&&(P=L,M=T)}return M||_-S},o.prototype._chooseSplitAxis=function(O,S,_){var M=O.leaf?this.compareMinX:f,E=O.leaf?this.compareMinY:d,P=this._allDistMargin(O,S,_,M),T=this._allDistMargin(O,S,_,E);P<T&&O.children.sort(M)},o.prototype._allDistMargin=function(O,S,_,M){O.children.sort(M);for(var E=this.toBBox,P=l(O,0,S,E),T=l(O,_-S,_,E),A=p(P)+p(T),k=S;k<_-S;k++){var C=O.children[k];u(P,O.leaf?E(C):C),A+=p(P)}for(var L=_-S-1;L>=S;L--){var I=O.children[L];u(T,O.leaf?E(I):I),A+=p(T)}return A},o.prototype._adjustParentBBoxes=function(O,S,_){for(var M=_;M>=0;M--)u(S[M],O)},o.prototype._condense=function(O){for(var S=O.length-1,_=void 0;S>=0;S--)O[S].children.length===0?S>0?(_=O[S-1].children,_.splice(_.indexOf(O[S]),1)):this.clear():c(O[S],this.toBBox)};function s(w,O,S){if(!S)return O.indexOf(w);for(var _=0;_<O.length;_++)if(S(w,O[_]))return _;return-1}function c(w,O){l(w,0,w.children.length,O,w)}function l(w,O,S,_,M){M||(M=b(null)),M.minX=1/0,M.minY=1/0,M.maxX=-1/0,M.maxY=-1/0;for(var E=O;E<S;E++){var P=w.children[E];u(M,w.leaf?_(P):P)}return M}function u(w,O){return w.minX=Math.min(w.minX,O.minX),w.minY=Math.min(w.minY,O.minY),w.maxX=Math.max(w.maxX,O.maxX),w.maxY=Math.max(w.maxY,O.maxY),w}function f(w,O){return w.minX-O.minX}function d(w,O){return w.minY-O.minY}function h(w){return(w.maxX-w.minX)*(w.maxY-w.minY)}function p(w){return w.maxX-w.minX+(w.maxY-w.minY)}function v(w,O){return(Math.max(O.maxX,w.maxX)-Math.min(O.minX,w.minX))*(Math.max(O.maxY,w.maxY)-Math.min(O.minY,w.minY))}function g(w,O){var S=Math.max(w.minX,O.minX),_=Math.max(w.minY,O.minY),M=Math.min(w.maxX,O.maxX),E=Math.min(w.maxY,O.maxY);return Math.max(0,M-S)*Math.max(0,E-_)}function y(w,O){return w.minX<=O.minX&&w.minY<=O.minY&&O.maxX<=w.maxX&&O.maxY<=w.maxY}function m(w,O){return O.minX<=w.maxX&&O.minY<=w.maxY&&O.maxX>=w.minX&&O.maxY>=w.minY}function b(w){return{children:w,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(w,O,S,_,M){for(var E=[O,S];E.length;)if(S=E.pop(),O=E.pop(),!(S-O<=_)){var P=O+Math.ceil((S-O)/_/2)*_;n(w,P,O,S,M),E.push(O,P,P,S)}}return o})})(bw);var tN=bw.exports,G;(function(t){t.GROUP="g",t.CIRCLE="circle",t.ELLIPSE="ellipse",t.IMAGE="image",t.RECT="rect",t.LINE="line",t.POLYLINE="polyline",t.POLYGON="polygon",t.TEXT="text",t.PATH="path",t.HTML="html",t.MESH="mesh"})(G||(G={}));var wa;(function(t){t[t.ZERO=0]="ZERO",t[t.NEGATIVE_ONE=1]="NEGATIVE_ONE"})(wa||(wa={}));var ci=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(e){this.plugins.push(e),this.context.renderingPlugins.push(e)},t.prototype.removeAllRenderingPlugins=function(){var e=this;this.plugins.forEach(function(n){var r=e.context.renderingPlugins.indexOf(n);r>=0&&e.context.renderingPlugins.splice(r,1)})},t}(),eN=function(){function t(e){this.clipSpaceNearZ=wa.NEGATIVE_ONE,this.plugins=[],this.config=z({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1},e)}return t.prototype.registerPlugin=function(e){var n=this.plugins.findIndex(function(r){return r===e});n===-1&&this.plugins.push(e)},t.prototype.unregisterPlugin=function(e){var n=this.plugins.findIndex(function(r){return r===e});n>-1&&this.plugins.splice(n,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(e){return this.plugins.find(function(n){return n.name===e})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(e){Object.assign(this.config,e)},t}();function na(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Rf(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function el(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function Dg(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function nN(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function rN(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function Oa(t){return t===void 0?0:t>360||t<-360?t%360:t}function We(t,e,n){return e===void 0&&(e=0),n===void 0&&(n=0),Array.isArray(t)&&t.length===3?br(t):de(t)?St(t,e,n):St(t[0],t[1]||e,t[2]||n)}function re(t){return t*(Math.PI/180)}function Pn(t){return t*(180/Math.PI)}function iN(t){return 360*t}function aN(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n,s=r*r,c=i*i,l=a*a,u=o+s+c+l,f=n*a-r*i;return f>.499995*u?(t[0]=Math.PI/2,t[1]=2*Math.atan2(r,n),t[2]=0):f<-.499995*u?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(r,n),t[2]=0):(t[0]=Math.asin(2*(n*i-a*r)),t[1]=Math.atan2(2*(n*a+r*i),1-2*(c+l)),t[2]=Math.atan2(2*(n*r+i*a),1-2*(s+c))),t}function oN(t,e){var n,r,i=Math.PI*.5,a=N(Aa(yt(),e),3),o=a[0],s=a[1],c=a[2],l=Math.asin(-e[2]/o);return l<i?l>-i?(n=Math.atan2(e[6]/s,e[10]/c),r=Math.atan2(e[1]/o,e[0]/o)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=l,t[2]=r,t}function If(t,e){return e.length===16?oN(t,e):aN(t,e)}function sN(t,e,n,r,i){var a=Math.cos(t),o=Math.sin(t);return Yk(r*a,i*o,0,-r*o,i*a,0,e,n,1)}function cN(t,e,n,r,i,a,o,s){s===void 0&&(s=!1);var c=2*a/(n-e),l=2*a/(r-i),u=(n+e)/(n-e),f=(r+i)/(r-i),d,h;return s?(d=-o/(o-a),h=-o*a/(o-a)):(d=-(o+a)/(o-a),h=-2*o*a/(o-a)),t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=-1,t[12]=0,t[13]=0,t[14]=h,t[15]=0,t}function $g(t){var e=t[0],n=t[1],r=t[3],i=t[4],a=Math.sqrt(e*e+n*n),o=Math.sqrt(r*r+i*i),s=e*i-n*r;s<0&&(e<i?a=-a:o=-o),a&&(e*=1/a,n*=1/a),o&&(r*=1/o,i*=1/o);var c=Math.atan2(n,e),l=Pn(c);return[t[6],t[7],a,o,l]}var Kn=Nt(),zn=Nt(),bo=da(),ft=[yt(),yt(),yt()],Bg=yt();function lN(t,e,n,r,i,a){if(!uN(Kn,t)||(Ri(zn,Kn),zn[3]=0,zn[7]=0,zn[11]=0,zn[15]=1,Math.abs(Gb(zn))<1e-8))return!1;var o=Kn[3],s=Kn[7],c=Kn[11],l=Kn[12],u=Kn[13],f=Kn[14],d=Kn[15];if(o!==0||s!==0||c!==0){bo[0]=o,bo[1]=s,bo[2]=c,bo[3]=d;var h=Wn(zn,zn);if(!h)return!1;zb(zn,zn),ha(i,bo,zn)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=l,e[1]=u,e[2]=f,fN(ft,Kn),n[0]=wr(ft[0]),Ti(ft[0],ft[0]),r[0]=nr(ft[0],ft[1]),jf(ft[1],ft[1],ft[0],1,-r[0]),n[1]=wr(ft[1]),Ti(ft[1],ft[1]),r[0]/=n[1],r[1]=nr(ft[0],ft[2]),jf(ft[2],ft[2],ft[0],1,-r[1]),r[2]=nr(ft[1],ft[2]),jf(ft[2],ft[2],ft[1],1,-r[2]),n[2]=wr(ft[2]),Ti(ft[2],ft[2]),r[1]/=n[2],r[2]/=n[2],Qc(Bg,ft[1],ft[2]),nr(ft[0],Bg)<0)for(var p=0;p<3;p++)n[p]*=-1,ft[p][0]*=-1,ft[p][1]*=-1,ft[p][2]*=-1;return a[0]=.5*Math.sqrt(Math.max(1+ft[0][0]-ft[1][1]-ft[2][2],0)),a[1]=.5*Math.sqrt(Math.max(1-ft[0][0]+ft[1][1]-ft[2][2],0)),a[2]=.5*Math.sqrt(Math.max(1-ft[0][0]-ft[1][1]+ft[2][2],0)),a[3]=.5*Math.sqrt(Math.max(1+ft[0][0]+ft[1][1]+ft[2][2],0)),ft[2][1]>ft[1][2]&&(a[0]=-a[0]),ft[0][2]>ft[2][0]&&(a[1]=-a[1]),ft[1][0]>ft[0][1]&&(a[2]=-a[2]),!0}function uN(t,e){var n=e[15];if(n===0)return!1;for(var r=1/n,i=0;i<16;i++)t[i]=e[i]*r;return!0}function fN(t,e){t[0][0]=e[0],t[0][1]=e[1],t[0][2]=e[2],t[1][0]=e[4],t[1][1]=e[5],t[1][2]=e[6],t[2][0]=e[8],t[2][1]=e[9],t[2][2]=e[10]}function jf(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var be=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(e){return!e||e.halfExtents[0]===0&&e.halfExtents[1]===0&&e.halfExtents[2]===0},t.prototype.update=function(e,n){na(this.center,e),na(this.halfExtents,n),Rf(this.min,this.center,this.halfExtents),el(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(e,n){el(this.center,n,e),Dg(this.center,this.center,.5),Rf(this.halfExtents,n,e),Dg(this.halfExtents,this.halfExtents,.5),na(this.min,e),na(this.max,n)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],a=n[2],o=this.halfExtents,s=o[0],c=o[1],l=o[2],u=r-s,f=r+s,d=i-c,h=i+c,p=a-l,v=a+l,g=e.center,y=g[0],m=g[1],b=g[2],x=e.halfExtents,w=x[0],O=x[1],S=x[2],_=y-w,M=y+w,E=m-O,P=m+O,T=b-S,A=b+S;_<u&&(u=_),M>f&&(f=M),E<d&&(d=E),P>h&&(h=P),T<p&&(p=T),A>v&&(v=A),n[0]=(u+f)*.5,n[1]=(d+h)*.5,n[2]=(p+v)*.5,o[0]=(f-u)*.5,o[1]=(h-d)*.5,o[2]=(v-p)*.5,this.min[0]=u,this.min[1]=d,this.min[2]=p,this.max[0]=f,this.max[1]=h,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(e,n){var r=this.center,i=this.halfExtents,a=e.center,o=e.halfExtents,s=n[0],c=n[4],l=n[8],u=n[1],f=n[5],d=n[9],h=n[2],p=n[6],v=n[10],g=Math.abs(s),y=Math.abs(c),m=Math.abs(l),b=Math.abs(u),x=Math.abs(f),w=Math.abs(d),O=Math.abs(h),S=Math.abs(p),_=Math.abs(v);r[0]=n[12]+s*a[0]+c*a[1]+l*a[2],r[1]=n[13]+u*a[0]+f*a[1]+d*a[2],r[2]=n[14]+h*a[0]+p*a[1]+v*a[2],i[0]=g*o[0]+y*o[1]+m*o[2],i[1]=b*o[0]+x*o[1]+w*o[2],i[2]=O*o[0]+S*o[1]+_*o[2],Rf(this.min,r,i),el(this.max,r,i)},t.prototype.intersects=function(e){var n=this.getMax(),r=this.getMin(),i=e.getMax(),a=e.getMin();return r[0]<=i[0]&&n[0]>=a[0]&&r[1]<=i[1]&&n[1]>=a[1]&&r[2]<=i[2]&&n[2]>=a[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n=new t,r=nN([0,0,0],this.getMin(),e.getMin()),i=rN([0,0,0],this.getMax(),e.getMax());return n.setMinMax(r,i),n},t.prototype.getNegativeFarPoint=function(e){return e.pnVertexFlag===273?na([0,0,0],this.min):e.pnVertexFlag===272?[this.min[0],this.min[1],this.max[2]]:e.pnVertexFlag===257?[this.min[0],this.max[1],this.min[2]]:e.pnVertexFlag===256?[this.min[0],this.max[1],this.max[2]]:e.pnVertexFlag===17?[this.max[0],this.min[1],this.min[2]]:e.pnVertexFlag===16?[this.max[0],this.min[1],this.max[2]]:e.pnVertexFlag===1?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(e){return e.pnVertexFlag===273?na([0,0,0],this.max):e.pnVertexFlag===272?[this.max[0],this.max[1],this.min[2]]:e.pnVertexFlag===257?[this.max[0],this.min[1],this.max[2]]:e.pnVertexFlag===256?[this.max[0],this.min[1],this.min[2]]:e.pnVertexFlag===17?[this.min[0],this.max[1],this.max[2]]:e.pnVertexFlag===16?[this.min[0],this.max[1],this.min[2]]:e.pnVertexFlag===1?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]},t}(),dN=function(){function t(e,n){this.distance=e||0,this.normal=n||St(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(+(this.normal[0]>=0)<<8)+(+(this.normal[1]>=0)<<4)+ +(this.normal[2]>=0)},t.prototype.distanceToPoint=function(e){return nr(e,this.normal)-this.distance},t.prototype.normalize=function(){var e=1/tx(this.normal);Cd(this.normal,this.normal,e),this.distance*=e},t.prototype.intersectsLine=function(e,n,r){var i=this.distanceToPoint(e),a=this.distanceToPoint(n),o=i/(i-a),s=o>=0&&o<=1;return s&&r&&Ld(r,e,n,o),s},t}(),zr;(function(t){t[t.OUTSIDE=4294967295]="OUTSIDE",t[t.INSIDE=0]="INSIDE",t[t.INDETERMINATE=2147483647]="INDETERMINATE"})(zr||(zr={}));var hN=function(){function t(e){if(this.planes=[],e)this.planes=e;else for(var n=0;n<6;n++)this.planes.push(new dN)}return t.prototype.extractFromVPMatrix=function(e){var n=N(e,16),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7],f=n[8],d=n[9],h=n[10],p=n[11],v=n[12],g=n[13],y=n[14],m=n[15];Gn(this.planes[0].normal,o-r,u-s,p-f),this.planes[0].distance=m-v,Gn(this.planes[1].normal,o+r,u+s,p+f),this.planes[1].distance=m+v,Gn(this.planes[2].normal,o+i,u+c,p+d),this.planes[2].distance=m+g,Gn(this.planes[3].normal,o-i,u-c,p-d),this.planes[3].distance=m-g,Gn(this.planes[4].normal,o-a,u-l,p-h),this.planes[4].distance=m-y,Gn(this.planes[5].normal,o+a,u+l,p+h),this.planes[5].distance=m+y,this.planes.forEach(function(b){b.normalize(),b.updatePNVertexFlag()})},t}(),Ee=function(){function t(e,n){e===void 0&&(e=0),n===void 0&&(n=0),this.x=0,this.y=0,this.x=e,this.y=n}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(e){this.x=e.x,this.y=e.y},t}(),Fi=function(){function t(e,n,r,i){this.x=e,this.y=n,this.width=r,this.height=i,this.left=e,this.right=e+r,this.top=n,this.bottom=n+i}return t.prototype.toJSON=function(){},t}(),It="Method not implemented.",ra="Use document.documentElement instead.",pN="Cannot append a destroyed element.",Tt;(function(t){t[t.ORBITING=0]="ORBITING",t[t.EXPLORING=1]="EXPLORING",t[t.TRACKING=2]="TRACKING"})(Tt||(Tt={}));var ds;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ROTATIONAL=1]="ROTATIONAL",t[t.TRANSLATIONAL=2]="TRANSLATIONAL",t[t.CINEMATIC=3]="CINEMATIC"})(ds||(ds={}));var tn;(function(t){t[t.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",t[t.PERSPECTIVE=1]="PERSPECTIVE"})(tn||(tn={}));var xw={UPDATED:"updated"},Fg=2e-4,ww=function(){function t(){this.clipSpaceNearZ=wa.NEGATIVE_ONE,this.eventEmitter=new $p,this.matrix=Nt(),this.right=St(1,0,0),this.up=St(0,1,0),this.forward=St(0,0,1),this.position=St(0,0,1),this.focalPoint=St(0,0,0),this.distanceVector=St(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=Nt(),this.projectionMatrixInverse=Nt(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=Tt.EXPLORING,this.trackingMode=ds.DEFAULT,this.projectionMode=tn.PERSPECTIVE,this.frustum=new hN,this.orthoMatrix=Nt()}return t.prototype.isOrtho=function(){return this.projectionMode===tn.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(e){this.enableUpdate=e},t.prototype.setType=function(e,n){return this.type=e,this.type===Tt.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===Tt.TRACKING&&n!==void 0&&this.setTrackingMode(n),this},t.prototype.setProjectionMode=function(e){return this.projectionMode=e,this},t.prototype.setTrackingMode=function(e){if(this.type!==Tt.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=e,this},t.prototype.setWorldRotation=function(e){return this.rotateWorld=e,this._getAngles(),this},t.prototype.getViewTransform=function(){return Wn(Nt(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(e,n){var r=up(Nt(),[e,n,0]);this.jitteredProjectionMatrix=$e(Nt(),r,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(e){return this.matrix=e,this._update(),this},t.prototype.setFov=function(e){return this.setPerspective(this.near,this.far,e,this.aspect),this},t.prototype.setAspect=function(e){return this.setPerspective(this.near,this.far,this.fov,e),this},t.prototype.setNear=function(e){return this.projectionMode===tn.PERSPECTIVE?this.setPerspective(e,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,e,this.far),this},t.prototype.setFar=function(e){return this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,e,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,e),this},t.prototype.setViewOffset=function(e,n,r,i,a,o){return this.aspect=e/n,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=a,this.view.height=o,this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(e){return this.zoom=e,this.projectionMode===tn.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===tn.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(e,n){var r=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),i=r.x,a=r.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(i,a),this.setFocalPoint(i,a),this.setZoom(e),this.rotate(0,0,o);var s=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),c=s.x,l=s.y,u=St(c-i,l-a,0),f=nr(u,this.right)/wr(this.right),d=nr(u,this.up)/wr(this.up);return this.pan(-f,-d),this},t.prototype.setPerspective=function(e,n,r,i){var a;this.projectionMode=tn.PERSPECTIVE,this.fov=r,this.near=e,this.far=n,this.aspect=i;var o=this.near*Math.tan(re(.5*this.fov))/this.zoom,s=2*o,c=this.aspect*s,l=-.5*c;if(!((a=this.view)===null||a===void 0)&&a.enabled){var u=this.view.fullWidth,f=this.view.fullHeight;l+=this.view.offsetX*c/u,o-=this.view.offsetY*s/f,c*=this.view.width/u,s*=this.view.height/f}return cN(this.projectionMatrix,l,l+c,o,o-s,e,this.far,this.clipSpaceNearZ===wa.ZERO),vl(this.projectionMatrix,this.projectionMatrix,St(1,-1,1)),Wn(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(e,n,r,i,a,o){var s;this.projectionMode=tn.ORTHOGRAPHIC,this.rright=n,this.left=e,this.top=r,this.bottom=i,this.near=a,this.far=o;var c=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,f=(this.top+this.bottom)/2,d=u-c,h=u+c,p=f+l,v=f-l;if(!((s=this.view)===null||s===void 0)&&s.enabled){var g=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;d+=g*this.view.offsetX,h=d+g*this.view.width,p-=y*this.view.offsetY,v=p-y*this.view.height}return this.clipSpaceNearZ===wa.NEGATIVE_ONE?Ub(this.projectionMatrix,d,h,v,p,a,o):qb(this.projectionMatrix,d,h,v,p,a,o),vl(this.projectionMatrix,this.projectionMatrix,St(1,-1,1)),Wn(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(e,n,r){n===void 0&&(n=this.position[1]),r===void 0&&(r=this.position[2]);var i=We(e,n,r);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(e,n,r){n===void 0&&(n=this.focalPoint[1]),r===void 0&&(r=this.focalPoint[2]);var i=St(0,1,0);if(this.focalPoint=We(e,n,r),this.trackingMode===ds.CINEMATIC){var a=qv(yt(),this.focalPoint,this.position);e=a[0],n=a[1],r=a[2];var o=wr(a),s=Pn(Math.asin(n/o)),c=90+Pn(Math.atan2(r,e)),l=Nt();Wb(l,l,re(c)),Yb(l,l,re(s)),i=Oe(yt(),[0,1,0],l)}return Wn(this.matrix,Kb(Nt(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(e){if(this.distance===e||e<0)return this;this.distance=e,this.distance<Fg&&(this.distance=Fg),this.dollyingStep=this.distance/100;var n=yt();e=this.distance;var r=this.forward,i=this.focalPoint;return n[0]=e*r[0]+i[0],n[1]=e*r[1]+i[1],n[2]=e*r[2]+i[2],this._setPosition(n),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(e){return this.maxDistance=e,this},t.prototype.setMinDistance=function(e){return this.minDistance=e,this},t.prototype.setAzimuth=function(e){return this.azimuth=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(e){return this.elevation=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(e){return this.roll=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var e=Hr(ve(),[0,0,1],re(this.roll));Rs(this.matrix);var n=Hr(ve(),[1,0,0],re((this.rotateWorld&&this.type!==Tt.TRACKING||this.type===Tt.TRACKING?1:-1)*this.elevation)),r=Hr(ve(),[0,1,0],re((this.rotateWorld&&this.type!==Tt.TRACKING||this.type===Tt.TRACKING?1:-1)*this.azimuth)),i=qr(ve(),r,n);i=qr(ve(),i,e);var a=dp(Nt(),i);this.type===Tt.ORBITING||this.type===Tt.EXPLORING?(Ur(this.matrix,this.matrix,this.focalPoint),$e(this.matrix,this.matrix,a),Ur(this.matrix,this.matrix,[0,0,this.distance])):this.type===Tt.TRACKING&&(Ur(this.matrix,this.matrix,this.position),$e(this.matrix,this.matrix,a))},t.prototype._setPosition=function(e,n,r){this.position=We(e,n,r);var i=this.matrix;i[12]=this.position[0],i[13]=this.position[1],i[14]=this.position[2],i[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){rn(this.right,We(ha(da(),[1,0,0,0],this.matrix))),rn(this.up,We(ha(da(),[0,1,0,0],this.matrix))),rn(this.forward,We(ha(da(),[0,0,1,0],this.matrix))),Ti(this.right,this.right),Ti(this.up,this.up),Ti(this.forward,this.forward)},t.prototype._getAngles=function(){var e=this.distanceVector[0],n=this.distanceVector[1],r=this.distanceVector[2],i=wr(this.distanceVector);if(i===0){this.elevation=0,this.azimuth=0;return}this.type===Tt.TRACKING?(this.elevation=Pn(Math.asin(n/i)),this.azimuth=Pn(Math.atan2(-e,-r))):this.rotateWorld?(this.elevation=Pn(Math.asin(n/i)),this.azimuth=Pn(Math.atan2(-e,-r))):(this.elevation=-Pn(Math.asin(n/i)),this.azimuth=-Pn(Math.atan2(-e,-r)))},t.prototype._getPosition=function(){rn(this.position,We(ha(da(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){Jb(this.distanceVector,[0,0,-this.distance],zk(Ja(),this.matrix)),ba(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=qv(yt(),this.focalPoint,this.position),this.distance=wr(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===tn.ORTHOGRAPHIC){var e=this.position,n=Hr(ve(),[0,0,1],-this.roll*Math.PI/180);zo(this.orthoMatrix,n,St((this.rright-this.left)/2-e[0],(this.top-this.bottom)/2-e[1],0),St(this.zoom,this.zoom,1),e)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var e=this.getViewTransform(),n=$e(Nt(),this.getPerspective(),e);this.getFrustum().extractFromVPMatrix(n),this.eventEmitter.emit(xw.UPDATED)}},t.prototype.rotate=function(e,n,r){throw new Error(It)},t.prototype.pan=function(e,n){throw new Error(It)},t.prototype.dolly=function(e){throw new Error(It)},t.prototype.createLandmark=function(e,n){throw new Error(It)},t.prototype.gotoLandmark=function(e,n){throw new Error(It)},t.prototype.cancelLandmarkAnimation=function(){throw new Error(It)},t}();function Ne(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=e?e.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var s=t.apply(this,r);return n.cache=o.set(a,s)||o,s};return n.cache=new(Ne.Cache||Map),n}Ne.Cache=Map;var Z;(function(t){t[t.kUnknown=0]="kUnknown",t[t.kNumber=1]="kNumber",t[t.kPercentage=2]="kPercentage",t[t.kEms=3]="kEms",t[t.kPixels=4]="kPixels",t[t.kRems=5]="kRems",t[t.kDegrees=6]="kDegrees",t[t.kRadians=7]="kRadians",t[t.kGradians=8]="kGradians",t[t.kTurns=9]="kTurns",t[t.kMilliseconds=10]="kMilliseconds",t[t.kSeconds=11]="kSeconds",t[t.kInteger=12]="kInteger"})(Z||(Z={}));var pn;(function(t){t[t.kUNumber=0]="kUNumber",t[t.kUPercent=1]="kUPercent",t[t.kULength=2]="kULength",t[t.kUAngle=3]="kUAngle",t[t.kUTime=4]="kUTime",t[t.kUOther=5]="kUOther"})(pn||(pn={}));var zg;(function(t){t[t.kAll=0]="kAll",t[t.kNonNegative=1]="kNonNegative",t[t.kInteger=2]="kInteger",t[t.kNonNegativeInteger=3]="kNonNegativeInteger",t[t.kPositiveInteger=4]="kPositiveInteger"})(zg||(zg={}));var Kd;(function(t){t[t.kYes=0]="kYes",t[t.kNo=1]="kNo"})(Kd||(Kd={}));var Zd;(function(t){t[t.kYes=0]="kYes",t[t.kNo=1]="kNo"})(Zd||(Zd={}));var vN=[{name:"em",unit_type:Z.kEms},{name:"px",unit_type:Z.kPixels},{name:"deg",unit_type:Z.kDegrees},{name:"rad",unit_type:Z.kRadians},{name:"grad",unit_type:Z.kGradians},{name:"ms",unit_type:Z.kMilliseconds},{name:"s",unit_type:Z.kSeconds},{name:"rem",unit_type:Z.kRems},{name:"turn",unit_type:Z.kTurns}],ti;(function(t){t[t.kUnknownType=0]="kUnknownType",t[t.kUnparsedType=1]="kUnparsedType",t[t.kKeywordType=2]="kKeywordType",t[t.kUnitType=3]="kUnitType",t[t.kSumType=4]="kSumType",t[t.kProductType=5]="kProductType",t[t.kNegateType=6]="kNegateType",t[t.kInvertType=7]="kInvertType",t[t.kMinType=8]="kMinType",t[t.kMaxType=9]="kMaxType",t[t.kClampType=10]="kClampType",t[t.kTransformType=11]="kTransformType",t[t.kPositionType=12]="kPositionType",t[t.kURLImageType=13]="kURLImageType",t[t.kColorType=14]="kColorType",t[t.kUnsupportedColorType=15]="kUnsupportedColorType"})(ti||(ti={}));var gN=function(t){return vN.find(function(e){return e.name===t}).unit_type},yN=function(t){return t?t==="number"?Z.kNumber:t==="percent"||t==="%"?Z.kPercentage:gN(t):Z.kUnknown},mN=function(t){switch(t){case Z.kNumber:case Z.kInteger:return pn.kUNumber;case Z.kPercentage:return pn.kUPercent;case Z.kPixels:return pn.kULength;case Z.kMilliseconds:case Z.kSeconds:return pn.kUTime;case Z.kDegrees:case Z.kRadians:case Z.kGradians:case Z.kTurns:return pn.kUAngle;default:return pn.kUOther}},bN=function(t){switch(t){case pn.kUNumber:return Z.kNumber;case pn.kULength:return Z.kPixels;case pn.kUPercent:return Z.kPercentage;case pn.kUTime:return Z.kSeconds;case pn.kUAngle:return Z.kDegrees;default:return Z.kUnknown}},Gg=function(t){var e=1;switch(t){case Z.kPixels:case Z.kDegrees:case Z.kSeconds:break;case Z.kMilliseconds:e=.001;break;case Z.kRadians:e=180/Math.PI;break;case Z.kGradians:e=.9;break;case Z.kTurns:e=360;break}return e},Qd=function(t){switch(t){case Z.kNumber:case Z.kInteger:return"";case Z.kPercentage:return"%";case Z.kEms:return"em";case Z.kRems:return"rem";case Z.kPixels:return"px";case Z.kDegrees:return"deg";case Z.kRadians:return"rad";case Z.kGradians:return"grad";case Z.kMilliseconds:return"ms";case Z.kSeconds:return"s";case Z.kTurns:return"turn"}return""},Du=function(){function t(){}return t.isAngle=function(e){return e===Z.kDegrees||e===Z.kRadians||e===Z.kGradians||e===Z.kTurns},t.isLength=function(e){return e>=Z.kEms&&e<Z.kDegrees},t.isRelativeUnit=function(e){return e===Z.kPercentage||e===Z.kEms||e===Z.kRems},t.isTime=function(e){return e===Z.kSeconds||e===Z.kMilliseconds},t.prototype.toString=function(){return this.buildCSSText(Kd.kNo,Zd.kNo,"")},t.prototype.isNumericValue=function(){return this.getType()>=ti.kUnitType&&this.getType()<=ti.kClampType},t}(),xN=function(t){rt(e,t);function e(n){var r=t.call(this)||this;return r.colorSpace=n,r}return e.prototype.getType=function(){return ti.kColorType},e.prototype.to=function(n){return this},e}(Du),rr;(function(t){t[t.Constant=0]="Constant",t[t.LinearGradient=1]="LinearGradient",t[t.RadialGradient=2]="RadialGradient"})(rr||(rr={}));var pc=function(t){rt(e,t);function e(n,r){var i=t.call(this)||this;return i.type=n,i.value=r,i}return e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(n,r,i){return i},e.prototype.getType=function(){return ti.kColorType},e}(Du),sn=function(t){rt(e,t);function e(n){var r=t.call(this)||this;return r.value=n,r}return e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return ti.kKeywordType},e.prototype.buildCSSText=function(n,r,i){return i+this.value},e}(Du),wN=Ne(function(t){return t===void 0&&(t=""),t.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}),Yg=function(t){return t.split("").map(function(e,n){return e.toUpperCase()===e?"".concat(n!==0?"-":"").concat(e.toLowerCase()):e}).join("")};function ON(t){if(!t)throw new Error}function ga(t){return typeof t=="function"}function SN(t){return typeof t=="symbol"}var _N={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},Jd=Ne(function(t){var e=wN(t),n=_N[e];return e=(n==null?void 0:n.alias)||e,e}),MN=function(t,e){e===void 0&&(e="");var n="";return Number.isFinite(t)?(ON(Number.isNaN(t)),n="NaN"):t>0?n="infinity":n="-infinity",n+=e},th=function(t){return bN(mN(t))},jt=function(t){rt(e,t);function e(n,r){r===void 0&&(r=Z.kNumber);var i=t.call(this)||this,a;return typeof r=="string"?a=yN(r):a=r,i.unit=a,i.value=n,i}return e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(n){var r=n;return this.value===r.value&&this.unit===r.unit},e.prototype.getType=function(){return ti.kUnitType},e.prototype.convertTo=function(n){if(this.unit===n)return new e(this.value,this.unit);var r=th(this.unit);if(r!==th(n)||r===Z.kUnknown)return null;var i=Gg(this.unit)/Gg(n);return new e(this.value*i,n)},e.prototype.buildCSSText=function(n,r,i){var a;switch(this.unit){case Z.kUnknown:break;case Z.kInteger:a=Number(this.value).toFixed(0);break;case Z.kNumber:case Z.kPercentage:case Z.kEms:case Z.kRems:case Z.kPixels:case Z.kDegrees:case Z.kRadians:case Z.kGradians:case Z.kMilliseconds:case Z.kSeconds:case Z.kTurns:{var o=-999999,s=999999,c=this.value,l=Qd(this.unit);if(c<o||c>s){var u=Qd(this.unit);!Number.isFinite(c)||Number.isNaN(c)?a=MN(c,u):a=c+(u||"")}else a="".concat(c).concat(l)}}return i+=a,i},e}(Du),we=new jt(0,"px");new jt(1,"px");var Hn=new jt(0,"deg"),Fp=function(t){rt(e,t);function e(n,r,i,a,o){a===void 0&&(a=1),o===void 0&&(o=!1);var s=t.call(this,"rgb")||this;return s.r=n,s.g=r,s.b=i,s.alpha=a,s.isNone=o,s}return e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(n,r,i){return i+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(xN),Gt=new sn("unset"),EN=new sn("initial"),PN=new sn("inherit"),Df={"":Gt,unset:Gt,initial:EN,inherit:PN},eh=function(t){return Df[t]||(Df[t]=new sn(t)),Df[t]},nh=new Fp(0,0,0,0,!0),Ow=new Fp(0,0,0,0),AN=Ne(function(t,e,n,r){return new Fp(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),Ft=function(t,e){return e===void 0&&(e=Z.kNumber),new jt(t,e)},kl=new jt(50,"%"),rh;(function(t){t[t.Standard=0]="Standard"})(rh||(rh={}));var $a;(function(t){t[t.ADDED=0]="ADDED",t[t.REMOVED=1]="REMOVED",t[t.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED"})($a||($a={}));var Sw={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new Fi(0,0,0,0)},tt;(function(t){t.COORDINATE="<coordinate>",t.COLOR="<color>",t.PAINT="<paint>",t.NUMBER="<number>",t.ANGLE="<angle>",t.OPACITY_VALUE="<opacity-value>",t.SHADOW_BLUR="<shadow-blur>",t.LENGTH="<length>",t.PERCENTAGE="<percentage>",t.LENGTH_PERCENTAGE="<length> | <percentage>",t.LENGTH_PERCENTAGE_12="[<length> | <percentage>]{1,2}",t.LENGTH_PERCENTAGE_14="[<length> | <percentage>]{1,4}",t.LIST_OF_POINTS="<list-of-points>",t.PATH="<path>",t.FILTER="<filter>",t.Z_INDEX="<z-index>",t.OFFSET_DISTANCE="<offset-distance>",t.DEFINED_PATH="<defined-path>",t.MARKER="<marker>",t.TRANSFORM="<transform>",t.TRANSFORM_ORIGIN="<transform-origin>",t.TEXT="<text>",t.TEXT_TRANSFORM="<text-transform>"})(tt||(tt={}));function kN(t){var e=t.type,n=t.value;return e==="hex"?"#".concat(n):e==="literal"?n:e==="rgb"?"rgb(".concat(n.join(","),")"):"rgba(".concat(n.join(","),")")}var TN=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(I){throw new Error(e+": "+I)}function r(){var I=i();return e.length>0&&n("Invalid input not EOF"),I}function i(){return b(a)}function a(){return o("linear-gradient",t.linearGradient,c)||o("repeating-linear-gradient",t.repeatingLinearGradient,c)||o("radial-gradient",t.radialGradient,f)||o("repeating-radial-gradient",t.repeatingRadialGradient,f)||o("conic-gradient",t.conicGradient,f)}function o(I,R,j){return s(R,function(D){var $=j();return $&&(C(t.comma)||n("Missing comma before color stops")),{type:I,orientation:$,colorStops:b(x)}})}function s(I,R){var j=C(I);if(j){C(t.startCall)||n("Missing (");var D=R(j);return C(t.endCall)||n("Missing )"),D}}function c(){return l()||u()}function l(){return k("directional",t.sideOrCorner,1)}function u(){return k("angular",t.angleValue,1)}function f(){var I,R=d(),j;return R&&(I=[],I.push(R),j=e,C(t.comma)&&(R=d(),R?I.push(R):e=j)),I}function d(){var I=h()||p();if(I)I.at=g();else{var R=v();if(R){I=R;var j=g();j&&(I.at=j)}else{var D=y();D&&(I={type:"default-radial",at:D})}}return I}function h(){var I=k("shape",/^(circle)/i,0);return I&&(I.style=A()||v()),I}function p(){var I=k("shape",/^(ellipse)/i,0);return I&&(I.style=P()||v()),I}function v(){return k("extent-keyword",t.extentKeywords,1)}function g(){if(k("position",/^at/,0)){var I=y();return I||n("Missing positioning value"),I}}function y(){var I=m();if(I.x||I.y)return{type:"position",value:I}}function m(){return{x:P(),y:P()}}function b(I){var R=I(),j=[];if(R)for(j.push(R);C(t.comma);)R=I(),R?j.push(R):n("One extra comma");return j}function x(){var I=w();return I||n("Expected color definition"),I.length=P(),I}function w(){return S()||M()||_()||O()}function O(){return k("literal",t.literalColor,0)}function S(){return k("hex",t.hexColor,1)}function _(){return s(t.rgbColor,function(){return{type:"rgb",value:b(E)}})}function M(){return s(t.rgbaColor,function(){return{type:"rgba",value:b(E)}})}function E(){return C(t.number)[1]}function P(){return k("%",t.percentageValue,1)||T()||A()}function T(){return k("position-keyword",t.positionKeywords,1)}function A(){return k("px",t.pixelValue,1)||k("em",t.emValue,1)}function k(I,R,j){var D=C(R);if(D)return{type:I,value:D[j]}}function C(I){var R=/^[\n\r\t\s]+/.exec(e);R&&L(R[0].length);var j=I.exec(e);return j&&L(j[0].length),j}function L(I){e=e.substring(I)}return function(I){return e=I,r()}}();function CN(t,e,n){var r=re(n.value),i=0,a=0,o=i+t/2,s=a+e/2,c=Math.abs(t*Math.cos(r))+Math.abs(e*Math.sin(r)),l=o-Math.cos(r)*c/2,u=s-Math.sin(r)*c/2,f=o+Math.cos(r)*c/2,d=s+Math.sin(r)*c/2;return{x1:l,y1:u,x2:f,y2:d}}function LN(t,e,n,r,i){var a=n.value,o=r.value;n.unit===Z.kPercentage&&(a=n.value/100*t),r.unit===Z.kPercentage&&(o=r.value/100*e);var s=Math.max(nn([0,0],[a,o]),nn([0,e],[a,o]),nn([t,e],[a,o]),nn([t,0],[a,o]));return i&&(i instanceof jt?s=i.value:i instanceof sn&&(i.value==="closest-side"?s=Math.min(a,t-a,o,e-o):i.value==="farthest-side"?s=Math.max(a,t-a,o,e-o):i.value==="closest-corner"&&(s=Math.min(nn([0,0],[a,o]),nn([0,e],[a,o]),nn([t,e],[a,o]),nn([t,0],[a,o]))))),{x:a,y:o,r:s}}var NN=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,RN=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,IN=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,_w=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function jN(t){var e,n,r,i=t.length;t[i-1].length=(e=t[i-1].length)!==null&&e!==void 0?e:{type:"%",value:"100"},i>1&&(t[0].length=(n=t[0].length)!==null&&n!==void 0?n:{type:"%",value:"0"});for(var a=0,o=Number(t[0].length.value),s=1;s<i;s++){var c=(r=t[s].length)===null||r===void 0?void 0:r.value;if(!nt(c)&&!nt(o)){for(var l=1;l<s-a;l++)t[a+l].length={type:"%",value:"".concat(o+(Number(c)-o)*l/(s-a))};a=s,o=Number(c)}}}var DN={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},$N=Ne(function(t){var e;return t.type==="angular"?e=Number(t.value):e=DN[t.value]||0,Ft(e,"deg")}),BN=Ne(function(t){var e=50,n=50,r="%",i="%";if((t==null?void 0:t.type)==="position"){var a=t.value,o=a.x,s=a.y;(o==null?void 0:o.type)==="position-keyword"&&(o.value==="left"?e=0:o.value==="center"?e=50:o.value==="right"?e=100:o.value==="top"?n=0:o.value==="bottom"&&(n=100)),(s==null?void 0:s.type)==="position-keyword"&&(s.value==="left"?e=0:s.value==="center"?n=50:s.value==="right"?e=100:s.value==="top"?n=0:s.value==="bottom"&&(n=100)),((o==null?void 0:o.type)==="px"||(o==null?void 0:o.type)==="%"||(o==null?void 0:o.type)==="em")&&(r=o==null?void 0:o.type,e=Number(o.value)),((s==null?void 0:s.type)==="px"||(s==null?void 0:s.type)==="%"||(s==null?void 0:s.type)==="em")&&(i=s==null?void 0:s.type,n=Number(s.value))}return{cx:Ft(e,r),cy:Ft(n,i)}}),FN=Ne(function(t){var e;if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var n=TN(t);return n.map(function(s){var c=s.type,l=s.orientation,u=s.colorStops;jN(u);var f=u.map(function(b){return{offset:Ft(Number(b.length.value),"%"),color:kN(b)}});if(c==="linear-gradient")return new pc(rr.LinearGradient,{angle:l?$N(l):Hn,steps:f});if(c==="radial-gradient"&&(l||(l=[{type:"shape",value:"circle"}]),l[0].type==="shape"&&l[0].value==="circle")){var d=BN(l[0].at),h=d.cx,p=d.cy,v=void 0;if(l[0].style){var g=l[0].style,y=g.type,m=g.value;y==="extent-keyword"?v=eh(m):v=Ft(m,y)}return new pc(rr.RadialGradient,{cx:h,cy:p,size:v,steps:f})}})}var r=t[0];if(t[1]==="("||t[2]==="("){if(r==="l"){var i=NN.exec(t);if(i){var a=((e=i[2].match(_w))===null||e===void 0?void 0:e.map(function(s){return s.split(":")}))||[];return[new pc(rr.LinearGradient,{angle:Ft(parseFloat(i[1]),"deg"),steps:a.map(function(s){var c=N(s,2),l=c[0],u=c[1];return{offset:Ft(Number(l)*100,"%"),color:u}})})]}}else if(r==="r"){var o=zN(t);if(o)if(le(o))t=o;else return[new pc(rr.RadialGradient,o)]}else if(r==="p")return GN(t)}});function zN(t){var e,n=RN.exec(t);if(n){var r=((e=n[4].match(_w))===null||e===void 0?void 0:e.map(function(i){return i.split(":")}))||[];return{cx:Ft(50,"%"),cy:Ft(50,"%"),steps:r.map(function(i){var a=N(i,2),o=a[0],s=a[1];return{offset:Ft(Number(o)*100,"%"),color:s}})}}return null}function GN(t){var e=IN.exec(t);if(e){var n=e[1],r=e[2];switch(n){case"a":n="repeat";break;case"x":n="repeat-x";break;case"y":n="repeat-y";break;case"n":n="no-repeat";break;default:n="no-repeat"}return{image:r,repetition:n}}return null}function hs(t){return t&&!!t.image}function Tl(t){return t&&!nt(t.r)&&!nt(t.g)&&!nt(t.b)}var Ar=Ne(function(t){if(hs(t))return z({repetition:"repeat"},t);if(nt(t)&&(t=""),t==="transparent")return Ow;t==="currentColor"&&(t="black");var e=FN(t);if(e)return e;var n=ju(t),r=[0,0,0,0];return n!==null&&(r[0]=n.r||0,r[1]=n.g||0,r[2]=n.b||0,r[3]=n.opacity),AN.apply(void 0,q([],N(r),!1))});function YN(t,e){if(!(!Tl(t)||!Tl(e)))return[[Number(t.r),Number(t.g),Number(t.b),Number(t.alpha)],[Number(e.r),Number(e.g),Number(e.b),Number(e.alpha)],function(n){var r=n.slice();if(r[3])for(var i=0;i<3;i++)r[i]=Math.round(ce(r[i],0,255));return r[3]=ce(r[3],0,1),"rgba(".concat(r.join(","),")")}]}function Hs(t,e){if(nt(e))return Ft(0,"px");if(e="".concat(e).trim().toLowerCase(),isFinite(Number(e))){if("px".search(t)>=0)return Ft(Number(e),"px");if("deg".search(t)>=0)return Ft(Number(e),"deg")}var n=[];e=e.replace(t,function(i){return n.push(i),"U"+i});var r="U("+t.source+")";return n.map(function(i){return Ft(Number(e.replace(new RegExp("U"+i,"g"),"").replace(new RegExp(r,"g"),"*0")),i)})[0]}var Mw=function(t){return Hs(new RegExp("px","g"),t)},WN=Ne(Mw),HN=function(t){return Hs(new RegExp("%","g"),t)};Ne(HN);var ps=function(t){return de(t)||isFinite(Number(t))?Ft(Number(t)||0,"px"):Hs(new RegExp("px|%|em|rem","g"),t)},Ba=Ne(ps),zp=function(t){return Hs(new RegExp("deg|rad|grad|turn","g"),t)},Ew=Ne(zp);function VN(t,e,n,r,i){i===void 0&&(i=0);var a="",o=t.value||0,s=e.value||0,c=th(t.unit),l=t.convertTo(c),u=e.convertTo(c);return l&&u?(o=l.value,s=u.value,a=Qd(t.unit)):(jt.isLength(t.unit)||jt.isLength(e.unit))&&(o=dn(t,i,n),s=dn(e,i,n),a="px"),[o,s,function(f){return r&&(f=Math.max(f,0)),f+a}]}function hn(t){var e=0;return t.unit===Z.kDegrees?e=t.value:t.unit===Z.kRadians?e=Pn(Number(t.value)):t.unit===Z.kTurns&&(e=iN(Number(t.value))),e}function $f(t,e){var n;return Array.isArray(t)?n=t.map(function(r){return Number(r)}):le(t)?n=t.split(" ").map(function(r){return Number(r)}):de(t)&&(n=[t]),e===2?n.length===1?[n[0],n[0]]:[n[0],n[1]]:n.length===1?[n[0],n[0],n[0],n[0]]:n.length===2?[n[0],n[1],n[0],n[1]]:n.length===3?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function Pw(t){return le(t)?t.split(" ").map(function(e){return Ba(e)}):t.map(function(e){return Ba(e.toString())})}function dn(t,e,n){if(t.value===0)return 0;if(t.unit===Z.kPixels)return Number(t.value);if(t.unit===Z.kPercentage&&n){var r=n.nodeName===G.GROUP?n.getLocalBounds():n.geometry.contentBounds;return t.value/100*r.halfExtents[e]*2}return 0}var XN=function(t){return Hs(/deg|rad|grad|turn|px|%/g,t)},UN=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function Aw(t){if(t===void 0&&(t=""),t=t.toLowerCase().trim(),t==="none")return[];for(var e=/\s*([\w-]+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];if(i=r.index+r[0].length,UN.indexOf(r[1])>-1&&n.push({name:r[1],params:r[2].split(" ").map(function(a){return XN(a)||Ar(a)})}),e.lastIndex===t.length)return n}return[]}function kw(t){return t.toString()}var no=function(t){return typeof t=="number"?Ft(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?Ft(Number(t)):Ft(0)},zi=Ne(no);Ne(function(t){return le(t)?t.split(" ").map(zi):t.map(zi)});function Gp(t,e){return[t,e,kw]}function Yp(t,e){return function(n,r){return[n,r,function(i){return kw(ce(i,t,e))}]}}function Tw(t,e){if(t.length===e.length)return[t,e,function(n){return n}]}function ih(t){return t.parsedStyle.path.totalLength===0&&(t.parsedStyle.path.totalLength=e5(t.parsedStyle.path.absolutePath)),t.parsedStyle.path.totalLength}function qN(t){for(var e=0;e<t.length;e++){var n=t[e-1],r=t[e],i=r[0];if(i==="M"&&n){var a=n[0],o=[r[1],r[2]],s=void 0;a==="L"||a==="M"?s=[n[1],n[2]]:(a==="C"||a==="A"||a==="Q")&&(s=[n[n.length-2],n[n.length-1]]),s&&Cl(o,s)&&(t.splice(e,1),e--)}}}function KN(t){for(var e=!1,n=t.length,r=0;r<n;r++){var i=t[r],a=i[0];if(a==="C"||a==="A"||a==="Q"){e=!0;break}}return e}function ZN(t){for(var e=[],n=[],r=[],i=0;i<t.length;i++){var a=t[i],o=a[0];o==="M"?(r.length&&(n.push(r),r=[]),r.push([a[1],a[2]])):o==="Z"?r.length&&(e.push(r),r=[]):r.push([a[1],a[2]])}return r.length>0&&n.push(r),{polygons:e,polylines:n}}function Cl(t,e){return t[0]===e[0]&&t[1]===e[1]}function QN(t,e){for(var n=[],r=[],i=[],a=0;a<t.length;a++){var o=t[a],s=o.currentPoint,c=o.params,l=o.prePoint,u=void 0;switch(o.command){case"Q":u=KL(l[0],l[1],c[1],c[2],c[3],c[4]);break;case"C":u=VL(l[0],l[1],c[1],c[2],c[3],c[4],c[5],c[6]);break;case"A":var f=o.arcParams;u=YL(f.cx,f.cy,f.rx,f.ry,f.xRotation,f.startAngle,f.endAngle);break;default:n.push(s[0]),r.push(s[1]);break}u&&(o.box=u,n.push(u.x,u.x+u.width),r.push(u.y,u.y+u.height)),e&&(o.command==="L"||o.command==="M")&&o.prePoint&&o.nextPoint&&i.push(o)}n=n.filter(function(y){return!Number.isNaN(y)&&y!==1/0&&y!==-1/0}),r=r.filter(function(y){return!Number.isNaN(y)&&y!==1/0&&y!==-1/0});var d=hl(n),h=hl(r),p=dl(n),v=dl(r);if(i.length===0)return{x:d,y:h,width:p-d,height:v-h};for(var a=0;a<i.length;a++){var o=i[a],s=o.currentPoint,g=void 0;s[0]===d?(g=vc(o,e),d=d-g.xExtra):s[0]===p&&(g=vc(o,e),p=p+g.xExtra),s[1]===h?(g=vc(o,e),h=h-g.yExtra):s[1]===v&&(g=vc(o,e),v=v+g.yExtra)}return{x:d,y:h,width:p-d,height:v-h}}function vc(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,a=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),o=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2),c=Math.acos((a+o-s)/(2*Math.sqrt(a)*Math.sqrt(o)));if(!c||Math.sin(c)===0||Fo(c,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));l=l>Math.PI/2?Math.PI-l:l,u=u>Math.PI/2?Math.PI-u:u;var f={xExtra:Math.cos(c/2-l)*(e/2*(1/Math.sin(c/2)))-e/2||0,yExtra:Math.cos(u-c/2)*(e/2*(1/Math.sin(c/2)))-e/2||0};return f}function Wg(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}var Hg=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2))),i=t.x*e.y-t.y*e.x<0?-1:1,a=i*Math.acos(n/r);return a},Vg=function(t,e,n,r,i,a,o,s){e=Math.abs(e),n=Math.abs(n),r=Ib(r,360);var c=re(r);if(t.x===o.x&&t.y===o.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(e===0||n===0)return{x:0,y:0,ellipticalArcAngle:0};var l=(t.x-o.x)/2,u=(t.y-o.y)/2,f={x:Math.cos(c)*l+Math.sin(c)*u,y:-Math.sin(c)*l+Math.cos(c)*u},d=Math.pow(f.x,2)/Math.pow(e,2)+Math.pow(f.y,2)/Math.pow(n,2);d>1&&(e=Math.sqrt(d)*e,n=Math.sqrt(d)*n);var h=Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2),p=Math.pow(e,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2),v=h/p;v=v<0?0:v;var g=(i!==a?1:-1)*Math.sqrt(v),y={x:g*(e*f.y/n),y:g*(-(n*f.x)/e)},m={x:Math.cos(c)*y.x-Math.sin(c)*y.y+(t.x+o.x)/2,y:Math.sin(c)*y.x+Math.cos(c)*y.y+(t.y+o.y)/2},b={x:(f.x-y.x)/e,y:(f.y-y.y)/n},x=Hg({x:1,y:0},b),w={x:(-f.x-y.x)/e,y:(-f.y-y.y)/n},O=Hg(b,w);!a&&O>0?O-=2*Math.PI:a&&O<0&&(O+=2*Math.PI),O%=2*Math.PI;var S=x+O*s,_=e*Math.cos(S),M=n*Math.sin(S),E={x:Math.cos(c)*_-Math.sin(c)*M+m.x,y:Math.sin(c)*_+Math.cos(c)*M+m.y,ellipticalArcStartAngle:x,ellipticalArcEndAngle:x+O,ellipticalArcAngle:S,ellipticalArcCenter:m,resultantRx:e,resultantRy:n};return E};function JN(t){for(var e=[],n=null,r=null,i=null,a=0,o=t.length,s=0;s<o;s++){var c=t[s];r=t[s+1];var l=c[0],u={command:l,prePoint:n,params:c,startTangent:null,endTangent:null,currentPoint:null,nextPoint:null,arcParams:null,box:null,cubicParams:null};switch(l){case"M":i=[c[1],c[2]],a=s;break;case"A":var f=t4(n,c);u.arcParams=f;break}if(l==="Z")n=i,r=t[a+1];else{var d=c.length;n=[c[d-2],c[d-1]]}r&&r[0]==="Z"&&(r=t[a],e[a]&&(e[a].prePoint=n)),u.currentPoint=n,e[a]&&Cl(n,e[a].currentPoint)&&(e[a].prePoint=u.prePoint);var h=r?[r[r.length-2],r[r.length-1]]:null;u.nextPoint=h;var p=u.prePoint;if(["L","H","V"].includes(l))u.startTangent=[p[0]-n[0],p[1]-n[1]],u.endTangent=[n[0]-p[0],n[1]-p[1]];else if(l==="Q"){var v=[c[1],c[2]];u.startTangent=[p[0]-v[0],p[1]-v[1]],u.endTangent=[n[0]-v[0],n[1]-v[1]]}else if(l==="T"){var g=e[s-1],v=Wg(g.currentPoint,p);g.command==="Q"?(u.command="Q",u.startTangent=[p[0]-v[0],p[1]-v[1]],u.endTangent=[n[0]-v[0],n[1]-v[1]]):(u.command="TL",u.startTangent=[p[0]-n[0],p[1]-n[1]],u.endTangent=[n[0]-p[0],n[1]-p[1]])}else if(l==="C"){var y=[c[1],c[2]],m=[c[3],c[4]];u.startTangent=[p[0]-y[0],p[1]-y[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]],u.startTangent[0]===0&&u.startTangent[1]===0&&(u.startTangent=[y[0]-m[0],y[1]-m[1]]),u.endTangent[0]===0&&u.endTangent[1]===0&&(u.endTangent=[m[0]-y[0],m[1]-y[1]])}else if(l==="S"){var g=e[s-1],y=Wg(g.currentPoint,p),m=[c[1],c[2]];g.command==="C"?(u.command="C",u.startTangent=[p[0]-y[0],p[1]-y[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]]):(u.command="SQ",u.startTangent=[p[0]-m[0],p[1]-m[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]])}else if(l==="A"){var b=Xg(u,0),x=b.x,w=b.y,O=Xg(u,1,!1),S=O.x,_=O.y;u.startTangent=[x,w],u.endTangent=[S,_]}e.push(u)}return e}function Xg(t,e,n){n===void 0&&(n=!0);var r=t.arcParams,i=r.rx,a=i===void 0?0:i,o=r.ry,s=o===void 0?0:o,c=r.xRotation,l=r.arcFlag,u=r.sweepFlag,f=Vg({x:t.prePoint[0],y:t.prePoint[1]},a,s,c,!!l,!!u,{x:t.currentPoint[0],y:t.currentPoint[1]},e),d=Vg({x:t.prePoint[0],y:t.prePoint[1]},a,s,c,!!l,!!u,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),h=d.x-f.x,p=d.y-f.y,v=Math.sqrt(h*h+p*p);return{x:-h/v,y:-p/v}}function gc(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ah(t,e){return gc(t)*gc(e)?(t[0]*e[0]+t[1]*e[1])/(gc(t)*gc(e)):1}function Ug(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(ah(t,e))}function t4(t,e){var n=e[1],r=e[2],i=Ib(re(e[3]),Math.PI*2),a=e[4],o=e[5],s=t[0],c=t[1],l=e[6],u=e[7],f=Math.cos(i)*(s-l)/2+Math.sin(i)*(c-u)/2,d=-1*Math.sin(i)*(s-l)/2+Math.cos(i)*(c-u)/2,h=f*f/(n*n)+d*d/(r*r);h>1&&(n*=Math.sqrt(h),r*=Math.sqrt(h));var p=n*n*(d*d)+r*r*(f*f),v=p?Math.sqrt((n*n*(r*r)-p)/p):1;a===o&&(v*=-1),isNaN(v)&&(v=0);var g=r?v*n*d/r:0,y=n?v*-r*f/n:0,m=(s+l)/2+Math.cos(i)*g-Math.sin(i)*y,b=(c+u)/2+Math.sin(i)*g+Math.cos(i)*y,x=[(f-g)/n,(d-y)/r],w=[(-1*f-g)/n,(-1*d-y)/r],O=Ug([1,0],x),S=Ug(x,w);return ah(x,w)<=-1&&(S=Math.PI),ah(x,w)>=1&&(S=0),o===0&&S>0&&(S=S-2*Math.PI),o===1&&S<0&&(S=S+2*Math.PI),{cx:m,cy:b,rx:Cl(t,[l,u])?0:n,ry:Cl(t,[l,u])?0:r,startAngle:O,endAngle:O+S,xRotation:i,arcFlag:a,sweepFlag:o}}function e4(t,e,n){var r=e.parsedStyle,i=r.defX,a=i===void 0?0:i,o=r.defY,s=o===void 0?0:o;return t.reduce(function(c,l){var u="";if(l[0]==="M"||l[0]==="L"){var f=St(l[1]-a,l[2]-s,0);n&&Oe(f,f,n),u="".concat(l[0]).concat(f[0],",").concat(f[1])}else if(l[0]==="Z")u=l[0];else if(l[0]==="C"){var d=St(l[1]-a,l[2]-s,0),h=St(l[3]-a,l[4]-s,0),p=St(l[5]-a,l[6]-s,0);n&&(Oe(d,d,n),Oe(h,h,n),Oe(p,p,n)),u="".concat(l[0]).concat(d[0],",").concat(d[1],",").concat(h[0],",").concat(h[1],",").concat(p[0],",").concat(p[1])}else if(l[0]==="A"){var v=St(l[6]-a,l[7]-s,0);n&&Oe(v,v,n),u="".concat(l[0]).concat(l[1],",").concat(l[2],",").concat(l[3],",").concat(l[4],",").concat(l[5],",").concat(v[0],",").concat(v[1])}else if(l[0]==="Q"){var d=St(l[1]-a,l[2]-s,0),h=St(l[3]-a,l[4]-s,0);n&&(Oe(d,d,n),Oe(h,h,n)),u="".concat(l[0]).concat(l[1],",").concat(l[2],",").concat(l[3],",").concat(l[4],"}")}return c+=u},"")}function n4(t,e,n,r){return[["M",t,e],["L",n,r]]}function qg(t,e,n,r){var i=(-1+Math.sqrt(2))/3*4,a=t*i,o=e*i,s=n-t,c=n+t,l=r-e,u=r+e;return[["M",s,r],["C",s,r-o,n-a,l,n,l],["C",n+a,l,c,r-o,c,r],["C",c,r+o,n+a,u,n,u],["C",n-a,u,s,r+o,s,r],["Z"]]}function r4(t,e){var n=t.map(function(r,i){return[i===0?"M":"L",r[0],r[1]]});return e&&n.push(["Z"]),n}function i4(t,e,n,r,i){if(i){var a=N(i,4),o=a[0],s=a[1],c=a[2],l=a[3],u=t>0?1:-1,f=e>0?1:-1,d=u+f!==0?1:0;return[["M",u*o+n,r],["L",t-u*s+n,r],s?["A",s,s,0,0,d,t+n,f*s+r]:null,["L",t+n,e-f*c+r],c?["A",c,c,0,0,d,t+n-u*c,e+r]:null,["L",n+u*l,e+r],l?["A",l,l,0,0,d,n,e+r-f*l]:null,["L",n,f*o+r],o?["A",o,o,0,0,d,u*o+n,r]:null,["Z"]].filter(function(h){return h})}return[["M",n,r],["L",n+t,r],["L",n+t,r+e],["L",n,r+e],["Z"]]}function Wp(t,e){e===void 0&&(e=t.getLocalTransform());var n=[];switch(t.nodeName){case G.LINE:var r=t.parsedStyle,i=r.x1,a=i===void 0?0:i,o=r.y1,s=o===void 0?0:o,c=r.x2,l=c===void 0?0:c,u=r.y2,f=u===void 0?0:u;n=n4(a,s,l,f);break;case G.CIRCLE:{var d=t.parsedStyle,h=d.r,p=h===void 0?0:h,v=d.cx,g=v===void 0?0:v,y=d.cy,m=y===void 0?0:y;n=qg(p,p,g,m);break}case G.ELLIPSE:{var b=t.parsedStyle,x=b.rx,w=x===void 0?0:x,O=b.ry,S=O===void 0?0:O,_=b.cx,g=_===void 0?0:_,M=b.cy,m=M===void 0?0:M;n=qg(w,S,g,m);break}case G.POLYLINE:case G.POLYGON:var E=t.parsedStyle.points;n=r4(E.points,t.nodeName===G.POLYGON);break;case G.RECT:var P=t.parsedStyle,T=P.width,A=T===void 0?0:T,k=P.height,C=k===void 0?0:k,L=P.x,I=L===void 0?0:L,R=P.y,j=R===void 0?0:R,D=P.radius,$=D&&D.some(function(F){return F!==0});n=i4(A,C,I,j,$&&D.map(function(F){return ce(F,0,Math.min(Math.abs(A)/2,Math.abs(C)/2))}));break;case G.PATH:var B=t.parsedStyle.path.absolutePath;n=q([],N(B),!1);break}if(n.length)return e4(n,t,e)}var Cw=function(t){if(t===""||Array.isArray(t)&&t.length===0)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};var e;try{e=bl(t)}catch{e=bl(""),console.error("[g]: Invalid SVG Path definition: ".concat(t))}qN(e);var n=KN(e),r=ZN(e),i=r.polygons,a=r.polylines,o=JN(e),s=QN(o,0),c=s.x,l=s.y,u=s.width,f=s.height;return{absolutePath:e,hasArc:n,segments:o,polygons:i,polylines:a,totalLength:0,rect:{x:Number.isFinite(c)?c:0,y:Number.isFinite(l)?l:0,width:Number.isFinite(u)?u:0,height:Number.isFinite(f)?f:0}}},a4=Ne(Cw);function oh(t){return le(t)?a4(t):Cw(t)}function o4(t,e,n){var r=t.curve,i=e.curve;(!r||r.length===0)&&(r=Rd(t.absolutePath,!1),t.curve=r),(!i||i.length===0)&&(i=Rd(e.absolutePath,!1),e.curve=i);var a=[r,i];r.length!==i.length&&(a=cx(r,i));var o=eg(a[0])!==eg(a[1])?qT(a[0]):UT(a[0]);return[o,r5(a[1],o),function(s){return s}]}function Lw(t,e){var n;le(t)?n=t.split(" ").map(function(u){var f=N(u.split(","),2),d=f[0],h=f[1];return[Number(d),Number(h)]}):n=t;var r=[],i=0,a,o,s=qL(n);n.forEach(function(u,f){n[f+1]&&(a=[0,0],a[0]=i/s,o=yw(u[0],u[1],n[f+1][0],n[f+1][1]),i+=o,a[1]=i/s,r.push(a))});var c=Math.min.apply(Math,q([],N(n.map(function(u){return u[0]})),!1)),l=Math.min.apply(Math,q([],N(n.map(function(u){return u[1]})),!1));return e&&(e.parsedStyle.defX=c,e.parsedStyle.defY=l),{points:n,totalLength:s,segments:r}}function s4(t,e){return[t.points,e.points,function(n){return n}]}var ie=null;function Je(t){return function(e){var n=0;return t.map(function(r){return r===ie?e[n++]:r})}}function bi(t){return t}var Ll={matrix:["NNNNNN",[ie,ie,0,0,ie,ie,0,0,0,0,1,0,ie,ie,0,1],bi],matrix3d:["NNNNNNNNNNNNNNNN",bi],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",Je([ie,ie,new jt(1)]),bi],scalex:["N",Je([ie,new jt(1),new jt(1)]),Je([ie,new jt(1)])],scaley:["N",Je([new jt(1),ie,new jt(1)]),Je([new jt(1),ie])],scalez:["N",Je([new jt(1),new jt(1),ie])],scale3d:["NNN",bi],skew:["Aa",null,bi],skewx:["A",null,Je([ie,Hn])],skewy:["A",null,Je([Hn,ie])],translate:["Tt",Je([ie,ie,we]),bi],translatex:["T",Je([ie,we,we]),Je([ie,we])],translatey:["T",Je([we,ie,we]),Je([we,ie])],translatez:["L",Je([we,we,ie])],translate3d:["TTL",bi]};function Hp(t){if(t=(t||"none").toLowerCase().trim(),t==="none")return[];for(var e=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];i=r.index+r[0].length;var a=r[1],o=Ll[a];if(!o)return[];var s=r[2].split(","),c=o[0];if(c.length<s.length)return[];for(var l=[],u=0;u<c.length;u++){var f=s[u],d=c[u],h=void 0;if(f?h={A:function(p){return p.trim()==="0"?Hn:Ew(p)},N:zi,T:Ba,L:WN}[d.toUpperCase()](f):h={a:Hn,n:l[0],t:we}[d],h===void 0)return[];l.push(h)}if(n.push({t:a,d:l}),e.lastIndex===t.length)return n}return[]}function Kg(t){if(t=(t||"none").toLowerCase().trim(),t==="none")return[];for(var e=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];i=r.index+r[0].length;var a=r[1],o=Ll[a];if(!o)return[];var s=r[2].split(","),c=o[0];if(c.length<s.length)return[];for(var l=[],u=0;u<c.length;u++){var f=s[u],d=c[u],h=void 0;if(f?h={A:function(p){return p.trim()==="0"?Hn:zp(p)},N:no,T:ps,L:Mw}[d.toUpperCase()](f):h={a:Hn,n:l[0],t:we}[d],h===void 0)return[];l.push(h)}if(n.push({t:a,d:l}),e.lastIndex===t.length)return n}return[]}function c4(t){var e,n,r,i;switch(t.t){case"rotatex":return i=re(hn(t.d[0])),[1,0,0,0,0,Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1];case"rotatey":return i=re(hn(t.d[0])),[Math.cos(i),0,-Math.sin(i),0,0,1,0,0,Math.sin(i),0,Math.cos(i),0,0,0,0,1];case"rotate":case"rotatez":return i=re(hn(t.d[0])),[Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1,0,0,0,0,1];case"rotate3d":e=t.d[0].value,n=t.d[1].value,r=t.d[2].value,i=re(hn(t.d[3]));var a=e*e+n*n+r*r;if(a===0)e=1,n=0,r=0;else if(a!==1){var o=Math.sqrt(a);e/=o,n/=o,r/=o}var s=Math.sin(i/2),c=s*Math.cos(i/2),l=s*s;return[1-2*(n*n+r*r)*l,2*(e*n*l+r*c),2*(e*r*l-n*c),0,2*(e*n*l-r*c),1-2*(e*e+r*r)*l,2*(n*r*l+e*c),0,2*(e*r*l+n*c),2*(n*r*l-e*c),1-2*(e*e+n*n)*l,0,0,0,0,1];case"scale":return[t.d[0].value,0,0,0,0,t.d[1].value,0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0].value,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0].value,0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0].value,0,0,0,0,1];case"scale3d":return[t.d[0].value,0,0,0,0,t.d[1].value,0,0,0,0,t.d[2].value,0,0,0,0,1];case"skew":var u=re(hn(t.d[0])),f=re(hn(t.d[1]));return[1,Math.tan(f),0,0,Math.tan(u),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return i=re(hn(t.d[0])),[1,0,0,0,Math.tan(i),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return i=re(hn(t.d[0])),[1,Math.tan(i),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return e=dn(t.d[0],0,null)||0,n=dn(t.d[1],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,n,0,1];case"translatex":return e=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,0,0,1];case"translatey":return n=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,0,n,0,1];case"translatez":return r=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,0,0,r,1];case"translate3d":return e=dn(t.d[0],0,null)||0,n=dn(t.d[1],0,null)||0,r=dn(t.d[2],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,n,r,1];case"perspective":var d=dn(t.d[0],0,null)||0,h=d?-1/d:0;return[1,0,0,0,0,1,0,0,0,0,1,h,0,0,0,1];case"matrix":return[t.d[0].value,t.d[1].value,0,0,t.d[2].value,t.d[3].value,0,0,0,0,1,0,t.d[4].value,t.d[5].value,0,1];case"matrix3d":return t.d.map(function(p){return p.value})}}function l4(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function u4(t){return t.length===0?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(c4).reduce(l4)}function Zg(t){var e=[0,0,0],n=[1,1,1],r=[0,0,0],i=[0,0,0,1],a=[0,0,0,1];return lN(u4(t),e,n,r,i,a),[[e,n,r,a,i]]}var f4=function(){function t(r,i){for(var a=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],o=0;o<4;o++)for(var s=0;s<4;s++)for(var c=0;c<4;c++)a[o][s]+=i[o][c]*r[c][s];return a}function e(r){return r[0][2]==0&&r[0][3]==0&&r[1][2]==0&&r[1][3]==0&&r[2][0]==0&&r[2][1]==0&&r[2][2]==1&&r[2][3]==0&&r[3][2]==0&&r[3][3]==1}function n(r,i,a,o,s){for(var c=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)c[l][3]=s[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)c[3][l]+=r[u]*c[u][l];var f=o[0],d=o[1],h=o[2],p=o[3],v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];v[0][0]=1-2*(d*d+h*h),v[0][1]=2*(f*d-h*p),v[0][2]=2*(f*h+d*p),v[1][0]=2*(f*d+h*p),v[1][1]=1-2*(f*f+h*h),v[1][2]=2*(d*h-f*p),v[2][0]=2*(f*h-d*p),v[2][1]=2*(d*h+f*p),v[2][2]=1-2*(f*f+d*d),c=t(c,v);var g=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];a[2]&&(g[2][1]=a[2],c=t(c,g)),a[1]&&(g[2][1]=0,g[2][0]=a[0],c=t(c,g)),a[0]&&(g[2][0]=0,g[1][0]=a[0],c=t(c,g));for(var l=0;l<3;l++)for(var u=0;u<3;u++)c[l][u]*=i[l];return e(c)?[c[0][0],c[0][1],c[1][0],c[1][1],c[3][0],c[3][1]]:c[0].concat(c[1],c[2],c[3])}return n}();function d4(t){return t.toFixed(6).replace(".000000","")}function Bf(t,e){var n,r;return t.decompositionPair!==e&&(t.decompositionPair=e,n=Zg(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=Zg(e)),n[0]===null||r[0]===null?[[!1],[!0],function(i){return i?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(i){var a=p4(n[0][3],r[0][3],i[5]),o=f4(i[0],i[1],i[2],a,i[4]),s=o.map(d4).join(",");return s}])}function h4(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function p4(t,e,n){var r=h4(t,e);r=ce(r,-1,1);var i=[];if(r===1)i=t;else for(var a=Math.acos(r),o=Math.sin(n*a)*1/Math.sqrt(1-r*r),s=0;s<4;s++)i.push(t[s]*(Math.cos(n*a)-r*o)+e[s]*o);return i}function Ff(t){return t.replace(/[xy]/,"")}function zf(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var v4=function(t,e){return t==="perspective"&&e==="perspective"||(t==="matrix"||t==="matrix3d")&&(e==="matrix"||e==="matrix3d")};function g4(t,e,n){var r=!1;if(!t.length||!e.length){t.length||(r=!0,t=e,e=[]);for(var i=function(O){var S=t[O],_=S.t,M=S.d,E=_.substring(0,5)==="scale"?1:0;e.push({t:_,d:M.map(function(P){return typeof P=="number"?Ft(E):Ft(E,P.unit)})})},a=0;a<t.length;a++)i(a)}var o=[],s=[],c=[];if(t.length!==e.length){var l=Bf(t,e);o=[l[0]],s=[l[1]],c=[["matrix",[l[2]]]]}else for(var a=0;a<t.length;a++){var u=t[a].t,f=e[a].t,d=t[a].d,h=e[a].d,p=Ll[u],v=Ll[f],g=void 0;if(v4(u,f)){var l=Bf([t[a]],[e[a]]);o.push(l[0]),s.push(l[1]),c.push(["matrix",[l[2]]]);continue}else if(u===f)g=u;else if(p[2]&&v[2]&&Ff(u)===Ff(f))g=Ff(u),d=p[2](d),h=v[2](h);else if(p[1]&&v[1]&&zf(u)===zf(f))g=zf(u),d=p[1](d),h=v[1](h);else{var l=Bf(t,e);o=[l[0]],s=[l[1]],c=[["matrix",[l[2]]]];break}for(var y=[],m=[],b=[],x=0;x<d.length;x++){var l=VN(d[x],h[x],n,!1,x);y[x]=l[0],m[x]=l[1],b.push(l[2])}o.push(y),s.push(m),c.push([g,b])}if(r){var w=o;o=s,s=w}return[o,s,function(O){return O.map(function(S,_){var M=S.map(function(E,P){return c[_][1][P](E)}).join(",");return c[_][0]==="matrix"&&M.split(",").length===16&&(c[_][0]="matrix3d"),c[_][0]==="matrix3d"&&M.split(",").length===6&&(c[_][0]="matrix"),c[_][0]+"("+M+")"}).join(" ")}]}var Nw=Ne(function(t){if(le(t)){if(t==="text-anchor")return[Ft(0,"px"),Ft(0,"px")];var e=t.split(" ");return e.length===1&&(e[0]==="top"||e[0]==="bottom"?(e[1]=e[0],e[0]="center"):e[1]="center"),e.length!==2?null:[Ba(Nl(e[0])),Ba(Nl(e[1]))]}else return[Ft(t[0]||0,"px"),Ft(t[1]||0,"px")]}),y4=function(t){if(le(t)){if(t==="text-anchor")return[Ft(0,"px"),Ft(0,"px")];var e=t.split(" ");return e.length===1&&(e[0]==="top"||e[0]==="bottom"?(e[1]=e[0],e[0]="center"):e[1]="center"),e.length!==2?null:[ps(Nl(e[0])),ps(Nl(e[1]))]}else return[Ft(t[0]||0,"px"),Ft(t[1]||0,"px")]};function Nl(t){return t==="center"?"50%":t==="left"||t==="top"?"0":t==="right"||t==="bottom"?"100%":t}var Vp=[{n:"display",k:["none"]},{n:"opacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"fillOpacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"strokeOpacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"fill",int:!0,k:["none"],d:"none",syntax:tt.PAINT},{n:"fillRule",k:["nonzero","evenodd"],d:"nonzero"},{n:"stroke",int:!0,k:["none"],d:"none",syntax:tt.PAINT,l:!0},{n:"shadowType",k:["inner","outer","both"],d:"outer",l:!0},{n:"shadowColor",int:!0,syntax:tt.COLOR},{n:"shadowOffsetX",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"shadowOffsetY",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"shadowBlur",int:!0,l:!0,d:"0",syntax:tt.SHADOW_BLUR},{n:"lineWidth",int:!0,inh:!0,d:"1",l:!0,a:["strokeWidth"],syntax:tt.LENGTH_PERCENTAGE},{n:"increasedLineWidthForHitTesting",inh:!0,d:"0",l:!0,syntax:tt.LENGTH_PERCENTAGE},{n:"lineJoin",inh:!0,l:!0,a:["strokeLinejoin"],k:["miter","bevel","round"],d:"miter"},{n:"lineCap",inh:!0,l:!0,a:["strokeLinecap"],k:["butt","round","square"],d:"butt"},{n:"lineDash",int:!0,inh:!0,k:["none"],a:["strokeDasharray"],syntax:tt.LENGTH_PERCENTAGE_12},{n:"lineDashOffset",int:!0,inh:!0,d:"0",a:["strokeDashoffset"],syntax:tt.LENGTH_PERCENTAGE},{n:"offsetPath",syntax:tt.DEFINED_PATH},{n:"offsetDistance",int:!0,syntax:tt.OFFSET_DISTANCE},{n:"dx",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"dy",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"zIndex",ind:!0,int:!0,d:"0",k:["auto"],syntax:tt.Z_INDEX},{n:"visibility",k:["visible","hidden"],ind:!0,inh:!0,int:!0,d:"visible"},{n:"pointerEvents",inh:!0,k:["none","auto","stroke","fill","painted","visible","visiblestroke","visiblefill","visiblepainted","all"],d:"auto"},{n:"filter",ind:!0,l:!0,k:["none"],d:"none",syntax:tt.FILTER},{n:"clipPath",syntax:tt.DEFINED_PATH},{n:"textPath",syntax:tt.DEFINED_PATH},{n:"textPathSide",k:["left","right"],d:"left"},{n:"textPathStartOffset",l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"transform",p:100,int:!0,k:["none"],d:"none",syntax:tt.TRANSFORM},{n:"transformOrigin",p:100,d:function(t){return t===G.CIRCLE||t===G.ELLIPSE?"center":t===G.TEXT?"text-anchor":"left top"},l:!0,syntax:tt.TRANSFORM_ORIGIN},{n:"anchor",p:99,d:function(t){return t===G.CIRCLE||t===G.ELLIPSE?"0.5 0.5":"0 0"},l:!0,syntax:tt.LENGTH_PERCENTAGE_12},{n:"cx",int:!0,d:"0",syntax:tt.COORDINATE},{n:"cy",int:!0,d:"0",syntax:tt.COORDINATE},{n:"cz",int:!0,d:"0",syntax:tt.COORDINATE},{n:"r",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"rx",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"ry",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"x",int:!0,d:"0",syntax:tt.COORDINATE},{n:"y",int:!0,d:"0",syntax:tt.COORDINATE},{n:"z",int:!0,d:"0",syntax:tt.COORDINATE},{n:"width",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"height",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"radius",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE_14},{n:"x1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"y1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"z1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"x2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"y2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"z2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"path",int:!0,l:!0,d:"",a:["d"],syntax:tt.PATH,p:50},{n:"points",int:!0,l:!0,syntax:tt.LIST_OF_POINTS,p:50},{n:"text",l:!0,d:"",syntax:tt.TEXT,p:50},{n:"textTransform",l:!0,inh:!0,k:["capitalize","uppercase","lowercase","none"],d:"none",syntax:tt.TEXT_TRANSFORM,p:51},{n:"font",l:!0},{n:"fontSize",int:!0,inh:!0,d:"16px",l:!0,syntax:tt.LENGTH_PERCENTAGE},{n:"fontFamily",l:!0,inh:!0,d:"sans-serif"},{n:"fontStyle",l:!0,inh:!0,k:["normal","italic","oblique"],d:"normal"},{n:"fontWeight",l:!0,inh:!0,k:["normal","bold","bolder","lighter"],d:"normal"},{n:"fontVariant",l:!0,inh:!0,k:["normal","small-caps"],d:"normal"},{n:"lineHeight",l:!0,syntax:tt.LENGTH,int:!0,d:"0"},{n:"letterSpacing",l:!0,syntax:tt.LENGTH,int:!0,d:"0"},{n:"miterLimit",l:!0,syntax:tt.NUMBER,d:function(t){return t===G.PATH||t===G.POLYGON||t===G.POLYLINE?"4":"10"}},{n:"wordWrap",l:!0},{n:"wordWrapWidth",l:!0},{n:"maxLines",l:!0},{n:"textOverflow",l:!0,d:"clip"},{n:"leading",l:!0},{n:"textBaseline",l:!0,inh:!0,k:["top","hanging","middle","alphabetic","ideographic","bottom"],d:"alphabetic"},{n:"textAlign",l:!0,inh:!0,k:["start","center","middle","end","left","right"],d:"start"},{n:"markerStart",syntax:tt.MARKER},{n:"markerEnd",syntax:tt.MARKER},{n:"markerMid",syntax:tt.MARKER},{n:"markerStartOffset",syntax:tt.LENGTH,l:!0,int:!0,d:"0"},{n:"markerEndOffset",syntax:tt.LENGTH,l:!0,int:!0,d:"0"}],Qg=Vp.filter(function(t){return!!t.l}).map(function(t){return t.n}),Br={},la=new WeakMap,m4=function(t,e){var n=la.get(t);return!n||n.length===0?!0:n.includes(e)},b4=function(){function t(e){var n=this;this.runtime=e,Vp.forEach(function(r){n.registerMetadata(r)})}return t.prototype.registerMetadata=function(e){q([e.n],N(e.a||[]),!1).forEach(function(n){Br[n]=e})},t.prototype.unregisterMetadata=function(e){delete Br[e]},t.prototype.getPropertySyntax=function(e){return this.runtime.CSSPropertySyntaxFactory[e]},t.prototype.processProperties=function(e,n,r){var i=this;if(r===void 0&&(r={skipUpdateAttribute:!1,skipParse:!1,forceUpdateGeometry:!1,usedAttributes:[],memoize:!0}),!this.runtime.enableCSSParsing){Object.assign(e.attributes,n);var a=Object.keys(n),o=e.parsedStyle.clipPath,s=e.parsedStyle.offsetPath;e.parsedStyle=Object.assign(e.parsedStyle,n);var c=!!r.forceUpdateGeometry;if(!c){for(var l=0;l<Qg.length;l++)if(Qg[l]in n){c=!0;break}}n.fill&&(e.parsedStyle.fill=Ar(n.fill)),n.stroke&&(e.parsedStyle.stroke=Ar(n.stroke)),n.shadowColor&&(e.parsedStyle.shadowColor=Ar(n.shadowColor)),n.filter&&(e.parsedStyle.filter=Aw(n.filter)),nt(n.radius)||(e.parsedStyle.radius=$f(n.radius,4)),nt(n.lineDash)||(e.parsedStyle.lineDash=$f(n.lineDash,2)),n.points&&(e.parsedStyle.points=Lw(n.points,e)),n.path===""&&(e.parsedStyle.path=z({},Sw)),n.path&&(e.parsedStyle.path=oh(n.path),e.parsedStyle.defX=e.parsedStyle.path.rect.x,e.parsedStyle.defY=e.parsedStyle.path.rect.y),n.textTransform&&this.runtime.CSSPropertySyntaxFactory["<text-transform>"].calculator(null,null,{value:n.textTransform},e,null),n.clipPath&&this.runtime.CSSPropertySyntaxFactory["<defined-path>"].calculator("clipPath",o,n.clipPath,e,this.runtime),n.offsetPath&&this.runtime.CSSPropertySyntaxFactory["<defined-path>"].calculator("offsetPath",s,n.offsetPath,e,this.runtime),n.anchor&&(e.parsedStyle.anchor=$f(n.anchor,2)),n.transform&&(e.parsedStyle.transform=Hp(n.transform)),n.transformOrigin&&(e.parsedStyle.transformOrigin=Nw(n.transformOrigin)),n.markerStart&&(e.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator(null,n.markerStart,n.markerStart,null,null)),n.markerEnd&&(e.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator(null,n.markerEnd,n.markerEnd,null,null)),n.markerMid&&(e.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator("",n.markerMid,n.markerMid,null,null)),((e.nodeName===G.CIRCLE||e.nodeName===G.ELLIPSE)&&(!nt(n.cx)||!nt(n.cy))||(e.nodeName===G.RECT||e.nodeName===G.IMAGE||e.nodeName===G.GROUP||e.nodeName===G.HTML||e.nodeName===G.TEXT||e.nodeName===G.MESH)&&(!nt(n.x)||!nt(n.y)||!nt(n.z))||e.nodeName===G.LINE&&(!nt(n.x1)||!nt(n.y1)||!nt(n.z1)||!nt(n.x2)||!nt(n.y2)||!nt(n.z2)))&&this.runtime.CSSPropertySyntaxFactory["<coordinate>"].postProcessor(e,a),nt(n.zIndex)||this.runtime.CSSPropertySyntaxFactory["<z-index>"].postProcessor(e,a),n.path&&this.runtime.CSSPropertySyntaxFactory["<path>"].postProcessor(e,a),n.points&&this.runtime.CSSPropertySyntaxFactory["<list-of-points>"].postProcessor(e,a),nt(n.offsetDistance)||this.runtime.CSSPropertySyntaxFactory["<offset-distance>"].postProcessor(e,a),n.transform&&this.runtime.CSSPropertySyntaxFactory["<transform>"].postProcessor(e,a),c&&this.updateGeometry(e);return}var u=r.skipUpdateAttribute,f=r.skipParse,d=r.forceUpdateGeometry,h=r.usedAttributes,p=r.memoize,v=d,g=Object.keys(n);g.forEach(function(y){var m;u||(e.attributes[y]=n[y]),!v&&(!((m=Br[y])===null||m===void 0)&&m.l)&&(v=!0)}),f||g.forEach(function(y){e.computedStyle[y]=i.parseProperty(y,e.attributes[y],e,p)}),h!=null&&h.length&&(g=Array.from(new Set(g.concat(h)))),g.forEach(function(y){y in e.computedStyle&&(e.parsedStyle[y]=i.computeProperty(y,e.computedStyle[y],e,p))}),v&&this.updateGeometry(e),g.forEach(function(y){y in e.parsedStyle&&i.postProcessProperty(y,e,g)}),this.runtime.enableCSSParsing&&e.children.length&&g.forEach(function(y){y in e.parsedStyle&&i.isPropertyInheritable(y)&&e.children.forEach(function(m){m.internalSetAttribute(y,null,{skipUpdateAttribute:!0,skipParse:!0})})})},t.prototype.parseProperty=function(e,n,r,i){var a=Br[e],o=n;if((n===""||nt(n))&&(n="unset"),n==="unset"||n==="initial"||n==="inherit")o=eh(n);else if(a){var s=a.k,c=a.syntax,l=c&&this.getPropertySyntax(c);s&&s.indexOf(n)>-1?o=eh(n):l&&(!i&&l.parserUnmemoize?o=l.parserUnmemoize(n,r):l.parser&&(o=l.parser(n,r)))}return o},t.prototype.computeProperty=function(e,n,r,i){var a=Br[e],o=r.id==="g-root",s=n;if(a){var c=a.syntax,l=a.inh,u=a.d;if(n instanceof sn){var f=n.value;if(f==="unset"&&(l&&!o?f="inherit":f="initial"),f==="initial")nt(u)||(n=this.parseProperty(e,ga(u)?u(r.nodeName):u,r,i));else if(f==="inherit"){var d=this.tryToResolveProperty(r,e,{inherited:!0});if(nt(d)){this.addUnresolveProperty(r,e);return}else return d}}var h=c&&this.getPropertySyntax(c);if(h&&h.calculator){var p=r.parsedStyle[e];s=h.calculator(e,p,n,r,this.runtime)}else n instanceof sn?s=n.value:s=n}return s},t.prototype.postProcessProperty=function(e,n,r){var i=Br[e];if(i&&i.syntax){var a=i.syntax&&this.getPropertySyntax(i.syntax),o=a;o&&o.postProcessor&&o.postProcessor(n,r)}},t.prototype.addUnresolveProperty=function(e,n){var r=la.get(e);r||(la.set(e,[]),r=la.get(e)),r.indexOf(n)===-1&&r.push(n)},t.prototype.tryToResolveProperty=function(e,n,r){r===void 0&&(r={});var i=r.inherited;if(i&&e.parentElement&&m4(e.parentElement,n)){var a=e.parentElement.parsedStyle[n];return a==="unset"||a==="initial"||a==="inherit"?void 0:a}},t.prototype.recalc=function(e){var n=la.get(e);if(n&&n.length){var r={};n.forEach(function(i){r[i]=e.attributes[i]}),this.processProperties(e,r),la.delete(e)}},t.prototype.updateGeometry=function(e){var n=e.nodeName,r=this.runtime.geometryUpdaterFactory[n];if(r){var i=e.geometry;i.contentBounds||(i.contentBounds=new be),i.renderBounds||(i.renderBounds=new be);var a=e.parsedStyle,o=r.update(a,e),s=o.width,c=o.height,l=o.depth,u=l===void 0?0:l,f=o.offsetX,d=f===void 0?0:f,h=o.offsetY,p=h===void 0?0:h,v=o.offsetZ,g=v===void 0?0:v,y=[Math.abs(s)/2,Math.abs(c)/2,u/2],m=a,b=m.stroke,x=m.lineWidth,w=m.increasedLineWidthForHitTesting,O=m.shadowType,S=m.shadowColor,_=m.filter,M=_===void 0?[]:_,E=m.transformOrigin,P=a.anchor;n===G.TEXT?delete a.anchor:n===G.MESH&&(a.anchor[2]=.5);var T=[(1-(P&&P[0]||0)*2)*s/2+d,(1-(P&&P[1]||0)*2)*c/2+p,(1-(P&&P[2]||0)*2)*y[2]+g];i.contentBounds.update(T,y);var A=n===G.POLYLINE||n===G.POLYGON||n===G.PATH?Math.SQRT2:.5,k=b&&!b.isNone;if(k){var C=((x||0)+(w||0))*A;y[0]+=C,y[1]+=C}if(i.renderBounds.update(T,y),S&&O&&O!=="inner"){var L=i.renderBounds,I=L.min,R=L.max,j=a,D=j.shadowBlur,$=j.shadowOffsetX,B=j.shadowOffsetY,F=D||0,Y=$||0,U=B||0,K=I[0]-F+Y,V=R[0]+F+Y,W=I[1]-F+U,J=R[1]+F+U;I[0]=Math.min(I[0],K),R[0]=Math.max(R[0],V),I[1]=Math.min(I[1],W),R[1]=Math.max(R[1],J),i.renderBounds.setMinMax(I,R)}M.forEach(function(lt){var xt=lt.name,Et=lt.params;if(xt==="blur"){var Xt=Et[0].value;i.renderBounds.update(i.renderBounds.center,el(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[Xt,Xt,0]))}else if(xt==="drop-shadow"){var ue=Et[0].value,Ke=Et[1].value,vr=Et[2].value,gi=i.renderBounds,Ge=gi.min,wn=gi.max,_t=Ge[0]-vr+ue,Pt=wn[0]+vr+ue,ee=Ge[1]-vr+Ke,kt=wn[1]+vr+Ke;Ge[0]=Math.min(Ge[0],_t),wn[0]=Math.max(wn[0],Pt),Ge[1]=Math.min(Ge[1],ee),wn[1]=Math.max(wn[1],kt),i.renderBounds.setMinMax(Ge,wn)}}),P=a.anchor;var et=s<0,it=c<0,ct=(et?-1:1)*(E?dn(E[0],0,e):0),ot=(it?-1:1)*(E?dn(E[1],1,e):0);ct=ct-(et?-1:1)*(P&&P[0]||0)*i.contentBounds.halfExtents[0]*2,ot=ot-(it?-1:1)*(P&&P[1]||0)*i.contentBounds.halfExtents[1]*2,e.setOrigin(ct,ot),this.runtime.sceneGraphService.dirtifyToRoot(e)}},t.prototype.isPropertyInheritable=function(e){var n=Br[e];return n?n.inh:!1},t}(),x4=function(){function t(){this.parser=Ew,this.parserUnmemoize=zp,this.parserWithCSSDisabled=null,this.mixer=Gp}return t.prototype.calculator=function(e,n,r,i){return hn(r)},t}(),w4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i,a){return r instanceof sn&&(r=null),a.sceneGraphService.updateDisplayObjectDependency(e,n,r,i),e==="clipPath"&&i.forEach(function(o){o.childNodes.length===0&&a.sceneGraphService.dirtifyToRoot(o)}),r},t}(),O4=function(){function t(){this.parser=Ar,this.parserWithCSSDisabled=Ar,this.mixer=YN}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?r.value==="none"?nh:Ow:r},t}(),S4=function(){function t(){this.parser=Aw}return t.prototype.calculator=function(e,n,r){return r instanceof sn?[]:r},t}();function Jg(t){var e=t.parsedStyle.fontSize;return nt(e)?null:e}var Xp=function(){function t(){this.parser=Ba,this.parserUnmemoize=ps,this.parserWithCSSDisabled=null,this.mixer=Gp}return t.prototype.calculator=function(e,n,r,i,a){var o;if(de(r))return r;if(jt.isRelativeUnit(r.unit)){var s=a.styleValueRegistry;if(r.unit===Z.kPercentage)return 0;if(r.unit===Z.kEms){if(i.parentNode){var c=Jg(i.parentNode);if(c)return c*=r.value,c;s.addUnresolveProperty(i,e)}else s.addUnresolveProperty(i,e);return 0}else if(r.unit===Z.kRems){if(!((o=i==null?void 0:i.ownerDocument)===null||o===void 0)&&o.documentElement){var c=Jg(i.ownerDocument.documentElement);if(c)return c*=r.value,c;s.addUnresolveProperty(i,e)}else s.addUnresolveProperty(i,e);return 0}}else return r.value},t}(),_4=function(){function t(){this.mixer=Tw}return t.prototype.parser=function(e){var n=Pw(de(e)?[e]:e),r;return n.length===1?r=[n[0],n[0]]:r=[n[0],n[1]],r},t.prototype.calculator=function(e,n,r){return r.map(function(i){return i.value})},t}(),M4=function(){function t(){this.mixer=Tw}return t.prototype.parser=function(e){var n=Pw(de(e)?[e]:e),r;return n.length===1?r=[n[0],n[0],n[0],n[0]]:n.length===2?r=[n[0],n[1],n[0],n[1]]:n.length===3?r=[n[0],n[1],n[2],n[1]]:r=[n[0],n[1],n[2],n[3]],r},t.prototype.calculator=function(e,n,r){return r.map(function(i){return i.value})},t}(),xo=Nt();function Up(t,e){var n=e.parsedStyle.defX||0,r=e.parsedStyle.defY||0;return e.resetLocalTransform(),e.setLocalPosition(n,r),t.forEach(function(i){var a=i.t,o=i.d;if(a==="scale"){var s=(o==null?void 0:o.map(function(m){return m.value}))||[1,1];e.scaleLocal(s[0],s[1],1)}else if(a==="scalex"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(s[0],1,1)}else if(a==="scaley"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(1,s[0],1)}else if(a==="scalez"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(1,1,s[0])}else if(a==="scale3d"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1,1,1];e.scaleLocal(s[0],s[1],s[2])}else if(a==="translate"){var c=o||[we,we];e.translateLocal(c[0].value,c[1].value,0)}else if(a==="translatex"){var c=o||[we];e.translateLocal(c[0].value,0,0)}else if(a==="translatey"){var c=o||[we];e.translateLocal(0,c[0].value,0)}else if(a==="translatez"){var c=o||[we];e.translateLocal(0,0,c[0].value)}else if(a==="translate3d"){var c=o||[we,we,we];e.translateLocal(c[0].value,c[1].value,c[2].value)}else if(a==="rotate"){var l=o||[Hn];e.rotateLocal(0,0,hn(l[0]))}else if(a==="rotatex"){var l=o||[Hn];e.rotateLocal(hn(l[0]),0,0)}else if(a==="rotatey"){var l=o||[Hn];e.rotateLocal(0,hn(l[0]),0)}else if(a==="rotatez"){var l=o||[Hn];e.rotateLocal(0,0,hn(l[0]))}else if(a!=="rotate3d")if(a==="skew"){var u=(o==null?void 0:o.map(function(m){return m.value}))||[0,0];e.setLocalSkew(re(u[0]),re(u[1]))}else if(a==="skewx"){var u=(o==null?void 0:o.map(function(b){return b.value}))||[0];e.setLocalSkew(re(u[0]),e.getLocalSkew()[1])}else if(a==="skewy"){var u=(o==null?void 0:o.map(function(b){return b.value}))||[0];e.setLocalSkew(e.getLocalSkew()[0],re(u[0]))}else if(a==="matrix"){var f=N(o.map(function(m){return m.value}),6),d=f[0],h=f[1],p=f[2],v=f[3],g=f[4],y=f[5];e.setLocalTransform(Td(xo,d,h,0,0,p,v,0,0,0,0,1,0,g+n,y+r,0,1))}else a==="matrix3d"&&(Td.apply(bT,q([xo],N(o.map(function(m){return m.value})),!1)),xo[12]+=n,xo[13]+=r,e.setLocalTransform(xo))}),e.getLocalTransform()}var E4=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.postProcessor=function(n,r){var i,a,o;switch(n.nodeName){case G.CIRCLE:case G.ELLIPSE:var s=n.parsedStyle,c=s.cx,l=s.cy,u=s.cz;nt(c)||(i=c),nt(l)||(a=l),nt(u)||(o=u);break;case G.LINE:var f=n.parsedStyle,d=f.x1,h=f.x2,p=f.y1,v=f.y2,g=Math.min(d,h),y=Math.min(p,v);i=g,a=y,o=0;break;case G.RECT:case G.IMAGE:case G.GROUP:case G.HTML:case G.TEXT:case G.MESH:nt(n.parsedStyle.x)||(i=n.parsedStyle.x),nt(n.parsedStyle.y)||(a=n.parsedStyle.y),nt(n.parsedStyle.z)||(o=n.parsedStyle.z);break}n.nodeName!==G.PATH&&n.nodeName!==G.POLYLINE&&n.nodeName!==G.POLYGON&&(n.parsedStyle.defX=i||0,n.parsedStyle.defY=a||0);var m=!nt(i)||!nt(a)||!nt(o);if(m&&r.indexOf("transform")===-1){var b=n.parsedStyle.transform;if(b&&b.length)Up(b,n);else{var x=N(n.getLocalPosition(),3),w=x[0],O=x[1],S=x[2];n.setLocalPosition(nt(i)?w:i,nt(a)?O:a,nt(o)?S:o)}}},e}(Xp),P4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){r instanceof sn&&(r=null);var a=r==null?void 0:r.cloneNode(!0);return a&&(a.style.isMarker=!0),a},t}(),A4=function(){function t(){this.mixer=Gp,this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(e,n,r){return r.value},t}(),k4=function(){function t(){this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null,this.mixer=Yp(0,1)}return t.prototype.calculator=function(e,n,r){return r.value},t.prototype.postProcessor=function(e){var n=e.parsedStyle,r=n.offsetPath,i=n.offsetDistance;if(r){var a=r.nodeName;if(a===G.LINE||a===G.PATH||a===G.POLYLINE){var o=r.getPoint(i);o&&(e.parsedStyle.defX=o.x,e.parsedStyle.defY=o.y,e.setLocalPosition(o.x,o.y))}}},t}(),T4=function(){function t(){this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null,this.mixer=Yp(0,1)}return t.prototype.calculator=function(e,n,r){return r.value},t}(),C4=function(){function t(){this.parser=oh,this.parserWithCSSDisabled=oh,this.mixer=o4}return t.prototype.calculator=function(e,n,r){return r instanceof sn&&r.value==="unset"?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new Fi(0,0,0,0)}:r},t.prototype.postProcessor=function(e,n){if(e.parsedStyle.defX=e.parsedStyle.path.rect.x,e.parsedStyle.defY=e.parsedStyle.path.rect.y,e.nodeName===G.PATH&&n.indexOf("transform")===-1){var r=e.parsedStyle,i=r.defX,a=i===void 0?0:i,o=r.defY,s=o===void 0?0:o;e.setLocalPosition(a,s)}},t}(),L4=function(){function t(){this.parser=Lw,this.mixer=s4}return t.prototype.postProcessor=function(e,n){if((e.nodeName===G.POLYGON||e.nodeName===G.POLYLINE)&&n.indexOf("transform")===-1){var r=e.parsedStyle,i=r.defX,a=r.defY;e.setLocalPosition(i,a)}},t}(),N4=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.mixer=Yp(0,1/0),n}return e}(Xp),R4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?r.value==="unset"?"":r.value:"".concat(r)},t.prototype.postProcessor=function(e){e.nodeValue="".concat(e.parsedStyle.text)||""},t}(),I4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){var a=i.getAttribute("text");if(a){var o=a;r.value==="capitalize"?o=a.charAt(0).toUpperCase()+a.slice(1):r.value==="lowercase"?o=a.toLowerCase():r.value==="uppercase"&&(o=a.toUpperCase()),i.parsedStyle.text=o}return r.value},t}(),Gf={},j4=0;function D4(t,e){if(t){var n=typeof t=="string"?t:t.id||j4++;Gf[n]&&Gf[n].destroy(),Gf[n]=e}}var Vs=typeof window<"u"&&typeof window.document<"u";function $4(t){return!!t.getAttribute}function B4(t,e){for(var n=0,r=t.length;n<r;){var i=n+r>>>1;Rw(t[i],e)<0?n=i+1:r=i}return n}function Rw(t,e){var n=Number(t.parsedStyle.zIndex),r=Number(e.parsedStyle.zIndex);if(n===r){var i=t.parentNode;if(i){var a=i.childNodes||[];return a.indexOf(t)-a.indexOf(e)}}return n-r}function Iw(t){var e,n=t;do{var r=(e=n.parsedStyle)===null||e===void 0?void 0:e.clipPath;if(r)return n;n=n.parentElement}while(n!==null);return null}var ty="px";function F4(t,e,n){Vs&&t.style&&(t.style.width=e+ty,t.style.height=n+ty)}function jw(t,e){if(Vs)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function z4(t){var e=jw(t,"width");return e==="auto"?t.offsetWidth:parseFloat(e)}function G4(t){var e=jw(t,"height");return e==="auto"?t.offsetHeight:parseFloat(e)}var Y4=1,W4={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},sh=typeof performance=="object"&&performance.now?performance:Date;function Ki(t,e,n){var r=!1,i=!1,a=!!e&&!e.isNone,o=!!n&&!n.isNone;return t==="visiblepainted"||t==="painted"||t==="auto"?(r=a,i=o):t==="visiblefill"||t==="fill"?r=!0:t==="visiblestroke"||t==="stroke"?i=!0:(t==="visible"||t==="all")&&(r=!0,i=!0),[r,i]}var H4=1,V4=function(){return H4++},sr=typeof self=="object"&&self.self==self?self:typeof global=="object"&&global.global==global?global:{},X4=Date.now(),U4=function(){return sr.performance&&typeof sr.performance.now=="function"?sr.performance.now():Date.now()-X4},Eo={},ey=Date.now(),q4=function(t){if(typeof t!="function")throw new TypeError(t+" is not a function");var e=Date.now(),n=e-ey,r=n>16?0:16-n,i=V4();return Eo[i]=t,Object.keys(Eo).length>1||setTimeout(function(){ey=e;var a=Eo;Eo={},Object.keys(a).forEach(function(o){return a[o](U4())})},r),i},K4=function(t){delete Eo[t]},Z4=["","webkit","moz","ms","o"],Dw=function(t){return typeof t!="string"?q4:t===""?sr.requestAnimationFrame:sr[t+"RequestAnimationFrame"]},Q4=function(t){return typeof t!="string"?K4:t===""?sr.cancelAnimationFrame:sr[t+"CancelAnimationFrame"]||sr[t+"CancelRequestAnimationFrame"]},J4=function(t,e){for(var n=0;t[n]!==void 0;){if(e(t[n]))return t[n];n=n+1}},$w=J4(Z4,function(t){return!!Dw(t)}),Bw=Dw($w),Fw=Q4($w);sr.requestAnimationFrame=Bw;sr.cancelAnimationFrame=Fw;var tR=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(e,n){this.callbacks.push(n)},t.prototype.promise=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Promise.all(this.callbacks.map(function(r){return r.apply(void 0,q([],N(e),!1))}))},t}(),eR=function(){function t(){this.callbacks=[]}return t.prototype.tapPromise=function(e,n){this.callbacks.push(n)},t.prototype.promise=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ka(this,void 0,void 0,function(){var r,i,a,o;return Ta(this,function(s){switch(s.label){case 0:return this.callbacks.length?[4,(o=this.callbacks)[0].apply(o,q([],N(e),!1))]:[3,6];case 1:r=s.sent(),i=0,s.label=2;case 2:return i<this.callbacks.length-1?(a=this.callbacks[i],[4,a(r)]):[3,5];case 3:r=s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2,r];case 6:return[2,null]}})})},t}(),Ye=function(){function t(){this.callbacks=[]}return t.prototype.tap=function(e,n){this.callbacks.push(n)},t.prototype.call=function(){var e=arguments;this.callbacks.forEach(function(n){n.apply(void 0,e)})},t}(),Yf=function(){function t(){this.callbacks=[]}return t.prototype.tap=function(e,n){this.callbacks.push(n)},t.prototype.call=function(){if(this.callbacks.length){for(var e=arguments,n=this.callbacks[0].apply(void 0,e),r=0;r<this.callbacks.length-1;r++){var i=this.callbacks[r];n=i(n)}return n}return null},t}(),nR=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],rR=/([\"\'])[^\'\"]+\1/;function iR(t){for(var e=t.fontSize,n=t.fontFamily,r=t.fontStyle,i=t.fontVariant,a=t.fontWeight,o=de(e)&&"".concat(e,"px")||"16px",s=n.split(","),c=s.length-1;c>=0;c--){var l=s[c].trim();!rR.test(l)&&nR.indexOf(l)<0&&(l='"'.concat(l,'"')),s[c]=l}return"".concat(r," ").concat(i," ").concat(a," ").concat(o," ").concat(s.join(","))}var aR=function(){function t(){this.parser=Hp,this.parserUnmemoize=Kg,this.parserWithCSSDisabled=Kg,this.mixer=g4}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?[]:r},t.prototype.postProcessor=function(e){var n=e.parsedStyle.transform;Up(n,e)},t}(),oR=function(){function t(){this.parser=Nw,this.parserUnmemoize=y4}return t}(),sR=function(){function t(){this.parser=zi,this.parserUnmemoize=no}return t.prototype.calculator=function(e,n,r,i){return r.value},t.prototype.postProcessor=function(e){if(e.parentNode){var n=e.parentNode,r=n.renderable,i=n.sortable;r&&(r.dirty=!0),i&&(i.dirty=!0,i.dirtyReason=$a.Z_INDEX_CHANGED)}},t}(),cR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.r,i=r*2,a=r*2;return{width:i,height:a}},t}(),lR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.rx,i=e.ry,a=r*2,o=i*2;return{width:a,height:o}},t}(),uR=function(){function t(){}return t.prototype.update=function(e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=Math.min(n,i),s=Math.max(n,i),c=Math.min(r,a),l=Math.max(r,a),u=s-o,f=l-c;return{width:u,height:f}},t}(),fR=function(){function t(){}return t.prototype.update=function(e){var n=e.path,r=n.rect,i=r.width,a=r.height;return{width:i,height:a}},t}(),dR=function(){function t(){}return t.prototype.update=function(e){if(e.points&&Le(e.points.points)){var n=e.points.points,r=Math.min.apply(Math,q([],N(n.map(function(l){return l[0]})),!1)),i=Math.max.apply(Math,q([],N(n.map(function(l){return l[0]})),!1)),a=Math.min.apply(Math,q([],N(n.map(function(l){return l[1]})),!1)),o=Math.max.apply(Math,q([],N(n.map(function(l){return l[1]})),!1)),s=i-r,c=o-a;return{width:s,height:c}}return{width:0,height:0}},t}(),hR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.img,i=e.width,a=i===void 0?0:i,o=e.height,s=o===void 0?0:o,c=a,l=s;return r&&!le(r)&&(c||(c=r.width,e.width=c),l||(l=r.height,e.height=l)),{width:c,height:l}},t}(),pR=function(){function t(e){this.globalRuntime=e}return t.prototype.isReadyToMeasure=function(e,n){var r=e.text,i=e.textAlign,a=e.textBaseline,o=e.fontSize,s=e.fontStyle,c=e.fontWeight,l=e.fontVariant,u=e.lineWidth;return r&&o&&s&&c&&l&&i&&a&&!nt(u)},t.prototype.update=function(e,n){var r,i,a=e.text,o=e.textAlign,s=e.lineWidth,c=e.textBaseline,l=e.dx,u=e.dy;if(!this.isReadyToMeasure(e,n))return e.metrics={font:"",width:0,height:0,lines:[],lineWidths:[],lineHeight:0,maxLineWidth:0,fontProperties:{ascent:0,descent:0,fontSize:0},lineMetrics:[]},{width:0,height:0,x:0,y:0,offsetX:0,offsetY:0};var f=(((i=(r=n==null?void 0:n.ownerDocument)===null||r===void 0?void 0:r.defaultView)===null||i===void 0?void 0:i.getConfig())||{}).offscreenCanvas,d=this.globalRuntime.textService.measureText(a,e,f);e.metrics=d;var h=d.width,p=d.height,v=d.lineHeight,g=d.fontProperties,y=[h/2,p/2,0],m=[0,1],b=0;o==="center"||o==="middle"?(b=s/2,m=[.5,1]):(o==="right"||o==="end")&&(b=s,m=[1,1]);var x=0;return c==="middle"?x=y[1]:c==="top"||c==="hanging"?x=y[1]*2:c==="alphabetic"?x=this.globalRuntime.enableCSSParsing?v-g.ascent:0:(c==="bottom"||c==="ideographic")&&(x=0),l&&(b+=l),u&&(x+=u),e.anchor=[m[0],m[1],0],{width:y[0]*2,height:y[1]*2,offsetX:b,offsetY:x}},t}();function vR(t){return!!t.type}var $u=function(){function t(e){this.eventPhase=t.prototype.NONE,this.bubbles=!0,this.cancelBubble=!0,this.cancelable=!1,this.defaultPrevented=!1,this.propagationStopped=!1,this.propagationImmediatelyStopped=!1,this.layer=new Ee,this.page=new Ee,this.canvas=new Ee,this.viewport=new Ee,this.composed=!1,this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,this.manager=e}return Object.defineProperty(t.prototype,"name",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layerX",{get:function(){return this.layer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layerY",{get:function(){return this.layer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageX",{get:function(){return this.page.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageY",{get:function(){return this.page.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasX",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasY",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportX",{get:function(){return this.viewport.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this.viewport.y},enumerable:!1,configurable:!0}),t.prototype.composedPath=function(){return this.manager&&(!this.path||this.path[0]!==this.target)&&(this.path=this.target?this.manager.propagationPath(this.target):[]),this.path},Object.defineProperty(t.prototype,"propagationPath",{get:function(){return this.composedPath()},enumerable:!1,configurable:!0}),t.prototype.preventDefault=function(){this.nativeEvent instanceof Event&&this.nativeEvent.cancelable&&this.nativeEvent.preventDefault(),this.defaultPrevented=!0},t.prototype.stopImmediatePropagation=function(){this.propagationImmediatelyStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.initEvent=function(){},t.prototype.initUIEvent=function(){},t.prototype.clone=function(){throw new Error(It)},t}(),zw=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.client=new Ee,n.movement=new Ee,n.offset=new Ee,n.global=new Ee,n.screen=new Ee,n}return Object.defineProperty(e.prototype,"clientX",{get:function(){return this.client.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientY",{get:function(){return this.client.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"movementX",{get:function(){return this.movement.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"movementY",{get:function(){return this.movement.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.offset.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.offset.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"globalX",{get:function(){return this.global.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"globalY",{get:function(){return this.global.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screenX",{get:function(){return this.screen.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screenY",{get:function(){return this.screen.y},enumerable:!1,configurable:!0}),e.prototype.getModifierState=function(n){return"getModifierState"in this.nativeEvent&&this.nativeEvent.getModifierState(n)},e.prototype.initMouseEvent=function(){throw new Error(It)},e}($u),ch=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.width=0,n.height=0,n.isPrimary=!1,n}return e.prototype.getCoalescedEvents=function(){return this.type==="pointermove"||this.type==="mousemove"||this.type==="touchmove"?[this]:[]},e.prototype.getPredictedEvents=function(){throw new Error("getPredictedEvents is not supported!")},e.prototype.clone=function(){return this.manager.clonePointerEvent(this)},e}(zw),lh=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.clone=function(){return this.manager.cloneWheelEvent(this)},e}(zw),Dt=function(t){rt(e,t);function e(n,r){var i=t.call(this,null)||this;return i.type=n,i.detail=r,Object.assign(i,r),i}return e}($u),ny=":",Gw=function(){function t(){this.emitter=new $p}return t.prototype.on=function(e,n,r){return this.addEventListener(e,n,r),this},t.prototype.addEventListener=function(e,n,r){var i=Xv(r)&&r||ki(r)&&r.capture,a=ki(r)&&r.once,o=ga(n)?void 0:n,s=!1,c="";if(e.indexOf(ny)>-1){var l=N(e.split(ny),2),u=l[0],f=l[1];e=f,c=u,s=!0}if(e=i?"".concat(e,"capture"):e,n=ga(n)?n:n.handleEvent,s){var d=n;n=function(){for(var h,p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];((h=p[0].target)===null||h===void 0?void 0:h.name)===c&&d.apply(void 0,q([],N(p),!1))}}return a?this.emitter.once(e,n,o):this.emitter.on(e,n,o),this},t.prototype.off=function(e,n,r){return e?this.removeEventListener(e,n,r):this.removeAllEventListeners(),this},t.prototype.removeAllEventListeners=function(){this.emitter.removeAllListeners()},t.prototype.removeEventListener=function(e,n,r){var i=Xv(r)&&r||ki(r)&&r.capture,a=ga(n)?void 0:n;return e=i?"".concat(e,"capture"):e,n=ga(n)?n:n==null?void 0:n.handleEvent,this.emitter.off(e,n,a),this},t.prototype.emit=function(e,n){this.dispatchEvent(new Dt(e,n))},t.prototype.dispatchEvent=function(e,n){var r,i;if(n===void 0&&(n=!1),!vR(e))throw new Error("DisplayObject cannot propagate events outside of the Federated Events API");var a;if(this.document?a=this:this.defaultView?a=this.defaultView:a=(r=this.ownerDocument)===null||r===void 0?void 0:r.defaultView,a){if(e.manager=a.getEventService()||null,!e.manager)return!1;e.defaultPrevented=!1,e.path=[],n||(e.target=this),(i=e.manager)===null||i===void 0||i.dispatchEvent(e,e.type,n)}return!e.defaultPrevented},t}(),_e=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.shadow=!1,n.ownerDocument=null,n.isConnected=!1,n.baseURI="",n.childNodes=[],n.nodeType=0,n.nodeName="",n.nodeValue=null,n.parentNode=null,n}return e.isNode=function(n){return!!n.childNodes},Object.defineProperty(e.prototype,"textContent",{get:function(){var n,r,i="";this.nodeName===G.TEXT&&(i+=this.style.text);try{for(var a=vn(this.childNodes),o=a.next();!o.done;o=a.next()){var s=o.value;s.nodeName===G.TEXT?i+=s.nodeValue:i+=s.textContent}}catch(c){n={error:c}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},set:function(n){var r=this;this.childNodes.slice().forEach(function(i){r.removeChild(i)}),this.nodeName===G.TEXT&&(this.style.text="".concat(n))},enumerable:!1,configurable:!0}),e.prototype.getRootNode=function(n){return n===void 0&&(n={}),this.parentNode?this.parentNode.getRootNode(n):n.composed&&this.host?this.host.getRootNode(n):this},e.prototype.hasChildNodes=function(){return this.childNodes.length>0},e.prototype.isDefaultNamespace=function(n){throw new Error(It)},e.prototype.lookupNamespaceURI=function(n){throw new Error(It)},e.prototype.lookupPrefix=function(n){throw new Error(It)},e.prototype.normalize=function(){throw new Error(It)},e.prototype.isEqualNode=function(n){return this===n},e.prototype.isSameNode=function(n){return this.isEqualNode(n)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(n){var r;if(n===this)return 0;for(var i=n,a=this,o=[i],s=[a];(r=i.parentNode)!==null&&r!==void 0?r:a.parentNode;)i=i.parentNode?(o.push(i.parentNode),i.parentNode):i,a=a.parentNode?(s.push(a.parentNode),a.parentNode):a;if(i!==a)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var c=o.length>s.length?o:s,l=c===o?s:o;if(c[c.length-l.length]===l[0])return c===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=c.length-l.length,f=l.length-1;f>=0;f--){var d=l[f],h=c[u+f];if(h!==d){var p=d.parentNode.childNodes;return p.indexOf(d)<p.indexOf(h)?l===o?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING:c===o?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING}}return e.DOCUMENT_POSITION_FOLLOWING},e.prototype.contain=function(n){return this.contains(n)},e.prototype.contains=function(n){for(var r=n;r&&this!==r;)r=r.parentNode;return!!r},e.prototype.getAncestor=function(n){for(var r=this;n>0&&r;)r=r.parentNode,n--;return r},e.prototype.forEach=function(n,r){r===void 0&&(r=!1),n(this)||(r?this.childNodes.slice():this.childNodes).forEach(function(i){i.forEach(n)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(Gw),gR=2048,yR=function(){function t(e,n){var r=this;this.globalRuntime=e,this.context=n,this.emitter=new $p,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=Nt(),this.tmpVec3=yt(),this.onPointerDown=function(i){var a=r.createPointerEvent(i);if(r.dispatchEvent(a,"pointerdown"),a.pointerType==="touch")r.dispatchEvent(a,"touchstart");else if(a.pointerType==="mouse"||a.pointerType==="pen"){var o=a.button===2;r.dispatchEvent(a,o?"rightdown":"mousedown")}var s=r.trackingData(i.pointerId);s.pressTargetsByButton[i.button]=a.composedPath(),r.freeEvent(a)},this.onPointerUp=function(i){var a,o=sh.now(),s=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);if(r.dispatchEvent(s,"pointerup"),s.pointerType==="touch")r.dispatchEvent(s,"touchend");else if(s.pointerType==="mouse"||s.pointerType==="pen"){var c=s.button===2;r.dispatchEvent(s,c?"rightup":"mouseup")}var l=r.trackingData(i.pointerId),u=r.findMountedTarget(l.pressTargetsByButton[i.button]),f=u;if(u&&!s.composedPath().includes(u)){for(var d=u;d&&!s.composedPath().includes(d);){if(s.currentTarget=d,r.notifyTarget(s,"pointerupoutside"),s.pointerType==="touch")r.notifyTarget(s,"touchendoutside");else if(s.pointerType==="mouse"||s.pointerType==="pen"){var c=s.button===2;r.notifyTarget(s,c?"rightupoutside":"mouseupoutside")}_e.isNode(d)&&(d=d.parentNode)}delete l.pressTargetsByButton[i.button],f=d}if(f){var h=r.clonePointerEvent(s,"click");h.target=f,h.path=[],l.clicksByButton[i.button]||(l.clicksByButton[i.button]={clickCount:0,target:h.target,timeStamp:o});var p=l.clicksByButton[i.button];p.target===h.target&&o-p.timeStamp<200?++p.clickCount:p.clickCount=1,p.target=h.target,p.timeStamp=o,h.detail=p.clickCount,!((a=s.detail)===null||a===void 0)&&a.preventClick||(!r.context.config.useNativeClickEvent&&(h.pointerType==="mouse"||h.pointerType==="touch")&&r.dispatchEvent(h,"click"),r.dispatchEvent(h,"pointertap")),r.freeEvent(h)}r.freeEvent(s)},this.onPointerMove=function(i){var a=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0),o=a.pointerType==="mouse"||a.pointerType==="pen",s=r.trackingData(i.pointerId),c=r.findMountedTarget(s.overTargets);if(s.overTargets&&c!==a.target){var l=i.type==="mousemove"?"mouseout":"pointerout",u=r.createPointerEvent(i,l,c||void 0);if(r.dispatchEvent(u,"pointerout"),o&&r.dispatchEvent(u,"mouseout"),!a.composedPath().includes(c)){var f=r.createPointerEvent(i,"pointerleave",c||void 0);for(f.eventPhase=f.AT_TARGET;f.target&&!a.composedPath().includes(f.target);)f.currentTarget=f.target,r.notifyTarget(f),o&&r.notifyTarget(f,"mouseleave"),_e.isNode(f.target)&&(f.target=f.target.parentNode);r.freeEvent(f)}r.freeEvent(u)}if(c!==a.target){var d=i.type==="mousemove"?"mouseover":"pointerover",h=r.clonePointerEvent(a,d);r.dispatchEvent(h,"pointerover"),o&&r.dispatchEvent(h,"mouseover");for(var p=c&&_e.isNode(c)&&c.parentNode;p&&p!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode)&&p!==a.target;)p=p.parentNode;var v=!p||p===(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);if(v){var g=r.clonePointerEvent(a,"pointerenter");for(g.eventPhase=g.AT_TARGET;g.target&&g.target!==c&&g.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)g.currentTarget=g.target,r.notifyTarget(g),o&&r.notifyTarget(g,"mouseenter"),_e.isNode(g.target)&&(g.target=g.target.parentNode);r.freeEvent(g)}r.freeEvent(h)}r.dispatchEvent(a,"pointermove"),a.pointerType==="touch"&&r.dispatchEvent(a,"touchmove"),o&&(r.dispatchEvent(a,"mousemove"),r.cursor=r.getCursor(a.target)),s.overTargets=a.composedPath(),r.freeEvent(a)},this.onPointerOut=function(i){var a=r.trackingData(i.pointerId);if(a.overTargets){var o=i.pointerType==="mouse"||i.pointerType==="pen",s=r.findMountedTarget(a.overTargets),c=r.createPointerEvent(i,"pointerout",s||void 0);r.dispatchEvent(c),o&&r.dispatchEvent(c,"mouseout");var l=r.createPointerEvent(i,"pointerleave",s||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&l.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)l.currentTarget=l.target,r.notifyTarget(l),o&&r.notifyTarget(l,"mouseleave"),_e.isNode(l.target)&&(l.target=l.target.parentNode);a.overTargets=null,r.freeEvent(c),r.freeEvent(l)}r.cursor=null},this.onPointerOver=function(i){var a=r.trackingData(i.pointerId),o=r.createPointerEvent(i),s=o.pointerType==="mouse"||o.pointerType==="pen";r.dispatchEvent(o,"pointerover"),s&&r.dispatchEvent(o,"mouseover"),o.pointerType==="mouse"&&(r.cursor=r.getCursor(o.target));var c=r.clonePointerEvent(o,"pointerenter");for(c.eventPhase=c.AT_TARGET;c.target&&c.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)c.currentTarget=c.target,r.notifyTarget(c),s&&r.notifyTarget(c,"mouseenter"),_e.isNode(c.target)&&(c.target=c.target.parentNode);a.overTargets=o.composedPath(),r.freeEvent(o),r.freeEvent(c)},this.onPointerUpOutside=function(i){var a=r.trackingData(i.pointerId),o=r.findMountedTarget(a.pressTargetsByButton[i.button]),s=r.createPointerEvent(i);if(o){for(var c=o;c;)s.currentTarget=c,r.notifyTarget(s,"pointerupoutside"),s.pointerType==="touch"||(s.pointerType==="mouse"||s.pointerType==="pen")&&r.notifyTarget(s,s.button===2?"rightupoutside":"mouseupoutside"),_e.isNode(c)&&(c=c.parentNode);delete a.pressTargetsByButton[i.button]}r.freeEvent(s)},this.onWheel=function(i){var a=r.createWheelEvent(i);r.dispatchEvent(a),r.freeEvent(a)},this.onClick=function(i){if(r.context.config.useNativeClickEvent){var a=r.createPointerEvent(i);r.dispatchEvent(a),r.freeEvent(a)}},this.onPointerCancel=function(i){var a=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);r.dispatchEvent(a),r.freeEvent(a)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.client2Viewport=function(e){var n=this.context.contextService.getBoundingClientRect();return new Ee(e.x-((n==null?void 0:n.left)||0),e.y-((n==null?void 0:n.top)||0))},t.prototype.viewport2Client=function(e){var n=this.context.contextService.getBoundingClientRect();return new Ee(e.x+((n==null?void 0:n.left)||0),e.y+((n==null?void 0:n.top)||0))},t.prototype.viewport2Canvas=function(e){var n=e.x,r=e.y,i=this.rootTarget.defaultView,a=i.getCamera(),o=this.context.config,s=o.width,c=o.height,l=a.getPerspectiveInverse(),u=a.getWorldTransform(),f=$e(this.tmpMatrix,u,l),d=Gn(this.tmpVec3,n/s*2-1,(1-r/c)*2-1,0);return Oe(d,d,f),new Ee(d[0],d[1])},t.prototype.canvas2Viewport=function(e){var n=this.rootTarget.defaultView,r=n.getCamera(),i=r.getPerspective(),a=r.getViewTransform(),o=$e(this.tmpMatrix,i,a),s=Gn(this.tmpVec3,e.x,e.y,0);Oe(this.tmpVec3,this.tmpVec3,o);var c=this.context.config,l=c.width,u=c.height;return new Ee((s[0]+1)/2*l,(1-(s[1]+1)/2)*u)},t.prototype.setPickHandler=function(e){this.pickHandler=e},t.prototype.addEventMapping=function(e,n){this.mappingTable[e]||(this.mappingTable[e]=[]),this.mappingTable[e].push({fn:n,priority:0}),this.mappingTable[e].sort(function(r,i){return r.priority-i.priority})},t.prototype.mapEvent=function(e){if(this.rootTarget){var n=this.mappingTable[e.type];if(n)for(var r=0,i=n.length;r<i;r++)n[r].fn(e);else console.warn("[EventService]: Event mapping not defined for ".concat(e.type))}},t.prototype.dispatchEvent=function(e,n,r){if(!r)e.propagationStopped=!1,e.propagationImmediatelyStopped=!1,this.propagate(e,n);else{e.eventPhase=e.AT_TARGET;var i=this.rootTarget.defaultView||null;e.currentTarget=i,this.notifyListeners(e,n)}this.emitter.emit(n||e.type,e)},t.prototype.propagate=function(e,n){if(e.target){var r=e.composedPath();e.eventPhase=e.CAPTURING_PHASE;for(var i=r.length-1;i>=1;i--)if(e.currentTarget=r[i],this.notifyTarget(e,n),e.propagationStopped||e.propagationImmediatelyStopped)return;if(e.eventPhase=e.AT_TARGET,e.currentTarget=e.target,this.notifyTarget(e,n),!(e.propagationStopped||e.propagationImmediatelyStopped)){var a=r.indexOf(e.currentTarget);e.eventPhase=e.BUBBLING_PHASE;for(var i=a+1;i<r.length;i++)if(e.currentTarget=r[i],this.notifyTarget(e,n),e.propagationStopped||e.propagationImmediatelyStopped)return}}},t.prototype.propagationPath=function(e){var n=[e],r=this.rootTarget.defaultView||null;if(r&&r===e)return n.unshift(r.document),n;for(var i=0;i<gR&&e!==this.rootTarget;i++)_e.isNode(e)&&e.parentNode&&(n.push(e.parentNode),e=e.parentNode);return r&&n.push(r),n},t.prototype.hitTest=function(e){var n=e.viewportX,r=e.viewportY,i=this.context.config,a=i.width,o=i.height,s=i.disableHitTesting;return n<0||r<0||n>a||r>o?null:!s&&this.pickHandler(e)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(e){var n,r=this.context.contextService.getDomElement(),i=(n=e.nativeEvent)===null||n===void 0?void 0:n.target;if(i){if(i===r)return!0;if(r&&r.contains)return r.contains(i)}return e.nativeEvent.composedPath?e.nativeEvent.composedPath().indexOf(r)>-1:!1},t.prototype.getExistedHTML=function(e){var n,r;if(e.nativeEvent.composedPath)try{for(var i=vn(e.nativeEvent.composedPath()),a=i.next();!a.done;a=i.next()){var o=a.value,s=this.nativeHTMLMap.get(o);if(s)return s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},t.prototype.pickTarget=function(e){return this.hitTest({clientX:e.clientX,clientY:e.clientY,viewportX:e.viewportX,viewportY:e.viewportY,x:e.canvasX,y:e.canvasY})},t.prototype.createPointerEvent=function(e,n,r,i){var a=this.allocateEvent(ch);this.copyPointerData(e,a),this.copyMouseData(e,a),this.copyData(e,a),a.nativeEvent=e.nativeEvent,a.originalEvent=e;var o=this.getExistedHTML(a);return a.target=r??(o||this.isNativeEventFromCanvas(a)&&this.pickTarget(a)||i),typeof n=="string"&&(a.type=n),a},t.prototype.createWheelEvent=function(e){var n=this.allocateEvent(lh);this.copyWheelData(e,n),this.copyMouseData(e,n),this.copyData(e,n),n.nativeEvent=e.nativeEvent,n.originalEvent=e;var r=this.getExistedHTML(n);return n.target=r||this.isNativeEventFromCanvas(n)&&this.pickTarget(n),n},t.prototype.trackingData=function(e){return this.mappingState.trackingData[e]||(this.mappingState.trackingData[e]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[e]},t.prototype.cloneWheelEvent=function(e){var n=this.allocateEvent(lh);return n.nativeEvent=e.nativeEvent,n.originalEvent=e.originalEvent,this.copyWheelData(e,n),this.copyMouseData(e,n),this.copyData(e,n),n.target=e.target,n.path=e.composedPath().slice(),n.type=e.type,n},t.prototype.clonePointerEvent=function(e,n){var r=this.allocateEvent(ch);return r.nativeEvent=e.nativeEvent,r.originalEvent=e.originalEvent,this.copyPointerData(e,r),this.copyMouseData(e,r),this.copyData(e,r),r.target=e.target,r.path=e.composedPath().slice(),r.type=n??r.type,r},t.prototype.copyPointerData=function(e,n){n.pointerId=e.pointerId,n.width=e.width,n.height=e.height,n.isPrimary=e.isPrimary,n.pointerType=e.pointerType,n.pressure=e.pressure,n.tangentialPressure=e.tangentialPressure,n.tiltX=e.tiltX,n.tiltY=e.tiltY,n.twist=e.twist},t.prototype.copyMouseData=function(e,n){n.altKey=e.altKey,n.button=e.button,n.buttons=e.buttons,n.ctrlKey=e.ctrlKey,n.metaKey=e.metaKey,n.shiftKey=e.shiftKey,n.client.copyFrom(e.client),n.movement.copyFrom(e.movement),n.canvas.copyFrom(e.canvas),n.screen.copyFrom(e.screen),n.global.copyFrom(e.global),n.offset.copyFrom(e.offset)},t.prototype.copyWheelData=function(e,n){n.deltaMode=e.deltaMode,n.deltaX=e.deltaX,n.deltaY=e.deltaY,n.deltaZ=e.deltaZ},t.prototype.copyData=function(e,n){n.isTrusted=e.isTrusted,n.timeStamp=sh.now(),n.type=e.type,n.detail=e.detail,n.view=e.view,n.page.copyFrom(e.page),n.viewport.copyFrom(e.viewport)},t.prototype.allocateEvent=function(e){this.eventPool.has(e)||this.eventPool.set(e,[]);var n=this.eventPool.get(e).pop()||new e(this);return n.eventPhase=n.NONE,n.currentTarget=null,n.path=[],n.target=null,n},t.prototype.freeEvent=function(e){if(e.manager!==this)throw new Error("It is illegal to free an event not managed by this EventBoundary!");var n=e.constructor;this.eventPool.has(n)||this.eventPool.set(n,[]),this.eventPool.get(n).push(e)},t.prototype.notifyTarget=function(e,n){n=n??e.type;var r=e.eventPhase===e.CAPTURING_PHASE||e.eventPhase===e.AT_TARGET?"".concat(n,"capture"):n;this.notifyListeners(e,r),e.eventPhase===e.AT_TARGET&&this.notifyListeners(e,n)},t.prototype.notifyListeners=function(e,n){var r=e.currentTarget.emitter,i=r._events[n];if(i)if("fn"in i)i.once&&r.removeListener(n,i.fn,void 0,!0),i.fn.call(e.currentTarget||i.context,e);else for(var a=0;a<i.length&&!e.propagationImmediatelyStopped;a++)i[a].once&&r.removeListener(n,i[a].fn,void 0,!0),i[a].fn.call(e.currentTarget||i[a].context,e)},t.prototype.findMountedTarget=function(e){if(!e)return null;for(var n=e[e.length-1],r=e.length-2;r>=0;r--){var i=e[r];if(i===this.rootTarget||_e.isNode(i)&&i.parentNode===n)n=e[r];else break}return n},t.prototype.getCursor=function(e){for(var n=e;n;){var r=$4(n)&&n.getAttribute("cursor");if(r)return r;n=_e.isNode(n)&&n.parentNode}},t}(),mR=function(){function t(){}return t.prototype.getOrCreateCanvas=function(e,n){if(this.canvas)return this.canvas;if(e||H.offscreenCanvas)this.canvas=e||H.offscreenCanvas,this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n)),(!this.context||!this.context.measureText)&&(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch{this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(e,n){return this.context?this.context:(this.getOrCreateCanvas(e,n),this.context)},t}(),Qr;(function(t){t[t.CAMERA_CHANGED=0]="CAMERA_CHANGED",t[t.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",t[t.NONE=2]="NONE"})(Qr||(Qr={}));var bR=function(){function t(e,n){this.globalRuntime=e,this.context=n,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new Ye,initAsync:new tR,dirtycheck:new Yf,cull:new Yf,beginFrame:new Ye,beforeRender:new Ye,render:new Ye,afterRender:new Ye,endFrame:new Ye,destroy:new Ye,pick:new eR,pickSync:new Yf,pointerDown:new Ye,pointerUp:new Ye,pointerMove:new Ye,pointerOut:new Ye,pointerOver:new Ye,pointerWheel:new Ye,pointerCancel:new Ye,click:new Ye}}return t.prototype.init=function(e){var n=this,r=z(z({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(i){i.apply(r,n.globalRuntime)}),this.hooks.init.call(),this.hooks.initAsync.getCallbacksNum()===0?(this.inited=!0,e()):this.hooks.initAsync.promise().then(function(){n.inited=!0,e()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){var e=this.context.config.renderer,n=e.getConfig().enableDirtyRectangleRendering;return!n||this.context.renderingContext.renderReasons.has(Qr.CAMERA_CHANGED)},t.prototype.render=function(e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var a=i.renderReasons.size===1&&i.renderReasons.has(Qr.CAMERA_CHANGED),o=!e.disableRenderHooks||!(e.disableRenderHooks&&a);o&&this.renderDisplayObject(i.root,e,i),this.hooks.beginFrame.call(),o&&i.renderListCurrentFrame.forEach(function(s){r.hooks.beforeRender.call(s),r.hooks.render.call(s),r.hooks.afterRender.call(s)}),this.hooks.endFrame.call(),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(e,n,r){var i=this,a=n.renderer.getConfig(),o=a.enableDirtyCheck,s=a.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(e);var c=e.renderable,l=o?c.dirty||r.dirtyRectangleRenderingDisabled?e:null:e;if(l){var u=s?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,r.renderListCurrentFrame.push(u))}e.renderable.dirty=!1,e.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var f=e.sortable;f.dirty&&(this.sort(e,f),f.dirty=!1,f.dirtyChildren=[],f.dirtyReason=void 0),(f.sorted||e.childNodes).forEach(function(d){i.renderDisplayObject(d,n,r)})},t.prototype.sort=function(e,n){n.sorted&&n.dirtyReason!==$a.Z_INDEX_CHANGED?n.dirtyChildren.forEach(function(r){var i=e.childNodes.indexOf(r);if(i===-1){var a=n.sorted.indexOf(r);a>=0&&n.sorted.splice(a,1)}else if(n.sorted.length===0)n.sorted.push(r);else{var o=B4(n.sorted,r);n.sorted.splice(o,0,r)}}):n.sorted=e.childNodes.slice().sort(Rw)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(Qr.DISPLAY_OBJECT_CHANGED)},t}(),xR=/\[\s*(.*)=(.*)\s*\]/,wR=function(){function t(){}return t.prototype.selectOne=function(e,n){var r=this;if(e.startsWith("."))return n.find(function(s){return((s==null?void 0:s.classList)||[]).indexOf(r.getIdOrClassname(e))>-1});if(e.startsWith("#"))return n.find(function(s){return s.id===r.getIdOrClassname(e)});if(e.startsWith("[")){var i=this.getAttribute(e),a=i.name,o=i.value;return a?n.find(function(s){return n!==s&&(a==="name"?s.name===o:r.attributeToString(s,a)===o)}):null}else return n.find(function(s){return n!==s&&s.nodeName===e})},t.prototype.selectAll=function(e,n){var r=this;if(e.startsWith("."))return n.findAll(function(s){return n!==s&&((s==null?void 0:s.classList)||[]).indexOf(r.getIdOrClassname(e))>-1});if(e.startsWith("#"))return n.findAll(function(s){return n!==s&&s.id===r.getIdOrClassname(e)});if(e.startsWith("[")){var i=this.getAttribute(e),a=i.name,o=i.value;return a?n.findAll(function(s){return n!==s&&(a==="name"?s.name===o:r.attributeToString(s,a)===o)}):[]}else return n.findAll(function(s){return n!==s&&s.nodeName===e})},t.prototype.is=function(e,n){if(e.startsWith("."))return n.className===this.getIdOrClassname(e);if(e.startsWith("#"))return n.id===this.getIdOrClassname(e);if(e.startsWith("[")){var r=this.getAttribute(e),i=r.name,a=r.value;return i==="name"?n.name===a:this.attributeToString(n,i)===a}else return n.nodeName===e},t.prototype.getIdOrClassname=function(e){return e.substring(1)},t.prototype.getAttribute=function(e){var n=e.match(xR),r="",i="";return n&&n.length>2&&(r=n[1].replace(/"/g,""),i=n[2].replace(/"/g,"")),{name:r,value:i}},t.prototype.attributeToString=function(e,n){if(!e.getAttribute)return"";var r=e.getAttribute(n);return nt(r)?"":r.toString?r.toString():""},t}(),Gi=function(t){rt(e,t);function e(n,r,i,a,o,s,c,l){var u=t.call(this,null)||this;return u.relatedNode=r,u.prevValue=i,u.newValue=a,u.attrName=o,u.attrChange=s,u.prevParsedValue=c,u.newParsedValue=l,u.type=n,u}return e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}($u),ht;(function(t){t.REPARENT="reparent",t.DESTROY="destroy",t.ATTR_MODIFIED="DOMAttrModified",t.INSERTED="DOMNodeInserted",t.REMOVED="removed",t.MOUNTED="DOMNodeInsertedIntoDocument",t.UNMOUNTED="DOMNodeRemovedFromDocument",t.BOUNDS_CHANGED="bounds-changed",t.CULLED="culled"})(ht||(ht={}));function ry(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}var OR=new Gi(ht.REPARENT,null,"","","",0,"",""),SR=function(){function t(e){var n=this;this.runtime=e,this.pendingEvents=[],this.boundsChangedEvent=new Dt(ht.BOUNDS_CHANGED),this.rotate=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.rotateLocal(i,a);else{var l=ve();oc(l,a[0],a[1],a[2]);var u=n.getRotation(i),f=n.getRotation(i.parentNode);sc(r,f),Sf(r,r),qr(l,r,l),qr(c.localRotation,l,u),ml(c.localRotation,c.localRotation),n.dirtifyLocal(i,c)}}}(),this.rotateLocal=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;oc(r,a[0],a[1],a[2]),Zv(c.localRotation,c.localRotation,r),n.dirtifyLocal(i,c)}}(),this.setEulerAngles=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.setLocalEulerAngles(i,a);else{oc(c.localRotation,a[0],a[1],a[2]);var l=n.getRotation(i.parentNode);sc(r,Sf(ve(),l)),Zv(c.localRotation,c.localRotation,r),n.dirtifyLocal(i,c)}}}(),this.translateLocal=function(){return function(r,i,a,o){a===void 0&&(a=0),o===void 0&&(o=0),typeof i=="number"&&(i=St(i,a,o));var s=r.transformable;vo(i,yt())||(OT(i,i,s.localRotation),ba(s.localPosition,s.localPosition,i),n.dirtifyLocal(r,s))}}(),this.setPosition=function(){var r=Nt(),i=yt();return function(a,o){var s=a.transformable;if(i[0]=o[0],i[1]=o[1],i[2]=o[2]||0,!vo(n.getPosition(a),i)){if(rn(s.position,i),a.parentNode===null||!a.parentNode.transformable)rn(s.localPosition,i);else{var c=a.parentNode.transformable;Ri(r,c.worldTransform),Wn(r,r),Oe(s.localPosition,i,r)}n.dirtifyLocal(a,s)}}}(),this.setLocalPosition=function(){var r=yt();return function(i,a){var o=i.transformable;r[0]=a[0],r[1]=a[1],r[2]=a[2]||0,!vo(o.localPosition,r)&&(rn(o.localPosition,r),n.dirtifyLocal(i,o))}}(),this.translate=function(){var r=yt(),i=yt(),a=yt();return function(o,s,c,l){c===void 0&&(c=0),l===void 0&&(l=0),typeof s=="number"&&(s=Gn(i,s,c,l)),!vo(s,r)&&(ba(a,n.getPosition(o),s),n.setPosition(o,a))}}(),this.setRotation=function(){var r=ve();return function(i,a,o,s,c){var l=i.transformable;if(typeof a=="number"&&(a=_f(a,o,s,c)),i.parentNode===null||!i.parentNode.transformable)n.setLocalRotation(i,a);else{var u=n.getRotation(i.parentNode);sc(r,u),Sf(r,r),qr(l.localRotation,r,a),ml(l.localRotation,l.localRotation),n.dirtifyLocal(i,l)}}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=function(){var r=Nt(),i=yt(),a=_f(0,0,0,1);return function(o){var s=o.localSkew[0]!==0||o.localSkew[1]!==0;if(s){if(zo(o.localTransform,o.localRotation,o.localPosition,St(1,1,1),o.origin),o.localSkew[0]!==0||o.localSkew[1]!==0){var c=Rs(r);c[4]=Math.tan(o.localSkew[0]),c[1]=Math.tan(o.localSkew[1]),$e(o.localTransform,o.localTransform,c)}var l=zo(r,a,i,o.localScale,o.origin);$e(o.localTransform,o.localTransform,l)}else zo(o.localTransform,o.localRotation,o.localPosition,o.localScale,o.origin)}}()}return t.prototype.matches=function(e,n){return this.runtime.sceneGraphSelector.is(e,n)},t.prototype.querySelector=function(e,n){return this.runtime.sceneGraphSelector.selectOne(e,n)},t.prototype.querySelectorAll=function(e,n){return this.runtime.sceneGraphSelector.selectAll(e,n)},t.prototype.attach=function(e,n,r){var i,a,o=!1;e.parentNode&&(o=e.parentNode!==n,this.detach(e)),e.parentNode=n,nt(r)?e.parentNode.childNodes.push(e):e.parentNode.childNodes.splice(r,0,e);var s=n.sortable;(!((i=s==null?void 0:s.sorted)===null||i===void 0)&&i.length||!((a=e.style)===null||a===void 0)&&a.zIndex)&&(s.dirtyChildren.indexOf(e)===-1&&s.dirtyChildren.push(e),s.dirty=!0,s.dirtyReason=$a.ADDED);var c=e.transformable;c&&this.dirtifyWorld(e,c),c.frozen&&this.unfreezeParentToRoot(e),o&&e.dispatchEvent(OR)},t.prototype.detach=function(e){var n,r;if(e.parentNode){var i=e.transformable,a=e.parentNode.sortable;(!((n=a==null?void 0:a.sorted)===null||n===void 0)&&n.length||!((r=e.style)===null||r===void 0)&&r.zIndex)&&(a.dirtyChildren.indexOf(e)===-1&&a.dirtyChildren.push(e),a.dirty=!0,a.dirtyReason=$a.REMOVED);var o=e.parentNode.childNodes.indexOf(e);o>-1&&e.parentNode.childNodes.splice(o,1),i&&this.dirtifyWorld(e,i),e.parentNode=null}},t.prototype.getOrigin=function(e){return e.transformable.origin},t.prototype.setOrigin=function(e,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=[n,r,i]);var a=e.transformable;if(!(n[0]===a.origin[0]&&n[1]===a.origin[1]&&n[2]===a.origin[2])){var o=a.origin;o[0]=n[0],o[1]=n[1],o[2]=n[2]||0,this.dirtifyLocal(e,a)}},t.prototype.setLocalEulerAngles=function(e,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=St(n,r,i));var a=e.transformable;oc(a.localRotation,n[0],n[1],n[2]),this.dirtifyLocal(e,a)},t.prototype.scaleLocal=function(e,n){var r=e.transformable;xT(r.localScale,r.localScale,St(n[0],n[1],n[2]||1)),this.dirtifyLocal(e,r)},t.prototype.setLocalScale=function(e,n){var r=e.transformable,i=St(n[0],n[1],n[2]||r.localScale[2]);vo(i,r.localScale)||(rn(r.localScale,i),this.dirtifyLocal(e,r))},t.prototype.setLocalRotation=function(e,n,r,i,a){typeof n=="number"&&(n=_f(n,r,i,a));var o=e.transformable;sc(o.localRotation,n),this.dirtifyLocal(e,o)},t.prototype.setLocalSkew=function(e,n,r){typeof n=="number"&&(n=AT(n,r));var i=e.transformable;kT(i.localSkew,n),this.dirtifyLocal(e,i)},t.prototype.dirtifyLocal=function(e,n){n.localDirtyFlag||(n.localDirtyFlag=!0,n.dirtyFlag||this.dirtifyWorld(e,n))},t.prototype.dirtifyWorld=function(e,n){n.dirtyFlag||this.unfreezeParentToRoot(e),this.dirtifyWorldInternal(e,n),this.dirtifyToRoot(e,!0)},t.prototype.triggerPendingEvents=function(){var e=this,n=new Set,r=function(i,a){i.isConnected&&!n.has(i.entity)&&(e.boundsChangedEvent.detail=a,e.boundsChangedEvent.target=i,i.isMutationObserved?i.dispatchEvent(e.boundsChangedEvent):i.ownerDocument.defaultView.dispatchEvent(e.boundsChangedEvent,!0),n.add(i.entity))};this.pendingEvents.forEach(function(i){var a=N(i,2),o=a[0],s=a[1];s.affectChildren?o.forEach(function(c){r(c,s)}):r(o,s)}),this.clearPendingEvents(),n.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(e,n){n===void 0&&(n=!1);var r=e;for(r.renderable&&(r.renderable.dirty=!0);r;)ry(r),r=r.parentNode;n&&e.forEach(function(i){ry(i)}),this.informDependentDisplayObjects(e),this.pendingEvents.push([e,{affectChildren:n}])},t.prototype.updateDisplayObjectDependency=function(e,n,r,i){if(n&&n!==r){var a=this.displayObjectDependencyMap.get(n);if(a&&a[e]){var o=a[e].indexOf(i);a[e].splice(o,1)}}if(r){var s=this.displayObjectDependencyMap.get(r);s||(this.displayObjectDependencyMap.set(r,{}),s=this.displayObjectDependencyMap.get(r)),s[e]||(s[e]=[]),s[e].push(i)}},t.prototype.informDependentDisplayObjects=function(e){var n=this,r=this.displayObjectDependencyMap.get(e);r&&Object.keys(r).forEach(function(i){r[i].forEach(function(a){n.dirtifyToRoot(a,!0),a.dispatchEvent(new Gi(ht.ATTR_MODIFIED,a,n,n,i,Gi.MODIFICATION,n,n)),a.isCustomElement&&a.isConnected&&a.attributeChangedCallback&&a.attributeChangedCallback(i,n,n)})})},t.prototype.getPosition=function(e){var n=e.transformable;return gl(n.position,this.getWorldTransform(e,n))},t.prototype.getRotation=function(e){var n=e.transformable;return yl(n.rotation,this.getWorldTransform(e,n))},t.prototype.getScale=function(e){var n=e.transformable;return Aa(n.scaling,this.getWorldTransform(e,n))},t.prototype.getWorldTransform=function(e,n){return n===void 0&&(n=e.transformable),!n.localDirtyFlag&&!n.dirtyFlag||(e.parentNode&&e.parentNode.transformable&&this.getWorldTransform(e.parentNode),this.sync(e,n)),n.worldTransform},t.prototype.getLocalPosition=function(e){return e.transformable.localPosition},t.prototype.getLocalRotation=function(e){return e.transformable.localRotation},t.prototype.getLocalScale=function(e){return e.transformable.localScale},t.prototype.getLocalSkew=function(e){return e.transformable.localSkew},t.prototype.getLocalTransform=function(e){var n=e.transformable;return n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.localTransform},t.prototype.setLocalTransform=function(e,n){var r=gl(yt(),n),i=yl(ve(),n),a=Aa(yt(),n);this.setLocalScale(e,a),this.setLocalPosition(e,r),this.setLocalRotation(e,i)},t.prototype.resetLocalTransform=function(e){this.setLocalScale(e,[1,1,1]),this.setLocalPosition(e,[0,0,0]),this.setLocalEulerAngles(e,[0,0,0]),this.setLocalSkew(e,[0,0])},t.prototype.getTransformedGeometryBounds=function(e,n,r){n===void 0&&(n=!1);var i=this.getGeometryBounds(e,n);if(be.isEmpty(i))return null;var a=r||new be;return a.setFromTransformedAABB(i,this.getWorldTransform(e)),a},t.prototype.getGeometryBounds=function(e,n){n===void 0&&(n=!1);var r=e.geometry,i=n?r.renderBounds:r.contentBounds||null;return i||new be},t.prototype.getBounds=function(e,n){var r=this;n===void 0&&(n=!1);var i=e.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var a=n?i.renderBounds:i.bounds,o=this.getTransformedGeometryBounds(e,n,a),s=e.childNodes;if(s.forEach(function(u){var f=r.getBounds(u,n);f&&(o?o.add(f):(o=a||new be,o.update(f.center,f.halfExtents)))}),n){var c=Iw(e);if(c){var l=c.parsedStyle.clipPath.getBounds(n);o?l&&(o=l.intersection(o)):o=l}}return o||(o=new be),o&&(n?i.renderBounds=o:i.bounds=o),n?i.renderBoundsDirty=!1:i.boundsDirty=!1,o},t.prototype.getLocalBounds=function(e){if(e.parentNode){var n=Nt();e.parentNode.transformable&&(n=Wn(Nt(),this.getWorldTransform(e.parentNode)));var r=this.getBounds(e);if(!be.isEmpty(r)){var i=new be;return i.setFromTransformedAABB(r,n),i}}return this.getBounds(e)},t.prototype.getBoundingClientRect=function(e){var n,r,i,a=this.getGeometryBounds(e);be.isEmpty(a)||(i=new be,i.setFromTransformedAABB(a,this.getWorldTransform(e)));var o=(r=(n=e.ownerDocument)===null||n===void 0?void 0:n.defaultView)===null||r===void 0?void 0:r.getContextService().getBoundingClientRect();if(i){var s=N(i.getMin(),2),c=s[0],l=s[1],u=N(i.getMax(),2),f=u[0],d=u[1];return new Fi(c+((o==null?void 0:o.left)||0),l+((o==null?void 0:o.top)||0),f-c,d-l)}return new Fi((o==null?void 0:o.left)||0,(o==null?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(e,n){var r=this;if(!n.dirtyFlag){n.dirtyFlag=!0,n.frozen=!1,e.childNodes.forEach(function(a){var o=a.transformable;o.dirtyFlag||r.dirtifyWorldInternal(a,o)});var i=e.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}},t.prototype.syncHierarchy=function(e){var n=e.transformable;if(!n.frozen){n.frozen=!0,(n.localDirtyFlag||n.dirtyFlag)&&this.sync(e,n);for(var r=e.childNodes,i=0;i<r.length;i++)this.syncHierarchy(r[i])}},t.prototype.sync=function(e,n){if(n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.dirtyFlag){var r=e.parentNode,i=r&&r.transformable;r===null||!i?Ri(n.worldTransform,n.localTransform):$e(n.worldTransform,i.worldTransform,n.localTransform),n.dirtyFlag=!1}},t.prototype.unfreezeParentToRoot=function(e){for(var n=e.parentNode;n;){var r=n.transformable;r&&(r.frozen=!1),n=n.parentNode}},t}(),xi={MetricsString:"|ÉqÅ",BaselineSymbol:"M",BaselineMultiplier:1.4,HeightMultiplier:2,Newlines:[10,13],BreakingSpaces:[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]},iy=/[a-zA-Z0-9\u00C0-\u00D6\u00D8-\u00f6\u00f8-\u00ff!"#$%&'()*+,-./:;]/,_R=/[!%),.:;?\]}¢°·'""†‡›℃∶、。〃〆〕〗〞﹚﹜!"%'),.:;?!]}~]/,MR=/[$(£¥·'"〈《「『【〔〖〝﹙﹛$(.[{£¥]/,ER=/[!),.:;?\]}¢·–—'"•"、。〆〞〕〉》」︰︱︲︳﹐﹑﹒﹔﹕﹖﹘﹚﹜!),.:;?︶︸︺︼︾﹀﹂﹗]|}、]/,PR=/[([{£¥'"‵〈《「『〔〝︴﹙﹛({︵︷︹︻︽︿﹁﹃﹏]/,AR=/[)\]}〕〉》」』】〙〗〟'"⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、:;,。.]/,kR=/[([{〔〈《「『【〘〖〝'"⦅«—...‥〳〴〵]/,TR=/[!%),.:;?\]}¢°'"†‡℃〆〈《「『〕!%),.:;?]}]/,CR=/[$([{£¥'"々〇〉》」〔$([{⦆¥₩#]/,LR=new RegExp("".concat(_R.source,"|").concat(ER.source,"|").concat(AR.source,"|").concat(TR.source)),NR=new RegExp("".concat(MR.source,"|").concat(PR.source,"|").concat(kR.source,"|").concat(CR.source)),RR=function(){function t(e){var n=this;this.runtime=e,this.fontMetricsCache={},this.shouldBreakByKinsokuShorui=function(r,i){return n.isBreakingSpace(i)?!1:!!(r&&(NR.exec(i)||LR.exec(r)))},this.trimByKinsokuShorui=function(r){var i=q([],N(r),!1),a=i[i.length-2];if(!a)return r;var o=a[a.length-1];return i[i.length-2]=a.slice(0,-1),i[i.length-1]=o+i[i.length-1],i}}return t.prototype.measureFont=function(e,n){if(this.fontMetricsCache[e])return this.fontMetricsCache[e];var r={ascent:0,descent:0,fontSize:0},i=this.runtime.offscreenCanvasCreator.getOrCreateCanvas(n),a=this.runtime.offscreenCanvasCreator.getOrCreateContext(n,{willReadFrequently:!0});a.font=e;var o=xi.MetricsString+xi.BaselineSymbol,s=Math.ceil(a.measureText(o).width),c=Math.ceil(a.measureText(xi.BaselineSymbol).width),l=xi.HeightMultiplier*c;c=c*xi.BaselineMultiplier|0,i.width=s,i.height=l,a.fillStyle="#f00",a.fillRect(0,0,s,l),a.font=e,a.textBaseline="alphabetic",a.fillStyle="#000",a.fillText(o,0,c);var u=a.getImageData(0,0,s||1,l||1).data,f=u.length,d=s*4,h=0,p=0,v=!1;for(h=0;h<c;++h){for(var g=0;g<d;g+=4)if(u[p+g]!==255){v=!0;break}if(!v)p+=d;else break}for(r.ascent=c-h,p=f-d,v=!1,h=l;h>c;--h){for(var g=0;g<d;g+=4)if(u[p+g]!==255){v=!0;break}if(!v)p-=d;else break}return r.descent=h-c,r.fontSize=r.ascent+r.descent,this.fontMetricsCache[e]=r,r},t.prototype.measureText=function(e,n,r){var i=n.fontSize,a=n.wordWrap,o=n.lineHeight,s=n.lineWidth,c=n.textBaseline,l=n.textAlign,u=n.letterSpacing,f=n.textPath;n.textPathSide,n.textPathStartOffset;var d=n.leading,h=d===void 0?0:d,p=iR(n),v=this.measureFont(p,r);v.fontSize===0&&(v.fontSize=i,v.ascent=i);var g=this.runtime.offscreenCanvasCreator.getOrCreateContext(r);g.font=p,n.isOverflowing=!1;var y=a?this.wordWrap(e,n,r):e,m=y.split(/(?:\r\n|\r|\n)/),b=new Array(m.length),x=0;if(f){f.getTotalLength();for(var w=0;w<m.length;w++)var O=g.measureText(m[w]).width+(m[w].length-1)*u}else{for(var w=0;w<m.length;w++){var S=g.measureText(m[w]).width+(m[w].length-1)*u;b[w]=S,x=Math.max(x,S)}var O=x+s,_=o||v.fontSize+s,M=Math.max(_,v.fontSize+s)+(m.length-1)*(_+h);_+=h;var E=0;return c==="middle"?E=-M/2:c==="bottom"||c==="alphabetic"||c==="ideographic"?E=-M:(c==="top"||c==="hanging")&&(E=0),{font:p,width:O,height:M,lines:m,lineWidths:b,lineHeight:_,maxLineWidth:x,fontProperties:v,lineMetrics:b.map(function(T,A){var k=0;return l==="center"||l==="middle"?k-=T/2:(l==="right"||l==="end")&&(k-=T),new Fi(k-s/2,E+A*_,T+s,_)})}}},t.prototype.setGraphemeOnPath=function(){},t.prototype.wordWrap=function(e,n,r){var i=this,a=n.wordWrapWidth,o=a===void 0?0:a,s=n.letterSpacing,c=n.maxLines,l=c===void 0?1/0:c,u=n.textOverflow,f=this.runtime.offscreenCanvasCreator.getOrCreateContext(r),d=o+s,h="";u==="ellipsis"?h="...":u&&u!=="clip"&&(h=u);for(var p=[],v=0,g=0,y={},m=function(C){return i.getFromCache(C,s,y,f)},b=Array.from(h).reduce(function(C,L){return C+m(L)},0),x=Array.from(e),w=0;w<x.length;w++){var O=x[w],S=e[w-1],_=e[w+1],M=m(O);if(this.isNewline(O)){if(v++,v>=l){n.isOverflowing=!0;break}g=0,p[v]="";continue}if(g>0&&g+M>d){if(v+1>=l){if(n.isOverflowing=!0,b>0&&b<=d){for(var E=p[v].length,P=0,T=E,A=0;A<E;A++){var k=m(p[v][A]);if(P+k+b>d){T=A;break}P+=k}p[v]=(p[v]||"").slice(0,T)+h}break}if(v++,g=0,p[v]="",this.isBreakingSpace(O))continue;this.canBreakInLastChar(O)||(p=this.trimToBreakable(p),g=this.sumTextWidthByCache(p[v]||"",y)),this.shouldBreakByKinsokuShorui(O,_)&&(p=this.trimByKinsokuShorui(p),g+=m(S||""))}g+=M,p[v]=(p[v]||"")+O}return p.join(`
+import{X as ip,d as vk,v as gk,a as yk,r as Bv,D as mk,c as bf,j as Qo,t as xf,n as yi,b as Fn,w as On,e as ho,P as Fv,o as po,L as zv,M as Gv,J as Yv,I as Wv,f as Hv,p as bk,h as xk,_ as wk}from"./index-3zDsduUv.js";import{g as Ok,a as Sk}from"./serverInfo-F5PlCBPJ.js";import"./request-3an337VF.js";const _b=()=>[["cartesian"]];_b.props={};function _k(t,e){return t=t%(2*Math.PI),e=e%(2*Math.PI),t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e=e+2*Math.PI),{startAngle:t,endAngle:e}}const Mb=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1},n=Object.assign(Object.assign({},e),t);return Object.assign(Object.assign({},n),_k(n.startAngle,n.endAngle))},Cs=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Mb(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};Cs.props={};const ap=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];ap.props={transform:!0};const Mk=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},e),t)},Eb=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Mk(t);return[...ap(),...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};Eb.props={};const Pb=(t={})=>{const e={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},e),t)},op=t=>{const{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=Pb(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};op.props={};const sp=()=>[["parallel",0,1,0,1]];sp.props={};const Ab=({focusX:t=0,focusY:e=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",t,e,n,r,i]];Ab.props={transform:!0};const kb=t=>{const{startAngle:e=-Math.PI/2,endAngle:n=Math.PI*3/2,innerRadius:r=0,outerRadius:i=1}=t;return[...sp(),...Cs({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};kb.props={};const Tb=({value:t})=>e=>e.map(()=>t);Tb.props={};const Cb=({value:t})=>e=>e.map(t);Cb.props={};const Lb=({value:t})=>e=>e.map(n=>n[t]);Lb.props={};const Nb=({value:t})=>()=>t;Nb.props={};var fl=function(t){return t!==null&&typeof t!="function"&&isFinite(t.length)};const Ve=function(t){return typeof t=="function"};var nt=function(t){return t==null},Ek={}.toString,Ls=function(t,e){return Ek.call(t)==="[object "+e+"]"};const Le=function(t){return Array.isArray?Array.isArray(t):Ls(t,"Array")},ki=function(t){var e=typeof t;return t!==null&&e==="object"||e==="function"};function cp(t,e){if(t){var n;if(Le(t))for(var r=0,i=t.length;r<i&&(n=e(t[r],r),n!==!1);r++);else if(ki(t)){for(var a in t)if(t.hasOwnProperty(a)&&(n=e(t[a],a),n===!1))break}}}var Pk=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return cp(t,function(n,r){Ve(t)&&r==="prototype"||e.push(r)}),e};const Rb=Pk;function Ak(t,e){var n=Rb(e),r=n.length;if(nt(t))return!r;for(var i=0;i<r;i+=1){var a=n[i];if(e[a]!==t[a]||!(a in t))return!1}return!0}var kd=function(t){return typeof t=="object"&&t!==null},Cr=function(t){if(!kd(t)||!Ls(t,"Object"))return!1;if(Object.getPrototypeOf(t)===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};function Vv(t,e){if(!Le(t))return null;var n;if(Ve(e)&&(n=e),Cr(e)&&(n=function(i){return Ak(i,e)}),n){for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r]}return null}const dl=function(t){if(Le(t))return t.reduce(function(e,n){return Math.max(e,n)},t[0])},hl=function(t){if(Le(t))return t.reduce(function(e,n){return Math.min(e,n)},t[0])};var kk=function(t,e,n){if(!Le(t)&&!Cr(t))return t;var r=n;return cp(t,function(i,a){r=e(r,i,a)}),r};const le=function(t){return Ls(t,"String")};function Ns(t){if(fl(t)){var e=t;return e[e.length-1]}}var ce=function(t,e,n){return t<e?e:t>n?n:t},de=function(t){return Ls(t,"Number")},Tk=1e-5;function Fo(t,e,n){return n===void 0&&(n=Tk),Math.abs(t-e)<n}const Ck=function(t,e){if(Le(t)){for(var n,r=-1/0,i=0;i<t.length;i++){var a=t[i],o=Ve(e)?e(a):a[e];o>r&&(n=a,r=o)}return n}},Lk=function(t,e){if(Le(t)){for(var n,r=1/0,i=0;i<t.length;i++){var a=t[i],o=Ve(e)?e(a):a[e];o<r&&(n=a,r=o)}return n}};var Ib=function(t,e){return(t%e+e)%e};const jb=function(t){return nt(t)?"":t.toString()};var Db=function(t){var e=jb(t);return e.charAt(0).toLowerCase()+e.substring(1)};function Nk(t,e){return!t||!e?t:t.replace(/\\?\{([^{}]+)\}/g,function(n,r){return n.charAt(0)==="\\"?n.slice(1):e[r]===void 0?"":e[r]})}var ii=function(t){var e=jb(t);return e.charAt(0).toUpperCase()+e.substring(1)},Xv=function(t){return Ls(t,"Boolean")},ne=function(t){return t===void 0},Jo=function(t){if(typeof t!="object"||t===null)return t;var e;if(Le(t)){e=[];for(var n=0,r=t.length;n<r;n++)typeof t[n]=="object"&&t[n]!=null?e[n]=Jo(t[n]):e[n]=t[n]}else{e={};for(var i in t)typeof t[i]=="object"&&t[i]!=null?e[i]=Jo(t[i]):e[i]=t[i]}return e};function $b(t,e,n){var r;return function(){var i=this,a=arguments,o=function(){r=null,n||t.apply(i,a)},s=n&&!r;clearTimeout(r),r=setTimeout(o,e),s&&t.apply(i,a)}}function Rk(t){var e,n,r,i=t||1;function a(s,c){++e>i&&(r=n,o(1),++e),n[s]=c}function o(s){e=0,n=Object.create(null),s||(r=Object.create(null))}return o(),{clear:o,has:function(s){return n[s]!==void 0||r[s]!==void 0},get:function(s){var c=n[s];if(c!==void 0)return c;if((c=r[s])!==void 0)return a(s,c),c},set:function(s,c){n[s]!==void 0?n[s]=c:a(s,c)}}}const Ik=function(t,e,n){if(n===void 0&&(n=128),!Ve(t))throw new TypeError("Expected a function");var r=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var o=e?e.apply(this,i):i[0],s=r.cache;if(s.has(o))return s.get(o);var c=t.apply(this,i);return s.set(o,c),c};return r.cache=Rk(n),r};var jk=5;function Dk(t,e){if(Object.hasOwn)return Object.hasOwn(t,e);if(t==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)}function Bb(t,e,n,r){n=n||0,r=r||jk;for(var i in e)if(Dk(e,i)){var a=e[i];a!==null&&Cr(a)?(Cr(t[i])||(t[i]={}),n<r?Bb(t[i],a,n+1,r):t[i]=e[i]):Le(a)?(t[i]=[],t[i]=t[i].concat(a)):a!==void 0&&(t[i]=a)}}var X=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)Bb(t,e[r]);return t},pl=function(t,e){if(t===e)return!0;if(!t||!e||le(t)||le(e))return!1;if(fl(t)||fl(e)){if(t.length!==e.length)return!1;for(var n=!0,r=0;r<t.length&&(n=pl(t[r],e[r]),!!n);r++);return n}if(kd(t)||kd(e)){var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var n=!0,r=0;r<i.length&&(n=pl(t[i[r]],e[i[r]]),!!n);r++);return n}return!1};const je=function(t,e,n){for(var r=0,i=le(e)?e.split("."):e;t&&r<i.length;)t=t[i[r++]];return t===void 0||r<i.length?n:t},$k=function(t,e,n){var r=t,i=le(e)?e.split("."):e;return i.forEach(function(a,o){o<i.length-1?(ki(r[a])||(r[a]=de(i[o+1])?[]:{}),r=r[a]):r[a]=n}),t};var Bk=Object.prototype.hasOwnProperty;const Fk=function(t,e){if(t===null||!Cr(t))return{};var n={};return cp(e,function(r){Bk.call(t,r)&&(n[r]=t[r])}),n},Fb=function(t,e){return kk(t,function(n,r,i){return e.includes(i)||(n[i]=r),n},{})},Ni=function(t,e,n){var r,i,a,o,s=0;n||(n={});var c=function(){s=n.leading===!1?0:Date.now(),r=null,o=t.apply(i,a),r||(i=a=null)},l=function(){var u=Date.now();!s&&n.leading===!1&&(s=u);var f=e-(u-s);return i=this,a=arguments,f<=0||f>e?(r&&(clearTimeout(r),r=null),s=u,o=t.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,f)),o};return l.cancel=function(){clearTimeout(r),s=0,r=i=a=null},l},wf=function(){};function Uv(t){return nt(t)?0:fl(t)?t.length:Object.keys(t).length}var Zt=1e-6,he=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});function Ja(){var t=new he(9);return he!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function zk(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function Gk(t){var e=new he(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function Yk(t,e,n,r,i,a,o,s,c){var l=new he(9);return l[0]=t,l[1]=e,l[2]=n,l[3]=r,l[4]=i,l[5]=a,l[6]=o,l[7]=s,l[8]=c,l}function Wk(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=u*o-s*l,d=-u*a+s*c,h=l*a-o*c,p=n*f+r*d+i*h;return p?(p=1/p,t[0]=f*p,t[1]=(-u*r+i*l)*p,t[2]=(s*r-i*o)*p,t[3]=d*p,t[4]=(u*n-i*c)*p,t[5]=(-s*n+i*a)*p,t[6]=h*p,t[7]=(-l*n+r*c)*p,t[8]=(o*n-r*a)*p,t):null}function Hk(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=e[8],d=n[0],h=n[1],p=n[2],v=n[3],g=n[4],y=n[5],m=n[6],b=n[7],x=n[8];return t[0]=d*r+h*o+p*l,t[1]=d*i+h*s+p*u,t[2]=d*a+h*c+p*f,t[3]=v*r+g*o+y*l,t[4]=v*i+g*s+y*u,t[5]=v*a+g*c+y*f,t[6]=m*r+b*o+x*l,t[7]=m*i+b*s+x*u,t[8]=m*a+b*c+x*f,t}function Vk(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function Xk(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function Uk(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}var qk=Hk;function Nt(){var t=new he(16);return he!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function lp(t){var e=new he(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Ri(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Kk(t,e,n,r,i,a,o,s,c,l,u,f,d,h,p,v){var g=new he(16);return g[0]=t,g[1]=e,g[2]=n,g[3]=r,g[4]=i,g[5]=a,g[6]=o,g[7]=s,g[8]=c,g[9]=l,g[10]=u,g[11]=f,g[12]=d,g[13]=h,g[14]=p,g[15]=v,g}function Td(t,e,n,r,i,a,o,s,c,l,u,f,d,h,p,v,g){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=f,t[11]=d,t[12]=h,t[13]=p,t[14]=v,t[15]=g,t}function Rs(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function zb(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function Wn(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],v=e[13],g=e[14],y=e[15],m=n*s-r*o,b=n*c-i*o,x=n*l-a*o,w=r*c-i*s,O=r*l-a*s,S=i*l-a*c,_=u*v-f*p,M=u*g-d*p,E=u*y-h*p,P=f*g-d*v,T=f*y-h*v,A=d*y-h*g,k=m*A-b*T+x*P+w*E-O*M+S*_;return k?(k=1/k,t[0]=(s*A-c*T+l*P)*k,t[1]=(i*T-r*A-a*P)*k,t[2]=(v*S-g*O+y*w)*k,t[3]=(d*O-f*S-h*w)*k,t[4]=(c*E-o*A-l*M)*k,t[5]=(n*A-i*E+a*M)*k,t[6]=(g*x-p*S-y*b)*k,t[7]=(u*S-d*x+h*b)*k,t[8]=(o*T-s*E+l*_)*k,t[9]=(r*E-n*T-a*_)*k,t[10]=(p*O-v*x+y*m)*k,t[11]=(f*x-u*O-h*m)*k,t[12]=(s*M-o*P-c*_)*k,t[13]=(n*P-r*M+i*_)*k,t[14]=(v*b-p*w-g*m)*k,t[15]=(u*w-f*b+d*m)*k,t):null}function Zk(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],v=e[13],g=e[14],y=e[15];return t[0]=s*(d*y-h*g)-f*(c*y-l*g)+v*(c*h-l*d),t[1]=-(r*(d*y-h*g)-f*(i*y-a*g)+v*(i*h-a*d)),t[2]=r*(c*y-l*g)-s*(i*y-a*g)+v*(i*l-a*c),t[3]=-(r*(c*h-l*d)-s*(i*h-a*d)+f*(i*l-a*c)),t[4]=-(o*(d*y-h*g)-u*(c*y-l*g)+p*(c*h-l*d)),t[5]=n*(d*y-h*g)-u*(i*y-a*g)+p*(i*h-a*d),t[6]=-(n*(c*y-l*g)-o*(i*y-a*g)+p*(i*l-a*c)),t[7]=n*(c*h-l*d)-o*(i*h-a*d)+u*(i*l-a*c),t[8]=o*(f*y-h*v)-u*(s*y-l*v)+p*(s*h-l*f),t[9]=-(n*(f*y-h*v)-u*(r*y-a*v)+p*(r*h-a*f)),t[10]=n*(s*y-l*v)-o*(r*y-a*v)+p*(r*l-a*s),t[11]=-(n*(s*h-l*f)-o*(r*h-a*f)+u*(r*l-a*s)),t[12]=-(o*(f*g-d*v)-u*(s*g-c*v)+p*(s*d-c*f)),t[13]=n*(f*g-d*v)-u*(r*g-i*v)+p*(r*d-i*f),t[14]=-(n*(s*g-c*v)-o*(r*g-i*v)+p*(r*c-i*s)),t[15]=n*(s*d-c*f)-o*(r*d-i*f)+u*(r*c-i*s),t}function Gb(t){var e=t[0],n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],f=t[10],d=t[11],h=t[12],p=t[13],v=t[14],g=t[15],y=e*o-n*a,m=e*s-r*a,b=e*c-i*a,x=n*s-r*o,w=n*c-i*o,O=r*c-i*s,S=l*p-u*h,_=l*v-f*h,M=l*g-d*h,E=u*v-f*p,P=u*g-d*p,T=f*g-d*v;return y*T-m*P+b*E+x*M-w*_+O*S}function $e(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],v=e[12],g=e[13],y=e[14],m=e[15],b=n[0],x=n[1],w=n[2],O=n[3];return t[0]=b*r+x*s+w*f+O*v,t[1]=b*i+x*c+w*d+O*g,t[2]=b*a+x*l+w*h+O*y,t[3]=b*o+x*u+w*p+O*m,b=n[4],x=n[5],w=n[6],O=n[7],t[4]=b*r+x*s+w*f+O*v,t[5]=b*i+x*c+w*d+O*g,t[6]=b*a+x*l+w*h+O*y,t[7]=b*o+x*u+w*p+O*m,b=n[8],x=n[9],w=n[10],O=n[11],t[8]=b*r+x*s+w*f+O*v,t[9]=b*i+x*c+w*d+O*g,t[10]=b*a+x*l+w*h+O*y,t[11]=b*o+x*u+w*p+O*m,b=n[12],x=n[13],w=n[14],O=n[15],t[12]=b*r+x*s+w*f+O*v,t[13]=b*i+x*c+w*d+O*g,t[14]=b*a+x*l+w*h+O*y,t[15]=b*o+x*u+w*p+O*m,t}function Ur(t,e,n){var r=n[0],i=n[1],a=n[2],o,s,c,l,u,f,d,h,p,v,g,y;return e===t?(t[12]=e[0]*r+e[4]*i+e[8]*a+e[12],t[13]=e[1]*r+e[5]*i+e[9]*a+e[13],t[14]=e[2]*r+e[6]*i+e[10]*a+e[14],t[15]=e[3]*r+e[7]*i+e[11]*a+e[15]):(o=e[0],s=e[1],c=e[2],l=e[3],u=e[4],f=e[5],d=e[6],h=e[7],p=e[8],v=e[9],g=e[10],y=e[11],t[0]=o,t[1]=s,t[2]=c,t[3]=l,t[4]=u,t[5]=f,t[6]=d,t[7]=h,t[8]=p,t[9]=v,t[10]=g,t[11]=y,t[12]=o*r+u*i+p*a+e[12],t[13]=s*r+f*i+v*a+e[13],t[14]=c*r+d*i+g*a+e[14],t[15]=l*r+h*i+y*a+e[15]),t}function vl(t,e,n){var r=n[0],i=n[1],a=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Qk(t,e,n,r){var i=r[0],a=r[1],o=r[2],s=Math.hypot(i,a,o),c,l,u,f,d,h,p,v,g,y,m,b,x,w,O,S,_,M,E,P,T,A,k,C;return s<Zt?null:(s=1/s,i*=s,a*=s,o*=s,c=Math.sin(n),l=Math.cos(n),u=1-l,f=e[0],d=e[1],h=e[2],p=e[3],v=e[4],g=e[5],y=e[6],m=e[7],b=e[8],x=e[9],w=e[10],O=e[11],S=i*i*u+l,_=a*i*u+o*c,M=o*i*u-a*c,E=i*a*u-o*c,P=a*a*u+l,T=o*a*u+i*c,A=i*o*u+a*c,k=a*o*u-i*c,C=o*o*u+l,t[0]=f*S+v*_+b*M,t[1]=d*S+g*_+x*M,t[2]=h*S+y*_+w*M,t[3]=p*S+m*_+O*M,t[4]=f*E+v*P+b*T,t[5]=d*E+g*P+x*T,t[6]=h*E+y*P+w*T,t[7]=p*E+m*P+O*T,t[8]=f*A+v*k+b*C,t[9]=d*A+g*k+x*C,t[10]=h*A+y*k+w*C,t[11]=p*A+m*k+O*C,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}function Yb(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=e[9],f=e[10],d=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=a*i+l*r,t[5]=o*i+u*r,t[6]=s*i+f*r,t[7]=c*i+d*r,t[8]=l*i-a*r,t[9]=u*i-o*r,t[10]=f*i-s*r,t[11]=d*i-c*r,t}function Wb(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[0],o=e[1],s=e[2],c=e[3],l=e[8],u=e[9],f=e[10],d=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i-l*r,t[1]=o*i-u*r,t[2]=s*i-f*r,t[3]=c*i-d*r,t[8]=a*r+l*i,t[9]=o*r+u*i,t[10]=s*r+f*i,t[11]=c*r+d*i,t}function Jk(t,e,n){var r=Math.sin(n),i=Math.cos(n),a=e[0],o=e[1],s=e[2],c=e[3],l=e[4],u=e[5],f=e[6],d=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i+l*r,t[1]=o*i+u*r,t[2]=s*i+f*r,t[3]=c*i+d*r,t[4]=l*i-a*r,t[5]=u*i-o*r,t[6]=f*i-s*r,t[7]=d*i-c*r,t}function up(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function fp(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function tT(t,e,n){var r=n[0],i=n[1],a=n[2],o=Math.hypot(r,i,a),s,c,l;return o<Zt?null:(o=1/o,r*=o,i*=o,a*=o,s=Math.sin(e),c=Math.cos(e),l=1-c,t[0]=r*r*l+c,t[1]=i*r*l+a*s,t[2]=a*r*l-i*s,t[3]=0,t[4]=r*i*l-a*s,t[5]=i*i*l+c,t[6]=a*i*l+r*s,t[7]=0,t[8]=r*a*l+i*s,t[9]=i*a*l-r*s,t[10]=a*a*l+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}function eT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function nT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function rT(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function Hb(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=r+r,c=i+i,l=a+a,u=r*s,f=r*c,d=r*l,h=i*c,p=i*l,v=a*l,g=o*s,y=o*c,m=o*l;return t[0]=1-(h+v),t[1]=f+m,t[2]=d-y,t[3]=0,t[4]=f-m,t[5]=1-(u+v),t[6]=p+g,t[7]=0,t[8]=d+y,t[9]=p-g,t[10]=1-(u+h),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function iT(t,e){var n=new he(3),r=-e[0],i=-e[1],a=-e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7],f=r*r+i*i+a*a+o*o;return f>0?(n[0]=(s*o+u*r+c*a-l*i)*2/f,n[1]=(c*o+u*i+l*r-s*a)*2/f,n[2]=(l*o+u*a+s*i-c*r)*2/f):(n[0]=(s*o+u*r+c*a-l*i)*2,n[1]=(c*o+u*i+l*r-s*a)*2,n[2]=(l*o+u*a+s*i-c*r)*2),Hb(t,e,n),t}function gl(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function Aa(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],s=e[6],c=e[8],l=e[9],u=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,s),t[2]=Math.hypot(c,l,u),t}function yl(t,e){var n=new he(3);Aa(n,e);var r=1/n[0],i=1/n[1],a=1/n[2],o=e[0]*r,s=e[1]*i,c=e[2]*a,l=e[4]*r,u=e[5]*i,f=e[6]*a,d=e[8]*r,h=e[9]*i,p=e[10]*a,v=o+u+p,g=0;return v>0?(g=Math.sqrt(v+1)*2,t[3]=.25*g,t[0]=(f-h)/g,t[1]=(d-c)/g,t[2]=(s-l)/g):o>u&&o>p?(g=Math.sqrt(1+o-u-p)*2,t[3]=(f-h)/g,t[0]=.25*g,t[1]=(s+l)/g,t[2]=(d+c)/g):u>p?(g=Math.sqrt(1+u-o-p)*2,t[3]=(d-c)/g,t[0]=(s+l)/g,t[1]=.25*g,t[2]=(f+h)/g):(g=Math.sqrt(1+p-o-u)*2,t[3]=(s-l)/g,t[0]=(d+c)/g,t[1]=(f+h)/g,t[2]=.25*g),t}function aT(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3],c=i+i,l=a+a,u=o+o,f=i*c,d=i*l,h=i*u,p=a*l,v=a*u,g=o*u,y=s*c,m=s*l,b=s*u,x=r[0],w=r[1],O=r[2];return t[0]=(1-(p+g))*x,t[1]=(d+b)*x,t[2]=(h-m)*x,t[3]=0,t[4]=(d-b)*w,t[5]=(1-(f+g))*w,t[6]=(v+y)*w,t[7]=0,t[8]=(h+m)*O,t[9]=(v-y)*O,t[10]=(1-(f+p))*O,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function zo(t,e,n,r,i){var a=e[0],o=e[1],s=e[2],c=e[3],l=a+a,u=o+o,f=s+s,d=a*l,h=a*u,p=a*f,v=o*u,g=o*f,y=s*f,m=c*l,b=c*u,x=c*f,w=r[0],O=r[1],S=r[2],_=i[0],M=i[1],E=i[2],P=(1-(v+y))*w,T=(h+x)*w,A=(p-b)*w,k=(h-x)*O,C=(1-(d+y))*O,L=(g+m)*O,I=(p+b)*S,R=(g-m)*S,j=(1-(d+v))*S;return t[0]=P,t[1]=T,t[2]=A,t[3]=0,t[4]=k,t[5]=C,t[6]=L,t[7]=0,t[8]=I,t[9]=R,t[10]=j,t[11]=0,t[12]=n[0]+_-(P*_+k*M+I*E),t[13]=n[1]+M-(T*_+C*M+R*E),t[14]=n[2]+E-(A*_+L*M+j*E),t[15]=1,t}function dp(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n+n,s=r+r,c=i+i,l=n*o,u=r*o,f=r*s,d=i*o,h=i*s,p=i*c,v=a*o,g=a*s,y=a*c;return t[0]=1-f-p,t[1]=u+y,t[2]=d-g,t[3]=0,t[4]=u-y,t[5]=1-l-p,t[6]=h+v,t[7]=0,t[8]=d+g,t[9]=h-v,t[10]=1-l-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function oT(t,e,n,r,i,a,o){var s=1/(n-e),c=1/(i-r),l=1/(a-o);return t[0]=a*2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a*2*c,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(i+r)*c,t[10]=(o+a)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*l,t[15]=0,t}function Vb(t,e,n,r,i){var a=1/Math.tan(e/2),o;return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,i!=null&&i!==1/0?(o=1/(r-i),t[10]=(i+r)*o,t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t}var sT=Vb;function cT(t,e,n,r,i){var a=1/Math.tan(e/2),o;return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,i!=null&&i!==1/0?(o=1/(r-i),t[10]=i*o,t[14]=i*r*o):(t[10]=-1,t[14]=-r),t}function lT(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),c=2/(o+s),l=2/(i+a);return t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-((o-s)*c*.5),t[9]=(i-a)*l*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function Xb(t,e,n,r,i,a,o){var s=1/(e-n),c=1/(r-i),l=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*c,t[14]=(o+a)*l,t[15]=1,t}var Ub=Xb;function qb(t,e,n,r,i,a,o){var s=1/(e-n),c=1/(r-i),l=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=l,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*c,t[14]=a*l,t[15]=1,t}function Kb(t,e,n,r){var i,a,o,s,c,l,u,f,d,h,p=e[0],v=e[1],g=e[2],y=r[0],m=r[1],b=r[2],x=n[0],w=n[1],O=n[2];return Math.abs(p-x)<Zt&&Math.abs(v-w)<Zt&&Math.abs(g-O)<Zt?Rs(t):(u=p-x,f=v-w,d=g-O,h=1/Math.hypot(u,f,d),u*=h,f*=h,d*=h,i=m*d-b*f,a=b*u-y*d,o=y*f-m*u,h=Math.hypot(i,a,o),h?(h=1/h,i*=h,a*=h,o*=h):(i=0,a=0,o=0),s=f*o-d*a,c=d*i-u*o,l=u*a-f*i,h=Math.hypot(s,c,l),h?(h=1/h,s*=h,c*=h,l*=h):(s=0,c=0,l=0),t[0]=i,t[1]=s,t[2]=u,t[3]=0,t[4]=a,t[5]=c,t[6]=f,t[7]=0,t[8]=o,t[9]=l,t[10]=d,t[11]=0,t[12]=-(i*p+a*v+o*g),t[13]=-(s*p+c*v+l*g),t[14]=-(u*p+f*v+d*g),t[15]=1,t)}function uT(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=r[0],c=r[1],l=r[2],u=i-n[0],f=a-n[1],d=o-n[2],h=u*u+f*f+d*d;h>0&&(h=1/Math.sqrt(h),u*=h,f*=h,d*=h);var p=c*d-l*f,v=l*u-s*d,g=s*f-c*u;return h=p*p+v*v+g*g,h>0&&(h=1/Math.sqrt(h),p*=h,v*=h,g*=h),t[0]=p,t[1]=v,t[2]=g,t[3]=0,t[4]=f*g-d*v,t[5]=d*p-u*g,t[6]=u*v-f*p,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function fT(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function dT(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function hT(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function Zb(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function pT(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function vT(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function gT(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function yT(t,e){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],g=t[14],y=t[15],m=e[0],b=e[1],x=e[2],w=e[3],O=e[4],S=e[5],_=e[6],M=e[7],E=e[8],P=e[9],T=e[10],A=e[11],k=e[12],C=e[13],L=e[14],I=e[15];return Math.abs(n-m)<=Zt*Math.max(1,Math.abs(n),Math.abs(m))&&Math.abs(r-b)<=Zt*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-x)<=Zt*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(a-w)<=Zt*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(o-O)<=Zt*Math.max(1,Math.abs(o),Math.abs(O))&&Math.abs(s-S)<=Zt*Math.max(1,Math.abs(s),Math.abs(S))&&Math.abs(c-_)<=Zt*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(l-M)<=Zt*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-E)<=Zt*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(f-P)<=Zt*Math.max(1,Math.abs(f),Math.abs(P))&&Math.abs(d-T)<=Zt*Math.max(1,Math.abs(d),Math.abs(T))&&Math.abs(h-A)<=Zt*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(p-k)<=Zt*Math.max(1,Math.abs(p),Math.abs(k))&&Math.abs(v-C)<=Zt*Math.max(1,Math.abs(v),Math.abs(C))&&Math.abs(g-L)<=Zt*Math.max(1,Math.abs(g),Math.abs(L))&&Math.abs(y-I)<=Zt*Math.max(1,Math.abs(y),Math.abs(I))}var Qb=$e,mT=Zb;const bT=Object.freeze(Object.defineProperty({__proto__:null,add:hT,adjoint:Zk,clone:lp,copy:Ri,create:Nt,determinant:Gb,equals:yT,exactEquals:gT,frob:dT,fromQuat:dp,fromQuat2:iT,fromRotation:tT,fromRotationTranslation:Hb,fromRotationTranslationScale:aT,fromRotationTranslationScaleOrigin:zo,fromScaling:fp,fromTranslation:up,fromValues:Kk,fromXRotation:eT,fromYRotation:nT,fromZRotation:rT,frustum:oT,getRotation:yl,getScaling:Aa,getTranslation:gl,identity:Rs,invert:Wn,lookAt:Kb,mul:Qb,multiply:$e,multiplyScalar:pT,multiplyScalarAndAdd:vT,ortho:Ub,orthoNO:Xb,orthoZO:qb,perspective:sT,perspectiveFromFieldOfView:lT,perspectiveNO:Vb,perspectiveZO:cT,rotate:Qk,rotateX:Yb,rotateY:Wb,rotateZ:Jk,scale:vl,set:Td,str:fT,sub:mT,subtract:Zb,targetTo:uT,translate:Ur,transpose:zb},Symbol.toStringTag,{value:"Module"}));function yt(){var t=new he(3);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function br(t){var e=new he(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function wr(t){var e=t[0],n=t[1],r=t[2];return Math.hypot(e,n,r)}function St(t,e,n){var r=new he(3);return r[0]=t,r[1]=e,r[2]=n,r}function rn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Gn(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function ba(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function qv(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function xT(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function Cd(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function wT(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.hypot(n,r,i)}function Ti(t,e){var n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t}function nr(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Qc(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],c=n[2];return t[0]=i*c-a*s,t[1]=a*o-r*c,t[2]=r*s-i*o,t}function Ld(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function Oe(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t}function Jb(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function OT(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=e[0],c=e[1],l=e[2],u=i*l-a*c,f=a*s-r*l,d=r*c-i*s,h=i*d-a*f,p=a*u-r*d,v=r*f-i*u,g=o*2;return u*=g,f*=g,d*=g,h*=2,p*=2,v*=2,t[0]=s+u+h,t[1]=c+f+p,t[2]=l+d+v,t}function vo(t,e){var n=t[0],r=t[1],i=t[2],a=e[0],o=e[1],s=e[2];return Math.abs(n-a)<=Zt*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-o)<=Zt*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-s)<=Zt*Math.max(1,Math.abs(i),Math.abs(s))}var Kv=wT,tx=wr;(function(){var t=yt();return function(e,n,r,i,a,o){var s,c;for(n||(n=3),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],a(t,t,o),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2];return e}})();function da(){var t=new he(4);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function ST(t,e,n,r){var i=new he(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i}function _T(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function MT(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function ha(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t}(function(){var t=da();return function(e,n,r,i,a,o){var s,c;for(n||(n=4),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],t[3]=e[s+3],a(t,t,o),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2],e[s+3]=t[3];return e}})();function ve(){var t=new he(4);return he!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function Hr(t,e,n){n=n*.5;var r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function qr(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],c=n[1],l=n[2],u=n[3];return t[0]=r*u+o*s+i*l-a*c,t[1]=i*u+o*c+a*s-r*l,t[2]=a*u+o*l+r*c-i*s,t[3]=o*u-r*s-i*c-a*l,t}function Of(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3],c=n[0],l=n[1],u=n[2],f=n[3],d,h,p,v,g;return h=i*c+a*l+o*u+s*f,h<0&&(h=-h,c=-c,l=-l,u=-u,f=-f),1-h>Zt?(d=Math.acos(h),p=Math.sin(d),v=Math.sin((1-r)*d)/p,g=Math.sin(r*d)/p):(v=1-r,g=r),t[0]=v*i+g*c,t[1]=v*a+g*l,t[2]=v*o+g*u,t[3]=v*s+g*f,t}function Sf(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t}function ET(t,e){var n=e[0]+e[4]+e[8],r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[i*3+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;r=Math.sqrt(e[i*3+i]-e[a*3+a]-e[o*3+o]+1),t[i]=.5*r,r=.5/r,t[3]=(e[a*3+o]-e[o*3+a])*r,t[a]=(e[a*3+i]+e[i*3+a])*r,t[o]=(e[o*3+i]+e[i*3+o])*r}return t}function oc(t,e,n,r){var i=.5*Math.PI/180;e*=i,n*=i,r*=i;var a=Math.sin(e),o=Math.cos(e),s=Math.sin(n),c=Math.cos(n),l=Math.sin(r),u=Math.cos(r);return t[0]=a*c*u-o*s*l,t[1]=o*s*u+a*c*l,t[2]=o*c*l-a*s*u,t[3]=o*c*u+a*s*l,t}var _f=ST,sc=_T,Zv=qr,ml=MT;(function(){var t=yt(),e=St(1,0,0),n=St(0,1,0);return function(r,i,a){var o=nr(i,a);return o<-.999999?(Qc(t,e,i),tx(t)<1e-6&&Qc(t,n,i),Ti(t,t),Hr(r,t,Math.PI),r):o>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(Qc(t,i,a),r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=1+o,ml(r,r))}})();(function(){var t=ve(),e=ve();return function(n,r,i,a,o,s){return Of(t,r,o,s),Of(e,i,a,s),Of(n,t,e,2*s*(1-s)),n}})();(function(){var t=Ja();return function(e,n,r,i){return t[0]=r[0],t[3]=r[1],t[6]=r[2],t[1]=i[0],t[4]=i[1],t[7]=i[2],t[2]=-n[0],t[5]=-n[1],t[8]=-n[2],ml(e,ET(e,t))}})();function PT(){var t=new he(2);return he!=Float32Array&&(t[0]=0,t[1]=0),t}function AT(t,e){var n=new he(2);return n[0]=t,n[1]=e,n}function kT(t,e){return t[0]=e[0],t[1]=e[1],t}function TT(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function CT(t,e){return t[0]*e[0]+t[1]*e[1]}function LT(t,e){return t[0]===e[0]&&t[1]===e[1]}(function(){var t=PT();return function(e,n,r,i,a,o){var s,c;for(n||(n=2),r||(r=0),i?c=Math.min(i*n+r,e.length):c=e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],a(t,t,o),e[s]=t[0],e[s+1]=t[1];return e}})();var Nd=function(t,e){return Nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Nd(t,e)};function rt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Nd(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var z=function(){return z=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},z.apply(this,arguments)};function $t(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function ka(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})}function Ta(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(t,n)}catch(u){l=[6,u],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function vn(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,a=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function ex(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var a=arguments[e],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function q(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function Mf(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)}var nx={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null};function NT(t,e,n){if(t[n].length>7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}var Go={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0};function rx(t){return Array.isArray(t)&&t.every(function(e){var n=e[0].toLowerCase();return Go[n]===e.length-1&&"achlmqstvz".includes(n)})}function ix(t){return rx(t)&&t.every(function(e){var n=e[0];return n===n.toUpperCase()})}function ax(t){return ix(t)&&t.every(function(e){var n=e[0];return"ACLMQZ".includes(n)})}function Qv(t){for(var e=t.pathValue[t.segmentStart],n=e.toLowerCase(),r=t.data;r.length>=Go[n]&&(n==="m"&&r.length>2?(t.segments.push([e].concat(r.splice(0,2))),n="l",e=e==="m"?"l":"L"):t.segments.push([e].concat(r.splice(0,Go[n]))),!!Go[n]););}function RT(t){var e=t.index,n=t.pathValue,r=n.charCodeAt(e);if(r===48){t.param=0,t.index+=1;return}if(r===49){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+n[e]+'", expecting 0 or 1 at index '+e}function IT(t){return t>=48&&t<=57||t===43||t===45||t===46}function ea(t){return t>=48&&t<=57}function jT(t){var e=t.max,n=t.pathValue,r=t.index,i=r,a=!1,o=!1,s=!1,c=!1,l;if(i>=e){t.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if(l=n.charCodeAt(i),(l===43||l===45)&&(i+=1,l=n.charCodeAt(i)),!ea(l)&&l!==46){t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" is not a number';return}if(l!==46){if(a=l===48,i+=1,l=n.charCodeAt(i),a&&i<e&&l&&ea(l)){t.err="[path-util]: Invalid path value at index "+r+', "'+n[r]+'" illegal number';return}for(;i<e&&ea(n.charCodeAt(i));)i+=1,o=!0;l=n.charCodeAt(i)}if(l===46){for(c=!0,i+=1;ea(n.charCodeAt(i));)i+=1,s=!0;l=n.charCodeAt(i)}if(l===101||l===69){if(c&&!o&&!s){t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" invalid float exponent';return}if(i+=1,l=n.charCodeAt(i),(l===43||l===45)&&(i+=1),i<e&&ea(n.charCodeAt(i)))for(;i<e&&ea(n.charCodeAt(i));)i+=1;else{t.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" invalid integer exponent';return}}t.index=i,t.param=+t.pathValue.slice(r,i)}function DT(t){var e=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];return t===10||t===13||t===8232||t===8233||t===32||t===9||t===11||t===12||t===160||t>=5760&&e.includes(t)}function Jc(t){for(var e=t.pathValue,n=t.max;t.index<n&&DT(e.charCodeAt(t.index));)t.index+=1}function $T(t){switch(t|32){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:return!0;default:return!1}}function BT(t){return(t|32)===97}function FT(t){var e=t.max,n=t.pathValue,r=t.index,i=n.charCodeAt(r),a=Go[n[r].toLowerCase()];if(t.segmentStart=r,!$T(i)){t.err='[path-util]: Invalid path value "'+n[r]+'" is not a path command';return}if(t.index+=1,Jc(t),t.data=[],!a){Qv(t);return}for(;;){for(var o=a;o>0;o-=1){if(BT(i)&&(o===3||o===4)?RT(t):jT(t),t.err.length)return;t.data.push(t.param),Jc(t),t.index<e&&n.charCodeAt(t.index)===44&&(t.index+=1,Jc(t))}if(t.index>=t.max||!IT(n.charCodeAt(t.index)))break}Qv(t)}var zT=function(){function t(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}return t}();function GT(t){if(rx(t))return[].concat(t);var e=new zT(t);for(Jc(e);e.index<e.max&&!e.err.length;)FT(e);return e.err?e.err:e.segments}function YT(t){if(ix(t))return[].concat(t);var e=GT(t),n=0,r=0,i=0,a=0;return e.map(function(o){var s=o.slice(1).map(Number),c=o[0],l=c.toUpperCase();if(c==="M")return n=s[0],r=s[1],i=n,a=r,["M",n,r];var u;if(c!==l)switch(l){case"A":u=[l,s[0],s[1],s[2],s[3],s[4],s[5]+n,s[6]+r];break;case"V":u=[l,s[0]+r];break;case"H":u=[l,s[0]+n];break;default:{var f=s.map(function(h,p){return h+(p%2?r:n)});u=[l].concat(f)}}else u=[l].concat(s);var d=u.length;switch(l){case"Z":n=i,r=a;break;case"H":n=u[1];break;case"V":r=u[1];break;default:n=u[d-2],r=u[d-1],l==="M"&&(i=n,a=r)}return u})}function WT(t,e){var n=t[0],r=e.x1,i=e.y1,a=e.x2,o=e.y2,s=t.slice(1).map(Number),c=t;if("TQ".includes(n)||(e.qx=null,e.qy=null),n==="H")c=["L",t[1],i];else if(n==="V")c=["L",r,t[1]];else if(n==="S"){var l=r*2-a,u=i*2-o;e.x1=l,e.y1=u,c=["C",l,u].concat(s)}else if(n==="T"){var f=r*2-e.qx,d=i*2-e.qy;e.qx=f,e.qy=d,c=["Q",f,d].concat(s)}else if(n==="Q"){var h=s[0],p=s[1];e.qx=h,e.qy=p}return c}function bl(t){if(ax(t))return[].concat(t);for(var e=YT(t),n=z({},nx),r=0;r<e.length;r+=1){e[r]=WT(e[r],n);var i=e[r],a=i.length;n.x1=+i[a-2],n.y1=+i[a-1],n.x2=+i[a-4]||n.x1,n.y2=+i[a-3]||n.y1}return e}function HT(t){return ax(t)&&t.every(function(e){var n=e[0];return"MC".includes(n)})}function cc(t,e,n){var r=t*Math.cos(n)-e*Math.sin(n),i=t*Math.sin(n)+e*Math.cos(n);return{x:r,y:i}}function hp(t,e,n,r,i,a,o,s,c,l){var u=t,f=e,d=n,h=r,p=s,v=c,g=Math.PI*120/180,y=Math.PI/180*(+i||0),m=[],b,x,w,O,S;if(l)x=l[0],w=l[1],O=l[2],S=l[3];else{b=cc(u,f,-y),u=b.x,f=b.y,b=cc(p,v,-y),p=b.x,v=b.y;var _=(u-p)/2,M=(f-v)/2,E=_*_/(d*d)+M*M/(h*h);E>1&&(E=Math.sqrt(E),d*=E,h*=E);var P=d*d,T=h*h,A=(a===o?-1:1)*Math.sqrt(Math.abs((P*T-P*M*M-T*_*_)/(P*M*M+T*_*_)));O=A*d*M/h+(u+p)/2,S=A*-h*_/d+(f+v)/2,x=Math.asin(((f-S)/h*Math.pow(10,9)>>0)/Math.pow(10,9)),w=Math.asin(((v-S)/h*Math.pow(10,9)>>0)/Math.pow(10,9)),x=u<O?Math.PI-x:x,w=p<O?Math.PI-w:w,x<0&&(x=Math.PI*2+x),w<0&&(w=Math.PI*2+w),o&&x>w&&(x-=Math.PI*2),!o&&w>x&&(w-=Math.PI*2)}var k=w-x;if(Math.abs(k)>g){var C=w,L=p,I=v;w=x+g*(o&&w>x?1:-1),p=O+d*Math.cos(w),v=S+h*Math.sin(w),m=hp(p,v,d,h,i,0,o,L,I,[w,C,O,S])}k=w-x;var R=Math.cos(x),j=Math.sin(x),D=Math.cos(w),$=Math.sin(w),B=Math.tan(k/4),F=4/3*d*B,Y=4/3*h*B,U=[u,f],K=[u+F*j,f-Y*R],V=[p+F*$,v-Y*D],W=[p,v];if(K[0]=2*U[0]-K[0],K[1]=2*U[1]-K[1],l)return K.concat(V,W,m);m=K.concat(V,W,m);for(var J=[],et=0,it=m.length;et<it;et+=1)J[et]=et%2?cc(m[et-1],m[et],y).y:cc(m[et],m[et+1],y).x;return J}function VT(t,e,n,r,i,a){var o=.3333333333333333,s=2/3;return[o*t+s*n,o*e+s*r,o*i+s*n,o*a+s*r,i,a]}function Fr(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return[r+(a-r)*n,i+(o-i)*n]}var Jv=function(t,e,n,r){var i=.5,a=Fr([t,e],[n,r],i);return q(q([],a,!0),[n,r,n,r],!1)};function XT(t,e){var n=t[0],r=t.slice(1).map(Number),i=r[0],a=r[1],o,s=e.x1,c=e.y1,l=e.x,u=e.y;switch("TQ".includes(n)||(e.qx=null,e.qy=null),n){case"M":return e.x=i,e.y=a,t;case"A":return o=[s,c].concat(r),["C"].concat(hp(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],o[8],o[9]));case"Q":return e.qx=i,e.qy=a,o=[s,c].concat(r),["C"].concat(VT(o[0],o[1],o[2],o[3],o[4],o[5]));case"L":return["C"].concat(Jv(s,c,i,a));case"Z":return s===l&&c===u?["C",s,c,l,u,l,u]:["C"].concat(Jv(s,c,l,u))}return t}function Rd(t,e){if(e===void 0&&(e=!1),HT(t)){var n=[].concat(t);return e?[n,[]]:n}for(var r=bl(t),i=z({},nx),a=[],o="",s=r.length,c,l,u=[],f=0;f<s;f+=1){r[f]&&(o=r[f][0]),a[f]=o;var d=XT(r[f],i);r[f]=d,NT(r,a,f),s=r.length,o==="Z"&&u.push(f),c=r[f],l=c.length,i.x1=+c[l-2],i.y1=+c[l-1],i.x2=+c[l-4]||i.x1,i.y2=+c[l-3]||i.y1}return e?[r,u]:r}function UT(t){return t.map(function(e){return Array.isArray(e)?[].concat(e):e})}function qT(t){var e=t.slice(1).map(function(n,r,i){return r?i[r-1].slice(-2).concat(n.slice(1)):t[0].slice(1).concat(n.slice(1))}).map(function(n){return n.map(function(r,i){return n[n.length-i-2*(1-i%2)]})}).reverse();return[["M"].concat(e[0].slice(0,2))].concat(e.map(function(n){return["C"].concat(n.slice(2))}))}function nn(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function Id(t,e,n,r,i){var a=nn([t,e],[n,r]),o={x:0,y:0};if(typeof i=="number")if(i<=0)o={x:t,y:e};else if(i>=a)o={x:n,y:r};else{var s=Fr([t,e],[n,r],i/a),c=s[0],l=s[1];o={x:c,y:l}}return{length:a,point:o,min:{x:Math.min(t,n),y:Math.min(e,r)},max:{x:Math.max(t,n),y:Math.max(e,r)}}}function tg(t,e){var n=t.x,r=t.y,i=e.x,a=e.y,o=n*i+r*a,s=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2))),c=n*a-r*i<0?-1:1,l=c*Math.acos(o/s);return l}function KT(t,e,n,r,i,a,o,s,c,l){var u=Math.abs,f=Math.sin,d=Math.cos,h=Math.sqrt,p=Math.PI,v=u(n),g=u(r),y=(i%360+360)%360,m=y*(p/180);if(t===s&&e===c)return{x:t,y:e};if(v===0||g===0)return Id(t,e,s,c,l).point;var b=(t-s)/2,x=(e-c)/2,w={x:d(m)*b+f(m)*x,y:-f(m)*b+d(m)*x},O=Math.pow(w.x,2)/Math.pow(v,2)+Math.pow(w.y,2)/Math.pow(g,2);O>1&&(v*=h(O),g*=h(O));var S=Math.pow(v,2)*Math.pow(g,2)-Math.pow(v,2)*Math.pow(w.y,2)-Math.pow(g,2)*Math.pow(w.x,2),_=Math.pow(v,2)*Math.pow(w.y,2)+Math.pow(g,2)*Math.pow(w.x,2),M=S/_;M=M<0?0:M;var E=(a!==o?1:-1)*h(M),P={x:E*(v*w.y/g),y:E*(-(g*w.x)/v)},T={x:d(m)*P.x-f(m)*P.y+(t+s)/2,y:f(m)*P.x+d(m)*P.y+(e+c)/2},A={x:(w.x-P.x)/v,y:(w.y-P.y)/g},k=tg({x:1,y:0},A),C={x:(-w.x-P.x)/v,y:(-w.y-P.y)/g},L=tg(A,C);!o&&L>0?L-=2*p:o&&L<0&&(L+=2*p),L%=2*p;var I=k+L*l,R=v*d(I),j=g*f(I),D={x:d(m)*R-f(m)*j+T.x,y:f(m)*R+d(m)*j+T.y};return D}function ZT(t,e,n,r,i,a,o,s,c,l,u){var f,d=u.bbox,h=d===void 0?!0:d,p=u.length,v=p===void 0?!0:p,g=u.sampleSize,y=g===void 0?30:g,m=typeof l=="number",b=t,x=e,w=0,O=[b,x,w],S=[b,x],_=0,M={x:0,y:0},E=[{x:b,y:x}];m&&l<=0&&(M={x:b,y:x});for(var P=0;P<=y;P+=1){if(_=P/y,f=KT(t,e,n,r,i,a,o,s,c,_),b=f.x,x=f.y,h&&E.push({x:b,y:x}),v&&(w+=nn(S,[b,x])),S=[b,x],m&&w>=l&&l>O[2]){var T=(w-l)/(w-O[2]);M={x:S[0]*(1-T)+O[0]*T,y:S[1]*(1-T)+O[1]*T}}O=[b,x,w]}return m&&l>=w&&(M={x:s,y:c}),{length:w,point:M,min:{x:Math.min.apply(null,E.map(function(A){return A.x})),y:Math.min.apply(null,E.map(function(A){return A.y}))},max:{x:Math.max.apply(null,E.map(function(A){return A.x})),y:Math.max.apply(null,E.map(function(A){return A.y}))}}}function QT(t,e,n,r,i,a,o,s,c){var l=1-c;return{x:Math.pow(l,3)*t+3*Math.pow(l,2)*c*n+3*l*Math.pow(c,2)*i+Math.pow(c,3)*o,y:Math.pow(l,3)*e+3*Math.pow(l,2)*c*r+3*l*Math.pow(c,2)*a+Math.pow(c,3)*s}}function ox(t,e,n,r,i,a,o,s,c,l){var u,f=l.bbox,d=f===void 0?!0:f,h=l.length,p=h===void 0?!0:h,v=l.sampleSize,g=v===void 0?10:v,y=typeof c=="number",m=t,b=e,x=0,w=[m,b,x],O=[m,b],S=0,_={x:0,y:0},M=[{x:m,y:b}];y&&c<=0&&(_={x:m,y:b});for(var E=0;E<=g;E+=1){if(S=E/g,u=QT(t,e,n,r,i,a,o,s,S),m=u.x,b=u.y,d&&M.push({x:m,y:b}),p&&(x+=nn(O,[m,b])),O=[m,b],y&&x>=c&&c>w[2]){var P=(x-c)/(x-w[2]);_={x:O[0]*(1-P)+w[0]*P,y:O[1]*(1-P)+w[1]*P}}w=[m,b,x]}return y&&c>=x&&(_={x:o,y:s}),{length:x,point:_,min:{x:Math.min.apply(null,M.map(function(T){return T.x})),y:Math.min.apply(null,M.map(function(T){return T.y}))},max:{x:Math.max.apply(null,M.map(function(T){return T.x})),y:Math.max.apply(null,M.map(function(T){return T.y}))}}}function JT(t,e,n,r,i,a,o){var s=1-o;return{x:Math.pow(s,2)*t+2*s*o*n+Math.pow(o,2)*i,y:Math.pow(s,2)*e+2*s*o*r+Math.pow(o,2)*a}}function t5(t,e,n,r,i,a,o,s){var c,l=s.bbox,u=l===void 0?!0:l,f=s.length,d=f===void 0?!0:f,h=s.sampleSize,p=h===void 0?10:h,v=typeof o=="number",g=t,y=e,m=0,b=[g,y,m],x=[g,y],w=0,O={x:0,y:0},S=[{x:g,y}];v&&o<=0&&(O={x:g,y});for(var _=0;_<=p;_+=1){if(w=_/p,c=JT(t,e,n,r,i,a,w),g=c.x,y=c.y,u&&S.push({x:g,y}),d&&(m+=nn(x,[g,y])),x=[g,y],v&&m>=o&&o>b[2]){var M=(m-o)/(m-b[2]);O={x:x[0]*(1-M)+b[0]*M,y:x[1]*(1-M)+b[1]*M}}b=[g,y,m]}return v&&o>=m&&(O={x:i,y:a}),{length:m,point:O,min:{x:Math.min.apply(null,S.map(function(E){return E.x})),y:Math.min.apply(null,S.map(function(E){return E.y}))},max:{x:Math.max.apply(null,S.map(function(E){return E.x})),y:Math.max.apply(null,S.map(function(E){return E.y}))}}}function sx(t,e,n){for(var r,i,a,o,s,c,l=bl(t),u=typeof e=="number",f,d=[],h,p=0,v=0,g=0,y=0,m,b=[],x=[],w=0,O={x:0,y:0},S=O,_=O,M=O,E=0,P=0,T=l.length;P<T;P+=1)m=l[P],h=m[0],f=h==="M",d=f?d:[p,v].concat(m.slice(1)),f?(g=m[1],y=m[2],O={x:g,y},S=O,w=0,u&&e<.001&&(M=O)):h==="L"?(r=Id(d[0],d[1],d[2],d[3],(e||0)-E),w=r.length,O=r.min,S=r.max,_=r.point):h==="A"?(i=ZT(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],(e||0)-E,n||{}),w=i.length,O=i.min,S=i.max,_=i.point):h==="C"?(a=ox(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],(e||0)-E,n||{}),w=a.length,O=a.min,S=a.max,_=a.point):h==="Q"?(o=t5(d[0],d[1],d[2],d[3],d[4],d[5],(e||0)-E,n||{}),w=o.length,O=o.min,S=o.max,_=o.point):h==="Z"&&(d=[p,v,g,y],s=Id(d[0],d[1],d[2],d[3],(e||0)-E),w=s.length,O=s.min,S=s.max,_=s.point),u&&E<e&&E+w>=e&&(M=_),x.push(S),b.push(O),E+=w,c=h!=="Z"?m.slice(-2):[g,y],p=c[0],v=c[1];return u&&e>=E&&(M={x:p,y:v}),{length:E,point:M,min:{x:Math.min.apply(null,b.map(function(A){return A.x})),y:Math.min.apply(null,b.map(function(A){return A.y}))},max:{x:Math.max.apply(null,x.map(function(A){return A.x})),y:Math.max.apply(null,x.map(function(A){return A.y}))}}}function e5(t,e){return sx(t,void 0,z(z({},e),{bbox:!1,length:!0})).length}function n5(t){var e=t.length,n=e-1;return t.map(function(r,i){return t.map(function(a,o){var s=i+o,c;return o===0||t[s]&&t[s][0]==="M"?(c=t[s],["M"].concat(c.slice(-2))):(s>=e&&(s-=n),t[s])})})}function r5(t,e){var n=t.length-1,r=[],i=0,a=0,o=n5(t);return o.forEach(function(s,c){t.slice(1).forEach(function(l,u){a+=nn(t[(c+u)%n].slice(-2),e[u%n].slice(-2))}),r[c]=a,a=0}),i=r.indexOf(Math.min.apply(null,r)),o[i]}function i5(t,e,n,r,i,a,o,s){return 3*((s-e)*(n+i)-(o-t)*(r+a)+r*(t-i)-n*(e-a)+s*(i+t/3)-o*(a+e/3))/20}function a5(t){var e=0,n=0,r=0;return Rd(t).map(function(i){var a;switch(i[0]){case"M":return e=i[1],n=i[2],0;default:var o=i.slice(1),s=o[0],c=o[1],l=o[2],u=o[3],f=o[4],d=o[5];return r=i5(e,n,s,c,l,u,f,d),a=i.slice(-2),e=a[0],n=a[1],r}}).reduce(function(i,a){return i+a},0)}function eg(t){return a5(t)>=0}function o5(t,e,n){return sx(t,e,z(z({},n),{bbox:!1,length:!0})).point}function s5(t,e){e===void 0&&(e=.5);var n=t.slice(0,2),r=t.slice(2,4),i=t.slice(4,6),a=t.slice(6,8),o=Fr(n,r,e),s=Fr(r,i,e),c=Fr(i,a,e),l=Fr(o,s,e),u=Fr(s,c,e),f=Fr(l,u,e);return[["C"].concat(o,l,f),["C"].concat(u,c,a)]}function ng(t){return t.map(function(e,n,r){var i=n&&r[n-1].slice(-2).concat(e.slice(1)),a=n?ox(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],{bbox:!1}).length:0,o;return n?o=a?s5(i):[e,e]:o=[e],{s:e,ss:o,l:a}})}function cx(t,e,n){var r=ng(t),i=ng(e),a=r.length,o=i.length,s=r.filter(function(g){return g.l}).length,c=i.filter(function(g){return g.l}).length,l=r.filter(function(g){return g.l}).reduce(function(g,y){var m=y.l;return g+m},0)/s||0,u=i.filter(function(g){return g.l}).reduce(function(g,y){var m=y.l;return g+m},0)/c||0,f=n||Math.max(a,o),d=[l,u],h=[f-a,f-o],p=0,v=[r,i].map(function(g,y){return g.l===f?g.map(function(m){return m.s}):g.map(function(m,b){return p=b&&h[y]&&m.l>=d[y],h[y]-=p?1:0,p?m.ss:[m.s]}).flat()});return v[0].length===v[1].length?v:cx(v[0],v[1],f)}function rg(t){var e=document.createElement("div");e.innerHTML=t;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}function Wt(t,e){if(t!==null)return{type:"column",value:t,field:e}}function yu(t,e){const n=Wt(t,e);return Object.assign(Object.assign({},n),{inferred:!0})}function xl(t,e){if(t!==null)return{type:"column",value:t,field:e,visual:!0}}function c5(t,e){const n=Wt(t,e);return Object.assign(Object.assign({},n),{constant:!1})}function Kr(t,e){const n=[];for(const r of t)n[r]=e;return n}function Ot(t,e){const n=t[e];if(!n)return[null,null];const{value:r,field:i=null}=n;return[r,i]}function ts(t,...e){for(const n of e)if(typeof n=="string"){const[r,i]=Ot(t,n);if(r!==null)return[r,i]}else return[n,null];return[null,null]}function Is(t){return t instanceof Date?!1:typeof t=="object"}const js=()=>(t,e)=>{const{encode:n}=e,{y1:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{y1:yu(Kr(t,0))}})]};js.props={};function oe(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function l5(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ca(t){let e,n,r;t.length!==2?(e=oe,n=(s,c)=>oe(t(s),c),r=(s,c)=>t(s)-c):(e=t===oe||t===l5?t:u5,n=t,r=t);function i(s,c,l=0,u=s.length){if(l<u){if(e(c,c)!==0)return u;do{const f=l+u>>>1;n(s[f],c)<0?l=f+1:u=f}while(l<u)}return l}function a(s,c,l=0,u=s.length){if(l<u){if(e(c,c)!==0)return u;do{const f=l+u>>>1;n(s[f],c)<=0?l=f+1:u=f}while(l<u)}return l}function o(s,c,l=0,u=s.length){const f=i(s,c,l,u-1);return f>l&&r(s[f-1],c)>-r(s[f],c)?f-1:f}return{left:i,center:o,right:a}}function u5(){return 0}function jd(t){return t===null?NaN:+t}function*f5(t,e){if(e===void 0)for(let n of t)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)(r=e(r,++n,t))!=null&&(r=+r)>=r&&(yield r)}}const lx=Ca(oe),d5=lx.right,h5=lx.left,p5=Ca(jd).center;function ux(t,e){let n=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(i=+i)>=i&&++n}return n}function v5(t,e){let n=0,r,i=0,a=0;if(e===void 0)for(let o of t)o!=null&&(o=+o)>=o&&(r=o-i,i+=r/++n,a+=r*(o-i));else{let o=-1;for(let s of t)(s=e(s,++o,t))!=null&&(s=+s)>=s&&(r=s-i,i+=r/++n,a+=r*(s-i))}if(n>1)return a/(n-1)}function fx(t,e){const n=v5(t,e);return n&&Math.sqrt(n)}function Mr(t,e){let n,r;if(e===void 0)for(const i of t)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let a of t)(a=e(a,++i,t))!=null&&(n===void 0?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}return[n,r]}class Ii{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const n=this._partials;let r=0;for(let i=0;i<this._n&&i<32;i++){const a=n[i],o=e+a,s=Math.abs(e)<Math.abs(a)?e-(o-a):a-(o-e);s&&(n[r++]=s),e=o}return n[r]=e,this._n=r+1,this}valueOf(){const e=this._partials;let n=this._n,r,i,a,o=0;if(n>0){for(o=e[--n];n>0&&(r=o,i=e[--n],o=r+i,a=i-(o-r),!a););n>0&&(a<0&&e[n-1]<0||a>0&&e[n-1]>0)&&(i=a*2,r=o+i,i==r-o&&(o=r))}return o}}let g5=class extends Map{constructor(e,n=b5){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(ig(this,e))}has(e){return super.has(ig(this,e))}set(e,n){return super.set(y5(this,e),n)}delete(e){return super.delete(m5(this,e))}};function ig({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function y5({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function m5({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function b5(t){return t!==null&&typeof t=="object"?t.valueOf():t}function es(t){return t}function te(t,...e){return mu(t,es,es,e)}function pp(t,...e){return mu(t,Array.from,es,e)}function vp(t,e,...n){return mu(t,es,e,n)}function dx(t,e,...n){return mu(t,Array.from,e,n)}function mu(t,e,n,r){return function i(a,o){if(o>=r.length)return n(a);const s=new g5,c=r[o++];let l=-1;for(const u of a){const f=c(u,++l,a),d=s.get(f);d?d.push(u):s.set(f,[u])}for(const[u,f]of s)s.set(u,i(f,o));return e(s)}(t,0)}function x5(t,e){return Array.from(e,n=>t[n])}function Er(t,...e){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");t=Array.from(t);let[n]=e;if(n&&n.length!==2||e.length>1){const r=Uint32Array.from(t,(i,a)=>a);return e.length>1?(e=e.map(i=>t.map(i)),r.sort((i,a)=>{for(const o of e){const s=ns(o[i],o[a]);if(s)return s}})):(n=t.map(n),r.sort((i,a)=>ns(n[i],n[a]))),x5(t,r)}return t.sort(hx(n))}function hx(t=oe){if(t===oe)return ns;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function ns(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(t<e?-1:t>e?1:0)}function w5(t,e,n){return(e.length!==2?Er(vp(t,e,n),([r,i],[a,o])=>oe(i,o)||oe(r,a)):Er(te(t,n),([r,i],[a,o])=>e(i,o)||oe(r,a))).map(([r])=>r)}var O5=Array.prototype,S5=O5.slice;function Ef(t){return()=>t}const _5=Math.sqrt(50),M5=Math.sqrt(10),E5=Math.sqrt(2);function wl(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=_5?10:a>=M5?5:a>=E5?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(t*l),c=Math.round(e*l),s/l<t&&++s,c/l>e&&--c,l=-l):(l=Math.pow(10,i)*o,s=Math.round(t/l),c=Math.round(e/l),s*l<t&&++s,c*l>e&&--c),c<s&&.5<=n&&n<2?wl(t,e,n*2):[s,c,l]}function P5(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,a,o]=r?wl(e,t,n):wl(t,e,n);if(!(a>=i))return[];const s=a-i+1,c=new Array(s);if(r)if(o<0)for(let l=0;l<s;++l)c[l]=(a-l)/-o;else for(let l=0;l<s;++l)c[l]=(a-l)*o;else if(o<0)for(let l=0;l<s;++l)c[l]=(i+l)/-o;else for(let l=0;l<s;++l)c[l]=(i+l)*o;return c}function Dd(t,e,n){return e=+e,t=+t,n=+n,wl(t,e,n)[2]}function A5(t,e,n){let r;for(;;){const i=Dd(t,e,n);if(i===r||i===0||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}function k5(t){return Math.max(1,Math.ceil(Math.log(ux(t))/Math.LN2)+1)}function T5(){var t=es,e=Mr,n=k5;function r(i){Array.isArray(i)||(i=Array.from(i));var a,o=i.length,s,c,l=new Array(o);for(a=0;a<o;++a)l[a]=t(i[a],a,i);var u=e(l),f=u[0],d=u[1],h=n(l,f,d);if(!Array.isArray(h)){const b=d,x=+h;if(e===Mr&&([f,d]=A5(f,d,x)),h=P5(f,d,x),h[0]<=f&&(c=Dd(f,d,x)),h[h.length-1]>=d)if(b>=d&&e===Mr){const w=Dd(f,d,x);isFinite(w)&&(w>0?d=(Math.floor(d/w)+1)*w:w<0&&(d=(Math.ceil(d*-w)+1)/-w))}else h.pop()}for(var p=h.length,v=0,g=p;h[v]<=f;)++v;for(;h[g-1]>d;)--g;(v||g<p)&&(h=h.slice(v,g),p=g-v);var y=new Array(p+1),m;for(a=0;a<=p;++a)m=y[a]=[],m.x0=a>0?h[a-1]:f,m.x1=a<p?h[a]:d;if(isFinite(c)){if(c>0)for(a=0;a<o;++a)(s=l[a])!=null&&f<=s&&s<=d&&y[Math.min(p,Math.floor((s-f)/c))].push(i[a]);else if(c<0){for(a=0;a<o;++a)if((s=l[a])!=null&&f<=s&&s<=d){const b=Math.floor((f-s)*c);y[Math.min(p,b+(h[b]<=s))].push(i[a])}}}else for(a=0;a<o;++a)(s=l[a])!=null&&f<=s&&s<=d&&y[d5(h,s,0,p)].push(i[a]);return y}return r.value=function(i){return arguments.length?(t=typeof i=="function"?i:Ef(i),r):t},r.domain=function(i){return arguments.length?(e=typeof i=="function"?i:Ef([i[0],i[1]]),r):e},r.thresholds=function(i){return arguments.length?(n=typeof i=="function"?i:Ef(Array.isArray(i)?S5.call(i):i),r):n},r}function Ct(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function to(t,e){let n,r=-1,i=-1;if(e===void 0)for(const a of t)++i,a!=null&&(n<a||n===void 0&&a>=a)&&(n=a,r=i);else for(let a of t)(a=e(a,++i,t))!=null&&(n<a||n===void 0&&a>=a)&&(n=a,r=i);return r}function bn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function bu(t,e){let n,r=-1,i=-1;if(e===void 0)for(const a of t)++i,a!=null&&(n>a||n===void 0&&a>=a)&&(n=a,r=i);else for(let a of t)(a=e(a,++i,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a,r=i);return r}function gp(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=i===void 0?ns:hx(i);r>n;){if(r-n>600){const c=r-n+1,l=e-n+1,u=Math.log(c),f=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*f*(c-f)/c)*(l-c/2<0?-1:1),h=Math.max(n,Math.floor(e-l*f/c+d)),p=Math.min(r,Math.floor(e+(c-l)*f/c+d));gp(t,e,h,p,i)}const a=t[e];let o=n,s=r;for(go(t,n,e),i(t[r],a)>0&&go(t,n,r);o<s;){for(go(t,o,s),++o,--s;i(t[o],a)<0;)++o;for(;i(t[s],a)>0;)--s}i(t[n],a)===0?go(t,n,s):(++s,go(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function go(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function C5(t,e=oe){let n,r=!1;if(e.length===1){let i;for(const a of t){const o=e(a);(r?oe(o,i)>0:oe(o,o)===0)&&(n=a,i=o,r=!0)}}else for(const i of t)(r?e(i,n)>0:e(i,i)===0)&&(n=i,r=!0);return n}function xu(t,e,n){if(t=Float64Array.from(f5(t,n)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return bn(t);if(e>=1)return Ct(t);var r,i=(r-1)*e,a=Math.floor(i),o=Ct(gp(t,a).subarray(0,a+1)),s=bn(t.subarray(a+1));return o+(s-o)*(i-a)}}function L5(t,e,n=jd){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(s,c)=>jd(n(t[c],c,t))),e<=0)return bu(r);if(e>=1)return to(r);var r,i=Uint32Array.from(t,(s,c)=>c),a=r.length-1,o=Math.floor(a*e);return gp(i,o,0,a,(s,c)=>ns(r[s],r[c])),o=C5(i.subarray(0,o+1),s=>r[s]),o>=0?o:-1}}function N5(t,e,n){const r=ux(t),i=fx(t);return r&&i?Math.ceil((n-e)*Math.cbrt(r)/(3.49*i)):1}function rs(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let a of t)(a=e(a,++i,t))!=null&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}function yp(t,e){return xu(t,.5,e)}function R5(t,e){return L5(t,.5,e)}function*I5(t){for(const e of t)yield*e}function px(t){return Array.from(I5(t))}function pa(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,a=new Array(i);++r<i;)a[r]=t+r*n;return a}function Cn(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}var j5=function(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};function ji(t){return t}function mp(t){return t.reduce((e,n)=>(r,...i)=>n(e(r,...i),...i),ji)}function D5(t){return t.reduce((e,n)=>r=>j5(this,void 0,void 0,function*(){const i=yield e(r);return n(i)}),ji)}function bp(t){return t.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function La(t=""){throw new Error(t)}function xp(t,e){const{attributes:n}=e,r=new Set(["id","className"]);for(const[i,a]of Object.entries(n))r.has(i)||(i==="transform"&&t.attr(i,""),t.attr(i,a))}function zt(t){return t!=null&&!Number.isNaN(t)}function $5(t){const e=new Map;return n=>{if(e.has(n))return e.get(n);const r=t(n);return e.set(n,r),r}}function B5(t,e){const{transform:n}=t.style,i=(a=>a==="none"||a===void 0)(n)?"":n;t.style.transform=`${i} ${e}`.trimStart()}function Q(t,e){return vx(t,e)||{}}function vx(t,e){const n=Object.entries(t||{}).filter(([r])=>r.startsWith(e)).map(([r,i])=>[Db(r.replace(e,"").trim()),i]).filter(([r])=>!!r);return n.length===0?null:Object.fromEntries(n)}function F5(t,e){return Object.fromEntries(Object.entries(t).filter(([n])=>e.find(r=>n.startsWith(r))))}function Pf(t,...e){return Object.fromEntries(Object.entries(t).filter(([n])=>e.every(r=>!n.startsWith(r))))}function ag(t,e){if(t===void 0)return null;if(typeof t=="number")return t;const n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function is(t){return typeof t=="object"&&!(t instanceof Date)&&t!==null&&!Array.isArray(t)}function Lr(t){return t===null||t===!1}function gx(t,e,n=5,r=0){if(!(r>=n)){for(const i of Object.keys(e)){const a=e[i];!Cr(a)||!Cr(t[i])?t[i]=a:gx(t[i],a,n,r+1)}return t}}function ai(t,e){return Object.entries(t).reduce((n,[r,i])=>(n[r]=e(i,r,t),n),{})}function Ui(t){return t.map((e,n)=>n)}function z5(t){return t[0]}function yx(t){return t[t.length-1]}function G5(t){return Array.from(new Set(t))}function mx(t,e){const n=[[],[]];return t.forEach(r=>{n[e(r)?0:1].push(r)}),n}function bx(t,e=t.length){if(e===1)return t.map(r=>[r]);const n=[];for(let r=0;r<t.length;r++){const i=t.slice(r+1);bx(i,e-1).forEach(o=>{n.push([t[r],...o])})}return n}function Y5(t){if(t.length===1)return[t];const e=[];for(let n=1;n<=t.length;n++)e.push(...bx(t,n));return e}function oi(t,e,n){const{encode:r}=n;if(t===null)return[e];const i=W5(t).map(o=>{var s;return[o,(s=Ot(r,o))===null||s===void 0?void 0:s[0]]}).filter(([,o])=>zt(o)),a=o=>i.map(([,s])=>s[o]).join("-");return Array.from(te(e,a).values())}function xx(t){return Array.isArray(t)?X5(t):typeof t=="function"?V5(t):t==="series"?H5:t==="value"?U5:t==="sum"?q5:t==="maxIndex"?K5:()=>null}function wx(t,e){for(const n of t)n.sort(e)}function Ox(t,e){return(e==null?void 0:e.domain)||Array.from(new Set(t))}function W5(t){return Array.isArray(t)?t:[t]}function H5(t,e,n){return Ds(r=>n[r])}function V5(t){return(e,n,r)=>Ds(i=>t(e[i]))}function X5(t){return(e,n,r)=>(i,a)=>t.reduce((o,s)=>o!==0?o:oe(e[i][s],e[a][s]),0)}function U5(t,e,n){return Ds(r=>e[r])}function q5(t,e,n){const r=Ui(t),i=Array.from(te(r,o=>n[+o]).entries()),a=new Map(i.map(([o,s])=>[o,s.reduce((c,l)=>c+ +e[l])]));return Ds(o=>a.get(n[o]))}function K5(t,e,n){const r=Ui(t),i=Array.from(te(r,o=>n[+o]).entries()),a=new Map(i.map(([o,s])=>[o,to(s,c=>e[c])]));return Ds(o=>a.get(n[o]))}function Ds(t){return(e,n)=>oe(t(e),t(n))}const Sx=(t={})=>{const{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(s,c)=>{const{data:l,encode:u,style:f={}}=c,[d,h]=Ot(u,"y"),[p,v]=Ot(u,"y1"),[g]=o?ts(u,"series","color"):Ot(u,"color"),y=oi(e,s,c),b=xx(n)(l,d,g);b&&wx(y,b);const x=new Array(s.length),w=new Array(s.length),O=new Array(s.length),S=[],_=[];for(const A of y){r&&A.reverse();const k=p?+p[A[0]]:0,C=[],L=[];for(const F of A){const Y=O[F]=+d[F]-k;Y<0?L.push(F):Y>=0&&C.push(F)}const I=C.length>0?C:L,R=L.length>0?L:C;let j=C.length-1,D=0;for(;j>0&&d[I[j]]===0;)j--;for(;D<R.length-1&&d[R[D]]===0;)D++;S.push(I[j]),_.push(R[D]);let $=k;for(const F of L.reverse()){const Y=O[F];$=x[F]=(w[F]=$)+Y}let B=k;for(const F of C){const Y=O[F];Y>0?B=x[F]=(w[F]=B)+Y:x[F]=w[F]=B}}const M=new Set(S),E=new Set(_),P=i==="y"?x:w,T=a==="y"?x:w;return[s,X({},c,{encode:{y0:yu(d,h),y:Wt(P,h),y1:Wt(T,v)},style:Object.assign({first:(A,k)=>M.has(k),last:(A,k)=>E.has(k)},f)})]}};Sx.props={};function yo(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}function Z5(t){const e=t.getFullYear(),n=yo(t.getMonth()+1),r=yo(t.getDate()),i=`${e}-${n}-${r}`,a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return a||o||s?`${i} ${yo(a)}:${yo(o)}:${yo(s)}`:i}const wu=(t={})=>{const{channel:e="x"}=t;return(n,r)=>{const{encode:i}=r,{tooltip:a}=r;if(Lr(a))return[n,r];const{title:o}=a;if(o!==void 0)return[n,r];const s=Object.keys(i).filter(l=>l.startsWith(e)).filter(l=>!i[l].inferred).map(l=>Ot(i,l)).filter(([l])=>l).map(l=>l[0]);if(s.length===0)return[n,r];const c=[];for(const l of n)c[l]={value:s.map(u=>u[l]instanceof Date?Z5(u[l]):u[l]).join(", ")};return[n,X({},r,{tooltip:{title:c}})]}};wu.props={};const qi=()=>(t,e)=>{const{encode:n}=e,{x:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{x:yu(Kr(t,0))},scale:{x:{guide:null}}})]};qi.props={};const Ou=()=>(t,e)=>{const{encode:n}=e,{y:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{y:yu(Kr(t,0))},scale:{y:{guide:null}}})]};Ou.props={};const _x=()=>(t,e)=>{const{encode:n}=e,{size:r}=n;return r!==void 0?[t,e]:[t,X({},e,{encode:{size:xl(Kr(t,3))}})]};_x.props={};var Q5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Mx=()=>(t,e)=>{const{encode:n}=e,{key:r}=n,i=Q5(n,["key"]);if(r!==void 0)return[t,e];const a=Object.values(i).map(({value:s})=>s),o=t.map(s=>a.filter(Array.isArray).map(c=>c[s]).join("-"));return[t,X({},e,{encode:{key:Wt(o)}})]};Mx.props={};const wp=()=>(t,e)=>{const{encode:n}=e,{series:r,color:i}=n;if(r!==void 0||i===void 0)return[t,e];const[a,o]=Ot(n,"color");return[t,X({},e,{encode:{series:Wt(a,o)}})]};wp.props={};const Ex=()=>(t,e)=>{const{data:n}=e;return!Array.isArray(n)||n.some(Is)?[t,e]:[t,X({},e,{encode:{y:Wt(n)}})]};Ex.props={};const Px=()=>(t,e)=>{const{data:n}=e;return!Array.isArray(n)||n.some(Is)?[t,e]:[t,X({},e,{encode:{x:Wt(n)}})]};Px.props={};const Ax=()=>(t,e)=>{const{encode:n}=e,{y1:r}=n;if(r)return[t,e];const[i]=Ot(n,"y");return[t,X({},e,{encode:{y1:Wt([...i])}})]};Ax.props={};const kx=()=>(t,e)=>{const{encode:n}=e,{x1:r}=n;if(r)return[t,e];const[i]=Ot(n,"x");return[t,X({},e,{encode:{x1:Wt([...i])}})]};kx.props={};const Tx=()=>(t,e)=>{const{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(Is))){const r=(i,a)=>Array.isArray(i[0])?i.map(o=>o[a]):[i[a]];return[t,X({},e,{encode:{x:Wt(r(n,0)),x1:Wt(r(n,1))}})]}return[t,e]};Tx.props={};const Cx=()=>(t,e)=>{const{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(Is))){const r=(i,a)=>Array.isArray(i[0])?i.map(o=>o[a]):[i[a]];return[t,X({},e,{encode:{y:Wt(r(n,0)),y1:Wt(r(n,1))}})]}return[t,e]};Cx.props={};const Su=t=>{const{channel:e}=t;return(n,r)=>{const{encode:i,tooltip:a}=r;if(Lr(a))return[n,r];const{items:o=[]}=a;if(!o||o.length>0)return[n,r];const c=(Array.isArray(e)?e:[e]).flatMap(l=>Object.keys(i).filter(u=>u.startsWith(l)).map(u=>{const{field:f,value:d,inferred:h=!1,aggregate:p}=i[u];return h?null:p&&d?{channel:u}:f?{field:f}:d?{channel:u}:null}).filter(u=>u!==null));return[n,X({},r,{tooltip:{items:c}})]}};Su.props={};const Op=()=>(t,e)=>[t,X({scale:{x:{padding:0},y:{padding:0}}},e)];Op.props={};var og=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const _u=()=>(t,e)=>{const{data:n,style:r={}}=e,i=og(e,["data","style"]),{x:a,y:o}=r,s=og(r,["x","y"]);if(a==null||o==null)return[t,e];const c=a||0,l=o||0;return[[0],X({},i,{data:[0],cartesian:!0,encode:{x:Wt([c]),y:Wt([l])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};_u.props={};const Lx=()=>(t,e)=>{const{style:n={}}=e;return[t,X({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,r])=>typeof r=="function").map(([r,i])=>[r,()=>i])))})]};Lx.props={};const Mu=()=>(t,e)=>{const{data:n}=e;if(!Array.isArray(n)||n.some(Is))return[t,e];const r=Array.isArray(n[0])?n:[n],i=r.map(o=>o[0]),a=r.map(o=>o[1]);return[t,X({},e,{encode:{x:Wt(i),y:Wt(a)}})]};Mu.props={};const Nx=()=>(t,e)=>{const{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,X({},e,{encode:{series:xl(Kr(t,void 0))}})]};Nx.props={};var J5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Rx=(t={})=>{const{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return J5(t,["groupBy","reverse","orderBy","padding"]),(a,o)=>{const{data:s,encode:c,scale:l}=o,{series:u}=l,[f]=Ot(c,"y"),[d]=ts(c,"series","color"),h=Ox(d,u),p=oi(e,a,o),g=xx(r)(s,f,d);g&&wx(p,g);const y=new Array(a.length);for(const m of p){n&&m.reverse();for(let b=0;b<m.length;b++)y[m[b]]=h[b]}return[a,X({},o,{scale:{series:{domain:h,paddingInner:i}},encode:{series:Wt(y)}})]}};Rx.props={};const Ix=t=>{const{groupBy:e=["x"],reducer:n=(o,s)=>s[o[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(o,s)=>{const{encode:c}=s,u=(Array.isArray(e)?e:[e]).map(g=>[g,Ot(c,g)[0]]);if(u.length===0)return[o,s];let f=[o];for(const[,g]of u){const y=[];for(const m of f){const b=Array.from(te(m,x=>g[x]).values());y.push(...b)}f=y}if(r){const[g]=Ot(c,r);g&&f.sort((y,m)=>n(y,g)-n(m,g)),i&&f.reverse()}const d=(a||3e3)/f.length,[h]=a?[Kr(o,d)]:ts(c,"enterDuration",Kr(o,d)),[p]=ts(c,"enterDelay",Kr(o,0)),v=new Array(o.length);for(let g=0,y=0;g<f.length;g++){const m=f[g],b=Ct(m,x=>+h[x]);for(const x of m)v[x]=+p[x]+y;y+=b}return[o,X({},s,{encode:{enterDuration:xl(h),enterDelay:xl(v)}})]}};Ix.props={};var t3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function e3(t){return typeof t=="function"?t:{min:(n,r)=>bn(n,i=>r[+i]),max:(n,r)=>Ct(n,i=>r[+i]),first:(n,r)=>r[n[0]],last:(n,r)=>r[n[n.length-1]],mean:(n,r)=>rs(n,i=>r[+i]),median:(n,r)=>yp(n,i=>r[+i]),sum:(n,r)=>Cn(n,i=>r[+i]),deviation:(n,r)=>fx(n,i=>r[+i])}[t]||Ct}const jx=(t={})=>{const{groupBy:e="x",basis:n="max"}=t;return(r,i)=>{const{encode:a,tooltip:o}=i,s=t3(a,["x"]),c=Object.entries(s).filter(([p])=>p.startsWith("y")).map(([p])=>[p,Ot(a,p)[0]]),[,l]=c.find(([p])=>p==="y"),u=c.map(([p])=>[p,new Array(r.length)]),f=oi(e,r,i),d=e3(n);for(const p of f){const v=d(p,l);for(const g of p)for(let y=0;y<c.length;y++){const[,m]=c[y],[,b]=u[y];b[g]=+m[g]/v}}const h=Lr(o)||(o==null?void 0:o.items)&&(o==null?void 0:o.items.length)!==0;return[r,X({},i,Object.assign({encode:Object.fromEntries(u.map(([p,v])=>[p,Wt(v,Ot(a,p)[1])]))},!h&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};jx.props={};function Na(t,...e){return e.reduce((n,r)=>i=>n(r(i)),t)}function Ol(t,e){return e-t?n=>(n-t)/(e-t):n=>.5}function n3(t,e){const n=e<t?e:t,r=t>e?t:e;return i=>Math.min(Math.max(n,i),r)}function Sp(t,e,n,r,i){let a=n||0,o=r||t.length;const s=i||(c=>c);for(;a<o;){const c=Math.floor((a+o)/2);s(t[c])>e?o=c:a=c+1}return a}const $d=Math.sqrt(50),Bd=Math.sqrt(10),Fd=Math.sqrt(2);function tl(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=$d?10:a>=Bd?5:a>=Fd?2:1)*10**i:-(10**-i)/(a>=$d?10:a>=Bd?5:a>=Fd?2:1)}function sg(t,e,n){const r=Math.abs(e-t)/Math.max(0,n);let i=10**Math.floor(Math.log(r)/Math.LN10);const a=r/i;return a>=$d?i*=10:a>=Bd?i*=5:a>=Fd&&(i*=2),e<t?-i:i}const Dx=(t,e,n=5)=>{const r=[t,e];let i=0,a=r.length-1,o=r[i],s=r[a],c;return s<o&&([o,s]=[s,o],[i,a]=[a,i]),c=tl(o,s,n),c>0?(o=Math.floor(o/c)*c,s=Math.ceil(s/c)*c,c=tl(o,s,n)):c<0&&(o=Math.ceil(o*c)/c,s=Math.floor(s*c)/c,c=tl(o,s,n)),c>0?(r[i]=Math.floor(o/c)*c,r[a]=Math.ceil(s/c)*c):c<0&&(r[i]=Math.ceil(o*c)/c,r[a]=Math.floor(s*c)/c),r},as=1e3,os=as*60,ss=os*60,Di=ss*24,Yo=Di*7,$x=Di*30,Bx=Di*365;function Fe(t,e,n,r){const i=(l,u)=>{const f=h=>r(h)%u===0;let d=u;for(;d&&!f(l);)n(l,-1),d-=1;return l},a=(l,u)=>{u&&i(l,u),e(l)},o=(l,u)=>{const f=new Date(+l);return a(f,u),f},s=(l,u)=>{const f=new Date(+l-1);return a(f,u),n(f,u),a(f),f};return{ceil:s,floor:o,range:(l,u,f,d)=>{const h=[],p=Math.floor(f),v=d?s(l,f):s(l);for(let g=v;g<u;n(g,p),a(g))h.push(new Date(+g));return h},duration:t}}const r3=Fe(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),i3=Fe(as,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+as*e)},t=>t.getSeconds()),a3=Fe(os,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+os*e)},t=>t.getMinutes()),o3=Fe(ss,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+ss*e)},t=>t.getHours()),s3=Fe(Di,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Di*e)},t=>t.getDate()-1),Fx=Fe($x,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{const n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),c3=Fe(Yo,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setDate(t.getDate()+7*e)},t=>{const e=Fx.floor(t),n=new Date(+t);return Math.floor((+n-+e)/Yo)}),l3=Fe(Bx,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{const n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),zx={millisecond:r3,second:i3,minute:a3,hour:o3,day:s3,week:c3,month:Fx,year:l3},u3=Fe(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),f3=Fe(as,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+as*e)},t=>t.getUTCSeconds()),d3=Fe(os,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+os*e)},t=>t.getUTCMinutes()),h3=Fe(ss,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+ss*e)},t=>t.getUTCHours()),p3=Fe(Di,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Di*e)},t=>t.getUTCDate()-1),Gx=Fe($x,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{const n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),v3=Fe(Yo,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+Yo*e)},t=>{const e=Gx.floor(t),n=new Date(+t);return Math.floor((+n-+e)/Yo)}),g3=Fe(Bx,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{const n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),Yx={millisecond:u3,second:f3,minute:d3,hour:h3,day:p3,week:v3,month:Gx,year:g3};function y3(t){const e=t?Yx:zx,{year:n,month:r,week:i,day:a,hour:o,minute:s,second:c,millisecond:l}=e;return{tickIntervals:[[c,1],[c,5],[c,15],[c,30],[s,1],[s,5],[s,15],[s,30],[o,1],[o,3],[o,6],[o,12],[a,1],[a,2],[i,1],[r,1],[r,3],[n,1]],year:n,millisecond:l}}function Wx(t,e,n,r,i){const a=+t,o=+e,{tickIntervals:s,year:c,millisecond:l}=y3(i),u=([g,y])=>g.duration*y,f=r?(o-a)/r:n||5,d=r||(o-a)/f,h=s.length,p=Sp(s,d,0,h,u);let v;if(p===h){const g=sg(a/c.duration,o/c.duration,f);v=[c,g]}else if(p){const g=d/u(s[p-1])<u(s[p])/d,[y,m]=g?s[p-1]:s[p],b=r?Math.ceil(r/y.duration):m;v=[y,b]}else{const g=Math.max(sg(a,o,f),1);v=[l,g]}return v}const m3=(t,e,n,r,i)=>{const a=t>e,o=a?e:t,s=a?t:e,[c,l]=Wx(o,s,n,r,i),u=[c.floor(o,l),c.ceil(s,l)];return a?u.reverse():u};var Hx=function(t){return t!==null&&typeof t!="function"&&isFinite(t.length)},b3={}.toString,$s=function(t,e){return b3.call(t)==="[object "+e+"]"};const Vx=function(t){return $s(t,"Function")};var x3=function(t){return t==null};const Xx=function(t){return Array.isArray?Array.isArray(t):$s(t,"Array")},w3=function(t){var e=typeof t;return t!==null&&e==="object"||e==="function"};function O3(t,e){if(t){var n;if(Xx(t))for(var r=0,i=t.length;r<i&&(n=e(t[r],r),n!==!1);r++);else if(w3(t)){for(var a in t)if(t.hasOwnProperty(a)&&(n=e(t[a],a),n===!1))break}}}var S3=function(t){return typeof t=="object"&&t!==null},cg=function(t){if(!S3(t)||!$s(t,"Object"))return!1;if(Object.getPrototypeOf(t)===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};const _3=function(t){return $s(t,"String")};var cs=function(t){return $s(t,"Number")},M3=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return O3(t,function(n,r){Vx(t)&&r==="prototype"||e.push(n)}),e},E3=function(t){return t===null},P3=function(t){return t===void 0};const A3=function(t,e){if(!Vx(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=e?e.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var s=t.apply(this,r);return o.set(a,s),s};return n.cache=new Map,n};var k3=5;function Ux(t,e,n,r){n=n||0,r=r||k3;for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];a!==null&&cg(a)?(cg(t[i])||(t[i]={}),n<r?Ux(t[i],a,n+1,r):t[i]=e[i]):Xx(a)?(t[i]=[],t[i]=t[i].concat(a)):a!==void 0&&(t[i]=a)}}var lg=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)Ux(t,e[r]);return t},qx=function(t,e){if(!Hx(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,i=0;i<t.length;i++)if(t[i]===e){r=i;break}return r};const $i=function(t){return t};function Kx(t){return x3(t)?0:Hx(t)?t.length:Object.keys(t).length}var lc;A3(function(t,e){e===void 0&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return lc||(lc=document.createElement("canvas").getContext("2d")),lc.font=[a,o,i,n+"px",r].join(" "),lc.measureText(_3(t)?t:"").width},function(t,e){return e===void 0&&(e={}),ex([t],M3(e)).join("")});function Sl(t){return!P3(t)&&!E3(t)&&!Number.isNaN(t)}const Zx=t=>e=>-t(-e),_p=(t,e)=>{const n=Math.log(t),r=t===Math.E?Math.log:t===10?Math.log10:t===2?Math.log2:i=>Math.log(i)/n;return e?Zx(r):r},Mp=(t,e)=>{const n=t===Math.E?Math.exp:r=>t**r;return e?Zx(n):n},T3=(t,e,n,r)=>{const i=t<0,a=_p(r,i),o=Mp(r,i),s=t>e,c=s?e:t,l=s?t:e,u=[o(Math.floor(a(c))),o(Math.ceil(a(l)))];return s?u.reverse():u},C3=t=>e=>{const n=t(e);return cs(n)?Math.round(n):n};function L3(t,e){return n=>{n.prototype.rescale=function(){this.initRange(),this.nice();const[r]=this.chooseTransforms();this.composeOutput(r,this.chooseClamp(r))},n.prototype.initRange=function(){const{interpolator:r}=this.options;this.options.range=t(r)},n.prototype.composeOutput=function(r,i){const{domain:a,interpolator:o,round:s}=this.getOptions(),c=e(a.map(r)),l=s?C3(o):o;this.output=Na(l,c,i,r)},n.prototype.invert=void 0}}var Qx={exports:{}},N3={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Jx={exports:{}},R3=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},I3=R3,j3=Array.prototype.concat,D3=Array.prototype.slice,ug=Jx.exports=function(e){for(var n=[],r=0,i=e.length;r<i;r++){var a=e[r];I3(a)?n=j3.call(n,D3.call(a)):n.push(a)}return n};ug.wrap=function(t){return function(){return t(ug(arguments))}};var $3=Jx.exports,Wo=N3,Bs=$3,t2=Object.hasOwnProperty,e2=Object.create(null);for(var Af in Wo)t2.call(Wo,Af)&&(e2[Wo[Af]]=Af);var gn=Qx.exports={to:{},get:{}};gn.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=gn.get.hsl(t),r="hsl";break;case"hwb":n=gn.get.hwb(t),r="hwb";break;default:n=gn.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null};gn.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,o=[0,0,0,1],s,c,l;if(s=t.match(n)){for(l=s[2],s=s[1],c=0;c<3;c++){var u=c*2;o[c]=parseInt(s.slice(u,u+2),16)}l&&(o[3]=parseInt(l,16)/255)}else if(s=t.match(e)){for(s=s[1],l=s[3],c=0;c<3;c++)o[c]=parseInt(s[c]+s[c],16);l&&(o[3]=parseInt(l+l,16)/255)}else if(s=t.match(r)){for(c=0;c<3;c++)o[c]=parseInt(s[c+1],0);s[4]&&(s[5]?o[3]=parseFloat(s[4])*.01:o[3]=parseFloat(s[4]))}else if(s=t.match(i)){for(c=0;c<3;c++)o[c]=Math.round(parseFloat(s[c+1])*2.55);s[4]&&(s[5]?o[3]=parseFloat(s[4])*.01:o[3]=parseFloat(s[4]))}else return(s=t.match(a))?s[1]==="transparent"?[0,0,0,0]:t2.call(Wo,s[1])?(o=Wo[s[1]],o[3]=1,o):null:null;for(c=0;c<3;c++)o[c]=Zr(o[c],0,255);return o[3]=Zr(o[3],0,1),o};gn.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,a=Zr(parseFloat(n[2]),0,100),o=Zr(parseFloat(n[3]),0,100),s=Zr(isNaN(r)?1:r,0,1);return[i,a,o,s]}return null};gn.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,a=Zr(parseFloat(n[2]),0,100),o=Zr(parseFloat(n[3]),0,100),s=Zr(isNaN(r)?1:r,0,1);return[i,a,o,s]}return null};gn.to.hex=function(){var t=Bs(arguments);return"#"+uc(t[0])+uc(t[1])+uc(t[2])+(t[3]<1?uc(Math.round(t[3]*255)):"")};gn.to.rgb=function(){var t=Bs(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};gn.to.rgb.percent=function(){var t=Bs(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"};gn.to.hsl=function(){var t=Bs(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};gn.to.hwb=function(){var t=Bs(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};gn.to.keyword=function(t){return e2[t.slice(0,3)]};function Zr(t,e,n){return Math.min(Math.max(e,t),n)}function uc(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var B3=Qx.exports;const F3=ip(B3);function kf(t,e,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function z3(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(n===0)return[r*255,r*255,r*255,i];const a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,s=kf(o,a,e+1/3),c=kf(o,a,e),l=kf(o,a,e-1/3);return[s*255,c*255,l*255,i]}function fg(t){const e=F3.get(t);if(!e)return null;const{model:n,value:r}=e;return n==="rgb"?r:n==="hsl"?z3(r):null}const Ra=(t,e)=>n=>t*(1-n)+e*n,G3=(t,e)=>{const n=fg(t),r=fg(e);return n===null||r===null?n?()=>t:()=>e:i=>{const a=new Array(4);for(let u=0;u<4;u+=1){const f=n[u],d=r[u];a[u]=f*(1-i)+d*i}const[o,s,c,l]=a;return`rgba(${Math.round(o)}, ${Math.round(s)}, ${Math.round(c)}, ${l})`}},Fs=(t,e)=>typeof t=="number"&&typeof e=="number"?Ra(t,e):typeof t=="string"&&typeof e=="string"?G3(t,e):()=>t,Y3=(t,e)=>{const n=Ra(t,e);return r=>Math.round(n(r))};function W3(t,e){const{second:n,minute:r,hour:i,day:a,week:o,month:s,year:c}=e;return n.floor(t)<t?".SSS":r.floor(t)<t?":ss":i.floor(t)<t?"hh:mm":a.floor(t)<t?"hh A":s.floor(t)<t?o.floor(t)<t?"MMM DD":"ddd DD":c.floor(t)<t?"MMMM":"YYYY"}function dg({map:t,initKey:e},n){const r=e(n);return t.has(r)?t.get(r):n}function H3({map:t,initKey:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function V3({map:t,initKey:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function X3(t){return typeof t=="object"?t.valueOf():t}class hg extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=X3,e!==null)for(const[n,r]of e)this.set(n,r)}get(e){return super.get(dg({map:this.map,initKey:this.initKey},e))}has(e){return super.has(dg({map:this.map,initKey:this.initKey},e))}set(e,n){return super.set(H3({map:this.map,initKey:this.initKey},e),n)}delete(e){return super.delete(V3({map:this.map,initKey:this.initKey},e))}}class zs{constructor(e){this.options=lg({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=lg({},this.options,e),this.rescale(e)}rescale(e){}}const Eu=Symbol("defaultUnknown");function pg(t,e,n){for(let r=0;r<e.length;r+=1)t.has(e[r])||t.set(n(e[r]),r)}function vg(t){const{value:e,from:n,to:r,mapper:i,notFoundReturn:a}=t;let o=i.get(e);if(o===void 0){if(a!==Eu)return a;o=n.push(e)-1,i.set(e,o)}return r[o%r.length]}function gg(t){return t instanceof Date?e=>`${e}`:typeof t=="object"?e=>JSON.stringify(e):e=>e}let n2=class r2 extends zs{getDefaultOptions(){return{domain:[],range:[],unknown:Eu}}constructor(e){super(e)}map(e){return this.domainIndexMap.size===0&&pg(this.domainIndexMap,this.getDomain(),this.domainKey),vg({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return this.rangeIndexMap.size===0&&pg(this.rangeIndexMap,this.getRange(),this.rangeKey),vg({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){const[n]=this.options.domain,[r]=this.options.range;if(this.domainKey=gg(n),this.rangeKey=gg(r),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new r2(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;const{domain:e,compare:n}=this.options;return this.sortedDomain=n?[...e].sort(n):e,this.sortedDomain}};function U3(t){const e=Math.min(...t);return t.map(n=>n/e)}function q3(t,e){const n=t.length,r=e-n;return r>0?[...t,...new Array(r).fill(1)]:r<0?t.slice(0,e):t}function K3(t){return Math.round(t*1e12)/1e12}function Z3(t){const{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:s}=t,c=e.length,l=q3(a,c),[u,f]=n,d=f-u,h=2/c*r+1-1/c*i,p=d/h,v=p*i/c,g=p-c*v,y=U3(l),m=y.reduce((T,A)=>T+A),b=g/m,x=new hg(e.map((T,A)=>{const k=y[A]*b;return[T,o?Math.floor(k):k]})),w=new hg(e.map((T,A)=>{const C=y[A]*b+v;return[T,o?Math.floor(C):C]})),O=Array.from(w.values()).reduce((T,A)=>T+A),_=(d-(O-O/c*i))*s,M=u+_;let E=o?Math.round(M):M;const P=new Array(c);for(let T=0;T<c;T+=1){P[T]=K3(E);const A=e[T];E+=w.get(A)}return{valueBandWidth:x,valueStep:w,adjustedRange:P}}function Q3(t){var e;const{domain:n}=t,r=n.length;if(r===0)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(!!(!((e=t.flex)===null||e===void 0)&&e.length))return Z3(t);const{range:a,paddingOuter:o,paddingInner:s,round:c,align:l}=t;let u,f,d=a[0];const p=a[1]-d,v=o*2,g=r-s;u=p/Math.max(1,v+g),c&&(u=Math.floor(u)),d+=(p-u*(r-s))*l,f=u*(1-s),c&&(d=Math.round(d),f=Math.round(f));const y=new Array(r).fill(0).map((m,b)=>d+b*u);return{valueStep:u,valueBandWidth:f,adjustedRange:y}}let Ia=class i2 extends n2{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:Eu,flex:[]}}constructor(e){super(e)}clone(){return new i2(this.options)}getStep(e){return this.valueStep===void 0?1:typeof this.valueStep=="number"?this.valueStep:e===void 0?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return this.valueBandWidth===void 0?1:typeof this.valueBandWidth=="number"?this.valueBandWidth:e===void 0?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){const{padding:e,paddingInner:n}=this.options;return e>0?e:n}getPaddingOuter(){const{padding:e,paddingOuter:n}=this.options;return e>0?e:n}rescale(){super.rescale();const{align:e,domain:n,range:r,round:i,flex:a}=this.options,{adjustedRange:o,valueBandWidth:s,valueStep:c}=Q3({align:e,range:r,round:i,flex:a,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:n});this.valueStep=c,this.valueBandWidth=s,this.adjustedRange=o}};const Bi=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&n>0)return[a];let s=tl(a,o,n);if(s===0||!Number.isFinite(s))return[];if(s>0){a=Math.ceil(a/s),o=Math.floor(o/s),i=new Array(r=Math.ceil(o-a+1));for(let c=0;c<r;c+=1)i[c]=(a+c)*s}else{s=-s,a=Math.ceil(a*s),o=Math.floor(o*s),i=new Array(r=Math.ceil(o-a+1));for(let c=0;c<r;c+=1)i[c]=(a+c)/s}return i};let Ep=class a2 extends zs{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:Bi}}map(e){const[n]=this.options.range;return n!==void 0?n:this.options.unknown}invert(e){const[n]=this.options.range;return e===n&&n!==void 0?this.options.domain:[]}getTicks(){const{tickMethod:e,domain:n,tickCount:r}=this.options,[i,a]=n;return!cs(i)||!cs(a)?[]:e(i,a,r)}clone(){return new a2(this.options)}};function mo(t){return Math.abs(t)<1e-14?t:parseFloat(t.toFixed(14))}const J3=[1,5,2,2.5,4,3],yg=Number.EPSILON*100;function tC(t,e){return(t%e+e)%e}function eC(t){return Math.round(t*1e12)/1e12}function nC(t,e,n,r,i,a){const o=Kx(e),s=qx(e,t);let c=0;const l=tC(r,a);return(l<yg||a-l<yg)&&r<=0&&i>=0&&(c=1),1-s/(o-1)-n+c}function rC(t,e,n){const r=Kx(e);return 1-qx(e,t)/(r-1)-n+1}function iC(t,e,n,r,i,a){const o=(t-1)/(a-i),s=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/s,s/o)}function aC(t,e){return t>=e?2-(t-1)/(e-1):1}function oC(t,e,n,r){const i=e-t;return 1-.5*((e-r)**2+(t-n)**2)/(.1*i)**2}function sC(t,e,n){const r=e-t;return n>r?1-((n-r)/2)**2/(.1*r)**2:1}function cC(){return 1}const Pp=(t,e,n=5,r=!0,i=J3,a=[.25,.2,.5,.05])=>{const o=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||typeof t!="number"||typeof e!="number"||!o)return[];if(e-t<1e-15||o===1)return[t];const s={score:-2,lmin:0,lmax:0,lstep:0};let c=1;for(;c<1/0;){for(let p=0;p<i.length;p+=1){const v=i[p],g=rC(v,i,c);if(a[0]*g+a[1]+a[2]+a[3]<s.score){c=1/0;break}let y=2;for(;y<1/0;){const m=aC(y,o);if(a[0]*g+a[1]+a[2]*m+a[3]<s.score)break;const b=(e-t)/(y+1)/c/v;let x=Math.ceil(Math.log10(b));for(;x<1/0;){const w=c*v*10**x,O=sC(t,e,w*(y-1));if(a[0]*g+a[1]*O+a[2]*m+a[3]<s.score)break;const S=Math.floor(e/w)*c-(y-1)*c,_=Math.ceil(t/w)*c;if(S<=_){const M=_-S;for(let E=0;E<=M;E+=1){const T=(S+E)*(w/c),A=T+w*(y-1),k=w,C=nC(v,i,c,T,A,k),L=oC(t,e,T,A),I=iC(y,o,t,e,T,A),R=cC(),j=a[0]*C+a[1]*L+a[2]*I+a[3]*R;j>s.score&&(!r||T<=t&&A>=e)&&(s.lmin=T,s.lmax=A,s.lstep=k,s.score=j)}}x+=1}y+=1}}c+=1}const l=mo(s.lmax),u=mo(s.lmin),f=mo(s.lstep),d=Math.floor(eC((l-u)/f))+1,h=new Array(d);h[0]=mo(u);for(let p=1;p<d;p+=1)h[p]=mo(h[p-1]+f);return h};let o2=class s2 extends zs{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:Pp}}map(e){return Sl(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new s2(this.options)}getTicks(){const{domain:e,tickCount:n,tickMethod:r}=this.options,[i,a]=e;return!cs(i)||!cs(a)?[]:r(i,a,n)}};const lC=(t,e,n)=>{const[r,i]=t,[a,o]=e;let s,c;return r<i?(s=Ol(r,i),c=n(a,o)):(s=Ol(i,r),c=n(o,a)),Na(c,s)},uC=(t,e,n)=>{const r=Math.min(t.length,e.length)-1,i=new Array(r),a=new Array(r),o=t[0]>t[r],s=o?[...t].reverse():t,c=o?[...e].reverse():e;for(let l=0;l<r;l+=1)i[l]=Ol(s[l],s[l+1]),a[l]=n(c[l],c[l+1]);return l=>{const u=Sp(t,l,1,r)-1,f=i[u],d=a[u];return Na(d,f)(l)}},mg=(t,e,n,r)=>(Math.min(t.length,e.length)>2?uC:lC)(t,e,r?Y3:n);let Pu=class extends zs{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:Ra,tickCount:5}}map(e){return Sl(e)?this.output(e):this.options.unknown}invert(e){return Sl(e)?this.input(e):this.options.unknown}nice(){if(!this.options.nice)return;const[e,n,r,...i]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(e,n,r,...i)}getTicks(){const{tickMethod:e}=this.options,[n,r,i,...a]=this.getTickMethodOptions();return e(n,r,i,...a)}getTickMethodOptions(){const{domain:e,tickCount:n}=this.options,r=e[0],i=e[e.length-1];return[r,i,n]}chooseNice(){return Dx}rescale(){this.nice();const[e,n]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e)),this.composeInput(e,n,this.chooseClamp(n))}chooseClamp(e){const{clamp:n,range:r}=this.options,i=this.options.domain.map(e),a=Math.min(i.length,r.length);return n?n3(i[0],i[a-1]):$i}composeOutput(e,n){const{domain:r,range:i,round:a,interpolate:o}=this.options,s=mg(r.map(e),i,o,a);this.output=Na(s,n,e)}composeInput(e,n,r){const{domain:i,range:a}=this.options,o=mg(a,i.map(e),Ra);this.input=Na(n,r,o)}},Yt=class c2 extends Pu{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:Fs,tickMethod:Bi,tickCount:5}}chooseTransforms(){return[$i,$i]}clone(){return new c2(this.options)}},l2=class u2 extends Ia{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:Eu,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new u2(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}};const fC=t=>e=>e<0?-((-e)**t):e**t,dC=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),hC=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);let f2=class d2 extends Pu{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:Fs,tickMethod:Bi,tickCount:5}}constructor(e){super(e)}chooseTransforms(){const{exponent:e}=this.options;if(e===1)return[$i,$i];const n=e===.5?hC:fC(e),r=dC(e);return[n,r]}clone(){return new d2(this.options)}},pC=class h2 extends f2{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:Fs,tickMethod:Bi,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new h2(this.options)}},Au=class p2 extends zs{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!Sl(e))return this.options.unknown;const n=Sp(this.thresholds,e,0,this.n);return this.options.range[n]}invert(e){const{range:n}=this.options,r=n.indexOf(e),i=this.thresholds;return[i[r-1],i[r]]}clone(){return new p2(this.options)}rescale(){const{domain:e,range:n}=this.options;this.n=Math.min(e.length,n.length-1),this.thresholds=e}};const vC=(t,e,n,r=10)=>{const i=t<0,a=Mp(r,i),o=_p(r,i),s=e<t,c=s?e:t,l=s?t:e;let u=o(c),f=o(l),d=[];if(!(r%1)&&f-u<n){if(u=Math.floor(u),f=Math.ceil(f),i)for(;u<=f;u+=1){const h=a(u);for(let p=r-1;p>=1;p-=1){const v=h*p;if(v>l)break;v>=c&&d.push(v)}}else for(;u<=f;u+=1){const h=a(u);for(let p=1;p<r;p+=1){const v=h*p;if(v>l)break;v>=c&&d.push(v)}}d.length*2<n&&(d=Bi(c,l,n))}else{const h=n===-1?f-u:Math.min(f-u,n);d=Bi(u,f,h).map(a)}return s?d.reverse():d};let gC=class v2 extends Pu{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:Fs,tickMethod:vC,tickCount:5}}chooseNice(){return T3}getTickMethodOptions(){const{domain:e,tickCount:n,base:r}=this.options,i=e[0],a=e[e.length-1];return[i,a,n,r]}chooseTransforms(){const{base:e,domain:n}=this.options,r=n[0]<0;return[_p(e,r),Mp(e,r)]}clone(){return new v2(this.options)}},g2=class y2 extends Au{getDefaultOptions(){return{domain:[0,1],range:[.5],nice:!1,tickCount:5,tickMethod:Pp}}constructor(e){super(e)}nice(){const{nice:e}=this.options;if(e){const[n,r,i]=this.getTickMethodOptions();this.options.domain=Dx(n,r,i)}}getTicks(){const{tickMethod:e}=this.options,[n,r,i]=this.getTickMethodOptions();return e(n,r,i)}getTickMethodOptions(){const{domain:e,tickCount:n}=this.options,r=e[0],i=e[e.length-1];return[r,i,n]}rescale(){this.nice();const{range:e,domain:n}=this.options,[r,i]=n;this.n=e.length-1,this.thresholds=new Array(this.n);for(let a=0;a<this.n;a+=1)this.thresholds[a]=((a+1)*i-(a-this.n)*r)/(this.n+1)}invert(e){const[n,r]=super.invert(e),[i,a]=this.options.domain;return n===void 0&&r===void 0?[n,r]:[n||i,r||a]}getThresholds(){return this.thresholds}clone(){return new y2(this.options)}};function yC(t,e){const n=t.length;if(!n)return;if(n<2)return t[n-1];const r=(n-1)*e,i=Math.floor(r),a=t[i],o=t[i+1];return a+(o-a)*(r-i)}function mC(t,e,n=!1){const r=t;n||r.sort((a,o)=>a-o);const i=[];for(let a=1;a<e;a+=1)i.push(yC(r,a/e));return i}let m2=class b2 extends Au{getDefaultOptions(){return{domain:[],range:[],tickCount:5,unknown:void 0,tickMethod:Pp}}constructor(e){super(e)}rescale(){const{domain:e,range:n}=this.options;this.n=n.length-1,this.thresholds=mC(e,this.n+1,!1)}invert(e){const[n,r]=super.invert(e),{domain:i}=this.options,a=i[0],o=i[i.length-1];return n===void 0&&r===void 0?[n,r]:[n||a,r||o]}getThresholds(){return this.thresholds}clone(){return new b2(this.options)}getTicks(){const{tickCount:e,domain:n,tickMethod:r}=this.options,i=n.length-1,a=n[0],o=n[i];return r(a,o,e)}};var bC=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,xC=/\[([^]*?)\]/gm;function x2(t,e){for(var n=[],r=0,i=t.length;r<i;r++)n.push(t[r].substr(0,e));return n}function zd(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0,i=e;r<i.length;r++){var a=i[r];for(var o in a)t[o]=a[o]}return t}var w2=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],O2=["January","February","March","April","May","June","July","August","September","October","November","December"],wC=x2(O2,3),OC=x2(w2,3),SC={dayNamesShort:OC,dayNames:w2,monthNamesShort:wC,monthNames:O2,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!==10?1:0)*t%10]}},_C=zd({},SC),Qe=function(t,e){for(e===void 0&&(e=2),t=String(t);t.length<e;)t="0"+t;return t},MC={D:function(t){return String(t.getDate())},DD:function(t){return Qe(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return Qe(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return Qe(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return Qe(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return Qe(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return Qe(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return Qe(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return Qe(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return Qe(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return Qe(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return Qe(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Qe(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Qe(Math.floor(Math.abs(e)/60),2)+":"+Qe(Math.abs(e)%60,2)}},bg={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},EC=function(t,e,n){if(e===void 0&&(e=bg.default),n===void 0&&(n={}),typeof t=="number"&&(t=new Date(t)),Object.prototype.toString.call(t)!=="[object Date]"||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");e=bg[e]||e;var r=[];e=e.replace(xC,function(a,o){return r.push(o),"@@@"});var i=zd(zd({},_C),n);return e=e.replace(bC,function(a){return MC[a](t,i)}),e.replace(/@@@/g,function(){return r.shift()})};const PC=(t,e,n,r,i)=>{const a=t>e,o=a?e:t,s=a?t:e,[c,l]=Wx(o,s,n,r,i),u=c.range(o,new Date(+s+1),l,!0);return a?u.reverse():u};function AC(t){const e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}let kC=class S2 extends Pu{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:PC,interpolate:Ra,mask:void 0,utc:!1}}chooseTransforms(){return[r=>+r,r=>new Date(r)]}chooseNice(){return m3}getTickMethodOptions(){const{domain:e,tickCount:n,tickInterval:r,utc:i}=this.options,a=e[0],o=e[e.length-1];return[a,o,n,r,i]}getFormatter(){const{mask:e,utc:n}=this.options,r=n?Yx:zx,i=n?AC:$i;return a=>EC(i(a),e||W3(a,r))}clone(){return new S2(this.options)}};var TC=function(t,e,n,r){var i=arguments.length,a=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},Gd;function CC(t){return[t(0),t(1)]}const LC=t=>{const[e,n]=t;return Na(Ra(0,1),Ol(e,n))};let Yd=Gd=class extends Yt{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:$i,tickMethod:Bi,tickCount:5}}constructor(e){super(e)}clone(){return new Gd(this.options)}};Yd=Gd=TC([L3(CC,LC)],Yd);function _l(t,e,n){if(t===null)return[-.5,.5];const r=Ox(t,e),a=new Ia({domain:r,range:[0,1],padding:n}).getBandWidth();return[-a/2,a/2]}function Ml(t,e,n){return e*(1-t)+n*t}const _2=(t={})=>{const{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(a,o)=>{const{encode:s,scale:c}=o,{x:l,y:u}=c,[f]=Ot(s,"x"),[d]=Ot(s,"y"),h=_l(f,l,n),p=_l(d,u,r),v=a.map(()=>Ml(i(),...p)),g=a.map(()=>Ml(i(),...h));return[a,X({scale:{x:{padding:.5},y:{padding:.5}}},o,{encode:{dy:Wt(v),dx:Wt(g)}})]}};_2.props={};const M2=(t={})=>{const{padding:e=0,random:n=Math.random}=t;return(r,i)=>{const{encode:a,scale:o}=i,{x:s}=o,[c]=Ot(a,"x"),l=_l(c,s,e),u=r.map(()=>Ml(n(),...l));return[r,X({scale:{x:{padding:.5}}},i,{encode:{dx:Wt(u)}})]}};M2.props={};const E2=(t={})=>{const{padding:e=0,random:n=Math.random}=t;return(r,i)=>{const{encode:a,scale:o}=i,{y:s}=o,[c]=Ot(a,"y"),l=_l(c,s,e),u=r.map(()=>Ml(n(),...l));return[r,X({scale:{y:{padding:.5}}},i,{encode:{dy:Wt(u)}})]}};E2.props={};var NC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const P2=(t={})=>{const{groupBy:e="x"}=t;return(n,r)=>{const{encode:i}=r,a=NC(i,["x"]),o=Object.entries(a).filter(([f])=>f.startsWith("y")).map(([f])=>[f,Ot(i,f)[0]]),s=o.map(([f])=>[f,new Array(n.length)]),c=oi(e,n,r),l=new Array(c.length);for(let f=0;f<c.length;f++){const h=c[f].flatMap(g=>o.map(([,y])=>+y[g])),[p,v]=Mr(h);l[f]=(p+v)/2}const u=Math.max(...l);for(let f=0;f<c.length;f++){const d=u-l[f],h=c[f];for(const p of h)for(let v=0;v<o.length;v++){const[,g]=o[v],[,y]=s[v];y[p]=+g[p]+d}}return[n,X({},r,{encode:Object.fromEntries(s.map(([f,d])=>[f,Wt(d,Ot(i,f)[1])]))})]}};P2.props={};const A2=(t={})=>{const{groupBy:e="x",series:n=!0}=t;return(r,i)=>{const{encode:a}=i,[o]=Ot(a,"y"),[s,c]=Ot(a,"y1");n?ts(a,"series","color"):Ot(a,"color");const l=oi(e,r,i),u=new Array(r.length);for(const f of l){const d=f.map(h=>+o[h]);for(let h=0;h<f.length;h++){const p=f[h],v=Math.max(...d.filter((g,y)=>y!==h));u[p]=o[p]>v?v:o[p]}}return[r,X({},i,{encode:{y1:Wt(u,c)}})]}};A2.props={};function xg(t,e){return[t[0]]}function RC(t,e){const n=t.length-1;return[t[n]]}function IC(t,e){const n=to(t,r=>e[r]);return[t[n]]}function jC(t,e){const n=bu(t,r=>e[r]);return[t[n]]}function DC(t){return typeof t=="function"?t:{first:xg,last:RC,max:IC,min:jC}[t]||xg}const ku=(t={})=>{const{groupBy:e="series",channel:n,selector:r}=t;return(i,a)=>{const{encode:o}=a,s=oi(e,i,a),[c]=Ot(o,n),l=DC(r);return[s.flatMap(u=>l(u,c)),a]}};ku.props={};var $C=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const k2=(t={})=>{const{selector:e}=t,n=$C(t,["selector"]);return ku(Object.assign({channel:"x",selector:e},n))};k2.props={};var BC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const T2=(t={})=>{const{selector:e}=t,n=BC(t,["selector"]);return ku(Object.assign({channel:"y",selector:e},n))};T2.props={};var FC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function si(t){return e=>e===null?t:`${t} of ${e}`}function zC(t){if(typeof t=="function")return[t,null];const n={mean:GC,max:WC,count:VC,first:UC,last:qC,sum:XC,min:HC,median:YC}[t];if(!n)throw new Error(`Unknown reducer: ${t}.`);return n()}function GC(){const t=(n,r)=>rs(n,i=>+r[i]),e=si("mean");return[t,e]}function YC(){const t=(n,r)=>yp(n,i=>+r[i]),e=si("median");return[t,e]}function WC(){const t=(n,r)=>Ct(n,i=>+r[i]),e=si("max");return[t,e]}function HC(){const t=(n,r)=>bn(n,i=>+r[i]),e=si("min");return[t,e]}function VC(){const t=(n,r)=>n.length,e=si("count");return[t,e]}function XC(){const t=(n,r)=>Cn(n,i=>+r[i]),e=si("sum");return[t,e]}function UC(){const t=(n,r)=>r[n[0]],e=si("first");return[t,e]}function qC(){const t=(n,r)=>r[n[n.length-1]],e=si("last");return[t,e]}const Ap=(t={})=>{const{groupBy:e}=t,n=FC(t,["groupBy"]);return(r,i)=>{const{data:a,encode:o}=i,s=e(r,i);if(!s)return[r,i];const c=(h,p)=>{if(h)return h;const{from:v}=p;if(!v)return h;const[,g]=Ot(o,v);return g},l=Object.entries(n).map(([h,p])=>{const[v,g]=zC(p),[y,m]=Ot(o,h),b=c(m,p),x=s.map(w=>v(w,y??a));return[h,Object.assign(Object.assign({},c5(x,(g==null?void 0:g(b))||b)),{aggregate:!0})]}),u=Object.keys(o).map(h=>{const[p,v]=Ot(o,h),g=s.map(y=>p[y[0]]);return[h,Wt(g,v)]}),f=s.map(h=>a[h[0]]);return[Ui(s),X({},i,{data:f,encode:Object.fromEntries([...u,...l])})]}};Ap.props={};var KC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Gs=(t={})=>{const{channels:e=["x","y"]}=t,n=KC(t,["channels"]),r=(i,a)=>oi(e,i,a);return Ap(Object.assign(Object.assign({},n),{groupBy:r}))};Gs.props={};const C2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["x","color","series"]}));C2.props={};const L2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["y","color","series"]}));L2.props={};const N2=(t={})=>Gs(Object.assign(Object.assign({},t),{channels:["color"]}));N2.props={};var R2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ZC(t,e,n){const{by:r=t,reducer:i="max"}=e,[a]=Ot(n,r);if(typeof i=="function")return o=>i(o,a);if(i==="max")return o=>Ct(o,s=>+a[s]);if(i==="min")return o=>bn(o,s=>+a[s]);if(i==="sum")return o=>Cn(o,s=>+a[s]);if(i==="median")return o=>yp(o,s=>+a[s]);if(i==="mean")return o=>rs(o,s=>+a[s]);if(i==="first")return o=>a[o[0]];if(i==="last")return o=>a[o[o.length-1]];throw new Error(`Unknown reducer: ${i}`)}function QC(t,e,n){const{reverse:r,channel:i}=n,{encode:a}=e,[o]=Ot(a,i),s=Er(t,c=>o[c]);return r&&s.reverse(),[s,e]}function JC(t,e,n){if(!Array.isArray(n))return t;const r=new Set(n);return t.filter(i=>r.has(e[i]))}function tL(t,e,n){var r;const{reverse:i,slice:a,channel:o}=n,s=R2(n,["reverse","slice","channel"]),{encode:c,scale:l={}}=e,u=(r=l[o])===null||r===void 0?void 0:r.domain,[f]=Ot(c,o),d=ZC(o,s,c),h=JC(t,f,u),p=w5(h,d,y=>f[y]);i&&p.reverse();const v=typeof a=="number"?[0,a]:a,g=a?p.slice(...v):p;return[t,X(e,{scale:{[o]:{domain:g}}})]}const Tu=(t={})=>{const{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=R2(t,["reverse","slice","channel","ordinal"]);return(o,s)=>i?tL(o,s,Object.assign({reverse:e,slice:n,channel:r},a)):QC(o,s,Object.assign({reverse:e,slice:n,channel:r},a))};Tu.props={};const I2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"x"}));I2.props={};const j2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"color"}));j2.props={};const D2=(t={})=>Tu(Object.assign(Object.assign({},t),{channel:"y"}));D2.props={};function eL(t,e){return typeof e=="string"?t.map(n=>n[e]):t.map(e)}function nL(t,e){if(typeof t=="function")return n=>t(n,e);if(t==="sum")return n=>Cn(n,r=>+e[r]);throw new Error(`Unknown reducer: ${t}`)}const $2=(t={})=>{const{field:e,channel:n="y",reducer:r="sum"}=t;return(i,a)=>{const{data:o,encode:s}=a,[c]=Ot(s,"x"),l=e?eL(o,e):Ot(s,n)[0],u=nL(r,l),f=dx(i,u,d=>c[d]).map(d=>d[1]);return[i,X({},a,{scale:{x:{flex:f}}})]}};$2.props={};function se([t,e],[n,r]){return[t-n,e-r]}function fc([t,e],[n,r]){return[t+n,e+r]}function Jt([t,e],[n,r]){return Math.sqrt(Math.pow(t-n,2)+Math.pow(e-r,2))}function Nn([t,e]){return Math.atan2(e,t)}function ja([t,e]){return Nn([t,e])+Math.PI/2}function B2(t,e){const n=Nn(t),r=Nn(e);return n<r?r-n:Math.PI*2-(n-r)}function kp(t){let e=1/0,n=-1/0,r=1/0,i=-1/0;for(const[s,c]of t)e=Math.min(s,e),n=Math.max(s,n),r=Math.min(c,r),i=Math.max(c,i);const a=n-e,o=i-r;return[e,r,a,o]}function F2([t,e],[n,r]){return[(t+n)/2,(e+r)/2]}function rL(t){const{padding:e=0,direction:n="col"}=t;return(r,i,a)=>{const o=r.length;if(o===0)return[];const{innerWidth:s,innerHeight:c}=a,l=c/s;let u=Math.ceil(Math.sqrt(i/l)),f=s/u,d=Math.ceil(i/u),h=d*f;for(;h>c;)u=u+1,f=s/u,d=Math.ceil(i/u),h=d*f;const p=c-d*f,v=d<=1?0:p/(d-1),[g,y]=d<=1?[(s-o*f)/(o-1),(c-f)/2]:[0,0];return r.map((m,b)=>{const[x,w,O,S]=kp(m),_=n==="col"?b%u:Math.floor(b/d),M=n==="col"?Math.floor(b/u):b%d,E=_*f,P=(d-M-1)*f+p,T=(f-e)/O,A=(f-e)/S,k=E-x+g*_+1/2*e,C=P-w-v*M-y+1/2*e;return`translate(${k}, ${C}) scale(${T}, ${A})`})}}const z2=t=>(e,n)=>[e,X({},n,{modifier:rL(t),axis:!1})];z2.props={};var iL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const wg="thresholds";function aL(t){const[e,n]=Mr(t);return Math.min(200,N5(t,e,n))}const Tp=(t={})=>{const{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=iL(t,["groupChannels","binChannels"]),i={},a=(o,s)=>{const{encode:c}=s,l=n.map(p=>{const[v]=Ot(c,p);return v}),u=Q(r,wg),f=o.filter(p=>l.every(v=>zt(v[p]))),d=[...e.map(p=>{const[v]=Ot(c,p);return v}).filter(zt).map(p=>v=>p[v]),...n.map((p,v)=>{const g=l[v],y=u[p]||aL(g),m=T5().thresholds(y).value(x=>+g[x])(f),b=new Map(m.flatMap(x=>{const{x0:w,x1:O}=x,S=`${w},${O}`;return x.map(_=>[_,S])}));return i[p]=b,x=>b.get(x)})],h=p=>d.map(v=>v(p)).join("-");return Array.from(te(f,h).values())};return Ap(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([o])=>!o.startsWith(wg)))),Object.fromEntries(n.flatMap(o=>{const s=([l])=>+i[o].get(l).split(",")[0],c=([l])=>+i[o].get(l).split(",")[1];return c.from=o,[[o,s],[`${o}1`,c]]}))),{groupBy:a}))};Tp.props={};const G2=(t={})=>{const{thresholds:e}=t;return Tp(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};G2.props={};function oL(t,e,n,r){const i=t.length;if(r>=i||r===0)return t;const a=h=>e[t[h]]*1,o=h=>n[t[h]]*1,s=[],c=(i-2)/(r-2);let l=0,u,f,d;s.push(l);for(let h=0;h<r-2;h++){let p=0,v=0,g=Math.floor((h+1)*c)+1,y=Math.floor((h+2)*c)+1;y=Math.min(y,i);const m=y-g;for(;g<y;g++)p+=a(g),v+=o(g);p/=m,v/=m;let b=Math.floor((h+0)*c)+1;const x=Math.floor((h+1)*c)+1,w=[a(l),o(l)];for(u=f=-1;b<x;b++)f=Math.abs((w[0]-p)*(a(b)-w[1])-(w[0]-o(b))*(v-w[0]))*.5,f>u&&(u=f,d=b);s.push(d),l=d}return s.push(i-1),s.map(h=>t[h])}function sL(t){if(typeof t=="function")return t;if(t==="lttb")return oL;const e={first:r=>[r[0]],last:r=>[r[r.length-1]],min:(r,i,a)=>[r[bu(r,o=>a[o])]],max:(r,i,a)=>[r[to(r,o=>a[o])]],median:(r,i,a)=>[r[R5(r,o=>a[o])]]},n=e[t]||e.median;return(r,i,a,o)=>{const s=Math.max(1,Math.floor(r.length/o));return cL(r,s).flatMap(l=>n(l,i,a))}}function cL(t,e){const n=t.length,r=[];let i=0;for(;i<n;)r.push(t.slice(i,i+=e));return r}const Y2=(t={})=>{const{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=sL(e);return(a,o)=>{const{encode:s}=o,c=oi(r,a,o),[l]=Ot(s,"x"),[u]=Ot(s,"y");return[c.flatMap(f=>i(f,l,u,n)),o]}};Y2.props={};function lL(t){return typeof t=="object"?[t.value,t.ordinal]:[t,!0]}const W2=(t={})=>(e,n)=>{const{encode:r,data:i}=n,a=Object.entries(t).map(([u,f])=>{const[d]=Ot(r,u);if(!d)return null;const[h,p=!0]=lL(f);if(typeof h=="function")return v=>h(d[v]);if(p){const v=Array.isArray(h)?h:[h];return v.length===0?null:g=>v.includes(d[g])}else{const[v,g]=h;return y=>d[y]>=v&&d[y]<=g}}).filter(zt);if(a.length===0)return[e,n];const o=u=>a.every(f=>f(u)),s=e.filter(o),c=s.map((u,f)=>f),l=Object.entries(r).map(([u,f])=>[u,Object.assign(Object.assign({},f),{value:c.map(d=>f.value[s[d]]).filter(d=>d!==void 0)})]);return[c,X({},n,{encode:Object.fromEntries(l),data:s.map(u=>i[u])})]};W2.props={};function Ut(t){return function(){return t}}const Og=Math.abs,Re=Math.atan2,mi=Math.cos,uL=Math.max,Tf=Math.min,qn=Math.sin,va=Math.sqrt,Ie=1e-12,ls=Math.PI,El=ls/2,fL=2*ls;function dL(t){return t>1?0:t<-1?ls:Math.acos(t)}function Sg(t){return t>=1?El:t<=-1?-El:Math.asin(t)}const Wd=Math.PI,Hd=2*Wd,_i=1e-6,hL=Hd-_i;function H2(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function pL(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return H2;const n=10**e;return function(r){this._+=r[0];for(let i=1,a=r.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}let Cp=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?H2:pL(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,r,i){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(e,n,r,i,a,o){this._append`C${+e},${+n},${+r},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(e,n,r,i,a){if(e=+e,n=+n,r=+r,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,c=r-e,l=i-n,u=o-e,f=s-n,d=u*u+f*f;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(d>_i)if(!(Math.abs(f*c-l*u)>_i)||!a)this._append`L${this._x1=e},${this._y1=n}`;else{let h=r-o,p=i-s,v=c*c+l*l,g=h*h+p*p,y=Math.sqrt(v),m=Math.sqrt(d),b=a*Math.tan((Wd-Math.acos((v+d-g)/(2*y*m)))/2),x=b/m,w=b/y;Math.abs(x-1)>_i&&this._append`L${e+x*u},${n+x*f}`,this._append`A${a},${a},0,0,${+(f*h>u*p)},${this._x1=e+w*c},${this._y1=n+w*l}`}}arc(e,n,r,i,a,o){if(e=+e,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),c=r*Math.sin(i),l=e+s,u=n+c,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${u}`:(Math.abs(this._x1-l)>_i||Math.abs(this._y1-u)>_i)&&this._append`L${l},${u}`,r&&(d<0&&(d=d%Hd+Hd),d>hL?this._append`A${r},${r},0,1,${f},${e-s},${n-c}A${r},${r},0,1,${f},${this._x1=l},${this._y1=u}`:d>_i&&this._append`A${r},${r},0,${+(d>=Wd)},${f},${this._x1=e+r*Math.cos(a)},${this._y1=n+r*Math.sin(a)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function jn(){return new Cp}jn.prototype=Cp.prototype;function Lp(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new Cp(e)}function vL(t){return t.innerRadius}function gL(t){return t.outerRadius}function yL(t){return t.startAngle}function mL(t){return t.endAngle}function bL(t){return t&&t.padAngle}function xL(t,e,n,r,i,a,o,s){var c=n-t,l=r-e,u=o-i,f=s-a,d=f*c-u*l;if(!(d*d<Ie))return d=(u*(e-a)-f*(t-i))/d,[t+d*c,e+d*l]}function dc(t,e,n,r,i,a,o){var s=t-n,c=e-r,l=(o?a:-a)/va(s*s+c*c),u=l*c,f=-l*s,d=t+u,h=e+f,p=n+u,v=r+f,g=(d+p)/2,y=(h+v)/2,m=p-d,b=v-h,x=m*m+b*b,w=i-a,O=d*v-p*h,S=(b<0?-1:1)*va(uL(0,w*w*x-O*O)),_=(O*b-m*S)/x,M=(-O*m-b*S)/x,E=(O*b+m*S)/x,P=(-O*m+b*S)/x,T=_-g,A=M-y,k=E-g,C=P-y;return T*T+A*A>k*k+C*C&&(_=E,M=P),{cx:_,cy:M,x01:-u,y01:-f,x11:_*(i/w-1),y11:M*(i/w-1)}}function Cu(){var t=vL,e=gL,n=Ut(0),r=null,i=yL,a=mL,o=bL,s=null,c=Lp(l);function l(){var u,f,d=+t.apply(this,arguments),h=+e.apply(this,arguments),p=i.apply(this,arguments)-El,v=a.apply(this,arguments)-El,g=Og(v-p),y=v>p;if(s||(s=u=c()),h<d&&(f=h,h=d,d=f),!(h>Ie))s.moveTo(0,0);else if(g>fL-Ie)s.moveTo(h*mi(p),h*qn(p)),s.arc(0,0,h,p,v,!y),d>Ie&&(s.moveTo(d*mi(v),d*qn(v)),s.arc(0,0,d,v,p,y));else{var m=p,b=v,x=p,w=v,O=g,S=g,_=o.apply(this,arguments)/2,M=_>Ie&&(r?+r.apply(this,arguments):va(d*d+h*h)),E=Tf(Og(h-d)/2,+n.apply(this,arguments)),P=E,T=E,A,k;if(M>Ie){var C=Sg(M/d*qn(_)),L=Sg(M/h*qn(_));(O-=C*2)>Ie?(C*=y?1:-1,x+=C,w-=C):(O=0,x=w=(p+v)/2),(S-=L*2)>Ie?(L*=y?1:-1,m+=L,b-=L):(S=0,m=b=(p+v)/2)}var I=h*mi(m),R=h*qn(m),j=d*mi(w),D=d*qn(w);if(E>Ie){var $=h*mi(b),B=h*qn(b),F=d*mi(x),Y=d*qn(x),U;if(g<ls)if(U=xL(I,R,F,Y,$,B,j,D)){var K=I-U[0],V=R-U[1],W=$-U[0],J=B-U[1],et=1/qn(dL((K*W+V*J)/(va(K*K+V*V)*va(W*W+J*J)))/2),it=va(U[0]*U[0]+U[1]*U[1]);P=Tf(E,(d-it)/(et-1)),T=Tf(E,(h-it)/(et+1))}else P=T=0}S>Ie?T>Ie?(A=dc(F,Y,I,R,h,T,y),k=dc($,B,j,D,h,T,y),s.moveTo(A.cx+A.x01,A.cy+A.y01),T<E?s.arc(A.cx,A.cy,T,Re(A.y01,A.x01),Re(k.y01,k.x01),!y):(s.arc(A.cx,A.cy,T,Re(A.y01,A.x01),Re(A.y11,A.x11),!y),s.arc(0,0,h,Re(A.cy+A.y11,A.cx+A.x11),Re(k.cy+k.y11,k.cx+k.x11),!y),s.arc(k.cx,k.cy,T,Re(k.y11,k.x11),Re(k.y01,k.x01),!y))):(s.moveTo(I,R),s.arc(0,0,h,m,b,!y)):s.moveTo(I,R),!(d>Ie)||!(O>Ie)?s.lineTo(j,D):P>Ie?(A=dc(j,D,$,B,d,-P,y),k=dc(I,R,F,Y,d,-P,y),s.lineTo(A.cx+A.x01,A.cy+A.y01),P<E?s.arc(A.cx,A.cy,P,Re(A.y01,A.x01),Re(k.y01,k.x01),!y):(s.arc(A.cx,A.cy,P,Re(A.y01,A.x01),Re(A.y11,A.x11),!y),s.arc(0,0,d,Re(A.cy+A.y11,A.cx+A.x11),Re(k.cy+k.y11,k.cx+k.x11),y),s.arc(k.cx,k.cy,P,Re(k.y11,k.x11),Re(k.y01,k.x01),!y))):s.arc(0,0,d,w,x,y)}if(s.closePath(),u)return s=null,u+""||null}return l.centroid=function(){var u=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,f=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-ls/2;return[mi(f)*u,qn(f)*u]},l.innerRadius=function(u){return arguments.length?(t=typeof u=="function"?u:Ut(+u),l):t},l.outerRadius=function(u){return arguments.length?(e=typeof u=="function"?u:Ut(+u),l):e},l.cornerRadius=function(u){return arguments.length?(n=typeof u=="function"?u:Ut(+u),l):n},l.padRadius=function(u){return arguments.length?(r=u==null?null:typeof u=="function"?u:Ut(+u),l):r},l.startAngle=function(u){return arguments.length?(i=typeof u=="function"?u:Ut(+u),l):i},l.endAngle=function(u){return arguments.length?(a=typeof u=="function"?u:Ut(+u),l):a},l.padAngle=function(u){return arguments.length?(o=typeof u=="function"?u:Ut(+u),l):o},l.context=function(u){return arguments.length?(s=u??null,l):s},l}function V2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function X2(t){this._context=t}X2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Ys(t){return new X2(t)}function U2(t){return t[0]}function q2(t){return t[1]}function Jr(t,e){var n=Ut(!0),r=null,i=Ys,a=null,o=Lp(s);t=typeof t=="function"?t:t===void 0?U2:Ut(t),e=typeof e=="function"?e:e===void 0?q2:Ut(e);function s(c){var l,u=(c=V2(c)).length,f,d=!1,h;for(r==null&&(a=i(h=o())),l=0;l<=u;++l)!(l<u&&n(f=c[l],l,c))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+t(f,l,c),+e(f,l,c));if(h)return a=null,h+""||null}return s.x=function(c){return arguments.length?(t=typeof c=="function"?c:Ut(+c),s):t},s.y=function(c){return arguments.length?(e=typeof c=="function"?c:Ut(+c),s):e},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Ut(!!c),s):n},s.curve=function(c){return arguments.length?(i=c,r!=null&&(a=i(r)),s):i},s.context=function(c){return arguments.length?(c==null?r=a=null:a=i(r=c),s):r},s}function Vd(t,e,n){var r=null,i=Ut(!0),a=null,o=Ys,s=null,c=Lp(l);t=typeof t=="function"?t:t===void 0?U2:Ut(+t),e=typeof e=="function"?e:Ut(e===void 0?0:+e),n=typeof n=="function"?n:n===void 0?q2:Ut(+n);function l(f){var d,h,p,v=(f=V2(f)).length,g,y=!1,m,b=new Array(v),x=new Array(v);for(a==null&&(s=o(m=c())),d=0;d<=v;++d){if(!(d<v&&i(g=f[d],d,f))===y)if(y=!y)h=d,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),p=d-1;p>=h;--p)s.point(b[p],x[p]);s.lineEnd(),s.areaEnd()}y&&(b[d]=+t(g,d,f),x[d]=+e(g,d,f),s.point(r?+r(g,d,f):b[d],n?+n(g,d,f):x[d]))}if(m)return s=null,m+""||null}function u(){return Jr().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(t=typeof f=="function"?f:Ut(+f),r=null,l):t},l.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Ut(+f),l):t},l.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Ut(+f),l):r},l.y=function(f){return arguments.length?(e=typeof f=="function"?f:Ut(+f),n=null,l):e},l.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Ut(+f),l):e},l.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Ut(+f),l):n},l.lineX0=l.lineY0=function(){return u().x(t).y(e)},l.lineY1=function(){return u().x(t).y(n)},l.lineX1=function(){return u().x(r).y(e)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Ut(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}var K2=Np(Ys);function Z2(t){this._curve=t}Z2.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};function Np(t){function e(n){return new Z2(t(n))}return e._curve=t,e}function Mo(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(n){return arguments.length?e(Np(n)):e()._curve},t}function wL(){return Mo(Jr().curve(K2))}function OL(){var t=Vd().curve(K2),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Mo(n())},delete t.lineX0,t.lineEndAngle=function(){return Mo(r())},delete t.lineX1,t.lineInnerRadius=function(){return Mo(i())},delete t.lineY0,t.lineOuterRadius=function(){return Mo(a())},delete t.lineY1,t.curve=function(o){return arguments.length?e(Np(o)):e()._curve},t}function Da(){}function Xd(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Rp(t,e){this._context=t,this._k=(1-e)/6}Rp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Xd(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Xd(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return new Rp(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Ip(t,e){this._context=t,this._k=(1-e)/6}Ip.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Xd(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return new Ip(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Q2(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>Ie){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Ie){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*l+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function J2(t,e){this._context=t,this._alpha=e}J2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Q2(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(r){return e?new J2(r,e):new Rp(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function tw(t,e){this._context=t,this._alpha=e}tw.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Q2(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ew=function t(e){function n(r){return e?new tw(r,e):new Ip(r,0)}return n.alpha=function(r){return t(+r)},n}(.5);function nw(t){this._context=t}nw.prototype={areaStart:Da,areaEnd:Da,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function jp(t){return new nw(t)}function _g(t){return t<0?-1:1}function Mg(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(_g(a)+_g(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Eg(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Cf(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function Pl(t){this._context=t}Pl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Cf(this,this._t0,Eg(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Cf(this,Eg(this,n=Mg(this,t,e)),n);break;default:Cf(this,this._t0,n=Mg(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function rw(t){this._context=new iw(t)}(rw.prototype=Object.create(Pl.prototype)).point=function(t,e){Pl.prototype.point.call(this,e,t)};function iw(t){this._context=t}iw.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}};function aw(t){return new Pl(t)}function ow(t){return new rw(t)}function Lu(t,e){this._context=t,this._t=e}Lu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function sw(t){return new Lu(t,.5)}function cw(t){return new Lu(t,0)}function lw(t){return new Lu(t,1)}function qt(t){const{transformations:e}=t.getOptions();return e.map(([r])=>r).filter(r=>r==="transpose").length%2!==0}function Ht(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="polar")}function Nu(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="reflect")&&e.some(([n])=>n.startsWith("transpose"))}function uw(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="helix")}function Ru(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="parallel")}function fw(t){const{transformations:e}=t.getOptions();return e.some(([n])=>n==="fisheye")}function SL(t){return Ru(t)&&Ht(t)}function eo(t){return uw(t)||Ht(t)}function _L(t){return Ht(t)&&qt(t)}function ML(t){if(eo(t)){const[e,n]=t.getSize(),r=t.getOptions().transformations.find(i=>i[0]==="polar");if(r)return Math.max(e,n)/2*r[4]}return 0}function Iu(t){const{transformations:e}=t.getOptions(),[,,,n,r]=e.find(i=>i[0]==="polar");return[+n,+r]}function Dp(t,e=!0){const{transformations:n}=t.getOptions(),[,r,i]=n.find(a=>a[0]==="polar");return e?[+r*180/Math.PI,+i*180/Math.PI]:[r,i]}function EL(t,e){const{transformations:n}=t.getOptions(),[,...r]=n.find(i=>i[0]===e);return r}var dw={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,l,u){this.fn=c,this.context=l,this.once=u||!1}function a(c,l,u,f,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var h=new i(u,f||c,d),p=n?n+l:l;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function o(c,l){--c._eventsCount===0?c._events=new r:delete c._events[l]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],u,f;if(this._eventsCount===0)return l;for(f in u=this._events)e.call(u,f)&&l.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},s.prototype.listeners=function(l){var u=n?n+l:l,f=this._events[u];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,p=new Array(h);d<h;d++)p[d]=f[d].fn;return p},s.prototype.listenerCount=function(l){var u=n?n+l:l,f=this._events[u];return f?f.fn?1:f.length:0},s.prototype.emit=function(l,u,f,d,h,p){var v=n?n+l:l;if(!this._events[v])return!1;var g=this._events[v],y=arguments.length,m,b;if(g.fn){switch(g.once&&this.removeListener(l,g.fn,void 0,!0),y){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,u),!0;case 3:return g.fn.call(g.context,u,f),!0;case 4:return g.fn.call(g.context,u,f,d),!0;case 5:return g.fn.call(g.context,u,f,d,h),!0;case 6:return g.fn.call(g.context,u,f,d,h,p),!0}for(b=1,m=new Array(y-1);b<y;b++)m[b-1]=arguments[b];g.fn.apply(g.context,m)}else{var x=g.length,w;for(b=0;b<x;b++)switch(g[b].once&&this.removeListener(l,g[b].fn,void 0,!0),y){case 1:g[b].fn.call(g[b].context);break;case 2:g[b].fn.call(g[b].context,u);break;case 3:g[b].fn.call(g[b].context,u,f);break;case 4:g[b].fn.call(g[b].context,u,f,d);break;default:if(!m)for(w=1,m=new Array(y-1);w<y;w++)m[w-1]=arguments[w];g[b].fn.apply(g[b].context,m)}}return!0},s.prototype.on=function(l,u,f){return a(this,l,u,f,!1)},s.prototype.once=function(l,u,f){return a(this,l,u,f,!0)},s.prototype.removeListener=function(l,u,f,d){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!d||p.once)&&(!f||p.context===f)&&o(this,h);else{for(var v=0,g=[],y=p.length;v<y;v++)(p[v].fn!==u||d&&!p[v].once||f&&p[v].context!==f)&&g.push(p[v]);g.length?this._events[h]=g.length===1?g[0]:g:o(this,h)}return this},s.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s})(dw);var PL=dw.exports;const $p=ip(PL);function Bp(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function hw(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ws(){}var us=.7,Al=1/us,xa="\\s*([+-]?\\d+)\\s*",fs="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",or="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",AL=/^#([0-9a-f]{3,8})$/,kL=new RegExp("^rgb\\("+[xa,xa,xa]+"\\)$"),TL=new RegExp("^rgb\\("+[or,or,or]+"\\)$"),CL=new RegExp("^rgba\\("+[xa,xa,xa,fs]+"\\)$"),LL=new RegExp("^rgba\\("+[or,or,or,fs]+"\\)$"),NL=new RegExp("^hsl\\("+[fs,or,or]+"\\)$"),RL=new RegExp("^hsla\\("+[fs,or,or,fs]+"\\)$"),Pg={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Bp(Ws,ju,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ag,formatHex:Ag,formatHsl:IL,formatRgb:kg,toString:kg});function Ag(){return this.rgb().formatHex()}function IL(){return pw(this).formatHsl()}function kg(){return this.rgb().formatRgb()}function ju(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=AL.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Tg(e):n===3?new yn(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?hc(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?hc(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=kL.exec(t))?new yn(e[1],e[2],e[3],1):(e=TL.exec(t))?new yn(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=CL.exec(t))?hc(e[1],e[2],e[3],e[4]):(e=LL.exec(t))?hc(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=NL.exec(t))?Ng(e[1],e[2]/100,e[3]/100,1):(e=RL.exec(t))?Ng(e[1],e[2]/100,e[3]/100,e[4]):Pg.hasOwnProperty(t)?Tg(Pg[t]):t==="transparent"?new yn(NaN,NaN,NaN,0):null}function Tg(t){return new yn(t>>16&255,t>>8&255,t&255,1)}function hc(t,e,n,r){return r<=0&&(t=e=n=NaN),new yn(t,e,n,r)}function jL(t){return t instanceof Ws||(t=ju(t)),t?(t=t.rgb(),new yn(t.r,t.g,t.b,t.opacity)):new yn}function DL(t,e,n,r){return arguments.length===1?jL(t):new yn(t,e,n,r??1)}function yn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}Bp(yn,DL,hw(Ws,{brighter:function(t){return t=t==null?Al:Math.pow(Al,t),new yn(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?us:Math.pow(us,t),new yn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Cg,formatHex:Cg,formatRgb:Lg,toString:Lg}));function Cg(){return"#"+Lf(this.r)+Lf(this.g)+Lf(this.b)}function Lg(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function Lf(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function Ng(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Qn(t,e,n,r)}function pw(t){if(t instanceof Qn)return new Qn(t.h,t.s,t.l,t.opacity);if(t instanceof Ws||(t=ju(t)),!t)return new Qn;if(t instanceof Qn)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(e===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-e)/s+2:o=(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Qn(o,s,c,t.opacity)}function $L(t,e,n,r){return arguments.length===1?pw(t):new Qn(t,e,n,r??1)}function Qn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Bp(Qn,$L,hw(Ws,{brighter:function(t){return t=t==null?Al:Math.pow(Al,t),new Qn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?us:Math.pow(us,t),new Qn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new yn(Nf(t>=240?t-240:t+120,i,r),Nf(t,i,r),Nf(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(t===1?")":", "+t+")")}}));function Nf(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function Pr(t,e,n,r){var i=t-n,a=e-r;return Math.sqrt(i*i+a*a)}function vw(t,e){var n=Math.min.apply(Math,q([],N(t),!1)),r=Math.min.apply(Math,q([],N(e),!1)),i=Math.max.apply(Math,q([],N(t),!1)),a=Math.max.apply(Math,q([],N(e),!1));return{x:n,y:r,width:i-n,height:a-r}}function BL(t,e,n){return Math.atan(-e/t*Math.tan(n))}function FL(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function zL(t,e,n,r,i,a){return n*Math.cos(i)*Math.cos(a)-r*Math.sin(i)*Math.sin(a)+t}function GL(t,e,n,r,i,a){return n*Math.sin(i)*Math.cos(a)+r*Math.cos(i)*Math.sin(a)+e}function YL(t,e,n,r,i,a,o){for(var s=BL(n,r,i),c=1/0,l=-1/0,u=[a,o],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var d=s+f;a<o?a<d&&d<o&&u.push(d):o<d&&d<a&&u.push(d)}for(var f=0;f<u.length;f++){var h=zL(t,e,n,r,i,u[f]);h<c&&(c=h),h>l&&(l=h)}for(var p=FL(n,r,i),v=1/0,g=-1/0,y=[a,o],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var m=p+f;a<o?a<m&&m<o&&y.push(m):o<m&&m<a&&y.push(m)}for(var f=0;f<y.length;f++){var b=GL(t,e,n,r,i,y[f]);b<v&&(v=b),b>g&&(g=b)}return{x:c,y:v,width:l-c,height:g-v}}var WL=1e-4;function gw(t,e,n,r,i,a){var o=-1,s=1/0,c=[n,r],l=20;a&&a>200&&(l=a/10);for(var u=1/l,f=u/10,d=0;d<=l;d++){var h=d*u,p=[i.apply(void 0,q([],N(t.concat([h])),!1)),i.apply(void 0,q([],N(e.concat([h])),!1))],v=Pr(c[0],c[1],p[0],p[1]);v<s&&(o=h,s=v)}if(o===0)return{x:t[0],y:e[0]};if(o===1){var g=t.length;return{x:t[g-1],y:e[g-1]}}s=1/0;for(var d=0;d<32&&!(f<WL);d++){var y=o-f,m=o+f,p=[i.apply(void 0,q([],N(t.concat([y])),!1)),i.apply(void 0,q([],N(e.concat([y])),!1))],v=Pr(c[0],c[1],p[0],p[1]);if(y>=0&&v<s)o=y,s=v;else{var b=[i.apply(void 0,q([],N(t.concat([m])),!1)),i.apply(void 0,q([],N(e.concat([m])),!1))],x=Pr(c[0],c[1],b[0],b[1]);m<=1&&x<s?(o=m,s=x):f*=.5}}return{x:i.apply(void 0,q([],N(t.concat([o])),!1)),y:i.apply(void 0,q([],N(e.concat([o])),!1))}}function yw(t,e,n,r){return Pr(t,e,n,r)}function mw(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}}function HL(t,e,n,r,i,a){var o=[n-t,r-e];if(LT(o,[0,0]))return Math.sqrt((i-t)*(i-t)+(a-e)*(a-e));var s=[-o[1],o[0]];TT(s,s);var c=[i-t,a-e];return Math.abs(CT(c,s))}function Ud(t,e,n,r,i){var a=1-i;return a*a*a*t+3*e*i*a*a+3*n*i*i*a+r*i*i*i}function Rg(t,e,n,r){var i=-3*t+9*e-9*n+3*r,a=6*t-12*e+6*n,o=3*e-3*t,s=[],c,l,u;if(Fo(i,0))Fo(a,0)||(c=-o/a,c>=0&&c<=1&&s.push(c));else{var f=a*a-4*i*o;Fo(f,0)?s.push(-a/(2*i)):f>0&&(u=Math.sqrt(f),c=(-a+u)/(2*i),l=(-a-u)/(2*i),c>=0&&c<=1&&s.push(c),l>=0&&l<=1&&s.push(l))}return s}function VL(t,e,n,r,i,a,o,s){for(var c=[t,o],l=[e,s],u=Rg(t,n,i,o),f=Rg(e,r,a,s),d=0;d<u.length;d++)c.push(Ud(t,n,i,o,u[d]));for(var d=0;d<f.length;d++)l.push(Ud(e,r,a,s,f[d]));return vw(c,l)}function XL(t,e,n,r,i,a,o,s,c,l,u){return gw([t,n,i,o],[e,r,a,s],c,l,Ud,u)}function Ig(t,e,n,r,i,a,o,s,c,l,u){var f=XL(t,e,n,r,i,a,o,s,c,l,u);return Pr(f.x,f.y,c,l)}function UL(t){if(t.length<2)return 0;for(var e=0,n=0;n<t.length-1;n++){var r=t[n],i=t[n+1];e+=Pr(r[0],r[1],i[0],i[1])}return e}function qL(t){return UL(t)}function qd(t,e,n,r){var i=1-r;return i*i*t+2*r*i*e+r*r*n}function jg(t,e,n){var r=t+n-2*e;if(Fo(r,0))return[.5];var i=(t-e)/r;return i<=1&&i>=0?[i]:[]}function KL(t,e,n,r,i,a){var o=jg(t,n,i)[0],s=jg(e,r,a)[0],c=[t,i],l=[e,a];return o!==void 0&&c.push(qd(t,n,i,o)),s!==void 0&&l.push(qd(e,r,a,s)),vw(c,l)}function ZL(t,e,n,r,i,a,o,s){return gw([t,n,i],[e,r,a],o,s,qd)}function QL(t,e,n,r,i,a,o,s){var c=ZL(t,e,n,r,i,a,o,s);return Pr(c.x,c.y,o,s)}var JL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bw={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(JL,function(){function n(w,O,S,_,M){r(w,O,S||0,_||w.length-1,M||a)}function r(w,O,S,_,M){for(;_>S;){if(_-S>600){var E=_-S+1,P=O-S+1,T=Math.log(E),A=.5*Math.exp(2*T/3),k=.5*Math.sqrt(T*A*(E-A)/E)*(P-E/2<0?-1:1),C=Math.max(S,Math.floor(O-P*A/E+k)),L=Math.min(_,Math.floor(O+(E-P)*A/E+k));r(w,O,C,L,M)}var I=w[O],R=S,j=_;for(i(w,S,O),M(w[_],I)>0&&i(w,S,_);R<j;){for(i(w,R,j),R++,j--;M(w[R],I)<0;)R++;for(;M(w[j],I)>0;)j--}M(w[S],I)===0?i(w,S,j):(j++,i(w,j,_)),j<=O&&(S=j+1),O<=j&&(_=j-1)}}function i(w,O,S){var _=w[O];w[O]=w[S],w[S]=_}function a(w,O){return w<O?-1:w>O?1:0}var o=function(O){O===void 0&&(O=9),this._maxEntries=Math.max(4,O),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()};o.prototype.all=function(){return this._all(this.data,[])},o.prototype.search=function(O){var S=this.data,_=[];if(!m(O,S))return _;for(var M=this.toBBox,E=[];S;){for(var P=0;P<S.children.length;P++){var T=S.children[P],A=S.leaf?M(T):T;m(O,A)&&(S.leaf?_.push(T):y(O,A)?this._all(T,_):E.push(T))}S=E.pop()}return _},o.prototype.collides=function(O){var S=this.data;if(!m(O,S))return!1;for(var _=[];S;){for(var M=0;M<S.children.length;M++){var E=S.children[M],P=S.leaf?this.toBBox(E):E;if(m(O,P)){if(S.leaf||y(O,P))return!0;_.push(E)}}S=_.pop()}return!1},o.prototype.load=function(O){if(!(O&&O.length))return this;if(O.length<this._minEntries){for(var S=0;S<O.length;S++)this.insert(O[S]);return this}var _=this._build(O.slice(),0,O.length-1,0);if(!this.data.children.length)this.data=_;else if(this.data.height===_.height)this._splitRoot(this.data,_);else{if(this.data.height<_.height){var M=this.data;this.data=_,_=M}this._insert(_,this.data.height-_.height-1,!0)}return this},o.prototype.insert=function(O){return O&&this._insert(O,this.data.height-1),this},o.prototype.clear=function(){return this.data=b([]),this},o.prototype.remove=function(O,S){if(!O)return this;for(var _=this.data,M=this.toBBox(O),E=[],P=[],T,A,k;_||E.length;){if(_||(_=E.pop(),A=E[E.length-1],T=P.pop(),k=!0),_.leaf){var C=s(O,_.children,S);if(C!==-1)return _.children.splice(C,1),E.push(_),this._condense(E),this}!k&&!_.leaf&&y(_,M)?(E.push(_),P.push(T),T=0,A=_,_=_.children[0]):A?(T++,_=A.children[T],k=!1):_=null}return this},o.prototype.toBBox=function(O){return O},o.prototype.compareMinX=function(O,S){return O.minX-S.minX},o.prototype.compareMinY=function(O,S){return O.minY-S.minY},o.prototype.toJSON=function(){return this.data},o.prototype.fromJSON=function(O){return this.data=O,this},o.prototype._all=function(O,S){for(var _=[];O;)O.leaf?S.push.apply(S,O.children):_.push.apply(_,O.children),O=_.pop();return S},o.prototype._build=function(O,S,_,M){var E=_-S+1,P=this._maxEntries,T;if(E<=P)return T=b(O.slice(S,_+1)),c(T,this.toBBox),T;M||(M=Math.ceil(Math.log(E)/Math.log(P)),P=Math.ceil(E/Math.pow(P,M-1))),T=b([]),T.leaf=!1,T.height=M;var A=Math.ceil(E/P),k=A*Math.ceil(Math.sqrt(P));x(O,S,_,k,this.compareMinX);for(var C=S;C<=_;C+=k){var L=Math.min(C+k-1,_);x(O,C,L,A,this.compareMinY);for(var I=C;I<=L;I+=A){var R=Math.min(I+A-1,L);T.children.push(this._build(O,I,R,M-1))}}return c(T,this.toBBox),T},o.prototype._chooseSubtree=function(O,S,_,M){for(;M.push(S),!(S.leaf||M.length-1===_);){for(var E=1/0,P=1/0,T=void 0,A=0;A<S.children.length;A++){var k=S.children[A],C=h(k),L=v(O,k)-C;L<P?(P=L,E=C<E?C:E,T=k):L===P&&C<E&&(E=C,T=k)}S=T||S.children[0]}return S},o.prototype._insert=function(O,S,_){var M=_?O:this.toBBox(O),E=[],P=this._chooseSubtree(M,this.data,S,E);for(P.children.push(O),u(P,M);S>=0&&E[S].children.length>this._maxEntries;)this._split(E,S),S--;this._adjustParentBBoxes(M,E,S)},o.prototype._split=function(O,S){var _=O[S],M=_.children.length,E=this._minEntries;this._chooseSplitAxis(_,E,M);var P=this._chooseSplitIndex(_,E,M),T=b(_.children.splice(P,_.children.length-P));T.height=_.height,T.leaf=_.leaf,c(_,this.toBBox),c(T,this.toBBox),S?O[S-1].children.push(T):this._splitRoot(_,T)},o.prototype._splitRoot=function(O,S){this.data=b([O,S]),this.data.height=O.height+1,this.data.leaf=!1,c(this.data,this.toBBox)},o.prototype._chooseSplitIndex=function(O,S,_){for(var M,E=1/0,P=1/0,T=S;T<=_-S;T++){var A=l(O,0,T,this.toBBox),k=l(O,T,_,this.toBBox),C=g(A,k),L=h(A)+h(k);C<E?(E=C,M=T,P=L<P?L:P):C===E&&L<P&&(P=L,M=T)}return M||_-S},o.prototype._chooseSplitAxis=function(O,S,_){var M=O.leaf?this.compareMinX:f,E=O.leaf?this.compareMinY:d,P=this._allDistMargin(O,S,_,M),T=this._allDistMargin(O,S,_,E);P<T&&O.children.sort(M)},o.prototype._allDistMargin=function(O,S,_,M){O.children.sort(M);for(var E=this.toBBox,P=l(O,0,S,E),T=l(O,_-S,_,E),A=p(P)+p(T),k=S;k<_-S;k++){var C=O.children[k];u(P,O.leaf?E(C):C),A+=p(P)}for(var L=_-S-1;L>=S;L--){var I=O.children[L];u(T,O.leaf?E(I):I),A+=p(T)}return A},o.prototype._adjustParentBBoxes=function(O,S,_){for(var M=_;M>=0;M--)u(S[M],O)},o.prototype._condense=function(O){for(var S=O.length-1,_=void 0;S>=0;S--)O[S].children.length===0?S>0?(_=O[S-1].children,_.splice(_.indexOf(O[S]),1)):this.clear():c(O[S],this.toBBox)};function s(w,O,S){if(!S)return O.indexOf(w);for(var _=0;_<O.length;_++)if(S(w,O[_]))return _;return-1}function c(w,O){l(w,0,w.children.length,O,w)}function l(w,O,S,_,M){M||(M=b(null)),M.minX=1/0,M.minY=1/0,M.maxX=-1/0,M.maxY=-1/0;for(var E=O;E<S;E++){var P=w.children[E];u(M,w.leaf?_(P):P)}return M}function u(w,O){return w.minX=Math.min(w.minX,O.minX),w.minY=Math.min(w.minY,O.minY),w.maxX=Math.max(w.maxX,O.maxX),w.maxY=Math.max(w.maxY,O.maxY),w}function f(w,O){return w.minX-O.minX}function d(w,O){return w.minY-O.minY}function h(w){return(w.maxX-w.minX)*(w.maxY-w.minY)}function p(w){return w.maxX-w.minX+(w.maxY-w.minY)}function v(w,O){return(Math.max(O.maxX,w.maxX)-Math.min(O.minX,w.minX))*(Math.max(O.maxY,w.maxY)-Math.min(O.minY,w.minY))}function g(w,O){var S=Math.max(w.minX,O.minX),_=Math.max(w.minY,O.minY),M=Math.min(w.maxX,O.maxX),E=Math.min(w.maxY,O.maxY);return Math.max(0,M-S)*Math.max(0,E-_)}function y(w,O){return w.minX<=O.minX&&w.minY<=O.minY&&O.maxX<=w.maxX&&O.maxY<=w.maxY}function m(w,O){return O.minX<=w.maxX&&O.minY<=w.maxY&&O.maxX>=w.minX&&O.maxY>=w.minY}function b(w){return{children:w,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(w,O,S,_,M){for(var E=[O,S];E.length;)if(S=E.pop(),O=E.pop(),!(S-O<=_)){var P=O+Math.ceil((S-O)/_/2)*_;n(w,P,O,S,M),E.push(O,P,P,S)}}return o})})(bw);var tN=bw.exports,G;(function(t){t.GROUP="g",t.CIRCLE="circle",t.ELLIPSE="ellipse",t.IMAGE="image",t.RECT="rect",t.LINE="line",t.POLYLINE="polyline",t.POLYGON="polygon",t.TEXT="text",t.PATH="path",t.HTML="html",t.MESH="mesh"})(G||(G={}));var wa;(function(t){t[t.ZERO=0]="ZERO",t[t.NEGATIVE_ONE=1]="NEGATIVE_ONE"})(wa||(wa={}));var ci=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(e){this.plugins.push(e),this.context.renderingPlugins.push(e)},t.prototype.removeAllRenderingPlugins=function(){var e=this;this.plugins.forEach(function(n){var r=e.context.renderingPlugins.indexOf(n);r>=0&&e.context.renderingPlugins.splice(r,1)})},t}(),eN=function(){function t(e){this.clipSpaceNearZ=wa.NEGATIVE_ONE,this.plugins=[],this.config=z({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1},e)}return t.prototype.registerPlugin=function(e){var n=this.plugins.findIndex(function(r){return r===e});n===-1&&this.plugins.push(e)},t.prototype.unregisterPlugin=function(e){var n=this.plugins.findIndex(function(r){return r===e});n>-1&&this.plugins.splice(n,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(e){return this.plugins.find(function(n){return n.name===e})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(e){Object.assign(this.config,e)},t}();function na(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Rf(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function el(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function Dg(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function nN(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function rN(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function Oa(t){return t===void 0?0:t>360||t<-360?t%360:t}function We(t,e,n){return e===void 0&&(e=0),n===void 0&&(n=0),Array.isArray(t)&&t.length===3?br(t):de(t)?St(t,e,n):St(t[0],t[1]||e,t[2]||n)}function re(t){return t*(Math.PI/180)}function Pn(t){return t*(180/Math.PI)}function iN(t){return 360*t}function aN(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n,s=r*r,c=i*i,l=a*a,u=o+s+c+l,f=n*a-r*i;return f>.499995*u?(t[0]=Math.PI/2,t[1]=2*Math.atan2(r,n),t[2]=0):f<-.499995*u?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(r,n),t[2]=0):(t[0]=Math.asin(2*(n*i-a*r)),t[1]=Math.atan2(2*(n*a+r*i),1-2*(c+l)),t[2]=Math.atan2(2*(n*r+i*a),1-2*(s+c))),t}function oN(t,e){var n,r,i=Math.PI*.5,a=N(Aa(yt(),e),3),o=a[0],s=a[1],c=a[2],l=Math.asin(-e[2]/o);return l<i?l>-i?(n=Math.atan2(e[6]/s,e[10]/c),r=Math.atan2(e[1]/o,e[0]/o)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=l,t[2]=r,t}function If(t,e){return e.length===16?oN(t,e):aN(t,e)}function sN(t,e,n,r,i){var a=Math.cos(t),o=Math.sin(t);return Yk(r*a,i*o,0,-r*o,i*a,0,e,n,1)}function cN(t,e,n,r,i,a,o,s){s===void 0&&(s=!1);var c=2*a/(n-e),l=2*a/(r-i),u=(n+e)/(n-e),f=(r+i)/(r-i),d,h;return s?(d=-o/(o-a),h=-o*a/(o-a)):(d=-(o+a)/(o-a),h=-2*o*a/(o-a)),t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=-1,t[12]=0,t[13]=0,t[14]=h,t[15]=0,t}function $g(t){var e=t[0],n=t[1],r=t[3],i=t[4],a=Math.sqrt(e*e+n*n),o=Math.sqrt(r*r+i*i),s=e*i-n*r;s<0&&(e<i?a=-a:o=-o),a&&(e*=1/a,n*=1/a),o&&(r*=1/o,i*=1/o);var c=Math.atan2(n,e),l=Pn(c);return[t[6],t[7],a,o,l]}var Kn=Nt(),zn=Nt(),bo=da(),ft=[yt(),yt(),yt()],Bg=yt();function lN(t,e,n,r,i,a){if(!uN(Kn,t)||(Ri(zn,Kn),zn[3]=0,zn[7]=0,zn[11]=0,zn[15]=1,Math.abs(Gb(zn))<1e-8))return!1;var o=Kn[3],s=Kn[7],c=Kn[11],l=Kn[12],u=Kn[13],f=Kn[14],d=Kn[15];if(o!==0||s!==0||c!==0){bo[0]=o,bo[1]=s,bo[2]=c,bo[3]=d;var h=Wn(zn,zn);if(!h)return!1;zb(zn,zn),ha(i,bo,zn)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=l,e[1]=u,e[2]=f,fN(ft,Kn),n[0]=wr(ft[0]),Ti(ft[0],ft[0]),r[0]=nr(ft[0],ft[1]),jf(ft[1],ft[1],ft[0],1,-r[0]),n[1]=wr(ft[1]),Ti(ft[1],ft[1]),r[0]/=n[1],r[1]=nr(ft[0],ft[2]),jf(ft[2],ft[2],ft[0],1,-r[1]),r[2]=nr(ft[1],ft[2]),jf(ft[2],ft[2],ft[1],1,-r[2]),n[2]=wr(ft[2]),Ti(ft[2],ft[2]),r[1]/=n[2],r[2]/=n[2],Qc(Bg,ft[1],ft[2]),nr(ft[0],Bg)<0)for(var p=0;p<3;p++)n[p]*=-1,ft[p][0]*=-1,ft[p][1]*=-1,ft[p][2]*=-1;return a[0]=.5*Math.sqrt(Math.max(1+ft[0][0]-ft[1][1]-ft[2][2],0)),a[1]=.5*Math.sqrt(Math.max(1-ft[0][0]+ft[1][1]-ft[2][2],0)),a[2]=.5*Math.sqrt(Math.max(1-ft[0][0]-ft[1][1]+ft[2][2],0)),a[3]=.5*Math.sqrt(Math.max(1+ft[0][0]+ft[1][1]+ft[2][2],0)),ft[2][1]>ft[1][2]&&(a[0]=-a[0]),ft[0][2]>ft[2][0]&&(a[1]=-a[1]),ft[1][0]>ft[0][1]&&(a[2]=-a[2]),!0}function uN(t,e){var n=e[15];if(n===0)return!1;for(var r=1/n,i=0;i<16;i++)t[i]=e[i]*r;return!0}function fN(t,e){t[0][0]=e[0],t[0][1]=e[1],t[0][2]=e[2],t[1][0]=e[4],t[1][1]=e[5],t[1][2]=e[6],t[2][0]=e[8],t[2][1]=e[9],t[2][2]=e[10]}function jf(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var be=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(e){return!e||e.halfExtents[0]===0&&e.halfExtents[1]===0&&e.halfExtents[2]===0},t.prototype.update=function(e,n){na(this.center,e),na(this.halfExtents,n),Rf(this.min,this.center,this.halfExtents),el(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(e,n){el(this.center,n,e),Dg(this.center,this.center,.5),Rf(this.halfExtents,n,e),Dg(this.halfExtents,this.halfExtents,.5),na(this.min,e),na(this.max,n)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],a=n[2],o=this.halfExtents,s=o[0],c=o[1],l=o[2],u=r-s,f=r+s,d=i-c,h=i+c,p=a-l,v=a+l,g=e.center,y=g[0],m=g[1],b=g[2],x=e.halfExtents,w=x[0],O=x[1],S=x[2],_=y-w,M=y+w,E=m-O,P=m+O,T=b-S,A=b+S;_<u&&(u=_),M>f&&(f=M),E<d&&(d=E),P>h&&(h=P),T<p&&(p=T),A>v&&(v=A),n[0]=(u+f)*.5,n[1]=(d+h)*.5,n[2]=(p+v)*.5,o[0]=(f-u)*.5,o[1]=(h-d)*.5,o[2]=(v-p)*.5,this.min[0]=u,this.min[1]=d,this.min[2]=p,this.max[0]=f,this.max[1]=h,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(e,n){var r=this.center,i=this.halfExtents,a=e.center,o=e.halfExtents,s=n[0],c=n[4],l=n[8],u=n[1],f=n[5],d=n[9],h=n[2],p=n[6],v=n[10],g=Math.abs(s),y=Math.abs(c),m=Math.abs(l),b=Math.abs(u),x=Math.abs(f),w=Math.abs(d),O=Math.abs(h),S=Math.abs(p),_=Math.abs(v);r[0]=n[12]+s*a[0]+c*a[1]+l*a[2],r[1]=n[13]+u*a[0]+f*a[1]+d*a[2],r[2]=n[14]+h*a[0]+p*a[1]+v*a[2],i[0]=g*o[0]+y*o[1]+m*o[2],i[1]=b*o[0]+x*o[1]+w*o[2],i[2]=O*o[0]+S*o[1]+_*o[2],Rf(this.min,r,i),el(this.max,r,i)},t.prototype.intersects=function(e){var n=this.getMax(),r=this.getMin(),i=e.getMax(),a=e.getMin();return r[0]<=i[0]&&n[0]>=a[0]&&r[1]<=i[1]&&n[1]>=a[1]&&r[2]<=i[2]&&n[2]>=a[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n=new t,r=nN([0,0,0],this.getMin(),e.getMin()),i=rN([0,0,0],this.getMax(),e.getMax());return n.setMinMax(r,i),n},t.prototype.getNegativeFarPoint=function(e){return e.pnVertexFlag===273?na([0,0,0],this.min):e.pnVertexFlag===272?[this.min[0],this.min[1],this.max[2]]:e.pnVertexFlag===257?[this.min[0],this.max[1],this.min[2]]:e.pnVertexFlag===256?[this.min[0],this.max[1],this.max[2]]:e.pnVertexFlag===17?[this.max[0],this.min[1],this.min[2]]:e.pnVertexFlag===16?[this.max[0],this.min[1],this.max[2]]:e.pnVertexFlag===1?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(e){return e.pnVertexFlag===273?na([0,0,0],this.max):e.pnVertexFlag===272?[this.max[0],this.max[1],this.min[2]]:e.pnVertexFlag===257?[this.max[0],this.min[1],this.max[2]]:e.pnVertexFlag===256?[this.max[0],this.min[1],this.min[2]]:e.pnVertexFlag===17?[this.min[0],this.max[1],this.max[2]]:e.pnVertexFlag===16?[this.min[0],this.max[1],this.min[2]]:e.pnVertexFlag===1?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]},t}(),dN=function(){function t(e,n){this.distance=e||0,this.normal=n||St(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(+(this.normal[0]>=0)<<8)+(+(this.normal[1]>=0)<<4)+ +(this.normal[2]>=0)},t.prototype.distanceToPoint=function(e){return nr(e,this.normal)-this.distance},t.prototype.normalize=function(){var e=1/tx(this.normal);Cd(this.normal,this.normal,e),this.distance*=e},t.prototype.intersectsLine=function(e,n,r){var i=this.distanceToPoint(e),a=this.distanceToPoint(n),o=i/(i-a),s=o>=0&&o<=1;return s&&r&&Ld(r,e,n,o),s},t}(),zr;(function(t){t[t.OUTSIDE=4294967295]="OUTSIDE",t[t.INSIDE=0]="INSIDE",t[t.INDETERMINATE=2147483647]="INDETERMINATE"})(zr||(zr={}));var hN=function(){function t(e){if(this.planes=[],e)this.planes=e;else for(var n=0;n<6;n++)this.planes.push(new dN)}return t.prototype.extractFromVPMatrix=function(e){var n=N(e,16),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7],f=n[8],d=n[9],h=n[10],p=n[11],v=n[12],g=n[13],y=n[14],m=n[15];Gn(this.planes[0].normal,o-r,u-s,p-f),this.planes[0].distance=m-v,Gn(this.planes[1].normal,o+r,u+s,p+f),this.planes[1].distance=m+v,Gn(this.planes[2].normal,o+i,u+c,p+d),this.planes[2].distance=m+g,Gn(this.planes[3].normal,o-i,u-c,p-d),this.planes[3].distance=m-g,Gn(this.planes[4].normal,o-a,u-l,p-h),this.planes[4].distance=m-y,Gn(this.planes[5].normal,o+a,u+l,p+h),this.planes[5].distance=m+y,this.planes.forEach(function(b){b.normalize(),b.updatePNVertexFlag()})},t}(),Ee=function(){function t(e,n){e===void 0&&(e=0),n===void 0&&(n=0),this.x=0,this.y=0,this.x=e,this.y=n}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(e){this.x=e.x,this.y=e.y},t}(),Fi=function(){function t(e,n,r,i){this.x=e,this.y=n,this.width=r,this.height=i,this.left=e,this.right=e+r,this.top=n,this.bottom=n+i}return t.prototype.toJSON=function(){},t}(),It="Method not implemented.",ra="Use document.documentElement instead.",pN="Cannot append a destroyed element.",Tt;(function(t){t[t.ORBITING=0]="ORBITING",t[t.EXPLORING=1]="EXPLORING",t[t.TRACKING=2]="TRACKING"})(Tt||(Tt={}));var ds;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ROTATIONAL=1]="ROTATIONAL",t[t.TRANSLATIONAL=2]="TRANSLATIONAL",t[t.CINEMATIC=3]="CINEMATIC"})(ds||(ds={}));var tn;(function(t){t[t.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",t[t.PERSPECTIVE=1]="PERSPECTIVE"})(tn||(tn={}));var xw={UPDATED:"updated"},Fg=2e-4,ww=function(){function t(){this.clipSpaceNearZ=wa.NEGATIVE_ONE,this.eventEmitter=new $p,this.matrix=Nt(),this.right=St(1,0,0),this.up=St(0,1,0),this.forward=St(0,0,1),this.position=St(0,0,1),this.focalPoint=St(0,0,0),this.distanceVector=St(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=Nt(),this.projectionMatrixInverse=Nt(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=Tt.EXPLORING,this.trackingMode=ds.DEFAULT,this.projectionMode=tn.PERSPECTIVE,this.frustum=new hN,this.orthoMatrix=Nt()}return t.prototype.isOrtho=function(){return this.projectionMode===tn.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(e){this.enableUpdate=e},t.prototype.setType=function(e,n){return this.type=e,this.type===Tt.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===Tt.TRACKING&&n!==void 0&&this.setTrackingMode(n),this},t.prototype.setProjectionMode=function(e){return this.projectionMode=e,this},t.prototype.setTrackingMode=function(e){if(this.type!==Tt.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=e,this},t.prototype.setWorldRotation=function(e){return this.rotateWorld=e,this._getAngles(),this},t.prototype.getViewTransform=function(){return Wn(Nt(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(e,n){var r=up(Nt(),[e,n,0]);this.jitteredProjectionMatrix=$e(Nt(),r,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(e){return this.matrix=e,this._update(),this},t.prototype.setFov=function(e){return this.setPerspective(this.near,this.far,e,this.aspect),this},t.prototype.setAspect=function(e){return this.setPerspective(this.near,this.far,this.fov,e),this},t.prototype.setNear=function(e){return this.projectionMode===tn.PERSPECTIVE?this.setPerspective(e,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,e,this.far),this},t.prototype.setFar=function(e){return this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,e,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,e),this},t.prototype.setViewOffset=function(e,n,r,i,a,o){return this.aspect=e/n,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=a,this.view.height=o,this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===tn.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(e){return this.zoom=e,this.projectionMode===tn.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===tn.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(e,n){var r=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),i=r.x,a=r.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(i,a),this.setFocalPoint(i,a),this.setZoom(e),this.rotate(0,0,o);var s=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),c=s.x,l=s.y,u=St(c-i,l-a,0),f=nr(u,this.right)/wr(this.right),d=nr(u,this.up)/wr(this.up);return this.pan(-f,-d),this},t.prototype.setPerspective=function(e,n,r,i){var a;this.projectionMode=tn.PERSPECTIVE,this.fov=r,this.near=e,this.far=n,this.aspect=i;var o=this.near*Math.tan(re(.5*this.fov))/this.zoom,s=2*o,c=this.aspect*s,l=-.5*c;if(!((a=this.view)===null||a===void 0)&&a.enabled){var u=this.view.fullWidth,f=this.view.fullHeight;l+=this.view.offsetX*c/u,o-=this.view.offsetY*s/f,c*=this.view.width/u,s*=this.view.height/f}return cN(this.projectionMatrix,l,l+c,o,o-s,e,this.far,this.clipSpaceNearZ===wa.ZERO),vl(this.projectionMatrix,this.projectionMatrix,St(1,-1,1)),Wn(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(e,n,r,i,a,o){var s;this.projectionMode=tn.ORTHOGRAPHIC,this.rright=n,this.left=e,this.top=r,this.bottom=i,this.near=a,this.far=o;var c=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,f=(this.top+this.bottom)/2,d=u-c,h=u+c,p=f+l,v=f-l;if(!((s=this.view)===null||s===void 0)&&s.enabled){var g=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;d+=g*this.view.offsetX,h=d+g*this.view.width,p-=y*this.view.offsetY,v=p-y*this.view.height}return this.clipSpaceNearZ===wa.NEGATIVE_ONE?Ub(this.projectionMatrix,d,h,v,p,a,o):qb(this.projectionMatrix,d,h,v,p,a,o),vl(this.projectionMatrix,this.projectionMatrix,St(1,-1,1)),Wn(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(e,n,r){n===void 0&&(n=this.position[1]),r===void 0&&(r=this.position[2]);var i=We(e,n,r);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(e,n,r){n===void 0&&(n=this.focalPoint[1]),r===void 0&&(r=this.focalPoint[2]);var i=St(0,1,0);if(this.focalPoint=We(e,n,r),this.trackingMode===ds.CINEMATIC){var a=qv(yt(),this.focalPoint,this.position);e=a[0],n=a[1],r=a[2];var o=wr(a),s=Pn(Math.asin(n/o)),c=90+Pn(Math.atan2(r,e)),l=Nt();Wb(l,l,re(c)),Yb(l,l,re(s)),i=Oe(yt(),[0,1,0],l)}return Wn(this.matrix,Kb(Nt(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(e){if(this.distance===e||e<0)return this;this.distance=e,this.distance<Fg&&(this.distance=Fg),this.dollyingStep=this.distance/100;var n=yt();e=this.distance;var r=this.forward,i=this.focalPoint;return n[0]=e*r[0]+i[0],n[1]=e*r[1]+i[1],n[2]=e*r[2]+i[2],this._setPosition(n),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(e){return this.maxDistance=e,this},t.prototype.setMinDistance=function(e){return this.minDistance=e,this},t.prototype.setAzimuth=function(e){return this.azimuth=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(e){return this.elevation=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(e){return this.roll=Oa(e),this.computeMatrix(),this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var e=Hr(ve(),[0,0,1],re(this.roll));Rs(this.matrix);var n=Hr(ve(),[1,0,0],re((this.rotateWorld&&this.type!==Tt.TRACKING||this.type===Tt.TRACKING?1:-1)*this.elevation)),r=Hr(ve(),[0,1,0],re((this.rotateWorld&&this.type!==Tt.TRACKING||this.type===Tt.TRACKING?1:-1)*this.azimuth)),i=qr(ve(),r,n);i=qr(ve(),i,e);var a=dp(Nt(),i);this.type===Tt.ORBITING||this.type===Tt.EXPLORING?(Ur(this.matrix,this.matrix,this.focalPoint),$e(this.matrix,this.matrix,a),Ur(this.matrix,this.matrix,[0,0,this.distance])):this.type===Tt.TRACKING&&(Ur(this.matrix,this.matrix,this.position),$e(this.matrix,this.matrix,a))},t.prototype._setPosition=function(e,n,r){this.position=We(e,n,r);var i=this.matrix;i[12]=this.position[0],i[13]=this.position[1],i[14]=this.position[2],i[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){rn(this.right,We(ha(da(),[1,0,0,0],this.matrix))),rn(this.up,We(ha(da(),[0,1,0,0],this.matrix))),rn(this.forward,We(ha(da(),[0,0,1,0],this.matrix))),Ti(this.right,this.right),Ti(this.up,this.up),Ti(this.forward,this.forward)},t.prototype._getAngles=function(){var e=this.distanceVector[0],n=this.distanceVector[1],r=this.distanceVector[2],i=wr(this.distanceVector);if(i===0){this.elevation=0,this.azimuth=0;return}this.type===Tt.TRACKING?(this.elevation=Pn(Math.asin(n/i)),this.azimuth=Pn(Math.atan2(-e,-r))):this.rotateWorld?(this.elevation=Pn(Math.asin(n/i)),this.azimuth=Pn(Math.atan2(-e,-r))):(this.elevation=-Pn(Math.asin(n/i)),this.azimuth=-Pn(Math.atan2(-e,-r)))},t.prototype._getPosition=function(){rn(this.position,We(ha(da(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){Jb(this.distanceVector,[0,0,-this.distance],zk(Ja(),this.matrix)),ba(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=qv(yt(),this.focalPoint,this.position),this.distance=wr(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===tn.ORTHOGRAPHIC){var e=this.position,n=Hr(ve(),[0,0,1],-this.roll*Math.PI/180);zo(this.orthoMatrix,n,St((this.rright-this.left)/2-e[0],(this.top-this.bottom)/2-e[1],0),St(this.zoom,this.zoom,1),e)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var e=this.getViewTransform(),n=$e(Nt(),this.getPerspective(),e);this.getFrustum().extractFromVPMatrix(n),this.eventEmitter.emit(xw.UPDATED)}},t.prototype.rotate=function(e,n,r){throw new Error(It)},t.prototype.pan=function(e,n){throw new Error(It)},t.prototype.dolly=function(e){throw new Error(It)},t.prototype.createLandmark=function(e,n){throw new Error(It)},t.prototype.gotoLandmark=function(e,n){throw new Error(It)},t.prototype.cancelLandmarkAnimation=function(){throw new Error(It)},t}();function Ne(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=e?e.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var s=t.apply(this,r);return n.cache=o.set(a,s)||o,s};return n.cache=new(Ne.Cache||Map),n}Ne.Cache=Map;var Z;(function(t){t[t.kUnknown=0]="kUnknown",t[t.kNumber=1]="kNumber",t[t.kPercentage=2]="kPercentage",t[t.kEms=3]="kEms",t[t.kPixels=4]="kPixels",t[t.kRems=5]="kRems",t[t.kDegrees=6]="kDegrees",t[t.kRadians=7]="kRadians",t[t.kGradians=8]="kGradians",t[t.kTurns=9]="kTurns",t[t.kMilliseconds=10]="kMilliseconds",t[t.kSeconds=11]="kSeconds",t[t.kInteger=12]="kInteger"})(Z||(Z={}));var pn;(function(t){t[t.kUNumber=0]="kUNumber",t[t.kUPercent=1]="kUPercent",t[t.kULength=2]="kULength",t[t.kUAngle=3]="kUAngle",t[t.kUTime=4]="kUTime",t[t.kUOther=5]="kUOther"})(pn||(pn={}));var zg;(function(t){t[t.kAll=0]="kAll",t[t.kNonNegative=1]="kNonNegative",t[t.kInteger=2]="kInteger",t[t.kNonNegativeInteger=3]="kNonNegativeInteger",t[t.kPositiveInteger=4]="kPositiveInteger"})(zg||(zg={}));var Kd;(function(t){t[t.kYes=0]="kYes",t[t.kNo=1]="kNo"})(Kd||(Kd={}));var Zd;(function(t){t[t.kYes=0]="kYes",t[t.kNo=1]="kNo"})(Zd||(Zd={}));var vN=[{name:"em",unit_type:Z.kEms},{name:"px",unit_type:Z.kPixels},{name:"deg",unit_type:Z.kDegrees},{name:"rad",unit_type:Z.kRadians},{name:"grad",unit_type:Z.kGradians},{name:"ms",unit_type:Z.kMilliseconds},{name:"s",unit_type:Z.kSeconds},{name:"rem",unit_type:Z.kRems},{name:"turn",unit_type:Z.kTurns}],ti;(function(t){t[t.kUnknownType=0]="kUnknownType",t[t.kUnparsedType=1]="kUnparsedType",t[t.kKeywordType=2]="kKeywordType",t[t.kUnitType=3]="kUnitType",t[t.kSumType=4]="kSumType",t[t.kProductType=5]="kProductType",t[t.kNegateType=6]="kNegateType",t[t.kInvertType=7]="kInvertType",t[t.kMinType=8]="kMinType",t[t.kMaxType=9]="kMaxType",t[t.kClampType=10]="kClampType",t[t.kTransformType=11]="kTransformType",t[t.kPositionType=12]="kPositionType",t[t.kURLImageType=13]="kURLImageType",t[t.kColorType=14]="kColorType",t[t.kUnsupportedColorType=15]="kUnsupportedColorType"})(ti||(ti={}));var gN=function(t){return vN.find(function(e){return e.name===t}).unit_type},yN=function(t){return t?t==="number"?Z.kNumber:t==="percent"||t==="%"?Z.kPercentage:gN(t):Z.kUnknown},mN=function(t){switch(t){case Z.kNumber:case Z.kInteger:return pn.kUNumber;case Z.kPercentage:return pn.kUPercent;case Z.kPixels:return pn.kULength;case Z.kMilliseconds:case Z.kSeconds:return pn.kUTime;case Z.kDegrees:case Z.kRadians:case Z.kGradians:case Z.kTurns:return pn.kUAngle;default:return pn.kUOther}},bN=function(t){switch(t){case pn.kUNumber:return Z.kNumber;case pn.kULength:return Z.kPixels;case pn.kUPercent:return Z.kPercentage;case pn.kUTime:return Z.kSeconds;case pn.kUAngle:return Z.kDegrees;default:return Z.kUnknown}},Gg=function(t){var e=1;switch(t){case Z.kPixels:case Z.kDegrees:case Z.kSeconds:break;case Z.kMilliseconds:e=.001;break;case Z.kRadians:e=180/Math.PI;break;case Z.kGradians:e=.9;break;case Z.kTurns:e=360;break}return e},Qd=function(t){switch(t){case Z.kNumber:case Z.kInteger:return"";case Z.kPercentage:return"%";case Z.kEms:return"em";case Z.kRems:return"rem";case Z.kPixels:return"px";case Z.kDegrees:return"deg";case Z.kRadians:return"rad";case Z.kGradians:return"grad";case Z.kMilliseconds:return"ms";case Z.kSeconds:return"s";case Z.kTurns:return"turn"}return""},Du=function(){function t(){}return t.isAngle=function(e){return e===Z.kDegrees||e===Z.kRadians||e===Z.kGradians||e===Z.kTurns},t.isLength=function(e){return e>=Z.kEms&&e<Z.kDegrees},t.isRelativeUnit=function(e){return e===Z.kPercentage||e===Z.kEms||e===Z.kRems},t.isTime=function(e){return e===Z.kSeconds||e===Z.kMilliseconds},t.prototype.toString=function(){return this.buildCSSText(Kd.kNo,Zd.kNo,"")},t.prototype.isNumericValue=function(){return this.getType()>=ti.kUnitType&&this.getType()<=ti.kClampType},t}(),xN=function(t){rt(e,t);function e(n){var r=t.call(this)||this;return r.colorSpace=n,r}return e.prototype.getType=function(){return ti.kColorType},e.prototype.to=function(n){return this},e}(Du),rr;(function(t){t[t.Constant=0]="Constant",t[t.LinearGradient=1]="LinearGradient",t[t.RadialGradient=2]="RadialGradient"})(rr||(rr={}));var pc=function(t){rt(e,t);function e(n,r){var i=t.call(this)||this;return i.type=n,i.value=r,i}return e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(n,r,i){return i},e.prototype.getType=function(){return ti.kColorType},e}(Du),sn=function(t){rt(e,t);function e(n){var r=t.call(this)||this;return r.value=n,r}return e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return ti.kKeywordType},e.prototype.buildCSSText=function(n,r,i){return i+this.value},e}(Du),wN=Ne(function(t){return t===void 0&&(t=""),t.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}),Yg=function(t){return t.split("").map(function(e,n){return e.toUpperCase()===e?"".concat(n!==0?"-":"").concat(e.toLowerCase()):e}).join("")};function ON(t){if(!t)throw new Error}function ga(t){return typeof t=="function"}function SN(t){return typeof t=="symbol"}var _N={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},Jd=Ne(function(t){var e=wN(t),n=_N[e];return e=(n==null?void 0:n.alias)||e,e}),MN=function(t,e){e===void 0&&(e="");var n="";return Number.isFinite(t)?(ON(Number.isNaN(t)),n="NaN"):t>0?n="infinity":n="-infinity",n+=e},th=function(t){return bN(mN(t))},jt=function(t){rt(e,t);function e(n,r){r===void 0&&(r=Z.kNumber);var i=t.call(this)||this,a;return typeof r=="string"?a=yN(r):a=r,i.unit=a,i.value=n,i}return e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(n){var r=n;return this.value===r.value&&this.unit===r.unit},e.prototype.getType=function(){return ti.kUnitType},e.prototype.convertTo=function(n){if(this.unit===n)return new e(this.value,this.unit);var r=th(this.unit);if(r!==th(n)||r===Z.kUnknown)return null;var i=Gg(this.unit)/Gg(n);return new e(this.value*i,n)},e.prototype.buildCSSText=function(n,r,i){var a;switch(this.unit){case Z.kUnknown:break;case Z.kInteger:a=Number(this.value).toFixed(0);break;case Z.kNumber:case Z.kPercentage:case Z.kEms:case Z.kRems:case Z.kPixels:case Z.kDegrees:case Z.kRadians:case Z.kGradians:case Z.kMilliseconds:case Z.kSeconds:case Z.kTurns:{var o=-999999,s=999999,c=this.value,l=Qd(this.unit);if(c<o||c>s){var u=Qd(this.unit);!Number.isFinite(c)||Number.isNaN(c)?a=MN(c,u):a=c+(u||"")}else a="".concat(c).concat(l)}}return i+=a,i},e}(Du),we=new jt(0,"px");new jt(1,"px");var Hn=new jt(0,"deg"),Fp=function(t){rt(e,t);function e(n,r,i,a,o){a===void 0&&(a=1),o===void 0&&(o=!1);var s=t.call(this,"rgb")||this;return s.r=n,s.g=r,s.b=i,s.alpha=a,s.isNone=o,s}return e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(n,r,i){return i+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(xN),Gt=new sn("unset"),EN=new sn("initial"),PN=new sn("inherit"),Df={"":Gt,unset:Gt,initial:EN,inherit:PN},eh=function(t){return Df[t]||(Df[t]=new sn(t)),Df[t]},nh=new Fp(0,0,0,0,!0),Ow=new Fp(0,0,0,0),AN=Ne(function(t,e,n,r){return new Fp(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),Ft=function(t,e){return e===void 0&&(e=Z.kNumber),new jt(t,e)},kl=new jt(50,"%"),rh;(function(t){t[t.Standard=0]="Standard"})(rh||(rh={}));var $a;(function(t){t[t.ADDED=0]="ADDED",t[t.REMOVED=1]="REMOVED",t[t.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED"})($a||($a={}));var Sw={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new Fi(0,0,0,0)},tt;(function(t){t.COORDINATE="<coordinate>",t.COLOR="<color>",t.PAINT="<paint>",t.NUMBER="<number>",t.ANGLE="<angle>",t.OPACITY_VALUE="<opacity-value>",t.SHADOW_BLUR="<shadow-blur>",t.LENGTH="<length>",t.PERCENTAGE="<percentage>",t.LENGTH_PERCENTAGE="<length> | <percentage>",t.LENGTH_PERCENTAGE_12="[<length> | <percentage>]{1,2}",t.LENGTH_PERCENTAGE_14="[<length> | <percentage>]{1,4}",t.LIST_OF_POINTS="<list-of-points>",t.PATH="<path>",t.FILTER="<filter>",t.Z_INDEX="<z-index>",t.OFFSET_DISTANCE="<offset-distance>",t.DEFINED_PATH="<defined-path>",t.MARKER="<marker>",t.TRANSFORM="<transform>",t.TRANSFORM_ORIGIN="<transform-origin>",t.TEXT="<text>",t.TEXT_TRANSFORM="<text-transform>"})(tt||(tt={}));function kN(t){var e=t.type,n=t.value;return e==="hex"?"#".concat(n):e==="literal"?n:e==="rgb"?"rgb(".concat(n.join(","),")"):"rgba(".concat(n.join(","),")")}var TN=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(I){throw new Error(e+": "+I)}function r(){var I=i();return e.length>0&&n("Invalid input not EOF"),I}function i(){return b(a)}function a(){return o("linear-gradient",t.linearGradient,c)||o("repeating-linear-gradient",t.repeatingLinearGradient,c)||o("radial-gradient",t.radialGradient,f)||o("repeating-radial-gradient",t.repeatingRadialGradient,f)||o("conic-gradient",t.conicGradient,f)}function o(I,R,j){return s(R,function(D){var $=j();return $&&(C(t.comma)||n("Missing comma before color stops")),{type:I,orientation:$,colorStops:b(x)}})}function s(I,R){var j=C(I);if(j){C(t.startCall)||n("Missing (");var D=R(j);return C(t.endCall)||n("Missing )"),D}}function c(){return l()||u()}function l(){return k("directional",t.sideOrCorner,1)}function u(){return k("angular",t.angleValue,1)}function f(){var I,R=d(),j;return R&&(I=[],I.push(R),j=e,C(t.comma)&&(R=d(),R?I.push(R):e=j)),I}function d(){var I=h()||p();if(I)I.at=g();else{var R=v();if(R){I=R;var j=g();j&&(I.at=j)}else{var D=y();D&&(I={type:"default-radial",at:D})}}return I}function h(){var I=k("shape",/^(circle)/i,0);return I&&(I.style=A()||v()),I}function p(){var I=k("shape",/^(ellipse)/i,0);return I&&(I.style=P()||v()),I}function v(){return k("extent-keyword",t.extentKeywords,1)}function g(){if(k("position",/^at/,0)){var I=y();return I||n("Missing positioning value"),I}}function y(){var I=m();if(I.x||I.y)return{type:"position",value:I}}function m(){return{x:P(),y:P()}}function b(I){var R=I(),j=[];if(R)for(j.push(R);C(t.comma);)R=I(),R?j.push(R):n("One extra comma");return j}function x(){var I=w();return I||n("Expected color definition"),I.length=P(),I}function w(){return S()||M()||_()||O()}function O(){return k("literal",t.literalColor,0)}function S(){return k("hex",t.hexColor,1)}function _(){return s(t.rgbColor,function(){return{type:"rgb",value:b(E)}})}function M(){return s(t.rgbaColor,function(){return{type:"rgba",value:b(E)}})}function E(){return C(t.number)[1]}function P(){return k("%",t.percentageValue,1)||T()||A()}function T(){return k("position-keyword",t.positionKeywords,1)}function A(){return k("px",t.pixelValue,1)||k("em",t.emValue,1)}function k(I,R,j){var D=C(R);if(D)return{type:I,value:D[j]}}function C(I){var R=/^[\n\r\t\s]+/.exec(e);R&&L(R[0].length);var j=I.exec(e);return j&&L(j[0].length),j}function L(I){e=e.substring(I)}return function(I){return e=I,r()}}();function CN(t,e,n){var r=re(n.value),i=0,a=0,o=i+t/2,s=a+e/2,c=Math.abs(t*Math.cos(r))+Math.abs(e*Math.sin(r)),l=o-Math.cos(r)*c/2,u=s-Math.sin(r)*c/2,f=o+Math.cos(r)*c/2,d=s+Math.sin(r)*c/2;return{x1:l,y1:u,x2:f,y2:d}}function LN(t,e,n,r,i){var a=n.value,o=r.value;n.unit===Z.kPercentage&&(a=n.value/100*t),r.unit===Z.kPercentage&&(o=r.value/100*e);var s=Math.max(nn([0,0],[a,o]),nn([0,e],[a,o]),nn([t,e],[a,o]),nn([t,0],[a,o]));return i&&(i instanceof jt?s=i.value:i instanceof sn&&(i.value==="closest-side"?s=Math.min(a,t-a,o,e-o):i.value==="farthest-side"?s=Math.max(a,t-a,o,e-o):i.value==="closest-corner"&&(s=Math.min(nn([0,0],[a,o]),nn([0,e],[a,o]),nn([t,e],[a,o]),nn([t,0],[a,o]))))),{x:a,y:o,r:s}}var NN=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,RN=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,IN=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,_w=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function jN(t){var e,n,r,i=t.length;t[i-1].length=(e=t[i-1].length)!==null&&e!==void 0?e:{type:"%",value:"100"},i>1&&(t[0].length=(n=t[0].length)!==null&&n!==void 0?n:{type:"%",value:"0"});for(var a=0,o=Number(t[0].length.value),s=1;s<i;s++){var c=(r=t[s].length)===null||r===void 0?void 0:r.value;if(!nt(c)&&!nt(o)){for(var l=1;l<s-a;l++)t[a+l].length={type:"%",value:"".concat(o+(Number(c)-o)*l/(s-a))};a=s,o=Number(c)}}}var DN={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},$N=Ne(function(t){var e;return t.type==="angular"?e=Number(t.value):e=DN[t.value]||0,Ft(e,"deg")}),BN=Ne(function(t){var e=50,n=50,r="%",i="%";if((t==null?void 0:t.type)==="position"){var a=t.value,o=a.x,s=a.y;(o==null?void 0:o.type)==="position-keyword"&&(o.value==="left"?e=0:o.value==="center"?e=50:o.value==="right"?e=100:o.value==="top"?n=0:o.value==="bottom"&&(n=100)),(s==null?void 0:s.type)==="position-keyword"&&(s.value==="left"?e=0:s.value==="center"?n=50:s.value==="right"?e=100:s.value==="top"?n=0:s.value==="bottom"&&(n=100)),((o==null?void 0:o.type)==="px"||(o==null?void 0:o.type)==="%"||(o==null?void 0:o.type)==="em")&&(r=o==null?void 0:o.type,e=Number(o.value)),((s==null?void 0:s.type)==="px"||(s==null?void 0:s.type)==="%"||(s==null?void 0:s.type)==="em")&&(i=s==null?void 0:s.type,n=Number(s.value))}return{cx:Ft(e,r),cy:Ft(n,i)}}),FN=Ne(function(t){var e;if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var n=TN(t);return n.map(function(s){var c=s.type,l=s.orientation,u=s.colorStops;jN(u);var f=u.map(function(b){return{offset:Ft(Number(b.length.value),"%"),color:kN(b)}});if(c==="linear-gradient")return new pc(rr.LinearGradient,{angle:l?$N(l):Hn,steps:f});if(c==="radial-gradient"&&(l||(l=[{type:"shape",value:"circle"}]),l[0].type==="shape"&&l[0].value==="circle")){var d=BN(l[0].at),h=d.cx,p=d.cy,v=void 0;if(l[0].style){var g=l[0].style,y=g.type,m=g.value;y==="extent-keyword"?v=eh(m):v=Ft(m,y)}return new pc(rr.RadialGradient,{cx:h,cy:p,size:v,steps:f})}})}var r=t[0];if(t[1]==="("||t[2]==="("){if(r==="l"){var i=NN.exec(t);if(i){var a=((e=i[2].match(_w))===null||e===void 0?void 0:e.map(function(s){return s.split(":")}))||[];return[new pc(rr.LinearGradient,{angle:Ft(parseFloat(i[1]),"deg"),steps:a.map(function(s){var c=N(s,2),l=c[0],u=c[1];return{offset:Ft(Number(l)*100,"%"),color:u}})})]}}else if(r==="r"){var o=zN(t);if(o)if(le(o))t=o;else return[new pc(rr.RadialGradient,o)]}else if(r==="p")return GN(t)}});function zN(t){var e,n=RN.exec(t);if(n){var r=((e=n[4].match(_w))===null||e===void 0?void 0:e.map(function(i){return i.split(":")}))||[];return{cx:Ft(50,"%"),cy:Ft(50,"%"),steps:r.map(function(i){var a=N(i,2),o=a[0],s=a[1];return{offset:Ft(Number(o)*100,"%"),color:s}})}}return null}function GN(t){var e=IN.exec(t);if(e){var n=e[1],r=e[2];switch(n){case"a":n="repeat";break;case"x":n="repeat-x";break;case"y":n="repeat-y";break;case"n":n="no-repeat";break;default:n="no-repeat"}return{image:r,repetition:n}}return null}function hs(t){return t&&!!t.image}function Tl(t){return t&&!nt(t.r)&&!nt(t.g)&&!nt(t.b)}var Ar=Ne(function(t){if(hs(t))return z({repetition:"repeat"},t);if(nt(t)&&(t=""),t==="transparent")return Ow;t==="currentColor"&&(t="black");var e=FN(t);if(e)return e;var n=ju(t),r=[0,0,0,0];return n!==null&&(r[0]=n.r||0,r[1]=n.g||0,r[2]=n.b||0,r[3]=n.opacity),AN.apply(void 0,q([],N(r),!1))});function YN(t,e){if(!(!Tl(t)||!Tl(e)))return[[Number(t.r),Number(t.g),Number(t.b),Number(t.alpha)],[Number(e.r),Number(e.g),Number(e.b),Number(e.alpha)],function(n){var r=n.slice();if(r[3])for(var i=0;i<3;i++)r[i]=Math.round(ce(r[i],0,255));return r[3]=ce(r[3],0,1),"rgba(".concat(r.join(","),")")}]}function Hs(t,e){if(nt(e))return Ft(0,"px");if(e="".concat(e).trim().toLowerCase(),isFinite(Number(e))){if("px".search(t)>=0)return Ft(Number(e),"px");if("deg".search(t)>=0)return Ft(Number(e),"deg")}var n=[];e=e.replace(t,function(i){return n.push(i),"U"+i});var r="U("+t.source+")";return n.map(function(i){return Ft(Number(e.replace(new RegExp("U"+i,"g"),"").replace(new RegExp(r,"g"),"*0")),i)})[0]}var Mw=function(t){return Hs(new RegExp("px","g"),t)},WN=Ne(Mw),HN=function(t){return Hs(new RegExp("%","g"),t)};Ne(HN);var ps=function(t){return de(t)||isFinite(Number(t))?Ft(Number(t)||0,"px"):Hs(new RegExp("px|%|em|rem","g"),t)},Ba=Ne(ps),zp=function(t){return Hs(new RegExp("deg|rad|grad|turn","g"),t)},Ew=Ne(zp);function VN(t,e,n,r,i){i===void 0&&(i=0);var a="",o=t.value||0,s=e.value||0,c=th(t.unit),l=t.convertTo(c),u=e.convertTo(c);return l&&u?(o=l.value,s=u.value,a=Qd(t.unit)):(jt.isLength(t.unit)||jt.isLength(e.unit))&&(o=dn(t,i,n),s=dn(e,i,n),a="px"),[o,s,function(f){return r&&(f=Math.max(f,0)),f+a}]}function hn(t){var e=0;return t.unit===Z.kDegrees?e=t.value:t.unit===Z.kRadians?e=Pn(Number(t.value)):t.unit===Z.kTurns&&(e=iN(Number(t.value))),e}function $f(t,e){var n;return Array.isArray(t)?n=t.map(function(r){return Number(r)}):le(t)?n=t.split(" ").map(function(r){return Number(r)}):de(t)&&(n=[t]),e===2?n.length===1?[n[0],n[0]]:[n[0],n[1]]:n.length===1?[n[0],n[0],n[0],n[0]]:n.length===2?[n[0],n[1],n[0],n[1]]:n.length===3?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function Pw(t){return le(t)?t.split(" ").map(function(e){return Ba(e)}):t.map(function(e){return Ba(e.toString())})}function dn(t,e,n){if(t.value===0)return 0;if(t.unit===Z.kPixels)return Number(t.value);if(t.unit===Z.kPercentage&&n){var r=n.nodeName===G.GROUP?n.getLocalBounds():n.geometry.contentBounds;return t.value/100*r.halfExtents[e]*2}return 0}var XN=function(t){return Hs(/deg|rad|grad|turn|px|%/g,t)},UN=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function Aw(t){if(t===void 0&&(t=""),t=t.toLowerCase().trim(),t==="none")return[];for(var e=/\s*([\w-]+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];if(i=r.index+r[0].length,UN.indexOf(r[1])>-1&&n.push({name:r[1],params:r[2].split(" ").map(function(a){return XN(a)||Ar(a)})}),e.lastIndex===t.length)return n}return[]}function kw(t){return t.toString()}var no=function(t){return typeof t=="number"?Ft(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?Ft(Number(t)):Ft(0)},zi=Ne(no);Ne(function(t){return le(t)?t.split(" ").map(zi):t.map(zi)});function Gp(t,e){return[t,e,kw]}function Yp(t,e){return function(n,r){return[n,r,function(i){return kw(ce(i,t,e))}]}}function Tw(t,e){if(t.length===e.length)return[t,e,function(n){return n}]}function ih(t){return t.parsedStyle.path.totalLength===0&&(t.parsedStyle.path.totalLength=e5(t.parsedStyle.path.absolutePath)),t.parsedStyle.path.totalLength}function qN(t){for(var e=0;e<t.length;e++){var n=t[e-1],r=t[e],i=r[0];if(i==="M"&&n){var a=n[0],o=[r[1],r[2]],s=void 0;a==="L"||a==="M"?s=[n[1],n[2]]:(a==="C"||a==="A"||a==="Q")&&(s=[n[n.length-2],n[n.length-1]]),s&&Cl(o,s)&&(t.splice(e,1),e--)}}}function KN(t){for(var e=!1,n=t.length,r=0;r<n;r++){var i=t[r],a=i[0];if(a==="C"||a==="A"||a==="Q"){e=!0;break}}return e}function ZN(t){for(var e=[],n=[],r=[],i=0;i<t.length;i++){var a=t[i],o=a[0];o==="M"?(r.length&&(n.push(r),r=[]),r.push([a[1],a[2]])):o==="Z"?r.length&&(e.push(r),r=[]):r.push([a[1],a[2]])}return r.length>0&&n.push(r),{polygons:e,polylines:n}}function Cl(t,e){return t[0]===e[0]&&t[1]===e[1]}function QN(t,e){for(var n=[],r=[],i=[],a=0;a<t.length;a++){var o=t[a],s=o.currentPoint,c=o.params,l=o.prePoint,u=void 0;switch(o.command){case"Q":u=KL(l[0],l[1],c[1],c[2],c[3],c[4]);break;case"C":u=VL(l[0],l[1],c[1],c[2],c[3],c[4],c[5],c[6]);break;case"A":var f=o.arcParams;u=YL(f.cx,f.cy,f.rx,f.ry,f.xRotation,f.startAngle,f.endAngle);break;default:n.push(s[0]),r.push(s[1]);break}u&&(o.box=u,n.push(u.x,u.x+u.width),r.push(u.y,u.y+u.height)),e&&(o.command==="L"||o.command==="M")&&o.prePoint&&o.nextPoint&&i.push(o)}n=n.filter(function(y){return!Number.isNaN(y)&&y!==1/0&&y!==-1/0}),r=r.filter(function(y){return!Number.isNaN(y)&&y!==1/0&&y!==-1/0});var d=hl(n),h=hl(r),p=dl(n),v=dl(r);if(i.length===0)return{x:d,y:h,width:p-d,height:v-h};for(var a=0;a<i.length;a++){var o=i[a],s=o.currentPoint,g=void 0;s[0]===d?(g=vc(o,e),d=d-g.xExtra):s[0]===p&&(g=vc(o,e),p=p+g.xExtra),s[1]===h?(g=vc(o,e),h=h-g.yExtra):s[1]===v&&(g=vc(o,e),v=v+g.yExtra)}return{x:d,y:h,width:p-d,height:v-h}}function vc(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,a=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),o=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2),c=Math.acos((a+o-s)/(2*Math.sqrt(a)*Math.sqrt(o)));if(!c||Math.sin(c)===0||Fo(c,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));l=l>Math.PI/2?Math.PI-l:l,u=u>Math.PI/2?Math.PI-u:u;var f={xExtra:Math.cos(c/2-l)*(e/2*(1/Math.sin(c/2)))-e/2||0,yExtra:Math.cos(u-c/2)*(e/2*(1/Math.sin(c/2)))-e/2||0};return f}function Wg(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}var Hg=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2))),i=t.x*e.y-t.y*e.x<0?-1:1,a=i*Math.acos(n/r);return a},Vg=function(t,e,n,r,i,a,o,s){e=Math.abs(e),n=Math.abs(n),r=Ib(r,360);var c=re(r);if(t.x===o.x&&t.y===o.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(e===0||n===0)return{x:0,y:0,ellipticalArcAngle:0};var l=(t.x-o.x)/2,u=(t.y-o.y)/2,f={x:Math.cos(c)*l+Math.sin(c)*u,y:-Math.sin(c)*l+Math.cos(c)*u},d=Math.pow(f.x,2)/Math.pow(e,2)+Math.pow(f.y,2)/Math.pow(n,2);d>1&&(e=Math.sqrt(d)*e,n=Math.sqrt(d)*n);var h=Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2),p=Math.pow(e,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2),v=h/p;v=v<0?0:v;var g=(i!==a?1:-1)*Math.sqrt(v),y={x:g*(e*f.y/n),y:g*(-(n*f.x)/e)},m={x:Math.cos(c)*y.x-Math.sin(c)*y.y+(t.x+o.x)/2,y:Math.sin(c)*y.x+Math.cos(c)*y.y+(t.y+o.y)/2},b={x:(f.x-y.x)/e,y:(f.y-y.y)/n},x=Hg({x:1,y:0},b),w={x:(-f.x-y.x)/e,y:(-f.y-y.y)/n},O=Hg(b,w);!a&&O>0?O-=2*Math.PI:a&&O<0&&(O+=2*Math.PI),O%=2*Math.PI;var S=x+O*s,_=e*Math.cos(S),M=n*Math.sin(S),E={x:Math.cos(c)*_-Math.sin(c)*M+m.x,y:Math.sin(c)*_+Math.cos(c)*M+m.y,ellipticalArcStartAngle:x,ellipticalArcEndAngle:x+O,ellipticalArcAngle:S,ellipticalArcCenter:m,resultantRx:e,resultantRy:n};return E};function JN(t){for(var e=[],n=null,r=null,i=null,a=0,o=t.length,s=0;s<o;s++){var c=t[s];r=t[s+1];var l=c[0],u={command:l,prePoint:n,params:c,startTangent:null,endTangent:null,currentPoint:null,nextPoint:null,arcParams:null,box:null,cubicParams:null};switch(l){case"M":i=[c[1],c[2]],a=s;break;case"A":var f=t4(n,c);u.arcParams=f;break}if(l==="Z")n=i,r=t[a+1];else{var d=c.length;n=[c[d-2],c[d-1]]}r&&r[0]==="Z"&&(r=t[a],e[a]&&(e[a].prePoint=n)),u.currentPoint=n,e[a]&&Cl(n,e[a].currentPoint)&&(e[a].prePoint=u.prePoint);var h=r?[r[r.length-2],r[r.length-1]]:null;u.nextPoint=h;var p=u.prePoint;if(["L","H","V"].includes(l))u.startTangent=[p[0]-n[0],p[1]-n[1]],u.endTangent=[n[0]-p[0],n[1]-p[1]];else if(l==="Q"){var v=[c[1],c[2]];u.startTangent=[p[0]-v[0],p[1]-v[1]],u.endTangent=[n[0]-v[0],n[1]-v[1]]}else if(l==="T"){var g=e[s-1],v=Wg(g.currentPoint,p);g.command==="Q"?(u.command="Q",u.startTangent=[p[0]-v[0],p[1]-v[1]],u.endTangent=[n[0]-v[0],n[1]-v[1]]):(u.command="TL",u.startTangent=[p[0]-n[0],p[1]-n[1]],u.endTangent=[n[0]-p[0],n[1]-p[1]])}else if(l==="C"){var y=[c[1],c[2]],m=[c[3],c[4]];u.startTangent=[p[0]-y[0],p[1]-y[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]],u.startTangent[0]===0&&u.startTangent[1]===0&&(u.startTangent=[y[0]-m[0],y[1]-m[1]]),u.endTangent[0]===0&&u.endTangent[1]===0&&(u.endTangent=[m[0]-y[0],m[1]-y[1]])}else if(l==="S"){var g=e[s-1],y=Wg(g.currentPoint,p),m=[c[1],c[2]];g.command==="C"?(u.command="C",u.startTangent=[p[0]-y[0],p[1]-y[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]]):(u.command="SQ",u.startTangent=[p[0]-m[0],p[1]-m[1]],u.endTangent=[n[0]-m[0],n[1]-m[1]])}else if(l==="A"){var b=Xg(u,0),x=b.x,w=b.y,O=Xg(u,1,!1),S=O.x,_=O.y;u.startTangent=[x,w],u.endTangent=[S,_]}e.push(u)}return e}function Xg(t,e,n){n===void 0&&(n=!0);var r=t.arcParams,i=r.rx,a=i===void 0?0:i,o=r.ry,s=o===void 0?0:o,c=r.xRotation,l=r.arcFlag,u=r.sweepFlag,f=Vg({x:t.prePoint[0],y:t.prePoint[1]},a,s,c,!!l,!!u,{x:t.currentPoint[0],y:t.currentPoint[1]},e),d=Vg({x:t.prePoint[0],y:t.prePoint[1]},a,s,c,!!l,!!u,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),h=d.x-f.x,p=d.y-f.y,v=Math.sqrt(h*h+p*p);return{x:-h/v,y:-p/v}}function gc(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ah(t,e){return gc(t)*gc(e)?(t[0]*e[0]+t[1]*e[1])/(gc(t)*gc(e)):1}function Ug(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(ah(t,e))}function t4(t,e){var n=e[1],r=e[2],i=Ib(re(e[3]),Math.PI*2),a=e[4],o=e[5],s=t[0],c=t[1],l=e[6],u=e[7],f=Math.cos(i)*(s-l)/2+Math.sin(i)*(c-u)/2,d=-1*Math.sin(i)*(s-l)/2+Math.cos(i)*(c-u)/2,h=f*f/(n*n)+d*d/(r*r);h>1&&(n*=Math.sqrt(h),r*=Math.sqrt(h));var p=n*n*(d*d)+r*r*(f*f),v=p?Math.sqrt((n*n*(r*r)-p)/p):1;a===o&&(v*=-1),isNaN(v)&&(v=0);var g=r?v*n*d/r:0,y=n?v*-r*f/n:0,m=(s+l)/2+Math.cos(i)*g-Math.sin(i)*y,b=(c+u)/2+Math.sin(i)*g+Math.cos(i)*y,x=[(f-g)/n,(d-y)/r],w=[(-1*f-g)/n,(-1*d-y)/r],O=Ug([1,0],x),S=Ug(x,w);return ah(x,w)<=-1&&(S=Math.PI),ah(x,w)>=1&&(S=0),o===0&&S>0&&(S=S-2*Math.PI),o===1&&S<0&&(S=S+2*Math.PI),{cx:m,cy:b,rx:Cl(t,[l,u])?0:n,ry:Cl(t,[l,u])?0:r,startAngle:O,endAngle:O+S,xRotation:i,arcFlag:a,sweepFlag:o}}function e4(t,e,n){var r=e.parsedStyle,i=r.defX,a=i===void 0?0:i,o=r.defY,s=o===void 0?0:o;return t.reduce(function(c,l){var u="";if(l[0]==="M"||l[0]==="L"){var f=St(l[1]-a,l[2]-s,0);n&&Oe(f,f,n),u="".concat(l[0]).concat(f[0],",").concat(f[1])}else if(l[0]==="Z")u=l[0];else if(l[0]==="C"){var d=St(l[1]-a,l[2]-s,0),h=St(l[3]-a,l[4]-s,0),p=St(l[5]-a,l[6]-s,0);n&&(Oe(d,d,n),Oe(h,h,n),Oe(p,p,n)),u="".concat(l[0]).concat(d[0],",").concat(d[1],",").concat(h[0],",").concat(h[1],",").concat(p[0],",").concat(p[1])}else if(l[0]==="A"){var v=St(l[6]-a,l[7]-s,0);n&&Oe(v,v,n),u="".concat(l[0]).concat(l[1],",").concat(l[2],",").concat(l[3],",").concat(l[4],",").concat(l[5],",").concat(v[0],",").concat(v[1])}else if(l[0]==="Q"){var d=St(l[1]-a,l[2]-s,0),h=St(l[3]-a,l[4]-s,0);n&&(Oe(d,d,n),Oe(h,h,n)),u="".concat(l[0]).concat(l[1],",").concat(l[2],",").concat(l[3],",").concat(l[4],"}")}return c+=u},"")}function n4(t,e,n,r){return[["M",t,e],["L",n,r]]}function qg(t,e,n,r){var i=(-1+Math.sqrt(2))/3*4,a=t*i,o=e*i,s=n-t,c=n+t,l=r-e,u=r+e;return[["M",s,r],["C",s,r-o,n-a,l,n,l],["C",n+a,l,c,r-o,c,r],["C",c,r+o,n+a,u,n,u],["C",n-a,u,s,r+o,s,r],["Z"]]}function r4(t,e){var n=t.map(function(r,i){return[i===0?"M":"L",r[0],r[1]]});return e&&n.push(["Z"]),n}function i4(t,e,n,r,i){if(i){var a=N(i,4),o=a[0],s=a[1],c=a[2],l=a[3],u=t>0?1:-1,f=e>0?1:-1,d=u+f!==0?1:0;return[["M",u*o+n,r],["L",t-u*s+n,r],s?["A",s,s,0,0,d,t+n,f*s+r]:null,["L",t+n,e-f*c+r],c?["A",c,c,0,0,d,t+n-u*c,e+r]:null,["L",n+u*l,e+r],l?["A",l,l,0,0,d,n,e+r-f*l]:null,["L",n,f*o+r],o?["A",o,o,0,0,d,u*o+n,r]:null,["Z"]].filter(function(h){return h})}return[["M",n,r],["L",n+t,r],["L",n+t,r+e],["L",n,r+e],["Z"]]}function Wp(t,e){e===void 0&&(e=t.getLocalTransform());var n=[];switch(t.nodeName){case G.LINE:var r=t.parsedStyle,i=r.x1,a=i===void 0?0:i,o=r.y1,s=o===void 0?0:o,c=r.x2,l=c===void 0?0:c,u=r.y2,f=u===void 0?0:u;n=n4(a,s,l,f);break;case G.CIRCLE:{var d=t.parsedStyle,h=d.r,p=h===void 0?0:h,v=d.cx,g=v===void 0?0:v,y=d.cy,m=y===void 0?0:y;n=qg(p,p,g,m);break}case G.ELLIPSE:{var b=t.parsedStyle,x=b.rx,w=x===void 0?0:x,O=b.ry,S=O===void 0?0:O,_=b.cx,g=_===void 0?0:_,M=b.cy,m=M===void 0?0:M;n=qg(w,S,g,m);break}case G.POLYLINE:case G.POLYGON:var E=t.parsedStyle.points;n=r4(E.points,t.nodeName===G.POLYGON);break;case G.RECT:var P=t.parsedStyle,T=P.width,A=T===void 0?0:T,k=P.height,C=k===void 0?0:k,L=P.x,I=L===void 0?0:L,R=P.y,j=R===void 0?0:R,D=P.radius,$=D&&D.some(function(F){return F!==0});n=i4(A,C,I,j,$&&D.map(function(F){return ce(F,0,Math.min(Math.abs(A)/2,Math.abs(C)/2))}));break;case G.PATH:var B=t.parsedStyle.path.absolutePath;n=q([],N(B),!1);break}if(n.length)return e4(n,t,e)}var Cw=function(t){if(t===""||Array.isArray(t)&&t.length===0)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};var e;try{e=bl(t)}catch{e=bl(""),console.error("[g]: Invalid SVG Path definition: ".concat(t))}qN(e);var n=KN(e),r=ZN(e),i=r.polygons,a=r.polylines,o=JN(e),s=QN(o,0),c=s.x,l=s.y,u=s.width,f=s.height;return{absolutePath:e,hasArc:n,segments:o,polygons:i,polylines:a,totalLength:0,rect:{x:Number.isFinite(c)?c:0,y:Number.isFinite(l)?l:0,width:Number.isFinite(u)?u:0,height:Number.isFinite(f)?f:0}}},a4=Ne(Cw);function oh(t){return le(t)?a4(t):Cw(t)}function o4(t,e,n){var r=t.curve,i=e.curve;(!r||r.length===0)&&(r=Rd(t.absolutePath,!1),t.curve=r),(!i||i.length===0)&&(i=Rd(e.absolutePath,!1),e.curve=i);var a=[r,i];r.length!==i.length&&(a=cx(r,i));var o=eg(a[0])!==eg(a[1])?qT(a[0]):UT(a[0]);return[o,r5(a[1],o),function(s){return s}]}function Lw(t,e){var n;le(t)?n=t.split(" ").map(function(u){var f=N(u.split(","),2),d=f[0],h=f[1];return[Number(d),Number(h)]}):n=t;var r=[],i=0,a,o,s=qL(n);n.forEach(function(u,f){n[f+1]&&(a=[0,0],a[0]=i/s,o=yw(u[0],u[1],n[f+1][0],n[f+1][1]),i+=o,a[1]=i/s,r.push(a))});var c=Math.min.apply(Math,q([],N(n.map(function(u){return u[0]})),!1)),l=Math.min.apply(Math,q([],N(n.map(function(u){return u[1]})),!1));return e&&(e.parsedStyle.defX=c,e.parsedStyle.defY=l),{points:n,totalLength:s,segments:r}}function s4(t,e){return[t.points,e.points,function(n){return n}]}var ie=null;function Je(t){return function(e){var n=0;return t.map(function(r){return r===ie?e[n++]:r})}}function bi(t){return t}var Ll={matrix:["NNNNNN",[ie,ie,0,0,ie,ie,0,0,0,0,1,0,ie,ie,0,1],bi],matrix3d:["NNNNNNNNNNNNNNNN",bi],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",Je([ie,ie,new jt(1)]),bi],scalex:["N",Je([ie,new jt(1),new jt(1)]),Je([ie,new jt(1)])],scaley:["N",Je([new jt(1),ie,new jt(1)]),Je([new jt(1),ie])],scalez:["N",Je([new jt(1),new jt(1),ie])],scale3d:["NNN",bi],skew:["Aa",null,bi],skewx:["A",null,Je([ie,Hn])],skewy:["A",null,Je([Hn,ie])],translate:["Tt",Je([ie,ie,we]),bi],translatex:["T",Je([ie,we,we]),Je([ie,we])],translatey:["T",Je([we,ie,we]),Je([we,ie])],translatez:["L",Je([we,we,ie])],translate3d:["TTL",bi]};function Hp(t){if(t=(t||"none").toLowerCase().trim(),t==="none")return[];for(var e=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];i=r.index+r[0].length;var a=r[1],o=Ll[a];if(!o)return[];var s=r[2].split(","),c=o[0];if(c.length<s.length)return[];for(var l=[],u=0;u<c.length;u++){var f=s[u],d=c[u],h=void 0;if(f?h={A:function(p){return p.trim()==="0"?Hn:Ew(p)},N:zi,T:Ba,L:WN}[d.toUpperCase()](f):h={a:Hn,n:l[0],t:we}[d],h===void 0)return[];l.push(h)}if(n.push({t:a,d:l}),e.lastIndex===t.length)return n}return[]}function Kg(t){if(t=(t||"none").toLowerCase().trim(),t==="none")return[];for(var e=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=e.exec(t);){if(r.index!==i)return[];i=r.index+r[0].length;var a=r[1],o=Ll[a];if(!o)return[];var s=r[2].split(","),c=o[0];if(c.length<s.length)return[];for(var l=[],u=0;u<c.length;u++){var f=s[u],d=c[u],h=void 0;if(f?h={A:function(p){return p.trim()==="0"?Hn:zp(p)},N:no,T:ps,L:Mw}[d.toUpperCase()](f):h={a:Hn,n:l[0],t:we}[d],h===void 0)return[];l.push(h)}if(n.push({t:a,d:l}),e.lastIndex===t.length)return n}return[]}function c4(t){var e,n,r,i;switch(t.t){case"rotatex":return i=re(hn(t.d[0])),[1,0,0,0,0,Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1];case"rotatey":return i=re(hn(t.d[0])),[Math.cos(i),0,-Math.sin(i),0,0,1,0,0,Math.sin(i),0,Math.cos(i),0,0,0,0,1];case"rotate":case"rotatez":return i=re(hn(t.d[0])),[Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1,0,0,0,0,1];case"rotate3d":e=t.d[0].value,n=t.d[1].value,r=t.d[2].value,i=re(hn(t.d[3]));var a=e*e+n*n+r*r;if(a===0)e=1,n=0,r=0;else if(a!==1){var o=Math.sqrt(a);e/=o,n/=o,r/=o}var s=Math.sin(i/2),c=s*Math.cos(i/2),l=s*s;return[1-2*(n*n+r*r)*l,2*(e*n*l+r*c),2*(e*r*l-n*c),0,2*(e*n*l-r*c),1-2*(e*e+r*r)*l,2*(n*r*l+e*c),0,2*(e*r*l+n*c),2*(n*r*l-e*c),1-2*(e*e+n*n)*l,0,0,0,0,1];case"scale":return[t.d[0].value,0,0,0,0,t.d[1].value,0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0].value,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0].value,0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0].value,0,0,0,0,1];case"scale3d":return[t.d[0].value,0,0,0,0,t.d[1].value,0,0,0,0,t.d[2].value,0,0,0,0,1];case"skew":var u=re(hn(t.d[0])),f=re(hn(t.d[1]));return[1,Math.tan(f),0,0,Math.tan(u),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return i=re(hn(t.d[0])),[1,0,0,0,Math.tan(i),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return i=re(hn(t.d[0])),[1,Math.tan(i),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return e=dn(t.d[0],0,null)||0,n=dn(t.d[1],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,n,0,1];case"translatex":return e=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,0,0,1];case"translatey":return n=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,0,n,0,1];case"translatez":return r=dn(t.d[0],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,0,0,r,1];case"translate3d":return e=dn(t.d[0],0,null)||0,n=dn(t.d[1],0,null)||0,r=dn(t.d[2],0,null)||0,[1,0,0,0,0,1,0,0,0,0,1,0,e,n,r,1];case"perspective":var d=dn(t.d[0],0,null)||0,h=d?-1/d:0;return[1,0,0,0,0,1,0,0,0,0,1,h,0,0,0,1];case"matrix":return[t.d[0].value,t.d[1].value,0,0,t.d[2].value,t.d[3].value,0,0,0,0,1,0,t.d[4].value,t.d[5].value,0,1];case"matrix3d":return t.d.map(function(p){return p.value})}}function l4(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function u4(t){return t.length===0?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(c4).reduce(l4)}function Zg(t){var e=[0,0,0],n=[1,1,1],r=[0,0,0],i=[0,0,0,1],a=[0,0,0,1];return lN(u4(t),e,n,r,i,a),[[e,n,r,a,i]]}var f4=function(){function t(r,i){for(var a=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],o=0;o<4;o++)for(var s=0;s<4;s++)for(var c=0;c<4;c++)a[o][s]+=i[o][c]*r[c][s];return a}function e(r){return r[0][2]==0&&r[0][3]==0&&r[1][2]==0&&r[1][3]==0&&r[2][0]==0&&r[2][1]==0&&r[2][2]==1&&r[2][3]==0&&r[3][2]==0&&r[3][3]==1}function n(r,i,a,o,s){for(var c=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)c[l][3]=s[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)c[3][l]+=r[u]*c[u][l];var f=o[0],d=o[1],h=o[2],p=o[3],v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];v[0][0]=1-2*(d*d+h*h),v[0][1]=2*(f*d-h*p),v[0][2]=2*(f*h+d*p),v[1][0]=2*(f*d+h*p),v[1][1]=1-2*(f*f+h*h),v[1][2]=2*(d*h-f*p),v[2][0]=2*(f*h-d*p),v[2][1]=2*(d*h+f*p),v[2][2]=1-2*(f*f+d*d),c=t(c,v);var g=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];a[2]&&(g[2][1]=a[2],c=t(c,g)),a[1]&&(g[2][1]=0,g[2][0]=a[0],c=t(c,g)),a[0]&&(g[2][0]=0,g[1][0]=a[0],c=t(c,g));for(var l=0;l<3;l++)for(var u=0;u<3;u++)c[l][u]*=i[l];return e(c)?[c[0][0],c[0][1],c[1][0],c[1][1],c[3][0],c[3][1]]:c[0].concat(c[1],c[2],c[3])}return n}();function d4(t){return t.toFixed(6).replace(".000000","")}function Bf(t,e){var n,r;return t.decompositionPair!==e&&(t.decompositionPair=e,n=Zg(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=Zg(e)),n[0]===null||r[0]===null?[[!1],[!0],function(i){return i?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(i){var a=p4(n[0][3],r[0][3],i[5]),o=f4(i[0],i[1],i[2],a,i[4]),s=o.map(d4).join(",");return s}])}function h4(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function p4(t,e,n){var r=h4(t,e);r=ce(r,-1,1);var i=[];if(r===1)i=t;else for(var a=Math.acos(r),o=Math.sin(n*a)*1/Math.sqrt(1-r*r),s=0;s<4;s++)i.push(t[s]*(Math.cos(n*a)-r*o)+e[s]*o);return i}function Ff(t){return t.replace(/[xy]/,"")}function zf(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var v4=function(t,e){return t==="perspective"&&e==="perspective"||(t==="matrix"||t==="matrix3d")&&(e==="matrix"||e==="matrix3d")};function g4(t,e,n){var r=!1;if(!t.length||!e.length){t.length||(r=!0,t=e,e=[]);for(var i=function(O){var S=t[O],_=S.t,M=S.d,E=_.substring(0,5)==="scale"?1:0;e.push({t:_,d:M.map(function(P){return typeof P=="number"?Ft(E):Ft(E,P.unit)})})},a=0;a<t.length;a++)i(a)}var o=[],s=[],c=[];if(t.length!==e.length){var l=Bf(t,e);o=[l[0]],s=[l[1]],c=[["matrix",[l[2]]]]}else for(var a=0;a<t.length;a++){var u=t[a].t,f=e[a].t,d=t[a].d,h=e[a].d,p=Ll[u],v=Ll[f],g=void 0;if(v4(u,f)){var l=Bf([t[a]],[e[a]]);o.push(l[0]),s.push(l[1]),c.push(["matrix",[l[2]]]);continue}else if(u===f)g=u;else if(p[2]&&v[2]&&Ff(u)===Ff(f))g=Ff(u),d=p[2](d),h=v[2](h);else if(p[1]&&v[1]&&zf(u)===zf(f))g=zf(u),d=p[1](d),h=v[1](h);else{var l=Bf(t,e);o=[l[0]],s=[l[1]],c=[["matrix",[l[2]]]];break}for(var y=[],m=[],b=[],x=0;x<d.length;x++){var l=VN(d[x],h[x],n,!1,x);y[x]=l[0],m[x]=l[1],b.push(l[2])}o.push(y),s.push(m),c.push([g,b])}if(r){var w=o;o=s,s=w}return[o,s,function(O){return O.map(function(S,_){var M=S.map(function(E,P){return c[_][1][P](E)}).join(",");return c[_][0]==="matrix"&&M.split(",").length===16&&(c[_][0]="matrix3d"),c[_][0]==="matrix3d"&&M.split(",").length===6&&(c[_][0]="matrix"),c[_][0]+"("+M+")"}).join(" ")}]}var Nw=Ne(function(t){if(le(t)){if(t==="text-anchor")return[Ft(0,"px"),Ft(0,"px")];var e=t.split(" ");return e.length===1&&(e[0]==="top"||e[0]==="bottom"?(e[1]=e[0],e[0]="center"):e[1]="center"),e.length!==2?null:[Ba(Nl(e[0])),Ba(Nl(e[1]))]}else return[Ft(t[0]||0,"px"),Ft(t[1]||0,"px")]}),y4=function(t){if(le(t)){if(t==="text-anchor")return[Ft(0,"px"),Ft(0,"px")];var e=t.split(" ");return e.length===1&&(e[0]==="top"||e[0]==="bottom"?(e[1]=e[0],e[0]="center"):e[1]="center"),e.length!==2?null:[ps(Nl(e[0])),ps(Nl(e[1]))]}else return[Ft(t[0]||0,"px"),Ft(t[1]||0,"px")]};function Nl(t){return t==="center"?"50%":t==="left"||t==="top"?"0":t==="right"||t==="bottom"?"100%":t}var Vp=[{n:"display",k:["none"]},{n:"opacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"fillOpacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"strokeOpacity",int:!0,inh:!0,d:"1",syntax:tt.OPACITY_VALUE},{n:"fill",int:!0,k:["none"],d:"none",syntax:tt.PAINT},{n:"fillRule",k:["nonzero","evenodd"],d:"nonzero"},{n:"stroke",int:!0,k:["none"],d:"none",syntax:tt.PAINT,l:!0},{n:"shadowType",k:["inner","outer","both"],d:"outer",l:!0},{n:"shadowColor",int:!0,syntax:tt.COLOR},{n:"shadowOffsetX",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"shadowOffsetY",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"shadowBlur",int:!0,l:!0,d:"0",syntax:tt.SHADOW_BLUR},{n:"lineWidth",int:!0,inh:!0,d:"1",l:!0,a:["strokeWidth"],syntax:tt.LENGTH_PERCENTAGE},{n:"increasedLineWidthForHitTesting",inh:!0,d:"0",l:!0,syntax:tt.LENGTH_PERCENTAGE},{n:"lineJoin",inh:!0,l:!0,a:["strokeLinejoin"],k:["miter","bevel","round"],d:"miter"},{n:"lineCap",inh:!0,l:!0,a:["strokeLinecap"],k:["butt","round","square"],d:"butt"},{n:"lineDash",int:!0,inh:!0,k:["none"],a:["strokeDasharray"],syntax:tt.LENGTH_PERCENTAGE_12},{n:"lineDashOffset",int:!0,inh:!0,d:"0",a:["strokeDashoffset"],syntax:tt.LENGTH_PERCENTAGE},{n:"offsetPath",syntax:tt.DEFINED_PATH},{n:"offsetDistance",int:!0,syntax:tt.OFFSET_DISTANCE},{n:"dx",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"dy",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"zIndex",ind:!0,int:!0,d:"0",k:["auto"],syntax:tt.Z_INDEX},{n:"visibility",k:["visible","hidden"],ind:!0,inh:!0,int:!0,d:"visible"},{n:"pointerEvents",inh:!0,k:["none","auto","stroke","fill","painted","visible","visiblestroke","visiblefill","visiblepainted","all"],d:"auto"},{n:"filter",ind:!0,l:!0,k:["none"],d:"none",syntax:tt.FILTER},{n:"clipPath",syntax:tt.DEFINED_PATH},{n:"textPath",syntax:tt.DEFINED_PATH},{n:"textPathSide",k:["left","right"],d:"left"},{n:"textPathStartOffset",l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"transform",p:100,int:!0,k:["none"],d:"none",syntax:tt.TRANSFORM},{n:"transformOrigin",p:100,d:function(t){return t===G.CIRCLE||t===G.ELLIPSE?"center":t===G.TEXT?"text-anchor":"left top"},l:!0,syntax:tt.TRANSFORM_ORIGIN},{n:"anchor",p:99,d:function(t){return t===G.CIRCLE||t===G.ELLIPSE?"0.5 0.5":"0 0"},l:!0,syntax:tt.LENGTH_PERCENTAGE_12},{n:"cx",int:!0,d:"0",syntax:tt.COORDINATE},{n:"cy",int:!0,d:"0",syntax:tt.COORDINATE},{n:"cz",int:!0,d:"0",syntax:tt.COORDINATE},{n:"r",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"rx",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"ry",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"x",int:!0,d:"0",syntax:tt.COORDINATE},{n:"y",int:!0,d:"0",syntax:tt.COORDINATE},{n:"z",int:!0,d:"0",syntax:tt.COORDINATE},{n:"width",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"height",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:tt.LENGTH_PERCENTAGE},{n:"radius",int:!0,l:!0,d:"0",syntax:tt.LENGTH_PERCENTAGE_14},{n:"x1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"y1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"z1",int:!0,l:!0,syntax:tt.COORDINATE},{n:"x2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"y2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"z2",int:!0,l:!0,syntax:tt.COORDINATE},{n:"path",int:!0,l:!0,d:"",a:["d"],syntax:tt.PATH,p:50},{n:"points",int:!0,l:!0,syntax:tt.LIST_OF_POINTS,p:50},{n:"text",l:!0,d:"",syntax:tt.TEXT,p:50},{n:"textTransform",l:!0,inh:!0,k:["capitalize","uppercase","lowercase","none"],d:"none",syntax:tt.TEXT_TRANSFORM,p:51},{n:"font",l:!0},{n:"fontSize",int:!0,inh:!0,d:"16px",l:!0,syntax:tt.LENGTH_PERCENTAGE},{n:"fontFamily",l:!0,inh:!0,d:"sans-serif"},{n:"fontStyle",l:!0,inh:!0,k:["normal","italic","oblique"],d:"normal"},{n:"fontWeight",l:!0,inh:!0,k:["normal","bold","bolder","lighter"],d:"normal"},{n:"fontVariant",l:!0,inh:!0,k:["normal","small-caps"],d:"normal"},{n:"lineHeight",l:!0,syntax:tt.LENGTH,int:!0,d:"0"},{n:"letterSpacing",l:!0,syntax:tt.LENGTH,int:!0,d:"0"},{n:"miterLimit",l:!0,syntax:tt.NUMBER,d:function(t){return t===G.PATH||t===G.POLYGON||t===G.POLYLINE?"4":"10"}},{n:"wordWrap",l:!0},{n:"wordWrapWidth",l:!0},{n:"maxLines",l:!0},{n:"textOverflow",l:!0,d:"clip"},{n:"leading",l:!0},{n:"textBaseline",l:!0,inh:!0,k:["top","hanging","middle","alphabetic","ideographic","bottom"],d:"alphabetic"},{n:"textAlign",l:!0,inh:!0,k:["start","center","middle","end","left","right"],d:"start"},{n:"markerStart",syntax:tt.MARKER},{n:"markerEnd",syntax:tt.MARKER},{n:"markerMid",syntax:tt.MARKER},{n:"markerStartOffset",syntax:tt.LENGTH,l:!0,int:!0,d:"0"},{n:"markerEndOffset",syntax:tt.LENGTH,l:!0,int:!0,d:"0"}],Qg=Vp.filter(function(t){return!!t.l}).map(function(t){return t.n}),Br={},la=new WeakMap,m4=function(t,e){var n=la.get(t);return!n||n.length===0?!0:n.includes(e)},b4=function(){function t(e){var n=this;this.runtime=e,Vp.forEach(function(r){n.registerMetadata(r)})}return t.prototype.registerMetadata=function(e){q([e.n],N(e.a||[]),!1).forEach(function(n){Br[n]=e})},t.prototype.unregisterMetadata=function(e){delete Br[e]},t.prototype.getPropertySyntax=function(e){return this.runtime.CSSPropertySyntaxFactory[e]},t.prototype.processProperties=function(e,n,r){var i=this;if(r===void 0&&(r={skipUpdateAttribute:!1,skipParse:!1,forceUpdateGeometry:!1,usedAttributes:[],memoize:!0}),!this.runtime.enableCSSParsing){Object.assign(e.attributes,n);var a=Object.keys(n),o=e.parsedStyle.clipPath,s=e.parsedStyle.offsetPath;e.parsedStyle=Object.assign(e.parsedStyle,n);var c=!!r.forceUpdateGeometry;if(!c){for(var l=0;l<Qg.length;l++)if(Qg[l]in n){c=!0;break}}n.fill&&(e.parsedStyle.fill=Ar(n.fill)),n.stroke&&(e.parsedStyle.stroke=Ar(n.stroke)),n.shadowColor&&(e.parsedStyle.shadowColor=Ar(n.shadowColor)),n.filter&&(e.parsedStyle.filter=Aw(n.filter)),nt(n.radius)||(e.parsedStyle.radius=$f(n.radius,4)),nt(n.lineDash)||(e.parsedStyle.lineDash=$f(n.lineDash,2)),n.points&&(e.parsedStyle.points=Lw(n.points,e)),n.path===""&&(e.parsedStyle.path=z({},Sw)),n.path&&(e.parsedStyle.path=oh(n.path),e.parsedStyle.defX=e.parsedStyle.path.rect.x,e.parsedStyle.defY=e.parsedStyle.path.rect.y),n.textTransform&&this.runtime.CSSPropertySyntaxFactory["<text-transform>"].calculator(null,null,{value:n.textTransform},e,null),n.clipPath&&this.runtime.CSSPropertySyntaxFactory["<defined-path>"].calculator("clipPath",o,n.clipPath,e,this.runtime),n.offsetPath&&this.runtime.CSSPropertySyntaxFactory["<defined-path>"].calculator("offsetPath",s,n.offsetPath,e,this.runtime),n.anchor&&(e.parsedStyle.anchor=$f(n.anchor,2)),n.transform&&(e.parsedStyle.transform=Hp(n.transform)),n.transformOrigin&&(e.parsedStyle.transformOrigin=Nw(n.transformOrigin)),n.markerStart&&(e.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator(null,n.markerStart,n.markerStart,null,null)),n.markerEnd&&(e.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator(null,n.markerEnd,n.markerEnd,null,null)),n.markerMid&&(e.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory["<marker>"].calculator("",n.markerMid,n.markerMid,null,null)),((e.nodeName===G.CIRCLE||e.nodeName===G.ELLIPSE)&&(!nt(n.cx)||!nt(n.cy))||(e.nodeName===G.RECT||e.nodeName===G.IMAGE||e.nodeName===G.GROUP||e.nodeName===G.HTML||e.nodeName===G.TEXT||e.nodeName===G.MESH)&&(!nt(n.x)||!nt(n.y)||!nt(n.z))||e.nodeName===G.LINE&&(!nt(n.x1)||!nt(n.y1)||!nt(n.z1)||!nt(n.x2)||!nt(n.y2)||!nt(n.z2)))&&this.runtime.CSSPropertySyntaxFactory["<coordinate>"].postProcessor(e,a),nt(n.zIndex)||this.runtime.CSSPropertySyntaxFactory["<z-index>"].postProcessor(e,a),n.path&&this.runtime.CSSPropertySyntaxFactory["<path>"].postProcessor(e,a),n.points&&this.runtime.CSSPropertySyntaxFactory["<list-of-points>"].postProcessor(e,a),nt(n.offsetDistance)||this.runtime.CSSPropertySyntaxFactory["<offset-distance>"].postProcessor(e,a),n.transform&&this.runtime.CSSPropertySyntaxFactory["<transform>"].postProcessor(e,a),c&&this.updateGeometry(e);return}var u=r.skipUpdateAttribute,f=r.skipParse,d=r.forceUpdateGeometry,h=r.usedAttributes,p=r.memoize,v=d,g=Object.keys(n);g.forEach(function(y){var m;u||(e.attributes[y]=n[y]),!v&&(!((m=Br[y])===null||m===void 0)&&m.l)&&(v=!0)}),f||g.forEach(function(y){e.computedStyle[y]=i.parseProperty(y,e.attributes[y],e,p)}),h!=null&&h.length&&(g=Array.from(new Set(g.concat(h)))),g.forEach(function(y){y in e.computedStyle&&(e.parsedStyle[y]=i.computeProperty(y,e.computedStyle[y],e,p))}),v&&this.updateGeometry(e),g.forEach(function(y){y in e.parsedStyle&&i.postProcessProperty(y,e,g)}),this.runtime.enableCSSParsing&&e.children.length&&g.forEach(function(y){y in e.parsedStyle&&i.isPropertyInheritable(y)&&e.children.forEach(function(m){m.internalSetAttribute(y,null,{skipUpdateAttribute:!0,skipParse:!0})})})},t.prototype.parseProperty=function(e,n,r,i){var a=Br[e],o=n;if((n===""||nt(n))&&(n="unset"),n==="unset"||n==="initial"||n==="inherit")o=eh(n);else if(a){var s=a.k,c=a.syntax,l=c&&this.getPropertySyntax(c);s&&s.indexOf(n)>-1?o=eh(n):l&&(!i&&l.parserUnmemoize?o=l.parserUnmemoize(n,r):l.parser&&(o=l.parser(n,r)))}return o},t.prototype.computeProperty=function(e,n,r,i){var a=Br[e],o=r.id==="g-root",s=n;if(a){var c=a.syntax,l=a.inh,u=a.d;if(n instanceof sn){var f=n.value;if(f==="unset"&&(l&&!o?f="inherit":f="initial"),f==="initial")nt(u)||(n=this.parseProperty(e,ga(u)?u(r.nodeName):u,r,i));else if(f==="inherit"){var d=this.tryToResolveProperty(r,e,{inherited:!0});if(nt(d)){this.addUnresolveProperty(r,e);return}else return d}}var h=c&&this.getPropertySyntax(c);if(h&&h.calculator){var p=r.parsedStyle[e];s=h.calculator(e,p,n,r,this.runtime)}else n instanceof sn?s=n.value:s=n}return s},t.prototype.postProcessProperty=function(e,n,r){var i=Br[e];if(i&&i.syntax){var a=i.syntax&&this.getPropertySyntax(i.syntax),o=a;o&&o.postProcessor&&o.postProcessor(n,r)}},t.prototype.addUnresolveProperty=function(e,n){var r=la.get(e);r||(la.set(e,[]),r=la.get(e)),r.indexOf(n)===-1&&r.push(n)},t.prototype.tryToResolveProperty=function(e,n,r){r===void 0&&(r={});var i=r.inherited;if(i&&e.parentElement&&m4(e.parentElement,n)){var a=e.parentElement.parsedStyle[n];return a==="unset"||a==="initial"||a==="inherit"?void 0:a}},t.prototype.recalc=function(e){var n=la.get(e);if(n&&n.length){var r={};n.forEach(function(i){r[i]=e.attributes[i]}),this.processProperties(e,r),la.delete(e)}},t.prototype.updateGeometry=function(e){var n=e.nodeName,r=this.runtime.geometryUpdaterFactory[n];if(r){var i=e.geometry;i.contentBounds||(i.contentBounds=new be),i.renderBounds||(i.renderBounds=new be);var a=e.parsedStyle,o=r.update(a,e),s=o.width,c=o.height,l=o.depth,u=l===void 0?0:l,f=o.offsetX,d=f===void 0?0:f,h=o.offsetY,p=h===void 0?0:h,v=o.offsetZ,g=v===void 0?0:v,y=[Math.abs(s)/2,Math.abs(c)/2,u/2],m=a,b=m.stroke,x=m.lineWidth,w=m.increasedLineWidthForHitTesting,O=m.shadowType,S=m.shadowColor,_=m.filter,M=_===void 0?[]:_,E=m.transformOrigin,P=a.anchor;n===G.TEXT?delete a.anchor:n===G.MESH&&(a.anchor[2]=.5);var T=[(1-(P&&P[0]||0)*2)*s/2+d,(1-(P&&P[1]||0)*2)*c/2+p,(1-(P&&P[2]||0)*2)*y[2]+g];i.contentBounds.update(T,y);var A=n===G.POLYLINE||n===G.POLYGON||n===G.PATH?Math.SQRT2:.5,k=b&&!b.isNone;if(k){var C=((x||0)+(w||0))*A;y[0]+=C,y[1]+=C}if(i.renderBounds.update(T,y),S&&O&&O!=="inner"){var L=i.renderBounds,I=L.min,R=L.max,j=a,D=j.shadowBlur,$=j.shadowOffsetX,B=j.shadowOffsetY,F=D||0,Y=$||0,U=B||0,K=I[0]-F+Y,V=R[0]+F+Y,W=I[1]-F+U,J=R[1]+F+U;I[0]=Math.min(I[0],K),R[0]=Math.max(R[0],V),I[1]=Math.min(I[1],W),R[1]=Math.max(R[1],J),i.renderBounds.setMinMax(I,R)}M.forEach(function(lt){var xt=lt.name,Et=lt.params;if(xt==="blur"){var Xt=Et[0].value;i.renderBounds.update(i.renderBounds.center,el(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[Xt,Xt,0]))}else if(xt==="drop-shadow"){var ue=Et[0].value,Ke=Et[1].value,vr=Et[2].value,gi=i.renderBounds,Ge=gi.min,wn=gi.max,_t=Ge[0]-vr+ue,Pt=wn[0]+vr+ue,ee=Ge[1]-vr+Ke,kt=wn[1]+vr+Ke;Ge[0]=Math.min(Ge[0],_t),wn[0]=Math.max(wn[0],Pt),Ge[1]=Math.min(Ge[1],ee),wn[1]=Math.max(wn[1],kt),i.renderBounds.setMinMax(Ge,wn)}}),P=a.anchor;var et=s<0,it=c<0,ct=(et?-1:1)*(E?dn(E[0],0,e):0),ot=(it?-1:1)*(E?dn(E[1],1,e):0);ct=ct-(et?-1:1)*(P&&P[0]||0)*i.contentBounds.halfExtents[0]*2,ot=ot-(it?-1:1)*(P&&P[1]||0)*i.contentBounds.halfExtents[1]*2,e.setOrigin(ct,ot),this.runtime.sceneGraphService.dirtifyToRoot(e)}},t.prototype.isPropertyInheritable=function(e){var n=Br[e];return n?n.inh:!1},t}(),x4=function(){function t(){this.parser=Ew,this.parserUnmemoize=zp,this.parserWithCSSDisabled=null,this.mixer=Gp}return t.prototype.calculator=function(e,n,r,i){return hn(r)},t}(),w4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i,a){return r instanceof sn&&(r=null),a.sceneGraphService.updateDisplayObjectDependency(e,n,r,i),e==="clipPath"&&i.forEach(function(o){o.childNodes.length===0&&a.sceneGraphService.dirtifyToRoot(o)}),r},t}(),O4=function(){function t(){this.parser=Ar,this.parserWithCSSDisabled=Ar,this.mixer=YN}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?r.value==="none"?nh:Ow:r},t}(),S4=function(){function t(){this.parser=Aw}return t.prototype.calculator=function(e,n,r){return r instanceof sn?[]:r},t}();function Jg(t){var e=t.parsedStyle.fontSize;return nt(e)?null:e}var Xp=function(){function t(){this.parser=Ba,this.parserUnmemoize=ps,this.parserWithCSSDisabled=null,this.mixer=Gp}return t.prototype.calculator=function(e,n,r,i,a){var o;if(de(r))return r;if(jt.isRelativeUnit(r.unit)){var s=a.styleValueRegistry;if(r.unit===Z.kPercentage)return 0;if(r.unit===Z.kEms){if(i.parentNode){var c=Jg(i.parentNode);if(c)return c*=r.value,c;s.addUnresolveProperty(i,e)}else s.addUnresolveProperty(i,e);return 0}else if(r.unit===Z.kRems){if(!((o=i==null?void 0:i.ownerDocument)===null||o===void 0)&&o.documentElement){var c=Jg(i.ownerDocument.documentElement);if(c)return c*=r.value,c;s.addUnresolveProperty(i,e)}else s.addUnresolveProperty(i,e);return 0}}else return r.value},t}(),_4=function(){function t(){this.mixer=Tw}return t.prototype.parser=function(e){var n=Pw(de(e)?[e]:e),r;return n.length===1?r=[n[0],n[0]]:r=[n[0],n[1]],r},t.prototype.calculator=function(e,n,r){return r.map(function(i){return i.value})},t}(),M4=function(){function t(){this.mixer=Tw}return t.prototype.parser=function(e){var n=Pw(de(e)?[e]:e),r;return n.length===1?r=[n[0],n[0],n[0],n[0]]:n.length===2?r=[n[0],n[1],n[0],n[1]]:n.length===3?r=[n[0],n[1],n[2],n[1]]:r=[n[0],n[1],n[2],n[3]],r},t.prototype.calculator=function(e,n,r){return r.map(function(i){return i.value})},t}(),xo=Nt();function Up(t,e){var n=e.parsedStyle.defX||0,r=e.parsedStyle.defY||0;return e.resetLocalTransform(),e.setLocalPosition(n,r),t.forEach(function(i){var a=i.t,o=i.d;if(a==="scale"){var s=(o==null?void 0:o.map(function(m){return m.value}))||[1,1];e.scaleLocal(s[0],s[1],1)}else if(a==="scalex"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(s[0],1,1)}else if(a==="scaley"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(1,s[0],1)}else if(a==="scalez"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1];e.scaleLocal(1,1,s[0])}else if(a==="scale3d"){var s=(o==null?void 0:o.map(function(b){return b.value}))||[1,1,1];e.scaleLocal(s[0],s[1],s[2])}else if(a==="translate"){var c=o||[we,we];e.translateLocal(c[0].value,c[1].value,0)}else if(a==="translatex"){var c=o||[we];e.translateLocal(c[0].value,0,0)}else if(a==="translatey"){var c=o||[we];e.translateLocal(0,c[0].value,0)}else if(a==="translatez"){var c=o||[we];e.translateLocal(0,0,c[0].value)}else if(a==="translate3d"){var c=o||[we,we,we];e.translateLocal(c[0].value,c[1].value,c[2].value)}else if(a==="rotate"){var l=o||[Hn];e.rotateLocal(0,0,hn(l[0]))}else if(a==="rotatex"){var l=o||[Hn];e.rotateLocal(hn(l[0]),0,0)}else if(a==="rotatey"){var l=o||[Hn];e.rotateLocal(0,hn(l[0]),0)}else if(a==="rotatez"){var l=o||[Hn];e.rotateLocal(0,0,hn(l[0]))}else if(a!=="rotate3d")if(a==="skew"){var u=(o==null?void 0:o.map(function(m){return m.value}))||[0,0];e.setLocalSkew(re(u[0]),re(u[1]))}else if(a==="skewx"){var u=(o==null?void 0:o.map(function(b){return b.value}))||[0];e.setLocalSkew(re(u[0]),e.getLocalSkew()[1])}else if(a==="skewy"){var u=(o==null?void 0:o.map(function(b){return b.value}))||[0];e.setLocalSkew(e.getLocalSkew()[0],re(u[0]))}else if(a==="matrix"){var f=N(o.map(function(m){return m.value}),6),d=f[0],h=f[1],p=f[2],v=f[3],g=f[4],y=f[5];e.setLocalTransform(Td(xo,d,h,0,0,p,v,0,0,0,0,1,0,g+n,y+r,0,1))}else a==="matrix3d"&&(Td.apply(bT,q([xo],N(o.map(function(m){return m.value})),!1)),xo[12]+=n,xo[13]+=r,e.setLocalTransform(xo))}),e.getLocalTransform()}var E4=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.postProcessor=function(n,r){var i,a,o;switch(n.nodeName){case G.CIRCLE:case G.ELLIPSE:var s=n.parsedStyle,c=s.cx,l=s.cy,u=s.cz;nt(c)||(i=c),nt(l)||(a=l),nt(u)||(o=u);break;case G.LINE:var f=n.parsedStyle,d=f.x1,h=f.x2,p=f.y1,v=f.y2,g=Math.min(d,h),y=Math.min(p,v);i=g,a=y,o=0;break;case G.RECT:case G.IMAGE:case G.GROUP:case G.HTML:case G.TEXT:case G.MESH:nt(n.parsedStyle.x)||(i=n.parsedStyle.x),nt(n.parsedStyle.y)||(a=n.parsedStyle.y),nt(n.parsedStyle.z)||(o=n.parsedStyle.z);break}n.nodeName!==G.PATH&&n.nodeName!==G.POLYLINE&&n.nodeName!==G.POLYGON&&(n.parsedStyle.defX=i||0,n.parsedStyle.defY=a||0);var m=!nt(i)||!nt(a)||!nt(o);if(m&&r.indexOf("transform")===-1){var b=n.parsedStyle.transform;if(b&&b.length)Up(b,n);else{var x=N(n.getLocalPosition(),3),w=x[0],O=x[1],S=x[2];n.setLocalPosition(nt(i)?w:i,nt(a)?O:a,nt(o)?S:o)}}},e}(Xp),P4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){r instanceof sn&&(r=null);var a=r==null?void 0:r.cloneNode(!0);return a&&(a.style.isMarker=!0),a},t}(),A4=function(){function t(){this.mixer=Gp,this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(e,n,r){return r.value},t}(),k4=function(){function t(){this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null,this.mixer=Yp(0,1)}return t.prototype.calculator=function(e,n,r){return r.value},t.prototype.postProcessor=function(e){var n=e.parsedStyle,r=n.offsetPath,i=n.offsetDistance;if(r){var a=r.nodeName;if(a===G.LINE||a===G.PATH||a===G.POLYLINE){var o=r.getPoint(i);o&&(e.parsedStyle.defX=o.x,e.parsedStyle.defY=o.y,e.setLocalPosition(o.x,o.y))}}},t}(),T4=function(){function t(){this.parser=zi,this.parserUnmemoize=no,this.parserWithCSSDisabled=null,this.mixer=Yp(0,1)}return t.prototype.calculator=function(e,n,r){return r.value},t}(),C4=function(){function t(){this.parser=oh,this.parserWithCSSDisabled=oh,this.mixer=o4}return t.prototype.calculator=function(e,n,r){return r instanceof sn&&r.value==="unset"?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new Fi(0,0,0,0)}:r},t.prototype.postProcessor=function(e,n){if(e.parsedStyle.defX=e.parsedStyle.path.rect.x,e.parsedStyle.defY=e.parsedStyle.path.rect.y,e.nodeName===G.PATH&&n.indexOf("transform")===-1){var r=e.parsedStyle,i=r.defX,a=i===void 0?0:i,o=r.defY,s=o===void 0?0:o;e.setLocalPosition(a,s)}},t}(),L4=function(){function t(){this.parser=Lw,this.mixer=s4}return t.prototype.postProcessor=function(e,n){if((e.nodeName===G.POLYGON||e.nodeName===G.POLYLINE)&&n.indexOf("transform")===-1){var r=e.parsedStyle,i=r.defX,a=r.defY;e.setLocalPosition(i,a)}},t}(),N4=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.mixer=Yp(0,1/0),n}return e}(Xp),R4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?r.value==="unset"?"":r.value:"".concat(r)},t.prototype.postProcessor=function(e){e.nodeValue="".concat(e.parsedStyle.text)||""},t}(),I4=function(){function t(){}return t.prototype.calculator=function(e,n,r,i){var a=i.getAttribute("text");if(a){var o=a;r.value==="capitalize"?o=a.charAt(0).toUpperCase()+a.slice(1):r.value==="lowercase"?o=a.toLowerCase():r.value==="uppercase"&&(o=a.toUpperCase()),i.parsedStyle.text=o}return r.value},t}(),Gf={},j4=0;function D4(t,e){if(t){var n=typeof t=="string"?t:t.id||j4++;Gf[n]&&Gf[n].destroy(),Gf[n]=e}}var Vs=typeof window<"u"&&typeof window.document<"u";function $4(t){return!!t.getAttribute}function B4(t,e){for(var n=0,r=t.length;n<r;){var i=n+r>>>1;Rw(t[i],e)<0?n=i+1:r=i}return n}function Rw(t,e){var n=Number(t.parsedStyle.zIndex),r=Number(e.parsedStyle.zIndex);if(n===r){var i=t.parentNode;if(i){var a=i.childNodes||[];return a.indexOf(t)-a.indexOf(e)}}return n-r}function Iw(t){var e,n=t;do{var r=(e=n.parsedStyle)===null||e===void 0?void 0:e.clipPath;if(r)return n;n=n.parentElement}while(n!==null);return null}var ty="px";function F4(t,e,n){Vs&&t.style&&(t.style.width=e+ty,t.style.height=n+ty)}function jw(t,e){if(Vs)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function z4(t){var e=jw(t,"width");return e==="auto"?t.offsetWidth:parseFloat(e)}function G4(t){var e=jw(t,"height");return e==="auto"?t.offsetHeight:parseFloat(e)}var Y4=1,W4={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},sh=typeof performance=="object"&&performance.now?performance:Date;function Ki(t,e,n){var r=!1,i=!1,a=!!e&&!e.isNone,o=!!n&&!n.isNone;return t==="visiblepainted"||t==="painted"||t==="auto"?(r=a,i=o):t==="visiblefill"||t==="fill"?r=!0:t==="visiblestroke"||t==="stroke"?i=!0:(t==="visible"||t==="all")&&(r=!0,i=!0),[r,i]}var H4=1,V4=function(){return H4++},sr=typeof self=="object"&&self.self==self?self:typeof global=="object"&&global.global==global?global:{},X4=Date.now(),U4=function(){return sr.performance&&typeof sr.performance.now=="function"?sr.performance.now():Date.now()-X4},Eo={},ey=Date.now(),q4=function(t){if(typeof t!="function")throw new TypeError(t+" is not a function");var e=Date.now(),n=e-ey,r=n>16?0:16-n,i=V4();return Eo[i]=t,Object.keys(Eo).length>1||setTimeout(function(){ey=e;var a=Eo;Eo={},Object.keys(a).forEach(function(o){return a[o](U4())})},r),i},K4=function(t){delete Eo[t]},Z4=["","webkit","moz","ms","o"],Dw=function(t){return typeof t!="string"?q4:t===""?sr.requestAnimationFrame:sr[t+"RequestAnimationFrame"]},Q4=function(t){return typeof t!="string"?K4:t===""?sr.cancelAnimationFrame:sr[t+"CancelAnimationFrame"]||sr[t+"CancelRequestAnimationFrame"]},J4=function(t,e){for(var n=0;t[n]!==void 0;){if(e(t[n]))return t[n];n=n+1}},$w=J4(Z4,function(t){return!!Dw(t)}),Bw=Dw($w),Fw=Q4($w);sr.requestAnimationFrame=Bw;sr.cancelAnimationFrame=Fw;var tR=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(e,n){this.callbacks.push(n)},t.prototype.promise=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Promise.all(this.callbacks.map(function(r){return r.apply(void 0,q([],N(e),!1))}))},t}(),eR=function(){function t(){this.callbacks=[]}return t.prototype.tapPromise=function(e,n){this.callbacks.push(n)},t.prototype.promise=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ka(this,void 0,void 0,function(){var r,i,a,o;return Ta(this,function(s){switch(s.label){case 0:return this.callbacks.length?[4,(o=this.callbacks)[0].apply(o,q([],N(e),!1))]:[3,6];case 1:r=s.sent(),i=0,s.label=2;case 2:return i<this.callbacks.length-1?(a=this.callbacks[i],[4,a(r)]):[3,5];case 3:r=s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2,r];case 6:return[2,null]}})})},t}(),Ye=function(){function t(){this.callbacks=[]}return t.prototype.tap=function(e,n){this.callbacks.push(n)},t.prototype.call=function(){var e=arguments;this.callbacks.forEach(function(n){n.apply(void 0,e)})},t}(),Yf=function(){function t(){this.callbacks=[]}return t.prototype.tap=function(e,n){this.callbacks.push(n)},t.prototype.call=function(){if(this.callbacks.length){for(var e=arguments,n=this.callbacks[0].apply(void 0,e),r=0;r<this.callbacks.length-1;r++){var i=this.callbacks[r];n=i(n)}return n}return null},t}(),nR=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],rR=/([\"\'])[^\'\"]+\1/;function iR(t){for(var e=t.fontSize,n=t.fontFamily,r=t.fontStyle,i=t.fontVariant,a=t.fontWeight,o=de(e)&&"".concat(e,"px")||"16px",s=n.split(","),c=s.length-1;c>=0;c--){var l=s[c].trim();!rR.test(l)&&nR.indexOf(l)<0&&(l='"'.concat(l,'"')),s[c]=l}return"".concat(r," ").concat(i," ").concat(a," ").concat(o," ").concat(s.join(","))}var aR=function(){function t(){this.parser=Hp,this.parserUnmemoize=Kg,this.parserWithCSSDisabled=Kg,this.mixer=g4}return t.prototype.calculator=function(e,n,r,i){return r instanceof sn?[]:r},t.prototype.postProcessor=function(e){var n=e.parsedStyle.transform;Up(n,e)},t}(),oR=function(){function t(){this.parser=Nw,this.parserUnmemoize=y4}return t}(),sR=function(){function t(){this.parser=zi,this.parserUnmemoize=no}return t.prototype.calculator=function(e,n,r,i){return r.value},t.prototype.postProcessor=function(e){if(e.parentNode){var n=e.parentNode,r=n.renderable,i=n.sortable;r&&(r.dirty=!0),i&&(i.dirty=!0,i.dirtyReason=$a.Z_INDEX_CHANGED)}},t}(),cR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.r,i=r*2,a=r*2;return{width:i,height:a}},t}(),lR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.rx,i=e.ry,a=r*2,o=i*2;return{width:a,height:o}},t}(),uR=function(){function t(){}return t.prototype.update=function(e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=Math.min(n,i),s=Math.max(n,i),c=Math.min(r,a),l=Math.max(r,a),u=s-o,f=l-c;return{width:u,height:f}},t}(),fR=function(){function t(){}return t.prototype.update=function(e){var n=e.path,r=n.rect,i=r.width,a=r.height;return{width:i,height:a}},t}(),dR=function(){function t(){}return t.prototype.update=function(e){if(e.points&&Le(e.points.points)){var n=e.points.points,r=Math.min.apply(Math,q([],N(n.map(function(l){return l[0]})),!1)),i=Math.max.apply(Math,q([],N(n.map(function(l){return l[0]})),!1)),a=Math.min.apply(Math,q([],N(n.map(function(l){return l[1]})),!1)),o=Math.max.apply(Math,q([],N(n.map(function(l){return l[1]})),!1)),s=i-r,c=o-a;return{width:s,height:c}}return{width:0,height:0}},t}(),hR=function(){function t(){}return t.prototype.update=function(e,n){var r=e.img,i=e.width,a=i===void 0?0:i,o=e.height,s=o===void 0?0:o,c=a,l=s;return r&&!le(r)&&(c||(c=r.width,e.width=c),l||(l=r.height,e.height=l)),{width:c,height:l}},t}(),pR=function(){function t(e){this.globalRuntime=e}return t.prototype.isReadyToMeasure=function(e,n){var r=e.text,i=e.textAlign,a=e.textBaseline,o=e.fontSize,s=e.fontStyle,c=e.fontWeight,l=e.fontVariant,u=e.lineWidth;return r&&o&&s&&c&&l&&i&&a&&!nt(u)},t.prototype.update=function(e,n){var r,i,a=e.text,o=e.textAlign,s=e.lineWidth,c=e.textBaseline,l=e.dx,u=e.dy;if(!this.isReadyToMeasure(e,n))return e.metrics={font:"",width:0,height:0,lines:[],lineWidths:[],lineHeight:0,maxLineWidth:0,fontProperties:{ascent:0,descent:0,fontSize:0},lineMetrics:[]},{width:0,height:0,x:0,y:0,offsetX:0,offsetY:0};var f=(((i=(r=n==null?void 0:n.ownerDocument)===null||r===void 0?void 0:r.defaultView)===null||i===void 0?void 0:i.getConfig())||{}).offscreenCanvas,d=this.globalRuntime.textService.measureText(a,e,f);e.metrics=d;var h=d.width,p=d.height,v=d.lineHeight,g=d.fontProperties,y=[h/2,p/2,0],m=[0,1],b=0;o==="center"||o==="middle"?(b=s/2,m=[.5,1]):(o==="right"||o==="end")&&(b=s,m=[1,1]);var x=0;return c==="middle"?x=y[1]:c==="top"||c==="hanging"?x=y[1]*2:c==="alphabetic"?x=this.globalRuntime.enableCSSParsing?v-g.ascent:0:(c==="bottom"||c==="ideographic")&&(x=0),l&&(b+=l),u&&(x+=u),e.anchor=[m[0],m[1],0],{width:y[0]*2,height:y[1]*2,offsetX:b,offsetY:x}},t}();function vR(t){return!!t.type}var $u=function(){function t(e){this.eventPhase=t.prototype.NONE,this.bubbles=!0,this.cancelBubble=!0,this.cancelable=!1,this.defaultPrevented=!1,this.propagationStopped=!1,this.propagationImmediatelyStopped=!1,this.layer=new Ee,this.page=new Ee,this.canvas=new Ee,this.viewport=new Ee,this.composed=!1,this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,this.manager=e}return Object.defineProperty(t.prototype,"name",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layerX",{get:function(){return this.layer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layerY",{get:function(){return this.layer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageX",{get:function(){return this.page.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageY",{get:function(){return this.page.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasX",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasY",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportX",{get:function(){return this.viewport.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this.viewport.y},enumerable:!1,configurable:!0}),t.prototype.composedPath=function(){return this.manager&&(!this.path||this.path[0]!==this.target)&&(this.path=this.target?this.manager.propagationPath(this.target):[]),this.path},Object.defineProperty(t.prototype,"propagationPath",{get:function(){return this.composedPath()},enumerable:!1,configurable:!0}),t.prototype.preventDefault=function(){this.nativeEvent instanceof Event&&this.nativeEvent.cancelable&&this.nativeEvent.preventDefault(),this.defaultPrevented=!0},t.prototype.stopImmediatePropagation=function(){this.propagationImmediatelyStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.initEvent=function(){},t.prototype.initUIEvent=function(){},t.prototype.clone=function(){throw new Error(It)},t}(),zw=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.client=new Ee,n.movement=new Ee,n.offset=new Ee,n.global=new Ee,n.screen=new Ee,n}return Object.defineProperty(e.prototype,"clientX",{get:function(){return this.client.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientY",{get:function(){return this.client.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"movementX",{get:function(){return this.movement.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"movementY",{get:function(){return this.movement.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.offset.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.offset.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"globalX",{get:function(){return this.global.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"globalY",{get:function(){return this.global.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screenX",{get:function(){return this.screen.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screenY",{get:function(){return this.screen.y},enumerable:!1,configurable:!0}),e.prototype.getModifierState=function(n){return"getModifierState"in this.nativeEvent&&this.nativeEvent.getModifierState(n)},e.prototype.initMouseEvent=function(){throw new Error(It)},e}($u),ch=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.width=0,n.height=0,n.isPrimary=!1,n}return e.prototype.getCoalescedEvents=function(){return this.type==="pointermove"||this.type==="mousemove"||this.type==="touchmove"?[this]:[]},e.prototype.getPredictedEvents=function(){throw new Error("getPredictedEvents is not supported!")},e.prototype.clone=function(){return this.manager.clonePointerEvent(this)},e}(zw),lh=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.clone=function(){return this.manager.cloneWheelEvent(this)},e}(zw),Dt=function(t){rt(e,t);function e(n,r){var i=t.call(this,null)||this;return i.type=n,i.detail=r,Object.assign(i,r),i}return e}($u),ny=":",Gw=function(){function t(){this.emitter=new $p}return t.prototype.on=function(e,n,r){return this.addEventListener(e,n,r),this},t.prototype.addEventListener=function(e,n,r){var i=Xv(r)&&r||ki(r)&&r.capture,a=ki(r)&&r.once,o=ga(n)?void 0:n,s=!1,c="";if(e.indexOf(ny)>-1){var l=N(e.split(ny),2),u=l[0],f=l[1];e=f,c=u,s=!0}if(e=i?"".concat(e,"capture"):e,n=ga(n)?n:n.handleEvent,s){var d=n;n=function(){for(var h,p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];((h=p[0].target)===null||h===void 0?void 0:h.name)===c&&d.apply(void 0,q([],N(p),!1))}}return a?this.emitter.once(e,n,o):this.emitter.on(e,n,o),this},t.prototype.off=function(e,n,r){return e?this.removeEventListener(e,n,r):this.removeAllEventListeners(),this},t.prototype.removeAllEventListeners=function(){this.emitter.removeAllListeners()},t.prototype.removeEventListener=function(e,n,r){var i=Xv(r)&&r||ki(r)&&r.capture,a=ga(n)?void 0:n;return e=i?"".concat(e,"capture"):e,n=ga(n)?n:n==null?void 0:n.handleEvent,this.emitter.off(e,n,a),this},t.prototype.emit=function(e,n){this.dispatchEvent(new Dt(e,n))},t.prototype.dispatchEvent=function(e,n){var r,i;if(n===void 0&&(n=!1),!vR(e))throw new Error("DisplayObject cannot propagate events outside of the Federated Events API");var a;if(this.document?a=this:this.defaultView?a=this.defaultView:a=(r=this.ownerDocument)===null||r===void 0?void 0:r.defaultView,a){if(e.manager=a.getEventService()||null,!e.manager)return!1;e.defaultPrevented=!1,e.path=[],n||(e.target=this),(i=e.manager)===null||i===void 0||i.dispatchEvent(e,e.type,n)}return!e.defaultPrevented},t}(),_e=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.shadow=!1,n.ownerDocument=null,n.isConnected=!1,n.baseURI="",n.childNodes=[],n.nodeType=0,n.nodeName="",n.nodeValue=null,n.parentNode=null,n}return e.isNode=function(n){return!!n.childNodes},Object.defineProperty(e.prototype,"textContent",{get:function(){var n,r,i="";this.nodeName===G.TEXT&&(i+=this.style.text);try{for(var a=vn(this.childNodes),o=a.next();!o.done;o=a.next()){var s=o.value;s.nodeName===G.TEXT?i+=s.nodeValue:i+=s.textContent}}catch(c){n={error:c}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},set:function(n){var r=this;this.childNodes.slice().forEach(function(i){r.removeChild(i)}),this.nodeName===G.TEXT&&(this.style.text="".concat(n))},enumerable:!1,configurable:!0}),e.prototype.getRootNode=function(n){return n===void 0&&(n={}),this.parentNode?this.parentNode.getRootNode(n):n.composed&&this.host?this.host.getRootNode(n):this},e.prototype.hasChildNodes=function(){return this.childNodes.length>0},e.prototype.isDefaultNamespace=function(n){throw new Error(It)},e.prototype.lookupNamespaceURI=function(n){throw new Error(It)},e.prototype.lookupPrefix=function(n){throw new Error(It)},e.prototype.normalize=function(){throw new Error(It)},e.prototype.isEqualNode=function(n){return this===n},e.prototype.isSameNode=function(n){return this.isEqualNode(n)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(n){var r;if(n===this)return 0;for(var i=n,a=this,o=[i],s=[a];(r=i.parentNode)!==null&&r!==void 0?r:a.parentNode;)i=i.parentNode?(o.push(i.parentNode),i.parentNode):i,a=a.parentNode?(s.push(a.parentNode),a.parentNode):a;if(i!==a)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var c=o.length>s.length?o:s,l=c===o?s:o;if(c[c.length-l.length]===l[0])return c===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=c.length-l.length,f=l.length-1;f>=0;f--){var d=l[f],h=c[u+f];if(h!==d){var p=d.parentNode.childNodes;return p.indexOf(d)<p.indexOf(h)?l===o?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING:c===o?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING}}return e.DOCUMENT_POSITION_FOLLOWING},e.prototype.contain=function(n){return this.contains(n)},e.prototype.contains=function(n){for(var r=n;r&&this!==r;)r=r.parentNode;return!!r},e.prototype.getAncestor=function(n){for(var r=this;n>0&&r;)r=r.parentNode,n--;return r},e.prototype.forEach=function(n,r){r===void 0&&(r=!1),n(this)||(r?this.childNodes.slice():this.childNodes).forEach(function(i){i.forEach(n)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(Gw),gR=2048,yR=function(){function t(e,n){var r=this;this.globalRuntime=e,this.context=n,this.emitter=new $p,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=Nt(),this.tmpVec3=yt(),this.onPointerDown=function(i){var a=r.createPointerEvent(i);if(r.dispatchEvent(a,"pointerdown"),a.pointerType==="touch")r.dispatchEvent(a,"touchstart");else if(a.pointerType==="mouse"||a.pointerType==="pen"){var o=a.button===2;r.dispatchEvent(a,o?"rightdown":"mousedown")}var s=r.trackingData(i.pointerId);s.pressTargetsByButton[i.button]=a.composedPath(),r.freeEvent(a)},this.onPointerUp=function(i){var a,o=sh.now(),s=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);if(r.dispatchEvent(s,"pointerup"),s.pointerType==="touch")r.dispatchEvent(s,"touchend");else if(s.pointerType==="mouse"||s.pointerType==="pen"){var c=s.button===2;r.dispatchEvent(s,c?"rightup":"mouseup")}var l=r.trackingData(i.pointerId),u=r.findMountedTarget(l.pressTargetsByButton[i.button]),f=u;if(u&&!s.composedPath().includes(u)){for(var d=u;d&&!s.composedPath().includes(d);){if(s.currentTarget=d,r.notifyTarget(s,"pointerupoutside"),s.pointerType==="touch")r.notifyTarget(s,"touchendoutside");else if(s.pointerType==="mouse"||s.pointerType==="pen"){var c=s.button===2;r.notifyTarget(s,c?"rightupoutside":"mouseupoutside")}_e.isNode(d)&&(d=d.parentNode)}delete l.pressTargetsByButton[i.button],f=d}if(f){var h=r.clonePointerEvent(s,"click");h.target=f,h.path=[],l.clicksByButton[i.button]||(l.clicksByButton[i.button]={clickCount:0,target:h.target,timeStamp:o});var p=l.clicksByButton[i.button];p.target===h.target&&o-p.timeStamp<200?++p.clickCount:p.clickCount=1,p.target=h.target,p.timeStamp=o,h.detail=p.clickCount,!((a=s.detail)===null||a===void 0)&&a.preventClick||(!r.context.config.useNativeClickEvent&&(h.pointerType==="mouse"||h.pointerType==="touch")&&r.dispatchEvent(h,"click"),r.dispatchEvent(h,"pointertap")),r.freeEvent(h)}r.freeEvent(s)},this.onPointerMove=function(i){var a=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0),o=a.pointerType==="mouse"||a.pointerType==="pen",s=r.trackingData(i.pointerId),c=r.findMountedTarget(s.overTargets);if(s.overTargets&&c!==a.target){var l=i.type==="mousemove"?"mouseout":"pointerout",u=r.createPointerEvent(i,l,c||void 0);if(r.dispatchEvent(u,"pointerout"),o&&r.dispatchEvent(u,"mouseout"),!a.composedPath().includes(c)){var f=r.createPointerEvent(i,"pointerleave",c||void 0);for(f.eventPhase=f.AT_TARGET;f.target&&!a.composedPath().includes(f.target);)f.currentTarget=f.target,r.notifyTarget(f),o&&r.notifyTarget(f,"mouseleave"),_e.isNode(f.target)&&(f.target=f.target.parentNode);r.freeEvent(f)}r.freeEvent(u)}if(c!==a.target){var d=i.type==="mousemove"?"mouseover":"pointerover",h=r.clonePointerEvent(a,d);r.dispatchEvent(h,"pointerover"),o&&r.dispatchEvent(h,"mouseover");for(var p=c&&_e.isNode(c)&&c.parentNode;p&&p!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode)&&p!==a.target;)p=p.parentNode;var v=!p||p===(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);if(v){var g=r.clonePointerEvent(a,"pointerenter");for(g.eventPhase=g.AT_TARGET;g.target&&g.target!==c&&g.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)g.currentTarget=g.target,r.notifyTarget(g),o&&r.notifyTarget(g,"mouseenter"),_e.isNode(g.target)&&(g.target=g.target.parentNode);r.freeEvent(g)}r.freeEvent(h)}r.dispatchEvent(a,"pointermove"),a.pointerType==="touch"&&r.dispatchEvent(a,"touchmove"),o&&(r.dispatchEvent(a,"mousemove"),r.cursor=r.getCursor(a.target)),s.overTargets=a.composedPath(),r.freeEvent(a)},this.onPointerOut=function(i){var a=r.trackingData(i.pointerId);if(a.overTargets){var o=i.pointerType==="mouse"||i.pointerType==="pen",s=r.findMountedTarget(a.overTargets),c=r.createPointerEvent(i,"pointerout",s||void 0);r.dispatchEvent(c),o&&r.dispatchEvent(c,"mouseout");var l=r.createPointerEvent(i,"pointerleave",s||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&l.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)l.currentTarget=l.target,r.notifyTarget(l),o&&r.notifyTarget(l,"mouseleave"),_e.isNode(l.target)&&(l.target=l.target.parentNode);a.overTargets=null,r.freeEvent(c),r.freeEvent(l)}r.cursor=null},this.onPointerOver=function(i){var a=r.trackingData(i.pointerId),o=r.createPointerEvent(i),s=o.pointerType==="mouse"||o.pointerType==="pen";r.dispatchEvent(o,"pointerover"),s&&r.dispatchEvent(o,"mouseover"),o.pointerType==="mouse"&&(r.cursor=r.getCursor(o.target));var c=r.clonePointerEvent(o,"pointerenter");for(c.eventPhase=c.AT_TARGET;c.target&&c.target!==(_e.isNode(r.rootTarget)&&r.rootTarget.parentNode);)c.currentTarget=c.target,r.notifyTarget(c),s&&r.notifyTarget(c,"mouseenter"),_e.isNode(c.target)&&(c.target=c.target.parentNode);a.overTargets=o.composedPath(),r.freeEvent(o),r.freeEvent(c)},this.onPointerUpOutside=function(i){var a=r.trackingData(i.pointerId),o=r.findMountedTarget(a.pressTargetsByButton[i.button]),s=r.createPointerEvent(i);if(o){for(var c=o;c;)s.currentTarget=c,r.notifyTarget(s,"pointerupoutside"),s.pointerType==="touch"||(s.pointerType==="mouse"||s.pointerType==="pen")&&r.notifyTarget(s,s.button===2?"rightupoutside":"mouseupoutside"),_e.isNode(c)&&(c=c.parentNode);delete a.pressTargetsByButton[i.button]}r.freeEvent(s)},this.onWheel=function(i){var a=r.createWheelEvent(i);r.dispatchEvent(a),r.freeEvent(a)},this.onClick=function(i){if(r.context.config.useNativeClickEvent){var a=r.createPointerEvent(i);r.dispatchEvent(a),r.freeEvent(a)}},this.onPointerCancel=function(i){var a=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);r.dispatchEvent(a),r.freeEvent(a)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.client2Viewport=function(e){var n=this.context.contextService.getBoundingClientRect();return new Ee(e.x-((n==null?void 0:n.left)||0),e.y-((n==null?void 0:n.top)||0))},t.prototype.viewport2Client=function(e){var n=this.context.contextService.getBoundingClientRect();return new Ee(e.x+((n==null?void 0:n.left)||0),e.y+((n==null?void 0:n.top)||0))},t.prototype.viewport2Canvas=function(e){var n=e.x,r=e.y,i=this.rootTarget.defaultView,a=i.getCamera(),o=this.context.config,s=o.width,c=o.height,l=a.getPerspectiveInverse(),u=a.getWorldTransform(),f=$e(this.tmpMatrix,u,l),d=Gn(this.tmpVec3,n/s*2-1,(1-r/c)*2-1,0);return Oe(d,d,f),new Ee(d[0],d[1])},t.prototype.canvas2Viewport=function(e){var n=this.rootTarget.defaultView,r=n.getCamera(),i=r.getPerspective(),a=r.getViewTransform(),o=$e(this.tmpMatrix,i,a),s=Gn(this.tmpVec3,e.x,e.y,0);Oe(this.tmpVec3,this.tmpVec3,o);var c=this.context.config,l=c.width,u=c.height;return new Ee((s[0]+1)/2*l,(1-(s[1]+1)/2)*u)},t.prototype.setPickHandler=function(e){this.pickHandler=e},t.prototype.addEventMapping=function(e,n){this.mappingTable[e]||(this.mappingTable[e]=[]),this.mappingTable[e].push({fn:n,priority:0}),this.mappingTable[e].sort(function(r,i){return r.priority-i.priority})},t.prototype.mapEvent=function(e){if(this.rootTarget){var n=this.mappingTable[e.type];if(n)for(var r=0,i=n.length;r<i;r++)n[r].fn(e);else console.warn("[EventService]: Event mapping not defined for ".concat(e.type))}},t.prototype.dispatchEvent=function(e,n,r){if(!r)e.propagationStopped=!1,e.propagationImmediatelyStopped=!1,this.propagate(e,n);else{e.eventPhase=e.AT_TARGET;var i=this.rootTarget.defaultView||null;e.currentTarget=i,this.notifyListeners(e,n)}this.emitter.emit(n||e.type,e)},t.prototype.propagate=function(e,n){if(e.target){var r=e.composedPath();e.eventPhase=e.CAPTURING_PHASE;for(var i=r.length-1;i>=1;i--)if(e.currentTarget=r[i],this.notifyTarget(e,n),e.propagationStopped||e.propagationImmediatelyStopped)return;if(e.eventPhase=e.AT_TARGET,e.currentTarget=e.target,this.notifyTarget(e,n),!(e.propagationStopped||e.propagationImmediatelyStopped)){var a=r.indexOf(e.currentTarget);e.eventPhase=e.BUBBLING_PHASE;for(var i=a+1;i<r.length;i++)if(e.currentTarget=r[i],this.notifyTarget(e,n),e.propagationStopped||e.propagationImmediatelyStopped)return}}},t.prototype.propagationPath=function(e){var n=[e],r=this.rootTarget.defaultView||null;if(r&&r===e)return n.unshift(r.document),n;for(var i=0;i<gR&&e!==this.rootTarget;i++)_e.isNode(e)&&e.parentNode&&(n.push(e.parentNode),e=e.parentNode);return r&&n.push(r),n},t.prototype.hitTest=function(e){var n=e.viewportX,r=e.viewportY,i=this.context.config,a=i.width,o=i.height,s=i.disableHitTesting;return n<0||r<0||n>a||r>o?null:!s&&this.pickHandler(e)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(e){var n,r=this.context.contextService.getDomElement(),i=(n=e.nativeEvent)===null||n===void 0?void 0:n.target;if(i){if(i===r)return!0;if(r&&r.contains)return r.contains(i)}return e.nativeEvent.composedPath?e.nativeEvent.composedPath().indexOf(r)>-1:!1},t.prototype.getExistedHTML=function(e){var n,r;if(e.nativeEvent.composedPath)try{for(var i=vn(e.nativeEvent.composedPath()),a=i.next();!a.done;a=i.next()){var o=a.value,s=this.nativeHTMLMap.get(o);if(s)return s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},t.prototype.pickTarget=function(e){return this.hitTest({clientX:e.clientX,clientY:e.clientY,viewportX:e.viewportX,viewportY:e.viewportY,x:e.canvasX,y:e.canvasY})},t.prototype.createPointerEvent=function(e,n,r,i){var a=this.allocateEvent(ch);this.copyPointerData(e,a),this.copyMouseData(e,a),this.copyData(e,a),a.nativeEvent=e.nativeEvent,a.originalEvent=e;var o=this.getExistedHTML(a);return a.target=r??(o||this.isNativeEventFromCanvas(a)&&this.pickTarget(a)||i),typeof n=="string"&&(a.type=n),a},t.prototype.createWheelEvent=function(e){var n=this.allocateEvent(lh);this.copyWheelData(e,n),this.copyMouseData(e,n),this.copyData(e,n),n.nativeEvent=e.nativeEvent,n.originalEvent=e;var r=this.getExistedHTML(n);return n.target=r||this.isNativeEventFromCanvas(n)&&this.pickTarget(n),n},t.prototype.trackingData=function(e){return this.mappingState.trackingData[e]||(this.mappingState.trackingData[e]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[e]},t.prototype.cloneWheelEvent=function(e){var n=this.allocateEvent(lh);return n.nativeEvent=e.nativeEvent,n.originalEvent=e.originalEvent,this.copyWheelData(e,n),this.copyMouseData(e,n),this.copyData(e,n),n.target=e.target,n.path=e.composedPath().slice(),n.type=e.type,n},t.prototype.clonePointerEvent=function(e,n){var r=this.allocateEvent(ch);return r.nativeEvent=e.nativeEvent,r.originalEvent=e.originalEvent,this.copyPointerData(e,r),this.copyMouseData(e,r),this.copyData(e,r),r.target=e.target,r.path=e.composedPath().slice(),r.type=n??r.type,r},t.prototype.copyPointerData=function(e,n){n.pointerId=e.pointerId,n.width=e.width,n.height=e.height,n.isPrimary=e.isPrimary,n.pointerType=e.pointerType,n.pressure=e.pressure,n.tangentialPressure=e.tangentialPressure,n.tiltX=e.tiltX,n.tiltY=e.tiltY,n.twist=e.twist},t.prototype.copyMouseData=function(e,n){n.altKey=e.altKey,n.button=e.button,n.buttons=e.buttons,n.ctrlKey=e.ctrlKey,n.metaKey=e.metaKey,n.shiftKey=e.shiftKey,n.client.copyFrom(e.client),n.movement.copyFrom(e.movement),n.canvas.copyFrom(e.canvas),n.screen.copyFrom(e.screen),n.global.copyFrom(e.global),n.offset.copyFrom(e.offset)},t.prototype.copyWheelData=function(e,n){n.deltaMode=e.deltaMode,n.deltaX=e.deltaX,n.deltaY=e.deltaY,n.deltaZ=e.deltaZ},t.prototype.copyData=function(e,n){n.isTrusted=e.isTrusted,n.timeStamp=sh.now(),n.type=e.type,n.detail=e.detail,n.view=e.view,n.page.copyFrom(e.page),n.viewport.copyFrom(e.viewport)},t.prototype.allocateEvent=function(e){this.eventPool.has(e)||this.eventPool.set(e,[]);var n=this.eventPool.get(e).pop()||new e(this);return n.eventPhase=n.NONE,n.currentTarget=null,n.path=[],n.target=null,n},t.prototype.freeEvent=function(e){if(e.manager!==this)throw new Error("It is illegal to free an event not managed by this EventBoundary!");var n=e.constructor;this.eventPool.has(n)||this.eventPool.set(n,[]),this.eventPool.get(n).push(e)},t.prototype.notifyTarget=function(e,n){n=n??e.type;var r=e.eventPhase===e.CAPTURING_PHASE||e.eventPhase===e.AT_TARGET?"".concat(n,"capture"):n;this.notifyListeners(e,r),e.eventPhase===e.AT_TARGET&&this.notifyListeners(e,n)},t.prototype.notifyListeners=function(e,n){var r=e.currentTarget.emitter,i=r._events[n];if(i)if("fn"in i)i.once&&r.removeListener(n,i.fn,void 0,!0),i.fn.call(e.currentTarget||i.context,e);else for(var a=0;a<i.length&&!e.propagationImmediatelyStopped;a++)i[a].once&&r.removeListener(n,i[a].fn,void 0,!0),i[a].fn.call(e.currentTarget||i[a].context,e)},t.prototype.findMountedTarget=function(e){if(!e)return null;for(var n=e[e.length-1],r=e.length-2;r>=0;r--){var i=e[r];if(i===this.rootTarget||_e.isNode(i)&&i.parentNode===n)n=e[r];else break}return n},t.prototype.getCursor=function(e){for(var n=e;n;){var r=$4(n)&&n.getAttribute("cursor");if(r)return r;n=_e.isNode(n)&&n.parentNode}},t}(),mR=function(){function t(){}return t.prototype.getOrCreateCanvas=function(e,n){if(this.canvas)return this.canvas;if(e||H.offscreenCanvas)this.canvas=e||H.offscreenCanvas,this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n)),(!this.context||!this.context.measureText)&&(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch{this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",z({willReadFrequently:!0},n))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(e,n){return this.context?this.context:(this.getOrCreateCanvas(e,n),this.context)},t}(),Qr;(function(t){t[t.CAMERA_CHANGED=0]="CAMERA_CHANGED",t[t.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",t[t.NONE=2]="NONE"})(Qr||(Qr={}));var bR=function(){function t(e,n){this.globalRuntime=e,this.context=n,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new Ye,initAsync:new tR,dirtycheck:new Yf,cull:new Yf,beginFrame:new Ye,beforeRender:new Ye,render:new Ye,afterRender:new Ye,endFrame:new Ye,destroy:new Ye,pick:new eR,pickSync:new Yf,pointerDown:new Ye,pointerUp:new Ye,pointerMove:new Ye,pointerOut:new Ye,pointerOver:new Ye,pointerWheel:new Ye,pointerCancel:new Ye,click:new Ye}}return t.prototype.init=function(e){var n=this,r=z(z({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(i){i.apply(r,n.globalRuntime)}),this.hooks.init.call(),this.hooks.initAsync.getCallbacksNum()===0?(this.inited=!0,e()):this.hooks.initAsync.promise().then(function(){n.inited=!0,e()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){var e=this.context.config.renderer,n=e.getConfig().enableDirtyRectangleRendering;return!n||this.context.renderingContext.renderReasons.has(Qr.CAMERA_CHANGED)},t.prototype.render=function(e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var a=i.renderReasons.size===1&&i.renderReasons.has(Qr.CAMERA_CHANGED),o=!e.disableRenderHooks||!(e.disableRenderHooks&&a);o&&this.renderDisplayObject(i.root,e,i),this.hooks.beginFrame.call(),o&&i.renderListCurrentFrame.forEach(function(s){r.hooks.beforeRender.call(s),r.hooks.render.call(s),r.hooks.afterRender.call(s)}),this.hooks.endFrame.call(),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(e,n,r){var i=this,a=n.renderer.getConfig(),o=a.enableDirtyCheck,s=a.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(e);var c=e.renderable,l=o?c.dirty||r.dirtyRectangleRenderingDisabled?e:null:e;if(l){var u=s?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,r.renderListCurrentFrame.push(u))}e.renderable.dirty=!1,e.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var f=e.sortable;f.dirty&&(this.sort(e,f),f.dirty=!1,f.dirtyChildren=[],f.dirtyReason=void 0),(f.sorted||e.childNodes).forEach(function(d){i.renderDisplayObject(d,n,r)})},t.prototype.sort=function(e,n){n.sorted&&n.dirtyReason!==$a.Z_INDEX_CHANGED?n.dirtyChildren.forEach(function(r){var i=e.childNodes.indexOf(r);if(i===-1){var a=n.sorted.indexOf(r);a>=0&&n.sorted.splice(a,1)}else if(n.sorted.length===0)n.sorted.push(r);else{var o=B4(n.sorted,r);n.sorted.splice(o,0,r)}}):n.sorted=e.childNodes.slice().sort(Rw)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(Qr.DISPLAY_OBJECT_CHANGED)},t}(),xR=/\[\s*(.*)=(.*)\s*\]/,wR=function(){function t(){}return t.prototype.selectOne=function(e,n){var r=this;if(e.startsWith("."))return n.find(function(s){return((s==null?void 0:s.classList)||[]).indexOf(r.getIdOrClassname(e))>-1});if(e.startsWith("#"))return n.find(function(s){return s.id===r.getIdOrClassname(e)});if(e.startsWith("[")){var i=this.getAttribute(e),a=i.name,o=i.value;return a?n.find(function(s){return n!==s&&(a==="name"?s.name===o:r.attributeToString(s,a)===o)}):null}else return n.find(function(s){return n!==s&&s.nodeName===e})},t.prototype.selectAll=function(e,n){var r=this;if(e.startsWith("."))return n.findAll(function(s){return n!==s&&((s==null?void 0:s.classList)||[]).indexOf(r.getIdOrClassname(e))>-1});if(e.startsWith("#"))return n.findAll(function(s){return n!==s&&s.id===r.getIdOrClassname(e)});if(e.startsWith("[")){var i=this.getAttribute(e),a=i.name,o=i.value;return a?n.findAll(function(s){return n!==s&&(a==="name"?s.name===o:r.attributeToString(s,a)===o)}):[]}else return n.findAll(function(s){return n!==s&&s.nodeName===e})},t.prototype.is=function(e,n){if(e.startsWith("."))return n.className===this.getIdOrClassname(e);if(e.startsWith("#"))return n.id===this.getIdOrClassname(e);if(e.startsWith("[")){var r=this.getAttribute(e),i=r.name,a=r.value;return i==="name"?n.name===a:this.attributeToString(n,i)===a}else return n.nodeName===e},t.prototype.getIdOrClassname=function(e){return e.substring(1)},t.prototype.getAttribute=function(e){var n=e.match(xR),r="",i="";return n&&n.length>2&&(r=n[1].replace(/"/g,""),i=n[2].replace(/"/g,"")),{name:r,value:i}},t.prototype.attributeToString=function(e,n){if(!e.getAttribute)return"";var r=e.getAttribute(n);return nt(r)?"":r.toString?r.toString():""},t}(),Gi=function(t){rt(e,t);function e(n,r,i,a,o,s,c,l){var u=t.call(this,null)||this;return u.relatedNode=r,u.prevValue=i,u.newValue=a,u.attrName=o,u.attrChange=s,u.prevParsedValue=c,u.newParsedValue=l,u.type=n,u}return e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}($u),ht;(function(t){t.REPARENT="reparent",t.DESTROY="destroy",t.ATTR_MODIFIED="DOMAttrModified",t.INSERTED="DOMNodeInserted",t.REMOVED="removed",t.MOUNTED="DOMNodeInsertedIntoDocument",t.UNMOUNTED="DOMNodeRemovedFromDocument",t.BOUNDS_CHANGED="bounds-changed",t.CULLED="culled"})(ht||(ht={}));function ry(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}var OR=new Gi(ht.REPARENT,null,"","","",0,"",""),SR=function(){function t(e){var n=this;this.runtime=e,this.pendingEvents=[],this.boundsChangedEvent=new Dt(ht.BOUNDS_CHANGED),this.rotate=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.rotateLocal(i,a);else{var l=ve();oc(l,a[0],a[1],a[2]);var u=n.getRotation(i),f=n.getRotation(i.parentNode);sc(r,f),Sf(r,r),qr(l,r,l),qr(c.localRotation,l,u),ml(c.localRotation,c.localRotation),n.dirtifyLocal(i,c)}}}(),this.rotateLocal=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;oc(r,a[0],a[1],a[2]),Zv(c.localRotation,c.localRotation,r),n.dirtifyLocal(i,c)}}(),this.setEulerAngles=function(){var r=ve();return function(i,a,o,s){o===void 0&&(o=0),s===void 0&&(s=0),typeof a=="number"&&(a=St(a,o,s));var c=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.setLocalEulerAngles(i,a);else{oc(c.localRotation,a[0],a[1],a[2]);var l=n.getRotation(i.parentNode);sc(r,Sf(ve(),l)),Zv(c.localRotation,c.localRotation,r),n.dirtifyLocal(i,c)}}}(),this.translateLocal=function(){return function(r,i,a,o){a===void 0&&(a=0),o===void 0&&(o=0),typeof i=="number"&&(i=St(i,a,o));var s=r.transformable;vo(i,yt())||(OT(i,i,s.localRotation),ba(s.localPosition,s.localPosition,i),n.dirtifyLocal(r,s))}}(),this.setPosition=function(){var r=Nt(),i=yt();return function(a,o){var s=a.transformable;if(i[0]=o[0],i[1]=o[1],i[2]=o[2]||0,!vo(n.getPosition(a),i)){if(rn(s.position,i),a.parentNode===null||!a.parentNode.transformable)rn(s.localPosition,i);else{var c=a.parentNode.transformable;Ri(r,c.worldTransform),Wn(r,r),Oe(s.localPosition,i,r)}n.dirtifyLocal(a,s)}}}(),this.setLocalPosition=function(){var r=yt();return function(i,a){var o=i.transformable;r[0]=a[0],r[1]=a[1],r[2]=a[2]||0,!vo(o.localPosition,r)&&(rn(o.localPosition,r),n.dirtifyLocal(i,o))}}(),this.translate=function(){var r=yt(),i=yt(),a=yt();return function(o,s,c,l){c===void 0&&(c=0),l===void 0&&(l=0),typeof s=="number"&&(s=Gn(i,s,c,l)),!vo(s,r)&&(ba(a,n.getPosition(o),s),n.setPosition(o,a))}}(),this.setRotation=function(){var r=ve();return function(i,a,o,s,c){var l=i.transformable;if(typeof a=="number"&&(a=_f(a,o,s,c)),i.parentNode===null||!i.parentNode.transformable)n.setLocalRotation(i,a);else{var u=n.getRotation(i.parentNode);sc(r,u),Sf(r,r),qr(l.localRotation,r,a),ml(l.localRotation,l.localRotation),n.dirtifyLocal(i,l)}}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=function(){var r=Nt(),i=yt(),a=_f(0,0,0,1);return function(o){var s=o.localSkew[0]!==0||o.localSkew[1]!==0;if(s){if(zo(o.localTransform,o.localRotation,o.localPosition,St(1,1,1),o.origin),o.localSkew[0]!==0||o.localSkew[1]!==0){var c=Rs(r);c[4]=Math.tan(o.localSkew[0]),c[1]=Math.tan(o.localSkew[1]),$e(o.localTransform,o.localTransform,c)}var l=zo(r,a,i,o.localScale,o.origin);$e(o.localTransform,o.localTransform,l)}else zo(o.localTransform,o.localRotation,o.localPosition,o.localScale,o.origin)}}()}return t.prototype.matches=function(e,n){return this.runtime.sceneGraphSelector.is(e,n)},t.prototype.querySelector=function(e,n){return this.runtime.sceneGraphSelector.selectOne(e,n)},t.prototype.querySelectorAll=function(e,n){return this.runtime.sceneGraphSelector.selectAll(e,n)},t.prototype.attach=function(e,n,r){var i,a,o=!1;e.parentNode&&(o=e.parentNode!==n,this.detach(e)),e.parentNode=n,nt(r)?e.parentNode.childNodes.push(e):e.parentNode.childNodes.splice(r,0,e);var s=n.sortable;(!((i=s==null?void 0:s.sorted)===null||i===void 0)&&i.length||!((a=e.style)===null||a===void 0)&&a.zIndex)&&(s.dirtyChildren.indexOf(e)===-1&&s.dirtyChildren.push(e),s.dirty=!0,s.dirtyReason=$a.ADDED);var c=e.transformable;c&&this.dirtifyWorld(e,c),c.frozen&&this.unfreezeParentToRoot(e),o&&e.dispatchEvent(OR)},t.prototype.detach=function(e){var n,r;if(e.parentNode){var i=e.transformable,a=e.parentNode.sortable;(!((n=a==null?void 0:a.sorted)===null||n===void 0)&&n.length||!((r=e.style)===null||r===void 0)&&r.zIndex)&&(a.dirtyChildren.indexOf(e)===-1&&a.dirtyChildren.push(e),a.dirty=!0,a.dirtyReason=$a.REMOVED);var o=e.parentNode.childNodes.indexOf(e);o>-1&&e.parentNode.childNodes.splice(o,1),i&&this.dirtifyWorld(e,i),e.parentNode=null}},t.prototype.getOrigin=function(e){return e.transformable.origin},t.prototype.setOrigin=function(e,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=[n,r,i]);var a=e.transformable;if(!(n[0]===a.origin[0]&&n[1]===a.origin[1]&&n[2]===a.origin[2])){var o=a.origin;o[0]=n[0],o[1]=n[1],o[2]=n[2]||0,this.dirtifyLocal(e,a)}},t.prototype.setLocalEulerAngles=function(e,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=St(n,r,i));var a=e.transformable;oc(a.localRotation,n[0],n[1],n[2]),this.dirtifyLocal(e,a)},t.prototype.scaleLocal=function(e,n){var r=e.transformable;xT(r.localScale,r.localScale,St(n[0],n[1],n[2]||1)),this.dirtifyLocal(e,r)},t.prototype.setLocalScale=function(e,n){var r=e.transformable,i=St(n[0],n[1],n[2]||r.localScale[2]);vo(i,r.localScale)||(rn(r.localScale,i),this.dirtifyLocal(e,r))},t.prototype.setLocalRotation=function(e,n,r,i,a){typeof n=="number"&&(n=_f(n,r,i,a));var o=e.transformable;sc(o.localRotation,n),this.dirtifyLocal(e,o)},t.prototype.setLocalSkew=function(e,n,r){typeof n=="number"&&(n=AT(n,r));var i=e.transformable;kT(i.localSkew,n),this.dirtifyLocal(e,i)},t.prototype.dirtifyLocal=function(e,n){n.localDirtyFlag||(n.localDirtyFlag=!0,n.dirtyFlag||this.dirtifyWorld(e,n))},t.prototype.dirtifyWorld=function(e,n){n.dirtyFlag||this.unfreezeParentToRoot(e),this.dirtifyWorldInternal(e,n),this.dirtifyToRoot(e,!0)},t.prototype.triggerPendingEvents=function(){var e=this,n=new Set,r=function(i,a){i.isConnected&&!n.has(i.entity)&&(e.boundsChangedEvent.detail=a,e.boundsChangedEvent.target=i,i.isMutationObserved?i.dispatchEvent(e.boundsChangedEvent):i.ownerDocument.defaultView.dispatchEvent(e.boundsChangedEvent,!0),n.add(i.entity))};this.pendingEvents.forEach(function(i){var a=N(i,2),o=a[0],s=a[1];s.affectChildren?o.forEach(function(c){r(c,s)}):r(o,s)}),this.clearPendingEvents(),n.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(e,n){n===void 0&&(n=!1);var r=e;for(r.renderable&&(r.renderable.dirty=!0);r;)ry(r),r=r.parentNode;n&&e.forEach(function(i){ry(i)}),this.informDependentDisplayObjects(e),this.pendingEvents.push([e,{affectChildren:n}])},t.prototype.updateDisplayObjectDependency=function(e,n,r,i){if(n&&n!==r){var a=this.displayObjectDependencyMap.get(n);if(a&&a[e]){var o=a[e].indexOf(i);a[e].splice(o,1)}}if(r){var s=this.displayObjectDependencyMap.get(r);s||(this.displayObjectDependencyMap.set(r,{}),s=this.displayObjectDependencyMap.get(r)),s[e]||(s[e]=[]),s[e].push(i)}},t.prototype.informDependentDisplayObjects=function(e){var n=this,r=this.displayObjectDependencyMap.get(e);r&&Object.keys(r).forEach(function(i){r[i].forEach(function(a){n.dirtifyToRoot(a,!0),a.dispatchEvent(new Gi(ht.ATTR_MODIFIED,a,n,n,i,Gi.MODIFICATION,n,n)),a.isCustomElement&&a.isConnected&&a.attributeChangedCallback&&a.attributeChangedCallback(i,n,n)})})},t.prototype.getPosition=function(e){var n=e.transformable;return gl(n.position,this.getWorldTransform(e,n))},t.prototype.getRotation=function(e){var n=e.transformable;return yl(n.rotation,this.getWorldTransform(e,n))},t.prototype.getScale=function(e){var n=e.transformable;return Aa(n.scaling,this.getWorldTransform(e,n))},t.prototype.getWorldTransform=function(e,n){return n===void 0&&(n=e.transformable),!n.localDirtyFlag&&!n.dirtyFlag||(e.parentNode&&e.parentNode.transformable&&this.getWorldTransform(e.parentNode),this.sync(e,n)),n.worldTransform},t.prototype.getLocalPosition=function(e){return e.transformable.localPosition},t.prototype.getLocalRotation=function(e){return e.transformable.localRotation},t.prototype.getLocalScale=function(e){return e.transformable.localScale},t.prototype.getLocalSkew=function(e){return e.transformable.localSkew},t.prototype.getLocalTransform=function(e){var n=e.transformable;return n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.localTransform},t.prototype.setLocalTransform=function(e,n){var r=gl(yt(),n),i=yl(ve(),n),a=Aa(yt(),n);this.setLocalScale(e,a),this.setLocalPosition(e,r),this.setLocalRotation(e,i)},t.prototype.resetLocalTransform=function(e){this.setLocalScale(e,[1,1,1]),this.setLocalPosition(e,[0,0,0]),this.setLocalEulerAngles(e,[0,0,0]),this.setLocalSkew(e,[0,0])},t.prototype.getTransformedGeometryBounds=function(e,n,r){n===void 0&&(n=!1);var i=this.getGeometryBounds(e,n);if(be.isEmpty(i))return null;var a=r||new be;return a.setFromTransformedAABB(i,this.getWorldTransform(e)),a},t.prototype.getGeometryBounds=function(e,n){n===void 0&&(n=!1);var r=e.geometry,i=n?r.renderBounds:r.contentBounds||null;return i||new be},t.prototype.getBounds=function(e,n){var r=this;n===void 0&&(n=!1);var i=e.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var a=n?i.renderBounds:i.bounds,o=this.getTransformedGeometryBounds(e,n,a),s=e.childNodes;if(s.forEach(function(u){var f=r.getBounds(u,n);f&&(o?o.add(f):(o=a||new be,o.update(f.center,f.halfExtents)))}),n){var c=Iw(e);if(c){var l=c.parsedStyle.clipPath.getBounds(n);o?l&&(o=l.intersection(o)):o=l}}return o||(o=new be),o&&(n?i.renderBounds=o:i.bounds=o),n?i.renderBoundsDirty=!1:i.boundsDirty=!1,o},t.prototype.getLocalBounds=function(e){if(e.parentNode){var n=Nt();e.parentNode.transformable&&(n=Wn(Nt(),this.getWorldTransform(e.parentNode)));var r=this.getBounds(e);if(!be.isEmpty(r)){var i=new be;return i.setFromTransformedAABB(r,n),i}}return this.getBounds(e)},t.prototype.getBoundingClientRect=function(e){var n,r,i,a=this.getGeometryBounds(e);be.isEmpty(a)||(i=new be,i.setFromTransformedAABB(a,this.getWorldTransform(e)));var o=(r=(n=e.ownerDocument)===null||n===void 0?void 0:n.defaultView)===null||r===void 0?void 0:r.getContextService().getBoundingClientRect();if(i){var s=N(i.getMin(),2),c=s[0],l=s[1],u=N(i.getMax(),2),f=u[0],d=u[1];return new Fi(c+((o==null?void 0:o.left)||0),l+((o==null?void 0:o.top)||0),f-c,d-l)}return new Fi((o==null?void 0:o.left)||0,(o==null?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(e,n){var r=this;if(!n.dirtyFlag){n.dirtyFlag=!0,n.frozen=!1,e.childNodes.forEach(function(a){var o=a.transformable;o.dirtyFlag||r.dirtifyWorldInternal(a,o)});var i=e.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}},t.prototype.syncHierarchy=function(e){var n=e.transformable;if(!n.frozen){n.frozen=!0,(n.localDirtyFlag||n.dirtyFlag)&&this.sync(e,n);for(var r=e.childNodes,i=0;i<r.length;i++)this.syncHierarchy(r[i])}},t.prototype.sync=function(e,n){if(n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.dirtyFlag){var r=e.parentNode,i=r&&r.transformable;r===null||!i?Ri(n.worldTransform,n.localTransform):$e(n.worldTransform,i.worldTransform,n.localTransform),n.dirtyFlag=!1}},t.prototype.unfreezeParentToRoot=function(e){for(var n=e.parentNode;n;){var r=n.transformable;r&&(r.frozen=!1),n=n.parentNode}},t}(),xi={MetricsString:"|ÉqÅ",BaselineSymbol:"M",BaselineMultiplier:1.4,HeightMultiplier:2,Newlines:[10,13],BreakingSpaces:[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]},iy=/[a-zA-Z0-9\u00C0-\u00D6\u00D8-\u00f6\u00f8-\u00ff!"#$%&'()*+,-./:;]/,_R=/[!%),.:;?\]}¢°·'""†‡›℃∶、。〃〆〕〗〞﹚﹜!"%'),.:;?!]}~]/,MR=/[$(£¥·'"〈《「『【〔〖〝﹙﹛$(.[{£¥]/,ER=/[!),.:;?\]}¢·–—'"•"、。〆〞〕〉》」︰︱︲︳﹐﹑﹒﹔﹕﹖﹘﹚﹜!),.:;?︶︸︺︼︾﹀﹂﹗]|}、]/,PR=/[([{£¥'"‵〈《「『〔〝︴﹙﹛({︵︷︹︻︽︿﹁﹃﹏]/,AR=/[)\]}〕〉》」』】〙〗〟'"⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、:;,。.]/,kR=/[([{〔〈《「『【〘〖〝'"⦅«—...‥〳〴〵]/,TR=/[!%),.:;?\]}¢°'"†‡℃〆〈《「『〕!%),.:;?]}]/,CR=/[$([{£¥'"々〇〉》」〔$([{⦆¥₩#]/,LR=new RegExp("".concat(_R.source,"|").concat(ER.source,"|").concat(AR.source,"|").concat(TR.source)),NR=new RegExp("".concat(MR.source,"|").concat(PR.source,"|").concat(kR.source,"|").concat(CR.source)),RR=function(){function t(e){var n=this;this.runtime=e,this.fontMetricsCache={},this.shouldBreakByKinsokuShorui=function(r,i){return n.isBreakingSpace(i)?!1:!!(r&&(NR.exec(i)||LR.exec(r)))},this.trimByKinsokuShorui=function(r){var i=q([],N(r),!1),a=i[i.length-2];if(!a)return r;var o=a[a.length-1];return i[i.length-2]=a.slice(0,-1),i[i.length-1]=o+i[i.length-1],i}}return t.prototype.measureFont=function(e,n){if(this.fontMetricsCache[e])return this.fontMetricsCache[e];var r={ascent:0,descent:0,fontSize:0},i=this.runtime.offscreenCanvasCreator.getOrCreateCanvas(n),a=this.runtime.offscreenCanvasCreator.getOrCreateContext(n,{willReadFrequently:!0});a.font=e;var o=xi.MetricsString+xi.BaselineSymbol,s=Math.ceil(a.measureText(o).width),c=Math.ceil(a.measureText(xi.BaselineSymbol).width),l=xi.HeightMultiplier*c;c=c*xi.BaselineMultiplier|0,i.width=s,i.height=l,a.fillStyle="#f00",a.fillRect(0,0,s,l),a.font=e,a.textBaseline="alphabetic",a.fillStyle="#000",a.fillText(o,0,c);var u=a.getImageData(0,0,s||1,l||1).data,f=u.length,d=s*4,h=0,p=0,v=!1;for(h=0;h<c;++h){for(var g=0;g<d;g+=4)if(u[p+g]!==255){v=!0;break}if(!v)p+=d;else break}for(r.ascent=c-h,p=f-d,v=!1,h=l;h>c;--h){for(var g=0;g<d;g+=4)if(u[p+g]!==255){v=!0;break}if(!v)p-=d;else break}return r.descent=h-c,r.fontSize=r.ascent+r.descent,this.fontMetricsCache[e]=r,r},t.prototype.measureText=function(e,n,r){var i=n.fontSize,a=n.wordWrap,o=n.lineHeight,s=n.lineWidth,c=n.textBaseline,l=n.textAlign,u=n.letterSpacing,f=n.textPath;n.textPathSide,n.textPathStartOffset;var d=n.leading,h=d===void 0?0:d,p=iR(n),v=this.measureFont(p,r);v.fontSize===0&&(v.fontSize=i,v.ascent=i);var g=this.runtime.offscreenCanvasCreator.getOrCreateContext(r);g.font=p,n.isOverflowing=!1;var y=a?this.wordWrap(e,n,r):e,m=y.split(/(?:\r\n|\r|\n)/),b=new Array(m.length),x=0;if(f){f.getTotalLength();for(var w=0;w<m.length;w++)var O=g.measureText(m[w]).width+(m[w].length-1)*u}else{for(var w=0;w<m.length;w++){var S=g.measureText(m[w]).width+(m[w].length-1)*u;b[w]=S,x=Math.max(x,S)}var O=x+s,_=o||v.fontSize+s,M=Math.max(_,v.fontSize+s)+(m.length-1)*(_+h);_+=h;var E=0;return c==="middle"?E=-M/2:c==="bottom"||c==="alphabetic"||c==="ideographic"?E=-M:(c==="top"||c==="hanging")&&(E=0),{font:p,width:O,height:M,lines:m,lineWidths:b,lineHeight:_,maxLineWidth:x,fontProperties:v,lineMetrics:b.map(function(T,A){var k=0;return l==="center"||l==="middle"?k-=T/2:(l==="right"||l==="end")&&(k-=T),new Fi(k-s/2,E+A*_,T+s,_)})}}},t.prototype.setGraphemeOnPath=function(){},t.prototype.wordWrap=function(e,n,r){var i=this,a=n.wordWrapWidth,o=a===void 0?0:a,s=n.letterSpacing,c=n.maxLines,l=c===void 0?1/0:c,u=n.textOverflow,f=this.runtime.offscreenCanvasCreator.getOrCreateContext(r),d=o+s,h="";u==="ellipsis"?h="...":u&&u!=="clip"&&(h=u);for(var p=[],v=0,g=0,y={},m=function(C){return i.getFromCache(C,s,y,f)},b=Array.from(h).reduce(function(C,L){return C+m(L)},0),x=Array.from(e),w=0;w<x.length;w++){var O=x[w],S=e[w-1],_=e[w+1],M=m(O);if(this.isNewline(O)){if(v++,v>=l){n.isOverflowing=!0;break}g=0,p[v]="";continue}if(g>0&&g+M>d){if(v+1>=l){if(n.isOverflowing=!0,b>0&&b<=d){for(var E=p[v].length,P=0,T=E,A=0;A<E;A++){var k=m(p[v][A]);if(P+k+b>d){T=A;break}P+=k}p[v]=(p[v]||"").slice(0,T)+h}break}if(v++,g=0,p[v]="",this.isBreakingSpace(O))continue;this.canBreakInLastChar(O)||(p=this.trimToBreakable(p),g=this.sumTextWidthByCache(p[v]||"",y)),this.shouldBreakByKinsokuShorui(O,_)&&(p=this.trimByKinsokuShorui(p),g+=m(S||""))}g+=M,p[v]=(p[v]||"")+O}return p.join(`
`)},t.prototype.isBreakingSpace=function(e){return typeof e!="string"?!1:xi.BreakingSpaces.indexOf(e.charCodeAt(0))>=0},t.prototype.isNewline=function(e){return typeof e!="string"?!1:xi.Newlines.indexOf(e.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(e){var n=q([],N(e),!1),r=n[n.length-2],i=this.findBreakableIndex(r);if(i===-1||!r)return n;var a=r.slice(i,i+1),o=this.isBreakingSpace(a),s=i+1,c=i+(o?0:1);return n[n.length-1]+=r.slice(s,r.length),n[n.length-2]=r.slice(0,c),n},t.prototype.canBreakInLastChar=function(e){return!(e&&iy.test(e))},t.prototype.sumTextWidthByCache=function(e,n){return e.split("").reduce(function(r,i){if(!n[i])throw Error("cannot count the word without cache");return r+n[i]},0)},t.prototype.findBreakableIndex=function(e){for(var n=e.length-1;n>=0;n--)if(!iy.test(e[n]))return n;return-1},t.prototype.getFromCache=function(e,n,r,i){var a=r[e];if(typeof a!="number"){var o=e.length*n;a=i.measureText(e).width+o,r[e]=a}return a},t}(),H={},IR=function(){var t,e=new hR,n=new dR;return t={},t[G.CIRCLE]=new cR,t[G.ELLIPSE]=new lR,t[G.RECT]=e,t[G.IMAGE]=e,t[G.GROUP]=e,t[G.LINE]=new uR,t[G.TEXT]=new pR(H),t[G.POLYLINE]=n,t[G.POLYGON]=n,t[G.PATH]=new fR,t[G.HTML]=null,t[G.MESH]=null,t}(),jR=function(){var t,e=new O4,n=new Xp;return t={},t[tt.PERCENTAGE]=null,t[tt.NUMBER]=new A4,t[tt.ANGLE]=new x4,t[tt.DEFINED_PATH]=new w4,t[tt.PAINT]=e,t[tt.COLOR]=e,t[tt.FILTER]=new S4,t[tt.LENGTH]=n,t[tt.LENGTH_PERCENTAGE]=n,t[tt.LENGTH_PERCENTAGE_12]=new _4,t[tt.LENGTH_PERCENTAGE_14]=new M4,t[tt.COORDINATE]=new E4,t[tt.OFFSET_DISTANCE]=new k4,t[tt.OPACITY_VALUE]=new T4,t[tt.PATH]=new C4,t[tt.LIST_OF_POINTS]=new L4,t[tt.SHADOW_BLUR]=new N4,t[tt.TEXT]=new R4,t[tt.TEXT_TRANSFORM]=new I4,t[tt.TRANSFORM]=new aR,t[tt.TRANSFORM_ORIGIN]=new oR,t[tt.Z_INDEX]=new sR,t[tt.MARKER]=new P4,t}(),DR=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}};H.CameraContribution=ww;H.AnimationTimeline=null;H.EasingFunction=null;H.offscreenCanvasCreator=new mR;H.sceneGraphSelector=new wR;H.sceneGraphService=new SR(H);H.textService=new RR(H);H.geometryUpdaterFactory=IR;H.CSSPropertySyntaxFactory=jR;H.styleValueRegistry=new b4(H);H.layoutRegistry=null;H.globalThis=DR();H.enableCSSParsing=!0;H.enableDataset=!1;H.enableStyleSyntax=!0;var $R=0,ay=new Gi(ht.INSERTED,null,"","","",0,"",""),oy=new Gi(ht.REMOVED,null,"","","",0,"",""),BR=new Dt(ht.DESTROY),FR=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.entity=$R++,n.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},n.cullable={strategy:rh.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},n.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},n.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},n.geometry={contentBounds:void 0,renderBounds:void 0},n.rBushNode={aabb:void 0},n.namespaceURI="g",n.scrollLeft=0,n.scrollTop=0,n.clientTop=0,n.clientLeft=0,n.destroyed=!1,n.style={},n.computedStyle=H.enableCSSParsing?{anchor:Gt,opacity:Gt,fillOpacity:Gt,strokeOpacity:Gt,fill:Gt,stroke:Gt,transform:Gt,transformOrigin:Gt,visibility:Gt,pointerEvents:Gt,lineWidth:Gt,lineCap:Gt,lineJoin:Gt,increasedLineWidthForHitTesting:Gt,fontSize:Gt,fontFamily:Gt,fontStyle:Gt,fontWeight:Gt,fontVariant:Gt,textAlign:Gt,textBaseline:Gt,textTransform:Gt,zIndex:Gt,filter:Gt,shadowType:Gt}:null,n.parsedStyle={},n.attributes={},n}return Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(n){this.setAttribute("class",n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(n){return n!==""})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(n){throw new Error(It)},e.prototype.appendChild=function(n,r){var i;if(n.destroyed)throw new Error(pN);return H.sceneGraphService.attach(n,this,r),!((i=this.ownerDocument)===null||i===void 0)&&i.defaultView&&this.ownerDocument.defaultView.mountChildren(n),ay.relatedNode=this,n.dispatchEvent(ay),n},e.prototype.insertBefore=function(n,r){if(!r)this.appendChild(n);else{n.parentElement&&n.parentElement.removeChild(n);var i=this.childNodes.indexOf(r);i===-1?this.appendChild(n):this.appendChild(n,i)}return n},e.prototype.replaceChild=function(n,r){var i=this.childNodes.indexOf(r);return this.removeChild(r),this.appendChild(n,i),r},e.prototype.removeChild=function(n){var r;return oy.relatedNode=this,n.dispatchEvent(oy),!((r=n.ownerDocument)===null||r===void 0)&&r.defaultView&&n.ownerDocument.defaultView.unmountChildren(n),H.sceneGraphService.detach(n),n},e.prototype.removeChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];this.removeChild(r)}},e.prototype.destroyChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];r.childNodes.length&&r.destroyChildren(),r.destroy()}},e.prototype.matches=function(n){return H.sceneGraphService.matches(n,this)},e.prototype.getElementById=function(n){return H.sceneGraphService.querySelector("#".concat(n),this)},e.prototype.getElementsByName=function(n){return H.sceneGraphService.querySelectorAll('[name="'.concat(n,'"]'),this)},e.prototype.getElementsByClassName=function(n){return H.sceneGraphService.querySelectorAll(".".concat(n),this)},e.prototype.getElementsByTagName=function(n){return H.sceneGraphService.querySelectorAll(n,this)},e.prototype.querySelector=function(n){return H.sceneGraphService.querySelector(n,this)},e.prototype.querySelectorAll=function(n){return H.sceneGraphService.querySelectorAll(n,this)},e.prototype.closest=function(n){var r=this;do{if(H.sceneGraphService.matches(n,r))return r;r=r.parentElement}while(r!==null);return null},e.prototype.find=function(n){var r=this,i=null;return this.forEach(function(a){return a!==r&&n(a)?(i=a,!0):!1}),i},e.prototype.findAll=function(n){var r=this,i=[];return this.forEach(function(a){a!==r&&n(a)&&i.push(a)}),i},e.prototype.after=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(this.parentNode){var a=this.parentNode.childNodes.indexOf(this);r.forEach(function(o,s){var c;return(c=n.parentNode)===null||c===void 0?void 0:c.appendChild(o,a+s+1)})}},e.prototype.before=function(){for(var n,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(this.parentNode){var a=this.parentNode.childNodes.indexOf(this),o=N(r),s=o[0],c=o.slice(1);this.parentNode.appendChild(s,a),(n=s).after.apply(n,q([],N(c),!1))}},e.prototype.replaceWith=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.after.apply(this,q([],N(n),!1)),this.remove()},e.prototype.append=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];r.forEach(function(a){return n.appendChild(a)})},e.prototype.prepend=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];r.forEach(function(a,o){return n.appendChild(a,o)})},e.prototype.replaceChildren=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(;this.childNodes.length&&this.firstChild;)this.removeChild(this.firstChild);this.append.apply(this,q([],N(n),!1))},e.prototype.remove=function(){return this.parentNode?this.parentNode.removeChild(this):this},e.prototype.destroy=function(){this.dispatchEvent(BR),this.remove(),this.emitter.removeAllListeners(),this.destroyed=!0},e.prototype.getGeometryBounds=function(){return H.sceneGraphService.getGeometryBounds(this)},e.prototype.getRenderBounds=function(){return H.sceneGraphService.getBounds(this,!0)},e.prototype.getBounds=function(){return H.sceneGraphService.getBounds(this)},e.prototype.getLocalBounds=function(){return H.sceneGraphService.getLocalBounds(this)},e.prototype.getBoundingClientRect=function(){return H.sceneGraphService.getBoundingClientRect(this)},e.prototype.getClientRects=function(){return[this.getBoundingClientRect()]},e.prototype.computedStyleMap=function(){return new Map(Object.entries(this.computedStyle))},e.prototype.getAttributeNames=function(){return Object.keys(this.attributes)},e.prototype.getAttribute=function(n){if(SN(n))return H.enableCSSParsing?null:void 0;var r=this.attributes[n];if(r===void 0){var i=Jd(n);return r=this.attributes[i],H.enableCSSParsing&&nt(r)?null:r}else return r},e.prototype.hasAttribute=function(n){return this.getAttributeNames().includes(n)},e.prototype.hasAttributes=function(){return!!this.getAttributeNames().length},e.prototype.removeAttribute=function(n){this.setAttribute(n,null),delete this.attributes[n]},e.prototype.setAttribute=function(n,r,i){this.attributes[n]=r},e.prototype.getAttributeNS=function(n,r){throw new Error(It)},e.prototype.getAttributeNode=function(n){throw new Error(It)},e.prototype.getAttributeNodeNS=function(n,r){throw new Error(It)},e.prototype.hasAttributeNS=function(n,r){throw new Error(It)},e.prototype.removeAttributeNS=function(n,r){throw new Error(It)},e.prototype.removeAttributeNode=function(n){throw new Error(It)},e.prototype.setAttributeNS=function(n,r,i){throw new Error(It)},e.prototype.setAttributeNode=function(n){throw new Error(It)},e.prototype.setAttributeNodeNS=function(n){throw new Error(It)},e.prototype.toggleAttribute=function(n,r){throw new Error(It)},e}(_e);function Mt(t){return!!(t!=null&&t.nodeName)}var gr=new Gi(ht.ATTR_MODIFIED,null,null,null,null,Gi.MODIFICATION,null,null),zR={anchor:"",opacity:"",fillOpacity:"",strokeOpacity:"",fill:"",stroke:"",transform:"",transformOrigin:"",visibility:"",pointerEvents:"",lineWidth:"",lineCap:"",lineJoin:"",increasedLineWidthForHitTesting:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",zIndex:"",filter:"",shadowType:""},Yw={anchor:[0,0],fill:nh,stroke:nh,transform:[],zIndex:0,filter:[],shadowType:"outer",miterLimit:10},GR=z(z({},Yw),{opacity:1,fillOpacity:1,strokeOpacity:1,visibility:"visible",pointerEvents:"auto",lineWidth:1,lineCap:"butt",lineJoin:"miter",increasedLineWidthForHitTesting:0,fillRule:"nonzero"}),YR=["opacity","fillOpacity","strokeOpacity","transformOrigin","visibility","pointerEvents","lineWidth","lineCap","lineJoin","increasedLineWidthForHitTesting"],WR=q(q([],N(YR),!1),["fontSize","fontFamily","fontStyle","fontWeight","fontVariant","textAlign","textBaseline","textTransform"],!1),sy="data-",ze=function(t){rt(e,t);function e(n){var r,i=t.call(this)||this;i.isCustomElement=!1,i.isMutationObserved=!1,i.activeAnimations=[],i.getClip=function(){return this.style.clipPath||null},i.config=n,i.config.interactive=(r=i.config.capture)!==null&&r!==void 0?r:i.config.interactive,i.id=i.config.id||"",i.name=i.config.name||"",(i.config.className||i.config.class)&&(i.className=i.config.className||i.config.class),i.nodeName=i.config.type||G.GROUP,i.config.style=i.config.style||i.config.attrs||{},Object.assign(i.config.style,i.config.attrs),i.config.visible!=null&&(i.config.style.visibility=i.config.visible===!1?"hidden":"visible"),i.config.interactive!=null&&(i.config.style.pointerEvents=i.config.interactive===!1?"none":"auto"),Object.assign(i.parsedStyle,H.enableCSSParsing?Yw:GR,i.config.initialParsedStyle),H.enableCSSParsing&&Object.assign(i.attributes,zR),i.initAttributes(i.config.style);var a=H.globalThis.Proxy?H.globalThis.Proxy:function(){};return H.enableDataset&&(i.dataset=new a({},{get:function(o,s){var c="".concat(sy).concat(Yg(s));return o[c]!==void 0?o[c]:i.getAttribute(c)},set:function(o,s,c){return i.setAttribute("".concat(sy).concat(Yg(s)),c),!0}})),H.enableStyleSyntax&&(i.style=new a({setProperty:function(o,s){i.setAttribute(o,s)},getPropertyValue:function(o){return i.getAttribute(o)},removeProperty:function(o){i.removeAttribute(o)},item:function(){return""}},{get:function(o,s){return o[s]!==void 0?o[s]:i.getAttribute(s)},set:function(o,s,c){return i.setAttribute(s,c),!0}})),i}return e.prototype.destroy=function(){t.prototype.destroy.call(this),this.getAnimations().forEach(function(n){n.cancel()})},e.prototype.cloneNode=function(n,r){var i=z({},this.attributes);for(var a in i){var o=i[a];Mt(o)&&a!=="clipPath"&&a!=="offsetPath"&&a!=="textPath"&&(i[a]=o.cloneNode(n)),r&&(i[a]=r(a,o))}var s=new this.constructor({id:this.id,name:this.name,className:this.name,interactive:this.interactive,style:i});return s.setLocalTransform(this.getLocalTransform()),n&&this.children.forEach(function(c){if(!c.style.isMarker){var l=c.cloneNode(n);s.appendChild(l)}}),s},e.prototype.initAttributes=function(n){n===void 0&&(n={});var r=this.renderable,i={forceUpdateGeometry:!0};H.enableCSSParsing&&(i.usedAttributes=WR);var a={};for(var o in n){var s=Jd(o);a[s]=n[o]}H.styleValueRegistry.processProperties(this,a,i),r.dirty=!0},e.prototype.setAttribute=function(n,r,i,a){i===void 0&&(i=!1),a===void 0&&(a=!0);var o=Jd(n);ne(r)||(i||r!==this.attributes[o])&&(this.internalSetAttribute(o,r,{memoize:a}),t.prototype.setAttribute.call(this,o,r))},e.prototype.internalSetAttribute=function(n,r,i){var a;i===void 0&&(i={});var o=this.renderable,s=this.attributes[n],c=this.parsedStyle[n];H.styleValueRegistry.processProperties(this,(a={},a[n]=r,a),i),o.dirty=!0;var l=this.parsedStyle[n];this.isConnected&&(gr.relatedNode=this,gr.prevValue=s,gr.newValue=r,gr.attrName=n,gr.prevParsedValue=c,gr.newParsedValue=l,this.isMutationObserved?this.dispatchEvent(gr):(gr.target=this,this.ownerDocument.defaultView.dispatchEvent(gr,!0))),(this.isCustomElement&&this.isConnected||!this.isCustomElement)&&this.attributeChangedCallback&&this.attributeChangedCallback(n,s,r,c,l)},e.prototype.getBBox=function(){var n=this.getBounds(),r=N(n.getMin(),2),i=r[0],a=r[1],o=N(n.getMax(),2),s=o[0],c=o[1];return new Fi(i,a,s-i,c-a)},e.prototype.setOrigin=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),H.sceneGraphService.setOrigin(this,We(n,r,i)),this},e.prototype.getOrigin=function(){return H.sceneGraphService.getOrigin(this)},e.prototype.setPosition=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),H.sceneGraphService.setPosition(this,We(n,r,i)),this},e.prototype.setLocalPosition=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),H.sceneGraphService.setLocalPosition(this,We(n,r,i)),this},e.prototype.translate=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),H.sceneGraphService.translate(this,We(n,r,i)),this},e.prototype.translateLocal=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),H.sceneGraphService.translateLocal(this,We(n,r,i)),this},e.prototype.getPosition=function(){return H.sceneGraphService.getPosition(this)},e.prototype.getLocalPosition=function(){return H.sceneGraphService.getLocalPosition(this)},e.prototype.scale=function(n,r,i){return this.scaleLocal(n,r,i)},e.prototype.scaleLocal=function(n,r,i){return typeof n=="number"&&(r=r||n,i=i||n,n=We(n,r,i)),H.sceneGraphService.scaleLocal(this,n),this},e.prototype.setLocalScale=function(n,r,i){return typeof n=="number"&&(r=r||n,i=i||n,n=We(n,r,i)),H.sceneGraphService.setLocalScale(this,n),this},e.prototype.getLocalScale=function(){return H.sceneGraphService.getLocalScale(this)},e.prototype.getScale=function(){return H.sceneGraphService.getScale(this)},e.prototype.getEulerAngles=function(){var n=N(If(yt(),H.sceneGraphService.getWorldTransform(this)),3),r=n[2];return Pn(r)},e.prototype.getLocalEulerAngles=function(){var n=N(If(yt(),H.sceneGraphService.getLocalRotation(this)),3),r=n[2];return Pn(r)},e.prototype.setEulerAngles=function(n){return H.sceneGraphService.setEulerAngles(this,0,0,n),this},e.prototype.setLocalEulerAngles=function(n){return H.sceneGraphService.setLocalEulerAngles(this,0,0,n),this},e.prototype.rotateLocal=function(n,r,i){return nt(r)&&nt(i)?H.sceneGraphService.rotateLocal(this,0,0,n):H.sceneGraphService.rotateLocal(this,n,r,i),this},e.prototype.rotate=function(n,r,i){return nt(r)&&nt(i)?H.sceneGraphService.rotate(this,0,0,n):H.sceneGraphService.rotate(this,n,r,i),this},e.prototype.setRotation=function(n,r,i,a){return H.sceneGraphService.setRotation(this,n,r,i,a),this},e.prototype.setLocalRotation=function(n,r,i,a){return H.sceneGraphService.setLocalRotation(this,n,r,i,a),this},e.prototype.setLocalSkew=function(n,r){return H.sceneGraphService.setLocalSkew(this,n,r),this},e.prototype.getRotation=function(){return H.sceneGraphService.getRotation(this)},e.prototype.getLocalRotation=function(){return H.sceneGraphService.getLocalRotation(this)},e.prototype.getLocalSkew=function(){return H.sceneGraphService.getLocalSkew(this)},e.prototype.getLocalTransform=function(){return H.sceneGraphService.getLocalTransform(this)},e.prototype.getWorldTransform=function(){return H.sceneGraphService.getWorldTransform(this)},e.prototype.setLocalTransform=function(n){return H.sceneGraphService.setLocalTransform(this,n),this},e.prototype.resetLocalTransform=function(){H.sceneGraphService.resetLocalTransform(this)},e.prototype.getAnimations=function(){return this.activeAnimations},e.prototype.animate=function(n,r){var i,a=(i=this.ownerDocument)===null||i===void 0?void 0:i.timeline;return a?a.play(this,n,r):null},e.prototype.isVisible=function(){var n;return((n=this.parsedStyle)===null||n===void 0?void 0:n.visibility)==="visible"},Object.defineProperty(e.prototype,"interactive",{get:function(){return this.isInteractive()},set:function(n){this.style.pointerEvents=n?"auto":"none"},enumerable:!1,configurable:!0}),e.prototype.isInteractive=function(){var n;return((n=this.parsedStyle)===null||n===void 0?void 0:n.pointerEvents)!=="none"},e.prototype.isCulled=function(){return!!(this.cullable&&this.cullable.enable&&!this.cullable.visible)},e.prototype.toFront=function(){return this.parentNode&&(this.style.zIndex=Math.max.apply(Math,q([],N(this.parentNode.children.map(function(n){return Number(n.style.zIndex)})),!1))+1),this},e.prototype.toBack=function(){return this.parentNode&&(this.style.zIndex=Math.min.apply(Math,q([],N(this.parentNode.children.map(function(n){return Number(n.style.zIndex)})),!1))-1),this},e.prototype.getConfig=function(){return this.config},e.prototype.attr=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=N(r,2),o=a[0],s=a[1];return o?ki(o)?(Object.keys(o).forEach(function(c){n.setAttribute(c,o[c])}),this):r.length===2?(this.setAttribute(o,s),this):this.attributes[o]:this.attributes},e.prototype.getMatrix=function(n){var r=n||this.getWorldTransform(),i=N(gl(yt(),r),2),a=i[0],o=i[1],s=N(Aa(yt(),r),2),c=s[0],l=s[1],u=yl(ve(),r),f=N(If(yt(),u),3),d=f[0],h=f[2];return sN(d||h,a,o,c,l)},e.prototype.getLocalMatrix=function(){return this.getMatrix(this.getLocalTransform())},e.prototype.setMatrix=function(n){var r=N($g(n),5),i=r[0],a=r[1],o=r[2],s=r[3],c=r[4];this.setEulerAngles(c).setPosition(i,a).setLocalScale(o,s)},e.prototype.setLocalMatrix=function(n){var r=N($g(n),5),i=r[0],a=r[1],o=r[2],s=r[3],c=r[4];this.setLocalEulerAngles(c).setLocalPosition(i,a).setLocalScale(o,s)},e.prototype.show=function(){H.enableCSSParsing?this.style.visibility="visible":this.forEach(function(n){n.style.visibility="visible"})},e.prototype.hide=function(){H.enableCSSParsing?this.style.visibility="hidden":this.forEach(function(n){n.style.visibility="hidden"})},e.prototype.getCount=function(){return this.childElementCount},e.prototype.getParent=function(){return this.parentElement},e.prototype.getChildren=function(){return this.children},e.prototype.getFirst=function(){return this.firstElementChild},e.prototype.getLast=function(){return this.lastElementChild},e.prototype.getChildByIndex=function(n){return this.children[n]||null},e.prototype.add=function(n,r){return this.appendChild(n,r)},e.prototype.setClip=function(n){this.style.clipPath=n},e.prototype.set=function(n,r){this.config[n]=r},e.prototype.get=function(n){return this.config[n]},e.prototype.moveTo=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),this.setPosition(n,r,i),this},e.prototype.move=function(n,r,i){return r===void 0&&(r=0),i===void 0&&(i=0),this.setPosition(n,r,i),this},e.prototype.setZIndex=function(n){return this.style.zIndex=n,this},e}(FR),Ww={number:function(t){return new jt(t)},percent:function(t){return new jt(t,"%")},px:function(t){return new jt(t,"px")},em:function(t){return new jt(t,"em")},rem:function(t){return new jt(t,"rem")},deg:function(t){return new jt(t,"deg")},grad:function(t){return new jt(t,"grad")},rad:function(t){return new jt(t,"rad")},turn:function(t){return new jt(t,"turn")},s:function(t){return new jt(t,"s")},ms:function(t){return new jt(t,"ms")},registerProperty:function(t){var e=t.name,n=t.inherits,r=t.interpolable,i=t.initialValue,a=t.syntax;H.styleValueRegistry.registerMetadata({n:e,inh:n,int:r,d:i,syntax:a})},registerLayout:function(t,e){H.layoutRegistry.registerLayout(t,e)}},Xs=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.CIRCLE,style:H.enableCSSParsing?z({cx:"",cy:"",r:""},r):z({},r),initialParsedStyle:{anchor:[.5,.5],transformOrigin:H.enableCSSParsing?null:[kl,kl]}},i))||this}return e}(ze),qp=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=this,i=n.style,a=$t(n,["style"]);return r=t.call(this,z({style:H.enableCSSParsing?z({x:"",y:""},i):z({},i)},a))||this,r.isCustomElement=!0,r}return e}(ze),Kp=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.ELLIPSE,style:H.enableCSSParsing?z({cx:"",cy:"",rx:"",ry:""},r):z({},r),initialParsedStyle:{anchor:[.5,.5],transformOrigin:H.enableCSSParsing?null:[kl,kl]}},i))||this}return e}(ze),Ce=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.GROUP,style:H.enableCSSParsing?z({x:"",y:"",width:"",height:""},r):z({},r)},i))||this}return e}(ze),Bu=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=this,i=n.style,a=$t(n,["style"]);return r=t.call(this,z({type:G.HTML,style:H.enableCSSParsing?z({x:"",y:"",width:"auto",height:"auto",innerHTML:""},i):z({},i)},a))||this,r.cullable.enable=!1,r}return e.prototype.getDomElement=function(){return this.parsedStyle.$el},e.prototype.getBoundingClientRect=function(){if(this.parsedStyle.$el)return this.parsedStyle.$el.getBoundingClientRect();var n=this.parsedStyle,r=n.x,i=n.y,a=n.width,o=n.height;return new Fi(r,i,a,o)},e.prototype.getClientRects=function(){return[this.getBoundingClientRect()]},e.prototype.getBounds=function(){var n,r,i=this.getBoundingClientRect(),a=(r=(n=this.ownerDocument)===null||n===void 0?void 0:n.defaultView)===null||r===void 0?void 0:r.getContextService().getBoundingClientRect(),o=new be,s=i.left-((a==null?void 0:a.left)||0),c=i.top-((a==null?void 0:a.top)||0);return o.setMinMax([s,c,0],[s+i.width,c+i.height,0]),o},e.prototype.getLocalBounds=function(){if(this.parentNode){var n=Wn(Nt(),this.parentNode.getWorldTransform()),r=this.getBounds();if(!be.isEmpty(r)){var i=new be;return i.setFromTransformedAABB(r,n),i}}return this.getBounds()},e}(ze),Zp=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.IMAGE,style:H.enableCSSParsing?z({x:"",y:"",img:"",width:"",height:""},r):z({},r)},i))||this}return e}(ze),Us=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=this,i=n.style,a=$t(n,["style"]);r=t.call(this,z({type:G.LINE,style:z({x1:0,y1:0,x2:0,y2:0,z1:0,z2:0},i)},a))||this,r.markerStartAngle=0,r.markerEndAngle=0;var o=r.parsedStyle,s=o.markerStart,c=o.markerEnd;return s&&Mt(s)&&(r.markerStartAngle=s.getLocalEulerAngles(),r.appendChild(s)),c&&Mt(c)&&(r.markerEndAngle=c.getLocalEulerAngles(),r.appendChild(c)),r.transformMarker(!0),r.transformMarker(!1),r}return e.prototype.attributeChangedCallback=function(n,r,i,a,o){n==="x1"||n==="y1"||n==="x2"||n==="y2"||n==="markerStartOffset"||n==="markerEndOffset"?(this.transformMarker(!0),this.transformMarker(!1)):n==="markerStart"?(a&&Mt(a)&&(this.markerStartAngle=0,a.remove()),o&&Mt(o)&&(this.markerStartAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!0))):n==="markerEnd"&&(a&&Mt(a)&&(this.markerEndAngle=0,a.remove()),o&&Mt(o)&&(this.markerEndAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!1)))},e.prototype.transformMarker=function(n){var r=this.parsedStyle,i=r.markerStart,a=r.markerEnd,o=r.markerStartOffset,s=r.markerEndOffset,c=r.x1,l=r.x2,u=r.y1,f=r.y2,d=r.defX,h=r.defY,p=n?i:a;if(!(!p||!Mt(p))){var v=0,g,y,m,b,x,w;n?(m=c-d,b=u-h,g=l-c,y=f-u,x=o||0,w=this.markerStartAngle):(m=l-d,b=f-h,g=c-l,y=u-f,x=s||0,w=this.markerEndAngle),v=Math.atan2(y,g),p.setLocalEulerAngles(v*180/Math.PI+w),p.setLocalPosition(m+Math.cos(v)*x,b+Math.sin(v)*x)}},e.prototype.getPoint=function(n,r){r===void 0&&(r=!1);var i=this.parsedStyle,a=i.x1,o=i.y1,s=i.x2,c=i.y2,l=i.defX,u=i.defY,f=mw(a,o,s,c,n),d=f.x,h=f.y,p=Oe(yt(),St(d-l,h-u,0),r?this.getWorldTransform():this.getLocalTransform());return new Ee(p[0],p[1])},e.prototype.getPointAtLength=function(n,r){return r===void 0&&(r=!1),this.getPoint(n/this.getTotalLength(),r)},e.prototype.getTotalLength=function(){var n=this.parsedStyle,r=n.x1,i=n.y1,a=n.x2,o=n.y2;return yw(r,i,a,o)},e}(ze),Xe=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=this,i=n.style,a=$t(n,["style"]);r=t.call(this,z({type:G.PATH,style:H.enableCSSParsing?z({path:"",miterLimit:""},i):z({},i),initialParsedStyle:H.enableCSSParsing?null:{miterLimit:4,path:z({},Sw)}},a))||this,r.markerStartAngle=0,r.markerEndAngle=0,r.markerMidList=[];var o=r.parsedStyle,s=o.markerStart,c=o.markerEnd,l=o.markerMid;return s&&Mt(s)&&(r.markerStartAngle=s.getLocalEulerAngles(),r.appendChild(s)),l&&Mt(l)&&r.placeMarkerMid(l),c&&Mt(c)&&(r.markerEndAngle=c.getLocalEulerAngles(),r.appendChild(c)),r.transformMarker(!0),r.transformMarker(!1),r}return e.prototype.attributeChangedCallback=function(n,r,i,a,o){n==="path"?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):n==="markerStartOffset"||n==="markerEndOffset"?(this.transformMarker(!0),this.transformMarker(!1)):n==="markerStart"?(a&&Mt(a)&&(this.markerStartAngle=0,a.remove()),o&&Mt(o)&&(this.markerStartAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!0))):n==="markerEnd"?(a&&Mt(a)&&(this.markerEndAngle=0,a.remove()),o&&Mt(o)&&(this.markerEndAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!1))):n==="markerMid"&&this.placeMarkerMid(o)},e.prototype.transformMarker=function(n){var r=this.parsedStyle,i=r.markerStart,a=r.markerEnd,o=r.markerStartOffset,s=r.markerEndOffset,c=r.defX,l=r.defY,u=n?i:a;if(!(!u||!Mt(u))){var f=0,d,h,p,v,g,y;if(n){var m=N(this.getStartTangent(),2),b=m[0],x=m[1];p=x[0]-c,v=x[1]-l,d=b[0]-x[0],h=b[1]-x[1],g=o||0,y=this.markerStartAngle}else{var w=N(this.getEndTangent(),2),b=w[0],x=w[1];p=x[0]-c,v=x[1]-l,d=b[0]-x[0],h=b[1]-x[1],g=s||0,y=this.markerEndAngle}f=Math.atan2(h,d),u.setLocalEulerAngles(f*180/Math.PI+y),u.setLocalPosition(p+Math.cos(f)*g,v+Math.sin(f)*g)}},e.prototype.placeMarkerMid=function(n){var r=this.parsedStyle,i=r.path.segments,a=r.defX,o=r.defY;if(this.markerMidList.forEach(function(d){d.remove()}),n&&Mt(n))for(var s=1;s<i.length-1;s++){var c=N(i[s].currentPoint,2),l=c[0],u=c[1],f=s===1?n:n.cloneNode(!0);this.markerMidList.push(f),this.appendChild(f),f.setLocalPosition(l-a,u-o)}},e.prototype.getTotalLength=function(){return ih(this)},e.prototype.getPointAtLength=function(n,r){r===void 0&&(r=!1);var i=this.parsedStyle,a=i.defX,o=i.defY,s=i.path.absolutePath,c=o5(s,n),l=c.x,u=c.y,f=Oe(yt(),St(l-a,u-o,0),r?this.getWorldTransform():this.getLocalTransform());return new Ee(f[0],f[1])},e.prototype.getPoint=function(n,r){return r===void 0&&(r=!1),this.getPointAtLength(n*ih(this),r)},e.prototype.getStartTangent=function(){var n=this.parsedStyle.path.segments,r=[];if(n.length>1){var i=n[0].currentPoint,a=n[1].currentPoint,o=n[1].startTangent;r=[],o?(r.push([i[0]-o[0],i[1]-o[1]]),r.push([i[0],i[1]])):(r.push([a[0],a[1]]),r.push([i[0],i[1]]))}return r},e.prototype.getEndTangent=function(){var n=this.parsedStyle.path.segments,r=n.length,i=[];if(r>1){var a=n[r-2].currentPoint,o=n[r-1].currentPoint,s=n[r-1].endTangent;i=[],s?(i.push([o[0]-s[0],o[1]-s[1]]),i.push([o[0],o[1]])):(i.push([a[0],a[1]]),i.push([o[0],o[1]]))}return i},e}(ze),Fu=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=this,i=n.style,a=$t(n,["style"]);r=t.call(this,z({type:G.POLYGON,style:H.enableCSSParsing?z({points:"",miterLimit:"",isClosed:!0},i):z({},i),initialParsedStyle:H.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},a))||this,r.markerStartAngle=0,r.markerEndAngle=0,r.markerMidList=[];var o=r.parsedStyle,s=o.markerStart,c=o.markerEnd,l=o.markerMid;return s&&Mt(s)&&(r.markerStartAngle=s.getLocalEulerAngles(),r.appendChild(s)),l&&Mt(l)&&r.placeMarkerMid(l),c&&Mt(c)&&(r.markerEndAngle=c.getLocalEulerAngles(),r.appendChild(c)),r.transformMarker(!0),r.transformMarker(!1),r}return e.prototype.attributeChangedCallback=function(n,r,i,a,o){n==="points"?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):n==="markerStartOffset"||n==="markerEndOffset"?(this.transformMarker(!0),this.transformMarker(!1)):n==="markerStart"?(a&&Mt(a)&&(this.markerStartAngle=0,a.remove()),o&&Mt(o)&&(this.markerStartAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!0))):n==="markerEnd"?(a&&Mt(a)&&(this.markerEndAngle=0,a.remove()),o&&Mt(o)&&(this.markerEndAngle=o.getLocalEulerAngles(),this.appendChild(o),this.transformMarker(!1))):n==="markerMid"&&this.placeMarkerMid(o)},e.prototype.transformMarker=function(n){var r=this.parsedStyle,i=r.markerStart,a=r.markerEnd,o=r.markerStartOffset,s=r.markerEndOffset,c=r.points,l=r.defX,u=r.defY,f=(c||{}).points,d=n?i:a;if(!(!d||!Mt(d)||!f)){var h=0,p,v,g,y,m,b;if(g=f[0][0]-l,y=f[0][1]-u,n)p=f[1][0]-f[0][0],v=f[1][1]-f[0][1],m=o||0,b=this.markerStartAngle;else{var x=f.length;this.parsedStyle.isClosed?(p=f[x-1][0]-f[0][0],v=f[x-1][1]-f[0][1]):(g=f[x-1][0]-l,y=f[x-1][1]-u,p=f[x-2][0]-f[x-1][0],v=f[x-2][1]-f[x-1][1]),m=s||0,b=this.markerEndAngle}h=Math.atan2(v,p),d.setLocalEulerAngles(h*180/Math.PI+b),d.setLocalPosition(g+Math.cos(h)*m,y+Math.sin(h)*m)}},e.prototype.placeMarkerMid=function(n){var r=this.parsedStyle,i=r.points,a=r.defX,o=r.defY,s=(i||{}).points;if(this.markerMidList.forEach(function(d){d.remove()}),this.markerMidList=[],n&&Mt(n)&&s)for(var c=1;c<(this.parsedStyle.isClosed?s.length:s.length-1);c++){var l=s[c][0]-a,u=s[c][1]-o,f=c===1?n:n.cloneNode(!0);this.markerMidList.push(f),this.appendChild(f),f.setLocalPosition(l,u)}},e}(ze),Qp=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.POLYLINE,style:H.enableCSSParsing?z({points:"",miterLimit:"",isClosed:!1},r):z({},r),initialParsedStyle:H.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},i))||this}return e.prototype.getTotalLength=function(){return this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(n,r){return r===void 0&&(r=!1),this.getPoint(n/this.getTotalLength(),r)},e.prototype.getPoint=function(n,r){r===void 0&&(r=!1);var i=this.parsedStyle,a=i.defX,o=i.defY,s=i.points,c=s.points,l=s.segments,u=0,f=0;l.forEach(function(g,y){n>=g[0]&&n<=g[1]&&(u=(n-g[0])/(g[1]-g[0]),f=y)});var d=mw(c[f][0],c[f][1],c[f+1][0],c[f+1][1],u),h=d.x,p=d.y,v=Oe(yt(),St(h-a,p-o,0),r?this.getWorldTransform():this.getLocalTransform());return new Ee(v[0],v[1])},e.prototype.getStartTangent=function(){var n=this.parsedStyle.points.points,r=[];return r.push([n[1][0],n[1][1]]),r.push([n[0][0],n[0][1]]),r},e.prototype.getEndTangent=function(){var n=this.parsedStyle.points.points,r=n.length-1,i=[];return i.push([n[r-1][0],n[r-1][1]]),i.push([n[r][0],n[r][1]]),i},e}(Fu),Zi=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.RECT,style:H.enableCSSParsing?z({x:"",y:"",width:"",height:"",radius:""},r):z({},r)},i))||this}return e}(ze),ei=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({type:G.TEXT,style:H.enableCSSParsing?z({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},r):z({fill:"black"},r),initialParsedStyle:H.enableCSSParsing?{}:{x:0,y:0,fontSize:16,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",lineHeight:0,letterSpacing:0,textBaseline:"alphabetic",textAlign:"start",wordWrap:!1,wordWrapWidth:0,leading:0,dx:0,dy:0}},i))||this}return e.prototype.getComputedTextLength=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.lineMetrics)||[]},e.prototype.isOverflowing=function(){return!!this.parsedStyle.isOverflowing},e}(ze),HR=function(){function t(){this.registry={},this.define(G.CIRCLE,Xs),this.define(G.ELLIPSE,Kp),this.define(G.RECT,Zi),this.define(G.IMAGE,Zp),this.define(G.LINE,Us),this.define(G.GROUP,Ce),this.define(G.PATH,Xe),this.define(G.POLYGON,Fu),this.define(G.POLYLINE,Qp),this.define(G.TEXT,ei),this.define(G.HTML,Bu)}return t.prototype.define=function(e,n){this.registry[e]=n},t.prototype.get=function(e){return this.registry[e]},t}(),VR=function(t){rt(e,t);function e(){var n=t.call(this)||this;n.defaultView=null,n.ownerDocument=null,n.nodeName="document";try{n.timeline=new H.AnimationTimeline(n)}catch{}var r={};return Vp.forEach(function(i){var a=i.n,o=i.inh,s=i.d;o&&s&&(r[a]=ga(s)?s(G.GROUP):s)}),n.documentElement=new Ce({id:"g-root",style:r}),n.documentElement.ownerDocument=n,n.documentElement.parentNode=n,n.childNodes=[n.documentElement],n}return Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(n,r){if(n==="svg")return this.documentElement;var i=this.defaultView.customElements.get(n);i||(console.warn("Unsupported tagName: ",n),i=n==="tspan"?ei:Ce);var a=new i(r);return a.ownerDocument=this,a},e.prototype.createElementNS=function(n,r,i){return this.createElement(r,i)},e.prototype.cloneNode=function(n){throw new Error(It)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch{}},e.prototype.elementsFromBBox=function(n,r,i,a){var o=this.defaultView.context.rBushRoot,s=o.search({minX:n,minY:r,maxX:i,maxY:a}),c=[];return s.forEach(function(l){var u=l.displayObject,f=u.parsedStyle.pointerEvents,d=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(f);(!d||d&&u.isVisible())&&!u.isCulled()&&u.isInteractive()&&c.push(u)}),c.sort(function(l,u){return u.sortable.renderOrder-l.sortable.renderOrder}),c},e.prototype.elementFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),a=i.x,o=i.y,s=this.defaultView.getConfig(),c=s.width,l=s.height;if(a<0||o<0||a>c||o>l)return null;var u=this.defaultView.viewport2Client({x:a,y:o}),f=u.x,d=u.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:n,y:r,viewportX:a,viewportY:o,clientX:f,clientY:d},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(n,r){return ka(this,void 0,void 0,function(){var i,a,o,s,c,l,u,f,d,h;return Ta(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),a=i.x,o=i.y,s=this.defaultView.getConfig(),c=s.width,l=s.height,a<0||o<0||a>c||o>l?[2,null]:(u=this.defaultView.viewport2Client({x:a,y:o}),f=u.x,d=u.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:n,y:r,viewportX:a,viewportY:o,clientX:f,clientY:d},picked:[]})]);case 1:return h=p.sent().picked,[2,h&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),a=i.x,o=i.y,s=this.defaultView.getConfig(),c=s.width,l=s.height;if(a<0||o<0||a>c||o>l)return[];var u=this.defaultView.viewport2Client({x:a,y:o}),f=u.x,d=u.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:n,y:r,viewportX:a,viewportY:o,clientX:f,clientY:d},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(n,r){return ka(this,void 0,void 0,function(){var i,a,o,s,c,l,u,f,d,h;return Ta(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),a=i.x,o=i.y,s=this.defaultView.getConfig(),c=s.width,l=s.height,a<0||o<0||a>c||o>l?[2,[]]:(u=this.defaultView.viewport2Client({x:a,y:o}),f=u.x,d=u.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:n,y:r,viewportX:a,viewportY:o,clientX:f,clientY:d},picked:[]})]);case 1:return h=p.sent().picked,h[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(n,r){throw new Error(ra)},e.prototype.insertBefore=function(n,r){throw new Error(ra)},e.prototype.removeChild=function(n,r){throw new Error(ra)},e.prototype.replaceChild=function(n,r,i){throw new Error(ra)},e.prototype.append=function(){throw new Error(ra)},e.prototype.prepend=function(){throw new Error(ra)},e.prototype.getElementById=function(n){return this.documentElement.getElementById(n)},e.prototype.getElementsByName=function(n){return this.documentElement.getElementsByName(n)},e.prototype.getElementsByTagName=function(n){return this.documentElement.getElementsByTagName(n)},e.prototype.getElementsByClassName=function(n){return this.documentElement.getElementsByClassName(n)},e.prototype.querySelector=function(n){return this.documentElement.querySelector(n)},e.prototype.querySelectorAll=function(n){return this.documentElement.querySelectorAll(n)},e.prototype.find=function(n){return this.documentElement.find(n)},e.prototype.findAll=function(n){return this.documentElement.findAll(n)},e}(_e),XR=function(){function t(e){this.strategies=e}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,a=this.strategies;r.hooks.cull.tap(t.tag,function(o){if(o){var s=o.cullable;return a.length===0?s.visible=i.unculledEntities.indexOf(o.entity)>-1:s.visible=a.every(function(c){return c.isVisible(n,o)}),!o.isCulled()&&o.isVisible()?o:(o.dispatchEvent(new Dt(ht.CULLED)),null)}return o}),r.hooks.afterRender.tap(t.tag,function(o){o.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),UR=function(){function t(){var e=this;this.autoPreventDefault=!1,this.rootPointerEvent=new ch(null),this.rootWheelEvent=new lh(null),this.onPointerMove=function(n){var r,i,a,o,s=(o=(a=e.context.renderingContext.root)===null||a===void 0?void 0:a.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!(s.supportsTouchEvents&&n.pointerType==="touch")){var c=e.normalizeToPointerEvent(n,s);try{for(var l=vn(c),u=l.next();!u.done;u=l.next()){var f=u.value,d=e.bootstrapEvent(e.rootPointerEvent,f,s,n);e.context.eventService.mapEvent(d)}}catch(h){r={error:h}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}e.setCursor(e.context.eventService.cursor)}},this.onClick=function(n){var r,i,a,o,s=(o=(a=e.context.renderingContext.root)===null||a===void 0?void 0:a.ownerDocument)===null||o===void 0?void 0:o.defaultView,c=e.normalizeToPointerEvent(n,s);try{for(var l=vn(c),u=l.next();!u.done;u=l.next()){var f=u.value,d=e.bootstrapEvent(e.rootPointerEvent,f,s,n);e.context.eventService.mapEvent(d)}}catch(h){r={error:h}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}e.setCursor(e.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(a){var o=n.context.renderingService.hooks.pickSync.call({position:a,picked:[],topmost:!0}).picked;return o[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(a){var o=n.normalizeWheelEvent(a);n.context.eventService.mapEvent(o)}),r.hooks.pointerDown.tap(t.tag,function(a){var o,s;if(!(i.supportsTouchEvents&&a.pointerType==="touch")){var c=n.normalizeToPointerEvent(a,i);if(n.autoPreventDefault&&c[0].isNormalized){var l=a.cancelable||!("cancelable"in a);l&&a.preventDefault()}try{for(var u=vn(c),f=u.next();!f.done;f=u.next()){var d=f.value,h=n.bootstrapEvent(n.rootPointerEvent,d,i,a);n.context.eventService.mapEvent(h)}}catch(p){o={error:p}}finally{try{f&&!f.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(a){var o,s;if(!(i.supportsTouchEvents&&a.pointerType==="touch")){var c=n.context.contextService.getDomElement(),l="outside";try{l=c&&a.target&&a.target!==c&&c.contains&&!c.contains(a.target)?"outside":""}catch{}var u=n.normalizeToPointerEvent(a,i);try{for(var f=vn(u),d=f.next();!d.done;d=f.next()){var h=d.value,p=n.bootstrapEvent(n.rootPointerEvent,h,i,a);p.type+=l,n.context.eventService.mapEvent(p)}}catch(v){o={error:v}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(a){var o,s,c=n.normalizeToPointerEvent(a,i);try{for(var l=vn(c),u=l.next();!u.done;u=l.next()){var f=u.value,d=n.bootstrapEvent(n.rootPointerEvent,f,i,a);n.context.eventService.mapEvent(d)}}catch(h){o={error:h}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.getViewportXY=function(e){var n,r,i=e.offsetX,a=e.offsetY,o=e.clientX,s=e.clientY;if(this.context.config.supportsCSSTransform&&!nt(i)&&!nt(a))n=i,r=a;else{var c=this.context.eventService.client2Viewport(new Ee(o,s));n=c.x,r=c.y}return{x:n,y:r}},t.prototype.bootstrapEvent=function(e,n,r,i){e.view=r,e.originalEvent=null,e.nativeEvent=i,e.pointerId=n.pointerId,e.width=n.width,e.height=n.height,e.isPrimary=n.isPrimary,e.pointerType=n.pointerType,e.pressure=n.pressure,e.tangentialPressure=n.tangentialPressure,e.tiltX=n.tiltX,e.tiltY=n.tiltY,e.twist=n.twist,this.transferMouseData(e,n);var a=this.getViewportXY(n),o=a.x,s=a.y;e.viewport.x=o,e.viewport.y=s;var c=this.context.eventService.viewport2Canvas(e.viewport),l=c.x,u=c.y;return e.canvas.x=l,e.canvas.y=u,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.isTrusted=i.isTrusted,e.type==="pointerleave"&&(e.type="pointerout"),e.type.startsWith("mouse")&&(e.type=e.type.replace("mouse","pointer")),e.type.startsWith("touch")&&(e.type=W4[e.type]||e.type),e},t.prototype.normalizeWheelEvent=function(e){var n=this.rootWheelEvent;this.transferMouseData(n,e),n.deltaMode=e.deltaMode,n.deltaX=e.deltaX,n.deltaY=e.deltaY,n.deltaZ=e.deltaZ;var r=this.getViewportXY(e),i=r.x,a=r.y;n.viewport.x=i,n.viewport.y=a;var o=this.context.eventService.viewport2Canvas(n.viewport),s=o.x,c=o.y;return n.canvas.x=s,n.canvas.y=c,n.global.copyFrom(n.canvas),n.offset.copyFrom(n.canvas),n.nativeEvent=e,n.type=e.type,n},t.prototype.transferMouseData=function(e,n){e.isTrusted=n.isTrusted,e.srcElement=n.srcElement,e.timeStamp=sh.now(),e.type=n.type,e.altKey=n.altKey,e.metaKey=n.metaKey,e.shiftKey=n.shiftKey,e.ctrlKey=n.ctrlKey,e.button=n.button,e.buttons=n.buttons,e.client.x=n.clientX,e.client.y=n.clientY,e.movement.x=n.movementX,e.movement.y=n.movementY,e.page.x=n.pageX,e.page.y=n.pageY,e.screen.x=n.screenX,e.screen.y=n.screenY,e.relatedTarget=null},t.prototype.setCursor=function(e){this.context.contextService.applyCursorStyle(e||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(e,n){var r=[];if(n.isTouchEvent(e))for(var i=0;i<e.changedTouches.length;i++){var a=e.changedTouches[i];ne(a.button)&&(a.button=0),ne(a.buttons)&&(a.buttons=1),ne(a.isPrimary)&&(a.isPrimary=e.touches.length===1&&e.type==="touchstart"),ne(a.width)&&(a.width=a.radiusX||1),ne(a.height)&&(a.height=a.radiusY||1),ne(a.tiltX)&&(a.tiltX=0),ne(a.tiltY)&&(a.tiltY=0),ne(a.pointerType)&&(a.pointerType="touch"),ne(a.pointerId)&&(a.pointerId=a.identifier||0),ne(a.pressure)&&(a.pressure=a.force||.5),ne(a.twist)&&(a.twist=0),ne(a.tangentialPressure)&&(a.tangentialPressure=0),a.isNormalized=!0,a.type=e.type,r.push(a)}else if(n.isMouseEvent(e)){var o=e;ne(o.isPrimary)&&(o.isPrimary=!0),ne(o.width)&&(o.width=1),ne(o.height)&&(o.height=1),ne(o.tiltX)&&(o.tiltX=0),ne(o.tiltY)&&(o.tiltY=0),ne(o.pointerType)&&(o.pointerType="mouse"),ne(o.pointerId)&&(o.pointerId=Y4),ne(o.pressure)&&(o.pressure=.5),ne(o.twist)&&(o.twist=0),ne(o.tangentialPressure)&&(o.tangentialPressure=0),o.isNormalized=!0,r.push(o)}else r.push(e);return r},t.tag="Event",t}(),qR=[G.CIRCLE,G.ELLIPSE,G.IMAGE,G.RECT,G.LINE,G.POLYLINE,G.POLYGON,G.TEXT,G.PATH,G.HTML],KR=function(){function t(){}return t.prototype.isVisible=function(e,n){var r,i,a=n.cullable;if(!a.enable)return!0;var o=n.getRenderBounds();if(be.isEmpty(o))return!1;var s=e.getFrustum(),c=(i=(r=n.parentNode)===null||r===void 0?void 0:r.cullable)===null||i===void 0?void 0:i.visibilityPlaneMask;return a.visibilityPlaneMask=this.computeVisibilityWithPlaneMask(n,o,c||zr.INDETERMINATE,s.planes),a.visible=a.visibilityPlaneMask!==zr.OUTSIDE,a.visible},t.prototype.computeVisibilityWithPlaneMask=function(e,n,r,i){if(r===zr.OUTSIDE||r===zr.INSIDE)return r;for(var a=zr.INSIDE,o=qR.indexOf(e.nodeName)>-1,s=0,c=i.length;s<c;++s){var l=1<<s;if(r&l&&!(o&&(s===4||s===5))){var u=i[s],f=u.normal,d=u.distance;if(nr(f,n.getPositiveFarPoint(i[s]))+d<0)return zr.OUTSIDE;nr(f,n.getNegativeFarPoint(i[s]))+d<0&&(a|=l)}}return a},t}(),ZR=function(){function t(){this.toSync=new Set}return t.prototype.apply=function(e){var n=this,r=e.renderingService,i=e.renderingContext,a=e.rBushRoot,o=i.root.ownerDocument.defaultView;this.rBush=a;var s=function(f){var d=f.target;d.renderable.dirty=!0,r.dirtify()},c=function(f){var d=f.detail.affectChildren,h=f.target;d&&h.forEach(function(v){n.toSync.add(v)});for(var p=h;p;)p.renderable&&n.toSync.add(p),p=p.parentElement;r.dirtify()},l=function(f){var d=f.target;H.enableCSSParsing&&H.styleValueRegistry.recalc(d),H.sceneGraphService.dirtifyToRoot(d),r.dirtify()},u=function(f){var d=f.target,h=d.rBushNode;h.aabb&&n.rBush.remove(h.aabb),n.toSync.delete(d),H.sceneGraphService.dirtifyToRoot(d),r.dirtify()};r.hooks.init.tap(t.tag,function(){o.addEventListener(ht.MOUNTED,l),o.addEventListener(ht.UNMOUNTED,u),o.addEventListener(ht.ATTR_MODIFIED,s),o.addEventListener(ht.BOUNDS_CHANGED,c)}),r.hooks.destroy.tap(t.tag,function(){o.removeEventListener(ht.MOUNTED,l),o.removeEventListener(ht.UNMOUNTED,u),o.removeEventListener(ht.ATTR_MODIFIED,s),o.removeEventListener(ht.BOUNDS_CHANGED,c),n.toSync.clear()}),r.hooks.endFrame.tap(t.tag,function(){n.syncRTree()})},t.prototype.syncRTree=function(){var e=this,n=[];Array.from(this.toSync).filter(function(r){return r.isConnected}).forEach(function(r){var i=r.rBushNode;i&&i.aabb&&e.rBush.remove(i.aabb);var a=r.getRenderBounds();if(a){var o=N(a.getMin(),2),s=o[0],c=o[1],l=N(a.getMax(),2),u=l[0],f=l[1];i.aabb||(i.aabb={}),i.aabb.displayObject=r,i.aabb.minX=s,i.aabb.minY=c,i.aabb.maxX=u,i.aabb.maxY=f}i.aabb&&!isNaN(i.aabb.maxX)&&!isNaN(i.aabb.maxX)&&!isNaN(i.aabb.minX)&&!isNaN(i.aabb.minY)&&n.push(i.aabb)}),this.rBush.load(n),n.length=0,this.toSync.clear()},t.tag="Prepare",t}(),an;(function(t){t.READY="ready",t.BEFORE_RENDER="beforerender",t.RERENDER="rerender",t.AFTER_RENDER="afterrender",t.BEFORE_DESTROY="beforedestroy",t.AFTER_DESTROY="afterdestroy",t.RESIZE="resize",t.DIRTY_RECTANGLE="dirtyrectangle",t.RENDERER_CHANGED="rendererchanged"})(an||(an={}));var cy=500,QR=.1,JR=1e3,Wf=new Dt(ht.MOUNTED),Hf=new Dt(ht.UNMOUNTED),t6=new Dt(an.BEFORE_RENDER),e6=new Dt(an.RERENDER),n6=new Dt(an.AFTER_RENDER),Hw=function(t){rt(e,t);function e(n){var r=t.call(this)||this;r.Element=ze,r.inited=!1,r.context={},r.document=new VR,r.document.defaultView=r,r.customElements=new HR;var i=n.container,a=n.canvas,o=n.offscreenCanvas,s=n.width,c=n.height,l=n.devicePixelRatio,u=n.renderer,f=n.background,d=n.cursor,h=n.document,p=n.requestAnimationFrame,v=n.cancelAnimationFrame,g=n.createImage,y=n.supportsPointerEvents,m=n.supportsTouchEvents,b=n.supportsCSSTransform,x=n.supportsMutipleCanvasesInOneContainer,w=n.useNativeClickEvent,O=n.alwaysTriggerPointerEventOnCanvas,S=n.isTouchEvent,_=n.isMouseEvent;x||D4(i,r);var M=s,E=c,P=l;return a&&(P=l||Vs&&window.devicePixelRatio||1,P=P>=1?Math.ceil(P):1,M=s||z4(a)||a.width/P,E=c||G4(a)||a.height/P),o&&(H.offscreenCanvas=o),r.devicePixelRatio=P,r.requestAnimationFrame=p??Bw.bind(H.globalThis),r.cancelAnimationFrame=v??Fw.bind(H.globalThis),r.supportsTouchEvents=m??"ontouchstart"in H.globalThis,r.supportsPointerEvents=y??!!H.globalThis.PointerEvent,r.isTouchEvent=S??function(T){return r.supportsTouchEvents&&T instanceof H.globalThis.TouchEvent},r.isMouseEvent=_??function(T){return!H.globalThis.MouseEvent||T instanceof H.globalThis.MouseEvent&&(!r.supportsPointerEvents||!(T instanceof H.globalThis.PointerEvent))},r.initRenderingContext({container:i,canvas:a,width:M,height:E,renderer:u,offscreenCanvas:o,devicePixelRatio:P,cursor:d||"default",background:f||"transparent",createImage:g,document:h,supportsCSSTransform:b,useNativeClickEvent:w,alwaysTriggerPointerEventOnCanvas:O}),r.initDefaultCamera(M,E,u.clipSpaceNearZ),r.initRenderer(u,!0),r}return e.prototype.initRenderingContext=function(n){this.context.config=n,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(n,r,i){var a=this,o=new H.CameraContribution;o.clipSpaceNearZ=i,o.setType(Tt.EXPLORING,ds.DEFAULT).setPosition(n/2,r/2,cy).setFocalPoint(n/2,r/2,0).setOrthographic(n/-2,n/2,r/2,r/-2,QR,JR),o.canvas=this,o.eventEmitter.on(xw.UPDATED,function(){a.context.renderingContext.renderReasons.add(Qr.CAMERA_CHANGED)}),this.context.camera=o},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var n=this;return this.readyPromise||(this.readyPromise=new Promise(function(r){n.resolveReadyPromise=function(){r(n)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(n,r){if(n===void 0&&(n=!0),r===void 0&&(r=!1),r||this.dispatchEvent(new Dt(an.BEFORE_DESTROY)),this.frameId){var i=this.getConfig().cancelAnimationFrame||cancelAnimationFrame;i(this.frameId)}var a=this.getRoot();this.unmountChildren(a),n&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),n&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),r||this.dispatchEvent(new Dt(an.AFTER_DESTROY))},e.prototype.changeSize=function(n,r){this.resize(n,r)},e.prototype.resize=function(n,r){var i=this.context.config;i.width=n,i.height=r,this.getContextService().resize(n,r);var a=this.context.camera,o=a.getProjectionMode();a.setPosition(n/2,r/2,cy).setFocalPoint(n/2,r/2,0),o===tn.ORTHOGRAPHIC?a.setOrthographic(n/-2,n/2,r/2,r/-2,a.getNear(),a.getFar()):a.setAspect(n/r),this.dispatchEvent(new Dt(an.RESIZE,{width:n,height:r}))},e.prototype.appendChild=function(n,r){return this.document.documentElement.appendChild(n,r)},e.prototype.insertBefore=function(n,r){return this.document.documentElement.insertBefore(n,r)},e.prototype.removeChild=function(n){return this.document.documentElement.removeChild(n)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(){var n=this;this.dispatchEvent(t6);var r=this.getRenderingService();r.render(this.getConfig(),function(){n.dispatchEvent(e6)}),this.dispatchEvent(n6)},e.prototype.run=function(){var n=this,r=function(){n.render(),n.frameId=n.requestAnimationFrame(r)};r()},e.prototype.initRenderer=function(n,r){var i=this;if(r===void 0&&(r=!1),!n)throw new Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tN,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new UR,new ZR,new XR([new KR])),this.loadRendererContainerModule(n),this.context.contextService=new this.context.ContextService(z(z({},H),this.context)),this.context.renderingService=new bR(H,this.context),this.context.eventService=new yR(H,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(n,r,!0)):this.context.contextService.initAsync().then(function(){i.initRenderingService(n,r)})},e.prototype.initRenderingService=function(n,r,i){var a=this;r===void 0&&(r=!1),i===void 0&&(i=!1),this.context.renderingService.init(function(){a.inited=!0,r?(i?a.requestAnimationFrame(function(){a.dispatchEvent(new Dt(an.READY))}):a.dispatchEvent(new Dt(an.READY)),a.readyPromise&&a.resolveReadyPromise()):a.dispatchEvent(new Dt(an.RENDERER_CHANGED)),r||a.getRoot().forEach(function(o){var s=o.renderable;s&&(s.renderBoundsDirty=!0,s.boundsDirty=!0,s.dirty=!0)}),a.mountChildren(a.getRoot()),n.getConfig().enableAutoRendering&&a.run()})},e.prototype.loadRendererContainerModule=function(n){var r=this,i=n.getPlugins();i.forEach(function(a){a.context=r.context,a.init(H)})},e.prototype.setRenderer=function(n){var r=this.getConfig();if(r.renderer!==n){var i=r.renderer;r.renderer=n,this.destroy(!1,!0),q([],N(i==null?void 0:i.getPlugins()),!1).reverse().forEach(function(a){a.destroy(H)}),this.initRenderer(n)}},e.prototype.setCursor=function(n){var r=this.getConfig();r.cursor=n,this.getContextService().applyCursorStyle(n)},e.prototype.unmountChildren=function(n){var r=this;n.childNodes.forEach(function(i){r.unmountChildren(i)}),this.inited&&(n.isMutationObserved?n.dispatchEvent(Hf):(Hf.target=n,this.dispatchEvent(Hf,!0)),n!==this.document.documentElement&&(n.ownerDocument=null),n.isConnected=!1),n.isCustomElement&&n.disconnectedCallback&&n.disconnectedCallback()},e.prototype.mountChildren=function(n){var r=this;this.inited?n.isConnected||(n.ownerDocument=this.document,n.isConnected=!0,n.isMutationObserved?n.dispatchEvent(Wf):(Wf.target=n,this.dispatchEvent(Wf,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",n.nodeName),n.childNodes.forEach(function(i){r.mountChildren(i)}),n.isCustomElement&&n.connectedCallback&&n.connectedCallback()},e.prototype.client2Viewport=function(n){return this.getEventService().client2Viewport(n)},e.prototype.viewport2Client=function(n){return this.getEventService().viewport2Client(n)},e.prototype.viewport2Canvas=function(n){return this.getEventService().viewport2Canvas(n)},e.prototype.canvas2Viewport=function(n){return this.getEventService().canvas2Viewport(n)},e.prototype.getPointByClient=function(n,r){return this.client2Viewport({x:n,y:r})},e.prototype.getClientByPoint=function(n,r){return this.viewport2Client({x:n,y:r})},e}(Gw),r6=function(t){rt(e,t);function e(){var n=t.apply(this,q([],N(arguments),!1))||this;return n.landmarks=[],n}return e.prototype.rotate=function(n,r,i){if(this.relElevation=Oa(r),this.relAzimuth=Oa(n),this.relRoll=Oa(i),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===Tt.EXPLORING){var a=Hr(ve(),[1,0,0],re((this.rotateWorld?1:-1)*this.relElevation)),o=Hr(ve(),[0,1,0],re((this.rotateWorld?1:-1)*this.relAzimuth)),s=Hr(ve(),[0,0,1],re(this.relRoll)),c=qr(ve(),o,a);c=qr(ve(),c,s);var l=dp(Nt(),c);Ur(this.matrix,this.matrix,[0,0,-this.distance]),$e(this.matrix,this.matrix,l),Ur(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getPosition():this.type===Tt.TRACKING&&this._getFocalPoint(),this._update(),this},e.prototype.pan=function(n,r){var i=We(n,r,0),a=br(this.position);return ba(a,a,Cd(yt(),this.right,i[0])),ba(a,a,Cd(yt(),this.up,i[1])),this._setPosition(a),this.triggerUpdate(),this},e.prototype.dolly=function(n){var r=this.forward,i=br(this.position),a=n*this.dollyingStep,o=this.distance+n*this.dollyingStep;return a=Math.max(Math.min(o,this.maxDistance),this.minDistance)-this.distance,i[0]+=a*r[0],i[1]+=a*r[1],i[2]+=a*r[2],this._setPosition(i),this.type===Tt.ORBITING||this.type===Tt.EXPLORING?this._getDistance():this.type===Tt.TRACKING&&ba(this.focalPoint,i,this.distanceVector),this.triggerUpdate(),this},e.prototype.cancelLandmarkAnimation=function(){this.landmarkAnimationID!==void 0&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},e.prototype.createLandmark=function(n,r){var i,a,o,s;r===void 0&&(r={});var c=r.position,l=c===void 0?this.position:c,u=r.focalPoint,f=u===void 0?this.focalPoint:u,d=r.roll,h=r.zoom,p=new H.CameraContribution;p.setType(this.type,void 0),p.setPosition(l[0],(i=l[1])!==null&&i!==void 0?i:this.position[1],(a=l[2])!==null&&a!==void 0?a:this.position[2]),p.setFocalPoint(f[0],(o=f[1])!==null&&o!==void 0?o:this.focalPoint[1],(s=f[2])!==null&&s!==void 0?s:this.focalPoint[2]),p.setRoll(d??this.roll),p.setZoom(h??this.zoom);var v={name:n,matrix:lp(p.getWorldTransform()),right:br(p.right),up:br(p.up),forward:br(p.forward),position:br(p.getPosition()),focalPoint:br(p.getFocalPoint()),distanceVector:br(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(v),v},e.prototype.gotoLandmark=function(n,r){var i=this;r===void 0&&(r={});var a=le(n)?this.landmarks.find(function(E){return E.name===n}):n;if(a){var o=de(r)?{duration:r}:r,s=o.easing,c=s===void 0?"linear":s,l=o.duration,u=l===void 0?100:l,f=o.easingFunction,d=f===void 0?void 0:f,h=o.onfinish,p=h===void 0?void 0:h,v=o.onframe,g=v===void 0?void 0:v,y=.01;if(u===0){this.syncFromLandmark(a),p&&p();return}this.cancelLandmarkAnimation();var m=a.position,b=a.focalPoint,x=a.zoom,w=a.roll,O=d||H.EasingFunction(c),S,_=function(){i.setFocalPoint(b),i.setPosition(m),i.setRoll(w),i.setZoom(x),i.computeMatrix(),i.triggerUpdate(),p&&p()},M=function(E){S===void 0&&(S=E);var P=E-S;if(P>u){_();return}var T=O(P/u),A=yt(),k=yt(),C=1,L=0;Ld(A,i.focalPoint,b,T),Ld(k,i.position,m,T),L=i.roll*(1-T)+w*T,C=i.zoom*(1-T)+x*T,i.setFocalPoint(A),i.setPosition(k),i.setRoll(L),i.setZoom(C);var I=Kv(A,b)+Kv(k,m);if(I<=y&&x==null&&w==null){_();return}i.computeMatrix(),i.triggerUpdate(),P<u&&(g&&g(T),i.landmarkAnimationID=i.canvas.requestAnimationFrame(M))};this.canvas.requestAnimationFrame(M)}},e.prototype.syncFromLandmark=function(n){this.matrix=Ri(this.matrix,n.matrix),this.right=rn(this.right,n.right),this.up=rn(this.up,n.up),this.forward=rn(this.forward,n.forward),this.position=rn(this.position,n.position),this.focalPoint=rn(this.focalPoint,n.focalPoint),this.distanceVector=rn(this.distanceVector,n.distanceVector),this.azimuth=n.azimuth,this.elevation=n.elevation,this.roll=n.roll,this.relAzimuth=n.relAzimuth,this.relElevation=n.relElevation,this.relRoll=n.relRoll,this.dollyingStep=n.dollyingStep,this.distance=n.distance,this.zoom=n.zoom},e}(ww);H.CameraContribution=r6;var Vf=function(t){rt(e,t);function e(n,r,i,a){var o=t.call(this,n)||this;return o.currentTime=i,o.timelineTime=a,o.target=r,o.type="finish",o.bubbles=!1,o.currentTarget=r,o.defaultPrevented=!1,o.eventPhase=o.AT_TARGET,o.timeStamp=Date.now(),o.currentTime=i,o.timelineTime=a,o}return e}($u),i6=0,a6=function(){function t(e,n){var r;this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=e,e.animation=this,this.timeline=n,this.id="".concat(i6++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number((r=this.effect)===null||r===void 0?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()}return Object.defineProperty(t.prototype,"pending",{get:function(){return this._startTime===null&&!this._paused&&this.playbackRate!==0||this.currentTimePending},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playState",{get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ready",{get:function(){var e=this;return this.readyPromise||(this.timeline.animationsWithPromises.indexOf(this)===-1&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(n,r){e.resolveReadyPromise=function(){n(e)},e.rejectReadyPromise=function(){r(new Error)}}),this.pending||this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"finished",{get:function(){var e=this;return this.finishedPromise||(this.timeline.animationsWithPromises.indexOf(this)===-1&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(n,r){e.resolveFinishedPromise=function(){n(e)},e.rejectFinishedPromise=function(){r(new Error)}}),this.playState==="finished"&&this.resolveFinishedPromise()),this.finishedPromise},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){var n;e=Number(e),!isNaN(e)&&(this.timeline.restart(),!this._paused&&this._startTime!==null&&(this._startTime=Number((n=this.timeline)===null||n===void 0?void 0:n.currentTime)-e/this.playbackRate),this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startTime",{get:function(){return this._startTime},set:function(e){if(e!==null){if(this.updatePromises(),e=Number(e),isNaN(e)||this._paused||this._idle)return;this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playbackRate",{get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var n=this.currentTime;this._playbackRate=e,this.startTime=null,this.playState!=="paused"&&this.playState!=="idle"&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),n!==null&&(this.currentTime=n),this.updatePromises()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isFinished",{get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&Number(this._currentTime)<=0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_needsTick",{get:function(){return this.pending||this.playState==="running"||!this._finishedFlag},enumerable:!1,configurable:!0}),t.prototype.updatePromises=function(){var e=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==e&&(n==="idle"?(this.rejectReadyPromise(),this.readyPromise=void 0):e==="pending"?this.resolveReadyPromise():n==="pending"&&(this.readyPromise=void 0)),this.finishedPromise&&n!==e&&(n==="idle"?(this.rejectFinishedPromise(),this.finishedPromise=void 0):n==="finished"?this.resolveFinishedPromise():e==="finished"&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise},t.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),this.timeline.animations.indexOf(this)===-1&&this.timeline.animations.push(this),this.updatePromises()},t.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),!this._isFinished&&!this._paused&&!this._idle?this.currentTimePending=!0:this._idle&&(this.rewind(),this._idle=!1),this._startTime=null,this._paused=!0,this.updatePromises()},t.prototype.finish=function(){this.updatePromises(),!this._idle&&(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},t.prototype.cancel=function(){var e=this;if(this.updatePromises(),!!this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var n=new Vf(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(n)})}},t.prototype.reverse=function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),e!==null&&(this.currentTime=e),this.updatePromises()},t.prototype.updatePlaybackRate=function(e){this.playbackRate=e},t.prototype.targetAnimations=function(){var e,n=(e=this.effect)===null||e===void 0?void 0:e.target;return n.getAnimations()},t.prototype.markTarget=function(){var e=this.targetAnimations();e.indexOf(this)===-1&&e.push(this)},t.prototype.unmarkTarget=function(){var e=this.targetAnimations(),n=e.indexOf(this);n!==-1&&e.splice(n,1)},t.prototype.tick=function(e,n){!this._idle&&!this._paused&&(this._startTime===null?n&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),n&&(this.currentTimePending=!1,this.fireEvents(e))},t.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw new Error("Unable to rewind negative playback rate animation with infinite duration")},t.prototype.persist=function(){throw new Error(It)},t.prototype.addEventListener=function(e,n,r){throw new Error(It)},t.prototype.removeEventListener=function(e,n,r){throw new Error(It)},t.prototype.dispatchEvent=function(e){throw new Error(It)},t.prototype.commitStyles=function(){throw new Error(It)},t.prototype.ensureAlive=function(){var e,n;this.playbackRate<0&&this.currentTime===0?this._inEffect=!!(!((e=this.effect)===null||e===void 0)&&e.update(-1)):this._inEffect=!!(!((n=this.effect)===null||n===void 0)&&n.update(this.currentTime)),!this._inTimeline&&(this._inEffect||!this._finishedFlag)&&(this._inTimeline=!0,this.timeline.animations.push(this))},t.prototype.tickCurrentTime=function(e,n){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!n&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},t.prototype.fireEvents=function(e){var n=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var r=new Vf(null,this,this.currentTime,e);setTimeout(function(){n.onfinish&&n.onfinish(r)})}this._finishedFlag=!0}}else{if(this.onframe&&this.playState==="running"){var i=new Vf(null,this,this.currentTime,e);this.onframe(i)}this._finishedFlag=!1}},t}(),o6=4,s6=.001,c6=1e-7,l6=10,Po=11,yc=1/(Po-1),u6=typeof Float32Array=="function",Vw=function(t,e){return 1-3*e+3*t},Xw=function(t,e){return 3*e-6*t},Uw=function(t){return 3*t},Rl=function(t,e,n){return((Vw(e,n)*t+Xw(e,n))*t+Uw(e))*t},qw=function(t,e,n){return 3*Vw(e,n)*t*t+2*Xw(e,n)*t+Uw(e)},f6=function(t,e,n,r,i){var a,o,s=0;do o=e+(n-e)/2,a=Rl(o,r,i)-t,a>0?n=o:e=o;while(Math.abs(a)>c6&&++s<l6);return o},d6=function(t,e,n,r){for(var i=0;i<o6;++i){var a=qw(e,n,r);if(a===0)return e;var o=Rl(e,n,r)-t;e-=o/a}return e},Jp=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return function(s){return s};for(var i=u6?new Float32Array(Po):new Array(Po),a=0;a<Po;++a)i[a]=Rl(a*yc,t,n);var o=function(s){for(var c=0,l=1,u=Po-1;l!==u&&i[l]<=s;++l)c+=yc;--l;var f=(s-i[l])/(i[l+1]-i[l]),d=c+f*yc,h=qw(d,t,n);return h>=s6?d6(s,d,t,n):h===0?d:f6(s,c,c+yc,t,n)};return function(s){return s===0||s===1?s:Rl(o(s),e,r)}},h6=function(t){return t=t.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())}),t.charAt(0)==="-"?t.substring(1):t},mc=function(t){return Math.pow(t,2)},bc=function(t){return Math.pow(t,3)},xc=function(t){return Math.pow(t,4)},wc=function(t){return Math.pow(t,5)},Oc=function(t){return Math.pow(t,6)},Sc=function(t){return 1-Math.cos(t*Math.PI/2)},_c=function(t){return 1-Math.sqrt(1-t*t)},Mc=function(t){return t*t*(3*t-2)},Ec=function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((e*3-2)/22-t,2)},Pc=function(t,e){e===void 0&&(e=[]);var n=N(e,2),r=n[0],i=r===void 0?1:r,a=n[1],o=a===void 0?.5:a,s=ce(Number(i),1,10),c=ce(Number(o),.1,2);return t===0||t===1?t:-s*Math.pow(2,10*(t-1))*Math.sin((t-1-c/(Math.PI*2)*Math.asin(1/s))*(Math.PI*2)/c)},wo=function(t,e,n){e===void 0&&(e=[]);var r=N(e,4),i=r[0],a=i===void 0?1:i,o=r[1],s=o===void 0?100:o,c=r[2],l=c===void 0?10:c,u=r[3],f=u===void 0?0:u;a=ce(a,.1,1e3),s=ce(s,.1,1e3),l=ce(l,.1,1e3),f=ce(f,.1,1e3);var d=Math.sqrt(s/a),h=l/(2*Math.sqrt(s*a)),p=h<1?d*Math.sqrt(1-h*h):0,v=1,g=h<1?(h*d+-f)/p:-f+d,y=n?n*t/1e3:t;return h<1?y=Math.exp(-y*h*d)*(v*Math.cos(p*y)+g*Math.sin(p*y)):y=(v+g*y)*Math.exp(-y*d),t===0||t===1?t:1-y},Xf=function(t,e){e===void 0&&(e=[]);var n=N(e,2),r=n[0],i=r===void 0?10:r,a=n[1],o=a=="start"?Math.ceil:Math.floor;return o(ce(t,0,1)*i)/i},ly=function(t,e){e===void 0&&(e=[]);var n=N(e,4),r=n[0],i=n[1],a=n[2],o=n[3];return Jp(r,i,a,o)(t)},Ac=Jp(.42,0,1,1),Sn=function(t){return function(e,n,r){return n===void 0&&(n=[]),1-t(1-e,n,r)}},_n=function(t){return function(e,n,r){return n===void 0&&(n=[]),e<.5?t(e*2,n,r)/2:1-t(e*-2+2,n,r)/2}},Mn=function(t){return function(e,n,r){return n===void 0&&(n=[]),e<.5?(1-t(1-e*2,n,r))/2:(t(e*2-1,n,r)+1)/2}},uy={steps:Xf,"step-start":function(t){return Xf(t,[1,"start"])},"step-end":function(t){return Xf(t,[1,"end"])},linear:function(t){return t},"cubic-bezier":ly,ease:function(t){return ly(t,[.25,.1,.25,1])},in:Ac,out:Sn(Ac),"in-out":_n(Ac),"out-in":Mn(Ac),"in-quad":mc,"out-quad":Sn(mc),"in-out-quad":_n(mc),"out-in-quad":Mn(mc),"in-cubic":bc,"out-cubic":Sn(bc),"in-out-cubic":_n(bc),"out-in-cubic":Mn(bc),"in-quart":xc,"out-quart":Sn(xc),"in-out-quart":_n(xc),"out-in-quart":Mn(xc),"in-quint":wc,"out-quint":Sn(wc),"in-out-quint":_n(wc),"out-in-quint":Mn(wc),"in-expo":Oc,"out-expo":Sn(Oc),"in-out-expo":_n(Oc),"out-in-expo":Mn(Oc),"in-sine":Sc,"out-sine":Sn(Sc),"in-out-sine":_n(Sc),"out-in-sine":Mn(Sc),"in-circ":_c,"out-circ":Sn(_c),"in-out-circ":_n(_c),"out-in-circ":Mn(_c),"in-back":Mc,"out-back":Sn(Mc),"in-out-back":_n(Mc),"out-in-back":Mn(Mc),"in-bounce":Ec,"out-bounce":Sn(Ec),"in-out-bounce":_n(Ec),"out-in-bounce":Mn(Ec),"in-elastic":Pc,"out-elastic":Sn(Pc),"in-out-elastic":_n(Pc),"out-in-elastic":Mn(Pc),spring:wo,"spring-in":wo,"spring-out":Sn(wo),"spring-in-out":_n(wo),"spring-out-in":Mn(wo)},p6=function(t){return h6(t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},v6=function(t){return uy[p6(t)]||uy.linear},g6=function(t){return t},y6=1,m6=.5,fy=0;function dy(t,e){return function(n){if(n>=1)return 1;var r=1/t;return n+=e*r,n-n%r}}var kc="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b6=new RegExp("cubic-bezier\\("+kc+","+kc+","+kc+","+kc+"\\)"),x6=/steps\(\s*(\d+)\s*\)/,w6=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function t0(t){var e=b6.exec(t);if(e)return Jp.apply(void 0,q([],N(e.slice(1).map(Number)),!1));var n=x6.exec(t);if(n)return dy(Number(n[1]),fy);var r=w6.exec(t);return r?dy(Number(r[1]),{start:y6,middle:m6,end:fy}[r[2]]):v6(t)}function O6(t){return Math.abs(S6(t)/(t.playbackRate||1))}function S6(t){var e;return t.duration===0||t.iterations===0?0:(t.duration==="auto"?0:Number(t.duration))*((e=t.iterations)!==null&&e!==void 0?e:1)}var Kw=0,e0=1,zu=2,Zw=3;function _6(t,e,n){if(e===null)return Kw;var r=n.endTime;return e<Math.min(n.delay,r)?e0:e>=Math.min(n.delay+t+n.endDelay,r)?zu:Zw}function M6(t,e,n,r,i){switch(r){case e0:return e==="backwards"||e==="both"?0:null;case Zw:return n-i;case zu:return e==="forwards"||e==="both"?t:null;case Kw:return null}}function E6(t,e,n,r,i){var a=i;return t===0?e!==e0&&(a+=n):a+=r/t,a}function P6(t,e,n,r,i,a){var o=t===1/0?e%1:t%1;return o===0&&n===zu&&r!==0&&(i!==0||a===0)&&(o=1),o}function A6(t,e,n,r){return t===zu&&e===1/0?1/0:n===1?Math.floor(r)-1:Math.floor(r)}function k6(t,e,n){var r=t;if(t!=="normal"&&t!=="reverse"){var i=e;t==="alternate-reverse"&&(i+=1),r="normal",i!==1/0&&i%2!==0&&(r="reverse")}return r==="normal"?n:1-n}function T6(t,e,n){var r=_6(t,e,n),i=M6(t,n.fill,e,r,n.delay);if(i===null)return null;var a=n.duration==="auto"?0:n.duration,o=E6(a,r,n.iterations,i,n.iterationStart),s=P6(o,n.iterationStart,r,n.iterations,i,a),c=A6(r,n.iterations,s,o),l=k6(n.direction,c,s);return n.currentIteration=c,n.progress=l,n.easingFunction(l)}function C6(t,e,n){var r=L6(t,e),i=N6(r,n);return function(a,o){if(o!==null)i.filter(function(c){return o>=c.applyFrom&&o<c.applyTo}).forEach(function(c){var l=o-c.startOffset,u=c.endOffset-c.startOffset,f=u===0?0:c.easingFunction(l/u);a.setAttribute(c.property,c.interpolation(f),!1,!1)});else for(var s in r)Qw(s)&&a.setAttribute(s,null)}}function Qw(t){return t!=="offset"&&t!=="easing"&&t!=="composite"&&t!=="computedOffset"}function L6(t,e){for(var n={},r=0;r<t.length;r++)for(var i in t[r])if(Qw(i)){var a={offset:t[r].offset,computedOffset:t[r].computedOffset,easing:t[r].easing,easingFunction:t0(t[r].easing)||e.easingFunction,value:t[r][i]};n[i]=n[i]||[],n[i].push(a)}return n}function N6(t,e){var n=[];for(var r in t)for(var i=t[r],a=0;a<i.length-1;a++){var o=a,s=a+1,c=i[o].computedOffset,l=i[s].computedOffset,u=c,f=l;a===0&&(u=-1/0,l===0&&(s=o)),a===i.length-2&&(f=1/0,c===1&&(o=s)),n.push({applyFrom:u,applyTo:f,startOffset:i[o].computedOffset,endOffset:i[s].computedOffset,easingFunction:i[o].easingFunction,property:r,interpolation:R6(r,i[o].value,i[s].value,e)})}return n.sort(function(d,h){return d.startOffset-h.startOffset}),n}var hy=function(t,e,n){return function(r){var i=Jw(t,e,r);return!H.enableCSSParsing&&de(i)?i:n(i)}};function R6(t,e,n,r){var i=Br[t];if(i&&i.syntax&&i.int){var a=H.styleValueRegistry.getPropertySyntax(i.syntax);if(a){var o=void 0,s=void 0;if(H.enableCSSParsing){var c=H.styleValueRegistry.parseProperty(t,e,r,!1),l=H.styleValueRegistry.parseProperty(t,n,r,!1);o=H.styleValueRegistry.computeProperty(t,c,r,!1),s=H.styleValueRegistry.computeProperty(t,l,r,!1)}else{var u=a.parserWithCSSDisabled;o=u?u(e,r):e,s=u?u(n,r):n}var f=a.mixer(o,s,r);if(f){var d=hy.apply(void 0,q([],N(f),!1));return function(h){return h===0?e:h===1?n:d(h)}}}}return hy(!1,!0,function(h){return h?n:e})}function Jw(t,e,n){if(typeof t=="number"&&typeof e=="number")return t*(1-n)+e*n;if(typeof t=="boolean"&&typeof e=="boolean"||typeof t=="string"&&typeof e=="string")return n<.5?t:e;if(Array.isArray(t)&&Array.isArray(e)){for(var r=t.length,i=e.length,a=Math.max(r,i),o=[],s=0;s<a;s++)o.push(Jw(t[s<r?s:r-1],e[s<i?s:i-1],n));return o}throw new Error("Mismatched interpolation arguments "+t+":"+e)}var I6=function(){function t(){this.delay=0,this.direction="normal",this.duration="auto",this._easing="linear",this.easingFunction=g6,this.endDelay=0,this.fill="auto",this.iterationStart=0,this.iterations=1,this.currentIteration=null,this.progress=null}return Object.defineProperty(t.prototype,"easing",{get:function(){return this._easing},set:function(e){this.easingFunction=t0(e),this._easing=e},enumerable:!1,configurable:!0}),t}();function j6(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i=r.length,a=0;a<i;a++){if(!e[a]){var o={};"offset"in t&&(o.offset=Number(t.offset)),"easing"in t&&(o.easing=t.easing),"composite"in t&&(o.composite=t.composite),e[a]=o}r[a]!==void 0&&r[a]!==null&&(e[a][n]=r[a])}}return e.sort(function(s,c){return(s.computedOffset||0)-(c.computedOffset||0)}),e}function py(t,e){if(t===null)return[];Array.isArray(t)||(t=j6(t));for(var n=t.map(function(c){var l={};e!=null&&e.composite&&(l.composite="auto");for(var u in c){var f=c[u];if(u==="offset"){if(f!==null){if(f=Number(f),!isFinite(f))throw new Error("Keyframe offsets must be numbers.");if(f<0||f>1)throw new Error("Keyframe offsets must be between 0 and 1.");l.computedOffset=f}}else if(u==="composite"&&["replace","add","accumulate","auto"].indexOf(f)===-1)throw new Error("".concat(f," compositing is not supported"));l[u]=f}return l.offset===void 0&&(l.offset=null),l.easing===void 0&&(l.easing=(e==null?void 0:e.easing)||"linear"),l.composite===void 0&&(l.composite="auto"),l}),r=!0,i=-1/0,a=0;a<n.length;a++){var o=n[a].offset;if(nt(o))r=!1;else{if(o<i)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");i=o}}n=n.filter(function(c){return Number(c.offset)>=0&&Number(c.offset)<=1});function s(){var c,l,u=n.length;n[u-1].computedOffset=Number((c=n[u-1].offset)!==null&&c!==void 0?c:1),u>1&&(n[0].computedOffset=Number((l=n[0].offset)!==null&&l!==void 0?l:0));for(var f=0,d=Number(n[0].computedOffset),h=1;h<u;h++){var p=n[h].computedOffset;if(!nt(p)&&!nt(d)){for(var v=1;v<h-f;v++)n[f+v].computedOffset=d+(Number(p)-d)*v/(h-f);f=h,d=Number(p)}}}return r||s(),n}var D6="backwards|forwards|both|none".split("|"),$6="reverse|alternate|alternate-reverse".split("|");function B6(t,e){var n=new I6;return e&&(n.fill="both",n.duration="auto"),typeof t=="number"&&!isNaN(t)?n.duration=t:t!==void 0&&Object.keys(t).forEach(function(r){if(t[r]!==void 0&&t[r]!==null&&t[r]!=="auto"){if((typeof n[r]=="number"||r==="duration")&&(typeof t[r]!="number"||isNaN(t[r]))||r==="fill"&&D6.indexOf(t[r])===-1||r==="direction"&&$6.indexOf(t[r])===-1)return;n[r]=t[r]}}),n}function F6(t,e){return t=z6(t??{duration:"auto"}),B6(t,e)}function z6(t){return typeof t=="number"&&(isNaN(t)?t={duration:"auto"}:t={duration:t}),t}var G6=function(){function t(e,n,r){var i=this;this.composite="replace",this.iterationComposite="replace",this.target=e,this.timing=F6(r,!1),this.timing.effect=this,this.timing.activeDuration=O6(this.timing),this.timing.endTime=Math.max(0,this.timing.delay+this.timing.activeDuration+this.timing.endDelay),this.normalizedKeyframes=py(n,this.timing),this.interpolations=C6(this.normalizedKeyframes,this.timing,this.target);var a=H.globalThis.Proxy;this.computedTiming=a?new a(this.timing,{get:function(o,s){return s==="duration"?o.duration==="auto"?0:o.duration:s==="fill"?o.fill==="auto"?"none":o.fill:s==="localTime"?i.animation&&i.animation.currentTime||null:s==="currentIteration"?!i.animation||i.animation.playState!=="running"?null:o.currentIteration||0:s==="progress"?!i.animation||i.animation.playState!=="running"?null:o.progress||0:o[s]},set:function(){return!0}}):this.timing}return t.prototype.applyInterpolations=function(){this.interpolations(this.target,Number(this.timeFraction))},t.prototype.update=function(e){return e===null?!1:(this.timeFraction=T6(this.timing.activeDuration,e,this.timing),this.timeFraction!==null)},t.prototype.getKeyframes=function(){return this.normalizedKeyframes},t.prototype.setKeyframes=function(e){this.normalizedKeyframes=py(e)},t.prototype.getComputedTiming=function(){return this.computedTiming},t.prototype.getTiming=function(){return this.timing},t.prototype.updateTiming=function(e){var n=this;Object.keys(e||{}).forEach(function(r){n.timing[r]=e[r]})},t}();function vy(t,e){return Number(t.id)-Number(e.id)}var Y6=function(){function t(e){var n=this;this.document=e,this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(r){n.currentTime=r,n.discardAnimations(),n.animations.length===0?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(r){var i=n.rafCallbacks;n.rafCallbacks=[],r<Number(n.currentTime)&&(r=Number(n.currentTime)),n.animations.sort(vy),n.animations=n.tick(r,!0,n.animations)[0],i.forEach(function(a){a[1](r)}),n.applyPendingEffects()}}return t.prototype.getAnimations=function(){return this.discardAnimations(),this.animations.slice()},t.prototype.isTicking=function(){return this.inTick},t.prototype.play=function(e,n,r){var i=new G6(e,n,r),a=new a6(i,this);return this.animations.push(a),this.restartWebAnimationsNextTick(),a.updatePromises(),a.play(),a.updatePromises(),a},t.prototype.applyDirtiedAnimation=function(e){var n=this;if(!this.inTick){e.markTarget();var r=e.targetAnimations();r.sort(vy);var i=this.tick(Number(this.currentTime),!1,r.slice())[1];i.forEach(function(a){var o=n.animations.indexOf(a);o!==-1&&n.animations.splice(o,1)}),this.applyPendingEffects()}},t.prototype.restart=function(){return this.ticking||(this.ticking=!0,this.requestAnimationFrame(function(){}),this.hasRestartedThisFrame=!0),this.hasRestartedThisFrame},t.prototype.destroy=function(){this.document.defaultView.cancelAnimationFrame(this.frameId)},t.prototype.applyPendingEffects=function(){this.pendingEffects.forEach(function(e){e==null||e.applyInterpolations()}),this.pendingEffects=[]},t.prototype.updateAnimationsPromises=function(){this.animationsWithPromises=this.animationsWithPromises.filter(function(e){return e.updatePromises()})},t.prototype.discardAnimations=function(){this.updateAnimationsPromises(),this.animations=this.animations.filter(function(e){return e.playState!=="finished"&&e.playState!=="idle"})},t.prototype.restartWebAnimationsNextTick=function(){this.timelineTicking||(this.timelineTicking=!0,this.requestAnimationFrame(this.webAnimationsNextTick))},t.prototype.rAF=function(e){var n=this.rafId++;return this.rafCallbacks.length===0&&(this.frameId=this.document.defaultView.requestAnimationFrame(this.processRafCallbacks)),this.rafCallbacks.push([n,e]),n},t.prototype.requestAnimationFrame=function(e){var n=this;return this.rAF(function(r){n.updateAnimationsPromises(),e(r),n.updateAnimationsPromises()})},t.prototype.tick=function(e,n,r){var i,a,o=this;this.inTick=!0,this.hasRestartedThisFrame=!1,this.currentTime=e,this.ticking=!1;var s=[],c=[],l=[],u=[];return r.forEach(function(f){f.tick(e,n),f._inEffect?(c.push(f.effect),f.markTarget()):(s.push(f.effect),f.unmarkTarget()),f._needsTick&&(o.ticking=!0);var d=f._inEffect||f._needsTick;f._inTimeline=d,d?l.push(f):u.push(f)}),(i=this.pendingEffects).push.apply(i,q([],N(s),!1)),(a=this.pendingEffects).push.apply(a,q([],N(c),!1)),this.ticking&&this.requestAnimationFrame(function(){}),this.inTick=!1,[l,u]},t}();H.EasingFunction=t0;H.AnimationTimeline=Y6;function st(t){return new Il([t],null,t,t.ownerDocument)}let Il=class Ae{constructor(e=null,n=null,r=null,i=null,a=[null,null,null,null,null],o=[],s=[]){this._elements=Array.from(e),this._data=n,this._parent=r,this._document=i,this._enter=a[0],this._update=a[1],this._exit=a[2],this._merge=a[3],this._split=a[4],this._transitions=o,this._facetElements=s}selectAll(e){const n=typeof e=="string"?this._parent.querySelectorAll(e):e;return new Ae(n,null,this._elements[0],this._document)}selectFacetAll(e){const n=typeof e=="string"?this._parent.querySelectorAll(e):e;return new Ae(this._elements,null,this._parent,this._document,void 0,void 0,n)}select(e){const n=typeof e=="string"?this._parent.querySelectorAll(e)[0]||null:e;return new Ae([n],null,n,this._document)}append(e){const n=typeof e=="function"?e:()=>this.createElement(e),r=[];if(this._data!==null){for(let i=0;i<this._data.length;i++){const a=this._data[i],[o,s]=Array.isArray(a)?a:[a,null],c=n(o,i);c.__data__=o,s!==null&&(c.__fromElements__=s),this._parent.appendChild(c),r.push(c)}return new Ae(r,null,this._parent,this._document)}else{for(let i=0;i<this._elements.length;i++){const a=this._elements[i],o=a.__data__,s=n(o,i);a.appendChild(s),r.push(s)}return new Ae(r,null,r[0],this._document)}}maybeAppend(e,n,r){const i=this._elements[0],a=i.getElementById(e);if(a)return new Ae([a],null,this._parent,this._document);const o=typeof n=="string"?this.createElement(n):n();return o.id=e,r&&(o.className=r),i.appendChild(o),new Ae([o],null,this._parent,this._document)}data(e,n=i=>i,r=()=>null){const i=[],a=[],o=new Set(this._elements),s=[],c=new Set,l=new Map(this._elements.map((h,p)=>[n(h.__data__,p),h])),u=new Map(this._facetElements.map((h,p)=>[n(h.__data__,p),h])),f=te(this._elements,h=>r(h.__data__));for(let h=0;h<e.length;h++){const p=e[h],v=n(p,h),g=r(p,h);if(l.has(v)){const y=l.get(v);y.__data__=p,y.__facet__=!1,a.push(y),o.delete(y),l.delete(v)}else if(u.has(v)){const y=u.get(v);y.__data__=p,y.__facet__=!0,a.push(y),u.delete(v)}else if(f.has(v)){const y=f.get(v);s.push([p,y]);for(const m of y)o.delete(m);f.delete(v)}else if(l.has(g)){const y=l.get(g);y.__toData__?y.__toData__.push(p):y.__toData__=[p],c.add(y),o.delete(y)}else i.push(p)}const d=[new Ae([],i,this._parent,this._document),new Ae(a,null,this._parent,this._document),new Ae(o,null,this._parent,this._document),new Ae([],s,this._parent,this._document),new Ae(c,null,this._parent,this._document)];return new Ae(this._elements,null,this._parent,this._document,d)}merge(e){const n=[...this._elements,...e._elements],r=[...this._transitions,...e._transitions];return new Ae(n,null,this._parent,this._document,void 0,r)}createElement(e){if(this._document)return this._document.createElement(e,{});const n=Ae.registry[e];return n?new n:La(`Unknown node type: ${e}`)}join(e=o=>o,n=o=>o,r=o=>o.remove(),i=o=>o,a=o=>o.remove()){const o=e(this._enter),s=n(this._update),c=r(this._exit),l=i(this._merge),u=a(this._split);return s.merge(o).merge(c).merge(l).merge(u)}remove(){for(let e=0;e<this._elements.length;e++){const n=this._transitions[e];if(n){const r=Array.isArray(n)?n:[n];Promise.all(r.map(i=>i.finished)).then(()=>{this._elements[e].remove()})}else this._elements[e].remove()}return new Ae([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let n=0;n<this._elements.length;n++){const r=this._elements[n],i=r.__data__;e(i,n,r)}return this}attr(e,n){const r=typeof n!="function"?()=>n:n;return this.each(function(i,a,o){n!==void 0&&(o[e]=r(i,a,o))})}style(e,n){const r=typeof n!="function"?()=>n:n;return this.each(function(i,a,o){n!==void 0&&(o.style[e]=r(i,a,o))})}transition(e){const n=typeof e!="function"?()=>e:e,{_transitions:r}=this;return this.each(function(i,a,o){r[a]=n(i,a,o)})}on(e,n){return this.each(function(r,i,a){a.addEventListener(e,n)}),this}call(e,...n){return e(this,...n),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}};Il.registry={g:Ce,rect:Zi,circle:Xs,path:Xe,text:ei,ellipse:Kp,image:Zp,line:Us,polygon:Fu,polyline:Qp,html:Bu};function Tc(t,e,n){return Math.max(e,Math.min(t,n))}function jl(t,e=10){return typeof t!="number"||Math.abs(t)<1e-15?t:parseFloat(t.toFixed(e))}function at(t,e){for(const[n,r]of Object.entries(e))t.style(n,r)}function W6(t,e){return e.forEach((n,r)=>r===0?t.moveTo(n[0],n[1]):t.lineTo(n[0],n[1])),t.closePath(),t}function H6(t,e,n){const{arrowSize:r}=n,i=typeof r=="string"?+parseFloat(r)/100*Jt(t,e):r,a=Math.PI/6,o=Math.atan2(e[1]-t[1],e[0]-t[0]),s=Math.PI/2-o-a,c=[e[0]-i*Math.sin(s),e[1]-i*Math.cos(s)],l=o-a,u=[e[0]-i*Math.cos(l),e[1]-i*Math.sin(l)];return[c,u]}function vs(t,e,n,r,i){const a=Nn(se(r,e))+Math.PI,o=Nn(se(r,n))+Math.PI;return t.arc(r[0],r[1],i,a,o,o-a<0),t}function tO(t,e,n,r="y",i="between",a=!1){const o=(g,y)=>g==="y"||g===!0?y?180:90:y?90:0,s=r==="y"||r===!0?n:e,c=o(r,a),l=Ui(s),[u,f]=Mr(l,g=>s[g]),d=new Yt({domain:[u,f],range:[0,100]}),h=g=>de(s[g])&&!Number.isNaN(s[g])?d.map(s[g]):0,p={between:g=>`${t[g]} ${h(g)}%`,start:g=>g===0?`${t[g]} ${h(g)}%`:`${t[g-1]} ${h(g)}%, ${t[g]} ${h(g)}%`,end:g=>g===t.length-1?`${t[g]} ${h(g)}%`:`${t[g]} ${h(g)}%, ${t[g+1]} ${h(g)}%`},v=l.sort((g,y)=>h(g)-h(y)).map(p[i]||p.between).join(",");return`linear-gradient(${c}deg, ${v})`}function Gu(t){const[e,n,r,i]=t;return[i,e,n,r]}function Qi(t,e,n){const[r,i,,a]=qt(t)?Gu(e):e,[o,s]=n,c=t.getCenter(),l=ja(se(r,c)),u=ja(se(i,c)),f=u===l&&o!==s?u+Math.PI*2:u;return{startAngle:l,endAngle:f-l>=0?f:Math.PI*2+f,innerRadius:Jt(a,c),outerRadius:Jt(r,c)}}function eO(t){const{colorAttribute:e,opacityAttribute:n=e}=t;return`${n}Opacity`}function nO(t,e){if(!Ht(t))return"";const n=t.getCenter(),{transform:r}=e;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function rO(t){if(t.length===1)return t[0];const[[e,n,r=0],[i,a,o=0]]=t;return[(e+i)/2,(n+a)/2,(r+o)/2]}var nl=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function iO(t,e,n,r,i={}){const{inset:a=0,radius:o=0,insetLeft:s=a,insetTop:c=a,insetRight:l=a,insetBottom:u=a,radiusBottomLeft:f=o,radiusBottomRight:d=o,radiusTopLeft:h=o,radiusTopRight:p=o,minWidth:v=-1/0,maxWidth:g=1/0,minHeight:y=-1/0}=i,m=nl(i,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!Ht(r)&&!uw(r)){const _=!!qt(r),[M,,E]=_?Gu(e):e,[P,T]=M,[A,k]=se(E,M),C=A>0?P:P+A,L=k>0?T:T+k,I=Math.abs(A),R=Math.abs(k),j=C+s,D=L+c,$=I-(s+l),B=R-(c+u),F=_?Tc($,y,1/0):Tc($,v,g),Y=_?Tc(B,v,g):Tc(B,y,1/0),U=_?j:j-(F-$)/2,K=_?D-(Y-B)/2:D-(Y-B);return st(t.createElement("rect",{})).style("x",U).style("y",K).style("width",F).style("height",Y).style("radius",[h,p,d,f]).call(at,m).node()}const{y:b,y1:x}=n,w=r.getCenter(),O=Qi(r,e,[b,x]),S=Cu().cornerRadius(o).padAngle(a*Math.PI/180);return st(t.createElement("path",{})).style("path",S(O)).style("transform",`translate(${w[0]}, ${w[1]})`).style("radius",o).style("inset",a).call(at,m).node()}const qs=(t,e)=>{const{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:a=!0}=t,o=nl(t,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:c}=e;return(l,u,f)=>{const{color:d,radius:h=0}=f,p=nl(f,["color","radius"]),v=p.lineWidth||1,{stroke:g,radius:y=h,radiusTopLeft:m=y,radiusTopRight:b=y,radiusBottomRight:x=y,radiusBottomLeft:w=y,innerRadius:O=0,innerRadiusTopLeft:S=O,innerRadiusTopRight:_=O,innerRadiusBottomRight:M=O,innerRadiusBottomLeft:E=O,lineWidth:P=n==="stroke"||g?v:0,inset:T=0,insetLeft:A=T,insetRight:k=T,insetBottom:C=T,insetTop:L=T,minWidth:I,maxWidth:R,minHeight:j}=o,D=nl(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:$=d,opacity:B}=u,F=[i?m:S,i?b:_,a?x:M,a?w:E],Y=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];qt(s)&&Y.push(Y.shift());const U=Object.assign(Object.assign({radius:y},Object.fromEntries(Y.map((K,V)=>[K,F[V]]))),{inset:T,insetLeft:A,insetRight:k,insetBottom:C,insetTop:L,minWidth:I,maxWidth:R,minHeight:j});return st(iO(c,l,u,s,U)).call(at,p).style("fill","transparent").style(n,$).style(eO(t),B).style("lineWidth",P).style("stroke",g===void 0?$:g).call(at,D).node()}};qs.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const Ji=(t,e)=>qs(Object.assign({colorAttribute:"fill"},t),e);Ji.props=Object.assign(Object.assign({},qs.props),{defaultMarker:"square"});const Yu=(t,e)=>qs(Object.assign({colorAttribute:"stroke"},t),e);Yu.props=Object.assign(Object.assign({},qs.props),{defaultMarker:"hollowSquare"});var gy=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function V6(t,e,n){const[r,i,a,o]=t;if(qt(n)){const l=[e?e[0][0]:i[0],i[1]],u=[e?e[3][0]:a[0],a[1]];return[r,l,u,o]}const s=[i[0],e?e[0][1]:i[1]],c=[a[0],e?e[3][1]:a[1]];return[r,s,c,o]}const n0=(t,e)=>{const{adjustPoints:n=V6}=t,r=gy(t,["adjustPoints"]),{coordinate:i,document:a}=e;return(o,s,c,l)=>{const{index:u}=s,{color:f}=c,d=gy(c,["color"]),h=l[u+1],p=n(o,h,i),v=!!qt(i),[g,y,m,b]=v?Gu(p):p,{color:x=f,opacity:w}=s,O=Jr().curve(jp)([g,y,m,b]);return st(a.createElement("path",{})).call(at,d).style("path",O).style("fill",x).style("fillOpacity",w).call(at,r).node()}};n0.props={defaultMarker:"square"};function X6(t,e,n){const[r,i,a,o]=t;if(qt(n)){const l=[e?e[0][0]:(i[0]+a[0])/2,i[1]],u=[e?e[3][0]:(i[0]+a[0])/2,a[1]];return[r,l,u,o]}const s=[i[0],e?e[0][1]:(i[1]+a[1])/2],c=[a[0],e?e[3][1]:(i[1]+a[1])/2];return[r,s,c,o]}const aO=(t,e)=>n0(Object.assign({adjustPoints:X6},t),e);aO.props={defaultMarker:"square"};function Fa(t){const e=typeof t=="function"?t:t.render;return class extends qp{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){e(this)}}}var yy=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const U6=Fa(t=>{const{d1:e,d2:n,style1:r,style2:i}=t.attributes,a=t.ownerDocument;st(t).maybeAppend("line",()=>a.createElement("path",{})).style("d",e).call(at,r),st(t).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(at,i)});function q6(t,e){const n=[],r=[];let i=!1,a=null;for(const o of t)!e(o[0])||!e(o[1])?i=!0:(n.push(o),i&&(i=!1,r.push([a,o])),a=o);return[n,r]}const Dn=(t,e)=>{const{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=u=>!Number.isNaN(u)&&u!==void 0&&u!==null,connect:o=!1}=t,s=yy(t,["curve","gradient","gradientColor","defined","connect"]),{coordinate:c,document:l}=e;return(u,f,d)=>{const{color:h,lineWidth:p}=d,v=yy(d,["color","lineWidth"]),{color:g=h,size:y=p,seriesColor:m,seriesX:b,seriesY:x}=f,w=nO(c,f),O=qt(c),S=r&&m?tO(m,b,x,r,i,O):g,_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v),S&&{stroke:S}),y&&{lineWidth:y}),w&&{transform:w}),s);let M;if(Ht(c)){const C=c.getCenter();M=L=>wL().angle((I,R)=>ja(se(L[R],C))).radius((I,R)=>Jt(L[R],C)).defined(([I,R])=>a(I)&&a(R)).curve(n)(L)}else M=Jr().x(C=>C[0]).y(C=>C[1]).defined(([C,L])=>a(C)&&a(L)).curve(n);const[E,P]=q6(u,a),T=Q(_,"connect"),A=!!P.length;if(!A||o&&!Object.keys(T).length)return st(l.createElement("path",{})).style("d",M(E)||[]).call(at,_).node();if(A&&!o)return st(l.createElement("path",{})).style("d",M(u)).call(at,_).node();const k=C=>C.map(M).join(",");return st(new U6).style("style1",Object.assign(Object.assign({},_),T)).style("style2",_).style("d1",k(P)).style("d2",M(u)).node()}};Dn.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const oO=(t,e)=>{const{coordinate:n}=e;return(...r)=>{const i=Ht(n)?jp:Ys;return Dn(Object.assign({curve:i},t),e)(...r)}};oO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"line"});var K6=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const sO=(t,e)=>{const n=K6(t,[]),{coordinate:r}=e;return(...i)=>{const a=Ht(r)?ew:qt(r)?ow:aw;return Dn(Object.assign({curve:a},n),e)(...i)}};sO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"smooth"});const cO=(t,e)=>Dn(Object.assign({curve:lw},t),e);cO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"hv"});const lO=(t,e)=>Dn(Object.assign({curve:cw},t),e);lO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"vh"});const uO=(t,e)=>Dn(Object.assign({curve:sw},t),e);uO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"hvh"});var Z6=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function Q6(t,e,n,r,i){const a=se(n,e),o=Nn(a),s=o+Math.PI/2,c=[r/2*Math.cos(s),r/2*Math.sin(s)],l=[i/2*Math.cos(s),i/2*Math.sin(s)],u=[i/2*Math.cos(o),i/2*Math.sin(o)],f=[r/2*Math.cos(o),r/2*Math.sin(o)],d=fc(e,c),h=fc(n,l),p=fc(h,u),v=fc(n,u),g=se(v,l),y=se(n,l),m=se(e,c),b=se(m,f),x=se(e,f),w=se(d,f);t.moveTo(...d),t.lineTo(...h),t.arcTo(...p,...v,i/2),t.arcTo(...g,...y,i/2),t.lineTo(...m),t.arcTo(...b,...x,r/2),t.arcTo(...w,...d,r/2),t.closePath()}const fO=(t,e)=>{const{document:n}=e;return(r,i,a)=>{const{seriesSize:o,color:s}=i,{color:c}=a,l=Z6(a,["color"]),u=jn();for(let f=0;f<r.length-1;f++){const d=r[f],h=r[f+1],p=o[f],v=o[f+1];[...d,...h].every(zt)&&Q6(u,d,h,p,v)}return st(n.createElement("path",{})).call(at,l).style("fill",s||c).style("d",u.toString()).call(at,t).node()}};fO.props=Object.assign(Object.assign({},Dn.props),{defaultMarker:"line"});var J6=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const r0=(t,e,n)=>[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]];r0.style=["fill"];const dO=r0.bind(void 0);dO.style=["stroke","lineWidth"];const Wu=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]];Wu.style=["fill"];const hO=Wu.bind(void 0);hO.style=["fill"];const pO=Wu.bind(void 0);pO.style=["stroke","lineWidth"];const i0=(t,e,n)=>{const r=n*.618;return[["M",t-r,e],["L",t,e-n],["L",t+r,e],["L",t,e+n],["Z"]]};i0.style=["fill"];const vO=i0.bind(void 0);vO.style=["stroke","lineWidth"];const a0=(t,e,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]};a0.style=["fill"];const gO=a0.bind(void 0);gO.style=["stroke","lineWidth"];const o0=(t,e,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]};o0.style=["fill"];const yO=o0.bind(void 0);yO.style=["stroke","lineWidth"];const s0=(t,e,n)=>{const r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]};s0.style=["fill"];const mO=s0.bind(void 0);mO.style=["stroke","lineWidth"];const c0=(t,e,n)=>{const r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]};c0.style=["fill"];const bO=c0.bind(void 0);bO.style=["stroke","lineWidth"];const xO=(t,e,n)=>[["M",t,e+n],["L",t,e-n]];xO.style=["stroke","lineWidth"];const wO=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]];wO.style=["stroke","lineWidth"];const OO=(t,e,n)=>[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]];OO.style=["stroke","lineWidth"];const SO=(t,e,n)=>[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]];SO.style=["stroke","lineWidth"];const _O=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];_O.style=["stroke","lineWidth"];const l0=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];l0.style=["stroke","lineWidth"];const MO=l0.bind(void 0);MO.style=["stroke","lineWidth"];const EO=(t,e,n)=>[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]];EO.style=["stroke","lineWidth"];const PO=(t,e,n)=>[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]];PO.style=["stroke","lineWidth"];const AO=(t,e,n)=>[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]];AO.style=["stroke","lineWidth"];const kO=(t,e,n)=>[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]];kO.style=["stroke","lineWidth"];const TO=(t,e,n)=>[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]];TO.style=["stroke","lineWidth"];const Dl=new Map([["bowtie",c0],["cross",wO],["dash",MO],["diamond",i0],["dot",l0],["hexagon",s0],["hollowBowtie",bO],["hollowDiamond",vO],["hollowHexagon",mO],["hollowPoint",dO],["hollowSquare",pO],["hollowTriangle",gO],["hollowTriangleDown",yO],["hv",PO],["hvh",kO],["hyphen",_O],["line",xO],["plus",SO],["point",r0],["rect",hO],["smooth",EO],["square",Wu],["tick",OO],["triangleDown",o0],["triangle",a0],["vh",AO],["vhv",TO]]);function tI(t,e){var{d:n,fill:r,strokeWidth:i,path:a,stroke:o,lineWidth:s,color:c}=e,l=J6(e,["d","fill","strokeWidth","path","stroke","lineWidth","color"]);const u=Dl.get(t)||Dl.get("point");return(...f)=>new Xe({style:Object.assign(Object.assign({},l),{path:u(...f),stroke:u.style.includes("stroke")?c||o:"",fill:u.style.includes("fill")?c||r:"",lineWidth:u.style.includes("lineWidth")?s||s||2:0})})}var eI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function nI(t,e,n,r){if(e.length===1)return;const{size:i}=n;if(t==="fixed")return i;if(t==="normal"||fw(r)){const[[a,o],[s,c]]=e,l=Math.abs((s-a)/2),u=Math.abs((c-o)/2);return Math.max(0,(l+u)/2)}return i}const bt=(t,e)=>{const{colorAttribute:n,symbol:r,mode:i="auto"}=t,a=eI(t,["colorAttribute","symbol","mode"]),o=Dl.get(r)||Dl.get("point"),{coordinate:s,document:c}=e;return(l,u,f)=>{const{lineWidth:d,color:h}=f,p=a.stroke?d||1:d,{color:v=h,transform:g,opacity:y}=u,[m,b]=rO(l),w=nI(i,l,u,s)||a.r||f.r;return st(c.createElement("path",{})).call(at,f).style("fill","transparent").style("d",o(m,b,w)).style("lineWidth",p).style("transform",g).style("stroke",v).style(eO(t),y).style(n,v).call(at,a).node()}};bt.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const CO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},t),e);CO.props=Object.assign({defaultMarker:"hollowBowtie"},bt.props);const LO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"diamond"},t),e);LO.props=Object.assign({defaultMarker:"hollowDiamond"},bt.props);const NO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},t),e);NO.props=Object.assign({defaultMarker:"hollowHexagon"},bt.props);const RO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"point"},t),e);RO.props=Object.assign({defaultMarker:"hollowPoint"},bt.props);const IO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"square"},t),e);IO.props=Object.assign({defaultMarker:"hollowSquare"},bt.props);const jO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"triangle"},t),e);jO.props=Object.assign({defaultMarker:"hollowTriangle"},bt.props);const DO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},t),e);DO.props=Object.assign({defaultMarker:"hollowTriangleDown"},bt.props);const $O=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"bowtie"},t),e);$O.props=Object.assign({defaultMarker:"bowtie"},bt.props);const BO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"cross"},t),e);BO.props=Object.assign({defaultMarker:"cross"},bt.props);const FO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"diamond"},t),e);FO.props=Object.assign({defaultMarker:"diamond"},bt.props);const zO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"hexagon"},t),e);zO.props=Object.assign({defaultMarker:"hexagon"},bt.props);const GO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},t),e);GO.props=Object.assign({defaultMarker:"hyphen"},bt.props);const YO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"line"},t),e);YO.props=Object.assign({defaultMarker:"line"},bt.props);const WO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"plus"},t),e);WO.props=Object.assign({defaultMarker:"plus"},bt.props);const HO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"point"},t),e);HO.props=Object.assign({defaultMarker:"point"},bt.props);const VO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"square"},t),e);VO.props=Object.assign({defaultMarker:"square"},bt.props);const XO=(t,e)=>bt(Object.assign({colorAttribute:"stroke",symbol:"tick"},t),e);XO.props=Object.assign({defaultMarker:"tick"},bt.props);const UO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"triangle"},t),e);UO.props=Object.assign({defaultMarker:"triangle"},bt.props);const qO=(t,e)=>bt(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},t),e);qO.props=Object.assign({defaultMarker:"triangleDown"},bt.props);var my=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const u0=(t,e)=>{const{arrow:n=!0,arrowSize:r="40%"}=t,i=my(t,["arrow","arrowSize"]),{document:a}=e;return(o,s,c)=>{const{defaultColor:l}=c,u=my(c,["defaultColor"]),{color:f=l,transform:d}=s,[h,p]=o,v=jn();if(v.moveTo(...h),v.lineTo(...p),n){const[g,y]=H6(h,p,{arrowSize:r});v.moveTo(...p),v.lineTo(...g),v.moveTo(...p),v.lineTo(...y)}return st(a.createElement("path",{})).call(at,u).style("d",v.toString()).style("stroke",f).style("transform",d).call(at,i).node()}};u0.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function KO(t,e){e(t),t.children&&t.children.forEach(function(n){n&&KO(n,e)})}function Ks(t){Hu(t,!0)}function li(t){Hu(t,!1)}function Hu(t,e){var n=e?"visible":"hidden";KO(t,function(r){r.attr("visibility",n)})}var rI=function(t){rt(e,t);function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,q([],N(n),!1))||this;return i.addEventListener(ht.INSERTED,function(){li(i)}),i}return e}(Ce);function ZO(t){var e=t.appendChild(new rI({class:"offscreen"}));return li(e),e}function iI(t){for(var e=t;e;){if(e.className==="offscreen")return!0;e=e.parent}return!1}var f0=function(t){rt(e,t);function e(n){n===void 0&&(n={});var r=n.style,i=$t(n,["style"]);return t.call(this,z({style:z({text:"",fill:"black",fontFamily:"sans-serif",fontSize:16,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1,textAlign:"start",textBaseline:"middle"},r)},i))||this}return Object.defineProperty(e.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=ZO(this)),this._offscreen},enumerable:!1,configurable:!0}),e.prototype.disconnectedCallback=function(){var n;(n=this._offscreen)===null||n===void 0||n.destroy()},e}(ei);function za(t){return t*Math.PI/180}function QO(t){return Number((t*180/Math.PI).toPrecision(5))}var Qt=function(){function t(e,n,r,i){e===void 0&&(e=0),n===void 0&&(n=0),r===void 0&&(r=0),i===void 0&&(i=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=e,this.y=n,this.width=r,this.height=i}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(e,n){return e>=this.left&&e<=this.right&&n>=this.top&&n<=this.bottom},t}();function Rn(t,e){return Ve(t)?t.apply(void 0,q([],N(e),!1)):t}var $n=function(t,e){var n=function(i){return"".concat(e,"-").concat(i)},r=Object.fromEntries(Object.entries(t).map(function(i){var a=N(i,2),o=a[0],s=a[1],c=n(s);return[o,{name:c,class:".".concat(c),id:"#".concat(c),toString:function(){return c}}]}));return Object.assign(r,{prefix:n}),r},aI=5,JO=function(t,e,n,r){n===void 0&&(n=0),r===void 0&&(r=aI),Object.entries(e).forEach(function(i){var a=N(i,2),o=a[0],s=a[1],c=t;Object.prototype.hasOwnProperty.call(e,o)&&(s?Cr(s)?(Cr(t[o])||(c[o]={}),n<r?JO(t[o],s,n+1,r):c[o]=e[o]):Le(s)?(c[o]=[],c[o]=c[o].concat(s)):c[o]=s:c[o]=s)})},Nr=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)JO(t,e[r]);return t},tS=function(t){return t!==void 0&&t!=null&&!Number.isNaN(t)},Cc,oI=Ik(function(t,e){var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return Cc||(Cc=H.offscreenCanvasCreator.getOrCreateContext(void 0)),Cc.font=[a,o,i,"".concat(n,"px"),r].join(" "),Cc.measureText(t).width},function(t,e){return[t,Object.values(e||eS(t)).join()].join("")},4096),eS=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",r=t.style.fontStyle||"normal",i=t.style.fontVariant,a=t.style.fontSize;return a=typeof a=="object"?a.value:a,{fontSize:a,fontFamily:e,fontWeight:n,fontStyle:r,fontVariant:i}};function nS(t){return t.nodeName==="text"?t:t.nodeName==="g"&&t.children.length===1&&t.children[0].nodeName==="text"?t.children[0]:null}function rS(t,e){var n=nS(t);n&&n.attr(e)}function uh(t,e,n){n===void 0&&(n="..."),rS(t,{wordWrap:!0,wordWrapWidth:e,maxLines:1,textOverflow:n})}function sI(t,e,n,r){n===void 0&&(n=2),r===void 0&&(r="top"),rS(t,{wordWrap:!0,wordWrapWidth:e,maxLines:n,textBaseline:r})}function $l(t){var e=t.canvas,n=t.touches,r=t.offsetX,i=t.offsetY;if(e){var a=e.x,o=e.y;return[a,o]}if(n){var s=n[0],c=s.clientX,l=s.clientY;return[c,l]}return r&&i?[r,i]:[0,0]}function Yi(t){return typeof t=="function"?t():le(t)||de(t)?new f0({style:{text:String(t)}}):t}function cI(t,e){return t.reduce(function(n,r){return(n[r[e]]=n[r[e]]||[]).push(r),n},{})}function on(t,e,n,r,i){return r===void 0&&(r=!0),i===void 0&&(i=function(a){a.node().removeChildren()}),t?n(e):(r&&i(e),null)}function ke(t,e,n,r,i){return r===void 0&&(r=!0),i===void 0&&(i=!1),r&&t===e||i&&t===n?!0:t>e&&t<n}var lI=function(t,e){return function(n){return t*(1-n)+e*n}};function uI(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0;return function(i){var a=new Array(r),o=new Array(n),s=0;for(s=0;s<r;++s)a[s]=d0(t[s],e[s]);for(;s<n;++s)o[s]=e[s];for(s=0;s<r;++s)o[s]=a[s](i);return o}}function fI(t,e){t===void 0&&(t={}),e===void 0&&(e={});var n={},r={};return Object.entries(e).forEach(function(i){var a=N(i,2),o=a[0],s=a[1];o in t?n[o]=d0(t[o],s):r[o]=s}),function(i){return Object.entries(n).forEach(function(a){var o=N(a,2),s=o[0],c=o[1];return r[s]=c(i)}),r}}function d0(t,e){return typeof t=="number"&&typeof e=="number"?lI(t,e):Array.isArray(t)&&Array.isArray(e)?uI(t,e):typeof t=="object"&&typeof e=="object"?fI(t,e):function(n){return t}}function dI(t,e,n,r){if(!r)return t.attr("__keyframe_data__",n),null;var i=r.duration,a=i===void 0?0:i,o=d0(e,n),s=Math.ceil(+a/16),c=new Array(s).fill(0).map(function(l,u,f){return{__keyframe_data__:o(u/(f.length-1))}});return t.animate(c,z({fill:"both"},r))}function by(t){for(var e=1/0,n=1/0,r=-1/0,i=-1/0,a=0;a<t.length;a++){var o=t[a],s=o.x,c=o.y,l=o.width,u=o.height,f=N([s+l,c+u],2),d=f[0],h=f[1];s<e&&(e=s),c<n&&(n=c),d>r&&(r=d),h>i&&(i=h)}return new Qt(e,n,r-e,i-n)}var hI=function(t,e,n){var r=t.width,i=t.height,a=n.flexDirection,o=a===void 0?"row":a;n.flexWrap;var s=n.justifyContent,c=s===void 0?"flex-start":s;n.alignContent;var l=n.alignItems,u=l===void 0?"flex-start":l,f=o==="row",d=o==="row"||o==="column",h=f?d?[1,0]:[-1,0]:d?[0,1]:[0,-1],p=N([0,0],2),v=p[0],g=p[1],y=e.map(function(_){var M,E=_.width,P=_.height,T=N([v,g],2),A=T[0],k=T[1];return M=N([v+E*h[0],g+P*h[1]],2),v=M[0],g=M[1],new Qt(A,k,E,P)}),m=by(y),b={"flex-start":0,"flex-end":f?r-m.width:i-m.height,center:f?(r-m.width)/2:(i-m.height)/2},x=y.map(function(_){var M=_.x,E=_.y,P=Qt.fromRect(_);return P.x=f?M+b[c]:M,P.y=f?E:E+b[c],P});by(x);var w=function(_){var M=N(f?["height",i]:["width",r],2),E=M[0],P=M[1];switch(u){case"flex-start":return 0;case"flex-end":return P-_[E];case"center":return P/2-_[E]/2;default:return 0}},O=x.map(function(_){var M=_.x,E=_.y,P=Qt.fromRect(_);return P.x=f?M:M+w(P),P.y=f?E+w(P):E,P}),S=O.map(function(_){var M,E,P=Qt.fromRect(_);return P.x+=(M=t.x)!==null&&M!==void 0?M:0,P.y+=(E=t.y)!==null&&E!==void 0?E:0,P});return S},pI=function(t,e,n){return[]};const vI=function(t,e,n){if(e.length===0)return[];var r={flex:hI,grid:pI},i=n.display in r?r[n.display]:null;return(i==null?void 0:i.call(null,t,e,n))||[]};function Or(t,e){return[t[0]*e,t[1]*e]}function Ao(t,e){return[t[0]+e[0],t[1]+e[1]]}function Uf(t,e){return[t[0]-e[0],t[1]-e[1]]}function wi(t,e){return[Math.min(t[0],e[0]),Math.min(t[1],e[1])]}function Oi(t,e){return[Math.max(t[0],e[0]),Math.max(t[1],e[1])]}function gs(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function iS(t){if(t[0]===0&&t[1]===0)return[0,0];var e=Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2));return[t[0]/e,t[1]/e]}function gI(t,e){return e?[t[1],-t[0]]:[-t[1],t[0]]}function fh(t,e){return+t.toPrecision(e)}function xy(t,e){var n={},r=Array.isArray(e)?e:[e];for(var i in t)r.includes(i)||(n[i]=t[i]);return n}function yI(t,e,n,r){var i,a=[],o=!!r,s,c,l=[1/0,1/0],u=[-1/0,-1/0],f,d,h;if(o){i=N(r,2),l=i[0],u=i[1];for(var p=0,v=t.length;p<v;p+=1){var g=t[p];l=wi(l,g),u=Oi(u,g)}}for(var p=0,y=t.length;p<y;p+=1){var g=t[p];if(p===0&&!n)h=g;else if(p===y-1&&!n)d=g,a.push(h),a.push(d);else{var m=[p?p-1:y-1,p-1][n?0:1];s=t[m],c=t[n?(p+1)%y:p+1];var b=[0,0];b=Uf(c,s),b=Or(b,e);var x=gs(g,s),w=gs(g,c),O=x+w;O!==0&&(x/=O,w/=O);var S=Or(b,-x),_=Or(b,w);d=Ao(g,S),f=Ao(g,_),f=wi(f,Oi(c,g)),f=Oi(f,wi(c,g)),S=Uf(f,g),S=Or(S,-x/w),d=Ao(g,S),d=wi(d,Oi(s,g)),d=Oi(d,wi(s,g)),_=Uf(g,d),_=Or(_,w/x),f=Ao(g,_),o&&(d=Oi(d,l),d=wi(d,u),f=Oi(f,l),f=wi(f,u)),a.push(h),a.push(d),h=f}}return n&&a.push(a.shift()),a}function mI(t,e,n){var r;e===void 0&&(e=!1),n===void 0&&(n=[[0,0],[1,1]]);for(var i=!!e,a=[],o=0,s=t.length;o<s;o+=2)a.push([t[o],t[o+1]]);for(var c=yI(a,.4,i,n),l=a.length,u=[],f,d,h,o=0;o<l-1;o+=1)f=c[o*2],d=c[o*2+1],h=a[o+1],u.push(["C",f[0],f[1],d[0],d[1],h[0],h[1]]);return i&&(f=c[l],d=c[l+1],r=N(a,1),h=r[0],u.push(["C",f[0],f[1],d[0],d[1],h[0],h[1]])),u}var bI=["$el","anchor","cx","cy","d","defX","defY","dx","dy","fill","fillOpacity","filter","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","height","img","increasedLineWidthForHitTesting","innerHTML","isBillboard","billboardRotation","isSizeAttenuation","isClosed","isOverflowing","leading","letterSpacing","lineDash","lineHeight","lineWidth","markerEnd","markerEndOffset","markerMid","markerStart","markerStartOffset","maxLines","metrics","miterLimit","offsetX","offsetY","opacity","path","points","r","radius","rx","ry","shadowColor","src","stroke","strokeOpacity","text","textAlign","textBaseline","textDecorationColor","textDecorationLine","textDecorationStyle","textOverflow","textPath","textPathSide","textPathStartOffset","transform","transformOrigin","visibility","width","wordWrap","wordWrapWidth","x","x1","x2","y","y1","y2","z1","z2","zIndex"];function xI(t){return bI.includes(t)}function wy(t){var e={};for(var n in t)xI(n)&&(e[n]=t[n]);return e}function wI(t,e){if(t.length<=e)return t;for(var n=Math.floor(t.length/e),r=[],i=0;i<t.length;i+=n)r.push(t[i]);return r}function h0(t,e,n){n===void 0&&(n=!1);var r=t.getBBox(),i=r.width,a=r.height,o=e/Math.max(i,a);return n&&t.scale(o),o}function OI(t,e){var n=new Map;return t.forEach(function(r){var i=e(r);n.has(i)||n.set(i,[]),n.get(i).push(r)}),n}function SI(t){throw new Error(t)}var _I=function(){function t(i,a,o,s,c,l,u){i===void 0&&(i=null),a===void 0&&(a=null),o===void 0&&(o=null),s===void 0&&(s=null),c===void 0&&(c=[null,null,null,null,null]),l===void 0&&(l=[]),u===void 0&&(u=[]),e.add(this),this._elements=Array.from(i),this._data=a,this._parent=o,this._document=s,this._enter=c[0],this._update=c[1],this._exit=c[2],this._merge=c[3],this._split=c[4],this._transitions=l,this._facetElements=u}t.prototype.selectAll=function(i){var a=typeof i=="string"?this._parent.querySelectorAll(i):i;return new n(a,null,this._elements[0],this._document)},t.prototype.selectFacetAll=function(i){var a=typeof i=="string"?this._parent.querySelectorAll(i):i;return new n(this._elements,null,this._parent,this._document,void 0,void 0,a)},t.prototype.select=function(i){var a=typeof i=="string"?this._parent.querySelectorAll(i)[0]||null:i;return new n([a],null,a,this._document)},t.prototype.append=function(i){var a=this,o=typeof i=="function"?i:function(){return a.createElement(i)},s=[];if(this._data!==null){for(var c=0;c<this._data.length;c++){var l=this._data[c],u=N(Array.isArray(l)?l:[l,null],2),f=u[0],d=u[1],h=o(f,c);h.__data__=f,d!==null&&(h.__fromElements__=d),this._parent.appendChild(h),s.push(h)}return new n(s,null,this._parent,this._document)}for(var c=0;c<this._elements.length;c++){var p=this._elements[c],f=p.__data__,h=o(f,c);p.appendChild(h),s.push(h)}return new n(s,null,s[0],this._document)},t.prototype.maybeAppend=function(i,a){var o=Mf(this,e,"m",r).call(this,i[0]==="#"?i:"#".concat(i),a);return o.attr("id",i),o},t.prototype.maybeAppendByClassName=function(i,a){var o=i.toString(),s=Mf(this,e,"m",r).call(this,o[0]==="."?o:".".concat(o),a);return s.attr("className",o),s},t.prototype.maybeAppendByName=function(i,a){var o=Mf(this,e,"m",r).call(this,'[name="'.concat(i,'"]'),a);return o.attr("name",i),o},t.prototype.data=function(i,a,o){var s,c;a===void 0&&(a=function(E){return E}),o===void 0&&(o=function(){return null});for(var l=[],u=[],f=new Set(this._elements),d=[],h=new Set,p=new Map(this._elements.map(function(E,P){return[a(E.__data__,P),E]})),v=new Map(this._facetElements.map(function(E,P){return[a(E.__data__,P),E]})),g=OI(this._elements,function(E){return o(E.__data__)}),y=0;y<i.length;y++){var m=i[y],b=a(m,y),x=o(m,y);if(p.has(b)){var w=p.get(b);w.__data__=m,w.__facet__=!1,u.push(w),f.delete(w),p.delete(b)}else if(v.has(b)){var w=v.get(b);w.__data__=m,w.__facet__=!0,u.push(w),v.delete(b)}else if(g.has(b)){var O=g.get(b);d.push([m,O]);try{for(var S=(s=void 0,vn(O)),_=S.next();!_.done;_=S.next()){var w=_.value;f.delete(w)}}catch(E){s={error:E}}finally{try{_&&!_.done&&(c=S.return)&&c.call(S)}finally{if(s)throw s.error}}g.delete(b)}else if(p.has(x)){var w=p.get(x);w.__toData__?w.__toData__.push(m):w.__toData__=[m],h.add(w),f.delete(w)}else l.push(m)}var M=[new n([],l,this._parent,this._document),new n(u,null,this._parent,this._document),new n(f,null,this._parent,this._document),new n([],d,this._parent,this._document),new n(h,null,this._parent,this._document)];return new n(this._elements,null,this._parent,this._document,M)},t.prototype.merge=function(i){var a=q(q([],N(this._elements),!1),N(i._elements),!1),o=q(q([],N(this._transitions),!1),N(i._transitions),!1);return new n(a,null,this._parent,this._document,void 0,o)},t.prototype.createElement=function(i){if(this._document)return this._document.createElement(i,{});var a=n.registry[i];return a?new a:SI("Unknown node type: ".concat(i))},t.prototype.join=function(i,a,o,s,c){i===void 0&&(i=function(p){return p}),a===void 0&&(a=function(p){return p}),o===void 0&&(o=function(p){return p.remove()}),s===void 0&&(s=function(p){return p}),c===void 0&&(c=function(p){return p.remove()});var l=i(this._enter),u=a(this._update),f=o(this._exit),d=s(this._merge),h=c(this._split);return u.merge(l).merge(f).merge(d).merge(h)},t.prototype.remove=function(){for(var i=function(s){var c=a._elements[s],l=a._transitions[s];l?l.then(function(){return c.remove()}):c.remove()},a=this,o=0;o<this._elements.length;o++)i(o);return new n([],null,this._parent,this._document,void 0,this._transitions)},t.prototype.each=function(i){for(var a=0;a<this._elements.length;a++){var o=this._elements[a],s=o.__data__;i.call(o,s,a)}return this},t.prototype.attr=function(i,a){var o=typeof a!="function"?function(){return a}:a;return this.each(function(s,c){a!==void 0&&(this[i]=o.call(this,s,c))})},t.prototype.style=function(i,a,o){o===void 0&&(o=!0);var s=typeof a!="function"||!o?function(){return a}:a;return this.each(function(c,l){a!==void 0&&(this.style[i]=s.call(this,c,l))})},t.prototype.styles=function(i,a){return i===void 0&&(i={}),a===void 0&&(a=!0),this.each(function(o,s){var c=this;Object.entries(i).forEach(function(l){var u=N(l,2),f=u[0],d=u[1],h=typeof d!="function"||!a?function(){return d}:d;d!==void 0&&c.attr(f,h.call(c,o,s))})})},t.prototype.update=function(i,a){a===void 0&&(a=!0);var o=typeof i!="function"||!a?function(){return i}:i;return this.each(function(s,c){i&&this.update&&this.update(o.call(this,s,c))})},t.prototype.maybeUpdate=function(i,a){a===void 0&&(a=!0);var o=typeof i!="function"||!a?function(){return i}:i;return this.each(function(s,c){i&&this.update&&this.update(o.call(this,s,c))})},t.prototype.transition=function(i){var a=this._transitions;return this.each(function(o,s){a[s]=i.call(this,o,s)})},t.prototype.on=function(i,a){return this.each(function(){this.addEventListener(i,a)}),this},t.prototype.call=function(i){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];return i.call.apply(i,q([this._parent,this],N(a),!1)),this},t.prototype.node=function(){return this._elements[0]},t.prototype.nodes=function(){return this._elements},t.prototype.transitions=function(){return this._transitions.filter(function(i){return!!i})},t.prototype.parent=function(){return this._parent};var e,n,r;return n=t,e=new WeakSet,r=function(a,o){var s=this._elements[0],c=s.querySelector(a);if(c)return new n([c],null,this._parent,this._document);var l=typeof o=="string"?this.createElement(o):o();return s.appendChild(l),new n([l],null,this._parent,this._document)},t.registry={g:Ce,rect:Zi,circle:Xs,path:Xe,text:f0,ellipse:Kp,image:Zp,line:Us,polygon:Fu,polyline:Qp,html:Bu},t}();function dt(t){return new _I([t],null,t,t.ownerDocument)}function MI(t,e,n){return t.querySelector(e)?dt(t).select(e):dt(t).append(n)}function Te(t){if(de(t))return[t,t,t,t];if(Le(t)){var e=t.length;if(e===1)return[t[0],t[0],t[0],t[0]];if(e===2)return[t[0],t[1],t[0],t[1]];if(e===3)return[t[0],t[1],t[2],t[1]];if(e===4)return t}return[0,0,0,0]}function Oy(t){var e=t.getLocalBounds(),n=e.min,r=e.max,i=N([n,r],2),a=N(i[0],2),o=a[0],s=a[1],c=N(i[1],2),l=c[0],u=c[1];return{x:o,y:s,width:l-o,height:u-s,left:o,bottom:u,top:s,right:l}}function EI(t,e){var n=N(t,2),r=n[0],i=n[1],a=N(e,2),o=a[0],s=a[1];return r!==o&&i===s}function PI(t,e){var n,r,i=e.attributes;try{for(var a=vn(Object.entries(i)),o=a.next();!o.done;o=a.next()){var s=N(o.value,2),c=s[0],l=s[1];c!=="id"&&c!=="className"&&t.attr(c,l)}}catch(u){n={error:u}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function p0(t){return t.toString().charAt(0).toUpperCase()+t.toString().slice(1)}function AI(t){return t.toString().charAt(0).toLowerCase()+t.toString().slice(1)}function kI(t,e){return"".concat(e).concat(p0(t))}function Sy(t,e,n){var r;n===void 0&&(n=!0);var i=e||((r=t.match(/^([a-z][a-z0-9]+)/))===null||r===void 0?void 0:r[0])||"",a=t.replace(new RegExp("^(".concat(i,")")),"");return n?AI(a):a}function TI(t,e){Object.entries(e).forEach(function(n){var r=N(n,2),i=r[0],a=r[1];q([t],N(t.querySelectorAll(i)),!1).filter(function(o){return o.matches(i)}).forEach(function(o){if(o){var s=o;s.style.cssText+=Object.entries(a).reduce(function(c,l){return"".concat(c).concat(l.join(":"),";")},"")}})})}var Lc=function(t,e){if(!(t!=null&&t.startsWith(e)))return!1;var n=t[e.length];return n>="A"&&n<="Z"};function vt(t,e,n){n===void 0&&(n=!1);var r={};return Object.entries(t).forEach(function(i){var a=N(i,2),o=a[0],s=a[1];if(!(o==="className"||o==="class")){if(Lc(o,"show")&&Lc(Sy(o,"show"),e)!==n)o===kI(e,"show")?r[o]=s:r[o.replace(new RegExp(p0(e)),"")]=s;else if(!Lc(o,"show")&&Lc(o,e)!==n){var c=Sy(o,e);c==="filter"&&typeof s=="function"||(r[c]=s)}}}),r}function Jn(t,e){return Object.entries(t).reduce(function(n,r){var i=N(r,2),a=i[0],o=i[1];return a.startsWith("show")?n["show".concat(e).concat(a.slice(4))]=o:n["".concat(e).concat(p0(a))]=o,n},{})}function Rr(t,e){e===void 0&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],r={},i={};return Object.entries(t).forEach(function(a){var o=N(a,2),s=o[0],c=o[1];e.includes(s)||(n.indexOf(s)!==-1?i[s]=c:r[s]=c)}),[r,i]}function CI(t,e,n){var r=t.getBBox(),i=r.width,a=r.height,o=N([e,n].map(function(l,u){var f;return l.includes("%")?parseFloat(((f=l.match(/[+-]?([0-9]*[.])?[0-9]+/))===null||f===void 0?void 0:f[0])||"0")/100*(u===0?i:a):l}),2),s=o[0],c=o[1];return[s,c]}function Bl(t,e){if(e)try{var n=/translate\(([+-]*[\d]+[%]*),[ ]*([+-]*[\d]+[%]*)\)/g,r=e.replace(n,function(i,a,o){return"translate(".concat(CI(t,a,o),")")});t.attr("transform",r)}catch{}}function LI(t){var e;return((e=t[0])===null||e===void 0?void 0:e.map(function(n,r){return t.map(function(i){return i[r]})}))||[]}function NI(){Hu(this,this.attributes.visibility!=="hidden")}var Pe=function(t){rt(e,t);function e(n,r){r===void 0&&(r={});var i=t.call(this,Nr({},{style:r},n))||this;return i.initialized=!1,i._defaultOptions=r,i}return Object.defineProperty(e.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=ZO(this)),this._offscreen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultOptions",{get:function(){return this._defaultOptions},enumerable:!1,configurable:!0}),e.prototype.connectedCallback=function(){this.render(this.attributes,this),this.bindEvents(this.attributes,this),this.initialized=!0},e.prototype.disconnectedCallback=function(){var n;(n=this._offscreen)===null||n===void 0||n.destroy()},e.prototype.attributeChangedCallback=function(n){n==="visibility"&&NI.call(this)},e.prototype.update=function(n,r){var i;return this.attr(Nr({},this.attributes,n||{})),(i=this.render)===null||i===void 0?void 0:i.call(this,this.attributes,this,r)},e.prototype.clear=function(){this.removeChildren()},e.prototype.bindEvents=function(n,r){},e}(qp),aS=function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]]},RI=aS,II=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},jI=function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},DI=function(t,e,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},$I=function(t,e,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]},BI=function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},FI=function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},oS=function(t,e,n){return[["M",t,e+n],["L",t,e-n]]},zI=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},GI=function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},YI=function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},WI=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},sS=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},HI=sS,VI=function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},XI=function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},UI=function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},qI=function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]};function KI(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}var ZI=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e],["L",t-n,e+n],["Z"]]};function QI(t){var e="default";if(ki(t)&&t instanceof Image)e="image";else if(Ve(t))e="symbol";else if(le(t)){var n=new RegExp("data:(image|text)");t.match(n)?e="base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t)?e="url":e="symbol"}return e}function JI(t){var e=QI(t);return["base64","url","image"].includes(e)?"image":t&&e==="symbol"?"path":null}var Bt=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(n,r){var i=n.symbol,a=n.size,o=a===void 0?16:a,s=$t(n,["symbol","size"]),c=JI(i);on(!!c,dt(r),function(l){l.maybeAppendByClassName("marker",c).attr("className","marker ".concat(c,"-marker")).call(function(u){if(c==="image"){var f=o*2;u.styles({img:i,width:f,height:f,x:-o,y:-o})}else{var f=o/2,d=Ve(i)?i:e.getSymbol(i);u.styles(z({path:d==null?void 0:d(0,0,f)},s))}})})},e.MARKER_SYMBOL_MAP=new Map,e.registerSymbol=function(n,r){e.MARKER_SYMBOL_MAP.set(n,r)},e.getSymbol=function(n){return e.MARKER_SYMBOL_MAP.get(n)},e.getSymbols=function(){return Array.from(e.MARKER_SYMBOL_MAP.keys())},e}(Pe);Bt.registerSymbol("cross",zI);Bt.registerSymbol("hyphen",WI);Bt.registerSymbol("line",oS);Bt.registerSymbol("plus",YI);Bt.registerSymbol("tick",GI);Bt.registerSymbol("circle",aS);Bt.registerSymbol("point",RI);Bt.registerSymbol("bowtie",FI);Bt.registerSymbol("hexagon",BI);Bt.registerSymbol("square",II);Bt.registerSymbol("diamond",jI);Bt.registerSymbol("triangle",DI);Bt.registerSymbol("triangle-down",$I);Bt.registerSymbol("line",oS);Bt.registerSymbol("dot",sS);Bt.registerSymbol("dash",HI);Bt.registerSymbol("smooth",VI);Bt.registerSymbol("hv",XI);Bt.registerSymbol("vh",UI);Bt.registerSymbol("hvh",qI);Bt.registerSymbol("vhv",KI);var t8=function(t){rt(e,t);function e(n){var r=this,i=n.style,a=$t(n,["style"]);return r=t.call(this,X({},{type:"column"},z({style:i},a)))||this,r.columnsGroup=new Ce({name:"columns"}),r.appendChild(r.columnsGroup),r.render(),r}return e.prototype.render=function(){var n=this.attributes.columns;dt(this.columnsGroup).selectAll(".column").data(n.flat()).join(function(r){return r.append("rect").attr("className","column").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},e.prototype.update=function(n){this.attr(Nr({},this.attributes,n)),this.render()},e.prototype.clear=function(){this.removeChildren()},e}(ze),e8=function(t){rt(e,t);function e(n){var r=this,i=n.style,a=$t(n,["style"]);return r=t.call(this,X({},{type:"lines"},z({style:i},a)))||this,r.linesGroup=r.appendChild(new Ce),r.areasGroup=r.appendChild(new Ce),r.render(),r}return e.prototype.render=function(){var n=this.attributes,r=n.lines,i=n.areas;r&&this.renderLines(r),i&&this.renderAreas(i)},e.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},e.prototype.update=function(n){this.attr(Nr({},this.attributes,n)),this.render()},e.prototype.renderLines=function(n){dt(this.linesGroup).selectAll(".line").data(n).join(function(r){return r.append("path").attr("className","line").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},e.prototype.renderAreas=function(n){dt(this.linesGroup).selectAll(".area").data(n).join(function(r){return r.append("path").attr("className","area").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.style(i)})},function(r){return r.remove()})},e}(ze);function n8(t,e){var n,r=e.x,i=e.y,a=N(i.getOptions().range||[0,0],2),o=a[0],s=a[1];return s>o&&(n=N([o,s],2),s=n[0],o=n[1]),t.map(function(c){var l=c.map(function(u,f){return[r.map(f),ce(i.map(u),s,o)]});return l})}function ys(t,e){e===void 0&&(e=!1);var n=e?t.length-1:0,r=t.map(function(i,a){return q([a===n?"M":"L"],N(i),!1)});return e?r.reverse():r}function Fl(t,e){if(e===void 0&&(e=!1),t.length<=2)return ys(t);for(var n=[],r=t.length,i=0;i<r;i+=1){var a=e?t[r-i-1]:t[i];pl(a,n.slice(-2))||n.push.apply(n,q([],N(a),!1))}var o=mI(n,!1);return e?o.unshift(q(["M"],N(t[r-1]),!1)):o.unshift(q(["M"],N(t[0]),!1)),o}function v0(t,e,n){var r=Jo(t);return r.push(["L",e,n],["L",0,n],["Z"]),r}function r8(t,e,n,r){return t.map(function(i){return v0(e?Fl(i):ys(i),n,r)})}function i8(t,e,n){for(var r=[],i=t.length-1;i>=0;i-=1){var a=t[i],o=ys(a),s=void 0;if(i===0)s=v0(o,e,n);else{var c=t[i-1],l=ys(c,!0);l[0][0]="L",s=q(q(q([],N(o),!1),N(l),!1),[["Z"]],!1)}r.push(s)}return r}function a8(t,e,n){for(var r=[],i=t.length-1;i>=0;i-=1){var a=t[i],o=Fl(a),s=void 0;if(i===0)s=v0(o,e,n);else{var c=t[i-1],l=Fl(c,!0),u=a[0];l[0][0]="L",s=q(q(q([],N(o),!1),N(l),!1),[q(["M"],N(u),!1),["Z"]],!1)}r.push(s)}return r}function _y(t){return t.length===0?[0,0]:[hl(Lk(t,function(e){return hl(e)||0})),dl(Ck(t,function(e){return dl(e)||0}))]}function My(t){for(var e=Jo(t),n=e[0].length,r=N([Array(n).fill(0),Array(n).fill(0)],2),i=r[0],a=r[1],o=0;o<e.length;o+=1)for(var s=e[o],c=0;c<n;c+=1)s[c]>=0?(s[c]+=i[c],i[c]=s[c]):(s[c]+=a[c],a[c]=s[c]);return e}var o8=function(t){rt(e,t);function e(n){return t.call(this,n,{type:"line",width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return Object.defineProperty(e.prototype,"rawData",{get:function(){var n=this.attributes.data;if(!n||(n==null?void 0:n.length)===0)return[[]];var r=Jo(n);return de(r[0])?[r]:r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?My(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var n=this.scales.y,r=N(n.getOptions().domain||[0,0],2),i=r[0],a=r[1];return a<0?n.map(a):n.map(i<0?0:i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var n=this.attributes,r=n.width,i=n.height;return{width:r,height:i}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var n=this,r=this.attributes,i=r.type,a=r.isStack,o=r.smooth;if(i!=="line")throw new Error("linesStyle can only be used in line type");var s=vt(this.attributes,"area"),c=vt(this.attributes,"line"),l=this.containerShape.width,u=this.data;if(u[0].length===0)return{lines:[],areas:[]};var f=this.scales,d=f.x,h=f.y,p=n8(u,{type:"line",x:d,y:h}),v=[];if(s){var g=this.baseline;a?v=o?a8(p,l,g):i8(p,l,g):v=r8(p,o,l,g)}return{lines:p.map(function(y,m){return z({stroke:n.getColor(m),path:o?Fl(y):ys(y)},c)}),areas:v.map(function(y,m){return z({path:y,fill:n.getColor(m)},s)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var n=this,r=vt(this.attributes,"column"),i=this.attributes,a=i.isStack,o=i.type,s=i.scale;if(o!=="column")throw new Error("columnsStyle can only be used in column type");var c=this.containerShape.height,l=this.rawData;if(!l)return{columns:[]};a&&(l=My(l));var u=this.createScales(l),f=u.x,d=u.y,h=N(_y(l),2),p=h[0],v=h[1],g=new Yt({domain:[0,v-(p>0?0:p)],range:[0,c*s]}),y=f.getBandWidth(),m=this.rawData;return{columns:l.map(function(b,x){return b.map(function(w,O){var S=y/l.length,_=function(){return{x:f.map(O)+S*x,y:w>=0?d.map(w):d.map(0),width:S,height:g.map(Math.abs(w))}},M=function(){return{x:f.map(O),y:d.map(w),width:y,height:g.map(m[x][O])}};return z(z({fill:n.getColor(x)},r),a?M():_())})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(n,r){MI(r,".container","rect").attr("className","container").node();var i=n.type,a="spark".concat(i),o=i==="line"?this.linesStyle:this.columnsStyle;dt(r).selectAll(".spark").data([i]).join(function(s){return s.append(function(c){return c==="line"?new e8({className:a,style:o}):new t8({className:a,style:o})}).attr("className","spark ".concat(a))},function(s){return s.update(o)},function(s){return s.remove()})},e.prototype.getColor=function(n){var r=this.attributes.color;return Le(r)?r[n%r.length]:Ve(r)?r.call(null,n):r},e.prototype.createScales=function(n){var r,i,a=this.attributes,o=a.type,s=a.scale,c=a.range,l=c===void 0?[]:c,u=a.spacing,f=this.containerShape,d=f.width,h=f.height,p=N(_y(n),2),v=p[0],g=p[1],y=new Yt({domain:[(r=l[0])!==null&&r!==void 0?r:v,(i=l[1])!==null&&i!==void 0?i:g],range:[h,h*(1-s)]});return o==="line"?{type:o,x:new Yt({domain:[0,n[0].length-1],range:[0,d]}),y}:{type:o,x:new Ia({domain:n[0].map(function(m,b){return b}),range:[0,d],paddingInner:u,paddingOuter:u/2,align:.5}),y}},e.tag="sparkline",e}(Pe);function s8(t){return typeof t=="boolean"?!1:"enter"in t&&"update"in t&&"exit"in t}function Ey(t){if(!t)return{enter:!1,update:!1,exit:!1};var e=["enter","update","exit"],n=Object.fromEntries(Object.entries(t).filter(function(r){var i=N(r,1),a=i[0];return!e.includes(a)}));return Object.fromEntries(e.map(function(r){return s8(t)?t[r]===!1?[r,!1]:[r,z(z({},t[r]),n)]:[r,n]}))}function ro(t,e){t?t.finished.then(e):e()}function c8(t,e){t.length===0?e():Promise.all(t.map(function(n){return n==null?void 0:n.finished})).then(e)}function cS(t,e){"update"in t?t.update(e):t.attr(e)}function lS(t,e,n){if(e.length===0)return null;if(!n){var r=e.slice(-1)[0];return cS(t,{style:r}),null}return t.animate(e,n)}function l8(t,e){return!(t.nodeName!=="text"||e.nodeName!=="text"||t.attributes.text!==e.attributes.text)}function u8(t,e,n,r){if(r===void 0&&(r="destroy"),l8(t,e))return t.remove(),[null];var i=function(){r==="destroy"?t.destroy():r==="hide"&&li(t),e.isVisible()&&Ks(e)};if(!n)return i(),[null];var a=n.duration,o=a===void 0?0:a,s=n.delay,c=s===void 0?0:s,l=Math.ceil(+o/2),u=+o/4,f=function(P){if(P.nodeName==="circle"){var T=N(P.getLocalPosition(),2),A=T[0],k=T[1],C=P.attr("r");return[A-C,k-C]}return P.getLocalPosition()},d=N(f(t),2),h=d[0],p=d[1],v=N(f(e),2),g=v[0],y=v[1],m=N([(h+g)/2-h,(p+y)/2-p],2),b=m[0],x=m[1],w=t.style.opacity,O=w===void 0?1:w,S=e.style.opacity,_=S===void 0?1:S,M=t.animate([{opacity:O,transform:"translate(0, 0)"},{opacity:0,transform:"translate(".concat(b,", ").concat(x,")")}],z(z({fill:"both"},n),{duration:c+l+u})),E=e.animate([{opacity:0,transform:"translate(".concat(-b,", ").concat(-x,")"),offset:.01},{opacity:_,transform:"translate(0, 0)"}],z(z({fill:"both"},n),{duration:l+u,delay:c+l-u}));return ro(E,i),[M,E]}function Vn(t,e,n){var r={},i={};return Object.entries(e).forEach(function(a){var o=N(a,2),s=o[0],c=o[1];if(!nt(c)){var l=t.style[s]||t.parsedStyle[s]||0;l!==c&&(r[s]=l,i[s]=c)}}),n?lS(t,[r,i],z({fill:"both"},n)):(cS(t,i),null)}function Vu(t,e){return t.style.opacity||(t.style.opacity=1),Vn(t,{opacity:0},e)}var uS={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},fS={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},dS={orientation:"horizontal",showLabel:!0,type:"start"},Zn=$n({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider"),Yr=$n({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),f8=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(n,r){var i=n.size,a=i===void 0?10:i,o=n.radius,s=o===void 0?a/4:o,c=n.orientation,l=$t(n,["size","radius","orientation"]),u=a,f=u*2.4,d=dt(r).maybeAppendByClassName(Yr.iconRect,"rect").styles(z(z({},l),{width:u,height:f,radius:s,x:-u/2,y:-f/2})),h=1/3*u,p=2/3*u,v=1/4*f,g=3/4*f;d.maybeAppendByClassName("".concat(Yr.iconLine,"-1"),"line").styles(z({x1:h,x2:h,y1:v,y2:g},l)),d.maybeAppendByClassName("".concat(Yr.iconLine,"-2"),"line").styles(z({x1:p,x2:p,y1:v,y2:g},l)),d.node().setOrigin(u/2,f/2),c==="vertical"?r.setLocalEulerAngles(90):r.setLocalEulerAngles(0)},e}(Pe),hS=function(t){rt(e,t);function e(n){return t.call(this,n,dS)||this}return e.prototype.renderLabel=function(n){var r=this,i=this.attributes.showLabel,a=vt(this.attributes,"label"),o=a.transform,s=$t(a,["transform"]),c=N(Rr(s,[]),2),l=c[0],u=c[1],f=dt(n).maybeAppendByClassName(Yr.labelGroup,"g").styles(u),d=z(z({},fS),l),h=d.text,p=$t(d,["text"]);on(!!i,f,function(v){r.label=v.maybeAppendByClassName(Yr.label,"text").styles(z(z({},p),{transform:o,text:"".concat(h)})),r.label.on("mousedown",function(g){g.stopPropagation()}),r.label.on("touchstart",function(g){g.stopPropagation()})})},e.prototype.renderIcon=function(n){var r=this.attributes,i=r.orientation,a=r.type,o=z(z({orientation:i},uS),vt(this.attributes,"icon")),s=this.attributes.iconShape,c=s===void 0?function(){return new f8({style:o})}:s,l=dt(n).maybeAppendByClassName(Yr.iconGroup,"g");l.selectAll(Yr.icon.class).data([c]).join(function(u){return u.append(typeof c=="string"?c:function(){return c(a)}).attr("className",Yr.icon.name)},function(u){return u.update(o)},function(u){return u.remove()})},e.prototype.render=function(n,r){this.renderIcon(r),this.renderLabel(r)},e}(Pe),pS=function(t){rt(e,t);function e(n){var r=t.call(this,n,z(z(z({animate:{duration:100,fill:"both"},brushable:!0,formatter:function(i){return i.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},Jn(dS,"handle")),Jn(uS,"handleIcon")),Jn(fS,"handleLabel")))||this;return r.range=[0,1],r.onDragStart=function(i){return function(a){a.stopPropagation(),r.target=i,r.prevPos=r.getOrientVal($l(a));var o=r.availableSpace,s=o.x,c=o.y,l=r.getBBox(),u=l.x,f=l.y;r.selectionStartPos=r.getRatio(r.prevPos-r.getOrientVal([s,c])-r.getOrientVal([+u,+f])),r.selectionWidth=0,document.addEventListener("pointermove",r.onDragging),document.addEventListener("pointerup",r.onDragEnd)}},r.onDragging=function(i){var a=r.attributes,o=a.slidable,s=a.brushable,c=a.type;i.stopPropagation();var l=r.getOrientVal($l(i)),u=l-r.prevPos;if(u){var f=r.getRatio(u);switch(r.target){case"start":o&&r.setValuesOffset(f);break;case"end":o&&r.setValuesOffset(0,f);break;case"selection":o&&r.setValuesOffset(f,f);break;case"track":if(!s)return;r.selectionWidth+=f,c==="range"?r.innerSetValues([r.selectionStartPos,r.selectionStartPos+r.selectionWidth].sort(),!0):r.innerSetValues([0,r.selectionStartPos+r.selectionWidth],!0);break}r.prevPos=l}},r.onDragEnd=function(){document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointerup",r.onDragEnd),r.target="",r.updateHandlesPosition(!1)},r.onValueChange=function(i){var a=r.attributes,o=a.onChange,s=a.type,c=s==="range"?i:i[1],l=s==="range"?r.getValues():r.getValues()[1],u=new Dt("valuechange",{detail:{oldValue:c,value:l}});r.dispatchEvent(u),o==null||o(l)},r.selectionStartPos=0,r.selectionWidth=0,r.prevPos=0,r.target="",r}return Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(n){this.attributes.values=this.clampValues(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){var n=this.attributes.orientation;if(n!=="horizontal")return null;var r=vt(this.attributes,"sparkline");return z(z({zIndex:0},this.availableSpace),r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var n=this.attributes,r=n.trackLength,i=n.trackSize,a=N(this.getOrientVal([[r,i],[i,r]]),2),o=a[0],s=a[1];return{width:o,height:s}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var n=this.attributes.padding,r=N(Te(n),4),i=r[0],a=r[1],o=r[2],s=r[3],c=this.shape,l=c.width,u=c.height;return{x:s,y:i,width:l-(s+a),height:u-(i+o)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1),this.attributes.values=n;var i=r===!1?!1:this.attributes.animate;this.updateSelectionArea(i),this.updateHandlesPosition(i)},e.prototype.updateSelectionArea=function(n){var r=this.calcSelectionArea();this.foregroundGroup.selectAll(Zn.selection.class).each(function(i,a){Vn(this,r[a],n)})},e.prototype.updateHandlesPosition=function(n){this.attributes.showHandle&&(this.startHandle&&Vn(this.startHandle,this.getHandleStyle("start"),n),this.endHandle&&Vn(this.endHandle,this.getHandleStyle("end"),n))},e.prototype.innerSetValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1);var i=this.values,a=this.clampValues(n);this.attributes.values=a,this.setValues(a),r&&this.onValueChange(i)},e.prototype.renderTrack=function(n){var r=vt(this.attributes,"track");this.trackShape=dt(n).maybeAppendByClassName(Zn.track,"rect").styles(z(z({},this.shape),r))},e.prototype.renderBrushArea=function(n){var r=this.attributes.brushable;this.brushArea=dt(n).maybeAppendByClassName(Zn.brushArea,"rect").styles(z({fill:"transparent",cursor:r?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(n){var r=this,i=this.attributes.orientation,a=dt(n).maybeAppendByClassName(Zn.sparklineGroup,"g");on(i==="horizontal",a,function(o){var s=r.sparklineStyle;o.maybeAppendByClassName(Zn.sparkline,function(){return new o8({style:s})}).update(s)})},e.prototype.renderHandles=function(){var n=this,r,i=this.attributes,a=i.showHandle,o=i.type,s=o==="range"?["start","end"]:["end"],c=a?s:[],l=this;(r=this.foregroundGroup)===null||r===void 0||r.selectAll(Zn.handle.class).data(c.map(function(u){return{type:u}}),function(u){return u.type}).join(function(u){return u.append(function(f){var d=f.type;return new hS({style:n.getHandleStyle(d)})}).each(function(f){var d=f.type;this.attr("class","".concat(Zn.handle.name," ").concat(d,"-handle"));var h="".concat(d,"Handle");l[h]=this,this.addEventListener("pointerdown",l.onDragStart(d))})},function(u){return u.each(function(f){var d=f.type;this.update(l.getHandleStyle(d))})},function(u){return u.each(function(f){var d=f.type,h="".concat(d,"Handle");l[h]=void 0}).remove()})},e.prototype.renderSelection=function(n){var r=this.attributes,i=r.type,a=r.selectionType;this.foregroundGroup=dt(n).maybeAppendByClassName(Zn.foreground,"g");var o=vt(this.attributes,"selection"),s=function(l){return l.style("visibility",function(u){return u.show?"visible":"hidden"}).style("cursor",function(u){return a==="select"?"grab":a==="invert"?"crosshair":"default"}).styles(o)},c=this;this.foregroundGroup.selectAll(Zn.selection.class).data(i==="value"?[]:this.calcSelectionArea().map(function(l,u){return{style:z({},l),index:u,show:a==="select"?u===1:u!==1}}),function(l){return l.index}).join(function(l){return l.append("rect").attr("className",Zn.selection.name).call(s).each(function(u,f){var d=this;f===1?(c.selectionShape=dt(this),this.on("pointerdown",function(h){d.attr("cursor","grabbing"),c.onDragStart("selection")(h)}),c.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),c.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),c.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){d.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){d.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){d.attr("cursor","pointer")})):this.on("pointerdown",c.onDragStart("track"))})},function(l){return l.call(s)},function(l){return l.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(n,r){this.renderTrack(r),this.renderSparkline(r),this.renderBrushArea(r),this.renderSelection(r)},e.prototype.clampValues=function(n,r){var i;r===void 0&&(r=4);var a=N(this.range,2),o=a[0],s=a[1],c=N(this.getValues().map(function(g){return fh(g,r)}),2),l=c[0],u=c[1],f=Array.isArray(n)?n:[l,n??u],d=N((f||[l,u]).map(function(g){return fh(g,r)}),2),h=d[0],p=d[1];if(this.attributes.type==="value")return[0,ce(p,o,s)];h>p&&(i=N([p,h],2),h=i[0],p=i[1]);var v=p-h;return v>s-o?[o,s]:h<o?l===o&&u===p?[o,p]:[o,v+o]:p>s?u===s&&l===h?[h,s]:[s-v,s]:[h,p]},e.prototype.calcSelectionArea=function(n){var r=N(this.clampValues(n),2),i=r[0],a=r[1],o=this.availableSpace,s=o.x,c=o.y,l=o.width,u=o.height;return this.getOrientVal([[{y:c,height:u,x:s,width:i*l},{y:c,height:u,x:i*l+s,width:(a-i)*l},{y:c,height:u,x:a*l,width:(1-a)*l}],[{x:s,width:l,y:c,height:i*u},{x:s,width:l,y:i*u+c,height:(a-i)*u},{x:s,width:l,y:a*u,height:(1-a)*u}]])},e.prototype.calcHandlePosition=function(n){var r=this.attributes.handleIconOffset,i=this.availableSpace,a=i.x,o=i.y,s=i.width,c=i.height,l=N(this.clampValues(),2),u=l[0],f=l[1],d=n==="start"?-r:r,h=(n==="start"?u:f)*this.getOrientVal([s,c])+d;return{x:a+this.getOrientVal([h,s/2]),y:o+this.getOrientVal([c/2,h])}},e.prototype.inferTextStyle=function(n){var r=this.attributes.orientation;return r==="horizontal"?{}:n==="start"?{transform:"rotate(90)",textAlign:"start"}:n==="end"?{transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(n){var r,i=this.attributes,a=i.type,o=i.orientation,s=i.formatter,c=i.autoFitLabel,l=vt(this.attributes,"handle"),u=vt(l,"label"),f=l.spacing,d=this.getHandleSize(),h=this.clampValues(),p=n==="start"?h[0]:h[1],v=s(p),g=new f0({style:z(z(z({},u),this.inferTextStyle(n)),{text:v})}),y=g.getBBox(),m=y.width,b=y.height;if(g.destroy(),!c){if(a==="value")return{text:v,x:0,y:-b-f};var x=f+d+(o==="horizontal"?m/2:0);return r={text:v},r[o==="horizontal"?"x":"y"]=n==="start"?-x:x,r}var w=0,O=0,S=this.availableSpace,_=S.width,M=S.height,E=this.calcSelectionArea()[1],P=E.x,T=E.y,A=E.width,k=E.height,C=f+d;if(o==="horizontal"){var L=C+m/2;if(n==="start"){var I=P-C-m;w=I>0?-L:L}else{var R=_-P-A-C>m;w=R?L:-L}}else{var j=C,D=b+C;n==="start"?O=T-d>b?-D:j:O=M-(T+k)-d>b?D:-j}return{x:w,y:O,text:v}},e.prototype.getHandleLabelStyle=function(n){var r=vt(this.attributes,"handleLabel");return z(z(z({},r),this.calcHandleText(n)),this.inferTextStyle(n))},e.prototype.getHandleIconStyle=function(){var n=this.attributes.handleIconShape,r=vt(this.attributes,"handleIcon"),i=this.getOrientVal(["ew-resize","ns-resize"]),a=this.getHandleSize();return z({cursor:i,shape:n,size:a},r)},e.prototype.getHandleStyle=function(n){var r=this.attributes,i=r.showLabel,a=r.showLabelOnInteraction,o=r.orientation,s=this.calcHandlePosition(n),c=this.calcHandleText(n),l=i;return!i&&a&&(this.target?l=!0:l=!1),z(z(z(z({},Jn(this.getHandleIconStyle(),"icon")),Jn(z(z({},this.getHandleLabelStyle(n)),c),"label")),s),{orientation:o,showLabel:l,type:n,zIndex:3})},e.prototype.getHandleSize=function(){var n=this.attributes,r=n.handleIconSize,i=n.width,a=n.height;return r||Math.floor((this.getOrientVal([+a,+i])+4)/2.4)},e.prototype.getOrientVal=function(n){var r=N(n,2),i=r[0],a=r[1],o=this.attributes.orientation;return o==="horizontal"?i:a},e.prototype.setValuesOffset=function(n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=this.attributes.type,o=N(this.getValues(),2),s=o[0],c=o[1],l=a==="range"?n:0,u=[s+l,c+r].sort();i?this.setValues(u):this.innerSetValues(u,!0)},e.prototype.getRatio=function(n){var r=this.availableSpace,i=r.width,a=r.height;return n/this.getOrientVal([i,a])},e.prototype.dispatchCustomEvent=function(n,r,i){var a=this;n.on(r,function(o){o.stopPropagation(),a.dispatchEvent(new Dt(i,{detail:o}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var n=this.brushArea;this.dispatchCustomEvent(n,"click","trackClick"),this.dispatchCustomEvent(n,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(n,"pointerleave","trackMouseleave"),n.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(n){var r=this.attributes.scrollable;if(r){var i=n.deltaX,a=n.deltaY,o=a||i,s=this.getRatio(o);this.setValuesOffset(s,s,!0)}},e.tag="slider",e}(Pe),d8=function(t){rt(e,t);function e(n){var r=t.call(this,n,{isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return r.range=[0,1],r.onValueChange=function(i){var a=r.attributes.value;if(i!==a){var o={detail:{oldValue:i,value:a}};r.dispatchEvent(new Dt("scroll",o)),r.dispatchEvent(new Dt("valuechange",o))}},r.onTrackClick=function(i){var a=r.attributes.slidable;if(a){var o=N(r.getLocalPosition(),2),s=o[0],c=o[1],l=N(r.padding,4),u=l[0],f=l[3],d=r.getOrientVal([s+f,c+u]),h=r.getOrientVal($l(i)),p=(h-d)/r.trackLength;r.setValue(p,!0)}},r.onThumbMouseenter=function(i){r.dispatchEvent(new Dt("thumbMouseenter",{detail:i.detail}))},r.onTrackMouseenter=function(i){r.dispatchEvent(new Dt("trackMouseenter",{detail:i.detail}))},r.onThumbMouseleave=function(i){r.dispatchEvent(new Dt("thumbMouseleave",{detail:i.detail}))},r.onTrackMouseleave=function(i){r.dispatchEvent(new Dt("trackMouseleave",{detail:i.detail}))},r}return Object.defineProperty(e.prototype,"padding",{get:function(){var n=this.attributes.padding;return Te(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var n=this.attributes.value,r=N(this.range,2),i=r[0],a=r[1];return ce(n,i,a)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackLength",{get:function(){var n=this.attributes,r=n.viewportLength,i=n.trackLength,a=i===void 0?r:i;return a},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var n=this.attributes.trackSize,r=this.trackLength,i=N(this.padding,4),a=i[0],o=i[1],s=i[2],c=i[3],l=N(this.getOrientVal([[r,n],[n,r]]),2),u=l[0],f=l[1];return{x:c,y:a,width:+u-(c+o),height:+f-(a+s)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.trackSize;return r?i/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.thumbRadius;if(!r)return 0;var a=this.availableSpace,o=a.width,s=a.height;return i||this.getOrientVal([s,o])/2},enumerable:!1,configurable:!0}),e.prototype.getValues=function(n){n===void 0&&(n=this.value);var r=this.attributes,i=r.viewportLength,a=r.contentLength,o=i/a,s=N(this.range,2),c=s[0],l=s[1],u=n*(l-c-o);return[u,u+o]},e.prototype.getValue=function(){return this.value},e.prototype.renderSlider=function(n){var r=this.attributes,i=r.orientation,a=r.trackSize,o=r.padding,s=r.slidable,c=vt(this.attributes,"track"),l=vt(this.attributes,"thumb"),u=z(z({brushable:!1,orientation:i,padding:o,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:a,values:this.getValues()},Jn(c,"track")),Jn(l,"selection"));this.slider=dt(n).maybeAppendByClassName("scrollbar",function(){return new pS({style:u})}).update(u).node()},e.prototype.render=function(n,r){this.renderSlider(r)},e.prototype.setValue=function(n,r){r===void 0&&(r=!1);var i=this.attributes.value,a=N(this.range,2),o=a[0],s=a[1];this.slider.setValues(this.getValues(ce(n,o,s)),r),this.onValueChange(i)},e.prototype.bindEvents=function(){var n=this;this.slider.addEventListener("trackClick",function(r){r.stopPropagation(),n.onTrackClick(r.detail)}),this.onHover()},e.prototype.getOrientVal=function(n){var r=this.attributes.orientation;return r==="horizontal"?n[0]:n[1]},e.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},e.tag="scrollbar",e}(Pe),g0={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new Xe({style:{path:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],anchor:"0.5 0.5",fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};X({},g0,{style:{type:"arc"}});X({},g0,{style:{}});var Rt=$n({mainGroup:"main-group",gridGroup:"grid-group",grid:"grid",lineGroup:"line-group",line:"line",tickGroup:"tick-group",tick:"tick",tickItem:"tick-item",labelGroup:"label-group",label:"label",labelItem:"label-item",titleGroup:"title-group",title:"title",lineFirst:"line-first",lineSecond:"line-second"},"axis"),Ga=$n({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function vS(t){return t.reduce(function(e,n,r){return e.push(q([r===0?"M":"L"],N(n),!1)),e},[])}function h8(t,e,n){var r=e.connect,i=r===void 0?"line":r,a=e.center;if(i==="line")return vS(t);if(!a)return[];var o=gs(t[0],a),s=n?0:1;return t.reduce(function(c,l,u){return u===0?c.push(q(["M"],N(l),!1)):c.push(q(["A",o,o,0,0,s],N(l),!1)),c},[])}function dh(t,e,n){return e.type==="surround"?h8(t,e,n):vS(t)}function p8(t,e,n){var r=n.type,i=n.connect,a=n.center,o=n.closed,s=o?[["Z"]]:[],c=N([dh(t,n),dh(e.slice().reverse(),n,!0)],2),l=c[0],u=c[1],f=N([t[0],e.slice(-1)[0]],2),d=f[0],h=f[1],p=function(m,b){return[l,m,u,b,s].flat()};if(i==="line"||r==="surround")return p([q(["L"],N(h),!1)],[q(["L"],N(d),!1)]);if(!a)throw new Error("Arc grid need to specified center");var v=N([gs(h,a),gs(d,a)],2),g=v[0],y=v[1];return p([q(["A",g,g,0,0,1],N(h),!1),q(["L"],N(h),!1)],[q(["A",y,y,0,0,0],N(d),!1),q(["L"],N(d),!1)])}function v8(t,e,n,r){var i=n.animate,a=n.isBillboard,o=e.map(function(s,c){return{id:s.id||"grid-line-".concat(c),path:dh(s.points,n)}});return t.selectAll(Ga.line.class).data(o,function(s){return s.id}).join(function(s){return s.append("path").each(function(c,l){var u=Rn(wy(z({path:c.path},r)),[c,l,o]);this.attr(z({class:Ga.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:a},u))})},function(s){return s.transition(function(c,l){var u=Rn(wy(z({path:c.path},r)),[c,l,o]);return Vn(this,u,i.update)})},function(s){return s.transition(function(){var c=this,l=Vu(this,i.exit);return ro(l,function(){return c.remove()}),l})}).transitions()}function g8(t,e,n){var r=n.animate,i=n.connect,a=n.areaFill;if(e.length<2||!a||!i)return[];for(var o=Array.isArray(a)?a:[a,"transparent"],s=function(p){return o[p%o.length]},c=[],l=0;l<e.length-1;l++){var u=N([e[l].points,e[l+1].points],2),f=u[0],d=u[1],h=p8(f,d,n);c.push({path:h,fill:s(l)})}return t.selectAll(Ga.region.class).data(c,function(p,v){return v}).join(function(p){return p.append("path").each(function(v,g){var y=Rn(v,[v,g,c]);this.attr(y)}).attr("className",Ga.region.name)},function(p){return p.transition(function(v,g){var y=Rn(v,[v,g,c]);return Vn(this,y,r.update)})},function(p){return p.transition(function(){var v=this,g=Vu(this,r.exit);return ro(g,function(){return v.remove()}),g})}).transitions()}function y8(t){var e=t.data,n=e===void 0?[]:e,r=t.closed;return r?n.map(function(i){var a=i.points,o=N(a,1),s=o[0];return z(z({},i),{points:q(q([],N(a),!1),[s],!1)})}):n}var m8=function(t){rt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(n,r){n.type,n.center,n.areaFill,n.closed;var i=$t(n,["type","center","areaFill","closed"]),a=y8(n),o=dt(r).maybeAppendByClassName(Ga.lineGroup,"g"),s=dt(r).maybeAppendByClassName(Ga.regionGroup,"g"),c=v8(o,a,n,i),l=g8(s,a,n);return q(q([],N(c),!1),N(l),!1)},e}(Pe);function gS(t,e){return Object.fromEntries(Object.entries(t).map(function(n){var r=N(n,2),i=r[0],a=r[1];return[i,Rn(a,e)]}))}function y0(t,e){return e&&Ve(e)?t.filter(e):t}function yS(t,e){var n=e.startAngle,r=e.endAngle;return(r-n)*t+n}function Xu(t,e){if(e.type==="linear"){var n=N(e.startPos,2),r=n[0],i=n[1],a=N(e.endPos,2),o=a[0],s=a[1],c=N([o-r,s-i],2),l=c[0],u=c[1];return iS([l,u])}var f=za(yS(t,e));return[-Math.sin(f),Math.cos(f)]}function m0(t,e,n){var r=Xu(t,n);return gI(r,e!=="positive")}function Zs(t,e){return m0(t,e.labelDirection,e)}function b8(t,e){var n=N(e.startPos,2),r=n[0],i=n[1],a=N(e.endPos,2),o=a[0],s=a[1],c=N([o-r,s-i],2),l=c[0],u=c[1];return[r+l*t,i+u*t]}function x8(t,e){var n=e.radius,r=N(e.center,2),i=r[0],a=r[1],o=za(yS(t,e));return[i+n*Math.cos(o),a+n*Math.sin(o)]}function Uu(t,e){return e.type==="linear"?b8(t,e):x8(t,e)}function mS(t){return Xu(0,t)[1]===0}function bS(t){return Xu(0,t)[0]===0}function xS(t,e){return e-t===360}function Py(t,e,n,r,i){var a=e-t,o=N([i,i],2),s=o[0],c=o[1],l=N([za(t),za(e)],2),u=l[0],f=l[1],d=function(M){return[n+i*Math.cos(M),r+i*Math.sin(M)]},h=N(d(u),2),p=h[0],v=h[1],g=N(d(f),2),y=g[0],m=g[1];if(xS(t,e)){var b=(f+u)/2,x=N(d(b),2),w=x[0],O=x[1];return[["M",p,v],["A",s,c,0,1,0,w,O],["A",s,c,0,1,0,y,m]]}var S=a>180?1:0,_=t>e?0:1;return"M".concat(p,",").concat(v,",A").concat(s,",").concat(c,",0,").concat(S,",").concat(_,",").concat(y,",").concat(m)}function w8(t){var e=t.attributes,n=e.startAngle,r=e.endAngle,i=e.center,a=e.radius;return q(q([n,r],N(i),!1),[a],!1)}function O8(t,e,n,r){var i=e.startAngle,a=e.endAngle,o=e.center,s=e.radius;return t.selectAll(Rt.line.class).data([{path:Py.apply(void 0,q(q([i,a],N(o),!1),[s],!1))}],function(c,l){return l}).join(function(c){return c.append("path").attr("className",Rt.line.name).styles(e).styles({path:function(l){return l.path}})},function(c){return c.transition(function(){var l=this,u=dI(this,w8(this),q(q([i,a],N(o),!1),[s],!1),r.update);if(u){var f=function(){var d=je(l.attributes,"__keyframe_data__");l.style.path=Py.apply(void 0,q([],N(d),!1))};u.onframe=f,u.onfinish=f}return u}).styles(e)},function(c){return c.remove()}).styles(n).transitions()}function S8(t,e){e.truncRange,e.truncShape,e.lineExtension}function _8(t,e,n){n===void 0&&(n=[0,0]);var r=N([t,e,n],3),i=N(r[0],2),a=i[0],o=i[1],s=N(r[1],2),c=s[0],l=s[1],u=N(r[2],2),f=u[0],d=u[1],h=N([c-a,l-o],2),p=h[0],v=h[1],g=Math.sqrt(Math.pow(p,2)+Math.pow(v,2)),y=N([-f/g,d/g],2),m=y[0],b=y[1];return[m*p,m*v,b*p,b*v]}function Ay(t){var e=N(t,2),n=N(e[0],2),r=n[0],i=n[1],a=N(e[1],2),o=a[0],s=a[1];return{x1:r,y1:i,x2:o,y2:s}}function M8(t,e,n,r){var i=e.showTrunc,a=e.startPos,o=e.endPos,s=e.truncRange,c=e.lineExtension,l=N([a,o],2),u=N(l[0],2),f=u[0],d=u[1],h=N(l[1],2),p=h[0],v=h[1],g=N(c?_8(a,o,c):new Array(4).fill(0),4),y=g[0],m=g[1],b=g[2],x=g[3],w=function(R){return t.selectAll(Rt.line.class).data(R,function(j,D){return D}).join(function(j){return j.append("line").attr("className",function(D){return"".concat(Rt.line.name," ").concat(D.className)}).styles(n).transition(function(D){return Vn(this,Ay(D.line),!1)})},function(j){return j.styles(n).transition(function(D){var $=D.line;return Vn(this,Ay($),r.update)})},function(j){return j.remove()}).transitions()};if(!i||!s)return w([{line:[[f+y,d+m],[p+b,v+x]],className:Rt.line.name}]);var O=N(s,2),S=O[0],_=O[1],M=p-f,E=v-d,P=N([f+M*S,d+E*S],2),T=P[0],A=P[1],k=N([f+M*_,d+E*_],2),C=k[0],L=k[1],I=w([{line:[[f+y,d+m],[T,A]],className:Rt.lineFirst.name},{line:[[C,L],[p+b,v+x]],className:Rt.lineSecond.name}]);return S8(t,e),I}function E8(t,e,n,r){var i=n.showArrow,a=n.showTrunc,o=n.lineArrow,s=n.lineArrowOffset,c=n.lineArrowSize,l;if(e==="arc"?l=t.select(Rt.line.class):a?l=t.select(Rt.lineSecond.class):l=t.select(Rt.line.class),!i||!o||n.type==="arc"&&xS(n.startAngle,n.endAngle)){var u=l.node();u&&(u.style.markerEnd=void 0);return}var f=Yi(o);f.attr(r),h0(f,c,!0),l.style("markerEnd",f).style("markerEndOffset",-s)}function P8(t,e,n){var r=e.type,i,a=vt(e,"line");return r==="linear"?i=M8(t,e,xy(a,"arrow"),n):i=O8(t,e,xy(a,"arrow"),n),E8(t,r,e,a),i}function A8(t,e){return m0(t,e.gridDirection,e)}function wS(t){var e=t.type,n=t.gridCenter;return e==="linear"?n:n||t.center}function k8(t,e){var n=e.gridLength;return t.map(function(r,i){var a=r.value,o=N(Uu(a,e),2),s=o[0],c=o[1],l=N(Or(A8(a,e),n),2),u=l[0],f=l[1];return{id:i,points:[[s,c],[s+u,c+f]]}})}function T8(t,e){var n=e.gridControlAngles,r=wS(e);if(!r)throw new Error("grid center is not provide");if(t.length<2)throw new Error("Invalid grid data");if(!n||n.length===0)throw new Error("Invalid gridControlAngles");var i=N(r,2),a=i[0],o=i[1];return t.map(function(s,c){var l=s.value,u=N(Uu(l,e),2),f=u[0],d=u[1],h=N([f-a,d-o],2),p=h[0],v=h[1],g=[];return n.forEach(function(y){var m=za(y),b=N([Math.cos(m),Math.sin(m)],2),x=b[0],w=b[1],O=p*x-v*w+a,S=p*w+v*x+o;g.push([O,S])}),{points:g,id:c}})}function C8(t,e,n,r){var i=vt(n,"grid"),a=i.type,o=i.areaFill,s=wS(n),c=y0(e,n.gridFilter),l=a==="segment"?k8(c,n):T8(c,n),u=z(z({},i),{center:s,areaFill:Ve(o)?c.map(function(f,d){return Rn(o,[f,d,c])}):o,animate:r,data:l});return t.selectAll(Rt.grid.class).data([1]).join(function(f){return f.append(function(){return new m8({style:u})}).attr("className",Rt.grid.name)},function(f){return f.transition(function(){return this.update(u)})},function(f){return f.remove()}).transitions()}var hh=function(){function t(e,n,r,i){this.set(e,n,r,i)}return Object.defineProperty(t.prototype,"left",{get:function(){return this.x1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.defined("x2")&&this.defined("x1")?this.x2-this.x1:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.defined("y2")&&this.defined("y1")?this.y2-this.y1:void 0},enumerable:!1,configurable:!0}),t.prototype.rotatedPoints=function(e,n,r){var i=this,a=i.x1,o=i.y1,s=i.x2,c=i.y2,l=Math.cos(e),u=Math.sin(e),f=n-n*l+r*u,d=r-n*u-r*l,h=[[l*a-u*c+f,u*a+l*c+d],[l*s-u*c+f,u*s+l*c+d],[l*a-u*o+f,u*a+l*o+d],[l*s-u*o+f,u*s+l*o+d]];return h},t.prototype.set=function(e,n,r,i){return r<e?(this.x2=e,this.x1=r):(this.x1=e,this.x2=r),i<n?(this.y2=n,this.y1=i):(this.y1=n,this.y2=i),this},t.prototype.defined=function(e){return this[e]!==Number.MAX_VALUE&&this[e]!==-Number.MAX_VALUE},t}();function ph(t,e){var n=t.getEulerAngles()||0;t.setEulerAngles(0);var r=t.getLocalBounds(),i=N(r.min,2),a=i[0],o=i[1],s=N(r.max,2),c=s[0],l=s[1],u=b0(t),f=u.width,d=u.height,h=d,p=0,v=0,g=a,y=o,m=nS(t);if(m){h-=1.5;var b=m.style.textAlign,x=m.style.textBaseline;b==="center"?g=(a+c)/2:(b==="right"||b==="end")&&(g=c),x==="middle"?y=(o+l)/2:x==="bottom"&&(y=l)}var w=N(Te(e),4),O=w[0],S=O===void 0?0:O,_=w[1],M=_===void 0?0:_,E=w[2],P=E===void 0?S:E,T=w[3],A=T===void 0?M:T,k=new hh((p+=a)-A,(v+=o)-S,p+f+M,v+h+P);return t.setEulerAngles(n),k.rotatedPoints(za(n),g,y)}function b0(t){return t.__bbox__?t.__bbox__:t.getBBox()}function ko(t,e){return e[0]<=Math.max(t[0][0],t[1][0])&&e[0]<=Math.min(t[0][0],t[1][0])&&e[1]<=Math.max(t[0][1],t[1][1])&&e[1]<=Math.min(t[0][1],t[1][1])}function To(t,e,n){var r=(e[1]-t[1])*(n[0]-e[0])-(e[0]-t[0])*(n[1]-e[1]);return r===0?0:r<0?2:1}function L8(t,e){var n=To(t[0],t[1],e[0]),r=To(t[0],t[1],e[1]),i=To(e[0],e[1],t[0]),a=To(e[0],e[1],t[1]);return!!(n!==r&&i!==a||n===0&&ko(t,e[0])||r===0&&ko(t,e[1])||i===0&&ko(e,t[0])||a===0&&ko(e,t[1]))}function N8(t,e){var n=t.length;if(n<3)return!1;var r=[e,[9999,e[1]]],i=0,a=0;do{var o=[t[a],t[(a+1)%n]];if(L8(o,r)){if(To(o[0],e,o[1])===0)return ko(o,e);i++}a=(a+1)%n}while(a!==0);return!!(i&1)}function R8(t,e){return e.every(function(n){return N8(t,n)})}function I8(t,e,n){var r=t.x1,i=t.x2,a=t.y1,o=t.y2,s=[[r,a],[i,a],[i,o],[r,o]],c=ph(e,n);return R8(s,c)}function j8(t,e){var n=N(t,4),r=n[0],i=n[1],a=n[2],o=n[3],s=N(e,4),c=s[0],l=s[1],u=s[2],f=s[3],d=a-r,h=o-i,p=u-c,v=f-l,g=d*v-p*h;if(g===0)return!1;var y=g>0,m=r-c,b=i-l,x=d*b-h*m;if(x<0===y)return!1;var w=p*b-v*m;return!(w<0===y||x>g===y||w>g===y)}function D8(t,e){var n=[[t[0],t[1],t[2],t[3]],[t[2],t[3],t[4],t[5]],[t[4],t[5],t[6],t[7]],[t[6],t[7],t[0],t[1]]];return n.some(function(r){return j8(e,r)})}function $8(t,e,n){var r,i,a=ph(t,n).flat(1),o=ph(e,n).flat(1),s=[[a[0],a[1],a[2],a[3]],[a[0],a[1],a[4],a[5]],[a[4],a[5],a[6],a[7]],[a[2],a[3],a[6],a[7]]];try{for(var c=vn(s),l=c.next();!l.done;l=c.next()){var u=l.value;if(D8(o,u))return!0}}catch(f){r={error:f}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return!1}function B8(t,e){var n=t.type,r=t.labelDirection,i=t.crossSize;if(!i)return!1;if(n==="arc"){var a=t.center,o=t.radius,s=N(a,2),c=s[0],l=s[1],u=r==="negative"?0:i,f=-o-u,d=o+u,h=N(Te(e),4),p=h[0],v=h[1],g=h[2],y=h[3];return new hh(c+f-y,l+f-p,c+d+v,l+d+g)}var m=N(t.startPos,2),b=m[0],x=m[1],w=N(t.endPos,2),O=w[0],S=w[1],_=N(bS(t)?[-e,0,e,0]:[0,e,0,-e],4),M=_[0],E=_[1],P=_[2],T=_[3],A=Zs(0,t),k=Or(A,i),C=new hh(b,x,O,S);return C.x1+=T,C.y1+=M,C.x2+=E+k[0],C.y2+=P+k[1],C}function qu(t,e,n){var r,i,a=e.crossPadding,o=new Set,s=null,c=B8(e,a),l=function(p){return c?I8(c,p):!0},u=function(p,v){return p?!$8(p,v,Te(n)):!0};try{for(var f=vn(t),d=f.next();!d.done;d=f.next()){var h=d.value;l(h)?!s||u(s,h)?s=h:(o.add(s),o.add(h)):o.add(h)}}catch(p){r={error:p}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}return Array.from(o)}function qf(t,e){return e===void 0&&(e={}),nt(t)?0:typeof t=="number"?t:Math.floor(oI(t,e))}function F8(t,e,n,r){if(!(t.length<=1)){var i=e.suffix,a=i===void 0?"...":i,o=e.minLength,s=e.maxLength,c=s===void 0?1/0:s,l=e.step,u=l===void 0?" ":l,f=e.margin,d=f===void 0?[0,0,0,0]:f,h=eS(r.getTextShape(t[0])),p=qf(u,h),v=o?qf(o,h):p,g=qf(c,h);(nt(g)||g===1/0)&&(g=Math.max.apply(null,t.map(function(O){return b0(O).width})));var y=t.slice(),m=N(d,4);m[0],m[1],m[2],m[3];for(var b=function(O){if(y.forEach(function(S){r.ellipsis(r.getTextShape(S),O,a)}),y=qu(t,n,d),y.length<1)return{value:void 0}},x=g;x>v+p;x-=p){var w=b(x);if(typeof w=="object")return w.value}}}var z8={parity:function(t,e){var n=e.seq,r=n===void 0?2:n;return t.filter(function(i,a){return a%r?(li(i),!1):!0})}},G8=function(t){return t.filter(tS)};function Y8(t,e,n,r){var i=t.length,a=e.keepHeader,o=e.keepTail;if(!(i<=1||i===2&&a&&o)){var s=z8.parity,c=function(b){return b.forEach(r.show),b},l=2,u=t.slice(),f=t.slice(),d=Math.min.apply(Math,q([1],N(t.map(function(b){return b0(b).width})),!1));if(n.type==="linear"&&(mS(n)||bS(n))){var h=Oy(t[0]).left,p=Oy(t[i-1]).right,v=Math.abs(p-h)||1;l=Math.max(Math.floor(i*d/v),l)}var g,y;for(a&&(g=u.splice(0,1)[0]),o&&(y=u.splice(-1,1)[0],u.reverse()),c(u);l<t.length&&qu(G8(y?q(q([y],N(f),!1),[g],!1):q([g],N(f),!1)),n,e==null?void 0:e.margin).length;){if(y&&!g&&l%2===0){var m=u.splice(0,1);m.forEach(r.hide)}else if(y&&g){var m=u.splice(0,1);m.forEach(r.hide)}f=s(c(u),{seq:l}),l++}}}function W8(t,e,n,r){var i,a,o=e.optionalAngles,s=o===void 0?[0,45,90]:o,c=e.margin,l=e.recoverWhenFailed,u=l===void 0?!0:l,f=t.map(function(y){return y.getLocalEulerAngles()}),d=function(){return qu(t,n,c).length<1},h=function(y){return t.forEach(function(m,b){var x=Array.isArray(y)?y[b]:y;r.rotate(m,+x)})};try{for(var p=vn(s),v=p.next();!v.done;v=p.next()){var g=v.value;if(h(g),d())return}}catch(y){i={error:y}}finally{try{v&&!v.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}u&&h(f)}function H8(t){var e=t.type,n=t.labelDirection;return e==="linear"&&mS(t)?n==="negative"?"bottom":"top":"middle"}function V8(t,e,n,r){var i=e.wordWrapWidth,a=i===void 0?50:i,o=e.maxLines,s=o===void 0?3:o,c=e.recoverWhenFailed,l=c===void 0?!0:c,u=e.margin,f=u===void 0?[0,0,0,0]:u,d=t.map(function(m){return m.attr("maxLines")||1}),h=Math.min.apply(Math,q([],N(d),!1)),p=function(){return qu(t,n,f).length<1},v=H8(n),g=function(m){return t.forEach(function(b,x){var w=Array.isArray(m)?m[x]:m;r.wrap(b,a,w,v)})};if(!(h>s)){for(var y=h;y<=s;y++)if(g(y),p())return;l&&g(d)}}var X8=new Map([["hide",Y8],["rotate",W8],["ellipsis",F8],["wrap",V8]]);function U8(t,e,n){return e.labelOverlap.length<1?!1:n==="hide"?!iI(t[0]):n==="rotate"?!t.some(function(r){var i;return!!(!((i=r.attr("transform"))===null||i===void 0)&&i.includes("rotate"))}):n==="ellipsis"||n==="wrap"?t.filter(function(r){return r.querySelector("text")}).length>1:!0}function q8(t,e,n){var r=e.labelOverlap,i=r===void 0?[]:r;i.length&&i.forEach(function(a){var o=a.type,s=X8.get(o);U8(t,e,o)&&(s==null||s(t,a,e,n))})}function K8(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=function(r){return r==="positive"?-1:1};return t.reduce(function(r,i){return r*n(i)},1)}function ky(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function vh(t,e){var n=N(t,2),r=n[0],i=n[1],a=N(e,2),o=a[0],s=a[1],c=N([r*o+i*s,r*s-i*o],2),l=c[0],u=c[1];return Math.atan2(u,l)}function Z8(t){var e=(t+360)%180;return ke(e,-90,90)||(e+=180),e}function Q8(t,e,n){var r,i=n.labelAlign,a=(r=e.style.transform)===null||r===void 0?void 0:r.includes("rotate");if(a)return e.getLocalEulerAngles();var o=0,s=Zs(t.value,n),c=Xu(t.value,n);return i==="horizontal"?0:(i==="perpendicular"?o=vh([1,0],s):o=vh([c[0]<0?-1:1,0],c),Z8(QO(o)))}function OS(t,e,n){var r=n.type,i=n.labelAlign,a=Zs(t,n),o=ky(e),s=ky(QO(vh([1,0],a))),c="center",l="middle";return r==="linear"?[90,270].includes(s)&&o===0?(c="center",l=a[1]===1?"top":"bottom"):!(s%180)&&[90,270].includes(o)?c="center":s===0?(ke(o,0,90,!1,!0)||ke(o,0,90)||ke(o,270,360))&&(c="start"):s===90?ke(o,0,90,!1,!0)?c="start":(ke(o,90,180)||ke(o,270,360))&&(c="end"):s===270?ke(o,0,90,!1,!0)?c="end":(ke(o,90,180)||ke(o,270,360))&&(c="start"):s===180&&(o===90?c="start":(ke(o,0,90)||ke(o,270,360))&&(c="end")):i==="parallel"?ke(s,0,180,!0)?l="top":l="bottom":i==="horizontal"?ke(s,90,270,!1)?c="end":(ke(s,270,360,!1)||ke(s,0,90))&&(c="start"):i==="perpendicular"&&(ke(s,90,270)?c="end":c="start"),{textAlign:c,textBaseline:l}}function J8(t,e,n){e.setLocalEulerAngles(t);var r=e.__data__.value,i=OS(r,t,n),a=e.querySelector(Rt.labelItem.class);a&&SS(a,i)}function Ty(t,e,n){var r=n.showTick,i=n.tickLength,a=n.tickDirection,o=n.labelDirection,s=n.labelSpacing,c=e.indexOf(t),l=Rn(s,[t,c,e]),u=N([Zs(t.value,n),K8(o,a)],2),f=u[0],d=u[1],h=d===1?Rn(r?i:0,[t,c,e]):0,p=N(Ao(Or(f,l+h),Uu(t.value,n)),2),v=p[0],g=p[1];return{x:v,y:g}}function tj(t,e,n,r){var i=r.labelFormatter,a=Ve(i)?function(){return Yi(Rn(i,[t,e,n,Zs(t.value,r)]))}:function(){return Yi(t.label||"")};return a}function SS(t,e){t.nodeName==="text"&&t.attr(e)}function Cy(t){q8(this.node().childNodes,t,{hide:li,show:Ks,rotate:function(e,n){J8(+n,e,t)},ellipsis:function(e,n,r){e&&uh(e,n||1/0,r)},wrap:function(e,n,r){e&&sI(e,n,r)},getTextShape:function(e){return e.querySelector("text")}})}function Ly(t,e,n,r,i){var a=n.indexOf(e),o=dt(t).append(tj(e,a,n,i)).attr("className",Rt.labelItem.name).node(),s=N(Rr(gS(r,[e,a,n])),2),c=s[0],l=s[1],u=l.transform,f=$t(l,["transform"]);Bl(t,u);var d=Q8(e,t,i);return t.setLocalEulerAngles(+d),SS(o,z(z({},OS(e.value,d,i)),c)),Bl(t,u),t.attr(f),o}function ej(t,e,n,r){var i=y0(e,n.labelFilter),a=vt(n,"label");return t.selectAll(Rt.label.class).data(i,function(o,s){return s}).join(function(o){return o.append("g").attr("className",Rt.label.name).transition(function(s){return Ly(this,s,e,a,n),this.attr(Ty(s,e,n)),this.__bbox__=s.bbox,null}).call(function(){return Cy.call(t,n)})},function(o){return o.transition(function(s){var c=this.querySelector(Rt.labelItem.class),l=Ly(this,s,e,a,n),u=u8(c,l,r.update),f=Vn(this,Ty(s,e,n),r.update);return this.__bbox__=s.bbox,q(q([],N(u),!1),[f],!1)}).call(function(s){var c=je(s,"_transitions").flat().filter(tS);c8(c,function(){return Cy.call(t,n)})})},function(o){return o.transition(function(){var s=this,c=Vu(this.childNodes[0],r.exit);return ro(c,function(){return dt(s).remove()}),c})}).transitions()}function _S(t,e){return m0(t,e.tickDirection,e)}function nj(t,e){var n=N(t,2),r=n[0],i=n[1];return[[0,0],[r*e,i*e]]}function rj(t,e,n,r,i){var a=i.tickLength,o=N(nj(r,Rn(a,[t,e,n])),2),s=N(o[0],2),c=s[0],l=s[1],u=N(o[1],2),f=u[0],d=u[1];return{x1:c,x2:f,y1:l,y2:d}}function ij(t,e,n,r,i){var a=i.tickFormatter,o=_S(e.value,i),s="line";return Ve(a)&&(s=function(){return Rn(a,[e,n,r,o])}),t.append(s).attr("className",Rt.tickItem.name)}function aj(t,e,n,r,i,a,o){var s=_S(t.value,a),c=rj(t,e,n,s,a),l=c.x1,u=c.x2,f=c.y1,d=c.y2,h=N(Rr(gS(o,[t,e,n,s])),2),p=h[0],v=h[1];r.node().nodeName==="line"&&r.styles(z({x1:l,x2:u,y1:f,y2:d},p)),i.attr(v),r.styles(p)}function Ny(t,e,n,r,i,a){var o=ij(dt(this),t,e,n,r);aj(t,e,n,o,this,r,i);var s=N(Uu(t.value,r),2),c=s[0],l=s[1];return Vn(this,{x:c,y:l},a)}function oj(t,e,n,r){var i=y0(e,n.tickFilter),a=vt(n,"tick");return t.selectAll(Rt.tick.class).data(i,function(o){return o.id||o.label}).join(function(o){return o.append("g").attr("className",Rt.tick.name).transition(function(s,c){return Ny.call(this,s,c,i,n,a,!1)})},function(o){return o.transition(function(s,c){return this.removeChildren(),Ny.call(this,s,c,i,n,a,r.update)})},function(o){return o.transition(function(){var s=this,c=Vu(this.childNodes[0],r.exit);return ro(c,function(){return s.remove()}),c})}).transitions()}var Ry=$n({text:"text"},"title");function Ku(t){return/\S+-\S+/g.test(t)?t.split("-").map(function(e){return e[0]}):t.length>2?[t[0]]:t.split("")}function sj(t,e){var n=t.attributes,r=n.position,i=n.spacing,a=n.inset,o=n.text,s=t.getBBox(),c=e.getBBox(),l=Ku(r),u=N(Te(o?i:0),4),f=u[0],d=u[1],h=u[2],p=u[3],v=N(Te(a),4),g=v[0],y=v[1],m=v[2],b=v[3],x=N([p+d,f+h],2),w=x[0],O=x[1],S=N([b+y,g+m],2),_=S[0],M=S[1];if(l[0]==="l")return new Qt(s.x,s.y,c.width+s.width+w+_,Math.max(c.height+M,s.height));if(l[0]==="t")return new Qt(s.x,s.y,Math.max(c.width+_,s.width),c.height+s.height+O+M);var E=N([e.attributes.width||c.width,e.attributes.height||c.height],2),P=E[0],T=E[1];return new Qt(c.x,c.y,P+s.width+w+_,T+s.height+O+M)}function cj(t,e){var n=Object.entries(e).reduce(function(r,i){var a=N(i,2),o=a[0],s=a[1],c=t.node().attr(o);return c||(r[o]=s),r},{});t.styles(n)}function lj(t){var e,n,r,i,a=t,o=a.width,s=a.height,c=a.position,l=N([+o/2,+s/2],2),u=l[0],f=l[1],d=N([+u,+f,"center","middle"],4),h=d[0],p=d[1],v=d[2],g=d[3],y=Ku(c);return y.includes("l")&&(e=N([0,"start"],2),h=e[0],v=e[1]),y.includes("r")&&(n=N([+o,"end"],2),h=n[0],v=n[1]),y.includes("t")&&(r=N([0,"top"],2),p=r[0],g=r[1]),y.includes("b")&&(i=N([+s,"bottom"],2),p=i[0],g=i[1]),{x:h,y:p,textAlign:v,textBaseline:g}}var MS=function(t){rt(e,t);function e(n){return t.call(this,n,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return e.prototype.getAvailableSpace=function(){var n=this,r=this.attributes,i=r.width,a=r.height,o=r.position,s=r.spacing,c=r.inset,l=n.querySelector(Ry.text.class);if(!l)return new Qt(0,0,+i,+a);var u=l.getBBox(),f=u.width,d=u.height,h=N(Te(s),4),p=h[0],v=h[1],g=h[2],y=h[3],m=N([0,0,+i,+a],4),b=m[0],x=m[1],w=m[2],O=m[3],S=Ku(o);if(S.includes("i"))return new Qt(b,x,w,O);S.forEach(function(L,I){var R,j,D,$;L==="t"&&(R=N(I===0?[d+g,+a-d-g]:[0,+a],2),x=R[0],O=R[1]),L==="r"&&(j=N([+i-f-y],1),w=j[0]),L==="b"&&(D=N([+a-d-p],1),O=D[0]),L==="l"&&($=N(I===0?[f+v,+i-f-v]:[0,+i],2),b=$[0],w=$[1])});var _=N(Te(c),4),M=_[0],E=_[1],P=_[2],T=_[3],A=N([T+E,M+P],2),k=A[0],C=A[1];return new Qt(b+T,x+M,w-k,O-C)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new Qt(0,0,0,0)},e.prototype.render=function(n,r){var i=this;n.width,n.height,n.position,n.spacing;var a=$t(n,["width","height","position","spacing"]),o=N(Rr(a),1),s=o[0],c=lj(n),l=c.x,u=c.y,f=c.textAlign,d=c.textBaseline;on(!!a.text,dt(r),function(h){i.title=h.maybeAppendByClassName(Ry.text,"text").styles(s).call(cj,{x:l,y:u,textAlign:f,textBaseline:d}).node()})},e}(Pe);function uj(t,e,n){var r=n.titlePosition,i=r===void 0?"lb":r,a=n.titleSpacing,o=Ku(i),s=t.node().getLocalBounds(),c=N(s.min,2),l=c[0],u=c[1],f=N(s.halfExtents,2),d=f[0],h=f[1],p=N(e.node().getLocalBounds().halfExtents,2),v=p[0],g=p[1],y=N([l+d,u+h],2),m=y[0],b=y[1],x=N(Te(a),4),w=x[0],O=x[1],S=x[2],_=x[3];if(["start","end"].includes(i)&&n.type==="linear"){var M=n.startPos,E=n.endPos,P=N(i==="start"?[M,E]:[E,M],2),T=P[0],A=P[1],k=iS([-A[0]+T[0],-A[1]+T[1]]),C=N(Or(k,w),2),L=C[0],I=C[1];return{x:T[0]+L,y:T[1]+I}}return o.includes("t")&&(b-=h+g+w),o.includes("r")&&(m+=d+v+O),o.includes("l")&&(m-=d+v*2+_),o.includes("b")&&(b+=h+g*2+S),{x:m,y:b}}function fj(t,e,n){var r=t.cloneNode(!0);r.style.transform="scale(1, 1)",r.style.transform="none";var i=r.getBBox().height;if(e==="vertical"){if(n==="left")return"rotate(-90) translate(0, ".concat(i/2,")");if(n==="right")return"rotate(-90) translate(0, -".concat(i/2,")")}return""}function Iy(t,e,n,r,i){var a=vt(r,"title"),o=N(Rr(a),2),s=o[0],c=o[1],l=c.transform,u=$t(c,["transform"]);t.styles(s),e.styles(u);var f=l||fj(t.node(),s.direction,s.position);Bl(t.node(),f);var d=uj(dt(n._offscreen||n.querySelector(Rt.mainGroup.class)),e,r),h=d.x,p=d.y,v=Vn(e.node(),{x:h,y:p},i);return Bl(t.node(),f),v}function dj(t,e,n,r){var i=n.titleText;return t.selectAll(Rt.title.class).data([{title:i}].filter(function(a){return!!a.title}),function(a,o){return a.title}).join(function(a){return a.append(function(){return Yi(i)}).attr("className",Rt.title.name).transition(function(){return Iy(dt(this),t,e,n,r.enter)})},function(a){return a.transition(function(){return Iy(dt(this),t,e,n,r.update)})},function(a){return a.remove()}).transitions()}function jy(t,e,n,r){var i=t.showLine,a=t.showTick,o=t.showLabel,s=e.maybeAppendByClassName(Rt.lineGroup,"g"),c=on(i,s,function(h){return P8(h,t,r)})||[],l=e.maybeAppendByClassName(Rt.tickGroup,"g"),u=on(a,l,function(h){return oj(h,n,t,r)})||[],f=e.maybeAppendByClassName(Rt.labelGroup,"g"),d=on(o,f,function(h){return ej(h,n,t,r)})||[];return q(q(q([],N(c),!1),N(u),!1),N(d),!1).filter(function(h){return!!h})}var x0=function(t){rt(e,t);function e(n){return t.call(this,n,g0)||this}return e.prototype.render=function(n,r,i){var a=this,o=n.titleText,s=n.data,c=n.animate,l=n.showTitle,u=n.showGrid,f=n.dataThreshold,d=n.truncRange,h=wI(s,f).filter(function(w){var O=w.value;return!(d&&O>d[0]&&O<d[1])}),p=Ey(i===void 0?c:i),v=dt(r).maybeAppendByClassName(Rt.gridGroup,"g"),g=on(u,v,function(w){return C8(w,h,n,p)})||[],y=dt(r).maybeAppendByClassName(Rt.mainGroup,"g");o&&(!this.initialized&&p.enter||this.initialized&&p.update)&&jy(n,dt(this.offscreenGroup),h,Ey(!1));var m=jy(n,dt(y.node()),h,p),b=dt(r).maybeAppendByClassName(Rt.titleGroup,"g"),x=on(l,b,function(w){return dj(w,a,n,p)})||[];return q(q(q([],N(g),!1),N(m),!1),N(x),!1).flat().filter(function(w){return!!w})},e}(Pe),En=$n({prevBtnGroup:"prev-btn-group",prevBtn:"prev-btn",nextBtnGroup:"next-btn-group",nextBtn:"next-btn",pageInfoGroup:"page-info-group",pageInfo:"page-info",playWindow:"play-window",contentGroup:"content-group",controller:"controller",clipPath:"clip-path"},"navigator"),hj=function(t){rt(e,t);function e(n){var r=t.call(this,n,{animate:{easing:"linear",duration:200,fill:"both"},buttonCursor:"pointer",buttonFill:"black",buttonPath:ZI(0,0,6),buttonSize:12,controllerPadding:5,controllerSpacing:5,formatter:function(i,a){return"".concat(i,"/").concat(a)},defaultPage:0,loop:!1,orientation:"horizontal",pageNumFill:"black",pageNumFontSize:12,pageNumTextAlign:"start",pageNumTextBaseline:"middle"})||this;return r.playState="idle",r.contentGroup=r.appendChild(new Ce({class:En.contentGroup.name})),r.playWindow=r.contentGroup.appendChild(new Ce({class:En.playWindow.name})),r.innerCurrPage=r.defaultPage,r}return Object.defineProperty(e.prototype,"defaultPage",{get:function(){var n=this.attributes.defaultPage;return ce(n,0,Math.max(this.pageViews.length-1,0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.playWindow.children},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controllerShape",{get:function(){return this.totalPages>1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var n=this.pageViews,r=N(LI(n.map(function(f){var d=f.getBBox(),h=d.width,p=d.height;return[h,p]})).map(function(f){return Math.max.apply(Math,q([],N(f),!1))}),2),i=r[0],a=r[1],o=this.attributes,s=o.pageWidth,c=s===void 0?i:s,l=o.pageHeight,u=l===void 0?a:l;return{pageWidth:c,pageHeight:u}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var n=t.prototype.getBBox.call(this),r=n.x,i=n.y,a=this.controllerShape,o=this.pageShape,s=o.pageWidth,c=o.pageHeight;return new Qt(r,i,s+a.width,c)},e.prototype.goTo=function(n){var r=this,i=this.attributes.animate,a=this,o=a.currPage,s=a.playState,c=a.playWindow,l=a.pageViews;if(s!=="idle"||n<0||l.length<=0||n>=l.length)return null;l[o].setLocalPosition(0,0),this.prepareFollowingPage(n);var u=N(this.getFollowingPageDiff(n),2),f=u[0],d=u[1];this.playState="running";var h=lS(c,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-f,", ").concat(-d,")")}],i);return ro(h,function(){r.innerCurrPage=n,r.playState="idle",r.setVisiblePages([n]),r.updatePageInfo()}),h},e.prototype.prev=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i<=0)return null;var a=n?(i-1+r)%r:ce(i-1,0,r);return this.goTo(a)},e.prototype.next=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i>=r-1)return null;var a=n?(i+1)%r:ce(i+1,0,r);return this.goTo(a)},e.prototype.renderClipPath=function(n){var r=this.pageShape,i=r.pageWidth,a=r.pageHeight;if(!i||!a){this.contentGroup.style.clipPath=void 0;return}this.clipPath=n.maybeAppendByClassName(En.clipPath,"rect").styles({width:i,height:a}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(n){this.playWindow.children.forEach(function(r,i){n.includes(i)?Ks(r):li(r)})},e.prototype.adjustControllerLayout=function(){var n=this,r=n.prevBtnGroup,i=n.nextBtnGroup,a=n.pageInfoGroup,o=this.attributes,s=o.orientation,c=o.controllerPadding,l=a.getBBox(),u=l.width;l.height;var f=N(s==="horizontal"?[-180,0]:[-90,90],2),d=f[0],h=f[1];r.setLocalEulerAngles(d),i.setLocalEulerAngles(h);var p=r.getBBox(),v=p.width,g=p.height,y=i.getBBox(),m=y.width,b=y.height,x=Math.max(v,u,m),w=s==="horizontal"?{offset:[[0,0],[v/2+c,0],[v+u+c*2,0]],textAlign:"start"}:{offset:[[x/2,-g-c],[x/2,0],[x/2,b+c]],textAlign:"center"},O=N(w.offset,3),S=N(O[0],2),_=S[0],M=S[1],E=N(O[1],2),P=E[0],T=E[1],A=N(O[2],2),k=A[0],C=A[1],L=w.textAlign,I=a.querySelector("text");I&&(I.style.textAlign=L),r.setLocalPosition(_,M),a.setLocalPosition(P,T),i.setLocalPosition(k,C)},e.prototype.updatePageInfo=function(){var n,r=this,i=r.currPage,a=r.pageViews,o=r.attributes.formatter;a.length<2||((n=this.pageInfoGroup.querySelector(En.pageInfo.class))===null||n===void 0||n.attr("text",o(i+1,a.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(n){var r=this.currPage;if(r===n)return[0,0];var i=this.attributes.orientation,a=this.pageShape,o=a.pageWidth,s=a.pageHeight,c=n<r?-1:1;return i==="horizontal"?[c*o,0]:[0,c*s]},e.prototype.prepareFollowingPage=function(n){var r=this,i=r.currPage,a=r.pageViews;if(this.setVisiblePages([n,i]),n!==i){var o=N(this.getFollowingPageDiff(n),2),s=o[0],c=o[1];a[n].setLocalPosition(s,c)}},e.prototype.renderController=function(n){var r=this,i=this.attributes.controllerSpacing,a=this.pageShape,o=a.pageWidth,s=a.pageHeight,c=this.pageViews.length>=2,l=n.maybeAppendByClassName(En.controller,"g");if(Hu(l.node(),c),!!c){var u=vt(this.attributes,"button"),f=vt(this.attributes,"pageNum"),d=N(Rr(u),2),h=d[0],p=d[1],v=h.size,g=$t(h,["size"]),y=!l.select(En.prevBtnGroup.class).node(),m=l.maybeAppendByClassName(En.prevBtnGroup,"g").styles(p);this.prevBtnGroup=m.node();var b=m.maybeAppendByClassName(En.prevBtn,"path"),x=l.maybeAppendByClassName(En.nextBtnGroup,"g").styles(p);this.nextBtnGroup=x.node();var w=x.maybeAppendByClassName(En.nextBtn,"path");[b,w].forEach(function(S){S.styles(z(z({},g),{transformOrigin:"center"})),h0(S.node(),v,!0)});var O=l.maybeAppendByClassName(En.pageInfoGroup,"g");this.pageInfoGroup=O.node(),O.maybeAppendByClassName(En.pageInfo,"text").styles(f),this.updatePageInfo(),l.node().setLocalPosition(o+i,s/2),y&&(this.prevBtnGroup.addEventListener("click",function(){r.prev()}),this.nextBtnGroup.addEventListener("click",function(){r.next()}))}},e.prototype.render=function(n,r){var i=dt(r);this.renderClipPath(i),this.renderController(i),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var n=this,r=$b(function(){return n.render(n.attributes,n)},50);this.playWindow.addEventListener(ht.INSERTED,r),this.playWindow.addEventListener(ht.REMOVED,r)},e}(Pe);function pj(t,e,n){var r=Math.round((t-n)/e);return n+r*e}function vj(t,e,n){var r=1.4,i=r*n;return[["M",t-n,e-i],["L",t+n,e-i],["L",t+n,e+i],["L",t-n,e+i],["Z"]]}var ES=1.4,PS=.4;function gj(t,e,n){var r=n,i=r*ES,a=r/2,o=r/6,s=t+i*PS;return[["M",t,e],["L",s,e+a],["L",t+i,e+a],["L",t+i,e-a],["L",s,e-a],["Z"],["M",s,e+o],["L",t+i-2,e+o],["M",s,e-o],["L",t+i-2,e-o]]}function yj(t,e,n){var r=n,i=r*ES,a=r/2,o=r/6,s=e+i*PS;return[["M",t,e],["L",t-a,s],["L",t-a,e+i],["L",t+a,e+i],["L",t+a,s],["Z"],["M",t-o,s],["L",t-o,e+i-2],["M",t+o,s],["L",t+o,e+i-2]]}Bt.registerSymbol("hiddenHandle",vj);Bt.registerSymbol("verticalHandle",gj);Bt.registerSymbol("horizontalHandle",yj);function mj(t,e,n,r){var i,a=N(t,2),o=a[0],s=a[1],c=N(e,2),l=c[0],u=c[1],f=N(n,2),d=f[0],h=f[1],p=N([l,u],2),v=p[0],g=p[1],y=g-v;return v>g&&(i=N([g,v],2),v=i[0],g=i[1]),y>s-o?[o,s]:v<o?d===o&&h===g?[o,g]:[o,y+o]:g>s?h===s&&d===v?[v,s]:[s-y,s]:[v,g]}function ir(t,e,n){return t===void 0&&(t="horizontal"),t==="horizontal"?e:n}var un=$n({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item");function bj(t){var e=t.querySelector(un.marker.class);return e?e.style:{}}var xj=function(t){rt(e,t);function e(n){return t.call(this,n,{span:[1,1],marker:function(){return new Xs({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return Object.defineProperty(e.prototype,"showValue",{get:function(){var n=this.attributes.valueText;return n?typeof n=="string"||typeof n=="number"?n!=="":typeof n=="function"?!0:n.attr("text")!=="":!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var n=this.labelGroup,r=this.valueGroup,i=this.attributes.markerSize,a=n.node().getBBox(),o=a.width,s=a.height,c=r.node().getBBox(),l=c.width,u=c.height;return{markerWidth:i,labelWidth:o,valueWidth:l,height:Math.max(i,s,u)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var n=this.attributes.span;if(!n)return[1,1];var r=N(Te(n),2),i=r[0],a=r[1],o=this.showValue?a:0,s=i+o;return[i/s,o/s]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var n,r=this.attributes,i=r.markerSize,a=r.width,o=this.actualSpace,s=o.markerWidth,c=o.height,l=this.actualSpace,u=l.labelWidth,f=l.valueWidth,d=N(this.spacing,2),h=d[0],p=d[1];if(a){var v=a-i-h-p,g=N(this.span,2),y=g[0],m=g[1];n=N([y*v,m*v],2),u=n[0],f=n[1]}var b=s+u+f+h+p;return{width:b,height:c,markerWidth:s,labelWidth:u,valueWidth:f}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var n=this.attributes.spacing;if(!n)return[0,0];var r=N(Te(n),2),i=r[0],a=r[1];return this.showValue?[i,a]:[i,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var n=this.shape,r=n.markerWidth,i=n.labelWidth,a=n.valueWidth,o=n.width,s=n.height,c=N(this.spacing,2),l=c[0],u=c[1];return{height:s,width:o,markerWidth:r,labelWidth:i,valueWidth:a,position:[r/2,r+l,r+i+l+u]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var n=bj(this.markerGroup.node()),r=this.attributes,i=r.markerSize,a=r.markerStrokeWidth,o=a===void 0?n.strokeWidth:a,s=r.markerLineWidth,c=s===void 0?n.lineWidth:s,l=r.markerStroke,u=l===void 0?n.stroke:l,f=+(o||c||(u?1:0))*Math.sqrt(2),d=this.markerGroup.node().getBBox(),h=d.width,p=d.height;return(1-f/Math.max(h,p))*i},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(n){var r=this,i=this.attributes.marker,a=vt(this.attributes,"marker");this.markerGroup=n.maybeAppendByClassName(un.markerGroup,"g").style("zIndex",0),on(!!i,this.markerGroup,function(){var o=r.markerGroup.node(),s=o.getElementsByClassName(un.marker.name)[0],c=i();s?c.nodeName===s.nodeName?(PI(s,c),dt(s).styles(a)):(s.remove(),dt(c).attr("className",un.marker.name).styles(a),o.appendChild(c)):(dt(c).attr("className",un.marker.name).styles(a),o.appendChild(c)),r.markerGroup.node().scale(1/r.markerGroup.node().getScale()[0]),h0(r.markerGroup.node(),r.scaleSize,!0)})},e.prototype.renderLabel=function(n){var r=vt(this.attributes,"label"),i=r.text,a=$t(r,["text"]);this.labelGroup=n.maybeAppendByClassName(un.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(un.label,function(){return Yi(i)}).styles(a)},e.prototype.renderValue=function(n){var r=this,i=vt(this.attributes,"value"),a=i.text,o=$t(i,["text"]);this.valueGroup=n.maybeAppendByClassName(un.valueGroup,"g").style("zIndex",0),on(this.showValue,this.valueGroup,function(){r.valueGroup.maybeAppendByClassName(un.value,function(){return Yi(a)}).styles(o)})},e.prototype.renderBackground=function(n){var r=this.shape,i=r.width,a=r.height,o=vt(this.attributes,"background");this.background=n.maybeAppendByClassName(un.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(un.background,"rect").styles(z({width:i,height:a},o))},e.prototype.adjustLayout=function(){var n=this.layout,r=n.labelWidth,i=n.valueWidth,a=n.height,o=N(n.position,3),s=o[0],c=o[1],l=o[2],u=a/2;this.markerGroup.styles({x:s,y:u}),this.labelGroup.styles({x:c,y:u}),uh(this.labelGroup.select(un.label.class).node(),Math.ceil(r)),this.showValue&&(this.valueGroup.styles({x:l,y:u}),uh(this.valueGroup.select(un.value.class).node(),Math.ceil(i)))},e.prototype.render=function(n,r){var i=dt(r);this.renderMarker(i),this.renderLabel(i),this.renderValue(i),this.renderBackground(i),this.adjustLayout()},e}(Pe),Si=$n({page:"item-page",navigator:"navigator",item:"item"},"items"),Dy=function(t,e,n){return n===void 0&&(n=!0),t?e(t):n},wj=function(t){rt(e,t);function e(n){var r=t.call(this,n,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:wf,mouseenter:wf,mouseleave:wf})||this;return r.navigatorShape=[0,0],r}return Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var n=this.attributes,r=n.gridRow,i=n.gridCol,a=n.data;if(!r&&!i)throw new Error("gridRow and gridCol can not be set null at the same time");return r&&i?[r,i]:r?[r,a.length]:[a.length,i]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var n=this.attributes,r=n.data,i=n.layout,a=vt(this.attributes,"item"),o=r.map(function(s,c){var l=s.id,u=l===void 0?c:l,f=s.label,d=s.value;return{id:"".concat(u),index:c,style:z({layout:i,labelText:f,valueText:d},Object.fromEntries(Object.entries(a).map(function(h){var p=N(h,2),v=p[0],g=p[1];return[v,Rn(g,[s,c,r])]})))}});return o},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var n=this,r=this.attributes,i=r.orientation,a=r.width,o=r.rowPadding,s=r.colPadding,c=N(this.navigatorShape,1),l=c[0],u=N(this.grid,2),f=u[0],d=u[1],h=d*f,p=0;return this.pageViews.children.map(function(v,g){var y,m,b=Math.floor(g/h),x=g%h,w=n.ifHorizontal(d,f),O=[Math.floor(x/w),x%w];i==="vertical"&&O.reverse();var S=N(O,2),_=S[0],M=S[1],E=(a-l-(d-1)*s)/d,P=v.getBBox().height,T=N([0,0],2),A=T[0],k=T[1];return i==="horizontal"?(y=N([p,_*(P+o)],2),A=y[0],k=y[1],p=M===d-1?0:p+E+s):(m=N([M*(E+s),p],2),A=m[0],k=m[1],p=_===f-1?0:p+P+o),{page:b,index:g,row:_,col:M,pageIndex:x,width:E,height:P,x:A,y:k}})},e.prototype.getFlexLayout=function(){var n=this.attributes,r=n.width,i=n.height,a=n.rowPadding,o=n.colPadding,s=N(this.navigatorShape,1),c=s[0],l=N(this.grid,2),u=l[0],f=l[1],d=N([r-c,i],2),h=d[0],p=d[1],v=N([0,0,0,0,0,0,0,0],8),g=v[0],y=v[1],m=v[2],b=v[3],x=v[4],w=v[5],O=v[6],S=v[7];return this.pageViews.children.map(function(_,M){var E,P,T,A,k=_.getBBox(),C=k.width,L=k.height,I=O===0?0:o,R=O+I+C;if(R<=h&&Dy(x,function(D){return D<f}))return E=N([O+I,S,R],3),g=E[0],y=E[1],O=E[2],{width:C,height:L,x:g,y,page:m,index:M,pageIndex:b++,row:w,col:x++};P=N([w+1,0,0,S+L+a],4),w=P[0],x=P[1],O=P[2],S=P[3];var j=S+L;return j<=p&&Dy(w,function(D){return D<u})?(T=N([O,S,C],3),g=T[0],y=T[1],O=T[2],{width:C,height:L,x:g,y,page:m,index:M,pageIndex:b++,row:w,col:x++}):(A=N([0,0,C,0,m+1,0,0,0],8),g=A[0],y=A[1],O=A[2],S=A[3],m=A[4],b=A[5],w=A[6],x=A[7],{width:C,height:L,x:g,y,page:m,index:M,pageIndex:b++,row:w,col:x++})})},Object.defineProperty(e.prototype,"itemsLayout",{get:function(){this.navigatorShape=[0,0];var n=this.attributes.layout==="grid"?this.getGridLayout:this.getFlexLayout,r=n.call(this);return r.slice(-1)[0].page>0?(this.navigatorShape=[55,0],n.call(this)):r},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(n,r){var i=this.attributes.orientation;return ir(i,n,r)},e.prototype.flattenPage=function(n){n.querySelectorAll(Si.item.class).forEach(function(r){n.appendChild(r)}),n.querySelectorAll(Si.page.class).forEach(function(r){var i=n.removeChild(r);i.destroy()})},e.prototype.renderItems=function(n){var r=this.attributes,i=r.click,a=r.mouseenter,o=r.mouseleave;this.flattenPage(n);var s=this.dispatchCustomEvent.bind(this);dt(n).selectAll(Si.item.class).data(this.renderData,function(c){return c.id}).join(function(c){return c.append(function(l){var u=l.style;return new xj({style:u})}).attr("className",Si.item.name).on("click",function(){i==null||i(this),s("itemClick",{item:this})}).on("pointerenter",function(){a==null||a(this),s("itemMouseenter",{item:this})}).on("pointerleave",function(){o==null||o(this),s("itemMouseleave",{item:this})})},function(c){return c.each(function(l){var u=l.style;this.update(u)})},function(c){return c.remove()})},e.prototype.relayoutNavigator=function(){var n,r=this.attributes,i=r.layout,a=r.width,o=((n=this.pageViews.children[0])===null||n===void 0?void 0:n.getBBox().height)||0,s=N(this.navigatorShape,2),c=s[0],l=s[1];this.navigator.update(i==="grid"?{pageWidth:a-c,pageHeight:o-l}:{})},e.prototype.adjustLayout=function(){var n=this,r=Object.entries(cI(this.itemsLayout,"page")).map(function(a){var o=N(a,2),s=o[0],c=o[1];return{page:s,layouts:c}}),i=q([],N(this.navigator.getContainer().children),!1);r.forEach(function(a){var o=a.layouts,s=n.pageViews.appendChild(new Ce({className:Si.page.name}));o.forEach(function(c){var l=c.x,u=c.y,f=c.index,d=c.width,h=c.height,p=i[f];s.appendChild(p),$k(p,"__layout__",c),p.update({x:l,y:u,width:d,height:h})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(n){var r=this.attributes.orientation,i=vt(this.attributes,"nav"),a=Nr({orientation:r},i),o=this;return n.selectAll(Si.navigator.class).data(["nav"]).join(function(s){return s.append(function(){return new hj({style:a})}).attr("className",Si.navigator.name).each(function(){o.navigator=this})},function(s){return s.each(function(){this.update(a)})},function(s){return s.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(n,r){var i=this.attributes.data;if(!(!i||i.length===0)){var a=this.renderNavigator(dt(r));this.renderItems(a.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(n,r){var i=new Dt(n,{detail:r});this.dispatchEvent(i)},e}(Pe),Oo=$n({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),AS={showLabel:!0,formatter:function(t){return t.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},Oj=function(t){rt(e,t);function e(n){return t.call(this,n,AS)||this}return e.prototype.render=function(n,r){var i=dt(r).maybeAppendByClassName(Oo.markerGroup,"g");this.renderMarker(i);var a=dt(r).maybeAppendByClassName(Oo.labelGroup,"g");this.renderLabel(a)},e.prototype.renderMarker=function(n){var r=this,i=this.attributes,a=i.orientation,o=i.markerSymbol,s=o===void 0?ir(a,"horizontalHandle","verticalHandle"):o;on(!!s,n,function(c){var l=vt(r.attributes,"marker"),u=z({symbol:s},l);r.marker=c.maybeAppendByClassName(Oo.marker,function(){return new Bt({style:u})}).update(u)})},e.prototype.renderLabel=function(n){var r=this,i=this.attributes,a=i.showLabel,o=i.orientation,s=i.spacing,c=s===void 0?0:s,l=i.formatter;on(a,n,function(u){var f,d=vt(r.attributes,"label"),h=d.text,p=$t(d,["text"]),v=((f=u.select(Oo.marker.class))===null||f===void 0?void 0:f.node().getBBox())||{},g=v.width,y=g===void 0?0:g,m=v.height,b=m===void 0?0:m,x=N(ir(o,[0,b+c,"center","top"],[y+c,0,"start","middle"]),4),w=x[0],O=x[1],S=x[2],_=x[3];u.maybeAppendByClassName(Oo.label,"text").styles(z(z({},p),{x:w,y:O,text:l(h).toString(),textAlign:S,textBaseline:_}))})},e}(Pe),kS={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},Sj=Nr({},kS,{}),_j=Nr({},kS,Jn(AS,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),Mj=.01,Me=$n({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend"),Ej=function(t){rt(e,t);function e(n){return t.call(this,n,Sj)||this}return e.prototype.renderTitle=function(n,r,i){var a=this.attributes,o=a.showTitle,s=a.titleText,c=vt(this.attributes,"title"),l=N(Rr(c),2),u=l[0],f=l[1];this.titleGroup=n.maybeAppendByClassName(Me.titleGroup,"g").styles(f);var d=z(z({width:r,height:i},u),{text:o?s:""});this.title=this.titleGroup.maybeAppendByClassName(Me.title,function(){return new MS({style:d})}).update(d)},e.prototype.renderItems=function(n,r){var i=r.x,a=r.y,o=r.width,s=r.height,c=vt(this.attributes,"title",!0),l=N(Rr(c),2),u=l[0],f=l[1],d=z(z({},u),{width:o,height:s,x:0,y:0});this.itemsGroup=n.maybeAppendByClassName(Me.itemsGroup,"g").styles(z({x:i,y:a},f));var h=this;this.itemsGroup.selectAll(Me.items.class).data(["items"]).join(function(p){return p.append(function(){return new wj({style:d})}).attr("className",Me.items.name).each(function(){h.items=dt(this)})},function(p){return p.update(d)},function(p){return p.remove()})},e.prototype.adjustLayout=function(){var n=this.attributes.showTitle;if(n){var r=this.title.node().getAvailableSpace(),i=r.x,a=r.y;this.itemsGroup.node().setLocalPosition(i,a)}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var n=this.attributes,r=n.showTitle,i=n.width,a=n.height;return r?this.title.node().getAvailableSpace():new Qt(0,0,i,a)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var n,r,i=(n=this.title)===null||n===void 0?void 0:n.node(),a=(r=this.items)===null||r===void 0?void 0:r.node();return!i||!a?t.prototype.getBBox.call(this):sj(i,a)},e.prototype.render=function(n,r){var i=n.width,a=n.height,o=dt(r);this.renderTitle(o,i,a),this.renderItems(o,this.availableSpace),this.adjustLayout()},e}(Pe),Pj={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},Kf=$n({background:"background",labelGroup:"label-group",label:"label"},"indicator"),Aj=function(t){rt(e,t);function e(n){var r=t.call(this,n,Pj)||this;return r.point=[0,0],r.group=r.appendChild(new Ce({})),r.isMutationObserved=!0,r}return e.prototype.renderBackground=function(){if(this.label){var n=this.attributes,r=n.position,i=n.padding,a=N(Te(i),4),o=a[0],s=a[1],c=a[2],l=a[3],u=this.label.node().getLocalBounds(),f=u.min,d=u.max,h=new Qt(f[0]-l,f[1]-o,d[0]+s-f[0]+l,d[1]+c-f[1]+o),p=this.getPath(r,h),v=vt(this.attributes,"background");this.background=dt(this.group).maybeAppendByClassName(Kf.background,"path").styles(z(z({},v),{path:p})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var n=this.attributes,r=n.formatter,i=n.labelText,a=vt(this.attributes,"label"),o=N(Rr(a),2),s=o[0],c=o[1];s.text;var l=$t(s,["text"]);if(this.label=dt(this.group).maybeAppendByClassName(Kf.labelGroup,"g").styles(c),!!i){var u=this.label.maybeAppendByClassName(Kf.label,function(){return Yi(r(i))}).style("text",r(i).toString());u.selectAll("text").styles(l)}},e.prototype.adjustLayout=function(){var n=N(this.point,2),r=n[0],i=n[1];this.group.attr("x",-r).attr("y",-i)},e.prototype.getPath=function(n,r){var i=this.attributes.radius,a=r.x,o=r.y,s=r.width,c=r.height,l=[["M",a+i,o],["L",a+s-i,o],["A",i,i,0,0,1,a+s,o+i],["L",a+s,o+c-i],["A",i,i,0,0,1,a+s-i,o+c],["L",a+i,o+c],["A",i,i,0,0,1,a,o+c-i],["L",a,o+i],["A",i,i,0,0,1,a+i,o],["Z"]],u={top:4,right:6,bottom:0,left:2},f=u[n],d=this.createCorner([l[f].slice(-2),l[f+1].slice(-2)]);return l.splice.apply(l,q([f+1,1],N(d),!1)),l[0][0]="M",l},e.prototype.createCorner=function(n,r){r===void 0&&(r=10);var i=.8,a=EI.apply(void 0,q([],N(n),!1)),o=N(n,2),s=N(o[0],2),c=s[0],l=s[1],u=N(o[1],2),f=u[0],d=u[1],h=N(a?[f-c,[c,f]]:[d-l,[l,d]],2),p=h[0],v=N(h[1],2),g=v[0],y=v[1],m=p/2,b=p/Math.abs(p),x=r*b,w=x/2,O=x*Math.sqrt(3)/2*i,S=N([g,g+m-w,g+m,g+m+w,y],5),_=S[0],M=S[1],E=S[2],P=S[3],T=S[4];return a?(this.point=[E,l-O],[["L",_,l],["L",M,l],["L",E,l-O],["L",P,l],["L",T,l]]):(this.point=[c+O,E],[["L",c,_],["L",c,M],["L",c+O,E],["L",c,P],["L",c,T]])},e.prototype.applyVisibility=function(){var n=this.attributes.visibility;n==="hidden"?li(this):Ks(this)},e.prototype.bindEvents=function(){this.label.on(ht.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(Pe);function kj(t,e){for(var n=1;n<t.length;n+=1){var r=t[n-1],i=t[n];if(e>=r&&e<=i)return[r,i]}return[e,e]}function Tj(t,e,n){var r=Array.from(e),i=t.length;return new Array(i).fill(0).reduce(function(a,o,s){var c=r[s%r.length];return a+=" ".concat(t[s],":").concat(c).concat(s<i-1?" ".concat(t[s+1],":").concat(c):"")},"l(".concat(n==="horizontal"?"0":"270",")"))}function $y(t,e){var n=N(kj(t,e),2),r=n[0],i=n[1];return{tick:e>(r+i)/2?i:r,range:[r,i]}}var ms=$n({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function TS(t){var e=t.orientation,n=t.size,r=t.length;return ir(e,[r,n],[n,r])}function CS(t){var e=t.type,n=N(TS(t),2),r=n[0],i=n[1];return e==="size"?[["M",0,i],["L",0+r,0],["L",0+r,i],["Z"]]:[["M",0,i],["L",0,0],["L",0+r,0],["L",0+r,i],["Z"]]}function Cj(t){return CS(t)}function Lj(t){var e=t.orientation,n=t.color,r=t.block,i=t.partition,a;if(Ve(n)){var o=20;a=new Array(o).fill(0).map(function(l,u,f){return n(u/(f.length-1))})}else a=n;var s=a.length,c=a.map(function(l){return Ar(l).toString()});return s?s===1?c[0]:r?Tj(i,c,e):c.reduce(function(l,u,f){return l+=" ".concat(f/(s-1),":").concat(u)},"l(".concat(ir(e,"0","270"),")")):""}function Nj(t){var e=t.orientation,n=t.range;if(!n)return[];var r=N(TS(t),2),i=r[0],a=r[1],o=N(n,2),s=o[0],c=o[1],l=ir(e,s*i,0),u=ir(e,0,s*a),f=ir(e,c*i,i),d=ir(e,a,c*a);return[["M",l,u],["L",l,d],["L",f,d],["L",f,u],["Z"]]}function Rj(t,e){var n=vt(e,"track");t.maybeAppendByClassName(ms.track,"path").styles(z({path:CS(e)},n))}function Ij(t,e){var n=vt(e,"selection"),r=Lj(e),i=t.maybeAppendByClassName(ms.selection,"path").styles(z({path:Cj(e),fill:r},n)),a=i.maybeAppendByClassName(ms.clipPath,"path").styles({path:Nj(e)}).node();i.style("clip-path",a)}var jj=function(t){rt(e,t);function e(n){return t.call(this,n,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return e.prototype.render=function(n,r){var i=dt(r).maybeAppendByClassName(ms.trackGroup,"g");Rj(i,n);var a=dt(r).maybeAppendByClassName(ms.selectionGroup,"g");Ij(a,n)},e}(Pe);function Dj(t){return{min:Math.min.apply(Math,q([],N(t.map(function(e){return e.value})),!1)),max:Math.max.apply(Math,q([],N(t.map(function(e){return e.value})),!1))}}var $j=function(t){rt(e,t);function e(n){var r=t.call(this,n,_j)||this;return r.eventToOffsetScale=new Yt({}),r.innerRibbonScale=new Yt({}),r.cacheLabelBBox=null,r.cacheHandleBBox=null,r.onHovering=function(i){var a=r.attributes,o=a.data,s=a.block;i.stopPropagation();var c=r.getValueByCanvasPoint(i);if(s){var l=$y(o.map(function(f){var d=f.value;return d}),c).range;r.showIndicator((l[0]+l[1])/2,"".concat(l[0],"-").concat(l[1])),r.dispatchIndicated(c,l)}else{var u=r.getTickValue(c);r.showIndicator(u),r.dispatchIndicated(u)}},r.onDragStart=function(i){return function(a){a.stopPropagation(),r.attributes.slidable&&(r.target=i,r.prevValue=r.getTickValue(r.getValueByCanvasPoint(a)),document.addEventListener("mousemove",r.onDragging),document.addEventListener("touchmove",r.onDragging),document.addEventListener("mouseleave",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("touchend",r.onDragEnd))}},r.onDragging=function(i){var a=r.target;r.updateMouse();var o=N(r.selection,2),s=o[0],c=o[1],l=r.getTickValue(r.getValueByCanvasPoint(i)),u=l-r.prevValue;a==="start"?s!==l&&r.updateSelection(l,c):a==="end"?c!==l&&r.updateSelection(s,l):a==="ribbon"&&u!==0&&(r.prevValue=l,r.updateSelection(u,u,!0))},r.onDragEnd=function(){r.style.cursor="pointer",document.removeEventListener("mousemove",r.onDragging),document.removeEventListener("touchmove",r.onDragging),document.removeEventListener("mouseup",r.onDragEnd),document.removeEventListener("touchend",r.onDragEnd)},r}return Object.defineProperty(e.prototype,"handleOffsetRatio",{get:function(){return this.ifHorizontal(.5,.5)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var n=this.attributes,r=n.width,i=n.height;return new Qt(0,0,r,i)},e.prototype.render=function(n,r){var i=this,a=n.showLabel;this.renderTitle(dt(r));var o=this.availableSpace,s=o.x,c=o.y,l=dt(r).maybeAppendByClassName(Me.contentGroup,"g").styles({x:s,y:c}),u=l.maybeAppendByClassName(Me.labelGroup,"g").styles({zIndex:1});on(!!a,u,function(d){i.renderLabel(d)});var f=l.maybeAppendByClassName(Me.ribbonGroup,"g").styles({zIndex:0});this.handlesGroup=l.maybeAppendByClassName(Me.handlesGroup,"g").styles({zIndex:2}),this.renderHandles(),this.renderRibbon(f),this.renderIndicator(l),this.adjustLabel(),this.adjustHandles()},Object.defineProperty(e.prototype,"range",{get:function(){var n=this.attributes,r=n.data,i=n.domain;return i?{min:i[0],max:i[1]}:Dj(r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonScale",{get:function(){var n=this.range,r=n.min,i=n.max;return this.innerRibbonScale.update({domain:[r,i],range:[0,1]}),this.innerRibbonScale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonRange",{get:function(){var n=N(this.selection,2),r=n[0],i=n[1],a=this.ribbonScale;return[a.map(r),a.map(i)]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){var n=this.range,r=n.min,i=n.max,a=this.attributes.defaultValue,o=a===void 0?[r,i]:a,s=N(o,2),c=s[0],l=s[1];return[c,l]},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(n,r){return ir(this.attributes.orientation,typeof n=="function"?n():n,typeof r=="function"?r():r)},e.prototype.renderTitle=function(n){var r=this.attributes,i=r.showTitle,a=r.titleText,o=r.width,s=r.height,c=vt(this.attributes,"title"),l=z(z({},c),{width:o,height:s,text:a}),u=this;n.selectAll(Me.title.class).data(i?[a]:[]).join(function(f){return f.append(function(){return new MS({style:l})}).attr("className",Me.title.name).each(function(){u.title=this})},function(f){return f.update(l)},function(f){return f.each(function(){u.title=void 0}).remove()})},Object.defineProperty(e.prototype,"availableSpace",{get:function(){if(this.title)return this.title.getAvailableSpace();var n=this.attributes,r=n.width,i=n.height;return new Qt(0,0,r,i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelFixedSpacing",{get:function(){var n=this.attributes.showTick;return n?5:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){var n=this.attributes,r=n.orientation,i=n.labelDirection,a={vertical:{positive:"right",negative:"left"},horizontal:{positive:"bottom",negative:"top"}};return a[r][i]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelBBox",{get:function(){var n,r=this.attributes.showLabel;if(!r)return new Qt(0,0,0,0);if(this.cacheLabelBBox)return this.cacheLabelBBox;var i=((n=this.label.querySelector(Rt.labelGroup.class))===null||n===void 0?void 0:n.children.slice(-1)[0]).getBBox(),a=i.width,o=i.height;return this.cacheLabelBBox=new Qt(0,0,a,o),this.cacheLabelBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelShape",{get:function(){var n=this.attributes,r=n.showLabel,i=n.labelSpacing,a=i===void 0?0:i;if(!r)return{width:0,height:0,size:0,length:0};var o=this.labelBBox,s=o.width,c=o.height,l=this.ifHorizontal(c,s)+a+this.labelFixedSpacing,u=this.ifHorizontal(s,c);return{width:s,height:c,size:l,length:u}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonBBox",{get:function(){var n=this.attributes,r=n.showHandle,i=n.ribbonSize,a=this.availableSpace,o=a.width,s=a.height,c=this.labelShape,l=c.size,u=c.length,f=N(this.ifHorizontal([s,o],[o,s]),2),d=f[0],h=f[1],p=r?this.handleShape:{size:0,length:0},v=p.size,g=p.length,y=this.handleOffsetRatio,m=0,b=this.labelPosition;i?m=i:["bottom","right"].includes(b)?m=Math.min(d-l,(d-v)/y):d*(1-y)>v?m=Math.max(d-l,0):m=Math.max((d-l-v)/y,0);var x=Math.max(g,u),w=h-x,O=N(this.ifHorizontal([w,m],[m,w]),2),S=O[0],_=O[1],M=["top","left"].includes(b)?l:0,E=N(this.ifHorizontal([x/2,M],[M,x/2]),2),P=E[0],T=E[1];return new Qt(P,T,S,_)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonShape",{get:function(){var n=this.ribbonBBox,r=n.width,i=n.height;return this.ifHorizontal({size:i,length:r},{size:r,length:i})},enumerable:!1,configurable:!0}),e.prototype.renderRibbon=function(n){var r=this.attributes,i=r.data,a=r.type,o=r.orientation,s=r.color,c=r.block,l=vt(this.attributes,"ribbon"),u=this.range,f=u.min,d=u.max,h=this.ribbonBBox,p=h.x,v=h.y,g=this.ribbonShape,y=g.length,m=g.size,b=Nr({x:p,y:v,length:y,size:m,type:a,orientation:o,color:s,block:c,partition:i.map(function(x){return(x.value-f)/(d-f)}),range:this.ribbonRange},l);this.ribbon=n.maybeAppendByClassName(Me.ribbon,function(){return new jj({style:b})}).update(b)},e.prototype.getHandleClassName=function(n){return"".concat(Me.prefix("".concat(n,"-handle")))},e.prototype.renderHandles=function(){var n=this.attributes,r=n.showHandle,i=n.orientation,a=vt(this.attributes,"handle"),o=N(this.selection,2),s=o[0],c=o[1],l=z(z({},a),{orientation:i}),u=a.shape,f=u===void 0?"slider":u,d=f==="basic"?Oj:hS,h=this;this.handlesGroup.selectAll(Me.handle.class).data(r?[{value:s,type:"start"},{value:c,type:"end"}]:[],function(p){return p.type}).join(function(p){return p.append(function(){return new d({style:l})}).attr("className",function(v){var g=v.type;return"".concat(Me.handle," ").concat(h.getHandleClassName(g))}).each(function(v){var g=v.type,y=v.value;this.update({labelText:y});var m="".concat(g,"Handle");h[m]=this,this.addEventListener("pointerdown",h.onDragStart(g))})},function(p){return p.update(l).each(function(v){var g=v.value;this.update({labelText:g})})},function(p){return p.each(function(v){var g=v.type,y="".concat(g,"Handle");h[y]=void 0}).remove()})},e.prototype.adjustHandles=function(){var n=N(this.selection,2),r=n[0],i=n[1];this.setHandlePosition("start",r),this.setHandlePosition("end",i)},e.prototype.adjustTitle=function(){var n=this.attributes,r=n.titlePosition,i=n.orientation,a=N(this.getElementsByClassName(Me.title.name),1),o=a[0],s=this.handlesGroup.select(".".concat(this.getHandleClassName("start"))).node();if(!(!o||!s)&&!(r!=="top-left"||i!=="horizontal")){var c=N(s.getLocalBounds().min,1),l=c[0],u=N(o.getLocalBounds().min,1),f=u[0],d=l-f;o.style.x=+(this.style.x||0)+d}},Object.defineProperty(e.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new Qt(0,0,0,0);var n=this.startHandle.getBBox(),r=n.width,i=n.height,a=this.endHandle.getBBox(),o=a.width,s=a.height,c=N([Math.max(r,o),Math.max(i,s)],2),l=c[0],u=c[1];return this.cacheHandleBBox=new Qt(0,0,l,u),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"handleShape",{get:function(){var n=this.handleBBox,r=n.width,i=n.height,a=N(this.ifHorizontal([i,r],[r,i]),2),o=a[0],s=a[1];return{width:r,height:i,size:o,length:s}},enumerable:!1,configurable:!0}),e.prototype.setHandlePosition=function(n,r){var i=this.attributes.handleFormatter,a=this.ribbonBBox,o=a.x,s=a.y,c=this.ribbonShape.size,l=this.getOffset(r),u=N(this.ifHorizontal([o+l,s+c*this.handleOffsetRatio],[o+c*this.handleOffsetRatio,s+l]),2),f=u[0],d=u[1],h=this.handlesGroup.select(".".concat(this.getHandleClassName(n))).node();h==null||h.update({x:f,y:d,formatter:i})},e.prototype.renderIndicator=function(n){var r=vt(this.attributes,"indicator");this.indicator=n.maybeAppendByClassName(Me.indicator,function(){return new Aj({})}).update(r)},Object.defineProperty(e.prototype,"labelData",{get:function(){var n=this,r=this.attributes.data;return r.reduce(function(i,a,o,s){var c,l,u=(c=a==null?void 0:a.id)!==null&&c!==void 0?c:o.toString();if(i.push(z(z({},a),{id:u,index:o,type:"value",label:(l=a==null?void 0:a.label)!==null&&l!==void 0?l:a.value.toString(),value:n.ribbonScale.map(a.value)})),o<s.length-1){var f=s[o+1],d=N([a.value,f.value],2),h=d[0],p=d[1],v=(h+p)/2;i.push(z(z({},a),{id:u,index:o,type:"range",range:[h,p],label:[h,p].join("~"),value:n.ribbonScale.map(v)}))}return i},[])},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelStyle",{get:function(){var n=N(["center","middle"],2),r=n[0],i=n[1],a=this.labelPosition;return a==="top"?i="bottom":a==="bottom"?i="top":a==="left"?r="end":a==="right"&&(r="start"),{labelTextAlign:r,labelTextBaseline:i}},enumerable:!1,configurable:!0}),e.prototype.renderLabel=function(n){var r=this.attributes,i=r.showTick,a=i===void 0?!1:i,o=r.labelFilter,s=r.labelFormatter,c=vt(this.attributes,"tick"),l=vt(this.attributes,"label"),u=l.align,f=Nr(z({showLine:!1,showGrid:!1,showTick:a,type:"linear",startPos:[0,0],endPos:[0,0],tickDirection:"negative",labelTransform:"rotate(0)"},this.labelStyle),Jn(c,"tick"),Jn(l,"label"),{data:this.labelData}),d={tickFilter:function(p,v,g){return(p==null?void 0:p.type)!=="value"?!1:o?o(p,p.index,g.filter(function(y){return y.type!=="value"})):!0},labelFilter:function(p,v,g){return(p==null?void 0:p.type)!==u?!1:o?o(p,p.index,g.filter(function(y){return y.type===u})):!0},labelFormatter:s},h=z(z(z({},f),d),{labelOverlap:[{type:"hide"}]});this.label=n.maybeAppendByClassName(Me.label,function(){return new x0({style:h})}).node(),this.label.update(h,!1)},Object.defineProperty(e.prototype,"labelAxisStyle",{get:function(){var n=this.attributes,r=n.showTick,i=n.labelDirection,a=n.labelSpacing,o=n.tickLength,s=this.ribbonShape.size,c=this.labelPosition,l=this.labelFixedSpacing,u=N([0,0,0],3),f=u[0];u[1];var d=u[2],h=o??s;return r?(d=h,i==="positive"?c==="right"?(f=h,d=h):c==="bottom"&&(f=d):i==="negative"&&(c==="top"||c==="left")&&(f=s)):i==="positive"&&(c==="right"||c==="bottom"&&(f=s+l)),{offset:f,spacing:a,tickLength:d}},enumerable:!1,configurable:!0}),e.prototype.adjustLabel=function(){var n=this.attributes.showLabel;if(n){var r=this.ribbonBBox,i=r.x,a=r.y,o=r.width,s=r.height,c=this.labelAxisStyle,l=c.offset,u=c.spacing,f=c.tickLength,d=N(this.ifHorizontal([[i,a+l],[i+o,a+l]],[[i+l,a+s],[i+l,a]]),2),h=d[0],p=d[1];this.label.update({startPos:h,endPos:p,tickLength:f,labelSpacing:u},!1)}},e.prototype.bindEvents=function(){this.style.cursor="pointer",this.ribbon.on("pointerdown",this.onDragStart("ribbon")),this.ribbon.on("pointermove",this.onHovering),this.addEventListener("pointerout",this.hideIndicator)},e.prototype.showIndicator=function(n,r){r===void 0&&(r="".concat(n));var i=this.attributes.showIndicator;if(!i||typeof n!="number"){this.hideIndicator();return}var a=this.range,o=a.min,s=a.max,c=this.ribbonBBox,l=c.x,u=c.y,f=ce(n,o,s),d=this.getOffset(f),h=this.ifHorizontal([d+l,u],[l,d+u]);this.indicator.update({x:h[0],y:h[1],position:this.ifHorizontal("top","left"),labelText:r}),Ks(this.indicator.node())},e.prototype.hideIndicator=function(){li(this.indicator.node())},e.prototype.updateMouse=function(){this.attributes.slidable&&(this.style.cursor="grabbing")},e.prototype.setSelection=function(n,r){this.updateSelection(n,r)},e.prototype.updateSelection=function(n,r,i){var a;i===void 0&&(i=!1);var o=N(this.selection,2),s=o[0],c=o[1],l=N([n,r],2),u=l[0],f=l[1];i&&(u+=s,f+=c);var d=this.range,h=d.min,p=d.max;a=N(mj([h,p],[u,f],this.selection),2),u=a[0],f=a[1],this.update({defaultValue:[u,f]}),this.dispatchSelection()},Object.defineProperty(e.prototype,"step",{get:function(){var n=this.attributes.step,r=n===void 0?1:n,i=this.range,a=i.min,o=i.max;return ne(r)?fh((o-a)*Mj,0):r},enumerable:!1,configurable:!0}),e.prototype.getTickValue=function(n){var r=this.attributes,i=r.data,a=r.block,o=this.range.min;return a?$y(i.map(function(s){var c=s.value;return c}),n).tick:pj(n,this.step,o)},e.prototype.getValueByCanvasPoint=function(n,r){var i=this.range,a=i.min,o=i.max,s=N(this.ribbon.node().getPosition(),2),c=s[0],l=s[1],u=this.ifHorizontal(c,l),f=this.ifHorizontal.apply(this,q([],N($l(n)),!1)),d=f-u,h=ce(this.getOffset(d,!0),a,o);return h},e.prototype.getOffset=function(n,r){r===void 0&&(r=!1);var i=this.range,a=i.min,o=i.max,s=this.ribbonShape.length,c=this.eventToOffsetScale;return c.update({domain:[a,o],range:[0,s]}),r?c.invert(n):c.map(n)},e.prototype.dispatchSelection=function(){var n=new Dt("valuechange",{detail:{value:this.selection}});this.dispatchEvent(n)},e.prototype.dispatchIndicated=function(n,r){var i=new Dt("indicate",{detail:{value:n,range:r}});this.dispatchEvent(i)},e}(Pe);function gh(t){return t===void 0&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var By={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"};function Bj(t){var e;t===void 0&&(t="");var n=gh(t);return e={},e[".".concat(n.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},e[".".concat(n.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},e[".".concat(n.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},e[".".concat(n.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},e[".".concat(n.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},e[".".concat(n.NAME)]={display:"flex","align-items":"center","max-width":"216px"},e[".".concat(n.NAME_LABEL)]=z({flex:1},By),e[".".concat(n.VALUE)]=z({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},By),e[".".concat(n.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},e[".".concat(n.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},e}var Fj=function(t){rt(e,t);function e(n){var r=this,i,a,o=(a=(i=n.style)===null||i===void 0?void 0:i.template)===null||a===void 0?void 0:a.prefixCls,s=gh(o);return r=t.call(this,n,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'<div class="'.concat(s.CONTAINER,'"></div>'),title:'<div class="'.concat(s.TITLE,'"></div>'),item:'<li class="'.concat(s.LIST_ITEM,`" data-index={index}>
<span class="`).concat(s.NAME,`">
<span class="`).concat(s.MARKER,`" style="background:{color}"></span>
diff --git a/app/dubbo-ui/dist/admin/assets/index-VDeT_deC.js b/app/dubbo-ui/dist/admin/assets/index-VDeT_deC.js
new file mode 100644
index 0000000..2d835b0
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/index-VDeT_deC.js
@@ -0,0 +1 @@
+import{d as R,v as g,y as D,z as C,D as N,a as S,r as $,c as l,b as t,w as n,n as o,P as E,U as V,e as b,o as c,Y as p,f as r,j as A,I as B,t as y,T as f,L as k,_ as O}from"./index-3zDsduUv.js";import{b as Y,c as P}from"./traffic-dHGZ6qwp.js";import{S as F,a as M,s as h}from"./SearchUtil-bfid3zNl.js";import{f as j}from"./DateUtil-QXt7LnE3.js";import"./request-3an337VF.js";const G={class:"tag-rule-container"},J=["onClick"],K=R({__name:"index",setup(L){g(e=>({c2298156:o(E)}));const I=D(C.PROVIDE_INJECT_KEY);N(()=>{I.tagRule=null}),S();let v=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,a)=>h(e.appName,a.appName),width:140},{title:"createTime",key:"createTime",dataIndex:"createTime",width:120,sorter:(e,a)=>h(e.instanceNum,a.instanceNum)},{title:"enable",key:"enabled",dataIndex:"enabled",width:120,sorter:(e,a)=>h(e.instanceNum,a.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const s=$(new F([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],Y,v)),x=async e=>{(await P(e)).code===200&&await s.onSearch()};N(()=>{s.onSearch(),s.tableStyle={scrollX:"100",scrollY:"367px"}});const T=e=>{x(e)};return V(C.SEARCH_DOMAIN,s),(e,a)=>{const d=b("a-button"),w=b("a-popconfirm");return c(),l("div",G,[t(M,{"search-domain":s},{customOperation:n(()=>[t(d,{type:"primary",onClick:a[0]||(a[0]=m=>o(p).push("/traffic/addTagRule/addByFormView"))},{default:n(()=>[r(" 新增标签路由规则 ")]),_:1})]),bodyCell:n(({text:m,column:i,record:u})=>[i.dataIndex==="ruleName"?(c(),l("span",{key:0,class:"rule-link",onClick:_=>o(p).push(`/traffic/tagRule/formview/${u[i.key]}`)},[A("b",null,[t(o(B),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),r(" "+y(m),1)])],8,J)):f("",!0),i.dataIndex==="createTime"?(c(),l(k,{key:1},[r(y(o(j)(m)),1)],64)):f("",!0),i.dataIndex==="enabled"?(c(),l(k,{key:2},[r(y(m?e.$t("flowControlDomain.enabled"):e.$t("flowControlDomain.disabled")),1)],64)):f("",!0),i.dataIndex==="operation"?(c(),l(k,{key:3},[t(d,{type:"link",onClick:_=>o(p).push(`formview/${u.ruleName}`)},{default:n(()=>[r(" 查看 ")]),_:2},1032,["onClick"]),t(d,{onClick:_=>o(p).push(`/traffic/updateTagRule/updateByFormView/${u.ruleName}`),type:"link"},{default:n(()=>[r(" 修改 ")]),_:2},1032,["onClick"]),t(w,{title:"确认删除该标签路由规则?","ok-text":"Yes","cancel-text":"No",onConfirm:_=>T(u.ruleName)},{default:n(()=>[t(d,{type:"link"},{default:n(()=>[r(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])],64)):f("",!0)]),_:1},8,["search-domain"])])}}}),Q=O(K,[["__scopeId","data-v-8b7bd8e7"]]);export{Q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-VJs-1Ntn.js b/app/dubbo-ui/dist/admin/assets/index-fU57L0AQ.js
similarity index 63%
rename from app/dubbo-ui/dist/admin/assets/index-VJs-1Ntn.js
rename to app/dubbo-ui/dist/admin/assets/index-fU57L0AQ.js
index b1f7b77..e173b7c 100644
--- a/app/dubbo-ui/dist/admin/assets/index-VJs-1Ntn.js
+++ b/app/dubbo-ui/dist/admin/assets/index-fU57L0AQ.js
@@ -1,4 +1,4 @@
-import{d as w,v as b,a as D,r as N,W as T,D as E,c as _,b as I,w as l,n as p,P as R,F as O,R as q,e as v,o,X as V,j as A,I as L,f as c,t as m,Q as u,G as y,a1 as P,a2 as $,J as B,K as F,y as M,_ as Y}from"./index-hmLAZQYT.js";import{s as U}from"./instance-9-P3Wy8N.js";import{S as G,a as H,s as r}from"./SearchUtil-sOWd6ofa.js";import{p as J,q as f}from"./PromQueryUtil-2EbGMcmH.js";import{b as K}from"./ByteUtil-YdHlSEeW.js";import"./request-8jI_GZey.js";const Q={class:"instances-container"},X=["onClick"],j=w({__name:"index",setup(W){b(e=>({"2ab83322":p(R)}));let C=D(),g=C.query.query,S=[{title:"instanceDomain.instanceIP",key:"ip",dataIndex:"ip",sorter:(e,t)=>r(e.ip,t.ip),width:200},{title:"instanceDomain.instanceName",key:"name",dataIndex:"name",sorter:(e,t)=>r(e.name,t.name),width:140},{title:"instanceDomain.deployState",key:"deployState",dataIndex:"deployState",width:120,sorter:(e,t)=>r(e.deployState,t.deployState)},{title:"instanceDomain.deployCluster",key:"deployCluster",dataIndex:"deployCluster",sorter:(e,t)=>r(e.deployCluster,t.deployCluster),width:120},{title:"instanceDomain.registerState",key:"registerState",dataIndex:"registerState",sorter:(e,t)=>r(e.registerState,t.registerState),width:120},{title:"instanceDomain.registerCluster",key:"registerClusters",dataIndex:"registerClusters",sorter:(e,t)=>r(e.registerClusters,t.registerClusters),width:140},{title:"instanceDomain.CPU",key:"cpu",dataIndex:"cpu",sorter:(e,t)=>r(e.cpu,t.cpu),width:140},{title:"instanceDomain.memory",key:"memory",dataIndex:"memory",sorter:(e,t)=>r(e.memory,t.memory),width:100},{title:"instanceDomain.startTime_k8s",key:"startTime_k8s",dataIndex:"startTime",sorter:(e,t)=>r(e.startTime,t.startTime),width:200}];function x(e){return U(e).then(async t=>J(t,["cpu","memory"],async s=>{let a=s.ip.split(":")[0],i=await f(`sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container!=""}) by (pod) * on (pod) group_left(pod_ip)
+import{d as w,v as b,a as D,r as N,D as T,F as E,c as _,b as I,w as l,n as p,P as R,H as O,U as q,e as v,o,Y as L,j as V,I as A,f as c,t as m,T as u,J as y,a2 as P,a3 as M,L as Y,M as $,z as B,_ as F}from"./index-3zDsduUv.js";import{s as U}from"./instance-qriYfOrq.js";import{S as H,a as J,s as r}from"./SearchUtil-bfid3zNl.js";import{p as j,q as f}from"./PromQueryUtil-4K1j3sa5.js";import{b as z}from"./ByteUtil-YdHlSEeW.js";import"./request-3an337VF.js";const G={class:"instances-container"},K=["onClick"],Q=w({__name:"index",setup(X){b(e=>({"2ab83322":p(R)}));let C=D(),g=C.query.query,S=[{title:"instanceDomain.instanceIP",key:"ip",dataIndex:"ip",sorter:(e,t)=>r(e.ip,t.ip),width:200},{title:"instanceDomain.instanceName",key:"name",dataIndex:"name",sorter:(e,t)=>r(e.name,t.name),width:140},{title:"instanceDomain.deployState",key:"deployState",dataIndex:"deployState",width:120,sorter:(e,t)=>r(e.deployState,t.deployState)},{title:"instanceDomain.deployCluster",key:"deployCluster",dataIndex:"deployCluster",sorter:(e,t)=>r(e.deployCluster,t.deployCluster),width:120},{title:"instanceDomain.registerState",key:"registerState",dataIndex:"registerState",sorter:(e,t)=>r(e.registerState,t.registerState),width:120},{title:"instanceDomain.registerCluster",key:"registerClusters",dataIndex:"registerClusters",sorter:(e,t)=>r(e.registerClusters,t.registerClusters),width:140},{title:"instanceDomain.CPU",key:"cpu",dataIndex:"cpu",sorter:(e,t)=>r(e.cpu,t.cpu),width:140},{title:"instanceDomain.memory",key:"memory",dataIndex:"memory",sorter:(e,t)=>r(e.memory,t.memory),width:100},{title:"instanceDomain.startTime_k8s",key:"startTime_k8s",dataIndex:"startTime",sorter:(e,t)=>r(e.startTime,t.startTime),width:200}];function x(e){return U(e).then(async t=>j(t,["cpu","memory"],async s=>{let a=s.ip.split(":")[0],i=await f(`sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container!=""}) by (pod) * on (pod) group_left(pod_ip)
kube_pod_info{pod_ip="${a}"}`),h=await f(`sum(container_memory_working_set_bytes{container!=""}) by (pod)
* on (pod) group_left(pod_ip)
-kube_pod_info{pod_ip="${a}"}`);s.cpu=O.isNumber(i)?i.toFixed(3)+"u":i,s.memory=K(h)}))}const n=N(new G([{label:"appName",param:"keywords",defaultValue:g,placeholder:"typeAppName",style:{width:"200px"}}],x,S));return T(()=>{n.tableStyle={scrollX:"100",scrollY:"367px"},n.onSearch()}),q(M.SEARCH_DOMAIN,n),E(C,(e,t)=>{n.queryForm.keywords=e.query.query,n.onSearch(),console.log(e)}),(e,t)=>{const s=v("a-tag");return o(),_("div",Q,[I(H,{"search-domain":n},{bodyCell:l(({text:a,record:i,index:h,column:d})=>[d.dataIndex==="ip"?(o(),_("span",{key:0,class:"app-link",onClick:k=>p(V).push(`/resources/instances/detail/${i.name}/${i[d.key]}`)},[A("b",null,[I(p(L),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),c(" "+m(a),1)])],8,X)):u("",!0),d.dataIndex==="deployState"?(o(),y(s,{key:1,color:p(P)[a.toUpperCase()]},{default:l(()=>[c(m(a),1)]),_:2},1032,["color"])):u("",!0),d.dataIndex==="deployCluster"?(o(),y(s,{key:2,color:"grey"},{default:l(()=>[c(m(a),1)]),_:2},1024)):u("",!0),d.dataIndex==="registerState"?(o(),y(s,{key:3,color:p($)[a.toUpperCase()]},{default:l(()=>[c(m(a),1)]),_:2},1032,["color"])):u("",!0),d.dataIndex==="registerClusters"?(o(!0),_(B,{key:4},F(a,k=>(o(),y(s,{color:"grey"},{default:l(()=>[c(m(k),1)]),_:2},1024))),256)):u("",!0)]),_:1},8,["search-domain"])])}}}),se=Y(j,[["__scopeId","data-v-2f938e3f"]]);export{se as default};
+kube_pod_info{pod_ip="${a}"}`);s.cpu=O.isNumber(i)?i.toFixed(3)+"u":i,s.memory=z(h)}))}const n=N(new H([{label:"appName",param:"keywords",defaultValue:g,placeholder:"typeAppName",style:{width:"200px"}}],x,S));return T(()=>{n.tableStyle={scrollX:"100",scrollY:"367px"},n.onSearch()}),q(B.SEARCH_DOMAIN,n),E(C,(e,t)=>{n.queryForm.keywords=e.query.query,n.onSearch(),console.log(e)}),(e,t)=>{const s=v("a-tag");return o(),_("div",G,[I(J,{"search-domain":n},{bodyCell:l(({text:a,record:i,index:h,column:d})=>[d.dataIndex==="ip"?(o(),_("span",{key:0,class:"app-link",onClick:k=>p(L).push(`/resources/instances/detail/${i.name}/${i[d.key]}`)},[V("b",null,[I(p(A),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),c(" "+m(a),1)])],8,K)):u("",!0),d.dataIndex==="deployState"?(o(),y(s,{key:1,color:p(P)[a.toUpperCase()]},{default:l(()=>[c(m(a),1)]),_:2},1032,["color"])):u("",!0),d.dataIndex==="deployCluster"?(o(),y(s,{key:2,color:"grey"},{default:l(()=>[c(m(a),1)]),_:2},1024)):u("",!0),d.dataIndex==="registerState"?(o(),y(s,{key:3,color:p(M)[a.toUpperCase()]},{default:l(()=>[c(m(a),1)]),_:2},1032,["color"])):u("",!0),d.dataIndex==="registerClusters"?(o(!0),_(Y,{key:4},$(a,k=>(o(),y(s,{color:"grey"},{default:l(()=>[c(m(k),1)]),_:2},1024))),256)):u("",!0)]),_:1},8,["search-domain"])])}}}),se=F(Q,[["__scopeId","data-v-2f938e3f"]]);export{se as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-PRmcKXGy.js b/app/dubbo-ui/dist/admin/assets/index-gNarHmYQ.js
similarity index 67%
rename from app/dubbo-ui/dist/admin/assets/index-PRmcKXGy.js
rename to app/dubbo-ui/dist/admin/assets/index-gNarHmYQ.js
index 191a05a..86328fb 100644
--- a/app/dubbo-ui/dist/admin/assets/index-PRmcKXGy.js
+++ b/app/dubbo-ui/dist/admin/assets/index-gNarHmYQ.js
@@ -1 +1 @@
-import{_ as e,c,o}from"./index-hmLAZQYT.js";const n={},_={class:"__container_common_index"};function t(r,s){return o(),c("div",_,"placeholder demo")}const d=e(n,[["render",t]]);export{d as default};
+import{_ as e,c,o}from"./index-3zDsduUv.js";const n={},_={class:"__container_common_index"};function t(r,s){return o(),c("div",_,"placeholder demo")}const d=e(n,[["render",t]]);export{d as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-hmLAZQYT.js b/app/dubbo-ui/dist/admin/assets/index-hmLAZQYT.js
deleted file mode 100644
index a675c83..0000000
--- a/app/dubbo-ui/dist/admin/assets/index-hmLAZQYT.js
+++ /dev/null
@@ -1,573 +0,0 @@
-(function(){const Cn=document.createElement("link").relList;if(Cn&&Cn.supports&&Cn.supports("modulepreload"))return;for(const In of document.querySelectorAll('link[rel="modulepreload"]'))Pn(In);new MutationObserver(In=>{for(const Nn of In)if(Nn.type==="childList")for(const Rn of Nn.addedNodes)Rn.tagName==="LINK"&&Rn.rel==="modulepreload"&&Pn(Rn)}).observe(document,{childList:!0,subtree:!0});function _n(In){const Nn={};return In.integrity&&(Nn.integrity=In.integrity),In.referrerPolicy&&(Nn.referrerPolicy=In.referrerPolicy),In.crossOrigin==="use-credentials"?Nn.credentials="include":In.crossOrigin==="anonymous"?Nn.credentials="omit":Nn.credentials="same-origin",Nn}function Pn(In){if(In.ep)return;In.ep=!0;const Nn=_n(In);fetch(In.href,Nn)}})();/**
-* @vue/shared v3.4.15
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/function makeMap($n,Cn){const _n=new Set($n.split(","));return Cn?Pn=>_n.has(Pn.toLowerCase()):Pn=>_n.has(Pn)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn$1=$n=>$n.charCodeAt(0)===111&&$n.charCodeAt(1)===110&&($n.charCodeAt(2)>122||$n.charCodeAt(2)<97),isModelListener=$n=>$n.startsWith("onUpdate:"),extend=Object.assign,remove=($n,Cn)=>{const _n=$n.indexOf(Cn);_n>-1&&$n.splice(_n,1)},hasOwnProperty$h=Object.prototype.hasOwnProperty,hasOwn$2=($n,Cn)=>hasOwnProperty$h.call($n,Cn),isArray$4=Array.isArray,isMap$1=$n=>toTypeString$1($n)==="[object Map]",isSet$1=$n=>toTypeString$1($n)==="[object Set]",isFunction$3=$n=>typeof $n=="function",isString$4=$n=>typeof $n=="string",isSymbol$1=$n=>typeof $n=="symbol",isObject$7=$n=>$n!==null&&typeof $n=="object",isPromise$1=$n=>(isObject$7($n)||isFunction$3($n))&&isFunction$3($n.then)&&isFunction$3($n.catch),objectToString$2=Object.prototype.toString,toTypeString$1=$n=>objectToString$2.call($n),toRawType=$n=>toTypeString$1($n).slice(8,-1),isPlainObject$3=$n=>toTypeString$1($n)==="[object Object]",isIntegerKey=$n=>isString$4($n)&&$n!=="NaN"&&$n[0]!=="-"&&""+parseInt($n,10)===$n,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction$1=$n=>{const Cn=Object.create(null);return _n=>Cn[_n]||(Cn[_n]=$n(_n))},camelizeRE$1=/-(\w)/g,camelize$1=cacheStringFunction$1($n=>$n.replace(camelizeRE$1,(Cn,_n)=>_n?_n.toUpperCase():"")),hyphenateRE$1=/\B([A-Z])/g,hyphenate$1=cacheStringFunction$1($n=>$n.replace(hyphenateRE$1,"-$1").toLowerCase()),capitalize$2=cacheStringFunction$1($n=>$n.charAt(0).toUpperCase()+$n.slice(1)),toHandlerKey=cacheStringFunction$1($n=>$n?`on${capitalize$2($n)}`:""),hasChanged=($n,Cn)=>!Object.is($n,Cn),invokeArrayFns=($n,Cn)=>{for(let _n=0;_n<$n.length;_n++)$n[_n](Cn)},def=($n,Cn,_n)=>{Object.defineProperty($n,Cn,{configurable:!0,enumerable:!1,value:_n})},looseToNumber=$n=>{const Cn=parseFloat($n);return isNaN(Cn)?$n:Cn},toNumber$1=$n=>{const Cn=isString$4($n)?Number($n):NaN;return isNaN(Cn)?$n:Cn};let _globalThis$1;const getGlobalThis$1=()=>_globalThis$1||(_globalThis$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle$1($n){if(isArray$4($n)){const Cn={};for(let _n=0;_n<$n.length;_n++){const Pn=$n[_n],In=isString$4(Pn)?parseStringStyle(Pn):normalizeStyle$1(Pn);if(In)for(const Nn in In)Cn[Nn]=In[Nn]}return Cn}else if(isString$4($n)||isObject$7($n))return $n}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle($n){const Cn={};return $n.replace(styleCommentRE,"").split(listDelimiterRE).forEach(_n=>{if(_n){const Pn=_n.split(propertyDelimiterRE);Pn.length>1&&(Cn[Pn[0].trim()]=Pn[1].trim())}}),Cn}function normalizeClass($n){let Cn="";if(isString$4($n))Cn=$n;else if(isArray$4($n))for(let _n=0;_n<$n.length;_n++){const Pn=normalizeClass($n[_n]);Pn&&(Cn+=Pn+" ")}else if(isObject$7($n))for(const _n in $n)$n[_n]&&(Cn+=_n+" ");return Cn.trim()}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr($n){return!!$n||$n===""}const toDisplayString$1=$n=>isString$4($n)?$n:$n==null?"":isArray$4($n)||isObject$7($n)&&($n.toString===objectToString$2||!isFunction$3($n.toString))?JSON.stringify($n,replacer,2):String($n),replacer=($n,Cn)=>Cn&&Cn.__v_isRef?replacer($n,Cn.value):isMap$1(Cn)?{[`Map(${Cn.size})`]:[...Cn.entries()].reduce((_n,[Pn,In],Nn)=>(_n[stringifySymbol(Pn,Nn)+" =>"]=In,_n),{})}:isSet$1(Cn)?{[`Set(${Cn.size})`]:[...Cn.values()].map(_n=>stringifySymbol(_n))}:isSymbol$1(Cn)?stringifySymbol(Cn):isObject$7(Cn)&&!isArray$4(Cn)&&!isPlainObject$3(Cn)?String(Cn):Cn,stringifySymbol=($n,Cn="")=>{var _n;return isSymbol$1($n)?`Symbol(${(_n=$n.description)!=null?_n:Cn})`:$n};/**
-* @vue/reactivity v3.4.15
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/let activeEffectScope;class EffectScope{constructor(Cn=!1){this.detached=Cn,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!Cn&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(Cn){if(this._active){const _n=activeEffectScope;try{return activeEffectScope=this,Cn()}finally{activeEffectScope=_n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(Cn){if(this._active){let _n,Pn;for(_n=0,Pn=this.effects.length;_n<Pn;_n++)this.effects[_n].stop();for(_n=0,Pn=this.cleanups.length;_n<Pn;_n++)this.cleanups[_n]();if(this.scopes)for(_n=0,Pn=this.scopes.length;_n<Pn;_n++)this.scopes[_n].stop(!0);if(!this.detached&&this.parent&&!Cn){const In=this.parent.scopes.pop();In&&In!==this&&(this.parent.scopes[this.index]=In,In.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope($n){return new EffectScope($n)}function recordEffectScope($n,Cn=activeEffectScope){Cn&&Cn.active&&Cn.effects.push($n)}function getCurrentScope(){return activeEffectScope}function onScopeDispose($n){activeEffectScope&&activeEffectScope.cleanups.push($n)}let activeEffect;class ReactiveEffect{constructor(Cn,_n,Pn,In){this.fn=Cn,this.trigger=_n,this.scheduler=Pn,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,In)}get dirty(){if(this._dirtyLevel===1){pauseTracking();for(let Cn=0;Cn<this._depsLength;Cn++){const _n=this.deps[Cn];if(_n.computed&&(triggerComputed(_n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=2}set dirty(Cn){this._dirtyLevel=Cn?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let Cn=shouldTrack,_n=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=_n,shouldTrack=Cn}}stop(){var Cn;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(Cn=this.onStop)==null||Cn.call(this),this.active=!1)}}function triggerComputed($n){return $n.value}function preCleanupEffect($n){$n._trackId++,$n._depsLength=0}function postCleanupEffect($n){if($n.deps&&$n.deps.length>$n._depsLength){for(let Cn=$n._depsLength;Cn<$n.deps.length;Cn++)cleanupDepEffect($n.deps[Cn],$n);$n.deps.length=$n._depsLength}}function cleanupDepEffect($n,Cn){const _n=$n.get(Cn);_n!==void 0&&Cn._trackId!==_n&&($n.delete(Cn),$n.size===0&&$n.cleanup())}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const $n=trackStack.pop();shouldTrack=$n===void 0?!0:$n}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect($n,Cn,_n){if(Cn.get($n)!==$n._trackId){Cn.set($n,$n._trackId);const Pn=$n.deps[$n._depsLength];Pn!==Cn?(Pn&&cleanupDepEffect(Pn,$n),$n.deps[$n._depsLength++]=Cn):$n._depsLength++}}const queueEffectSchedulers=[];function triggerEffects($n,Cn,_n){pauseScheduling();for(const Pn of $n.keys())if(Pn._dirtyLevel<Cn&&$n.get(Pn)===Pn._trackId){const In=Pn._dirtyLevel;Pn._dirtyLevel=Cn,In===0&&(Pn._shouldSchedule=!0,Pn.trigger())}scheduleEffects($n),resetScheduling()}function scheduleEffects($n){for(const Cn of $n.keys())Cn.scheduler&&Cn._shouldSchedule&&(!Cn._runnings||Cn.allowRecurse)&&$n.get(Cn)===Cn._trackId&&(Cn._shouldSchedule=!1,queueEffectSchedulers.push(Cn.scheduler))}const createDep=($n,Cn)=>{const _n=new Map;return _n.cleanup=$n,_n.computed=Cn,_n},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track($n,Cn,_n){if(shouldTrack&&activeEffect){let Pn=targetMap.get($n);Pn||targetMap.set($n,Pn=new Map);let In=Pn.get(_n);In||Pn.set(_n,In=createDep(()=>Pn.delete(_n))),trackEffect(activeEffect,In)}}function trigger$1($n,Cn,_n,Pn,In,Nn){const Rn=targetMap.get($n);if(!Rn)return;let Dn=[];if(Cn==="clear")Dn=[...Rn.values()];else if(_n==="length"&&isArray$4($n)){const Ln=Number(Pn);Rn.forEach((Fn,Bn)=>{(Bn==="length"||!isSymbol$1(Bn)&&Bn>=Ln)&&Dn.push(Fn)})}else switch(_n!==void 0&&Dn.push(Rn.get(_n)),Cn){case"add":isArray$4($n)?isIntegerKey(_n)&&Dn.push(Rn.get("length")):(Dn.push(Rn.get(ITERATE_KEY)),isMap$1($n)&&Dn.push(Rn.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$4($n)||(Dn.push(Rn.get(ITERATE_KEY)),isMap$1($n)&&Dn.push(Rn.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1($n)&&Dn.push(Rn.get(ITERATE_KEY));break}pauseScheduling();for(const Ln of Dn)Ln&&triggerEffects(Ln,2);resetScheduling()}function getDepFromReactive($n,Cn){var _n;return(_n=targetMap.get($n))==null?void 0:_n.get(Cn)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter($n=>$n!=="arguments"&&$n!=="caller").map($n=>Symbol[$n]).filter(isSymbol$1)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const $n={};return["includes","indexOf","lastIndexOf"].forEach(Cn=>{$n[Cn]=function(..._n){const Pn=toRaw(this);for(let Nn=0,Rn=this.length;Nn<Rn;Nn++)track(Pn,"get",Nn+"");const In=Pn[Cn](..._n);return In===-1||In===!1?Pn[Cn](..._n.map(toRaw)):In}}),["push","pop","shift","unshift","splice"].forEach(Cn=>{$n[Cn]=function(..._n){pauseTracking(),pauseScheduling();const Pn=toRaw(this)[Cn].apply(this,_n);return resetScheduling(),resetTracking(),Pn}}),$n}function hasOwnProperty$g($n){const Cn=toRaw(this);return track(Cn,"has",$n),Cn.hasOwnProperty($n)}class BaseReactiveHandler{constructor(Cn=!1,_n=!1){this._isReadonly=Cn,this._shallow=_n}get(Cn,_n,Pn){const In=this._isReadonly,Nn=this._shallow;if(_n==="__v_isReactive")return!In;if(_n==="__v_isReadonly")return In;if(_n==="__v_isShallow")return Nn;if(_n==="__v_raw")return Pn===(In?Nn?shallowReadonlyMap:readonlyMap:Nn?shallowReactiveMap:reactiveMap).get(Cn)||Object.getPrototypeOf(Cn)===Object.getPrototypeOf(Pn)?Cn:void 0;const Rn=isArray$4(Cn);if(!In){if(Rn&&hasOwn$2(arrayInstrumentations,_n))return Reflect.get(arrayInstrumentations,_n,Pn);if(_n==="hasOwnProperty")return hasOwnProperty$g}const Dn=Reflect.get(Cn,_n,Pn);return(isSymbol$1(_n)?builtInSymbols.has(_n):isNonTrackableKeys(_n))||(In||track(Cn,"get",_n),Nn)?Dn:isRef(Dn)?Rn&&isIntegerKey(_n)?Dn:Dn.value:isObject$7(Dn)?In?readonly(Dn):reactive(Dn):Dn}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(Cn=!1){super(!1,Cn)}set(Cn,_n,Pn,In){let Nn=Cn[_n];if(!this._shallow){const Ln=isReadonly(Nn);if(!isShallow(Pn)&&!isReadonly(Pn)&&(Nn=toRaw(Nn),Pn=toRaw(Pn)),!isArray$4(Cn)&&isRef(Nn)&&!isRef(Pn))return Ln?!1:(Nn.value=Pn,!0)}const Rn=isArray$4(Cn)&&isIntegerKey(_n)?Number(_n)<Cn.length:hasOwn$2(Cn,_n),Dn=Reflect.set(Cn,_n,Pn,In);return Cn===toRaw(In)&&(Rn?hasChanged(Pn,Nn)&&trigger$1(Cn,"set",_n,Pn):trigger$1(Cn,"add",_n,Pn)),Dn}deleteProperty(Cn,_n){const Pn=hasOwn$2(Cn,_n);Cn[_n];const In=Reflect.deleteProperty(Cn,_n);return In&&Pn&&trigger$1(Cn,"delete",_n,void 0),In}has(Cn,_n){const Pn=Reflect.has(Cn,_n);return(!isSymbol$1(_n)||!builtInSymbols.has(_n))&&track(Cn,"has",_n),Pn}ownKeys(Cn){return track(Cn,"iterate",isArray$4(Cn)?"length":ITERATE_KEY),Reflect.ownKeys(Cn)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(Cn=!1){super(!0,Cn)}set(Cn,_n){return!0}deleteProperty(Cn,_n){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),toShallow=$n=>$n,getProto=$n=>Reflect.getPrototypeOf($n);function get$2($n,Cn,_n=!1,Pn=!1){$n=$n.__v_raw;const In=toRaw($n),Nn=toRaw(Cn);_n||(hasChanged(Cn,Nn)&&track(In,"get",Cn),track(In,"get",Nn));const{has:Rn}=getProto(In),Dn=Pn?toShallow:_n?toReadonly:toReactive$1;if(Rn.call(In,Cn))return Dn($n.get(Cn));if(Rn.call(In,Nn))return Dn($n.get(Nn));$n!==In&&$n.get(Cn)}function has($n,Cn=!1){const _n=this.__v_raw,Pn=toRaw(_n),In=toRaw($n);return Cn||(hasChanged($n,In)&&track(Pn,"has",$n),track(Pn,"has",In)),$n===In?_n.has($n):_n.has($n)||_n.has(In)}function size($n,Cn=!1){return $n=$n.__v_raw,!Cn&&track(toRaw($n),"iterate",ITERATE_KEY),Reflect.get($n,"size",$n)}function add($n){$n=toRaw($n);const Cn=toRaw(this);return getProto(Cn).has.call(Cn,$n)||(Cn.add($n),trigger$1(Cn,"add",$n,$n)),this}function set$1($n,Cn){Cn=toRaw(Cn);const _n=toRaw(this),{has:Pn,get:In}=getProto(_n);let Nn=Pn.call(_n,$n);Nn||($n=toRaw($n),Nn=Pn.call(_n,$n));const Rn=In.call(_n,$n);return _n.set($n,Cn),Nn?hasChanged(Cn,Rn)&&trigger$1(_n,"set",$n,Cn):trigger$1(_n,"add",$n,Cn),this}function deleteEntry($n){const Cn=toRaw(this),{has:_n,get:Pn}=getProto(Cn);let In=_n.call(Cn,$n);In||($n=toRaw($n),In=_n.call(Cn,$n)),Pn&&Pn.call(Cn,$n);const Nn=Cn.delete($n);return In&&trigger$1(Cn,"delete",$n,void 0),Nn}function clear(){const $n=toRaw(this),Cn=$n.size!==0,_n=$n.clear();return Cn&&trigger$1($n,"clear",void 0,void 0),_n}function createForEach($n,Cn){return function(Pn,In){const Nn=this,Rn=Nn.__v_raw,Dn=toRaw(Rn),Ln=Cn?toShallow:$n?toReadonly:toReactive$1;return!$n&&track(Dn,"iterate",ITERATE_KEY),Rn.forEach((Fn,Bn)=>Pn.call(In,Ln(Fn),Ln(Bn),Nn))}}function createIterableMethod($n,Cn,_n){return function(...Pn){const In=this.__v_raw,Nn=toRaw(In),Rn=isMap$1(Nn),Dn=$n==="entries"||$n===Symbol.iterator&&Rn,Ln=$n==="keys"&&Rn,Fn=In[$n](...Pn),Bn=_n?toShallow:Cn?toReadonly:toReactive$1;return!Cn&&track(Nn,"iterate",Ln?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:Hn,done:zn}=Fn.next();return zn?{value:Hn,done:zn}:{value:Dn?[Bn(Hn[0]),Bn(Hn[1])]:Bn(Hn),done:zn}},[Symbol.iterator](){return this}}}}function createReadonlyMethod($n){return function(...Cn){return $n==="delete"?!1:$n==="clear"?void 0:this}}function createInstrumentations(){const $n={get(Nn){return get$2(this,Nn)},get size(){return size(this)},has,add,set:set$1,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},Cn={get(Nn){return get$2(this,Nn,!1,!0)},get size(){return size(this)},has,add,set:set$1,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},_n={get(Nn){return get$2(this,Nn,!0)},get size(){return size(this,!0)},has(Nn){return has.call(this,Nn,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},Pn={get(Nn){return get$2(this,Nn,!0,!0)},get size(){return size(this,!0)},has(Nn){return has.call(this,Nn,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(Nn=>{$n[Nn]=createIterableMethod(Nn,!1,!1),_n[Nn]=createIterableMethod(Nn,!0,!1),Cn[Nn]=createIterableMethod(Nn,!1,!0),Pn[Nn]=createIterableMethod(Nn,!0,!0)}),[$n,_n,Cn,Pn]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter($n,Cn){const _n=Cn?$n?shallowReadonlyInstrumentations:shallowInstrumentations:$n?readonlyInstrumentations:mutableInstrumentations;return(Pn,In,Nn)=>In==="__v_isReactive"?!$n:In==="__v_isReadonly"?$n:In==="__v_raw"?Pn:Reflect.get(hasOwn$2(_n,In)&&In in Pn?_n:Pn,In,Nn)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap($n){switch($n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType($n){return $n.__v_skip||!Object.isExtensible($n)?0:targetTypeMap(toRawType($n))}function reactive($n){return isReadonly($n)?$n:createReactiveObject($n,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive($n){return createReactiveObject($n,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly($n){return createReactiveObject($n,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject($n,Cn,_n,Pn,In){if(!isObject$7($n)||$n.__v_raw&&!(Cn&&$n.__v_isReactive))return $n;const Nn=In.get($n);if(Nn)return Nn;const Rn=getTargetType($n);if(Rn===0)return $n;const Dn=new Proxy($n,Rn===2?Pn:_n);return In.set($n,Dn),Dn}function isReactive($n){return isReadonly($n)?isReactive($n.__v_raw):!!($n&&$n.__v_isReactive)}function isReadonly($n){return!!($n&&$n.__v_isReadonly)}function isShallow($n){return!!($n&&$n.__v_isShallow)}function isProxy($n){return isReactive($n)||isReadonly($n)}function toRaw($n){const Cn=$n&&$n.__v_raw;return Cn?toRaw(Cn):$n}function markRaw($n){return def($n,"__v_skip",!0),$n}const toReactive$1=$n=>isObject$7($n)?reactive($n):$n,toReadonly=$n=>isObject$7($n)?readonly($n):$n;class ComputedRefImpl{constructor(Cn,_n,Pn,In){this._setter=_n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>Cn(this._value),()=>triggerRefValue(this,1),()=>this.dep&&scheduleEffects(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!In,this.__v_isReadonly=Pn}get value(){const Cn=toRaw(this);return(!Cn._cacheable||Cn.effect.dirty)&&hasChanged(Cn._value,Cn._value=Cn.effect.run())&&triggerRefValue(Cn,2),trackRefValue(Cn),Cn.effect._dirtyLevel>=1&&triggerRefValue(Cn,1),Cn._value}set value(Cn){this._setter(Cn)}get _dirty(){return this.effect.dirty}set _dirty(Cn){this.effect.dirty=Cn}}function computed$1($n,Cn,_n=!1){let Pn,In;const Nn=isFunction$3($n);return Nn?(Pn=$n,In=NOOP):(Pn=$n.get,In=$n.set),new ComputedRefImpl(Pn,In,Nn||!In,_n)}function trackRefValue($n){shouldTrack&&activeEffect&&($n=toRaw($n),trackEffect(activeEffect,$n.dep||($n.dep=createDep(()=>$n.dep=void 0,$n instanceof ComputedRefImpl?$n:void 0))))}function triggerRefValue($n,Cn=2,_n){$n=toRaw($n);const Pn=$n.dep;Pn&&triggerEffects(Pn,Cn)}function isRef($n){return!!($n&&$n.__v_isRef===!0)}function ref($n){return createRef$1($n,!1)}function shallowRef($n){return createRef$1($n,!0)}function createRef$1($n,Cn){return isRef($n)?$n:new RefImpl($n,Cn)}class RefImpl{constructor(Cn,_n){this.__v_isShallow=_n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=_n?Cn:toRaw(Cn),this._value=_n?Cn:toReactive$1(Cn)}get value(){return trackRefValue(this),this._value}set value(Cn){const _n=this.__v_isShallow||isShallow(Cn)||isReadonly(Cn);Cn=_n?Cn:toRaw(Cn),hasChanged(Cn,this._rawValue)&&(this._rawValue=Cn,this._value=_n?Cn:toReactive$1(Cn),triggerRefValue(this,2))}}function triggerRef($n){triggerRefValue($n,2)}function unref($n){return isRef($n)?$n.value:$n}const shallowUnwrapHandlers={get:($n,Cn,_n)=>unref(Reflect.get($n,Cn,_n)),set:($n,Cn,_n,Pn)=>{const In=$n[Cn];return isRef(In)&&!isRef(_n)?(In.value=_n,!0):Reflect.set($n,Cn,_n,Pn)}};function proxyRefs($n){return isReactive($n)?$n:new Proxy($n,shallowUnwrapHandlers)}function toRefs($n){const Cn=isArray$4($n)?new Array($n.length):{};for(const _n in $n)Cn[_n]=propertyToRef($n,_n);return Cn}class ObjectRefImpl{constructor(Cn,_n,Pn){this._object=Cn,this._key=_n,this._defaultValue=Pn,this.__v_isRef=!0}get value(){const Cn=this._object[this._key];return Cn===void 0?this._defaultValue:Cn}set value(Cn){this._object[this._key]=Cn}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(Cn){this._getter=Cn,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef($n,Cn,_n){return isRef($n)?$n:isFunction$3($n)?new GetterRefImpl($n):isObject$7($n)&&arguments.length>1?propertyToRef($n,Cn,_n):ref($n)}function propertyToRef($n,Cn,_n){const Pn=$n[Cn];return isRef(Pn)?Pn:new ObjectRefImpl($n,Cn,_n)}/**
-* @vue/runtime-core v3.4.15
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/const stack=[];function warn$1($n,...Cn){pauseTracking();const _n=stack.length?stack[stack.length-1].component:null,Pn=_n&&_n.appContext.config.warnHandler,In=getComponentTrace();if(Pn)callWithErrorHandling(Pn,_n,11,[$n+Cn.join(""),_n&&_n.proxy,In.map(({vnode:Nn})=>`at <${formatComponentName(_n,Nn.type)}>`).join(`
-`),In]);else{const Nn=[`[Vue warn]: ${$n}`,...Cn];In.length&&Nn.push(`
-`,...formatTrace(In)),console.warn(...Nn)}resetTracking()}function getComponentTrace(){let $n=stack[stack.length-1];if(!$n)return[];const Cn=[];for(;$n;){const _n=Cn[0];_n&&_n.vnode===$n?_n.recurseCount++:Cn.push({vnode:$n,recurseCount:0});const Pn=$n.component&&$n.component.parent;$n=Pn&&Pn.vnode}return Cn}function formatTrace($n){const Cn=[];return $n.forEach((_n,Pn)=>{Cn.push(...Pn===0?[]:[`
-`],...formatTraceEntry(_n))}),Cn}function formatTraceEntry({vnode:$n,recurseCount:Cn}){const _n=Cn>0?`... (${Cn} recursive calls)`:"",Pn=$n.component?$n.component.parent==null:!1,In=` at <${formatComponentName($n.component,$n.type,Pn)}`,Nn=">"+_n;return $n.props?[In,...formatProps($n.props),Nn]:[In+Nn]}function formatProps($n){const Cn=[],_n=Object.keys($n);return _n.slice(0,3).forEach(Pn=>{Cn.push(...formatProp(Pn,$n[Pn]))}),_n.length>3&&Cn.push(" ..."),Cn}function formatProp($n,Cn,_n){return isString$4(Cn)?(Cn=JSON.stringify(Cn),_n?Cn:[`${$n}=${Cn}`]):typeof Cn=="number"||typeof Cn=="boolean"||Cn==null?_n?Cn:[`${$n}=${Cn}`]:isRef(Cn)?(Cn=formatProp($n,toRaw(Cn.value),!0),_n?Cn:[`${$n}=Ref<`,Cn,">"]):isFunction$3(Cn)?[`${$n}=fn${Cn.name?`<${Cn.name}>`:""}`]:(Cn=toRaw(Cn),_n?Cn:[`${$n}=`,Cn])}function callWithErrorHandling($n,Cn,_n,Pn){let In;try{In=Pn?$n(...Pn):$n()}catch(Nn){handleError(Nn,Cn,_n)}return In}function callWithAsyncErrorHandling($n,Cn,_n,Pn){if(isFunction$3($n)){const Nn=callWithErrorHandling($n,Cn,_n,Pn);return Nn&&isPromise$1(Nn)&&Nn.catch(Rn=>{handleError(Rn,Cn,_n)}),Nn}const In=[];for(let Nn=0;Nn<$n.length;Nn++)In.push(callWithAsyncErrorHandling($n[Nn],Cn,_n,Pn));return In}function handleError($n,Cn,_n,Pn=!0){const In=Cn?Cn.vnode:null;if(Cn){let Nn=Cn.parent;const Rn=Cn.proxy,Dn=`https://vuejs.org/error-reference/#runtime-${_n}`;for(;Nn;){const Fn=Nn.ec;if(Fn){for(let Bn=0;Bn<Fn.length;Bn++)if(Fn[Bn]($n,Rn,Dn)===!1)return}Nn=Nn.parent}const Ln=Cn.appContext.config.errorHandler;if(Ln){callWithErrorHandling(Ln,null,10,[$n,Rn,Dn]);return}}logError($n,_n,In,Pn)}function logError($n,Cn,_n,Pn=!0){console.error($n)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick($n){const Cn=currentFlushPromise||resolvedPromise;return $n?Cn.then(this?$n.bind(this):$n):Cn}function findInsertionIndex($n){let Cn=flushIndex+1,_n=queue.length;for(;Cn<_n;){const Pn=Cn+_n>>>1,In=queue[Pn],Nn=getId(In);Nn<$n||Nn===$n&&In.pre?Cn=Pn+1:_n=Pn}return Cn}function queueJob($n){(!queue.length||!queue.includes($n,isFlushing&&$n.allowRecurse?flushIndex+1:flushIndex))&&($n.id==null?queue.push($n):queue.splice(findInsertionIndex($n.id),0,$n),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob($n){const Cn=queue.indexOf($n);Cn>flushIndex&&queue.splice(Cn,1)}function queuePostFlushCb($n){isArray$4($n)?pendingPostFlushCbs.push(...$n):(!activePostFlushCbs||!activePostFlushCbs.includes($n,$n.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push($n),queueFlush()}function flushPreFlushCbs($n,Cn,_n=isFlushing?flushIndex+1:0){for(;_n<queue.length;_n++){const Pn=queue[_n];if(Pn&&Pn.pre){if($n&&Pn.id!==$n.uid)continue;queue.splice(_n,1),_n--,Pn()}}}function flushPostFlushCbs($n){if(pendingPostFlushCbs.length){const Cn=[...new Set(pendingPostFlushCbs)].sort((_n,Pn)=>getId(_n)-getId(Pn));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...Cn);return}for(activePostFlushCbs=Cn,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=$n=>$n.id==null?1/0:$n.id,comparator=($n,Cn)=>{const _n=getId($n)-getId(Cn);if(_n===0){if($n.pre&&!Cn.pre)return-1;if(Cn.pre&&!$n.pre)return 1}return _n};function flushJobs($n){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const Cn=queue[flushIndex];Cn&&Cn.active!==!1&&callWithErrorHandling(Cn,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}function emit($n,Cn,..._n){if($n.isUnmounted)return;const Pn=$n.vnode.props||EMPTY_OBJ;let In=_n;const Nn=Cn.startsWith("update:"),Rn=Nn&&Cn.slice(7);if(Rn&&Rn in Pn){const Bn=`${Rn==="modelValue"?"model":Rn}Modifiers`,{number:Hn,trim:zn}=Pn[Bn]||EMPTY_OBJ;zn&&(In=_n.map(Wn=>isString$4(Wn)?Wn.trim():Wn)),Hn&&(In=_n.map(looseToNumber))}let Dn,Ln=Pn[Dn=toHandlerKey(Cn)]||Pn[Dn=toHandlerKey(camelize$1(Cn))];!Ln&&Nn&&(Ln=Pn[Dn=toHandlerKey(hyphenate$1(Cn))]),Ln&&callWithAsyncErrorHandling(Ln,$n,6,In);const Fn=Pn[Dn+"Once"];if(Fn){if(!$n.emitted)$n.emitted={};else if($n.emitted[Dn])return;$n.emitted[Dn]=!0,callWithAsyncErrorHandling(Fn,$n,6,In)}}function normalizeEmitsOptions($n,Cn,_n=!1){const Pn=Cn.emitsCache,In=Pn.get($n);if(In!==void 0)return In;const Nn=$n.emits;let Rn={},Dn=!1;if(!isFunction$3($n)){const Ln=Fn=>{const Bn=normalizeEmitsOptions(Fn,Cn,!0);Bn&&(Dn=!0,extend(Rn,Bn))};!_n&&Cn.mixins.length&&Cn.mixins.forEach(Ln),$n.extends&&Ln($n.extends),$n.mixins&&$n.mixins.forEach(Ln)}return!Nn&&!Dn?(isObject$7($n)&&Pn.set($n,null),null):(isArray$4(Nn)?Nn.forEach(Ln=>Rn[Ln]=null):extend(Rn,Nn),isObject$7($n)&&Pn.set($n,Rn),Rn)}function isEmitListener($n,Cn){return!$n||!isOn$1(Cn)?!1:(Cn=Cn.slice(2).replace(/Once$/,""),hasOwn$2($n,Cn[0].toLowerCase()+Cn.slice(1))||hasOwn$2($n,hyphenate$1(Cn))||hasOwn$2($n,Cn))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance($n){const Cn=currentRenderingInstance;return currentRenderingInstance=$n,currentScopeId=$n&&$n.type.__scopeId||null,Cn}function pushScopeId($n){currentScopeId=$n}function popScopeId(){currentScopeId=null}function withCtx($n,Cn=currentRenderingInstance,_n){if(!Cn||$n._n)return $n;const Pn=(...In)=>{Pn._d&&setBlockTracking(-1);const Nn=setCurrentRenderingInstance(Cn);let Rn;try{Rn=$n(...In)}finally{setCurrentRenderingInstance(Nn),Pn._d&&setBlockTracking(1)}return Rn};return Pn._n=!0,Pn._c=!0,Pn._d=!0,Pn}function markAttrsAccessed(){}function renderComponentRoot($n){const{type:Cn,vnode:_n,proxy:Pn,withProxy:In,props:Nn,propsOptions:[Rn],slots:Dn,attrs:Ln,emit:Fn,render:Bn,renderCache:Hn,data:zn,setupState:Wn,ctx:Yn,inheritAttrs:Gn}=$n;let Go,Xn;const Yo=setCurrentRenderingInstance($n);try{if(_n.shapeFlag&4){const Jo=In||Pn,Zo=Jo;Go=normalizeVNode(Bn.call(Zo,Jo,Hn,Nn,Wn,zn,Yn)),Xn=Ln}else{const Jo=Cn;Go=normalizeVNode(Jo.length>1?Jo(Nn,{attrs:Ln,slots:Dn,emit:Fn}):Jo(Nn,null)),Xn=Cn.props?Ln:getFunctionalFallthrough(Ln)}}catch(Jo){blockStack.length=0,handleError(Jo,$n,1),Go=createVNode(Comment$1)}let qo=Go;if(Xn&&Gn!==!1){const Jo=Object.keys(Xn),{shapeFlag:Zo}=qo;Jo.length&&Zo&7&&(Rn&&Jo.some(isModelListener)&&(Xn=filterModelListeners(Xn,Rn)),qo=cloneVNode(qo,Xn))}return _n.dirs&&(qo=cloneVNode(qo),qo.dirs=qo.dirs?qo.dirs.concat(_n.dirs):_n.dirs),_n.transition&&(qo.transition=_n.transition),Go=qo,setCurrentRenderingInstance(Yo),Go}const getFunctionalFallthrough=$n=>{let Cn;for(const _n in $n)(_n==="class"||_n==="style"||isOn$1(_n))&&((Cn||(Cn={}))[_n]=$n[_n]);return Cn},filterModelListeners=($n,Cn)=>{const _n={};for(const Pn in $n)(!isModelListener(Pn)||!(Pn.slice(9)in Cn))&&(_n[Pn]=$n[Pn]);return _n};function shouldUpdateComponent($n,Cn,_n){const{props:Pn,children:In,component:Nn}=$n,{props:Rn,children:Dn,patchFlag:Ln}=Cn,Fn=Nn.emitsOptions;if(Cn.dirs||Cn.transition)return!0;if(_n&&Ln>=0){if(Ln&1024)return!0;if(Ln&16)return Pn?hasPropsChanged(Pn,Rn,Fn):!!Rn;if(Ln&8){const Bn=Cn.dynamicProps;for(let Hn=0;Hn<Bn.length;Hn++){const zn=Bn[Hn];if(Rn[zn]!==Pn[zn]&&!isEmitListener(Fn,zn))return!0}}}else return(In||Dn)&&(!Dn||!Dn.$stable)?!0:Pn===Rn?!1:Pn?Rn?hasPropsChanged(Pn,Rn,Fn):!0:!!Rn;return!1}function hasPropsChanged($n,Cn,_n){const Pn=Object.keys(Cn);if(Pn.length!==Object.keys($n).length)return!0;for(let In=0;In<Pn.length;In++){const Nn=Pn[In];if(Cn[Nn]!==$n[Nn]&&!isEmitListener(_n,Nn))return!0}return!1}function updateHOCHostEl({vnode:$n,parent:Cn},_n){for(;Cn;){const Pn=Cn.subTree;if(Pn.suspense&&Pn.suspense.activeBranch===$n&&(Pn.el=$n.el),Pn===$n)($n=Cn.vnode).el=_n,Cn=Cn.parent;else break}}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent($n,Cn){return resolveAsset(COMPONENTS,$n,!0,Cn)||$n}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent($n){return isString$4($n)?resolveAsset(COMPONENTS,$n,!1)||$n:$n||NULL_DYNAMIC_COMPONENT}function resolveDirective($n){return resolveAsset(DIRECTIVES,$n)}function resolveAsset($n,Cn,_n=!0,Pn=!1){const In=currentRenderingInstance||currentInstance;if(In){const Nn=In.type;if($n===COMPONENTS){const Dn=getComponentName(Nn,!1);if(Dn&&(Dn===Cn||Dn===camelize$1(Cn)||Dn===capitalize$2(camelize$1(Cn))))return Nn}const Rn=resolve(In[$n]||Nn[$n],Cn)||resolve(In.appContext[$n],Cn);return!Rn&&Pn?Nn:Rn}}function resolve($n,Cn){return $n&&($n[Cn]||$n[camelize$1(Cn)]||$n[capitalize$2(camelize$1(Cn))])}const isSuspense=$n=>$n.__isSuspense;function queueEffectWithSuspense($n,Cn){Cn&&Cn.pendingBranch?isArray$4($n)?Cn.effects.push(...$n):Cn.effects.push($n):queuePostFlushCb($n)}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect($n,Cn){return doWatch($n,null,Cn)}function watchPostEffect($n,Cn){return doWatch($n,null,{flush:"post"})}const INITIAL_WATCHER_VALUE={};function watch($n,Cn,_n){return doWatch($n,Cn,_n)}function doWatch($n,Cn,{immediate:_n,deep:Pn,flush:In,once:Nn,onTrack:Rn,onTrigger:Dn}=EMPTY_OBJ){if(Cn&&Nn){const rr=Cn;Cn=(...nr)=>{rr(...nr),Zo()}}const Ln=currentInstance,Fn=rr=>Pn===!0?rr:traverse(rr,Pn===!1?1:void 0);let Bn,Hn=!1,zn=!1;if(isRef($n)?(Bn=()=>$n.value,Hn=isShallow($n)):isReactive($n)?(Bn=()=>Fn($n),Hn=!0):isArray$4($n)?(zn=!0,Hn=$n.some(rr=>isReactive(rr)||isShallow(rr)),Bn=()=>$n.map(rr=>{if(isRef(rr))return rr.value;if(isReactive(rr))return Fn(rr);if(isFunction$3(rr))return callWithErrorHandling(rr,Ln,2)})):isFunction$3($n)?Cn?Bn=()=>callWithErrorHandling($n,Ln,2):Bn=()=>(Wn&&Wn(),callWithAsyncErrorHandling($n,Ln,3,[Yn])):Bn=NOOP,Cn&&Pn){const rr=Bn;Bn=()=>traverse(rr())}let Wn,Yn=rr=>{Wn=qo.onStop=()=>{callWithErrorHandling(rr,Ln,4),Wn=qo.onStop=void 0}},Gn;if(isInSSRComponentSetup)if(Yn=NOOP,Cn?_n&&callWithAsyncErrorHandling(Cn,Ln,3,[Bn(),zn?[]:void 0,Yn]):Bn(),In==="sync"){const rr=useSSRContext();Gn=rr.__watcherHandles||(rr.__watcherHandles=[])}else return NOOP;let Go=zn?new Array($n.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Xn=()=>{if(!(!qo.active||!qo.dirty))if(Cn){const rr=qo.run();(Pn||Hn||(zn?rr.some((nr,ta)=>hasChanged(nr,Go[ta])):hasChanged(rr,Go)))&&(Wn&&Wn(),callWithAsyncErrorHandling(Cn,Ln,3,[rr,Go===INITIAL_WATCHER_VALUE?void 0:zn&&Go[0]===INITIAL_WATCHER_VALUE?[]:Go,Yn]),Go=rr)}else qo.run()};Xn.allowRecurse=!!Cn;let Yo;In==="sync"?Yo=Xn:In==="post"?Yo=()=>queuePostRenderEffect(Xn,Ln&&Ln.suspense):(Xn.pre=!0,Ln&&(Xn.id=Ln.uid),Yo=()=>queueJob(Xn));const qo=new ReactiveEffect(Bn,NOOP,Yo),Jo=getCurrentScope(),Zo=()=>{qo.stop(),Jo&&remove(Jo.effects,qo)};return Cn?_n?Xn():Go=qo.run():In==="post"?queuePostRenderEffect(qo.run.bind(qo),Ln&&Ln.suspense):qo.run(),Gn&&Gn.push(Zo),Zo}function instanceWatch($n,Cn,_n){const Pn=this.proxy,In=isString$4($n)?$n.includes(".")?createPathGetter(Pn,$n):()=>Pn[$n]:$n.bind(Pn,Pn);let Nn;isFunction$3(Cn)?Nn=Cn:(Nn=Cn.handler,_n=Cn);const Rn=setCurrentInstance(this),Dn=doWatch(In,Nn.bind(Pn),_n);return Rn(),Dn}function createPathGetter($n,Cn){const _n=Cn.split(".");return()=>{let Pn=$n;for(let In=0;In<_n.length&&Pn;In++)Pn=Pn[_n[In]];return Pn}}function traverse($n,Cn,_n=0,Pn){if(!isObject$7($n)||$n.__v_skip)return $n;if(Cn&&Cn>0){if(_n>=Cn)return $n;_n++}if(Pn=Pn||new Set,Pn.has($n))return $n;if(Pn.add($n),isRef($n))traverse($n.value,Cn,_n,Pn);else if(isArray$4($n))for(let In=0;In<$n.length;In++)traverse($n[In],Cn,_n,Pn);else if(isSet$1($n)||isMap$1($n))$n.forEach(In=>{traverse(In,Cn,_n,Pn)});else if(isPlainObject$3($n))for(const In in $n)traverse($n[In],Cn,_n,Pn);return $n}function withDirectives($n,Cn){if(currentRenderingInstance===null)return $n;const _n=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,Pn=$n.dirs||($n.dirs=[]);for(let In=0;In<Cn.length;In++){let[Nn,Rn,Dn,Ln=EMPTY_OBJ]=Cn[In];Nn&&(isFunction$3(Nn)&&(Nn={mounted:Nn,updated:Nn}),Nn.deep&&traverse(Rn),Pn.push({dir:Nn,instance:_n,value:Rn,oldValue:void 0,arg:Dn,modifiers:Ln}))}return $n}function invokeDirectiveHook($n,Cn,_n,Pn){const In=$n.dirs,Nn=Cn&&Cn.dirs;for(let Rn=0;Rn<In.length;Rn++){const Dn=In[Rn];Nn&&(Dn.oldValue=Nn[Rn].value);let Ln=Dn.dir[Pn];Ln&&(pauseTracking(),callWithAsyncErrorHandling(Ln,_n,8,[$n.el,Dn,$n,Cn]),resetTracking())}}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const $n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{$n.isMounted=!0}),onBeforeUnmount(()=>{$n.isUnmounting=!0}),$n}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup($n,{slots:Cn}){const _n=getCurrentInstance(),Pn=useTransitionState();let In;return()=>{const Nn=Cn.default&&getTransitionRawChildren(Cn.default(),!0);if(!Nn||!Nn.length)return;let Rn=Nn[0];if(Nn.length>1){for(const Gn of Nn)if(Gn.type!==Comment$1){Rn=Gn;break}}const Dn=toRaw($n),{mode:Ln}=Dn;if(Pn.isLeaving)return emptyPlaceholder(Rn);const Fn=getKeepAliveChild(Rn);if(!Fn)return emptyPlaceholder(Rn);const Bn=resolveTransitionHooks(Fn,Dn,Pn,_n);setTransitionHooks(Fn,Bn);const Hn=_n.subTree,zn=Hn&&getKeepAliveChild(Hn);let Wn=!1;const{getTransitionKey:Yn}=Fn.type;if(Yn){const Gn=Yn();In===void 0?In=Gn:Gn!==In&&(In=Gn,Wn=!0)}if(zn&&zn.type!==Comment$1&&(!isSameVNodeType(Fn,zn)||Wn)){const Gn=resolveTransitionHooks(zn,Dn,Pn,_n);if(setTransitionHooks(zn,Gn),Ln==="out-in")return Pn.isLeaving=!0,Gn.afterLeave=()=>{Pn.isLeaving=!1,_n.update.active!==!1&&(_n.effect.dirty=!0,_n.update())},emptyPlaceholder(Rn);Ln==="in-out"&&Fn.type!==Comment$1&&(Gn.delayLeave=(Go,Xn,Yo)=>{const qo=getLeavingNodesForType(Pn,zn);qo[String(zn.key)]=zn,Go[leaveCbKey]=()=>{Xn(),Go[leaveCbKey]=void 0,delete Bn.delayedLeave},Bn.delayedLeave=Yo})}return Rn}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType($n,Cn){const{leavingVNodes:_n}=$n;let Pn=_n.get(Cn.type);return Pn||(Pn=Object.create(null),_n.set(Cn.type,Pn)),Pn}function resolveTransitionHooks($n,Cn,_n,Pn){const{appear:In,mode:Nn,persisted:Rn=!1,onBeforeEnter:Dn,onEnter:Ln,onAfterEnter:Fn,onEnterCancelled:Bn,onBeforeLeave:Hn,onLeave:zn,onAfterLeave:Wn,onLeaveCancelled:Yn,onBeforeAppear:Gn,onAppear:Go,onAfterAppear:Xn,onAppearCancelled:Yo}=Cn,qo=String($n.key),Jo=getLeavingNodesForType(_n,$n),Zo=(ta,oa)=>{ta&&callWithAsyncErrorHandling(ta,Pn,9,oa)},rr=(ta,oa)=>{const ra=oa[1];Zo(ta,oa),isArray$4(ta)?ta.every(ea=>ea.length<=1)&&ra():ta.length<=1&&ra()},nr={mode:Nn,persisted:Rn,beforeEnter(ta){let oa=Dn;if(!_n.isMounted)if(In)oa=Gn||Dn;else return;ta[leaveCbKey]&&ta[leaveCbKey](!0);const ra=Jo[qo];ra&&isSameVNodeType($n,ra)&&ra.el[leaveCbKey]&&ra.el[leaveCbKey](),Zo(oa,[ta])},enter(ta){let oa=Ln,ra=Fn,ea=Bn;if(!_n.isMounted)if(In)oa=Go||Ln,ra=Xn||Fn,ea=Yo||Bn;else return;let la=!1;const ua=ta[enterCbKey$1]=ga=>{la||(la=!0,ga?Zo(ea,[ta]):Zo(ra,[ta]),nr.delayedLeave&&nr.delayedLeave(),ta[enterCbKey$1]=void 0)};oa?rr(oa,[ta,ua]):ua()},leave(ta,oa){const ra=String($n.key);if(ta[enterCbKey$1]&&ta[enterCbKey$1](!0),_n.isUnmounting)return oa();Zo(Hn,[ta]);let ea=!1;const la=ta[leaveCbKey]=ua=>{ea||(ea=!0,oa(),ua?Zo(Yn,[ta]):Zo(Wn,[ta]),ta[leaveCbKey]=void 0,Jo[ra]===$n&&delete Jo[ra])};Jo[ra]=$n,zn?rr(zn,[ta,la]):la()},clone(ta){return resolveTransitionHooks(ta,Cn,_n,Pn)}};return nr}function emptyPlaceholder($n){if(isKeepAlive($n))return $n=cloneVNode($n),$n.children=null,$n}function getKeepAliveChild($n){return isKeepAlive($n)?$n.children?$n.children[0]:void 0:$n}function setTransitionHooks($n,Cn){$n.shapeFlag&6&&$n.component?setTransitionHooks($n.component.subTree,Cn):$n.shapeFlag&128?($n.ssContent.transition=Cn.clone($n.ssContent),$n.ssFallback.transition=Cn.clone($n.ssFallback)):$n.transition=Cn}function getTransitionRawChildren($n,Cn=!1,_n){let Pn=[],In=0;for(let Nn=0;Nn<$n.length;Nn++){let Rn=$n[Nn];const Dn=_n==null?Rn.key:String(_n)+String(Rn.key!=null?Rn.key:Nn);Rn.type===Fragment?(Rn.patchFlag&128&&In++,Pn=Pn.concat(getTransitionRawChildren(Rn.children,Cn,Dn))):(Cn||Rn.type!==Comment$1)&&Pn.push(Dn!=null?cloneVNode(Rn,{key:Dn}):Rn)}if(In>1)for(let Nn=0;Nn<Pn.length;Nn++)Pn[Nn].patchFlag=-2;return Pn}/*! #__NO_SIDE_EFFECTS__ */function defineComponent($n,Cn){return isFunction$3($n)?extend({name:$n.name},Cn,{setup:$n}):$n}const isAsyncWrapper=$n=>!!$n.type.__asyncLoader,isKeepAlive=$n=>$n.type.__isKeepAlive;function onActivated($n,Cn){registerKeepAliveHook($n,"a",Cn)}function onDeactivated($n,Cn){registerKeepAliveHook($n,"da",Cn)}function registerKeepAliveHook($n,Cn,_n=currentInstance){const Pn=$n.__wdc||($n.__wdc=()=>{let In=_n;for(;In;){if(In.isDeactivated)return;In=In.parent}return $n()});if(injectHook(Cn,Pn,_n),_n){let In=_n.parent;for(;In&&In.parent;)isKeepAlive(In.parent.vnode)&&injectToKeepAliveRoot(Pn,Cn,_n,In),In=In.parent}}function injectToKeepAliveRoot($n,Cn,_n,Pn){const In=injectHook(Cn,$n,Pn,!0);onUnmounted(()=>{remove(Pn[Cn],In)},_n)}function injectHook($n,Cn,_n=currentInstance,Pn=!1){if(_n){const In=_n[$n]||(_n[$n]=[]),Nn=Cn.__weh||(Cn.__weh=(...Rn)=>{if(_n.isUnmounted)return;pauseTracking();const Dn=setCurrentInstance(_n),Ln=callWithAsyncErrorHandling(Cn,_n,$n,Rn);return Dn(),resetTracking(),Ln});return Pn?In.unshift(Nn):In.push(Nn),Nn}}const createHook=$n=>(Cn,_n=currentInstance)=>(!isInSSRComponentSetup||$n==="sp")&&injectHook($n,(...Pn)=>Cn(...Pn),_n),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured($n,Cn=currentInstance){injectHook("ec",$n,Cn)}function renderList($n,Cn,_n,Pn){let In;const Nn=_n&&_n[Pn];if(isArray$4($n)||isString$4($n)){In=new Array($n.length);for(let Rn=0,Dn=$n.length;Rn<Dn;Rn++)In[Rn]=Cn($n[Rn],Rn,void 0,Nn&&Nn[Rn])}else if(typeof $n=="number"){In=new Array($n);for(let Rn=0;Rn<$n;Rn++)In[Rn]=Cn(Rn+1,Rn,void 0,Nn&&Nn[Rn])}else if(isObject$7($n))if($n[Symbol.iterator])In=Array.from($n,(Rn,Dn)=>Cn(Rn,Dn,void 0,Nn&&Nn[Dn]));else{const Rn=Object.keys($n);In=new Array(Rn.length);for(let Dn=0,Ln=Rn.length;Dn<Ln;Dn++){const Fn=Rn[Dn];In[Dn]=Cn($n[Fn],Fn,Dn,Nn&&Nn[Dn])}}else In=[];return _n&&(_n[Pn]=In),In}function createSlots($n,Cn){for(let _n=0;_n<Cn.length;_n++){const Pn=Cn[_n];if(isArray$4(Pn))for(let In=0;In<Pn.length;In++)$n[Pn[In].name]=Pn[In].fn;else Pn&&($n[Pn.name]=Pn.key?(...In)=>{const Nn=Pn.fn(...In);return Nn&&(Nn.key=Pn.key),Nn}:Pn.fn)}return $n}function renderSlot($n,Cn,_n={},Pn,In){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return Cn!=="default"&&(_n.name=Cn),createVNode("slot",_n,Pn&&Pn());let Nn=$n[Cn];Nn&&Nn._c&&(Nn._d=!1),openBlock();const Rn=Nn&&ensureValidVNode$1(Nn(_n)),Dn=createBlock(Fragment,{key:_n.key||Rn&&Rn.key||`_${Cn}`},Rn||(Pn?Pn():[]),Rn&&$n._===1?64:-2);return!In&&Dn.scopeId&&(Dn.slotScopeIds=[Dn.scopeId+"-s"]),Nn&&Nn._c&&(Nn._d=!0),Dn}function ensureValidVNode$1($n){return $n.some(Cn=>isVNode$1(Cn)?!(Cn.type===Comment$1||Cn.type===Fragment&&!ensureValidVNode$1(Cn.children)):!0)?$n:null}const getPublicInstance=$n=>$n?isStatefulComponent($n)?getExposeProxy($n)||$n.proxy:getPublicInstance($n.parent):null,publicPropertiesMap=extend(Object.create(null),{$:$n=>$n,$el:$n=>$n.vnode.el,$data:$n=>$n.data,$props:$n=>$n.props,$attrs:$n=>$n.attrs,$slots:$n=>$n.slots,$refs:$n=>$n.refs,$parent:$n=>getPublicInstance($n.parent),$root:$n=>getPublicInstance($n.root),$emit:$n=>$n.emit,$options:$n=>resolveMergedOptions($n),$forceUpdate:$n=>$n.f||($n.f=()=>{$n.effect.dirty=!0,queueJob($n.update)}),$nextTick:$n=>$n.n||($n.n=nextTick.bind($n.proxy)),$watch:$n=>instanceWatch.bind($n)}),hasSetupBinding=($n,Cn)=>$n!==EMPTY_OBJ&&!$n.__isScriptSetup&&hasOwn$2($n,Cn),PublicInstanceProxyHandlers={get({_:$n},Cn){const{ctx:_n,setupState:Pn,data:In,props:Nn,accessCache:Rn,type:Dn,appContext:Ln}=$n;let Fn;if(Cn[0]!=="$"){const Wn=Rn[Cn];if(Wn!==void 0)switch(Wn){case 1:return Pn[Cn];case 2:return In[Cn];case 4:return _n[Cn];case 3:return Nn[Cn]}else{if(hasSetupBinding(Pn,Cn))return Rn[Cn]=1,Pn[Cn];if(In!==EMPTY_OBJ&&hasOwn$2(In,Cn))return Rn[Cn]=2,In[Cn];if((Fn=$n.propsOptions[0])&&hasOwn$2(Fn,Cn))return Rn[Cn]=3,Nn[Cn];if(_n!==EMPTY_OBJ&&hasOwn$2(_n,Cn))return Rn[Cn]=4,_n[Cn];shouldCacheAccess&&(Rn[Cn]=0)}}const Bn=publicPropertiesMap[Cn];let Hn,zn;if(Bn)return Cn==="$attrs"&&track($n,"get",Cn),Bn($n);if((Hn=Dn.__cssModules)&&(Hn=Hn[Cn]))return Hn;if(_n!==EMPTY_OBJ&&hasOwn$2(_n,Cn))return Rn[Cn]=4,_n[Cn];if(zn=Ln.config.globalProperties,hasOwn$2(zn,Cn))return zn[Cn]},set({_:$n},Cn,_n){const{data:Pn,setupState:In,ctx:Nn}=$n;return hasSetupBinding(In,Cn)?(In[Cn]=_n,!0):Pn!==EMPTY_OBJ&&hasOwn$2(Pn,Cn)?(Pn[Cn]=_n,!0):hasOwn$2($n.props,Cn)||Cn[0]==="$"&&Cn.slice(1)in $n?!1:(Nn[Cn]=_n,!0)},has({_:{data:$n,setupState:Cn,accessCache:_n,ctx:Pn,appContext:In,propsOptions:Nn}},Rn){let Dn;return!!_n[Rn]||$n!==EMPTY_OBJ&&hasOwn$2($n,Rn)||hasSetupBinding(Cn,Rn)||(Dn=Nn[0])&&hasOwn$2(Dn,Rn)||hasOwn$2(Pn,Rn)||hasOwn$2(publicPropertiesMap,Rn)||hasOwn$2(In.config.globalProperties,Rn)},defineProperty($n,Cn,_n){return _n.get!=null?$n._.accessCache[Cn]=0:hasOwn$2(_n,"value")&&this.set($n,Cn,_n.value,null),Reflect.defineProperty($n,Cn,_n)}};function useAttrs(){return getContext().attrs}function getContext(){const $n=getCurrentInstance();return $n.setupContext||($n.setupContext=createSetupContext($n))}function normalizePropsOrEmits($n){return isArray$4($n)?$n.reduce((Cn,_n)=>(Cn[_n]=null,Cn),{}):$n}let shouldCacheAccess=!0;function applyOptions($n){const Cn=resolveMergedOptions($n),_n=$n.proxy,Pn=$n.ctx;shouldCacheAccess=!1,Cn.beforeCreate&&callHook$1(Cn.beforeCreate,$n,"bc");const{data:In,computed:Nn,methods:Rn,watch:Dn,provide:Ln,inject:Fn,created:Bn,beforeMount:Hn,mounted:zn,beforeUpdate:Wn,updated:Yn,activated:Gn,deactivated:Go,beforeDestroy:Xn,beforeUnmount:Yo,destroyed:qo,unmounted:Jo,render:Zo,renderTracked:rr,renderTriggered:nr,errorCaptured:ta,serverPrefetch:oa,expose:ra,inheritAttrs:ea,components:la,directives:ua,filters:ga}=Cn;if(Fn&&resolveInjections(Fn,Pn,null),Rn)for(const sa in Rn){const ia=Rn[sa];isFunction$3(ia)&&(Pn[sa]=ia.bind(_n))}if(In){const sa=In.call(_n,_n);isObject$7(sa)&&($n.data=reactive(sa))}if(shouldCacheAccess=!0,Nn)for(const sa in Nn){const ia=Nn[sa],fa=isFunction$3(ia)?ia.bind(_n,_n):isFunction$3(ia.get)?ia.get.bind(_n,_n):NOOP,ma=!isFunction$3(ia)&&isFunction$3(ia.set)?ia.set.bind(_n):NOOP,ya=computed({get:fa,set:ma});Object.defineProperty(Pn,sa,{enumerable:!0,configurable:!0,get:()=>ya.value,set:ba=>ya.value=ba})}if(Dn)for(const sa in Dn)createWatcher(Dn[sa],Pn,_n,sa);if(Ln){const sa=isFunction$3(Ln)?Ln.call(_n):Ln;Reflect.ownKeys(sa).forEach(ia=>{provide(ia,sa[ia])})}Bn&&callHook$1(Bn,$n,"c");function ca(sa,ia){isArray$4(ia)?ia.forEach(fa=>sa(fa.bind(_n))):ia&&sa(ia.bind(_n))}if(ca(onBeforeMount,Hn),ca(onMounted,zn),ca(onBeforeUpdate,Wn),ca(onUpdated,Yn),ca(onActivated,Gn),ca(onDeactivated,Go),ca(onErrorCaptured,ta),ca(onRenderTracked,rr),ca(onRenderTriggered,nr),ca(onBeforeUnmount,Yo),ca(onUnmounted,Jo),ca(onServerPrefetch,oa),isArray$4(ra))if(ra.length){const sa=$n.exposed||($n.exposed={});ra.forEach(ia=>{Object.defineProperty(sa,ia,{get:()=>_n[ia],set:fa=>_n[ia]=fa})})}else $n.exposed||($n.exposed={});Zo&&$n.render===NOOP&&($n.render=Zo),ea!=null&&($n.inheritAttrs=ea),la&&($n.components=la),ua&&($n.directives=ua)}function resolveInjections($n,Cn,_n=NOOP){isArray$4($n)&&($n=normalizeInject($n));for(const Pn in $n){const In=$n[Pn];let Nn;isObject$7(In)?"default"in In?Nn=inject(In.from||Pn,In.default,!0):Nn=inject(In.from||Pn):Nn=inject(In),isRef(Nn)?Object.defineProperty(Cn,Pn,{enumerable:!0,configurable:!0,get:()=>Nn.value,set:Rn=>Nn.value=Rn}):Cn[Pn]=Nn}}function callHook$1($n,Cn,_n){callWithAsyncErrorHandling(isArray$4($n)?$n.map(Pn=>Pn.bind(Cn.proxy)):$n.bind(Cn.proxy),Cn,_n)}function createWatcher($n,Cn,_n,Pn){const In=Pn.includes(".")?createPathGetter(_n,Pn):()=>_n[Pn];if(isString$4($n)){const Nn=Cn[$n];isFunction$3(Nn)&&watch(In,Nn)}else if(isFunction$3($n))watch(In,$n.bind(_n));else if(isObject$7($n))if(isArray$4($n))$n.forEach(Nn=>createWatcher(Nn,Cn,_n,Pn));else{const Nn=isFunction$3($n.handler)?$n.handler.bind(_n):Cn[$n.handler];isFunction$3(Nn)&&watch(In,Nn,$n)}}function resolveMergedOptions($n){const Cn=$n.type,{mixins:_n,extends:Pn}=Cn,{mixins:In,optionsCache:Nn,config:{optionMergeStrategies:Rn}}=$n.appContext,Dn=Nn.get(Cn);let Ln;return Dn?Ln=Dn:!In.length&&!_n&&!Pn?Ln=Cn:(Ln={},In.length&&In.forEach(Fn=>mergeOptions$1(Ln,Fn,Rn,!0)),mergeOptions$1(Ln,Cn,Rn)),isObject$7(Cn)&&Nn.set(Cn,Ln),Ln}function mergeOptions$1($n,Cn,_n,Pn=!1){const{mixins:In,extends:Nn}=Cn;Nn&&mergeOptions$1($n,Nn,_n,!0),In&&In.forEach(Rn=>mergeOptions$1($n,Rn,_n,!0));for(const Rn in Cn)if(!(Pn&&Rn==="expose")){const Dn=internalOptionMergeStrats[Rn]||_n&&_n[Rn];$n[Rn]=Dn?Dn($n[Rn],Cn[Rn]):Cn[Rn]}return $n}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn($n,Cn){return Cn?$n?function(){return extend(isFunction$3($n)?$n.call(this,this):$n,isFunction$3(Cn)?Cn.call(this,this):Cn)}:Cn:$n}function mergeInject($n,Cn){return mergeObjectOptions(normalizeInject($n),normalizeInject(Cn))}function normalizeInject($n){if(isArray$4($n)){const Cn={};for(let _n=0;_n<$n.length;_n++)Cn[$n[_n]]=$n[_n];return Cn}return $n}function mergeAsArray($n,Cn){return $n?[...new Set([].concat($n,Cn))]:Cn}function mergeObjectOptions($n,Cn){return $n?extend(Object.create(null),$n,Cn):Cn}function mergeEmitsOrPropsOptions($n,Cn){return $n?isArray$4($n)&&isArray$4(Cn)?[...new Set([...$n,...Cn])]:extend(Object.create(null),normalizePropsOrEmits($n),normalizePropsOrEmits(Cn??{})):Cn}function mergeWatchOptions($n,Cn){if(!$n)return Cn;if(!Cn)return $n;const _n=extend(Object.create(null),$n);for(const Pn in Cn)_n[Pn]=mergeAsArray($n[Pn],Cn[Pn]);return _n}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI($n,Cn){return function(Pn,In=null){isFunction$3(Pn)||(Pn=extend({},Pn)),In!=null&&!isObject$7(In)&&(In=null);const Nn=createAppContext(),Rn=new WeakSet;let Dn=!1;const Ln=Nn.app={_uid:uid$1++,_component:Pn,_props:In,_container:null,_context:Nn,_instance:null,version:version$1,get config(){return Nn.config},set config(Fn){},use(Fn,...Bn){return Rn.has(Fn)||(Fn&&isFunction$3(Fn.install)?(Rn.add(Fn),Fn.install(Ln,...Bn)):isFunction$3(Fn)&&(Rn.add(Fn),Fn(Ln,...Bn))),Ln},mixin(Fn){return Nn.mixins.includes(Fn)||Nn.mixins.push(Fn),Ln},component(Fn,Bn){return Bn?(Nn.components[Fn]=Bn,Ln):Nn.components[Fn]},directive(Fn,Bn){return Bn?(Nn.directives[Fn]=Bn,Ln):Nn.directives[Fn]},mount(Fn,Bn,Hn){if(!Dn){const zn=createVNode(Pn,In);return zn.appContext=Nn,Hn===!0?Hn="svg":Hn===!1&&(Hn=void 0),Bn&&Cn?Cn(zn,Fn):$n(zn,Fn,Hn),Dn=!0,Ln._container=Fn,Fn.__vue_app__=Ln,getExposeProxy(zn.component)||zn.component.proxy}},unmount(){Dn&&($n(null,Ln._container),delete Ln._container.__vue_app__)},provide(Fn,Bn){return Nn.provides[Fn]=Bn,Ln},runWithContext(Fn){currentApp=Ln;try{return Fn()}finally{currentApp=null}}};return Ln}}let currentApp=null;function provide($n,Cn){if(currentInstance){let _n=currentInstance.provides;const Pn=currentInstance.parent&¤tInstance.parent.provides;Pn===_n&&(_n=currentInstance.provides=Object.create(Pn)),_n[$n]=Cn}}function inject($n,Cn,_n=!1){const Pn=currentInstance||currentRenderingInstance;if(Pn||currentApp){const In=Pn?Pn.parent==null?Pn.vnode.appContext&&Pn.vnode.appContext.provides:Pn.parent.provides:currentApp._context.provides;if(In&&$n in In)return In[$n];if(arguments.length>1)return _n&&isFunction$3(Cn)?Cn.call(Pn&&Pn.proxy):Cn}}function initProps($n,Cn,_n,Pn=!1){const In={},Nn={};def(Nn,InternalObjectKey,1),$n.propsDefaults=Object.create(null),setFullProps($n,Cn,In,Nn);for(const Rn in $n.propsOptions[0])Rn in In||(In[Rn]=void 0);_n?$n.props=Pn?In:shallowReactive(In):$n.type.props?$n.props=In:$n.props=Nn,$n.attrs=Nn}function updateProps($n,Cn,_n,Pn){const{props:In,attrs:Nn,vnode:{patchFlag:Rn}}=$n,Dn=toRaw(In),[Ln]=$n.propsOptions;let Fn=!1;if((Pn||Rn>0)&&!(Rn&16)){if(Rn&8){const Bn=$n.vnode.dynamicProps;for(let Hn=0;Hn<Bn.length;Hn++){let zn=Bn[Hn];if(isEmitListener($n.emitsOptions,zn))continue;const Wn=Cn[zn];if(Ln)if(hasOwn$2(Nn,zn))Wn!==Nn[zn]&&(Nn[zn]=Wn,Fn=!0);else{const Yn=camelize$1(zn);In[Yn]=resolvePropValue$1(Ln,Dn,Yn,Wn,$n,!1)}else Wn!==Nn[zn]&&(Nn[zn]=Wn,Fn=!0)}}}else{setFullProps($n,Cn,In,Nn)&&(Fn=!0);let Bn;for(const Hn in Dn)(!Cn||!hasOwn$2(Cn,Hn)&&((Bn=hyphenate$1(Hn))===Hn||!hasOwn$2(Cn,Bn)))&&(Ln?_n&&(_n[Hn]!==void 0||_n[Bn]!==void 0)&&(In[Hn]=resolvePropValue$1(Ln,Dn,Hn,void 0,$n,!0)):delete In[Hn]);if(Nn!==Dn)for(const Hn in Nn)(!Cn||!hasOwn$2(Cn,Hn))&&(delete Nn[Hn],Fn=!0)}Fn&&trigger$1($n,"set","$attrs")}function setFullProps($n,Cn,_n,Pn){const[In,Nn]=$n.propsOptions;let Rn=!1,Dn;if(Cn)for(let Ln in Cn){if(isReservedProp(Ln))continue;const Fn=Cn[Ln];let Bn;In&&hasOwn$2(In,Bn=camelize$1(Ln))?!Nn||!Nn.includes(Bn)?_n[Bn]=Fn:(Dn||(Dn={}))[Bn]=Fn:isEmitListener($n.emitsOptions,Ln)||(!(Ln in Pn)||Fn!==Pn[Ln])&&(Pn[Ln]=Fn,Rn=!0)}if(Nn){const Ln=toRaw(_n),Fn=Dn||EMPTY_OBJ;for(let Bn=0;Bn<Nn.length;Bn++){const Hn=Nn[Bn];_n[Hn]=resolvePropValue$1(In,Ln,Hn,Fn[Hn],$n,!hasOwn$2(Fn,Hn))}}return Rn}function resolvePropValue$1($n,Cn,_n,Pn,In,Nn){const Rn=$n[_n];if(Rn!=null){const Dn=hasOwn$2(Rn,"default");if(Dn&&Pn===void 0){const Ln=Rn.default;if(Rn.type!==Function&&!Rn.skipFactory&&isFunction$3(Ln)){const{propsDefaults:Fn}=In;if(_n in Fn)Pn=Fn[_n];else{const Bn=setCurrentInstance(In);Pn=Fn[_n]=Ln.call(null,Cn),Bn()}}else Pn=Ln}Rn[0]&&(Nn&&!Dn?Pn=!1:Rn[1]&&(Pn===""||Pn===hyphenate$1(_n))&&(Pn=!0))}return Pn}function normalizePropsOptions($n,Cn,_n=!1){const Pn=Cn.propsCache,In=Pn.get($n);if(In)return In;const Nn=$n.props,Rn={},Dn=[];let Ln=!1;if(!isFunction$3($n)){const Bn=Hn=>{Ln=!0;const[zn,Wn]=normalizePropsOptions(Hn,Cn,!0);extend(Rn,zn),Wn&&Dn.push(...Wn)};!_n&&Cn.mixins.length&&Cn.mixins.forEach(Bn),$n.extends&&Bn($n.extends),$n.mixins&&$n.mixins.forEach(Bn)}if(!Nn&&!Ln)return isObject$7($n)&&Pn.set($n,EMPTY_ARR),EMPTY_ARR;if(isArray$4(Nn))for(let Bn=0;Bn<Nn.length;Bn++){const Hn=camelize$1(Nn[Bn]);validatePropName(Hn)&&(Rn[Hn]=EMPTY_OBJ)}else if(Nn)for(const Bn in Nn){const Hn=camelize$1(Bn);if(validatePropName(Hn)){const zn=Nn[Bn],Wn=Rn[Hn]=isArray$4(zn)||isFunction$3(zn)?{type:zn}:extend({},zn);if(Wn){const Yn=getTypeIndex(Boolean,Wn.type),Gn=getTypeIndex(String,Wn.type);Wn[0]=Yn>-1,Wn[1]=Gn<0||Yn<Gn,(Yn>-1||hasOwn$2(Wn,"default"))&&Dn.push(Hn)}}}const Fn=[Rn,Dn];return isObject$7($n)&&Pn.set($n,Fn),Fn}function validatePropName($n){return $n[0]!=="$"}function getType($n){const Cn=$n&&$n.toString().match(/^\s*(function|class) (\w+)/);return Cn?Cn[2]:$n===null?"null":""}function isSameType($n,Cn){return getType($n)===getType(Cn)}function getTypeIndex($n,Cn){return isArray$4(Cn)?Cn.findIndex(_n=>isSameType(_n,$n)):isFunction$3(Cn)&&isSameType(Cn,$n)?0:-1}const isInternalKey=$n=>$n[0]==="_"||$n==="$stable",normalizeSlotValue=$n=>isArray$4($n)?$n.map(normalizeVNode):[normalizeVNode($n)],normalizeSlot$1=($n,Cn,_n)=>{if(Cn._n)return Cn;const Pn=withCtx((...In)=>normalizeSlotValue(Cn(...In)),_n);return Pn._c=!1,Pn},normalizeObjectSlots=($n,Cn,_n)=>{const Pn=$n._ctx;for(const In in $n){if(isInternalKey(In))continue;const Nn=$n[In];if(isFunction$3(Nn))Cn[In]=normalizeSlot$1(In,Nn,Pn);else if(Nn!=null){const Rn=normalizeSlotValue(Nn);Cn[In]=()=>Rn}}},normalizeVNodeSlots=($n,Cn)=>{const _n=normalizeSlotValue(Cn);$n.slots.default=()=>_n},initSlots=($n,Cn)=>{if($n.vnode.shapeFlag&32){const _n=Cn._;_n?($n.slots=toRaw(Cn),def(Cn,"_",_n)):normalizeObjectSlots(Cn,$n.slots={})}else $n.slots={},Cn&&normalizeVNodeSlots($n,Cn);def($n.slots,InternalObjectKey,1)},updateSlots=($n,Cn,_n)=>{const{vnode:Pn,slots:In}=$n;let Nn=!0,Rn=EMPTY_OBJ;if(Pn.shapeFlag&32){const Dn=Cn._;Dn?_n&&Dn===1?Nn=!1:(extend(In,Cn),!_n&&Dn===1&&delete In._):(Nn=!Cn.$stable,normalizeObjectSlots(Cn,In)),Rn=Cn}else Cn&&(normalizeVNodeSlots($n,Cn),Rn={default:1});if(Nn)for(const Dn in In)!isInternalKey(Dn)&&Rn[Dn]==null&&delete In[Dn]};function setRef($n,Cn,_n,Pn,In=!1){if(isArray$4($n)){$n.forEach((zn,Wn)=>setRef(zn,Cn&&(isArray$4(Cn)?Cn[Wn]:Cn),_n,Pn,In));return}if(isAsyncWrapper(Pn)&&!In)return;const Nn=Pn.shapeFlag&4?getExposeProxy(Pn.component)||Pn.component.proxy:Pn.el,Rn=In?null:Nn,{i:Dn,r:Ln}=$n,Fn=Cn&&Cn.r,Bn=Dn.refs===EMPTY_OBJ?Dn.refs={}:Dn.refs,Hn=Dn.setupState;if(Fn!=null&&Fn!==Ln&&(isString$4(Fn)?(Bn[Fn]=null,hasOwn$2(Hn,Fn)&&(Hn[Fn]=null)):isRef(Fn)&&(Fn.value=null)),isFunction$3(Ln))callWithErrorHandling(Ln,Dn,12,[Rn,Bn]);else{const zn=isString$4(Ln),Wn=isRef(Ln),Yn=$n.f;if(zn||Wn){const Gn=()=>{if(Yn){const Go=zn?hasOwn$2(Hn,Ln)?Hn[Ln]:Bn[Ln]:Ln.value;In?isArray$4(Go)&&remove(Go,Nn):isArray$4(Go)?Go.includes(Nn)||Go.push(Nn):zn?(Bn[Ln]=[Nn],hasOwn$2(Hn,Ln)&&(Hn[Ln]=Bn[Ln])):(Ln.value=[Nn],$n.k&&(Bn[$n.k]=Ln.value))}else zn?(Bn[Ln]=Rn,hasOwn$2(Hn,Ln)&&(Hn[Ln]=Rn)):Wn&&(Ln.value=Rn,$n.k&&(Bn[$n.k]=Rn))};In||Yn?Gn():(Gn.id=-1,queuePostRenderEffect(Gn,_n))}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer($n){return baseCreateRenderer($n)}function baseCreateRenderer($n,Cn){const _n=getGlobalThis$1();_n.__VUE__=!0;const{insert:Pn,remove:In,patchProp:Nn,createElement:Rn,createText:Dn,createComment:Ln,setText:Fn,setElementText:Bn,parentNode:Hn,nextSibling:zn,setScopeId:Wn=NOOP,insertStaticContent:Yn}=$n,Gn=(da,pa,Sa,Aa=null,Ra=null,Fa=null,za=void 0,Wa=null,Ya=!!pa.dynamicChildren)=>{if(da===pa)return;da&&!isSameVNodeType(da,pa)&&(Aa=wa(da),ba(da,Ra,Fa,!0),da=null),pa.patchFlag===-2&&(Ya=!1,pa.dynamicChildren=null);const{type:ja,ref:qa,shapeFlag:Xa}=pa;switch(ja){case Text$2:Go(da,pa,Sa,Aa);break;case Comment$1:Xn(da,pa,Sa,Aa);break;case Static:da==null&&Yo(pa,Sa,Aa,za);break;case Fragment:la(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya);break;default:Xa&1?Zo(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya):Xa&6?ua(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya):(Xa&64||Xa&128)&&ja.process(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya,$a)}qa!=null&&Ra&&setRef(qa,da&&da.ref,Fa,pa||da,!pa)},Go=(da,pa,Sa,Aa)=>{if(da==null)Pn(pa.el=Dn(pa.children),Sa,Aa);else{const Ra=pa.el=da.el;pa.children!==da.children&&Fn(Ra,pa.children)}},Xn=(da,pa,Sa,Aa)=>{da==null?Pn(pa.el=Ln(pa.children||""),Sa,Aa):pa.el=da.el},Yo=(da,pa,Sa,Aa)=>{[da.el,da.anchor]=Yn(da.children,pa,Sa,Aa,da.el,da.anchor)},qo=({el:da,anchor:pa},Sa,Aa)=>{let Ra;for(;da&&da!==pa;)Ra=zn(da),Pn(da,Sa,Aa),da=Ra;Pn(pa,Sa,Aa)},Jo=({el:da,anchor:pa})=>{let Sa;for(;da&&da!==pa;)Sa=zn(da),In(da),da=Sa;In(pa)},Zo=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya)=>{pa.type==="svg"?za="svg":pa.type==="math"&&(za="mathml"),da==null?rr(pa,Sa,Aa,Ra,Fa,za,Wa,Ya):oa(da,pa,Ra,Fa,za,Wa,Ya)},rr=(da,pa,Sa,Aa,Ra,Fa,za,Wa)=>{let Ya,ja;const{props:qa,shapeFlag:Xa,transition:Oa,dirs:Ma}=da;if(Ya=da.el=Rn(da.type,Fa,qa&&qa.is,qa),Xa&8?Bn(Ya,da.children):Xa&16&&ta(da.children,Ya,null,Aa,Ra,resolveChildrenNamespace(da,Fa),za,Wa),Ma&&invokeDirectiveHook(da,null,Aa,"created"),nr(Ya,da,da.scopeId,za,Aa),qa){for(const Qa in qa)Qa!=="value"&&!isReservedProp(Qa)&&Nn(Ya,Qa,null,qa[Qa],Fa,da.children,Aa,Ra,Ta);"value"in qa&&Nn(Ya,"value",null,qa.value,Fa),(ja=qa.onVnodeBeforeMount)&&invokeVNodeHook(ja,Aa,da)}Ma&&invokeDirectiveHook(da,null,Aa,"beforeMount");const Ua=needTransition(Ra,Oa);Ua&&Oa.beforeEnter(Ya),Pn(Ya,pa,Sa),((ja=qa&&qa.onVnodeMounted)||Ua||Ma)&&queuePostRenderEffect(()=>{ja&&invokeVNodeHook(ja,Aa,da),Ua&&Oa.enter(Ya),Ma&&invokeDirectiveHook(da,null,Aa,"mounted")},Ra)},nr=(da,pa,Sa,Aa,Ra)=>{if(Sa&&Wn(da,Sa),Aa)for(let Fa=0;Fa<Aa.length;Fa++)Wn(da,Aa[Fa]);if(Ra){let Fa=Ra.subTree;if(pa===Fa){const za=Ra.vnode;nr(da,za,za.scopeId,za.slotScopeIds,Ra.parent)}}},ta=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya=0)=>{for(let ja=Ya;ja<da.length;ja++){const qa=da[ja]=Wa?cloneIfMounted(da[ja]):normalizeVNode(da[ja]);Gn(null,qa,pa,Sa,Aa,Ra,Fa,za,Wa)}},oa=(da,pa,Sa,Aa,Ra,Fa,za)=>{const Wa=pa.el=da.el;let{patchFlag:Ya,dynamicChildren:ja,dirs:qa}=pa;Ya|=da.patchFlag&16;const Xa=da.props||EMPTY_OBJ,Oa=pa.props||EMPTY_OBJ;let Ma;if(Sa&&toggleRecurse(Sa,!1),(Ma=Oa.onVnodeBeforeUpdate)&&invokeVNodeHook(Ma,Sa,pa,da),qa&&invokeDirectiveHook(pa,da,Sa,"beforeUpdate"),Sa&&toggleRecurse(Sa,!0),ja?ra(da.dynamicChildren,ja,Wa,Sa,Aa,resolveChildrenNamespace(pa,Ra),Fa):za||ia(da,pa,Wa,null,Sa,Aa,resolveChildrenNamespace(pa,Ra),Fa,!1),Ya>0){if(Ya&16)ea(Wa,pa,Xa,Oa,Sa,Aa,Ra);else if(Ya&2&&Xa.class!==Oa.class&&Nn(Wa,"class",null,Oa.class,Ra),Ya&4&&Nn(Wa,"style",Xa.style,Oa.style,Ra),Ya&8){const Ua=pa.dynamicProps;for(let Qa=0;Qa<Ua.length;Qa++){const ri=Ua[Qa],fi=Xa[ri],ei=Oa[ri];(ei!==fi||ri==="value")&&Nn(Wa,ri,fi,ei,Ra,da.children,Sa,Aa,Ta)}}Ya&1&&da.children!==pa.children&&Bn(Wa,pa.children)}else!za&&ja==null&&ea(Wa,pa,Xa,Oa,Sa,Aa,Ra);((Ma=Oa.onVnodeUpdated)||qa)&&queuePostRenderEffect(()=>{Ma&&invokeVNodeHook(Ma,Sa,pa,da),qa&&invokeDirectiveHook(pa,da,Sa,"updated")},Aa)},ra=(da,pa,Sa,Aa,Ra,Fa,za)=>{for(let Wa=0;Wa<pa.length;Wa++){const Ya=da[Wa],ja=pa[Wa],qa=Ya.el&&(Ya.type===Fragment||!isSameVNodeType(Ya,ja)||Ya.shapeFlag&70)?Hn(Ya.el):Sa;Gn(Ya,ja,qa,null,Aa,Ra,Fa,za,!0)}},ea=(da,pa,Sa,Aa,Ra,Fa,za)=>{if(Sa!==Aa){if(Sa!==EMPTY_OBJ)for(const Wa in Sa)!isReservedProp(Wa)&&!(Wa in Aa)&&Nn(da,Wa,Sa[Wa],null,za,pa.children,Ra,Fa,Ta);for(const Wa in Aa){if(isReservedProp(Wa))continue;const Ya=Aa[Wa],ja=Sa[Wa];Ya!==ja&&Wa!=="value"&&Nn(da,Wa,ja,Ya,za,pa.children,Ra,Fa,Ta)}"value"in Aa&&Nn(da,"value",Sa.value,Aa.value,za)}},la=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya)=>{const ja=pa.el=da?da.el:Dn(""),qa=pa.anchor=da?da.anchor:Dn("");let{patchFlag:Xa,dynamicChildren:Oa,slotScopeIds:Ma}=pa;Ma&&(Wa=Wa?Wa.concat(Ma):Ma),da==null?(Pn(ja,Sa,Aa),Pn(qa,Sa,Aa),ta(pa.children||[],Sa,qa,Ra,Fa,za,Wa,Ya)):Xa>0&&Xa&64&&Oa&&da.dynamicChildren?(ra(da.dynamicChildren,Oa,Sa,Ra,Fa,za,Wa),(pa.key!=null||Ra&&pa===Ra.subTree)&&traverseStaticChildren(da,pa,!0)):ia(da,pa,Sa,qa,Ra,Fa,za,Wa,Ya)},ua=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya)=>{pa.slotScopeIds=Wa,da==null?pa.shapeFlag&512?Ra.ctx.activate(pa,Sa,Aa,za,Ya):ga(pa,Sa,Aa,Ra,Fa,za,Ya):aa(da,pa,Ya)},ga=(da,pa,Sa,Aa,Ra,Fa,za)=>{const Wa=da.component=createComponentInstance(da,Aa,Ra);if(isKeepAlive(da)&&(Wa.ctx.renderer=$a),setupComponent(Wa),Wa.asyncDep){if(Ra&&Ra.registerDep(Wa,ca),!da.el){const Ya=Wa.subTree=createVNode(Comment$1);Xn(null,Ya,pa,Sa)}}else ca(Wa,da,pa,Sa,Ra,Fa,za)},aa=(da,pa,Sa)=>{const Aa=pa.component=da.component;if(shouldUpdateComponent(da,pa,Sa))if(Aa.asyncDep&&!Aa.asyncResolved){sa(Aa,pa,Sa);return}else Aa.next=pa,invalidateJob(Aa.update),Aa.effect.dirty=!0,Aa.update();else pa.el=da.el,Aa.vnode=pa},ca=(da,pa,Sa,Aa,Ra,Fa,za)=>{const Wa=()=>{if(da.isMounted){let{next:qa,bu:Xa,u:Oa,parent:Ma,vnode:Ua}=da;{const ti=locateNonHydratedAsyncRoot(da);if(ti){qa&&(qa.el=Ua.el,sa(da,qa,za)),ti.asyncDep.then(()=>{da.isUnmounted||Wa()});return}}let Qa=qa,ri;toggleRecurse(da,!1),qa?(qa.el=Ua.el,sa(da,qa,za)):qa=Ua,Xa&&invokeArrayFns(Xa),(ri=qa.props&&qa.props.onVnodeBeforeUpdate)&&invokeVNodeHook(ri,Ma,qa,Ua),toggleRecurse(da,!0);const fi=renderComponentRoot(da),ei=da.subTree;da.subTree=fi,Gn(ei,fi,Hn(ei.el),wa(ei),da,Ra,Fa),qa.el=fi.el,Qa===null&&updateHOCHostEl(da,fi.el),Oa&&queuePostRenderEffect(Oa,Ra),(ri=qa.props&&qa.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(ri,Ma,qa,Ua),Ra)}else{let qa;const{el:Xa,props:Oa}=pa,{bm:Ma,m:Ua,parent:Qa}=da,ri=isAsyncWrapper(pa);if(toggleRecurse(da,!1),Ma&&invokeArrayFns(Ma),!ri&&(qa=Oa&&Oa.onVnodeBeforeMount)&&invokeVNodeHook(qa,Qa,pa),toggleRecurse(da,!0),Xa&&Ha){const fi=()=>{da.subTree=renderComponentRoot(da),Ha(Xa,da.subTree,da,Ra,null)};ri?pa.type.__asyncLoader().then(()=>!da.isUnmounted&&fi()):fi()}else{const fi=da.subTree=renderComponentRoot(da);Gn(null,fi,Sa,Aa,da,Ra,Fa),pa.el=fi.el}if(Ua&&queuePostRenderEffect(Ua,Ra),!ri&&(qa=Oa&&Oa.onVnodeMounted)){const fi=pa;queuePostRenderEffect(()=>invokeVNodeHook(qa,Qa,fi),Ra)}(pa.shapeFlag&256||Qa&&isAsyncWrapper(Qa.vnode)&&Qa.vnode.shapeFlag&256)&&da.a&&queuePostRenderEffect(da.a,Ra),da.isMounted=!0,pa=Sa=Aa=null}},Ya=da.effect=new ReactiveEffect(Wa,NOOP,()=>queueJob(ja),da.scope),ja=da.update=()=>{Ya.dirty&&Ya.run()};ja.id=da.uid,toggleRecurse(da,!0),ja()},sa=(da,pa,Sa)=>{pa.component=da;const Aa=da.vnode.props;da.vnode=pa,da.next=null,updateProps(da,pa.props,Aa,Sa),updateSlots(da,pa.children,Sa),pauseTracking(),flushPreFlushCbs(da),resetTracking()},ia=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya=!1)=>{const ja=da&&da.children,qa=da?da.shapeFlag:0,Xa=pa.children,{patchFlag:Oa,shapeFlag:Ma}=pa;if(Oa>0){if(Oa&128){ma(ja,Xa,Sa,Aa,Ra,Fa,za,Wa,Ya);return}else if(Oa&256){fa(ja,Xa,Sa,Aa,Ra,Fa,za,Wa,Ya);return}}Ma&8?(qa&16&&Ta(ja,Ra,Fa),Xa!==ja&&Bn(Sa,Xa)):qa&16?Ma&16?ma(ja,Xa,Sa,Aa,Ra,Fa,za,Wa,Ya):Ta(ja,Ra,Fa,!0):(qa&8&&Bn(Sa,""),Ma&16&&ta(Xa,Sa,Aa,Ra,Fa,za,Wa,Ya))},fa=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya)=>{da=da||EMPTY_ARR,pa=pa||EMPTY_ARR;const ja=da.length,qa=pa.length,Xa=Math.min(ja,qa);let Oa;for(Oa=0;Oa<Xa;Oa++){const Ma=pa[Oa]=Ya?cloneIfMounted(pa[Oa]):normalizeVNode(pa[Oa]);Gn(da[Oa],Ma,Sa,null,Ra,Fa,za,Wa,Ya)}ja>qa?Ta(da,Ra,Fa,!0,!1,Xa):ta(pa,Sa,Aa,Ra,Fa,za,Wa,Ya,Xa)},ma=(da,pa,Sa,Aa,Ra,Fa,za,Wa,Ya)=>{let ja=0;const qa=pa.length;let Xa=da.length-1,Oa=qa-1;for(;ja<=Xa&&ja<=Oa;){const Ma=da[ja],Ua=pa[ja]=Ya?cloneIfMounted(pa[ja]):normalizeVNode(pa[ja]);if(isSameVNodeType(Ma,Ua))Gn(Ma,Ua,Sa,null,Ra,Fa,za,Wa,Ya);else break;ja++}for(;ja<=Xa&&ja<=Oa;){const Ma=da[Xa],Ua=pa[Oa]=Ya?cloneIfMounted(pa[Oa]):normalizeVNode(pa[Oa]);if(isSameVNodeType(Ma,Ua))Gn(Ma,Ua,Sa,null,Ra,Fa,za,Wa,Ya);else break;Xa--,Oa--}if(ja>Xa){if(ja<=Oa){const Ma=Oa+1,Ua=Ma<qa?pa[Ma].el:Aa;for(;ja<=Oa;)Gn(null,pa[ja]=Ya?cloneIfMounted(pa[ja]):normalizeVNode(pa[ja]),Sa,Ua,Ra,Fa,za,Wa,Ya),ja++}}else if(ja>Oa)for(;ja<=Xa;)ba(da[ja],Ra,Fa,!0),ja++;else{const Ma=ja,Ua=ja,Qa=new Map;for(ja=Ua;ja<=Oa;ja++){const di=pa[ja]=Ya?cloneIfMounted(pa[ja]):normalizeVNode(pa[ja]);di.key!=null&&Qa.set(di.key,ja)}let ri,fi=0;const ei=Oa-Ua+1;let ti=!1,ni=0;const ui=new Array(ei);for(ja=0;ja<ei;ja++)ui[ja]=0;for(ja=Ma;ja<=Xa;ja++){const di=da[ja];if(fi>=ei){ba(di,Ra,Fa,!0);continue}let gi;if(di.key!=null)gi=Qa.get(di.key);else for(ri=Ua;ri<=Oa;ri++)if(ui[ri-Ua]===0&&isSameVNodeType(di,pa[ri])){gi=ri;break}gi===void 0?ba(di,Ra,Fa,!0):(ui[gi-Ua]=ja+1,gi>=ni?ni=gi:ti=!0,Gn(di,pa[gi],Sa,null,Ra,Fa,za,Wa,Ya),fi++)}const mi=ti?getSequence(ui):EMPTY_ARR;for(ri=mi.length-1,ja=ei-1;ja>=0;ja--){const di=Ua+ja,gi=pa[di],wi=di+1<qa?pa[di+1].el:Aa;ui[ja]===0?Gn(null,gi,Sa,wi,Ra,Fa,za,Wa,Ya):ti&&(ri<0||ja!==mi[ri]?ya(gi,Sa,wi,2):ri--)}}},ya=(da,pa,Sa,Aa,Ra=null)=>{const{el:Fa,type:za,transition:Wa,children:Ya,shapeFlag:ja}=da;if(ja&6){ya(da.component.subTree,pa,Sa,Aa);return}if(ja&128){da.suspense.move(pa,Sa,Aa);return}if(ja&64){za.move(da,pa,Sa,$a);return}if(za===Fragment){Pn(Fa,pa,Sa);for(let Xa=0;Xa<Ya.length;Xa++)ya(Ya[Xa],pa,Sa,Aa);Pn(da.anchor,pa,Sa);return}if(za===Static){qo(da,pa,Sa);return}if(Aa!==2&&ja&1&&Wa)if(Aa===0)Wa.beforeEnter(Fa),Pn(Fa,pa,Sa),queuePostRenderEffect(()=>Wa.enter(Fa),Ra);else{const{leave:Xa,delayLeave:Oa,afterLeave:Ma}=Wa,Ua=()=>Pn(Fa,pa,Sa),Qa=()=>{Xa(Fa,()=>{Ua(),Ma&&Ma()})};Oa?Oa(Fa,Ua,Qa):Qa()}else Pn(Fa,pa,Sa)},ba=(da,pa,Sa,Aa=!1,Ra=!1)=>{const{type:Fa,props:za,ref:Wa,children:Ya,dynamicChildren:ja,shapeFlag:qa,patchFlag:Xa,dirs:Oa}=da;if(Wa!=null&&setRef(Wa,null,Sa,da,!0),qa&256){pa.ctx.deactivate(da);return}const Ma=qa&1&&Oa,Ua=!isAsyncWrapper(da);let Qa;if(Ua&&(Qa=za&&za.onVnodeBeforeUnmount)&&invokeVNodeHook(Qa,pa,da),qa&6)xa(da.component,Sa,Aa);else{if(qa&128){da.suspense.unmount(Sa,Aa);return}Ma&&invokeDirectiveHook(da,null,pa,"beforeUnmount"),qa&64?da.type.remove(da,pa,Sa,Ra,$a,Aa):ja&&(Fa!==Fragment||Xa>0&&Xa&64)?Ta(ja,pa,Sa,!1,!0):(Fa===Fragment&&Xa&384||!Ra&&qa&16)&&Ta(Ya,pa,Sa),Aa&&Ia(da)}(Ua&&(Qa=za&&za.onVnodeUnmounted)||Ma)&&queuePostRenderEffect(()=>{Qa&&invokeVNodeHook(Qa,pa,da),Ma&&invokeDirectiveHook(da,null,pa,"unmounted")},Sa)},Ia=da=>{const{type:pa,el:Sa,anchor:Aa,transition:Ra}=da;if(pa===Fragment){Ea(Sa,Aa);return}if(pa===Static){Jo(da);return}const Fa=()=>{In(Sa),Ra&&!Ra.persisted&&Ra.afterLeave&&Ra.afterLeave()};if(da.shapeFlag&1&&Ra&&!Ra.persisted){const{leave:za,delayLeave:Wa}=Ra,Ya=()=>za(Sa,Fa);Wa?Wa(da.el,Fa,Ya):Ya()}else Fa()},Ea=(da,pa)=>{let Sa;for(;da!==pa;)Sa=zn(da),In(da),da=Sa;In(pa)},xa=(da,pa,Sa)=>{const{bum:Aa,scope:Ra,update:Fa,subTree:za,um:Wa}=da;Aa&&invokeArrayFns(Aa),Ra.stop(),Fa&&(Fa.active=!1,ba(za,da,pa,Sa)),Wa&&queuePostRenderEffect(Wa,pa),queuePostRenderEffect(()=>{da.isUnmounted=!0},pa),pa&&pa.pendingBranch&&!pa.isUnmounted&&da.asyncDep&&!da.asyncResolved&&da.suspenseId===pa.pendingId&&(pa.deps--,pa.deps===0&&pa.resolve())},Ta=(da,pa,Sa,Aa=!1,Ra=!1,Fa=0)=>{for(let za=Fa;za<da.length;za++)ba(da[za],pa,Sa,Aa,Ra)},wa=da=>da.shapeFlag&6?wa(da.component.subTree):da.shapeFlag&128?da.suspense.next():zn(da.anchor||da.el);let La=!1;const Na=(da,pa,Sa)=>{da==null?pa._vnode&&ba(pa._vnode,null,null,!0):Gn(pa._vnode||null,da,pa,null,null,null,Sa),La||(La=!0,flushPreFlushCbs(),flushPostFlushCbs(),La=!1),pa._vnode=da},$a={p:Gn,um:ba,m:ya,r:Ia,mt:ga,mc:ta,pc:ia,pbc:ra,n:wa,o:$n};let ka,Ha;return Cn&&([ka,Ha]=Cn($a)),{render:Na,hydrate:ka,createApp:createAppAPI(Na,ka)}}function resolveChildrenNamespace({type:$n,props:Cn},_n){return _n==="svg"&&$n==="foreignObject"||_n==="mathml"&&$n==="annotation-xml"&&Cn&&Cn.encoding&&Cn.encoding.includes("html")?void 0:_n}function toggleRecurse({effect:$n,update:Cn},_n){$n.allowRecurse=Cn.allowRecurse=_n}function needTransition($n,Cn){return(!$n||$n&&!$n.pendingBranch)&&Cn&&!Cn.persisted}function traverseStaticChildren($n,Cn,_n=!1){const Pn=$n.children,In=Cn.children;if(isArray$4(Pn)&&isArray$4(In))for(let Nn=0;Nn<Pn.length;Nn++){const Rn=Pn[Nn];let Dn=In[Nn];Dn.shapeFlag&1&&!Dn.dynamicChildren&&((Dn.patchFlag<=0||Dn.patchFlag===32)&&(Dn=In[Nn]=cloneIfMounted(In[Nn]),Dn.el=Rn.el),_n||traverseStaticChildren(Rn,Dn)),Dn.type===Text$2&&(Dn.el=Rn.el)}}function getSequence($n){const Cn=$n.slice(),_n=[0];let Pn,In,Nn,Rn,Dn;const Ln=$n.length;for(Pn=0;Pn<Ln;Pn++){const Fn=$n[Pn];if(Fn!==0){if(In=_n[_n.length-1],$n[In]<Fn){Cn[Pn]=In,_n.push(Pn);continue}for(Nn=0,Rn=_n.length-1;Nn<Rn;)Dn=Nn+Rn>>1,$n[_n[Dn]]<Fn?Nn=Dn+1:Rn=Dn;Fn<$n[_n[Nn]]&&(Nn>0&&(Cn[Pn]=_n[Nn-1]),_n[Nn]=Pn)}}for(Nn=_n.length,Rn=_n[Nn-1];Nn-- >0;)_n[Nn]=Rn,Rn=Cn[Rn];return _n}function locateNonHydratedAsyncRoot($n){const Cn=$n.subTree.component;if(Cn)return Cn.asyncDep&&!Cn.asyncResolved?Cn:locateNonHydratedAsyncRoot(Cn)}const isTeleport=$n=>$n.__isTeleport,isTeleportDisabled=$n=>$n&&($n.disabled||$n.disabled===""),isTargetSVG=$n=>typeof SVGElement<"u"&&$n instanceof SVGElement,isTargetMathML=$n=>typeof MathMLElement=="function"&&$n instanceof MathMLElement,resolveTarget=($n,Cn)=>{const _n=$n&&$n.to;return isString$4(_n)?Cn?Cn(_n):null:_n},TeleportImpl={name:"Teleport",__isTeleport:!0,process($n,Cn,_n,Pn,In,Nn,Rn,Dn,Ln,Fn){const{mc:Bn,pc:Hn,pbc:zn,o:{insert:Wn,querySelector:Yn,createText:Gn,createComment:Go}}=Fn,Xn=isTeleportDisabled(Cn.props);let{shapeFlag:Yo,children:qo,dynamicChildren:Jo}=Cn;if($n==null){const Zo=Cn.el=Gn(""),rr=Cn.anchor=Gn("");Wn(Zo,_n,Pn),Wn(rr,_n,Pn);const nr=Cn.target=resolveTarget(Cn.props,Yn),ta=Cn.targetAnchor=Gn("");nr&&(Wn(ta,nr),Rn==="svg"||isTargetSVG(nr)?Rn="svg":(Rn==="mathml"||isTargetMathML(nr))&&(Rn="mathml"));const oa=(ra,ea)=>{Yo&16&&Bn(qo,ra,ea,In,Nn,Rn,Dn,Ln)};Xn?oa(_n,rr):nr&&oa(nr,ta)}else{Cn.el=$n.el;const Zo=Cn.anchor=$n.anchor,rr=Cn.target=$n.target,nr=Cn.targetAnchor=$n.targetAnchor,ta=isTeleportDisabled($n.props),oa=ta?_n:rr,ra=ta?Zo:nr;if(Rn==="svg"||isTargetSVG(rr)?Rn="svg":(Rn==="mathml"||isTargetMathML(rr))&&(Rn="mathml"),Jo?(zn($n.dynamicChildren,Jo,oa,In,Nn,Rn,Dn),traverseStaticChildren($n,Cn,!0)):Ln||Hn($n,Cn,oa,ra,In,Nn,Rn,Dn,!1),Xn)ta?Cn.props&&$n.props&&Cn.props.to!==$n.props.to&&(Cn.props.to=$n.props.to):moveTeleport(Cn,_n,Zo,Fn,1);else if((Cn.props&&Cn.props.to)!==($n.props&&$n.props.to)){const ea=Cn.target=resolveTarget(Cn.props,Yn);ea&&moveTeleport(Cn,ea,null,Fn,0)}else ta&&moveTeleport(Cn,rr,nr,Fn,1)}updateCssVars(Cn)},remove($n,Cn,_n,Pn,{um:In,o:{remove:Nn}},Rn){const{shapeFlag:Dn,children:Ln,anchor:Fn,targetAnchor:Bn,target:Hn,props:zn}=$n;if(Hn&&Nn(Bn),Rn&&Nn(Fn),Dn&16){const Wn=Rn||!isTeleportDisabled(zn);for(let Yn=0;Yn<Ln.length;Yn++){const Gn=Ln[Yn];In(Gn,Cn,_n,Wn,!!Gn.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport($n,Cn,_n,{o:{insert:Pn},m:In},Nn=2){Nn===0&&Pn($n.targetAnchor,Cn,_n);const{el:Rn,anchor:Dn,shapeFlag:Ln,children:Fn,props:Bn}=$n,Hn=Nn===2;if(Hn&&Pn(Rn,Cn,_n),(!Hn||isTeleportDisabled(Bn))&&Ln&16)for(let zn=0;zn<Fn.length;zn++)In(Fn[zn],Cn,_n,2);Hn&&Pn(Dn,Cn,_n)}function hydrateTeleport($n,Cn,_n,Pn,In,Nn,{o:{nextSibling:Rn,parentNode:Dn,querySelector:Ln}},Fn){const Bn=Cn.target=resolveTarget(Cn.props,Ln);if(Bn){const Hn=Bn._lpa||Bn.firstChild;if(Cn.shapeFlag&16)if(isTeleportDisabled(Cn.props))Cn.anchor=Fn(Rn($n),Cn,Dn($n),_n,Pn,In,Nn),Cn.targetAnchor=Hn;else{Cn.anchor=Rn($n);let zn=Hn;for(;zn;)if(zn=Rn(zn),zn&&zn.nodeType===8&&zn.data==="teleport anchor"){Cn.targetAnchor=zn,Bn._lpa=Cn.targetAnchor&&Rn(Cn.targetAnchor);break}Fn(Hn,Cn,Bn,_n,Pn,In,Nn)}updateCssVars(Cn)}return Cn.anchor&&Rn(Cn.anchor)}const Teleport=TeleportImpl;function updateCssVars($n){const Cn=$n.ctx;if(Cn&&Cn.ut){let _n=$n.children[0].el;for(;_n&&_n!==$n.targetAnchor;)_n.nodeType===1&&_n.setAttribute("data-v-owner",Cn.uid),_n=_n.nextSibling;Cn.ut()}}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$1=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock($n=!1){blockStack.push(currentBlock=$n?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking($n){isBlockTreeEnabled+=$n}function setupBlock($n){return $n.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push($n),$n}function createElementBlock($n,Cn,_n,Pn,In,Nn){return setupBlock(createBaseVNode($n,Cn,_n,Pn,In,Nn,!0))}function createBlock($n,Cn,_n,Pn,In){return setupBlock(createVNode($n,Cn,_n,Pn,In,!0))}function isVNode$1($n){return $n?$n.__v_isVNode===!0:!1}function isSameVNodeType($n,Cn){return $n.type===Cn.type&&$n.key===Cn.key}const InternalObjectKey="__vInternal",normalizeKey=({key:$n})=>$n??null,normalizeRef=({ref:$n,ref_key:Cn,ref_for:_n})=>(typeof $n=="number"&&($n=""+$n),$n!=null?isString$4($n)||isRef($n)||isFunction$3($n)?{i:currentRenderingInstance,r:$n,k:Cn,f:!!_n}:$n:null);function createBaseVNode($n,Cn=null,_n=null,Pn=0,In=null,Nn=$n===Fragment?0:1,Rn=!1,Dn=!1){const Ln={__v_isVNode:!0,__v_skip:!0,type:$n,props:Cn,key:Cn&&normalizeKey(Cn),ref:Cn&&normalizeRef(Cn),scopeId:currentScopeId,slotScopeIds:null,children:_n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:Nn,patchFlag:Pn,dynamicProps:In,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Dn?(normalizeChildren(Ln,_n),Nn&128&&$n.normalize(Ln)):_n&&(Ln.shapeFlag|=isString$4(_n)?8:16),isBlockTreeEnabled>0&&!Rn&¤tBlock&&(Ln.patchFlag>0||Nn&6)&&Ln.patchFlag!==32&¤tBlock.push(Ln),Ln}const createVNode=_createVNode;function _createVNode($n,Cn=null,_n=null,Pn=0,In=null,Nn=!1){if((!$n||$n===NULL_DYNAMIC_COMPONENT)&&($n=Comment$1),isVNode$1($n)){const Dn=cloneVNode($n,Cn,!0);return _n&&normalizeChildren(Dn,_n),isBlockTreeEnabled>0&&!Nn&¤tBlock&&(Dn.shapeFlag&6?currentBlock[currentBlock.indexOf($n)]=Dn:currentBlock.push(Dn)),Dn.patchFlag|=-2,Dn}if(isClassComponent($n)&&($n=$n.__vccOpts),Cn){Cn=guardReactiveProps(Cn);let{class:Dn,style:Ln}=Cn;Dn&&!isString$4(Dn)&&(Cn.class=normalizeClass(Dn)),isObject$7(Ln)&&(isProxy(Ln)&&!isArray$4(Ln)&&(Ln=extend({},Ln)),Cn.style=normalizeStyle$1(Ln))}const Rn=isString$4($n)?1:isSuspense($n)?128:isTeleport($n)?64:isObject$7($n)?4:isFunction$3($n)?2:0;return createBaseVNode($n,Cn,_n,Pn,In,Rn,Nn,!0)}function guardReactiveProps($n){return $n?isProxy($n)||InternalObjectKey in $n?extend({},$n):$n:null}function cloneVNode($n,Cn,_n=!1){const{props:Pn,ref:In,patchFlag:Nn,children:Rn}=$n,Dn=Cn?mergeProps(Pn||{},Cn):Pn;return{__v_isVNode:!0,__v_skip:!0,type:$n.type,props:Dn,key:Dn&&normalizeKey(Dn),ref:Cn&&Cn.ref?_n&&In?isArray$4(In)?In.concat(normalizeRef(Cn)):[In,normalizeRef(Cn)]:normalizeRef(Cn):In,scopeId:$n.scopeId,slotScopeIds:$n.slotScopeIds,children:Rn,target:$n.target,targetAnchor:$n.targetAnchor,staticCount:$n.staticCount,shapeFlag:$n.shapeFlag,patchFlag:Cn&&$n.type!==Fragment?Nn===-1?16:Nn|16:Nn,dynamicProps:$n.dynamicProps,dynamicChildren:$n.dynamicChildren,appContext:$n.appContext,dirs:$n.dirs,transition:$n.transition,component:$n.component,suspense:$n.suspense,ssContent:$n.ssContent&&cloneVNode($n.ssContent),ssFallback:$n.ssFallback&&cloneVNode($n.ssFallback),el:$n.el,anchor:$n.anchor,ctx:$n.ctx,ce:$n.ce}}function createTextVNode($n=" ",Cn=0){return createVNode(Text$2,null,$n,Cn)}function createCommentVNode($n="",Cn=!1){return Cn?(openBlock(),createBlock(Comment$1,null,$n)):createVNode(Comment$1,null,$n)}function normalizeVNode($n){return $n==null||typeof $n=="boolean"?createVNode(Comment$1):isArray$4($n)?createVNode(Fragment,null,$n.slice()):typeof $n=="object"?cloneIfMounted($n):createVNode(Text$2,null,String($n))}function cloneIfMounted($n){return $n.el===null&&$n.patchFlag!==-1||$n.memo?$n:cloneVNode($n)}function normalizeChildren($n,Cn){let _n=0;const{shapeFlag:Pn}=$n;if(Cn==null)Cn=null;else if(isArray$4(Cn))_n=16;else if(typeof Cn=="object")if(Pn&65){const In=Cn.default;In&&(In._c&&(In._d=!1),normalizeChildren($n,In()),In._c&&(In._d=!0));return}else{_n=32;const In=Cn._;!In&&!(InternalObjectKey in Cn)?Cn._ctx=currentRenderingInstance:In===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?Cn._=1:(Cn._=2,$n.patchFlag|=1024))}else isFunction$3(Cn)?(Cn={default:Cn,_ctx:currentRenderingInstance},_n=32):(Cn=String(Cn),Pn&64?(_n=16,Cn=[createTextVNode(Cn)]):_n=8);$n.children=Cn,$n.shapeFlag|=_n}function mergeProps(...$n){const Cn={};for(let _n=0;_n<$n.length;_n++){const Pn=$n[_n];for(const In in Pn)if(In==="class")Cn.class!==Pn.class&&(Cn.class=normalizeClass([Cn.class,Pn.class]));else if(In==="style")Cn.style=normalizeStyle$1([Cn.style,Pn.style]);else if(isOn$1(In)){const Nn=Cn[In],Rn=Pn[In];Rn&&Nn!==Rn&&!(isArray$4(Nn)&&Nn.includes(Rn))&&(Cn[In]=Nn?[].concat(Nn,Rn):Rn)}else In!==""&&(Cn[In]=Pn[In])}return Cn}function invokeVNodeHook($n,Cn,_n,Pn=null){callWithAsyncErrorHandling($n,Cn,7,[_n,Pn])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance($n,Cn,_n){const Pn=$n.type,In=(Cn?Cn.appContext:$n.appContext)||emptyAppContext,Nn={uid:uid$2++,vnode:$n,type:Pn,parent:Cn,appContext:In,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:Cn?Cn.provides:Object.create(In.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(Pn,In),emitsOptions:normalizeEmitsOptions(Pn,In),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:Pn.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:_n,suspenseId:_n?_n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return Nn.ctx={_:Nn},Nn.root=Cn?Cn.root:Nn,Nn.emit=emit.bind(null,Nn),$n.ce&&$n.ce(Nn),Nn}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const $n=getGlobalThis$1(),Cn=(_n,Pn)=>{let In;return(In=$n[_n])||(In=$n[_n]=[]),In.push(Pn),Nn=>{In.length>1?In.forEach(Rn=>Rn(Nn)):In[0](Nn)}};internalSetCurrentInstance=Cn("__VUE_INSTANCE_SETTERS__",_n=>currentInstance=_n),setInSSRSetupState=Cn("__VUE_SSR_SETTERS__",_n=>isInSSRComponentSetup=_n)}const setCurrentInstance=$n=>{const Cn=currentInstance;return internalSetCurrentInstance($n),$n.scope.on(),()=>{$n.scope.off(),internalSetCurrentInstance(Cn)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent($n){return $n.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent($n,Cn=!1){Cn&&setInSSRSetupState(Cn);const{props:_n,children:Pn}=$n.vnode,In=isStatefulComponent($n);initProps($n,_n,In,Cn),initSlots($n,Pn);const Nn=In?setupStatefulComponent($n,Cn):void 0;return Cn&&setInSSRSetupState(!1),Nn}function setupStatefulComponent($n,Cn){const _n=$n.type;$n.accessCache=Object.create(null),$n.proxy=markRaw(new Proxy($n.ctx,PublicInstanceProxyHandlers));const{setup:Pn}=_n;if(Pn){const In=$n.setupContext=Pn.length>1?createSetupContext($n):null,Nn=setCurrentInstance($n);pauseTracking();const Rn=callWithErrorHandling(Pn,$n,0,[$n.props,In]);if(resetTracking(),Nn(),isPromise$1(Rn)){if(Rn.then(unsetCurrentInstance,unsetCurrentInstance),Cn)return Rn.then(Dn=>{handleSetupResult($n,Dn,Cn)}).catch(Dn=>{handleError(Dn,$n,0)});$n.asyncDep=Rn}else handleSetupResult($n,Rn,Cn)}else finishComponentSetup($n,Cn)}function handleSetupResult($n,Cn,_n){isFunction$3(Cn)?$n.type.__ssrInlineRender?$n.ssrRender=Cn:$n.render=Cn:isObject$7(Cn)&&($n.setupState=proxyRefs(Cn)),finishComponentSetup($n,_n)}let compile$2;function finishComponentSetup($n,Cn,_n){const Pn=$n.type;if(!$n.render){if(!Cn&&compile$2&&!Pn.render){const In=Pn.template||resolveMergedOptions($n).template;if(In){const{isCustomElement:Nn,compilerOptions:Rn}=$n.appContext.config,{delimiters:Dn,compilerOptions:Ln}=Pn,Fn=extend(extend({isCustomElement:Nn,delimiters:Dn},Rn),Ln);Pn.render=compile$2(In,Fn)}}$n.render=Pn.render||NOOP}{const In=setCurrentInstance($n);pauseTracking();try{applyOptions($n)}finally{resetTracking(),In()}}}function getAttrsProxy($n){return $n.attrsProxy||($n.attrsProxy=new Proxy($n.attrs,{get(Cn,_n){return track($n,"get","$attrs"),Cn[_n]}}))}function createSetupContext($n){const Cn=_n=>{$n.exposed=_n||{}};return{get attrs(){return getAttrsProxy($n)},slots:$n.slots,emit:$n.emit,expose:Cn}}function getExposeProxy($n){if($n.exposed)return $n.exposeProxy||($n.exposeProxy=new Proxy(proxyRefs(markRaw($n.exposed)),{get(Cn,_n){if(_n in Cn)return Cn[_n];if(_n in publicPropertiesMap)return publicPropertiesMap[_n]($n)},has(Cn,_n){return _n in Cn||_n in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=$n=>$n.replace(classifyRE,Cn=>Cn.toUpperCase()).replace(/[-_]/g,"");function getComponentName($n,Cn=!0){return isFunction$3($n)?$n.displayName||$n.name:$n.name||Cn&&$n.__name}function formatComponentName($n,Cn,_n=!1){let Pn=getComponentName(Cn);if(!Pn&&Cn.__file){const In=Cn.__file.match(/([^/\\]+)\.\w+$/);In&&(Pn=In[1])}if(!Pn&&$n&&$n.parent){const In=Nn=>{for(const Rn in Nn)if(Nn[Rn]===Cn)return Rn};Pn=In($n.components||$n.parent.type.components)||In($n.appContext.components)}return Pn?classify(Pn):_n?"App":"Anonymous"}function isClassComponent($n){return isFunction$3($n)&&"__vccOpts"in $n}const computed=($n,Cn)=>computed$1($n,Cn,isInSSRComponentSetup);function h$3($n,Cn,_n){const Pn=arguments.length;return Pn===2?isObject$7(Cn)&&!isArray$4(Cn)?isVNode$1(Cn)?createVNode($n,null,[Cn]):createVNode($n,Cn):createVNode($n,null,Cn):(Pn>3?_n=Array.prototype.slice.call(arguments,2):Pn===3&&isVNode$1(_n)&&(_n=[_n]),createVNode($n,Cn,_n))}const version$1="3.4.15";/**
-* @vue/runtime-dom v3.4.15
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:($n,Cn,_n)=>{Cn.insertBefore($n,_n||null)},remove:$n=>{const Cn=$n.parentNode;Cn&&Cn.removeChild($n)},createElement:($n,Cn,_n,Pn)=>{const In=Cn==="svg"?doc.createElementNS(svgNS,$n):Cn==="mathml"?doc.createElementNS(mathmlNS,$n):doc.createElement($n,_n?{is:_n}:void 0);return $n==="select"&&Pn&&Pn.multiple!=null&&In.setAttribute("multiple",Pn.multiple),In},createText:$n=>doc.createTextNode($n),createComment:$n=>doc.createComment($n),setText:($n,Cn)=>{$n.nodeValue=Cn},setElementText:($n,Cn)=>{$n.textContent=Cn},parentNode:$n=>$n.parentNode,nextSibling:$n=>$n.nextSibling,querySelector:$n=>doc.querySelector($n),setScopeId($n,Cn){$n.setAttribute(Cn,"")},insertStaticContent($n,Cn,_n,Pn,In,Nn){const Rn=_n?_n.previousSibling:Cn.lastChild;if(In&&(In===Nn||In.nextSibling))for(;Cn.insertBefore(In.cloneNode(!0),_n),!(In===Nn||!(In=In.nextSibling)););else{templateContainer.innerHTML=Pn==="svg"?`<svg>${$n}</svg>`:Pn==="mathml"?`<math>${$n}</math>`:$n;const Dn=templateContainer.content;if(Pn==="svg"||Pn==="mathml"){const Ln=Dn.firstChild;for(;Ln.firstChild;)Dn.appendChild(Ln.firstChild);Dn.removeChild(Ln)}Cn.insertBefore(Dn,_n)}return[Rn?Rn.nextSibling:Cn.firstChild,_n?_n.previousSibling:Cn.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=($n,{slots:Cn})=>h$3(BaseTransition,resolveTransitionProps($n),Cn);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=($n,Cn=[])=>{isArray$4($n)?$n.forEach(_n=>_n(...Cn)):$n&&$n(...Cn)},hasExplicitCallback=$n=>$n?isArray$4($n)?$n.some(Cn=>Cn.length>1):$n.length>1:!1;function resolveTransitionProps($n){const Cn={};for(const la in $n)la in DOMTransitionPropsValidators||(Cn[la]=$n[la]);if($n.css===!1)return Cn;const{name:_n="v",type:Pn,duration:In,enterFromClass:Nn=`${_n}-enter-from`,enterActiveClass:Rn=`${_n}-enter-active`,enterToClass:Dn=`${_n}-enter-to`,appearFromClass:Ln=Nn,appearActiveClass:Fn=Rn,appearToClass:Bn=Dn,leaveFromClass:Hn=`${_n}-leave-from`,leaveActiveClass:zn=`${_n}-leave-active`,leaveToClass:Wn=`${_n}-leave-to`}=$n,Yn=normalizeDuration(In),Gn=Yn&&Yn[0],Go=Yn&&Yn[1],{onBeforeEnter:Xn,onEnter:Yo,onEnterCancelled:qo,onLeave:Jo,onLeaveCancelled:Zo,onBeforeAppear:rr=Xn,onAppear:nr=Yo,onAppearCancelled:ta=qo}=Cn,oa=(la,ua,ga)=>{removeTransitionClass(la,ua?Bn:Dn),removeTransitionClass(la,ua?Fn:Rn),ga&&ga()},ra=(la,ua)=>{la._isLeaving=!1,removeTransitionClass(la,Hn),removeTransitionClass(la,Wn),removeTransitionClass(la,zn),ua&&ua()},ea=la=>(ua,ga)=>{const aa=la?nr:Yo,ca=()=>oa(ua,la,ga);callHook(aa,[ua,ca]),nextFrame(()=>{removeTransitionClass(ua,la?Ln:Nn),addTransitionClass(ua,la?Bn:Dn),hasExplicitCallback(aa)||whenTransitionEnds(ua,Pn,Gn,ca)})};return extend(Cn,{onBeforeEnter(la){callHook(Xn,[la]),addTransitionClass(la,Nn),addTransitionClass(la,Rn)},onBeforeAppear(la){callHook(rr,[la]),addTransitionClass(la,Ln),addTransitionClass(la,Fn)},onEnter:ea(!1),onAppear:ea(!0),onLeave(la,ua){la._isLeaving=!0;const ga=()=>ra(la,ua);addTransitionClass(la,Hn),forceReflow(),addTransitionClass(la,zn),nextFrame(()=>{la._isLeaving&&(removeTransitionClass(la,Hn),addTransitionClass(la,Wn),hasExplicitCallback(Jo)||whenTransitionEnds(la,Pn,Go,ga))}),callHook(Jo,[la,ga])},onEnterCancelled(la){oa(la,!1),callHook(qo,[la])},onAppearCancelled(la){oa(la,!0),callHook(ta,[la])},onLeaveCancelled(la){ra(la),callHook(Zo,[la])}})}function normalizeDuration($n){if($n==null)return null;if(isObject$7($n))return[NumberOf($n.enter),NumberOf($n.leave)];{const Cn=NumberOf($n);return[Cn,Cn]}}function NumberOf($n){return toNumber$1($n)}function addTransitionClass($n,Cn){Cn.split(/\s+/).forEach(_n=>_n&&$n.classList.add(_n)),($n[vtcKey]||($n[vtcKey]=new Set)).add(Cn)}function removeTransitionClass($n,Cn){Cn.split(/\s+/).forEach(Pn=>Pn&&$n.classList.remove(Pn));const _n=$n[vtcKey];_n&&(_n.delete(Cn),_n.size||($n[vtcKey]=void 0))}function nextFrame($n){requestAnimationFrame(()=>{requestAnimationFrame($n)})}let endId=0;function whenTransitionEnds($n,Cn,_n,Pn){const In=$n._endId=++endId,Nn=()=>{In===$n._endId&&Pn()};if(_n)return setTimeout(Nn,_n);const{type:Rn,timeout:Dn,propCount:Ln}=getTransitionInfo($n,Cn);if(!Rn)return Pn();const Fn=Rn+"end";let Bn=0;const Hn=()=>{$n.removeEventListener(Fn,zn),Nn()},zn=Wn=>{Wn.target===$n&&++Bn>=Ln&&Hn()};setTimeout(()=>{Bn<Ln&&Hn()},Dn+1),$n.addEventListener(Fn,zn)}function getTransitionInfo($n,Cn){const _n=window.getComputedStyle($n),Pn=Yn=>(_n[Yn]||"").split(", "),In=Pn(`${TRANSITION}Delay`),Nn=Pn(`${TRANSITION}Duration`),Rn=getTimeout(In,Nn),Dn=Pn(`${ANIMATION}Delay`),Ln=Pn(`${ANIMATION}Duration`),Fn=getTimeout(Dn,Ln);let Bn=null,Hn=0,zn=0;Cn===TRANSITION?Rn>0&&(Bn=TRANSITION,Hn=Rn,zn=Nn.length):Cn===ANIMATION?Fn>0&&(Bn=ANIMATION,Hn=Fn,zn=Ln.length):(Hn=Math.max(Rn,Fn),Bn=Hn>0?Rn>Fn?TRANSITION:ANIMATION:null,zn=Bn?Bn===TRANSITION?Nn.length:Ln.length:0);const Wn=Bn===TRANSITION&&/\b(transform|all)(,|$)/.test(Pn(`${TRANSITION}Property`).toString());return{type:Bn,timeout:Hn,propCount:zn,hasTransform:Wn}}function getTimeout($n,Cn){for(;$n.length<Cn.length;)$n=$n.concat($n);return Math.max(...Cn.map((_n,Pn)=>toMs(_n)+toMs($n[Pn])))}function toMs($n){return $n==="auto"?0:Number($n.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass($n,Cn,_n){const Pn=$n[vtcKey];Pn&&(Cn=(Cn?[Cn,...Pn]:[...Pn]).join(" ")),Cn==null?$n.removeAttribute("class"):_n?$n.setAttribute("class",Cn):$n.className=Cn}const vShowOldKey=Symbol("_vod"),vShow={beforeMount($n,{value:Cn},{transition:_n}){$n[vShowOldKey]=$n.style.display==="none"?"":$n.style.display,_n&&Cn?_n.beforeEnter($n):setDisplay($n,Cn)},mounted($n,{value:Cn},{transition:_n}){_n&&Cn&&_n.enter($n)},updated($n,{value:Cn,oldValue:_n},{transition:Pn}){!Cn!=!_n&&(Pn?Cn?(Pn.beforeEnter($n),setDisplay($n,!0),Pn.enter($n)):Pn.leave($n,()=>{setDisplay($n,!1)}):setDisplay($n,Cn))},beforeUnmount($n,{value:Cn}){setDisplay($n,Cn)}};function setDisplay($n,Cn){$n.style.display=Cn?$n[vShowOldKey]:"none"}const CSS_VAR_TEXT=Symbol("");function useCssVars($n){const Cn=getCurrentInstance();if(!Cn)return;const _n=Cn.ut=(In=$n(Cn.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${Cn.uid}"]`)).forEach(Nn=>setVarsOnNode(Nn,In))},Pn=()=>{const In=$n(Cn.proxy);setVarsOnVNode(Cn.subTree,In),_n(In)};watchPostEffect(Pn),onMounted(()=>{const In=new MutationObserver(Pn);In.observe(Cn.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>In.disconnect())})}function setVarsOnVNode($n,Cn){if($n.shapeFlag&128){const _n=$n.suspense;$n=_n.activeBranch,_n.pendingBranch&&!_n.isHydrating&&_n.effects.push(()=>{setVarsOnVNode(_n.activeBranch,Cn)})}for(;$n.component;)$n=$n.component.subTree;if($n.shapeFlag&1&&$n.el)setVarsOnNode($n.el,Cn);else if($n.type===Fragment)$n.children.forEach(_n=>setVarsOnVNode(_n,Cn));else if($n.type===Static){let{el:_n,anchor:Pn}=$n;for(;_n&&(setVarsOnNode(_n,Cn),_n!==Pn);)_n=_n.nextSibling}}function setVarsOnNode($n,Cn){if($n.nodeType===1){const _n=$n.style;let Pn="";for(const In in Cn)_n.setProperty(`--${In}`,Cn[In]),Pn+=`--${In}: ${Cn[In]};`;_n[CSS_VAR_TEXT]=Pn}}function patchStyle($n,Cn,_n){const Pn=$n.style,In=Pn.display,Nn=isString$4(_n);if(_n&&!Nn){if(Cn&&!isString$4(Cn))for(const Rn in Cn)_n[Rn]==null&&setStyle(Pn,Rn,"");for(const Rn in _n)setStyle(Pn,Rn,_n[Rn])}else if(Nn){if(Cn!==_n){const Rn=Pn[CSS_VAR_TEXT];Rn&&(_n+=";"+Rn),Pn.cssText=_n}}else Cn&&$n.removeAttribute("style");vShowOldKey in $n&&(Pn.display=In)}const importantRE=/\s*!important$/;function setStyle($n,Cn,_n){if(isArray$4(_n))_n.forEach(Pn=>setStyle($n,Cn,Pn));else if(_n==null&&(_n=""),Cn.startsWith("--"))$n.setProperty(Cn,_n);else{const Pn=autoPrefix($n,Cn);importantRE.test(_n)?$n.setProperty(hyphenate$1(Pn),_n.replace(importantRE,""),"important"):$n[Pn]=_n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix($n,Cn){const _n=prefixCache[Cn];if(_n)return _n;let Pn=camelize$1(Cn);if(Pn!=="filter"&&Pn in $n)return prefixCache[Cn]=Pn;Pn=capitalize$2(Pn);for(let In=0;In<prefixes.length;In++){const Nn=prefixes[In]+Pn;if(Nn in $n)return prefixCache[Cn]=Nn}return Cn}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr($n,Cn,_n,Pn,In){if(Pn&&Cn.startsWith("xlink:"))_n==null?$n.removeAttributeNS(xlinkNS,Cn.slice(6,Cn.length)):$n.setAttributeNS(xlinkNS,Cn,_n);else{const Nn=isSpecialBooleanAttr(Cn);_n==null||Nn&&!includeBooleanAttr(_n)?$n.removeAttribute(Cn):$n.setAttribute(Cn,Nn?"":_n)}}function patchDOMProp($n,Cn,_n,Pn,In,Nn,Rn){if(Cn==="innerHTML"||Cn==="textContent"){Pn&&Rn(Pn,In,Nn),$n[Cn]=_n??"";return}const Dn=$n.tagName;if(Cn==="value"&&Dn!=="PROGRESS"&&!Dn.includes("-")){$n._value=_n;const Fn=Dn==="OPTION"?$n.getAttribute("value"):$n.value,Bn=_n??"";Fn!==Bn&&($n.value=Bn),_n==null&&$n.removeAttribute(Cn);return}let Ln=!1;if(_n===""||_n==null){const Fn=typeof $n[Cn];Fn==="boolean"?_n=includeBooleanAttr(_n):_n==null&&Fn==="string"?(_n="",Ln=!0):Fn==="number"&&(_n=0,Ln=!0)}try{$n[Cn]=_n}catch{}Ln&&$n.removeAttribute(Cn)}function addEventListener$1($n,Cn,_n,Pn){$n.addEventListener(Cn,_n,Pn)}function removeEventListener($n,Cn,_n,Pn){$n.removeEventListener(Cn,_n,Pn)}const veiKey=Symbol("_vei");function patchEvent($n,Cn,_n,Pn,In=null){const Nn=$n[veiKey]||($n[veiKey]={}),Rn=Nn[Cn];if(Pn&&Rn)Rn.value=Pn;else{const[Dn,Ln]=parseName(Cn);if(Pn){const Fn=Nn[Cn]=createInvoker(Pn,In);addEventListener$1($n,Dn,Fn,Ln)}else Rn&&(removeEventListener($n,Dn,Rn,Ln),Nn[Cn]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName($n){let Cn;if(optionsModifierRE.test($n)){Cn={};let Pn;for(;Pn=$n.match(optionsModifierRE);)$n=$n.slice(0,$n.length-Pn[0].length),Cn[Pn[0].toLowerCase()]=!0}return[$n[2]===":"?$n.slice(3):hyphenate$1($n.slice(2)),Cn]}let cachedNow=0;const p$2=Promise.resolve(),getNow=()=>cachedNow||(p$2.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker($n,Cn){const _n=Pn=>{if(!Pn._vts)Pn._vts=Date.now();else if(Pn._vts<=_n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(Pn,_n.value),Cn,5,[Pn])};return _n.value=$n,_n.attached=getNow(),_n}function patchStopImmediatePropagation($n,Cn){if(isArray$4(Cn)){const _n=$n.stopImmediatePropagation;return $n.stopImmediatePropagation=()=>{_n.call($n),$n._stopped=!0},Cn.map(Pn=>In=>!In._stopped&&Pn&&Pn(In))}else return Cn}const isNativeOn=$n=>$n.charCodeAt(0)===111&&$n.charCodeAt(1)===110&&$n.charCodeAt(2)>96&&$n.charCodeAt(2)<123,patchProp=($n,Cn,_n,Pn,In,Nn,Rn,Dn,Ln)=>{const Fn=In==="svg";Cn==="class"?patchClass($n,Pn,Fn):Cn==="style"?patchStyle($n,_n,Pn):isOn$1(Cn)?isModelListener(Cn)||patchEvent($n,Cn,_n,Pn,Rn):(Cn[0]==="."?(Cn=Cn.slice(1),!0):Cn[0]==="^"?(Cn=Cn.slice(1),!1):shouldSetAsProp($n,Cn,Pn,Fn))?patchDOMProp($n,Cn,Pn,Nn,Rn,Dn,Ln):(Cn==="true-value"?$n._trueValue=Pn:Cn==="false-value"&&($n._falseValue=Pn),patchAttr($n,Cn,Pn,Fn))};function shouldSetAsProp($n,Cn,_n,Pn){if(Pn)return!!(Cn==="innerHTML"||Cn==="textContent"||Cn in $n&&isNativeOn(Cn)&&isFunction$3(_n));if(Cn==="spellcheck"||Cn==="draggable"||Cn==="translate"||Cn==="form"||Cn==="list"&&$n.tagName==="INPUT"||Cn==="type"&&$n.tagName==="TEXTAREA")return!1;if(Cn==="width"||Cn==="height"){const In=$n.tagName;if(In==="IMG"||In==="VIDEO"||In==="CANVAS"||In==="SOURCE")return!1}return isNativeOn(Cn)&&isString$4(_n)?!1:Cn in $n}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup($n,{slots:Cn}){const _n=getCurrentInstance(),Pn=useTransitionState();let In,Nn;return onUpdated(()=>{if(!In.length)return;const Rn=$n.moveClass||`${$n.name||"v"}-move`;if(!hasCSSTransform(In[0].el,_n.vnode.el,Rn))return;In.forEach(callPendingCbs),In.forEach(recordPosition);const Dn=In.filter(applyTranslation);forceReflow(),Dn.forEach(Ln=>{const Fn=Ln.el,Bn=Fn.style;addTransitionClass(Fn,Rn),Bn.transform=Bn.webkitTransform=Bn.transitionDuration="";const Hn=Fn[moveCbKey]=zn=>{zn&&zn.target!==Fn||(!zn||/transform$/.test(zn.propertyName))&&(Fn.removeEventListener("transitionend",Hn),Fn[moveCbKey]=null,removeTransitionClass(Fn,Rn))};Fn.addEventListener("transitionend",Hn)})}),()=>{const Rn=toRaw($n),Dn=resolveTransitionProps(Rn);let Ln=Rn.tag||Fragment;In=Nn,Nn=Cn.default?getTransitionRawChildren(Cn.default()):[];for(let Fn=0;Fn<Nn.length;Fn++){const Bn=Nn[Fn];Bn.key!=null&&setTransitionHooks(Bn,resolveTransitionHooks(Bn,Dn,Pn,_n))}if(In)for(let Fn=0;Fn<In.length;Fn++){const Bn=In[Fn];setTransitionHooks(Bn,resolveTransitionHooks(Bn,Dn,Pn,_n)),positionMap.set(Bn,Bn.el.getBoundingClientRect())}return createVNode(Ln,null,Nn)}}},removeMode=$n=>delete $n.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs($n){const Cn=$n.el;Cn[moveCbKey]&&Cn[moveCbKey](),Cn[enterCbKey]&&Cn[enterCbKey]()}function recordPosition($n){newPositionMap.set($n,$n.el.getBoundingClientRect())}function applyTranslation($n){const Cn=positionMap.get($n),_n=newPositionMap.get($n),Pn=Cn.left-_n.left,In=Cn.top-_n.top;if(Pn||In){const Nn=$n.el.style;return Nn.transform=Nn.webkitTransform=`translate(${Pn}px,${In}px)`,Nn.transitionDuration="0s",$n}}function hasCSSTransform($n,Cn,_n){const Pn=$n.cloneNode(),In=$n[vtcKey];In&&In.forEach(Dn=>{Dn.split(/\s+/).forEach(Ln=>Ln&&Pn.classList.remove(Ln))}),_n.split(/\s+/).forEach(Dn=>Dn&&Pn.classList.add(Dn)),Pn.style.display="none";const Nn=Cn.nodeType===1?Cn:Cn.parentNode;Nn.appendChild(Pn);const{hasTransform:Rn}=getTransitionInfo(Pn);return Nn.removeChild(Pn),Rn}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:$n=>$n.stopPropagation(),prevent:$n=>$n.preventDefault(),self:$n=>$n.target!==$n.currentTarget,ctrl:$n=>!$n.ctrlKey,shift:$n=>!$n.shiftKey,alt:$n=>!$n.altKey,meta:$n=>!$n.metaKey,left:$n=>"button"in $n&&$n.button!==0,middle:$n=>"button"in $n&&$n.button!==1,right:$n=>"button"in $n&&$n.button!==2,exact:($n,Cn)=>systemModifiers.some(_n=>$n[`${_n}Key`]&&!Cn.includes(_n))},withModifiers=($n,Cn)=>{const _n=$n._withMods||($n._withMods={}),Pn=Cn.join(".");return _n[Pn]||(_n[Pn]=(In,...Nn)=>{for(let Rn=0;Rn<Cn.length;Rn++){const Dn=modifierGuards[Cn[Rn]];if(Dn&&Dn(In,Cn))return}return $n(In,...Nn)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=($n,Cn)=>{const _n=$n._withKeys||($n._withKeys={}),Pn=Cn.join(".");return _n[Pn]||(_n[Pn]=In=>{if(!("key"in In))return;const Nn=hyphenate$1(In.key);if(Cn.some(Rn=>Rn===Nn||keyNames[Rn]===Nn))return $n(In)})},rendererOptions=extend({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const render$1=(...$n)=>{ensureRenderer().render(...$n)},createApp=(...$n)=>{const Cn=ensureRenderer().createApp(...$n),{mount:_n}=Cn;return Cn.mount=Pn=>{const In=normalizeContainer(Pn);if(!In)return;const Nn=Cn._component;!isFunction$3(Nn)&&!Nn.render&&!Nn.template&&(Nn.template=In.innerHTML),In.innerHTML="";const Rn=_n(In,!1,resolveRootNamespace(In));return In instanceof Element&&(In.removeAttribute("v-cloak"),In.setAttribute("data-v-app","")),Rn},Cn};function resolveRootNamespace($n){if($n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&$n instanceof MathMLElement)return"mathml"}function normalizeContainer($n){return isString$4($n)?document.querySelector($n):$n}function _typeof$2($n){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Cn){return typeof Cn}:function(Cn){return Cn&&typeof Symbol=="function"&&Cn.constructor===Symbol&&Cn!==Symbol.prototype?"symbol":typeof Cn},_typeof$2($n)}function toPrimitive($n,Cn){if(_typeof$2($n)!="object"||!$n)return $n;var _n=$n[Symbol.toPrimitive];if(_n!==void 0){var Pn=_n.call($n,Cn||"default");if(_typeof$2(Pn)!="object")return Pn;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Cn==="string"?String:Number)($n)}function toPropertyKey($n){var Cn=toPrimitive($n,"string");return _typeof$2(Cn)=="symbol"?Cn:String(Cn)}function _defineProperty$Y($n,Cn,_n){return Cn=toPropertyKey(Cn),Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}function ownKeys$1($n,Cn){var _n=Object.keys($n);if(Object.getOwnPropertySymbols){var Pn=Object.getOwnPropertySymbols($n);Cn&&(Pn=Pn.filter(function(In){return Object.getOwnPropertyDescriptor($n,In).enumerable})),_n.push.apply(_n,Pn)}return _n}function _objectSpread2$1($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?arguments[Cn]:{};Cn%2?ownKeys$1(Object(_n),!0).forEach(function(Pn){_defineProperty$Y($n,Pn,_n[Pn])}):Object.getOwnPropertyDescriptors?Object.defineProperties($n,Object.getOwnPropertyDescriptors(_n)):ownKeys$1(Object(_n)).forEach(function(Pn){Object.defineProperty($n,Pn,Object.getOwnPropertyDescriptor(_n,Pn))})}return $n}function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn];for(var Pn in _n)Object.prototype.hasOwnProperty.call(_n,Pn)&&($n[Pn]=_n[Pn])}return $n},_extends$1.apply(this,arguments)}const isFunction$2=$n=>typeof $n=="function",isArray$3=Array.isArray,isString$3=$n=>typeof $n=="string",isObject$6=$n=>$n!==null&&typeof $n=="object",onRE=/^on[^a-z]/,isOn=$n=>onRE.test($n),cacheStringFunction=$n=>{const Cn=Object.create(null);return _n=>Cn[_n]||(Cn[_n]=$n(_n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction($n=>$n.replace(camelizeRE,(Cn,_n)=>_n?_n.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction($n=>$n.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction($n=>$n.charAt(0).toUpperCase()+$n.slice(1)),hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$1=($n,Cn)=>hasOwnProperty$f.call($n,Cn);function resolvePropValue($n,Cn,_n,Pn){const In=$n[_n];if(In!=null){const Nn=hasOwn$1(In,"default");if(Nn&&Pn===void 0){const Rn=In.default;Pn=In.type!==Function&&isFunction$2(Rn)?Rn():Rn}In.type===Boolean&&(!hasOwn$1(Cn,_n)&&!Nn?Pn=!1:Pn===""&&(Pn=!0))}return Pn}function getDataAndAriaProps($n){return Object.keys($n).reduce((Cn,_n)=>((_n.startsWith("data-")||_n.startsWith("aria-"))&&(Cn[_n]=$n[_n]),Cn),{})}function toPx($n){return typeof $n=="number"?`${$n}px`:$n}function renderHelper($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=arguments.length>2?arguments[2]:void 0;return typeof $n=="function"?$n(Cn):$n??_n}function wrapPromiseFn($n){let Cn;const _n=new Promise(In=>{Cn=$n(()=>{In(!0)})}),Pn=()=>{Cn==null||Cn()};return Pn.then=(In,Nn)=>_n.then(In,Nn),Pn.promise=_n,Pn}function classNames(){const $n=[];for(let Cn=0;Cn<arguments.length;Cn++){const _n=Cn<0||arguments.length<=Cn?void 0:arguments[Cn];if(_n){if(isString$3(_n))$n.push(_n);else if(isArray$3(_n))for(let Pn=0;Pn<_n.length;Pn++){const In=classNames(_n[Pn]);In&&$n.push(In)}else if(isObject$6(_n))for(const Pn in _n)_n[Pn]&&$n.push(Pn)}}return $n.join(" ")}var MapShim=function(){if(typeof Map<"u")return Map;function $n(Cn,_n){var Pn=-1;return Cn.some(function(In,Nn){return In[0]===_n?(Pn=Nn,!0):!1}),Pn}return function(){function Cn(){this.__entries__=[]}return Object.defineProperty(Cn.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Cn.prototype.get=function(_n){var Pn=$n(this.__entries__,_n),In=this.__entries__[Pn];return In&&In[1]},Cn.prototype.set=function(_n,Pn){var In=$n(this.__entries__,_n);~In?this.__entries__[In][1]=Pn:this.__entries__.push([_n,Pn])},Cn.prototype.delete=function(_n){var Pn=this.__entries__,In=$n(Pn,_n);~In&&Pn.splice(In,1)},Cn.prototype.has=function(_n){return!!~$n(this.__entries__,_n)},Cn.prototype.clear=function(){this.__entries__.splice(0)},Cn.prototype.forEach=function(_n,Pn){Pn===void 0&&(Pn=null);for(var In=0,Nn=this.__entries__;In<Nn.length;In++){var Rn=Nn[In];_n.call(Pn,Rn[1],Rn[0])}},Cn}()}(),isBrowser$1=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1):function($n){return setTimeout(function(){return $n(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$1($n,Cn){var _n=!1,Pn=!1,In=0;function Nn(){_n&&(_n=!1,$n()),Pn&&Dn()}function Rn(){requestAnimationFrame$1(Nn)}function Dn(){var Ln=Date.now();if(_n){if(Ln-In<trailingTimeout)return;Pn=!0}else _n=!0,Pn=!1,setTimeout(Rn,Cn);In=Ln}return Dn}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function $n(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$1(this.refresh.bind(this),REFRESH_DELAY)}return $n.prototype.addObserver=function(Cn){~this.observers_.indexOf(Cn)||this.observers_.push(Cn),this.connected_||this.connect_()},$n.prototype.removeObserver=function(Cn){var _n=this.observers_,Pn=_n.indexOf(Cn);~Pn&&_n.splice(Pn,1),!_n.length&&this.connected_&&this.disconnect_()},$n.prototype.refresh=function(){var Cn=this.updateObservers_();Cn&&this.refresh()},$n.prototype.updateObservers_=function(){var Cn=this.observers_.filter(function(_n){return _n.gatherActive(),_n.hasActive()});return Cn.forEach(function(_n){return _n.broadcastActive()}),Cn.length>0},$n.prototype.connect_=function(){!isBrowser$1||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},$n.prototype.disconnect_=function(){!isBrowser$1||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},$n.prototype.onTransitionEnd_=function(Cn){var _n=Cn.propertyName,Pn=_n===void 0?"":_n,In=transitionKeys.some(function(Nn){return!!~Pn.indexOf(Nn)});In&&this.refresh()},$n.getInstance=function(){return this.instance_||(this.instance_=new $n),this.instance_},$n.instance_=null,$n}(),defineConfigurable=function($n,Cn){for(var _n=0,Pn=Object.keys(Cn);_n<Pn.length;_n++){var In=Pn[_n];Object.defineProperty($n,In,{value:Cn[In],enumerable:!1,writable:!1,configurable:!0})}return $n},getWindowOf=function($n){var Cn=$n&&$n.ownerDocument&&$n.ownerDocument.defaultView;return Cn||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat($n){return parseFloat($n)||0}function getBordersSize($n){for(var Cn=[],_n=1;_n<arguments.length;_n++)Cn[_n-1]=arguments[_n];return Cn.reduce(function(Pn,In){var Nn=$n["border-"+In+"-width"];return Pn+toFloat(Nn)},0)}function getPaddings($n){for(var Cn=["top","right","bottom","left"],_n={},Pn=0,In=Cn;Pn<In.length;Pn++){var Nn=In[Pn],Rn=$n["padding-"+Nn];_n[Nn]=toFloat(Rn)}return _n}function getSVGContentRect($n){var Cn=$n.getBBox();return createRectInit(0,0,Cn.width,Cn.height)}function getHTMLElementContentRect($n){var Cn=$n.clientWidth,_n=$n.clientHeight;if(!Cn&&!_n)return emptyRect;var Pn=getWindowOf($n).getComputedStyle($n),In=getPaddings(Pn),Nn=In.left+In.right,Rn=In.top+In.bottom,Dn=toFloat(Pn.width),Ln=toFloat(Pn.height);if(Pn.boxSizing==="border-box"&&(Math.round(Dn+Nn)!==Cn&&(Dn-=getBordersSize(Pn,"left","right")+Nn),Math.round(Ln+Rn)!==_n&&(Ln-=getBordersSize(Pn,"top","bottom")+Rn)),!isDocumentElement($n)){var Fn=Math.round(Dn+Nn)-Cn,Bn=Math.round(Ln+Rn)-_n;Math.abs(Fn)!==1&&(Dn-=Fn),Math.abs(Bn)!==1&&(Ln-=Bn)}return createRectInit(In.left,In.top,Dn,Ln)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function($n){return $n instanceof getWindowOf($n).SVGGraphicsElement}:function($n){return $n instanceof getWindowOf($n).SVGElement&&typeof $n.getBBox=="function"}}();function isDocumentElement($n){return $n===getWindowOf($n).document.documentElement}function getContentRect($n){return isBrowser$1?isSVGGraphicsElement($n)?getSVGContentRect($n):getHTMLElementContentRect($n):emptyRect}function createReadOnlyRect($n){var Cn=$n.x,_n=$n.y,Pn=$n.width,In=$n.height,Nn=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Rn=Object.create(Nn.prototype);return defineConfigurable(Rn,{x:Cn,y:_n,width:Pn,height:In,top:_n,right:Cn+Pn,bottom:In+_n,left:Cn}),Rn}function createRectInit($n,Cn,_n,Pn){return{x:$n,y:Cn,width:_n,height:Pn}}var ResizeObservation=function(){function $n(Cn){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=Cn}return $n.prototype.isActive=function(){var Cn=getContentRect(this.target);return this.contentRect_=Cn,Cn.width!==this.broadcastWidth||Cn.height!==this.broadcastHeight},$n.prototype.broadcastRect=function(){var Cn=this.contentRect_;return this.broadcastWidth=Cn.width,this.broadcastHeight=Cn.height,Cn},$n}(),ResizeObserverEntry=function(){function $n(Cn,_n){var Pn=createReadOnlyRect(_n);defineConfigurable(this,{target:Cn,contentRect:Pn})}return $n}(),ResizeObserverSPI=function(){function $n(Cn,_n,Pn){if(this.activeObservations_=[],this.observations_=new MapShim,typeof Cn!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Cn,this.controller_=_n,this.callbackCtx_=Pn}return $n.prototype.observe=function(Cn){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(Cn instanceof getWindowOf(Cn).Element))throw new TypeError('parameter 1 is not of type "Element".');var _n=this.observations_;_n.has(Cn)||(_n.set(Cn,new ResizeObservation(Cn)),this.controller_.addObserver(this),this.controller_.refresh())}},$n.prototype.unobserve=function(Cn){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(Cn instanceof getWindowOf(Cn).Element))throw new TypeError('parameter 1 is not of type "Element".');var _n=this.observations_;_n.has(Cn)&&(_n.delete(Cn),_n.size||this.controller_.removeObserver(this))}},$n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},$n.prototype.gatherActive=function(){var Cn=this;this.clearActive(),this.observations_.forEach(function(_n){_n.isActive()&&Cn.activeObservations_.push(_n)})},$n.prototype.broadcastActive=function(){if(this.hasActive()){var Cn=this.callbackCtx_,_n=this.activeObservations_.map(function(Pn){return new ResizeObserverEntry(Pn.target,Pn.broadcastRect())});this.callback_.call(Cn,_n,Cn),this.clearActive()}},$n.prototype.clearActive=function(){this.activeObservations_.splice(0)},$n.prototype.hasActive=function(){return this.activeObservations_.length>0},$n}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$2=function(){function $n(Cn){if(!(this instanceof $n))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var _n=ResizeObserverController.getInstance(),Pn=new ResizeObserverSPI(Cn,_n,this);observers.set(this,Pn)}return $n}();["observe","unobserve","disconnect"].forEach(function($n){ResizeObserver$2.prototype[$n]=function(){var Cn;return(Cn=observers.get(this))[$n].apply(Cn,arguments)}});var index$t=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$2}();const ResizeObserver$3=index$t,isValid$2=$n=>$n!=null&&$n!=="",initDefaultProps=($n,Cn)=>{const _n=_extends$1({},$n);return Object.keys(Cn).forEach(Pn=>{const In=_n[Pn];if(In)In.type||In.default?In.default=Cn[Pn]:In.def?In.def(Cn[Pn]):_n[Pn]={type:In,default:Cn[Pn]};else throw new Error(`not have ${Pn} prop`)}),_n},splitAttrs=$n=>{const Cn=Object.keys($n),_n={},Pn={},In={};for(let Nn=0,Rn=Cn.length;Nn<Rn;Nn++){const Dn=Cn[Nn];isOn(Dn)?(_n[Dn[2].toLowerCase()+Dn.slice(3)]=$n[Dn],Pn[Dn]=$n[Dn]):In[Dn]=$n[Dn]}return{onEvents:Pn,events:_n,extraAttrs:In}},parseStyleText=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const _n={},Pn=/;(?![^(]*\))/g,In=/:(.+)/;return typeof $n=="object"?$n:($n.split(Pn).forEach(function(Nn){if(Nn){const Rn=Nn.split(In);if(Rn.length>1){const Dn=Cn?camelize(Rn[0].trim()):Rn[0].trim();_n[Dn]=Rn[1].trim()}}}),_n)},hasProp=($n,Cn)=>$n[Cn]!==void 0,skipFlattenKey=Symbol("skipFlatten"),flattenChildren=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const _n=Array.isArray($n)?$n:[$n],Pn=[];return _n.forEach(In=>{Array.isArray(In)?Pn.push(...flattenChildren(In,Cn)):In&&In.type===Fragment?In.key===skipFlattenKey?Pn.push(In):Pn.push(...flattenChildren(In.children,Cn)):In&&isVNode$1(In)?Cn&&!isEmptyElement(In)?Pn.push(In):Cn||Pn.push(In):isValid$2(In)&&Pn.push(In)}),Pn},getSlot=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(isVNode$1($n))return $n.type===Fragment?Cn==="default"?flattenChildren($n.children):[]:$n.children&&$n.children[Cn]?flattenChildren($n.children[Cn](_n)):[];{const Pn=$n.$slots[Cn]&&$n.$slots[Cn](_n);return flattenChildren(Pn)}},findDOMNode=$n=>{var Cn;let _n=((Cn=$n==null?void 0:$n.vnode)===null||Cn===void 0?void 0:Cn.el)||$n&&($n.$el||$n);for(;_n&&!_n.tagName;)_n=_n.nextSibling;return _n},getOptionProps=$n=>{const Cn={};if($n.$&&$n.$.vnode){const _n=$n.$.vnode.props||{};Object.keys($n.$props).forEach(Pn=>{const In=$n.$props[Pn],Nn=hyphenate(Pn);(In!==void 0||Nn in _n)&&(Cn[Pn]=In)})}else if(isVNode$1($n)&&typeof $n.type=="object"){const _n=$n.props||{},Pn={};Object.keys(_n).forEach(Nn=>{Pn[camelize(Nn)]=_n[Nn]});const In=$n.type.props||{};Object.keys(In).forEach(Nn=>{const Rn=resolvePropValue(In,Pn,Nn,Pn[Nn]);(Rn!==void 0||Nn in Pn)&&(Cn[Nn]=Rn)})}return Cn},getComponent=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$n,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,In;if($n.$){const Nn=$n[Cn];if(Nn!==void 0)return typeof Nn=="function"&&Pn?Nn(_n):Nn;In=$n.$slots[Cn],In=Pn&&In?In(_n):In}else if(isVNode$1($n)){const Nn=$n.props&&$n.props[Cn];if(Nn!==void 0&&$n.props!==null)return typeof Nn=="function"&&Pn?Nn(_n):Nn;$n.type===Fragment?In=$n.children:$n.children&&$n.children[Cn]&&(In=$n.children[Cn],In=Pn&&In?In(_n):In)}return Array.isArray(In)&&(In=flattenChildren(In),In=In.length===1?In[0]:In,In=In.length===0?void 0:In),In};function getEvents(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_n={};return $n.$?_n=_extends$1(_extends$1({},_n),$n.$attrs):_n=_extends$1(_extends$1({},_n),$n.props),splitAttrs(_n)[Cn?"onEvents":"events"]}function getClass($n){const _n=((isVNode$1($n)?$n.props:$n.$attrs)||{}).class||{};let Pn={};return typeof _n=="string"?_n.split(" ").forEach(In=>{Pn[In.trim()]=!0}):Array.isArray(_n)?classNames(_n).split(" ").forEach(In=>{Pn[In.trim()]=!0}):Pn=_extends$1(_extends$1({},Pn),_n),Pn}function getStyle$3($n,Cn){let Pn=((isVNode$1($n)?$n.props:$n.$attrs)||{}).style||{};if(typeof Pn=="string")Pn=parseStyleText(Pn,Cn);else if(Cn&&Pn){const In={};return Object.keys(Pn).forEach(Nn=>In[camelize(Nn)]=Pn[Nn]),In}return Pn}function isFragment($n){return $n.length===1&&$n[0].type===Fragment}function isEmptyContent($n){return $n==null||$n===""||Array.isArray($n)&&$n.length===0}function isEmptyElement($n){return $n&&($n.type===Comment$1||$n.type===Fragment&&$n.children.length===0||$n.type===Text$2&&$n.children.trim()==="")}function isStringElement($n){return $n&&$n.type===Text$2}function filterEmpty(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const Cn=[];return $n.forEach(_n=>{Array.isArray(_n)?Cn.push(..._n):(_n==null?void 0:_n.type)===Fragment?Cn.push(...filterEmpty(_n.children)):Cn.push(_n)}),Cn.filter(_n=>!isEmptyElement(_n))}function filterEmptyWithUndefined($n){if($n){const Cn=filterEmpty($n);return Cn.length?Cn:void 0}else return $n}function isValidElement($n){return Array.isArray($n)&&$n.length===1&&($n=$n[0]),$n&&$n.__v_isVNode&&typeof $n.type!="symbol"}function getPropsSlot($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var Pn,In;return(Pn=Cn[_n])!==null&&Pn!==void 0?Pn:(In=$n[_n])===null||In===void 0?void 0:In.call($n)}const ResizeObserver$1=defineComponent({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup($n,Cn){let{slots:_n}=Cn;const Pn=reactive({width:0,height:0,offsetHeight:0,offsetWidth:0});let In=null,Nn=null;const Rn=()=>{Nn&&(Nn.disconnect(),Nn=null)},Dn=Bn=>{const{onResize:Hn}=$n,zn=Bn[0].target,{width:Wn,height:Yn}=zn.getBoundingClientRect(),{offsetWidth:Gn,offsetHeight:Go}=zn,Xn=Math.floor(Wn),Yo=Math.floor(Yn);if(Pn.width!==Xn||Pn.height!==Yo||Pn.offsetWidth!==Gn||Pn.offsetHeight!==Go){const qo={width:Xn,height:Yo,offsetWidth:Gn,offsetHeight:Go};_extends$1(Pn,qo),Hn&&Promise.resolve().then(()=>{Hn(_extends$1(_extends$1({},qo),{offsetWidth:Gn,offsetHeight:Go}),zn)})}},Ln=getCurrentInstance(),Fn=()=>{const{disabled:Bn}=$n;if(Bn){Rn();return}const Hn=findDOMNode(Ln);Hn!==In&&(Rn(),In=Hn),!Nn&&Hn&&(Nn=new ResizeObserver$3(Dn),Nn.observe(Hn))};return onMounted(()=>{Fn()}),onUpdated(()=>{Fn()}),onUnmounted(()=>{Rn()}),watch(()=>$n.disabled,()=>{Fn()},{flush:"post"}),()=>{var Bn;return(Bn=_n.default)===null||Bn===void 0?void 0:Bn.call(_n)[0]}}});let raf=$n=>setTimeout($n,16),caf=$n=>clearTimeout($n);typeof window<"u"&&"requestAnimationFrame"in window&&(raf=$n=>window.requestAnimationFrame($n),caf=$n=>window.cancelAnimationFrame($n));let rafUUID=0;const rafIds=new Map;function cleanup($n){rafIds.delete($n)}function wrapperRaf($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;rafUUID+=1;const _n=rafUUID;function Pn(In){if(In===0)cleanup(_n),$n();else{const Nn=raf(()=>{Pn(In-1)});rafIds.set(_n,Nn)}}return Pn(Cn),_n}wrapperRaf.cancel=$n=>{const Cn=rafIds.get($n);return cleanup(Cn),caf(Cn)};function throttleByAnimationFrame($n){let Cn;const _n=In=>()=>{Cn=null,$n(...In)},Pn=function(){if(Cn==null){for(var In=arguments.length,Nn=new Array(In),Rn=0;Rn<In;Rn++)Nn[Rn]=arguments[Rn];Cn=wrapperRaf(_n(Nn))}};return Pn.cancel=()=>{wrapperRaf.cancel(Cn),Cn=null},Pn}const tuple$1=function(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];return Cn},tupleNum=function(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];return Cn},withInstall=$n=>{const Cn=$n;return Cn.install=function(_n){_n.component(Cn.displayName||Cn.name,$n)},$n};function eventType(){return{type:[Function,Array]}}function objectType($n){return{type:Object,default:$n}}function booleanType($n){return{type:Boolean,default:$n}}function functionType($n){return{type:Function,default:$n}}function anyType($n,Cn){const _n={validator:()=>!0,default:$n};return _n}function vNodeType(){return{validator:()=>!0}}function arrayType($n){return{type:Array,default:$n}}function stringType($n){return{type:String,default:$n}}function someType($n,Cn){return $n?{type:$n,default:Cn}:anyType(Cn)}let supportsPassive=!1;try{const $n=Object.defineProperty({},"passive",{get(){supportsPassive=!0}});window.addEventListener("testPassive",null,$n),window.removeEventListener("testPassive",null,$n)}catch{}const supportsPassive$1=supportsPassive;function addEventListenerWrap($n,Cn,_n,Pn){if($n&&$n.addEventListener){let In=Pn;In===void 0&&supportsPassive$1&&(Cn==="touchstart"||Cn==="touchmove"||Cn==="wheel")&&(In={passive:!1}),$n.addEventListener(Cn,_n,In)}return{remove:()=>{$n&&$n.removeEventListener&&$n.removeEventListener(Cn,_n)}}}function getTargetRect($n){return $n!==window?$n.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function getFixedTop($n,Cn,_n){if(_n!==void 0&&Cn.top>$n.top-_n)return`${_n+Cn.top}px`}function getFixedBottom($n,Cn,_n){if(_n!==void 0&&Cn.bottom<$n.bottom+_n){const Pn=window.innerHeight-Cn.bottom;return`${_n+Pn}px`}}const TRIGGER_EVENTS=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];let observerEntities=[];function addObserveTarget($n,Cn){if(!$n)return;let _n=observerEntities.find(Pn=>Pn.target===$n);_n?_n.affixList.push(Cn):(_n={target:$n,affixList:[Cn],eventHandlers:{}},observerEntities.push(_n),TRIGGER_EVENTS.forEach(Pn=>{_n.eventHandlers[Pn]=addEventListenerWrap($n,Pn,()=>{_n.affixList.forEach(In=>{const{lazyUpdatePosition:Nn}=In.exposed;Nn()},(Pn==="touchstart"||Pn==="touchmove")&&supportsPassive$1?{passive:!0}:!1)})}))}function removeObserveTarget($n){const Cn=observerEntities.find(_n=>{const Pn=_n.affixList.some(In=>In===$n);return Pn&&(_n.affixList=_n.affixList.filter(In=>In!==$n)),Pn});Cn&&Cn.affixList.length===0&&(observerEntities=observerEntities.filter(_n=>_n!==Cn),TRIGGER_EVENTS.forEach(_n=>{const Pn=Cn.eventHandlers[_n];Pn&&Pn.remove&&Pn.remove()}))}const defaultIconPrefixCls="anticon",GlobalFormContextKey=Symbol("GlobalFormContextKey"),useProvideGlobalForm=$n=>{provide(GlobalFormContextKey,$n)},useInjectGlobalForm=()=>inject(GlobalFormContextKey,{validateMessages:computed(()=>{})}),configProviderProps=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:objectType(),input:objectType(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:objectType(),pageHeader:objectType(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:objectType(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:objectType(),pagination:objectType(),theme:objectType(),select:objectType(),wave:objectType()}),configProviderKey=Symbol("configProvider"),defaultConfigProvider={getPrefixCls:($n,Cn)=>Cn||($n?`ant-${$n}`:"ant"),iconPrefixCls:computed(()=>defaultIconPrefixCls),getPopupContainer:computed(()=>()=>document.body),direction:computed(()=>"ltr")},useConfigContextInject=()=>inject(configProviderKey,defaultConfigProvider),useConfigContextProvider=$n=>provide(configProviderKey,$n),DisabledContextKey=Symbol("DisabledContextKey"),useInjectDisabled=()=>inject(DisabledContextKey,ref(void 0)),useProviderDisabled=$n=>{const Cn=useInjectDisabled();return provide(DisabledContextKey,computed(()=>{var _n;return(_n=$n.value)!==null&&_n!==void 0?_n:Cn.value})),$n},enUS$1={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},locale$6={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},CalendarLocale$1=locale$6,locale$5={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},TimePicker$4=locale$5,locale$4={lang:_extends$1({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},CalendarLocale$1),timePickerLocale:_extends$1({},TimePicker$4)},enUS=locale$4,typeTemplate$2="${label} is not a valid ${type}",localeValues$1={locale:"en",Pagination:enUS$1,DatePicker:enUS,TimePicker:TimePicker$4,Calendar:enUS,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:typeTemplate$2,method:typeTemplate$2,array:typeTemplate$2,object:typeTemplate$2,number:typeTemplate$2,date:typeTemplate$2,boolean:typeTemplate$2,integer:typeTemplate$2,float:typeTemplate$2,regexp:typeTemplate$2,email:typeTemplate$2,url:typeTemplate$2,hex:typeTemplate$2},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},LocaleReceiver=defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup($n,Cn){let{slots:_n}=Cn;const Pn=inject("localeData",{}),In=computed(()=>{const{componentName:Rn="global",defaultLocale:Dn}=$n,Ln=Dn||localeValues$1[Rn||"global"],{antLocale:Fn}=Pn,Bn=Rn&&Fn?Fn[Rn]:{};return _extends$1(_extends$1({},typeof Ln=="function"?Ln():Ln),Bn||{})}),Nn=computed(()=>{const{antLocale:Rn}=Pn,Dn=Rn&&Rn.locale;return Rn&&Rn.exist&&!Dn?localeValues$1.locale:Dn});return()=>{const Rn=$n.children||_n.default,{antLocale:Dn}=Pn;return Rn==null?void 0:Rn(In.value,Nn.value,Dn)}}});function useLocaleReceiver($n,Cn,_n){const Pn=inject("localeData",{});return[computed(()=>{const{antLocale:Nn}=Pn,Rn=unref(Cn)||localeValues$1[$n||"global"],Dn=$n&&Nn?Nn[$n]:{};return _extends$1(_extends$1(_extends$1({},typeof Rn=="function"?Rn():Rn),Dn||{}),unref(_n)||{})})]}function murmur2($n){for(var Cn=0,_n,Pn=0,In=$n.length;In>=4;++Pn,In-=4)_n=$n.charCodeAt(Pn)&255|($n.charCodeAt(++Pn)&255)<<8|($n.charCodeAt(++Pn)&255)<<16|($n.charCodeAt(++Pn)&255)<<24,_n=(_n&65535)*1540483477+((_n>>>16)*59797<<16),_n^=_n>>>24,Cn=(_n&65535)*1540483477+((_n>>>16)*59797<<16)^(Cn&65535)*1540483477+((Cn>>>16)*59797<<16);switch(In){case 3:Cn^=($n.charCodeAt(Pn+2)&255)<<16;case 2:Cn^=($n.charCodeAt(Pn+1)&255)<<8;case 1:Cn^=$n.charCodeAt(Pn)&255,Cn=(Cn&65535)*1540483477+((Cn>>>16)*59797<<16)}return Cn^=Cn>>>13,Cn=(Cn&65535)*1540483477+((Cn>>>16)*59797<<16),((Cn^Cn>>>15)>>>0).toString(36)}const SPLIT="%";class Entity{constructor(Cn){this.cache=new Map,this.instanceId=Cn}get(Cn){return this.cache.get(Array.isArray(Cn)?Cn.join(SPLIT):Cn)||null}update(Cn,_n){const Pn=Array.isArray(Cn)?Cn.join(SPLIT):Cn,In=this.cache.get(Pn),Nn=_n(In);Nn===null?this.cache.delete(Pn):this.cache.set(Pn,Nn)}}const CacheEntity=Entity,ATTR_TOKEN="data-token-hash",ATTR_MARK="data-css-hash",CSS_IN_JS_INSTANCE="__cssinjs_instance__";function createCache(){const $n=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const Cn=document.body.querySelectorAll(`style[${ATTR_MARK}]`)||[],{firstChild:_n}=document.head;Array.from(Cn).forEach(In=>{In[CSS_IN_JS_INSTANCE]=In[CSS_IN_JS_INSTANCE]||$n,In[CSS_IN_JS_INSTANCE]===$n&&document.head.insertBefore(In,_n)});const Pn={};Array.from(document.querySelectorAll(`style[${ATTR_MARK}]`)).forEach(In=>{var Nn;const Rn=In.getAttribute(ATTR_MARK);Pn[Rn]?In[CSS_IN_JS_INSTANCE]===$n&&((Nn=In.parentNode)===null||Nn===void 0||Nn.removeChild(In)):Pn[Rn]=!0})}return new CacheEntity($n)}const StyleContextKey=Symbol("StyleContextKey"),getCache=()=>{var $n,Cn,_n;const Pn=getCurrentInstance();let In;if(Pn&&Pn.appContext){const Nn=(_n=(Cn=($n=Pn.appContext)===null||$n===void 0?void 0:$n.config)===null||Cn===void 0?void 0:Cn.globalProperties)===null||_n===void 0?void 0:_n.__ANTDV_CSSINJS_CACHE__;Nn?In=Nn:(In=createCache(),Pn.appContext.config.globalProperties&&(Pn.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=In))}else In=createCache();return In},defaultStyleContext={cache:createCache(),defaultCache:!0,hashPriority:"low"},useStyleInject=()=>{const $n=getCache();return inject(StyleContextKey,shallowRef(_extends$1(_extends$1({},defaultStyleContext),{cache:$n})))},useStyleProvider=$n=>{const Cn=useStyleInject(),_n=shallowRef(_extends$1(_extends$1({},defaultStyleContext),{cache:createCache()}));return watch([()=>unref($n),Cn],()=>{const Pn=_extends$1({},Cn.value),In=unref($n);Object.keys(In).forEach(Rn=>{const Dn=In[Rn];In[Rn]!==void 0&&(Pn[Rn]=Dn)});const{cache:Nn}=In;Pn.cache=Pn.cache||createCache(),Pn.defaultCache=!Nn&&Cn.value.defaultCache,_n.value=Pn},{immediate:!0}),provide(StyleContextKey,_n),_n},styleProviderProps=()=>({autoClear:booleanType(),mock:stringType(),cache:objectType(),defaultCache:booleanType(),hashPriority:stringType(),container:someType(),ssrInline:booleanType(),transformers:arrayType(),linters:arrayType()}),StyleProvider=withInstall(defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:styleProviderProps(),setup($n,Cn){let{slots:_n}=Cn;return useStyleProvider($n),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}));function useClientCache($n,Cn,_n,Pn){const In=useStyleInject(),Nn=shallowRef(""),Rn=shallowRef();watchEffect(()=>{Nn.value=[$n,...Cn.value].join("%")});const Dn=Ln=>{In.value.cache.update(Ln,Fn=>{const[Bn=0,Hn]=Fn||[];return Bn-1===0?(Pn==null||Pn(Hn,!1),null):[Bn-1,Hn]})};return watch(Nn,(Ln,Fn)=>{Fn&&Dn(Fn),In.value.cache.update(Ln,Bn=>{const[Hn=0,zn]=Bn||[],Yn=zn||_n();return[Hn+1,Yn]}),Rn.value=In.value.cache.get(Nn.value)[1]},{immediate:!0}),onBeforeUnmount(()=>{Dn(Nn.value)}),Rn}function canUseDom$1(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function contains$2($n,Cn){return $n&&$n.contains?$n.contains(Cn):!1}const APPEND_ORDER$1="data-vc-order",MARK_KEY$1="vc-util-key",containerCache$1=new Map;function getMark$1(){let{mark:$n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return $n?$n.startsWith("data-")?$n:`data-${$n}`:MARK_KEY$1}function getContainer$2($n){return $n.attachTo?$n.attachTo:document.querySelector("head")||document.body}function getOrder$1($n){return $n==="queue"?"prependQueue":$n?"prepend":"append"}function findStyles$1($n){return Array.from((containerCache$1.get($n)||$n).children).filter(Cn=>Cn.tagName==="STYLE")}function injectCSS$1($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!canUseDom$1())return null;const{csp:_n,prepend:Pn}=Cn,In=document.createElement("style");In.setAttribute(APPEND_ORDER$1,getOrder$1(Pn)),_n!=null&&_n.nonce&&(In.nonce=_n==null?void 0:_n.nonce),In.innerHTML=$n;const Nn=getContainer$2(Cn),{firstChild:Rn}=Nn;if(Pn){if(Pn==="queue"){const Dn=findStyles$1(Nn).filter(Ln=>["prepend","prependQueue"].includes(Ln.getAttribute(APPEND_ORDER$1)));if(Dn.length)return Nn.insertBefore(In,Dn[Dn.length-1].nextSibling),In}Nn.insertBefore(In,Rn)}else Nn.appendChild(In);return In}function findExistNode$1($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const _n=getContainer$2(Cn);return findStyles$1(_n).find(Pn=>Pn.getAttribute(getMark$1(Cn))===$n)}function removeCSS($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const _n=findExistNode$1($n,Cn);_n&&getContainer$2(Cn).removeChild(_n)}function syncRealContainer$1($n,Cn){const _n=containerCache$1.get($n);if(!_n||!contains$2(document,_n)){const Pn=injectCSS$1("",Cn),{parentNode:In}=Pn;containerCache$1.set($n,In),$n.removeChild(Pn)}}function updateCSS$1($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var Pn,In,Nn;const Rn=getContainer$2(_n);syncRealContainer$1(Rn,_n);const Dn=findExistNode$1(Cn,_n);if(Dn)return!((Pn=_n.csp)===null||Pn===void 0)&&Pn.nonce&&Dn.nonce!==((In=_n.csp)===null||In===void 0?void 0:In.nonce)&&(Dn.nonce=(Nn=_n.csp)===null||Nn===void 0?void 0:Nn.nonce),Dn.innerHTML!==$n&&(Dn.innerHTML=$n),Dn;const Ln=injectCSS$1($n,_n);return Ln.setAttribute(getMark$1(_n),Cn),Ln}function sameDerivativeOption($n,Cn){if($n.length!==Cn.length)return!1;for(let _n=0;_n<$n.length;_n++)if($n[_n]!==Cn[_n])return!1;return!0}class ThemeCache{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(Cn){let _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pn={map:this.cache};return Cn.forEach(In=>{var Nn;Pn?Pn=(Nn=Pn==null?void 0:Pn.map)===null||Nn===void 0?void 0:Nn.get(In):Pn=void 0}),Pn!=null&&Pn.value&&_n&&(Pn.value[1]=this.cacheCallTimes++),Pn==null?void 0:Pn.value}get(Cn){var _n;return(_n=this.internalGet(Cn,!0))===null||_n===void 0?void 0:_n[0]}has(Cn){return!!this.internalGet(Cn)}set(Cn,_n){if(!this.has(Cn)){if(this.size()+1>ThemeCache.MAX_CACHE_SIZE+ThemeCache.MAX_CACHE_OFFSET){const[In]=this.keys.reduce((Nn,Rn)=>{const[,Dn]=Nn;return this.internalGet(Rn)[1]<Dn?[Rn,this.internalGet(Rn)[1]]:Nn},[this.keys[0],this.cacheCallTimes]);this.delete(In)}this.keys.push(Cn)}let Pn=this.cache;Cn.forEach((In,Nn)=>{if(Nn===Cn.length-1)Pn.set(In,{value:[_n,this.cacheCallTimes++]});else{const Rn=Pn.get(In);Rn?Rn.map||(Rn.map=new Map):Pn.set(In,{map:new Map}),Pn=Pn.get(In).map}})}deleteByPath(Cn,_n){var Pn;const In=Cn.get(_n[0]);if(_n.length===1)return In.map?Cn.set(_n[0],{map:In.map}):Cn.delete(_n[0]),(Pn=In.value)===null||Pn===void 0?void 0:Pn[0];const Nn=this.deleteByPath(In.map,_n.slice(1));return(!In.map||In.map.size===0)&&!In.value&&Cn.delete(_n[0]),Nn}delete(Cn){if(this.has(Cn))return this.keys=this.keys.filter(_n=>!sameDerivativeOption(_n,Cn)),this.deleteByPath(this.cache,Cn)}}ThemeCache.MAX_CACHE_SIZE=20;ThemeCache.MAX_CACHE_OFFSET=5;let warned={};function warning$4($n,Cn){}function note($n,Cn){}function call($n,Cn,_n){!Cn&&!warned[_n]&&($n(!1,_n),warned[_n]=!0)}function warningOnce($n,Cn){call(warning$4,$n,Cn)}function noteOnce($n,Cn){call(note,$n,Cn)}function noop$g(){}let warning$2=noop$g;const warning$3=warning$2;let uuid$7=0;class Theme{constructor(Cn){this.derivatives=Array.isArray(Cn)?Cn:[Cn],this.id=uuid$7,Cn.length===0&&warning$3(Cn.length>0),uuid$7+=1}getDerivativeToken(Cn){return this.derivatives.reduce((_n,Pn)=>Pn(Cn,_n),void 0)}}const cacheThemes=new ThemeCache;function createTheme($n){const Cn=Array.isArray($n)?$n:[$n];return cacheThemes.has(Cn)||cacheThemes.set(Cn,new Theme(Cn)),cacheThemes.get(Cn)}const flattenTokenCache=new WeakMap;function flattenToken($n){let Cn=flattenTokenCache.get($n)||"";return Cn||(Object.keys($n).forEach(_n=>{const Pn=$n[_n];Cn+=_n,Pn instanceof Theme?Cn+=Pn.id:Pn&&typeof Pn=="object"?Cn+=flattenToken(Pn):Cn+=Pn}),flattenTokenCache.set($n,Cn)),Cn}function token2key($n,Cn){return murmur2(`${Cn}_${flattenToken($n)}`)}const randomSelectorKey=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),checkContent="_bAmBoO_";function supportSelector($n,Cn,_n){var Pn,In;if(canUseDom$1()){updateCSS$1($n,randomSelectorKey);const Nn=document.createElement("div");Nn.style.position="fixed",Nn.style.left="0",Nn.style.top="0",Cn==null||Cn(Nn),document.body.appendChild(Nn);const Rn=_n?_n(Nn):(Pn=getComputedStyle(Nn).content)===null||Pn===void 0?void 0:Pn.includes(checkContent);return(In=Nn.parentNode)===null||In===void 0||In.removeChild(Nn),removeCSS(randomSelectorKey),Rn}return!1}let canLayer;function supportLayer(){return canLayer===void 0&&(canLayer=supportSelector(`@layer ${randomSelectorKey} { .${randomSelectorKey} { content: "${checkContent}"!important; } }`,$n=>{$n.className=randomSelectorKey})),canLayer}const EMPTY_OVERRIDE={},isProduction=!0,isPrerender=!1,hashPrefix=!isProduction&&!isPrerender?"css-dev-only-do-not-override":"css",tokenKeys=new Map;function recordCleanToken($n){tokenKeys.set($n,(tokenKeys.get($n)||0)+1)}function removeStyleTags($n,Cn){typeof document<"u"&&document.querySelectorAll(`style[${ATTR_TOKEN}="${$n}"]`).forEach(Pn=>{var In;Pn[CSS_IN_JS_INSTANCE]===Cn&&((In=Pn.parentNode)===null||In===void 0||In.removeChild(Pn))})}const TOKEN_THRESHOLD=0;function cleanTokenStyle($n,Cn){tokenKeys.set($n,(tokenKeys.get($n)||0)-1);const _n=Array.from(tokenKeys.keys()),Pn=_n.filter(In=>(tokenKeys.get(In)||0)<=0);_n.length-Pn.length>TOKEN_THRESHOLD&&Pn.forEach(In=>{removeStyleTags(In,Cn),tokenKeys.delete(In)})}const getComputedToken=($n,Cn,_n,Pn)=>{const In=_n.getDerivativeToken($n);let Nn=_extends$1(_extends$1({},In),Cn);return Pn&&(Nn=Pn(Nn)),Nn};function useCacheToken($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ref({});const Pn=useStyleInject(),In=computed(()=>_extends$1({},...Cn.value)),Nn=computed(()=>flattenToken(In.value)),Rn=computed(()=>flattenToken(_n.value.override||EMPTY_OVERRIDE));return useClientCache("token",computed(()=>[_n.value.salt||"",$n.value.id,Nn.value,Rn.value]),()=>{const{salt:Ln="",override:Fn=EMPTY_OVERRIDE,formatToken:Bn,getComputedToken:Hn}=_n.value,zn=Hn?Hn(In.value,Fn,$n.value):getComputedToken(In.value,Fn,$n.value,Bn),Wn=token2key(zn,Ln);zn._tokenKey=Wn,recordCleanToken(Wn);const Yn=`${hashPrefix}-${murmur2(Wn)}`;return zn._hashId=Yn,[zn,Yn]},Ln=>{var Fn;cleanTokenStyle(Ln[0]._tokenKey,(Fn=Pn.value)===null||Fn===void 0?void 0:Fn.cache.instanceId)})}var unitlessKeys={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim($n){return $n.trim()}function replace($n,Cn,_n){return $n.replace(Cn,_n)}function indexof($n,Cn,_n){return $n.indexOf(Cn,_n)}function charat($n,Cn){return $n.charCodeAt(Cn)|0}function substr($n,Cn,_n){return $n.slice(Cn,_n)}function strlen($n){return $n.length}function sizeof($n){return $n.length}function append($n,Cn){return Cn.push($n),$n}var line=1,column=1,length=0,position=0,character=0,characters="";function node($n,Cn,_n,Pn,In,Nn,Rn,Dn){return{value:$n,root:Cn,parent:_n,type:Pn,props:In,children:Nn,line,column,length:Rn,return:"",siblings:Dn}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position<length?charat(characters,position++):0,column++,character===10&&(column=1,line++),character}function peek(){return charat(characters,position)}function caret(){return position}function slice($n,Cn){return substr(characters,$n,Cn)}function token($n){switch($n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc($n){return line=column=1,length=strlen(characters=$n),position=0,[]}function dealloc($n){return characters="",$n}function delimit($n){return trim(slice(position-1,delimiter($n===91?$n+2:$n===40?$n+1:$n)))}function whitespace$1($n){for(;(character=peek())&&character<33;)next();return token($n)>2||token(character)>3?"":" "}function escaping($n,Cn){for(;--Cn&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice($n,caret()+(Cn<6&&peek()==32&&next()==32))}function delimiter($n){for(;next();)switch(character){case $n:return position;case 34:case 39:$n!==34&&$n!==39&&delimiter(character);break;case 40:$n===41&&delimiter($n);break;case 92:next();break}return position}function commenter($n,Cn){for(;next()&&$n+character!==57;)if($n+character===84&&peek()===47)break;return"/*"+slice(Cn,position-1)+"*"+from($n===47?$n:next())}function identifier($n){for(;!token(peek());)next();return slice($n,position)}function compile$1($n){return dealloc(parse$2("",null,null,null,[""],$n=alloc($n),0,[0],$n))}function parse$2($n,Cn,_n,Pn,In,Nn,Rn,Dn,Ln){for(var Fn=0,Bn=0,Hn=Rn,zn=0,Wn=0,Yn=0,Gn=1,Go=1,Xn=1,Yo=0,qo="",Jo=In,Zo=Nn,rr=Pn,nr=qo;Go;)switch(Yn=Yo,Yo=next()){case 40:if(Yn!=108&&charat(nr,Hn-1)==58){indexof(nr+=replace(delimit(Yo),"&","&\f"),"&\f",abs(Fn?Dn[Fn-1]:0))!=-1&&(Xn=-1);break}case 34:case 39:case 91:nr+=delimit(Yo);break;case 9:case 10:case 13:case 32:nr+=whitespace$1(Yn);break;case 92:nr+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),Cn,_n,Ln),Ln);break;default:nr+="/"}break;case 123*Gn:Dn[Fn++]=strlen(nr)*Xn;case 125*Gn:case 59:case 0:switch(Yo){case 0:case 125:Go=0;case 59+Bn:Xn==-1&&(nr=replace(nr,/\f/g,"")),Wn>0&&strlen(nr)-Hn&&append(Wn>32?declaration(nr+";",Pn,_n,Hn-1,Ln):declaration(replace(nr," ","")+";",Pn,_n,Hn-2,Ln),Ln);break;case 59:nr+=";";default:if(append(rr=ruleset(nr,Cn,_n,Fn,Bn,In,Dn,qo,Jo=[],Zo=[],Hn,Nn),Nn),Yo===123)if(Bn===0)parse$2(nr,Cn,rr,rr,Jo,Nn,Hn,Dn,Zo);else switch(zn===99&&charat(nr,3)===110?100:zn){case 100:case 108:case 109:case 115:parse$2($n,rr,rr,Pn&&append(ruleset($n,rr,rr,0,0,In,Dn,qo,In,Jo=[],Hn,Zo),Zo),In,Zo,Hn,Dn,Pn?Jo:Zo);break;default:parse$2(nr,rr,rr,rr,[""],Zo,0,Dn,Zo)}}Fn=Bn=Wn=0,Gn=Xn=1,qo=nr="",Hn=Rn;break;case 58:Hn=1+strlen(nr),Wn=Yn;default:if(Gn<1){if(Yo==123)--Gn;else if(Yo==125&&Gn++==0&&prev()==125)continue}switch(nr+=from(Yo),Yo*Gn){case 38:Xn=Bn>0?1:(nr+="\f",-1);break;case 44:Dn[Fn++]=(strlen(nr)-1)*Xn,Xn=1;break;case 64:peek()===45&&(nr+=delimit(next())),zn=peek(),Bn=Hn=strlen(qo=nr+=identifier(caret())),Yo++;break;case 45:Yn===45&&strlen(nr)==2&&(Gn=0)}}return Nn}function ruleset($n,Cn,_n,Pn,In,Nn,Rn,Dn,Ln,Fn,Bn,Hn){for(var zn=In-1,Wn=In===0?Nn:[""],Yn=sizeof(Wn),Gn=0,Go=0,Xn=0;Gn<Pn;++Gn)for(var Yo=0,qo=substr($n,zn+1,zn=abs(Go=Rn[Gn])),Jo=$n;Yo<Yn;++Yo)(Jo=trim(Go>0?Wn[Yo]+" "+qo:replace(qo,/&\f/g,Wn[Yo])))&&(Ln[Xn++]=Jo);return node($n,Cn,_n,In===0?RULESET:Dn,Ln,Fn,Bn,Hn)}function comment($n,Cn,_n,Pn){return node($n,Cn,_n,COMMENT,from(char()),substr($n,2,-2),0,Pn)}function declaration($n,Cn,_n,Pn,In){return node($n,Cn,_n,DECLARATION,substr($n,0,Pn),substr($n,Pn+1,-1),Pn,In)}function serialize$1($n,Cn){for(var _n="",Pn=0;Pn<$n.length;Pn++)_n+=Cn($n[Pn],Pn,$n,Cn)||"";return _n}function stringify$1($n,Cn,_n,Pn){switch($n.type){case LAYER:if($n.children.length)break;case IMPORT:case DECLARATION:return $n.return=$n.return||$n.value;case COMMENT:return"";case KEYFRAMES:return $n.return=$n.value+"{"+serialize$1($n.children,Pn)+"}";case RULESET:if(!strlen($n.value=$n.props.join(",")))return""}return strlen(_n=serialize$1($n.children,Pn))?$n.return=$n.value+"{"+_n+"}":""}function lintWarning($n,Cn){const{path:_n,parentSelectors:Pn}=Cn;warningOnce(!1,`[Ant Design Vue CSS-in-JS] ${_n?`Error in '${_n}': `:""}${$n}${Pn.length?` Selector info: ${Pn.join(" -> ")}`:""}`)}function isConcatSelector($n){var Cn;return(((Cn=$n.match(/:not\(([^)]*)\)/))===null||Cn===void 0?void 0:Cn[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(In=>In).length>1}function parsePath($n){return $n.parentSelectors.reduce((Cn,_n)=>Cn?_n.includes("&")?_n.replace(/&/g,Cn):`${Cn} ${_n}`:_n,"")}const linter$2=($n,Cn,_n)=>{const In=parsePath(_n).match(/:not\([^)]*\)/g)||[];In.length>0&&In.some(isConcatSelector)&&lintWarning("Concat ':not' selector not support in legacy browsers.",_n)},legacyNotSelectorLinter=linter$2,linter$1=($n,Cn,_n)=>{switch($n){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning(`You seem to be using non-logical property '${$n}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,_n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof Cn=="string"){const Pn=Cn.split(" ").map(In=>In.trim());Pn.length===4&&Pn[1]!==Pn[3]&&lintWarning(`You seem to be using '${$n}' property with different left ${$n} and right ${$n}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,_n)}return;case"clear":case"textAlign":(Cn==="left"||Cn==="right")&&lintWarning(`You seem to be using non-logical value '${Cn}' of ${$n}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,_n);return;case"borderRadius":typeof Cn=="string"&&Cn.split("/").map(Nn=>Nn.trim()).reduce((Nn,Rn)=>{if(Nn)return Nn;const Dn=Rn.split(" ").map(Ln=>Ln.trim());return Dn.length>=2&&Dn[0]!==Dn[1]||Dn.length===3&&Dn[1]!==Dn[2]||Dn.length===4&&Dn[2]!==Dn[3]?!0:Nn},!1)&&lintWarning(`You seem to be using non-logical value '${Cn}' of ${$n}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,_n);return}},logicalPropertiesLinter=linter$1,linter=($n,Cn,_n)=>{_n.parentSelectors.some(Pn=>Pn.split(",").some(Nn=>Nn.split("&").length>2))&&lintWarning("Should not use more than one `&` in a selector.",_n)},parentSelectorLinter=linter,ATTR_CACHE_MAP="data-ant-cssinjs-cache-path",CSS_FILE_STYLE="_FILE_STYLE__";function serialize($n){return Object.keys($n).map(Cn=>{const _n=$n[Cn];return`${Cn}:${_n}`}).join(";")}let cachePathMap,fromCSSFile=!0;function prepare$1(){var $n;if(!cachePathMap&&(cachePathMap={},canUseDom$1())){const Cn=document.createElement("div");Cn.className=ATTR_CACHE_MAP,Cn.style.position="fixed",Cn.style.visibility="hidden",Cn.style.top="-9999px",document.body.appendChild(Cn);let _n=getComputedStyle(Cn).content||"";_n=_n.replace(/^"/,"").replace(/"$/,""),_n.split(";").forEach(In=>{const[Nn,Rn]=In.split(":");cachePathMap[Nn]=Rn});const Pn=document.querySelector(`style[${ATTR_CACHE_MAP}]`);Pn&&(fromCSSFile=!1,($n=Pn.parentNode)===null||$n===void 0||$n.removeChild(Pn)),document.body.removeChild(Cn)}}function existPath($n){return prepare$1(),!!cachePathMap[$n]}function getStyleAndHash($n){const Cn=cachePathMap[$n];let _n=null;if(Cn&&canUseDom$1())if(fromCSSFile)_n=CSS_FILE_STYLE;else{const Pn=document.querySelector(`style[${ATTR_MARK}="${cachePathMap[$n]}"]`);Pn?_n=Pn.innerHTML:delete cachePathMap[$n]}return[_n,Cn]}const isClientSide=canUseDom$1(),SKIP_CHECK="_skip_check_",MULTI_VALUE="_multi_value_";function normalizeStyle($n){return serialize$1(compile$1($n),stringify$1).replace(/\{%%%\:[^;];}/g,";")}function isCompoundCSSProperty($n){return typeof $n=="object"&&$n&&(SKIP_CHECK in $n||MULTI_VALUE in $n)}function injectSelectorHash($n,Cn,_n){if(!Cn)return $n;const Pn=`.${Cn}`,In=_n==="low"?`:where(${Pn})`:Pn;return $n.split(",").map(Rn=>{var Dn;const Ln=Rn.trim().split(/\s+/);let Fn=Ln[0]||"";const Bn=((Dn=Fn.match(/^\w+/))===null||Dn===void 0?void 0:Dn[0])||"";return Fn=`${Bn}${In}${Fn.slice(Bn.length)}`,[Fn,...Ln.slice(1)].join(" ")}).join(",")}const globalEffectStyleKeys=new Set,parseStyle=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:_n,injectHash:Pn,parentSelectors:In}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:Nn,layer:Rn,path:Dn,hashPriority:Ln,transformers:Fn=[],linters:Bn=[]}=Cn;let Hn="",zn={};function Wn(Go){const Xn=Go.getName(Nn);if(!zn[Xn]){const[Yo]=parseStyle(Go.style,Cn,{root:!1,parentSelectors:In});zn[Xn]=`@keyframes ${Go.getName(Nn)}${Yo}`}}function Yn(Go){let Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Go.forEach(Yo=>{Array.isArray(Yo)?Yn(Yo,Xn):Yo&&Xn.push(Yo)}),Xn}if(Yn(Array.isArray($n)?$n:[$n]).forEach(Go=>{const Xn=typeof Go=="string"&&!_n?{}:Go;if(typeof Xn=="string")Hn+=`${Xn}
-`;else if(Xn._keyframe)Wn(Xn);else{const Yo=Fn.reduce((qo,Jo)=>{var Zo;return((Zo=Jo==null?void 0:Jo.visit)===null||Zo===void 0?void 0:Zo.call(Jo,qo))||qo},Xn);Object.keys(Yo).forEach(qo=>{var Jo;const Zo=Yo[qo];if(typeof Zo=="object"&&Zo&&(qo!=="animationName"||!Zo._keyframe)&&!isCompoundCSSProperty(Zo)){let rr=!1,nr=qo.trim(),ta=!1;(_n||Pn)&&Nn?nr.startsWith("@")?rr=!0:nr=injectSelectorHash(qo,Nn,Ln):_n&&!Nn&&(nr==="&"||nr==="")&&(nr="",ta=!0);const[oa,ra]=parseStyle(Zo,Cn,{root:ta,injectHash:rr,parentSelectors:[...In,nr]});zn=_extends$1(_extends$1({},zn),ra),Hn+=`${nr}${oa}`}else{let rr=function(ta,oa){const ra=ta.replace(/[A-Z]/g,la=>`-${la.toLowerCase()}`);let ea=oa;!unitlessKeys[ta]&&typeof ea=="number"&&ea!==0&&(ea=`${ea}px`),ta==="animationName"&&(oa!=null&&oa._keyframe)&&(Wn(oa),ea=oa.getName(Nn)),Hn+=`${ra}:${ea};`};const nr=(Jo=Zo==null?void 0:Zo.value)!==null&&Jo!==void 0?Jo:Zo;typeof Zo=="object"&&(Zo!=null&&Zo[MULTI_VALUE])&&Array.isArray(nr)?nr.forEach(ta=>{rr(qo,ta)}):rr(qo,nr)}})}}),!_n)Hn=`{${Hn}}`;else if(Rn&&supportLayer()){const Go=Rn.split(",");Hn=`@layer ${Go[Go.length-1].trim()} {${Hn}}`,Go.length>1&&(Hn=`@layer ${Rn}{%%%:%}${Hn}`)}return[Hn,zn]};function uniqueHash($n,Cn){return murmur2(`${$n.join("%")}${Cn}`)}function useStyleRegister($n,Cn){const _n=useStyleInject(),Pn=computed(()=>$n.value.token._tokenKey),In=computed(()=>[Pn.value,...$n.value.path]);let Nn=isClientSide;return useClientCache("style",In,()=>{const{path:Rn,hashId:Dn,layer:Ln,nonce:Fn,clientOnly:Bn,order:Hn=0}=$n.value,zn=In.value.join("|");if(existPath(zn)){const[nr,ta]=getStyleAndHash(zn);if(nr)return[nr,Pn.value,ta,{},Bn,Hn]}const Wn=Cn(),{hashPriority:Yn,container:Gn,transformers:Go,linters:Xn,cache:Yo}=_n.value,[qo,Jo]=parseStyle(Wn,{hashId:Dn,hashPriority:Yn,layer:Ln,path:Rn.join("-"),transformers:Go,linters:Xn}),Zo=normalizeStyle(qo),rr=uniqueHash(In.value,Zo);if(Nn){const nr={mark:ATTR_MARK,prepend:"queue",attachTo:Gn,priority:Hn},ta=typeof Fn=="function"?Fn():Fn;ta&&(nr.csp={nonce:ta});const oa=updateCSS$1(Zo,rr,nr);oa[CSS_IN_JS_INSTANCE]=Yo.instanceId,oa.setAttribute(ATTR_TOKEN,Pn.value),Object.keys(Jo).forEach(ra=>{globalEffectStyleKeys.has(ra)||(globalEffectStyleKeys.add(ra),updateCSS$1(normalizeStyle(Jo[ra]),`_effect-${ra}`,{mark:ATTR_MARK,prepend:"queue",attachTo:Gn}))})}return[Zo,Pn.value,rr,Jo,Bn,Hn]},(Rn,Dn)=>{let[,,Ln]=Rn;(Dn||_n.value.autoClear)&&isClientSide&&removeCSS(Ln,{mark:ATTR_MARK})}),Rn=>Rn}function extractStyle($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const _n="style%",Pn=Array.from($n.cache.keys()).filter(Fn=>Fn.startsWith(_n)),In={},Nn={};let Rn="";function Dn(Fn,Bn,Hn){let zn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const Wn=_extends$1(_extends$1({},zn),{[ATTR_TOKEN]:Bn,[ATTR_MARK]:Hn}),Yn=Object.keys(Wn).map(Gn=>{const Go=Wn[Gn];return Go?`${Gn}="${Go}"`:null}).filter(Gn=>Gn).join(" ");return Cn?Fn:`<style ${Yn}>${Fn}</style>`}return Pn.map(Fn=>{const Bn=Fn.slice(_n.length).replace(/%/g,"|"),[Hn,zn,Wn,Yn,Gn,Go]=$n.cache.get(Fn)[1];if(Gn)return null;const Xn={"data-vc-order":"prependQueue","data-vc-priority":`${Go}`};let Yo=Dn(Hn,zn,Wn,Xn);return Nn[Bn]=Wn,Yn&&Object.keys(Yn).forEach(Jo=>{In[Jo]||(In[Jo]=!0,Yo+=Dn(normalizeStyle(Yn[Jo]),zn,`_effect-${Jo}`,Xn))}),[Go,Yo]}).filter(Fn=>Fn).sort((Fn,Bn)=>Fn[0]-Bn[0]).forEach(Fn=>{let[,Bn]=Fn;Rn+=Bn}),Rn+=Dn(`.${ATTR_CACHE_MAP}{content:"${serialize(Nn)}";}`,void 0,void 0,{[ATTR_CACHE_MAP]:ATTR_CACHE_MAP}),Rn}class Keyframe{constructor(Cn,_n){this._keyframe=!0,this.name=Cn,this.style=_n}getName(){let Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Cn?`${Cn}-${this.name}`:this.name}}const Keyframes=Keyframe;function splitValues($n){if(typeof $n=="number")return[$n];const Cn=String($n).split(/\s+/);let _n="",Pn=0;return Cn.reduce((In,Nn)=>(Nn.includes("(")?(_n+=Nn,Pn+=Nn.split("(").length-1):Nn.includes(")")?(_n+=` ${Nn}`,Pn-=Nn.split(")").length-1,Pn===0&&(In.push(_n),_n="")):Pn>0?_n+=` ${Nn}`:In.push(Nn),In),[])}function noSplit($n){return $n.notSplit=!0,$n}const keyMap={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:noSplit(["borderTop","borderBottom"]),borderBlockStart:noSplit(["borderTop"]),borderBlockEnd:noSplit(["borderBottom"]),borderInline:noSplit(["borderLeft","borderRight"]),borderInlineStart:noSplit(["borderLeft"]),borderInlineEnd:noSplit(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function skipCheck($n){return{_skip_check_:!0,value:$n}}const transform$2={visit:$n=>{const Cn={};return Object.keys($n).forEach(_n=>{const Pn=$n[_n],In=keyMap[_n];if(In&&(typeof Pn=="number"||typeof Pn=="string")){const Nn=splitValues(Pn);In.length&&In.notSplit?In.forEach(Rn=>{Cn[Rn]=skipCheck(Pn)}):In.length===1?Cn[In[0]]=skipCheck(Pn):In.length===2?In.forEach((Rn,Dn)=>{var Ln;Cn[Rn]=skipCheck((Ln=Nn[Dn])!==null&&Ln!==void 0?Ln:Nn[0])}):In.length===4?In.forEach((Rn,Dn)=>{var Ln,Fn;Cn[Rn]=skipCheck((Fn=(Ln=Nn[Dn])!==null&&Ln!==void 0?Ln:Nn[Dn-2])!==null&&Fn!==void 0?Fn:Nn[0])}):Cn[_n]=Pn}else Cn[_n]=Pn}),Cn}},legacyLogicalPropertiesTransformer=transform$2,pxRegex=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function toFixed$1($n,Cn){const _n=Math.pow(10,Cn+1),Pn=Math.floor($n*_n);return Math.round(Pn/10)*10/_n}const transform$1=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{rootValue:Cn=16,precision:_n=5,mediaQuery:Pn=!1}=$n,In=(Rn,Dn)=>{if(!Dn)return Rn;const Ln=parseFloat(Dn);return Ln<=1?Rn:`${toFixed$1(Ln/Cn,_n)}rem`};return{visit:Rn=>{const Dn=_extends$1({},Rn);return Object.entries(Rn).forEach(Ln=>{let[Fn,Bn]=Ln;if(typeof Bn=="string"&&Bn.includes("px")){const zn=Bn.replace(pxRegex,In);Dn[Fn]=zn}!unitlessKeys[Fn]&&typeof Bn=="number"&&Bn!==0&&(Dn[Fn]=`${Bn}px`.replace(pxRegex,In));const Hn=Fn.trim();if(Hn.startsWith("@")&&Hn.includes("px")&&Pn){const zn=Fn.replace(pxRegex,In);Dn[zn]=Dn[Fn],delete Dn[Fn]}}),Dn}}},px2remTransformer=transform$1,cssinjs={Theme,createTheme,useStyleRegister,useCacheToken,createCache,useStyleInject,useStyleProvider,Keyframes,extractStyle,legacyLogicalPropertiesTransformer,px2remTransformer,logicalPropertiesLinter,legacyNotSelectorLinter,parentSelectorLinter,StyleProvider},cssinjs$1=cssinjs,version="4.1.2",PresetColors=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function bound01$1($n,Cn){isOnePointZero$1($n)&&($n="100%");var _n=isPercentage$1($n);return $n=Cn===360?$n:Math.min(Cn,Math.max(0,parseFloat($n))),_n&&($n=parseInt(String($n*Cn),10)/100),Math.abs($n-Cn)<1e-6?1:(Cn===360?$n=($n<0?$n%Cn+Cn:$n%Cn)/parseFloat(String(Cn)):$n=$n%Cn/parseFloat(String(Cn)),$n)}function clamp01$1($n){return Math.min(1,Math.max(0,$n))}function isOnePointZero$1($n){return typeof $n=="string"&&$n.indexOf(".")!==-1&&parseFloat($n)===1}function isPercentage$1($n){return typeof $n=="string"&&$n.indexOf("%")!==-1}function boundAlpha$1($n){return $n=parseFloat($n),(isNaN($n)||$n<0||$n>1)&&($n=1),$n}function convertToPercentage$1($n){return $n<=1?"".concat(Number($n)*100,"%"):$n}function pad2$1($n){return $n.length===1?"0"+$n:String($n)}function rgbToRgb$1($n,Cn,_n){return{r:bound01$1($n,255)*255,g:bound01$1(Cn,255)*255,b:bound01$1(_n,255)*255}}function rgbToHsl$1($n,Cn,_n){$n=bound01$1($n,255),Cn=bound01$1(Cn,255),_n=bound01$1(_n,255);var Pn=Math.max($n,Cn,_n),In=Math.min($n,Cn,_n),Nn=0,Rn=0,Dn=(Pn+In)/2;if(Pn===In)Rn=0,Nn=0;else{var Ln=Pn-In;switch(Rn=Dn>.5?Ln/(2-Pn-In):Ln/(Pn+In),Pn){case $n:Nn=(Cn-_n)/Ln+(Cn<_n?6:0);break;case Cn:Nn=(_n-$n)/Ln+2;break;case _n:Nn=($n-Cn)/Ln+4;break}Nn/=6}return{h:Nn,s:Rn,l:Dn}}function hue2rgb($n,Cn,_n){return _n<0&&(_n+=1),_n>1&&(_n-=1),_n<1/6?$n+(Cn-$n)*(6*_n):_n<1/2?Cn:_n<2/3?$n+(Cn-$n)*(2/3-_n)*6:$n}function hslToRgb$1($n,Cn,_n){var Pn,In,Nn;if($n=bound01$1($n,360),Cn=bound01$1(Cn,100),_n=bound01$1(_n,100),Cn===0)In=_n,Nn=_n,Pn=_n;else{var Rn=_n<.5?_n*(1+Cn):_n+Cn-_n*Cn,Dn=2*_n-Rn;Pn=hue2rgb(Dn,Rn,$n+1/3),In=hue2rgb(Dn,Rn,$n),Nn=hue2rgb(Dn,Rn,$n-1/3)}return{r:Pn*255,g:In*255,b:Nn*255}}function rgbToHsv$1($n,Cn,_n){$n=bound01$1($n,255),Cn=bound01$1(Cn,255),_n=bound01$1(_n,255);var Pn=Math.max($n,Cn,_n),In=Math.min($n,Cn,_n),Nn=0,Rn=Pn,Dn=Pn-In,Ln=Pn===0?0:Dn/Pn;if(Pn===In)Nn=0;else{switch(Pn){case $n:Nn=(Cn-_n)/Dn+(Cn<_n?6:0);break;case Cn:Nn=(_n-$n)/Dn+2;break;case _n:Nn=($n-Cn)/Dn+4;break}Nn/=6}return{h:Nn,s:Ln,v:Rn}}function hsvToRgb$1($n,Cn,_n){$n=bound01$1($n,360)*6,Cn=bound01$1(Cn,100),_n=bound01$1(_n,100);var Pn=Math.floor($n),In=$n-Pn,Nn=_n*(1-Cn),Rn=_n*(1-In*Cn),Dn=_n*(1-(1-In)*Cn),Ln=Pn%6,Fn=[_n,Rn,Nn,Nn,Dn,_n][Ln],Bn=[Dn,_n,_n,Rn,Nn,Nn][Ln],Hn=[Nn,Nn,Dn,_n,_n,Rn][Ln];return{r:Fn*255,g:Bn*255,b:Hn*255}}function rgbToHex$1($n,Cn,_n,Pn){var In=[pad2$1(Math.round($n).toString(16)),pad2$1(Math.round(Cn).toString(16)),pad2$1(Math.round(_n).toString(16))];return Pn&&In[0].startsWith(In[0].charAt(1))&&In[1].startsWith(In[1].charAt(1))&&In[2].startsWith(In[2].charAt(1))?In[0].charAt(0)+In[1].charAt(0)+In[2].charAt(0):In.join("")}function rgbaToHex$1($n,Cn,_n,Pn,In){var Nn=[pad2$1(Math.round($n).toString(16)),pad2$1(Math.round(Cn).toString(16)),pad2$1(Math.round(_n).toString(16)),pad2$1(convertDecimalToHex$1(Pn))];return In&&Nn[0].startsWith(Nn[0].charAt(1))&&Nn[1].startsWith(Nn[1].charAt(1))&&Nn[2].startsWith(Nn[2].charAt(1))&&Nn[3].startsWith(Nn[3].charAt(1))?Nn[0].charAt(0)+Nn[1].charAt(0)+Nn[2].charAt(0)+Nn[3].charAt(0):Nn.join("")}function convertDecimalToHex$1($n){return Math.round(parseFloat($n)*255).toString(16)}function convertHexToDecimal$1($n){return parseIntFromHex$1($n)/255}function parseIntFromHex$1($n){return parseInt($n,16)}function numberInputToObject($n){return{r:$n>>16,g:($n&65280)>>8,b:$n&255}}var names$1={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB$1($n){var Cn={r:0,g:0,b:0},_n=1,Pn=null,In=null,Nn=null,Rn=!1,Dn=!1;return typeof $n=="string"&&($n=stringInputToObject$1($n)),typeof $n=="object"&&(isValidCSSUnit$1($n.r)&&isValidCSSUnit$1($n.g)&&isValidCSSUnit$1($n.b)?(Cn=rgbToRgb$1($n.r,$n.g,$n.b),Rn=!0,Dn=String($n.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit$1($n.h)&&isValidCSSUnit$1($n.s)&&isValidCSSUnit$1($n.v)?(Pn=convertToPercentage$1($n.s),In=convertToPercentage$1($n.v),Cn=hsvToRgb$1($n.h,Pn,In),Rn=!0,Dn="hsv"):isValidCSSUnit$1($n.h)&&isValidCSSUnit$1($n.s)&&isValidCSSUnit$1($n.l)&&(Pn=convertToPercentage$1($n.s),Nn=convertToPercentage$1($n.l),Cn=hslToRgb$1($n.h,Pn,Nn),Rn=!0,Dn="hsl"),Object.prototype.hasOwnProperty.call($n,"a")&&(_n=$n.a)),_n=boundAlpha$1(_n),{ok:Rn,format:$n.format||Dn,r:Math.min(255,Math.max(Cn.r,0)),g:Math.min(255,Math.max(Cn.g,0)),b:Math.min(255,Math.max(Cn.b,0)),a:_n}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers$1={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject$1($n){if($n=$n.trim().toLowerCase(),$n.length===0)return!1;var Cn=!1;if(names$1[$n])$n=names$1[$n],Cn=!0;else if($n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var _n=matchers$1.rgb.exec($n);return _n?{r:_n[1],g:_n[2],b:_n[3]}:(_n=matchers$1.rgba.exec($n),_n?{r:_n[1],g:_n[2],b:_n[3],a:_n[4]}:(_n=matchers$1.hsl.exec($n),_n?{h:_n[1],s:_n[2],l:_n[3]}:(_n=matchers$1.hsla.exec($n),_n?{h:_n[1],s:_n[2],l:_n[3],a:_n[4]}:(_n=matchers$1.hsv.exec($n),_n?{h:_n[1],s:_n[2],v:_n[3]}:(_n=matchers$1.hsva.exec($n),_n?{h:_n[1],s:_n[2],v:_n[3],a:_n[4]}:(_n=matchers$1.hex8.exec($n),_n?{r:parseIntFromHex$1(_n[1]),g:parseIntFromHex$1(_n[2]),b:parseIntFromHex$1(_n[3]),a:convertHexToDecimal$1(_n[4]),format:Cn?"name":"hex8"}:(_n=matchers$1.hex6.exec($n),_n?{r:parseIntFromHex$1(_n[1]),g:parseIntFromHex$1(_n[2]),b:parseIntFromHex$1(_n[3]),format:Cn?"name":"hex"}:(_n=matchers$1.hex4.exec($n),_n?{r:parseIntFromHex$1(_n[1]+_n[1]),g:parseIntFromHex$1(_n[2]+_n[2]),b:parseIntFromHex$1(_n[3]+_n[3]),a:convertHexToDecimal$1(_n[4]+_n[4]),format:Cn?"name":"hex8"}:(_n=matchers$1.hex3.exec($n),_n?{r:parseIntFromHex$1(_n[1]+_n[1]),g:parseIntFromHex$1(_n[2]+_n[2]),b:parseIntFromHex$1(_n[3]+_n[3]),format:Cn?"name":"hex"}:!1)))))))))}function isValidCSSUnit$1($n){return!!matchers$1.CSS_UNIT.exec(String($n))}var TinyColor=function(){function $n(Cn,_n){Cn===void 0&&(Cn=""),_n===void 0&&(_n={});var Pn;if(Cn instanceof $n)return Cn;typeof Cn=="number"&&(Cn=numberInputToObject(Cn)),this.originalInput=Cn;var In=inputToRGB$1(Cn);this.originalInput=Cn,this.r=In.r,this.g=In.g,this.b=In.b,this.a=In.a,this.roundA=Math.round(100*this.a)/100,this.format=(Pn=_n.format)!==null&&Pn!==void 0?Pn:In.format,this.gradientType=_n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=In.ok}return $n.prototype.isDark=function(){return this.getBrightness()<128},$n.prototype.isLight=function(){return!this.isDark()},$n.prototype.getBrightness=function(){var Cn=this.toRgb();return(Cn.r*299+Cn.g*587+Cn.b*114)/1e3},$n.prototype.getLuminance=function(){var Cn=this.toRgb(),_n,Pn,In,Nn=Cn.r/255,Rn=Cn.g/255,Dn=Cn.b/255;return Nn<=.03928?_n=Nn/12.92:_n=Math.pow((Nn+.055)/1.055,2.4),Rn<=.03928?Pn=Rn/12.92:Pn=Math.pow((Rn+.055)/1.055,2.4),Dn<=.03928?In=Dn/12.92:In=Math.pow((Dn+.055)/1.055,2.4),.2126*_n+.7152*Pn+.0722*In},$n.prototype.getAlpha=function(){return this.a},$n.prototype.setAlpha=function(Cn){return this.a=boundAlpha$1(Cn),this.roundA=Math.round(100*this.a)/100,this},$n.prototype.isMonochrome=function(){var Cn=this.toHsl().s;return Cn===0},$n.prototype.toHsv=function(){var Cn=rgbToHsv$1(this.r,this.g,this.b);return{h:Cn.h*360,s:Cn.s,v:Cn.v,a:this.a}},$n.prototype.toHsvString=function(){var Cn=rgbToHsv$1(this.r,this.g,this.b),_n=Math.round(Cn.h*360),Pn=Math.round(Cn.s*100),In=Math.round(Cn.v*100);return this.a===1?"hsv(".concat(_n,", ").concat(Pn,"%, ").concat(In,"%)"):"hsva(".concat(_n,", ").concat(Pn,"%, ").concat(In,"%, ").concat(this.roundA,")")},$n.prototype.toHsl=function(){var Cn=rgbToHsl$1(this.r,this.g,this.b);return{h:Cn.h*360,s:Cn.s,l:Cn.l,a:this.a}},$n.prototype.toHslString=function(){var Cn=rgbToHsl$1(this.r,this.g,this.b),_n=Math.round(Cn.h*360),Pn=Math.round(Cn.s*100),In=Math.round(Cn.l*100);return this.a===1?"hsl(".concat(_n,", ").concat(Pn,"%, ").concat(In,"%)"):"hsla(".concat(_n,", ").concat(Pn,"%, ").concat(In,"%, ").concat(this.roundA,")")},$n.prototype.toHex=function(Cn){return Cn===void 0&&(Cn=!1),rgbToHex$1(this.r,this.g,this.b,Cn)},$n.prototype.toHexString=function(Cn){return Cn===void 0&&(Cn=!1),"#"+this.toHex(Cn)},$n.prototype.toHex8=function(Cn){return Cn===void 0&&(Cn=!1),rgbaToHex$1(this.r,this.g,this.b,this.a,Cn)},$n.prototype.toHex8String=function(Cn){return Cn===void 0&&(Cn=!1),"#"+this.toHex8(Cn)},$n.prototype.toHexShortString=function(Cn){return Cn===void 0&&(Cn=!1),this.a===1?this.toHexString(Cn):this.toHex8String(Cn)},$n.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},$n.prototype.toRgbString=function(){var Cn=Math.round(this.r),_n=Math.round(this.g),Pn=Math.round(this.b);return this.a===1?"rgb(".concat(Cn,", ").concat(_n,", ").concat(Pn,")"):"rgba(".concat(Cn,", ").concat(_n,", ").concat(Pn,", ").concat(this.roundA,")")},$n.prototype.toPercentageRgb=function(){var Cn=function(_n){return"".concat(Math.round(bound01$1(_n,255)*100),"%")};return{r:Cn(this.r),g:Cn(this.g),b:Cn(this.b),a:this.a}},$n.prototype.toPercentageRgbString=function(){var Cn=function(_n){return Math.round(bound01$1(_n,255)*100)};return this.a===1?"rgb(".concat(Cn(this.r),"%, ").concat(Cn(this.g),"%, ").concat(Cn(this.b),"%)"):"rgba(".concat(Cn(this.r),"%, ").concat(Cn(this.g),"%, ").concat(Cn(this.b),"%, ").concat(this.roundA,")")},$n.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var Cn="#"+rgbToHex$1(this.r,this.g,this.b,!1),_n=0,Pn=Object.entries(names$1);_n<Pn.length;_n++){var In=Pn[_n],Nn=In[0],Rn=In[1];if(Cn===Rn)return Nn}return!1},$n.prototype.toString=function(Cn){var _n=!!Cn;Cn=Cn??this.format;var Pn=!1,In=this.a<1&&this.a>=0,Nn=!_n&&In&&(Cn.startsWith("hex")||Cn==="name");return Nn?Cn==="name"&&this.a===0?this.toName():this.toRgbString():(Cn==="rgb"&&(Pn=this.toRgbString()),Cn==="prgb"&&(Pn=this.toPercentageRgbString()),(Cn==="hex"||Cn==="hex6")&&(Pn=this.toHexString()),Cn==="hex3"&&(Pn=this.toHexString(!0)),Cn==="hex4"&&(Pn=this.toHex8String(!0)),Cn==="hex8"&&(Pn=this.toHex8String()),Cn==="name"&&(Pn=this.toName()),Cn==="hsl"&&(Pn=this.toHslString()),Cn==="hsv"&&(Pn=this.toHsvString()),Pn||this.toHexString())},$n.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},$n.prototype.clone=function(){return new $n(this.toString())},$n.prototype.lighten=function(Cn){Cn===void 0&&(Cn=10);var _n=this.toHsl();return _n.l+=Cn/100,_n.l=clamp01$1(_n.l),new $n(_n)},$n.prototype.brighten=function(Cn){Cn===void 0&&(Cn=10);var _n=this.toRgb();return _n.r=Math.max(0,Math.min(255,_n.r-Math.round(255*-(Cn/100)))),_n.g=Math.max(0,Math.min(255,_n.g-Math.round(255*-(Cn/100)))),_n.b=Math.max(0,Math.min(255,_n.b-Math.round(255*-(Cn/100)))),new $n(_n)},$n.prototype.darken=function(Cn){Cn===void 0&&(Cn=10);var _n=this.toHsl();return _n.l-=Cn/100,_n.l=clamp01$1(_n.l),new $n(_n)},$n.prototype.tint=function(Cn){return Cn===void 0&&(Cn=10),this.mix("white",Cn)},$n.prototype.shade=function(Cn){return Cn===void 0&&(Cn=10),this.mix("black",Cn)},$n.prototype.desaturate=function(Cn){Cn===void 0&&(Cn=10);var _n=this.toHsl();return _n.s-=Cn/100,_n.s=clamp01$1(_n.s),new $n(_n)},$n.prototype.saturate=function(Cn){Cn===void 0&&(Cn=10);var _n=this.toHsl();return _n.s+=Cn/100,_n.s=clamp01$1(_n.s),new $n(_n)},$n.prototype.greyscale=function(){return this.desaturate(100)},$n.prototype.spin=function(Cn){var _n=this.toHsl(),Pn=(_n.h+Cn)%360;return _n.h=Pn<0?360+Pn:Pn,new $n(_n)},$n.prototype.mix=function(Cn,_n){_n===void 0&&(_n=50);var Pn=this.toRgb(),In=new $n(Cn).toRgb(),Nn=_n/100,Rn={r:(In.r-Pn.r)*Nn+Pn.r,g:(In.g-Pn.g)*Nn+Pn.g,b:(In.b-Pn.b)*Nn+Pn.b,a:(In.a-Pn.a)*Nn+Pn.a};return new $n(Rn)},$n.prototype.analogous=function(Cn,_n){Cn===void 0&&(Cn=6),_n===void 0&&(_n=30);var Pn=this.toHsl(),In=360/_n,Nn=[this];for(Pn.h=(Pn.h-(In*Cn>>1)+720)%360;--Cn;)Pn.h=(Pn.h+In)%360,Nn.push(new $n(Pn));return Nn},$n.prototype.complement=function(){var Cn=this.toHsl();return Cn.h=(Cn.h+180)%360,new $n(Cn)},$n.prototype.monochromatic=function(Cn){Cn===void 0&&(Cn=6);for(var _n=this.toHsv(),Pn=_n.h,In=_n.s,Nn=_n.v,Rn=[],Dn=1/Cn;Cn--;)Rn.push(new $n({h:Pn,s:In,v:Nn})),Nn=(Nn+Dn)%1;return Rn},$n.prototype.splitcomplement=function(){var Cn=this.toHsl(),_n=Cn.h;return[this,new $n({h:(_n+72)%360,s:Cn.s,l:Cn.l}),new $n({h:(_n+216)%360,s:Cn.s,l:Cn.l})]},$n.prototype.onBackground=function(Cn){var _n=this.toRgb(),Pn=new $n(Cn).toRgb(),In=_n.a+Pn.a*(1-_n.a);return new $n({r:(_n.r*_n.a+Pn.r*Pn.a*(1-_n.a))/In,g:(_n.g*_n.a+Pn.g*Pn.a*(1-_n.a))/In,b:(_n.b*_n.a+Pn.b*Pn.a*(1-_n.a))/In,a:In})},$n.prototype.triad=function(){return this.polyad(3)},$n.prototype.tetrad=function(){return this.polyad(4)},$n.prototype.polyad=function(Cn){for(var _n=this.toHsl(),Pn=_n.h,In=[this],Nn=360/Cn,Rn=1;Rn<Cn;Rn++)In.push(new $n({h:(Pn+Rn*Nn)%360,s:_n.s,l:_n.l}));return In},$n.prototype.equals=function(Cn){return this.toRgbString()===new $n(Cn).toRgbString()},$n}(),hueStep=2,saturationStep=.16,saturationStep2=.05,brightnessStep1=.05,brightnessStep2=.15,lightColorCount=5,darkColorCount=4,darkColorMap=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function toHsv($n){var Cn=$n.r,_n=$n.g,Pn=$n.b,In=rgbToHsv$1(Cn,_n,Pn);return{h:In.h*360,s:In.s,v:In.v}}function toHex($n){var Cn=$n.r,_n=$n.g,Pn=$n.b;return"#".concat(rgbToHex$1(Cn,_n,Pn,!1))}function mix$1($n,Cn,_n){var Pn=_n/100,In={r:(Cn.r-$n.r)*Pn+$n.r,g:(Cn.g-$n.g)*Pn+$n.g,b:(Cn.b-$n.b)*Pn+$n.b};return In}function getHue($n,Cn,_n){var Pn;return Math.round($n.h)>=60&&Math.round($n.h)<=240?Pn=_n?Math.round($n.h)-hueStep*Cn:Math.round($n.h)+hueStep*Cn:Pn=_n?Math.round($n.h)+hueStep*Cn:Math.round($n.h)-hueStep*Cn,Pn<0?Pn+=360:Pn>=360&&(Pn-=360),Pn}function getSaturation($n,Cn,_n){if($n.h===0&&$n.s===0)return $n.s;var Pn;return _n?Pn=$n.s-saturationStep*Cn:Cn===darkColorCount?Pn=$n.s+saturationStep:Pn=$n.s+saturationStep2*Cn,Pn>1&&(Pn=1),_n&&Cn===lightColorCount&&Pn>.1&&(Pn=.1),Pn<.06&&(Pn=.06),Number(Pn.toFixed(2))}function getValue$4($n,Cn,_n){var Pn;return _n?Pn=$n.v+brightnessStep1*Cn:Pn=$n.v-brightnessStep2*Cn,Pn>1&&(Pn=1),Number(Pn.toFixed(2))}function generate$2($n){for(var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=[],Pn=inputToRGB$1($n),In=lightColorCount;In>0;In-=1){var Nn=toHsv(Pn),Rn=toHex(inputToRGB$1({h:getHue(Nn,In,!0),s:getSaturation(Nn,In,!0),v:getValue$4(Nn,In,!0)}));_n.push(Rn)}_n.push(toHex(Pn));for(var Dn=1;Dn<=darkColorCount;Dn+=1){var Ln=toHsv(Pn),Fn=toHex(inputToRGB$1({h:getHue(Ln,Dn),s:getSaturation(Ln,Dn),v:getValue$4(Ln,Dn)}));_n.push(Fn)}return Cn.theme==="dark"?darkColorMap.map(function(Bn){var Hn=Bn.index,zn=Bn.opacity,Wn=toHex(mix$1(inputToRGB$1(Cn.backgroundColor||"#141414"),inputToRGB$1(_n[Hn]),zn*100));return Wn}):_n}var presetPrimaryColors={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach(function($n){presetPalettes[$n]=generate$2(presetPrimaryColors[$n]),presetPalettes[$n].primary=presetPalettes[$n][5],presetDarkPalettes[$n]=generate$2(presetPrimaryColors[$n],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[$n].primary=presetDarkPalettes[$n][5]});var gold=presetPalettes.gold,blue=presetPalettes.blue;const genControlHeight=$n=>{const{controlHeight:Cn}=$n;return{controlHeightSM:Cn*.75,controlHeightXS:Cn*.5,controlHeightLG:Cn*1.25}};function genSizeMapToken($n){const{sizeUnit:Cn,sizeStep:_n}=$n;return{sizeXXL:Cn*(_n+8),sizeXL:Cn*(_n+4),sizeLG:Cn*(_n+2),sizeMD:Cn*(_n+1),sizeMS:Cn*_n,size:Cn*_n,sizeSM:Cn*(_n-1),sizeXS:Cn*(_n-2),sizeXXS:Cn*(_n-3)}}const defaultPresetColors={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},seedToken=_extends$1(_extends$1({},defaultPresetColors),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
-'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
-'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),defaultSeedToken=seedToken;function genColorMapToken($n,Cn){let{generateColorPalettes:_n,generateNeutralColorPalettes:Pn}=Cn;const{colorSuccess:In,colorWarning:Nn,colorError:Rn,colorInfo:Dn,colorPrimary:Ln,colorBgBase:Fn,colorTextBase:Bn}=$n,Hn=_n(Ln),zn=_n(In),Wn=_n(Nn),Yn=_n(Rn),Gn=_n(Dn),Go=Pn(Fn,Bn);return _extends$1(_extends$1({},Go),{colorPrimaryBg:Hn[1],colorPrimaryBgHover:Hn[2],colorPrimaryBorder:Hn[3],colorPrimaryBorderHover:Hn[4],colorPrimaryHover:Hn[5],colorPrimary:Hn[6],colorPrimaryActive:Hn[7],colorPrimaryTextHover:Hn[8],colorPrimaryText:Hn[9],colorPrimaryTextActive:Hn[10],colorSuccessBg:zn[1],colorSuccessBgHover:zn[2],colorSuccessBorder:zn[3],colorSuccessBorderHover:zn[4],colorSuccessHover:zn[4],colorSuccess:zn[6],colorSuccessActive:zn[7],colorSuccessTextHover:zn[8],colorSuccessText:zn[9],colorSuccessTextActive:zn[10],colorErrorBg:Yn[1],colorErrorBgHover:Yn[2],colorErrorBorder:Yn[3],colorErrorBorderHover:Yn[4],colorErrorHover:Yn[5],colorError:Yn[6],colorErrorActive:Yn[7],colorErrorTextHover:Yn[8],colorErrorText:Yn[9],colorErrorTextActive:Yn[10],colorWarningBg:Wn[1],colorWarningBgHover:Wn[2],colorWarningBorder:Wn[3],colorWarningBorderHover:Wn[4],colorWarningHover:Wn[4],colorWarning:Wn[6],colorWarningActive:Wn[7],colorWarningTextHover:Wn[8],colorWarningText:Wn[9],colorWarningTextActive:Wn[10],colorInfoBg:Gn[1],colorInfoBgHover:Gn[2],colorInfoBorder:Gn[3],colorInfoBorderHover:Gn[4],colorInfoHover:Gn[4],colorInfo:Gn[6],colorInfoActive:Gn[7],colorInfoTextHover:Gn[8],colorInfoText:Gn[9],colorInfoTextActive:Gn[10],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const genRadius=$n=>{let Cn=$n,_n=$n,Pn=$n,In=$n;return $n<6&&$n>=5?Cn=$n+1:$n<16&&$n>=6?Cn=$n+2:$n>=16&&(Cn=16),$n<7&&$n>=5?_n=4:$n<8&&$n>=7?_n=5:$n<14&&$n>=8?_n=6:$n<16&&$n>=14?_n=7:$n>=16&&(_n=8),$n<6&&$n>=2?Pn=1:$n>=6&&(Pn=2),$n>4&&$n<8?In=4:$n>=8&&(In=6),{borderRadius:$n>16?16:$n,borderRadiusXS:Pn,borderRadiusSM:_n,borderRadiusLG:Cn,borderRadiusOuter:In}};function genCommonMapToken($n){const{motionUnit:Cn,motionBase:_n,borderRadius:Pn,lineWidth:In}=$n;return _extends$1({motionDurationFast:`${(_n+Cn).toFixed(1)}s`,motionDurationMid:`${(_n+Cn*2).toFixed(1)}s`,motionDurationSlow:`${(_n+Cn*3).toFixed(1)}s`,lineWidthBold:In+1},genRadius(Pn))}const getAlphaColor$1=($n,Cn)=>new TinyColor($n).setAlpha(Cn).toRgbString(),getSolidColor=($n,Cn)=>new TinyColor($n).darken(Cn).toHexString(),generateColorPalettes=$n=>{const Cn=generate$2($n);return{1:Cn[0],2:Cn[1],3:Cn[2],4:Cn[3],5:Cn[4],6:Cn[5],7:Cn[6],8:Cn[4],9:Cn[5],10:Cn[6]}},generateNeutralColorPalettes=($n,Cn)=>{const _n=$n||"#fff",Pn=Cn||"#000";return{colorBgBase:_n,colorTextBase:Pn,colorText:getAlphaColor$1(Pn,.88),colorTextSecondary:getAlphaColor$1(Pn,.65),colorTextTertiary:getAlphaColor$1(Pn,.45),colorTextQuaternary:getAlphaColor$1(Pn,.25),colorFill:getAlphaColor$1(Pn,.15),colorFillSecondary:getAlphaColor$1(Pn,.06),colorFillTertiary:getAlphaColor$1(Pn,.04),colorFillQuaternary:getAlphaColor$1(Pn,.02),colorBgLayout:getSolidColor(_n,4),colorBgContainer:getSolidColor(_n,0),colorBgElevated:getSolidColor(_n,0),colorBgSpotlight:getAlphaColor$1(Pn,.85),colorBorder:getSolidColor(_n,15),colorBorderSecondary:getSolidColor(_n,6)}};function getFontSizes($n){const Cn=new Array(10).fill(null).map((_n,Pn)=>{const In=Pn-1,Nn=$n*Math.pow(2.71828,In/5),Rn=Pn>1?Math.floor(Nn):Math.ceil(Nn);return Math.floor(Rn/2)*2});return Cn[1]=$n,Cn.map(_n=>{const Pn=_n+8;return{size:_n,lineHeight:Pn/_n}})}const genFontMapToken=$n=>{const Cn=getFontSizes($n),_n=Cn.map(In=>In.size),Pn=Cn.map(In=>In.lineHeight);return{fontSizeSM:_n[0],fontSize:_n[1],fontSizeLG:_n[2],fontSizeXL:_n[3],fontSizeHeading1:_n[6],fontSizeHeading2:_n[5],fontSizeHeading3:_n[4],fontSizeHeading4:_n[3],fontSizeHeading5:_n[2],lineHeight:Pn[1],lineHeightLG:Pn[2],lineHeightSM:Pn[0],lineHeightHeading1:Pn[6],lineHeightHeading2:Pn[5],lineHeightHeading3:Pn[4],lineHeightHeading4:Pn[3],lineHeightHeading5:Pn[2]}};function derivative($n){const Cn=Object.keys(defaultPresetColors).map(_n=>{const Pn=generate$2($n[_n]);return new Array(10).fill(1).reduce((In,Nn,Rn)=>(In[`${_n}-${Rn+1}`]=Pn[Rn],In),{})}).reduce((_n,Pn)=>(_n=_extends$1(_extends$1({},_n),Pn),_n),{});return _extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},$n),Cn),genColorMapToken($n,{generateColorPalettes,generateNeutralColorPalettes})),genFontMapToken($n.fontSize)),genSizeMapToken($n)),genControlHeight($n)),genCommonMapToken($n))}function isStableColor($n){return $n>=0&&$n<=255}function getAlphaColor($n,Cn){const{r:_n,g:Pn,b:In,a:Nn}=new TinyColor($n).toRgb();if(Nn<1)return $n;const{r:Rn,g:Dn,b:Ln}=new TinyColor(Cn).toRgb();for(let Fn=.01;Fn<=1;Fn+=.01){const Bn=Math.round((_n-Rn*(1-Fn))/Fn),Hn=Math.round((Pn-Dn*(1-Fn))/Fn),zn=Math.round((In-Ln*(1-Fn))/Fn);if(isStableColor(Bn)&&isStableColor(Hn)&&isStableColor(zn))return new TinyColor({r:Bn,g:Hn,b:zn,a:Math.round(Fn*100)/100}).toRgbString()}return new TinyColor({r:_n,g:Pn,b:In,a:1}).toRgbString()}var __rest$1f=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function formatToken($n){const{override:Cn}=$n,_n=__rest$1f($n,["override"]),Pn=_extends$1({},Cn);Object.keys(defaultSeedToken).forEach(Wn=>{delete Pn[Wn]});const In=_extends$1(_extends$1({},_n),Pn),Nn=480,Rn=576,Dn=768,Ln=992,Fn=1200,Bn=1600,Hn=2e3;return _extends$1(_extends$1(_extends$1({},In),{colorLink:In.colorInfoText,colorLinkHover:In.colorInfoHover,colorLinkActive:In.colorInfoActive,colorFillContent:In.colorFillSecondary,colorFillContentHover:In.colorFill,colorFillAlter:In.colorFillQuaternary,colorBgContainerDisabled:In.colorFillTertiary,colorBorderBg:In.colorBgContainer,colorSplit:getAlphaColor(In.colorBorderSecondary,In.colorBgContainer),colorTextPlaceholder:In.colorTextQuaternary,colorTextDisabled:In.colorTextQuaternary,colorTextHeading:In.colorText,colorTextLabel:In.colorTextSecondary,colorTextDescription:In.colorTextTertiary,colorTextLightSolid:In.colorWhite,colorHighlight:In.colorError,colorBgTextHover:In.colorFillSecondary,colorBgTextActive:In.colorFill,colorIcon:In.colorTextTertiary,colorIconHover:In.colorText,colorErrorOutline:getAlphaColor(In.colorErrorBg,In.colorBgContainer),colorWarningOutline:getAlphaColor(In.colorWarningBg,In.colorBgContainer),fontSizeIcon:In.fontSizeSM,lineWidth:In.lineWidth,controlOutlineWidth:In.lineWidth*2,controlInteractiveSize:In.controlHeight/2,controlItemBgHover:In.colorFillTertiary,controlItemBgActive:In.colorPrimaryBg,controlItemBgActiveHover:In.colorPrimaryBgHover,controlItemBgActiveDisabled:In.colorFill,controlTmpOutline:In.colorFillQuaternary,controlOutline:getAlphaColor(In.colorPrimaryBg,In.colorBgContainer),lineType:In.lineType,borderRadius:In.borderRadius,borderRadiusXS:In.borderRadiusXS,borderRadiusSM:In.borderRadiusSM,borderRadiusLG:In.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:In.sizeXXS,paddingXS:In.sizeXS,paddingSM:In.sizeSM,padding:In.size,paddingMD:In.sizeMD,paddingLG:In.sizeLG,paddingXL:In.sizeXL,paddingContentHorizontalLG:In.sizeLG,paddingContentVerticalLG:In.sizeMS,paddingContentHorizontal:In.sizeMS,paddingContentVertical:In.sizeSM,paddingContentHorizontalSM:In.size,paddingContentVerticalSM:In.sizeXS,marginXXS:In.sizeXXS,marginXS:In.sizeXS,marginSM:In.sizeSM,margin:In.size,marginMD:In.sizeMD,marginLG:In.sizeLG,marginXL:In.sizeXL,marginXXL:In.sizeXXL,boxShadow:`
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
- `,boxShadowSecondary:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTertiary:`
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
- `,screenXS:Nn,screenXSMin:Nn,screenXSMax:Rn-1,screenSM:Rn,screenSMMin:Rn,screenSMMax:Dn-1,screenMD:Dn,screenMDMin:Dn,screenMDMax:Ln-1,screenLG:Ln,screenLGMin:Ln,screenLGMax:Fn-1,screenXL:Fn,screenXLMin:Fn,screenXLMax:Bn-1,screenXXL:Bn,screenXXLMin:Bn,screenXXLMax:Hn-1,screenXXXL:Hn,screenXXXLMin:Hn,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:`
- 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
- 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
- 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
- `,boxShadowDrawerRight:`
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerLeft:`
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerUp:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerDown:`
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),Pn)}const operationUnit=$n=>({color:$n.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${$n.motionDurationSlow}`,"&:focus, &:hover":{color:$n.colorLinkHover},"&:active":{color:$n.colorLinkActive}}),roundedArrow=($n,Cn,_n,Pn,In)=>{const Nn=$n/2,Rn=0,Dn=Nn,Ln=_n*1/Math.sqrt(2),Fn=Nn-_n*(1-1/Math.sqrt(2)),Bn=Nn-Cn*(1/Math.sqrt(2)),Hn=_n*(Math.sqrt(2)-1)+Cn*(1/Math.sqrt(2)),zn=2*Nn-Bn,Wn=Hn,Yn=2*Nn-Ln,Gn=Fn,Go=2*Nn-Rn,Xn=Dn,Yo=Nn*Math.sqrt(2)+_n*(Math.sqrt(2)-2),qo=_n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:$n,height:$n,overflow:"hidden","&::after":{content:'""',position:"absolute",width:Yo,height:Yo,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Cn}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:In,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:$n,height:$n/2,background:Pn,clipPath:{_multi_value_:!0,value:[`polygon(${qo}px 100%, 50% ${qo}px, ${2*Nn-qo}px 100%, ${qo}px 100%)`,`path('M ${Rn} ${Dn} A ${_n} ${_n} 0 0 0 ${Ln} ${Fn} L ${Bn} ${Hn} A ${Cn} ${Cn} 0 0 1 ${zn} ${Wn} L ${Yn} ${Gn} A ${_n} ${_n} 0 0 0 ${Go} ${Xn} Z')`]},content:'""'}}};function genPresetColor($n,Cn){return PresetColors.reduce((_n,Pn)=>{const In=$n[`${Pn}-1`],Nn=$n[`${Pn}-3`],Rn=$n[`${Pn}-6`],Dn=$n[`${Pn}-7`];return _extends$1(_extends$1({},_n),Cn(Pn,{lightColor:In,lightBorderColor:Nn,darkColor:Rn,textColor:Dn}))},{})}const textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},resetComponent=$n=>({boxSizing:"border-box",margin:0,padding:0,color:$n.colorText,fontSize:$n.fontSize,lineHeight:$n.lineHeight,listStyle:"none",fontFamily:$n.fontFamily}),resetIcon=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),clearFix=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),genLinkStyle=$n=>({a:{color:$n.colorLink,textDecoration:$n.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${$n.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:$n.colorLinkHover},"&:active":{color:$n.colorLinkActive},"&:active,\n &:hover":{textDecoration:$n.linkHoverDecoration,outline:0},"&:focus":{textDecoration:$n.linkFocusDecoration,outline:0},"&[disabled]":{color:$n.colorTextDisabled,cursor:"not-allowed"}}}),genCommonStyle=($n,Cn)=>{const{fontFamily:_n,fontSize:Pn}=$n,In=`[class^="${Cn}"], [class*=" ${Cn}"]`;return{[In]:{fontFamily:_n,fontSize:Pn,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[In]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},genFocusOutline=$n=>({outline:`${$n.lineWidthBold}px solid ${$n.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),genFocusStyle=$n=>({"&:focus-visible":_extends$1({},genFocusOutline($n))});function genComponentStyleHook($n,Cn,_n){return Pn=>{const In=computed(()=>Pn==null?void 0:Pn.value),[Nn,Rn,Dn]=useToken(),{getPrefixCls:Ln,iconPrefixCls:Fn}=useConfigContextInject(),Bn=computed(()=>Ln()),Hn=computed(()=>({theme:Nn.value,token:Rn.value,hashId:Dn.value,path:["Shared",Bn.value]}));useStyleRegister(Hn,()=>[{"&":genLinkStyle(Rn.value)}]);const zn=computed(()=>({theme:Nn.value,token:Rn.value,hashId:Dn.value,path:[$n,In.value,Fn.value]}));return[useStyleRegister(zn,()=>{const{token:Wn,flush:Yn}=statisticToken(Rn.value),Gn=typeof _n=="function"?_n(Wn):_n,Go=_extends$1(_extends$1({},Gn),Rn.value[$n]),Xn=`.${In.value}`,Yo=merge$1(Wn,{componentCls:Xn,prefixCls:In.value,iconCls:`.${Fn.value}`,antCls:`.${Bn.value}`},Go),qo=Cn(Yo,{hashId:Dn.value,prefixCls:In.value,rootPrefixCls:Bn.value,iconPrefixCls:Fn.value,overrideComponentToken:Rn.value[$n]});return Yn($n,Go),[genCommonStyle(Rn.value,In.value),qo]}),Dn]}}const enableStatistic=typeof CSSINJS_STATISTIC<"u";let recording=!0;function merge$1(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];if(!enableStatistic)return _extends$1({},...Cn);recording=!1;const Pn={};return Cn.forEach(In=>{Object.keys(In).forEach(Rn=>{Object.defineProperty(Pn,Rn,{configurable:!0,enumerable:!0,get:()=>In[Rn]})})}),recording=!0,Pn}function noop$f(){}function statisticToken($n){let Cn,_n=$n,Pn=noop$f;return enableStatistic&&(Cn=new Set,_n=new Proxy($n,{get(In,Nn){return recording&&Cn.add(Nn),In[Nn]}}),Pn=(In,Nn)=>{Array.from(Cn)}),{token:_n,keys:Cn,flush:Pn}}const defaultTheme=createTheme(derivative),defaultConfig$1={token:defaultSeedToken,hashed:!0},DesignTokenContextKey=Symbol("DesignTokenContext"),globalDesignTokenApi=shallowRef(),useDesignTokenProvider=$n=>{provide(DesignTokenContextKey,$n),watch($n,()=>{globalDesignTokenApi.value=unref($n),triggerRef(globalDesignTokenApi)},{immediate:!0,deep:!0})},DesignTokenProvider=defineComponent({props:{value:objectType()},setup($n,Cn){let{slots:_n}=Cn;return useDesignTokenProvider(computed(()=>$n.value)),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}});function useToken(){const $n=inject(DesignTokenContextKey,computed(()=>globalDesignTokenApi.value||defaultConfig$1)),Cn=computed(()=>`${version}-${$n.value.hashed||""}`),_n=computed(()=>$n.value.theme||defaultTheme),Pn=useCacheToken(_n,computed(()=>[defaultSeedToken,$n.value.token]),computed(()=>({salt:Cn.value,override:_extends$1({override:$n.value.token},$n.value.components),formatToken})));return[_n,computed(()=>Pn.value[0]),computed(()=>$n.value.hashed?Pn.value[1]:"")]}const Empty$2=defineComponent({compatConfig:{MODE:3},setup(){const[,$n]=useToken(),Cn=computed(()=>new TinyColor($n.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>createVNode("svg",{style:Cn.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[createVNode("g",{fill:"none","fill-rule":"evenodd"},[createVNode("g",{transform:"translate(24 31.67)"},[createVNode("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),createVNode("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),createVNode("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),createVNode("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),createVNode("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),createVNode("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),createVNode("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[createVNode("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),createVNode("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});Empty$2.PRESENTED_IMAGE_DEFAULT=!0;const DefaultEmptyImg=Empty$2,Simple=defineComponent({compatConfig:{MODE:3},setup(){const[,$n]=useToken(),Cn=computed(()=>{const{colorFill:_n,colorFillTertiary:Pn,colorFillQuaternary:In,colorBgContainer:Nn}=$n.value;return{borderColor:new TinyColor(_n).onBackground(Nn).toHexString(),shadowColor:new TinyColor(Pn).onBackground(Nn).toHexString(),contentColor:new TinyColor(In).onBackground(Nn).toHexString()}});return()=>createVNode("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[createVNode("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[createVNode("ellipse",{fill:Cn.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),createVNode("g",{"fill-rule":"nonzero",stroke:Cn.value.borderColor},[createVNode("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),createVNode("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Cn.value.contentColor},null)])])])}});Simple.PRESENTED_IMAGE_SIMPLE=!0;const SimpleEmptyImg=Simple,genSharedEmptyStyle=$n=>{const{componentCls:Cn,margin:_n,marginXS:Pn,marginXL:In,fontSize:Nn,lineHeight:Rn}=$n;return{[Cn]:{marginInline:Pn,fontSize:Nn,lineHeight:Rn,textAlign:"center",[`${Cn}-image`]:{height:$n.emptyImgHeight,marginBottom:Pn,opacity:$n.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${Cn}-footer`]:{marginTop:_n},"&-normal":{marginBlock:In,color:$n.colorTextDisabled,[`${Cn}-image`]:{height:$n.emptyImgHeightMD}},"&-small":{marginBlock:Pn,color:$n.colorTextDisabled,[`${Cn}-image`]:{height:$n.emptyImgHeightSM}}}}},useStyle$Z=genComponentStyleHook("Empty",$n=>{const{componentCls:Cn,controlHeightLG:_n}=$n,Pn=merge$1($n,{emptyImgCls:`${Cn}-img`,emptyImgHeight:_n*2.5,emptyImgHeightMD:_n,emptyImgHeightSM:_n*.875});return[genSharedEmptyStyle(Pn)]});var __rest$1e=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const defaultEmptyImg=createVNode(DefaultEmptyImg,null,null),simpleEmptyImg=createVNode(SimpleEmptyImg,null,null),emptyProps=()=>({prefixCls:String,imageStyle:objectType(),image:anyType(),description:anyType()}),Empty=defineComponent({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:emptyProps(),setup($n,Cn){let{slots:_n={},attrs:Pn}=Cn;const{direction:In,prefixCls:Nn}=useConfigInject("empty",$n),[Rn,Dn]=useStyle$Z(Nn);return()=>{var Ln,Fn;const Bn=Nn.value,Hn=_extends$1(_extends$1({},$n),Pn),{image:zn=((Ln=_n.image)===null||Ln===void 0?void 0:Ln.call(_n))||defaultEmptyImg,description:Wn=((Fn=_n.description)===null||Fn===void 0?void 0:Fn.call(_n))||void 0,imageStyle:Yn,class:Gn=""}=Hn,Go=__rest$1e(Hn,["image","description","imageStyle","class"]);return Rn(createVNode(LocaleReceiver,{componentName:"Empty",children:Xn=>{const Yo=typeof Wn<"u"?Wn:Xn.description,qo=typeof Yo=="string"?Yo:"empty";let Jo=null;return typeof zn=="string"?Jo=createVNode("img",{alt:qo,src:zn},null):Jo=zn,createVNode("div",_objectSpread2$1({class:classNames(Bn,Gn,Dn.value,{[`${Bn}-normal`]:zn===simpleEmptyImg,[`${Bn}-rtl`]:In.value==="rtl"})},Go),[createVNode("div",{class:`${Bn}-image`,style:Yn},[Jo]),Yo&&createVNode("p",{class:`${Bn}-description`},[Yo]),_n.default&&createVNode("div",{class:`${Bn}-footer`},[filterEmpty(_n.default())])])}},null))}}});Empty.PRESENTED_IMAGE_DEFAULT=defaultEmptyImg;Empty.PRESENTED_IMAGE_SIMPLE=simpleEmptyImg;const Empty$1=withInstall(Empty),DefaultRenderEmpty=$n=>{const{prefixCls:Cn}=useConfigInject("empty",$n);return(Pn=>{switch(Pn){case"Table":case"List":return createVNode(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return createVNode(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE,class:`${Cn.value}-small`},null);default:return createVNode(Empty$1,null,null)}})($n.componentName)};function renderEmpty($n){return createVNode(DefaultRenderEmpty,{componentName:$n},null)}const SizeContextKey=Symbol("SizeContextKey"),useInjectSize=()=>inject(SizeContextKey,ref(void 0)),useProviderSize=$n=>{const Cn=useInjectSize();return provide(SizeContextKey,computed(()=>$n.value||Cn.value)),$n},useConfigInject=($n,Cn)=>{const _n=useInjectSize(),Pn=useInjectDisabled(),In=inject(configProviderKey,_extends$1(_extends$1({},defaultConfigProvider),{renderEmpty:nr=>h$3(DefaultRenderEmpty,{componentName:nr})})),Nn=computed(()=>In.getPrefixCls($n,Cn.prefixCls)),Rn=computed(()=>{var nr,ta;return(nr=Cn.direction)!==null&&nr!==void 0?nr:(ta=In.direction)===null||ta===void 0?void 0:ta.value}),Dn=computed(()=>{var nr;return(nr=Cn.iconPrefixCls)!==null&&nr!==void 0?nr:In.iconPrefixCls.value}),Ln=computed(()=>In.getPrefixCls()),Fn=computed(()=>{var nr;return(nr=In.autoInsertSpaceInButton)===null||nr===void 0?void 0:nr.value}),Bn=In.renderEmpty,Hn=In.space,zn=In.pageHeader,Wn=In.form,Yn=computed(()=>{var nr,ta;return(nr=Cn.getTargetContainer)!==null&&nr!==void 0?nr:(ta=In.getTargetContainer)===null||ta===void 0?void 0:ta.value}),Gn=computed(()=>{var nr,ta,oa;return(ta=(nr=Cn.getContainer)!==null&&nr!==void 0?nr:Cn.getPopupContainer)!==null&&ta!==void 0?ta:(oa=In.getPopupContainer)===null||oa===void 0?void 0:oa.value}),Go=computed(()=>{var nr,ta;return(nr=Cn.dropdownMatchSelectWidth)!==null&&nr!==void 0?nr:(ta=In.dropdownMatchSelectWidth)===null||ta===void 0?void 0:ta.value}),Xn=computed(()=>{var nr;return(Cn.virtual===void 0?((nr=In.virtual)===null||nr===void 0?void 0:nr.value)!==!1:Cn.virtual!==!1)&&Go.value!==!1}),Yo=computed(()=>Cn.size||_n.value),qo=computed(()=>{var nr,ta,oa;return(nr=Cn.autocomplete)!==null&&nr!==void 0?nr:(oa=(ta=In.input)===null||ta===void 0?void 0:ta.value)===null||oa===void 0?void 0:oa.autocomplete}),Jo=computed(()=>{var nr;return(nr=Cn.disabled)!==null&&nr!==void 0?nr:Pn.value}),Zo=computed(()=>{var nr;return(nr=Cn.csp)!==null&&nr!==void 0?nr:In.csp}),rr=computed(()=>{var nr,ta;return(nr=Cn.wave)!==null&&nr!==void 0?nr:(ta=In.wave)===null||ta===void 0?void 0:ta.value});return{configProvider:In,prefixCls:Nn,direction:Rn,size:Yo,getTargetContainer:Yn,getPopupContainer:Gn,space:Hn,pageHeader:zn,form:Wn,autoInsertSpaceInButton:Fn,renderEmpty:Bn,virtual:Xn,dropdownMatchSelectWidth:Go,rootPrefixCls:Ln,getPrefixCls:In.getPrefixCls,autocomplete:qo,csp:Zo,iconPrefixCls:Dn,disabled:Jo,select:In.select,wave:rr}};function omit$1($n,Cn){const _n=_extends$1({},$n);for(let Pn=0;Pn<Cn.length;Pn+=1){const In=Cn[Pn];delete _n[In]}return _n}const genSharedAffixStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{position:"fixed",zIndex:$n.zIndexPopup}}},useStyle$Y=genComponentStyleHook("Affix",$n=>{const Cn=merge$1($n,{zIndexPopup:$n.zIndexBase+10});return[genSharedAffixStyle(Cn)]});function getDefaultTarget(){return typeof window<"u"?window:null}var AffixStatus;(function($n){$n[$n.None=0]="None",$n[$n.Prepare=1]="Prepare"})(AffixStatus||(AffixStatus={}));const affixProps=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:getDefaultTarget},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),Affix=defineComponent({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:affixProps(),setup($n,Cn){let{slots:_n,emit:Pn,expose:In,attrs:Nn}=Cn;const Rn=shallowRef(),Dn=shallowRef(),Ln=reactive({affixStyle:void 0,placeholderStyle:void 0,status:AffixStatus.None,lastAffix:!1,prevTarget:null,timeout:null}),Fn=getCurrentInstance(),Bn=computed(()=>$n.offsetBottom===void 0&&$n.offsetTop===void 0?0:$n.offsetTop),Hn=computed(()=>$n.offsetBottom),zn=()=>{const{status:qo,lastAffix:Jo}=Ln,{target:Zo}=$n;if(qo!==AffixStatus.Prepare||!Dn.value||!Rn.value||!Zo)return;const rr=Zo();if(!rr)return;const nr={status:AffixStatus.None},ta=getTargetRect(Rn.value);if(ta.top===0&&ta.left===0&&ta.width===0&&ta.height===0)return;const oa=getTargetRect(rr),ra=getFixedTop(ta,oa,Bn.value),ea=getFixedBottom(ta,oa,Hn.value);if(!(ta.top===0&&ta.left===0&&ta.width===0&&ta.height===0)){if(ra!==void 0){const la=`${ta.width}px`,ua=`${ta.height}px`;nr.affixStyle={position:"fixed",top:ra,width:la,height:ua},nr.placeholderStyle={width:la,height:ua}}else if(ea!==void 0){const la=`${ta.width}px`,ua=`${ta.height}px`;nr.affixStyle={position:"fixed",bottom:ea,width:la,height:ua},nr.placeholderStyle={width:la,height:ua}}nr.lastAffix=!!nr.affixStyle,Jo!==nr.lastAffix&&Pn("change",nr.lastAffix),_extends$1(Ln,nr)}},Wn=()=>{_extends$1(Ln,{status:AffixStatus.Prepare,affixStyle:void 0,placeholderStyle:void 0})},Yn=throttleByAnimationFrame(()=>{Wn()}),Gn=throttleByAnimationFrame(()=>{const{target:qo}=$n,{affixStyle:Jo}=Ln;if(qo&&Jo){const Zo=qo();if(Zo&&Rn.value){const rr=getTargetRect(Zo),nr=getTargetRect(Rn.value),ta=getFixedTop(nr,rr,Bn.value),oa=getFixedBottom(nr,rr,Hn.value);if(ta!==void 0&&Jo.top===ta||oa!==void 0&&Jo.bottom===oa)return}}Wn()});In({updatePosition:Yn,lazyUpdatePosition:Gn}),watch(()=>$n.target,qo=>{const Jo=(qo==null?void 0:qo())||null;Ln.prevTarget!==Jo&&(removeObserveTarget(Fn),Jo&&(addObserveTarget(Jo,Fn),Yn()),Ln.prevTarget=Jo)}),watch(()=>[$n.offsetTop,$n.offsetBottom],Yn),onMounted(()=>{const{target:qo}=$n;qo&&(Ln.timeout=setTimeout(()=>{addObserveTarget(qo(),Fn),Yn()}))}),onUpdated(()=>{zn()}),onUnmounted(()=>{clearTimeout(Ln.timeout),removeObserveTarget(Fn),Yn.cancel(),Gn.cancel()});const{prefixCls:Go}=useConfigInject("affix",$n),[Xn,Yo]=useStyle$Y(Go);return()=>{var qo;const{affixStyle:Jo,placeholderStyle:Zo,status:rr}=Ln,nr=classNames({[Go.value]:Jo,[Yo.value]:!0}),ta=omit$1($n,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return Xn(createVNode(ResizeObserver$1,{onResize:Yn},{default:()=>[createVNode("div",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},ta),Nn),{},{ref:Rn,"data-measure-status":rr}),[Jo&&createVNode("div",{style:Zo,"aria-hidden":"true"},null),createVNode("div",{class:nr,ref:Dn,style:Jo},[(qo=_n.default)===null||qo===void 0?void 0:qo.call(_n)])])]}))}}}),Affix$1=withInstall(Affix);function t$3($n){return typeof $n=="object"&&$n!=null&&$n.nodeType===1}function e$2($n,Cn){return(!Cn||$n!=="hidden")&&$n!=="visible"&&$n!=="clip"}function n$3($n,Cn){if($n.clientHeight<$n.scrollHeight||$n.clientWidth<$n.scrollWidth){var _n=getComputedStyle($n,null);return e$2(_n.overflowY,Cn)||e$2(_n.overflowX,Cn)||function(Pn){var In=function(Nn){if(!Nn.ownerDocument||!Nn.ownerDocument.defaultView)return null;try{return Nn.ownerDocument.defaultView.frameElement}catch{return null}}(Pn);return!!In&&(In.clientHeight<Pn.scrollHeight||In.clientWidth<Pn.scrollWidth)}($n)}return!1}function r$3($n,Cn,_n,Pn,In,Nn,Rn,Dn){return Nn<$n&&Rn>Cn||Nn>$n&&Rn<Cn?0:Nn<=$n&&Dn<=_n||Rn>=Cn&&Dn>=_n?Nn-$n-Pn:Rn>Cn&&Dn<_n||Nn<$n&&Dn>_n?Rn-Cn+In:0}var i$3=function($n,Cn){var _n=window,Pn=Cn.scrollMode,In=Cn.block,Nn=Cn.inline,Rn=Cn.boundary,Dn=Cn.skipOverflowHiddenElements,Ln=typeof Rn=="function"?Rn:function(pa){return pa!==Rn};if(!t$3($n))throw new TypeError("Invalid target");for(var Fn,Bn,Hn=document.scrollingElement||document.documentElement,zn=[],Wn=$n;t$3(Wn)&&Ln(Wn);){if((Wn=(Bn=(Fn=Wn).parentElement)==null?Fn.getRootNode().host||null:Bn)===Hn){zn.push(Wn);break}Wn!=null&&Wn===document.body&&n$3(Wn)&&!n$3(document.documentElement)||Wn!=null&&n$3(Wn,Dn)&&zn.push(Wn)}for(var Yn=_n.visualViewport?_n.visualViewport.width:innerWidth,Gn=_n.visualViewport?_n.visualViewport.height:innerHeight,Go=window.scrollX||pageXOffset,Xn=window.scrollY||pageYOffset,Yo=$n.getBoundingClientRect(),qo=Yo.height,Jo=Yo.width,Zo=Yo.top,rr=Yo.right,nr=Yo.bottom,ta=Yo.left,oa=In==="start"||In==="nearest"?Zo:In==="end"?nr:Zo+qo/2,ra=Nn==="center"?ta+Jo/2:Nn==="end"?rr:ta,ea=[],la=0;la<zn.length;la++){var ua=zn[la],ga=ua.getBoundingClientRect(),aa=ga.height,ca=ga.width,sa=ga.top,ia=ga.right,fa=ga.bottom,ma=ga.left;if(Pn==="if-needed"&&Zo>=0&&ta>=0&&nr<=Gn&&rr<=Yn&&Zo>=sa&&nr<=fa&&ta>=ma&&rr<=ia)return ea;var ya=getComputedStyle(ua),ba=parseInt(ya.borderLeftWidth,10),Ia=parseInt(ya.borderTopWidth,10),Ea=parseInt(ya.borderRightWidth,10),xa=parseInt(ya.borderBottomWidth,10),Ta=0,wa=0,La="offsetWidth"in ua?ua.offsetWidth-ua.clientWidth-ba-Ea:0,Na="offsetHeight"in ua?ua.offsetHeight-ua.clientHeight-Ia-xa:0,$a="offsetWidth"in ua?ua.offsetWidth===0?0:ca/ua.offsetWidth:0,ka="offsetHeight"in ua?ua.offsetHeight===0?0:aa/ua.offsetHeight:0;if(Hn===ua)Ta=In==="start"?oa:In==="end"?oa-Gn:In==="nearest"?r$3(Xn,Xn+Gn,Gn,Ia,xa,Xn+oa,Xn+oa+qo,qo):oa-Gn/2,wa=Nn==="start"?ra:Nn==="center"?ra-Yn/2:Nn==="end"?ra-Yn:r$3(Go,Go+Yn,Yn,ba,Ea,Go+ra,Go+ra+Jo,Jo),Ta=Math.max(0,Ta+Xn),wa=Math.max(0,wa+Go);else{Ta=In==="start"?oa-sa-Ia:In==="end"?oa-fa+xa+Na:In==="nearest"?r$3(sa,fa,aa,Ia,xa+Na,oa,oa+qo,qo):oa-(sa+aa/2)+Na/2,wa=Nn==="start"?ra-ma-ba:Nn==="center"?ra-(ma+ca/2)+La/2:Nn==="end"?ra-ia+Ea+La:r$3(ma,ia,ca,ba,Ea+La,ra,ra+Jo,Jo);var Ha=ua.scrollLeft,da=ua.scrollTop;oa+=da-(Ta=Math.max(0,Math.min(da+Ta/ka,ua.scrollHeight-aa/ka+Na))),ra+=Ha-(wa=Math.max(0,Math.min(Ha+wa/$a,ua.scrollWidth-ca/$a+La)))}ea.push({el:ua,top:Ta,left:wa})}return ea};function isOptionsObject($n){return $n===Object($n)&&Object.keys($n).length!==0}function defaultBehavior($n,Cn){Cn===void 0&&(Cn="auto");var _n="scrollBehavior"in document.body.style;$n.forEach(function(Pn){var In=Pn.el,Nn=Pn.top,Rn=Pn.left;In.scroll&&_n?In.scroll({top:Nn,left:Rn,behavior:Cn}):(In.scrollTop=Nn,In.scrollLeft=Rn)})}function getOptions($n){return $n===!1?{block:"end",inline:"nearest"}:isOptionsObject($n)?$n:{block:"start",inline:"nearest"}}function scrollIntoView($n,Cn){var _n=$n.isConnected||$n.ownerDocument.documentElement.contains($n);if(isOptionsObject(Cn)&&typeof Cn.behavior=="function")return Cn.behavior(_n?i$3($n,Cn):[]);if(_n){var Pn=getOptions(Cn);return defaultBehavior(i$3($n,Pn),Pn.behavior)}}function easeInOutCubic($n,Cn,_n,Pn){const In=_n-Cn;return $n/=Pn/2,$n<1?In/2*$n*$n*$n+Cn:In/2*(($n-=2)*$n*$n+2)+Cn}function isWindow$1($n){return $n!=null&&$n===$n.window}function getScroll$3($n,Cn){var _n,Pn;if(typeof window>"u")return 0;const In=Cn?"scrollTop":"scrollLeft";let Nn=0;return isWindow$1($n)?Nn=$n[Cn?"pageYOffset":"pageXOffset"]:$n instanceof Document?Nn=$n.documentElement[In]:($n instanceof HTMLElement||$n)&&(Nn=$n[In]),$n&&!isWindow$1($n)&&typeof Nn!="number"&&(Nn=(Pn=((_n=$n.ownerDocument)!==null&&_n!==void 0?_n:$n).documentElement)===null||Pn===void 0?void 0:Pn[In]),Nn}function scrollTo$1($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:_n=()=>window,callback:Pn,duration:In=450}=Cn,Nn=_n(),Rn=getScroll$3(Nn,!0),Dn=Date.now(),Ln=()=>{const Bn=Date.now()-Dn,Hn=easeInOutCubic(Bn>In?In:Bn,Rn,$n,In);isWindow$1(Nn)?Nn.scrollTo(window.pageXOffset,Hn):Nn instanceof Document||Nn.constructor.name==="HTMLDocument"?Nn.documentElement.scrollTop=Hn:Nn.scrollTop=Hn,Bn<In?wrapperRaf(Ln):typeof Pn=="function"&&Pn()};wrapperRaf(Ln)}function noop$e(){}const AnchorContextKey=Symbol("anchorContextKey"),useProvideAnchor=$n=>{provide(AnchorContextKey,$n)},useInjectAnchor=()=>inject(AnchorContextKey,{registerLink:noop$e,unregisterLink:noop$e,scrollTo:noop$e,activeLink:computed(()=>""),handleClick:noop$e,direction:computed(()=>"vertical")}),genSharedAnchorStyle=$n=>{const{componentCls:Cn,holderOffsetBlock:_n,motionDurationSlow:Pn,lineWidthBold:In,colorPrimary:Nn,lineType:Rn,colorSplit:Dn}=$n;return{[`${Cn}-wrapper`]:{marginBlockStart:-_n,paddingBlockStart:_n,backgroundColor:"transparent",[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",paddingInlineStart:In,[`${Cn}-link`]:{paddingBlock:$n.anchorPaddingBlock,paddingInline:`${$n.anchorPaddingInline}px 0`,"&-title":_extends$1(_extends$1({},textEllipsis),{position:"relative",display:"block",marginBlockEnd:$n.anchorTitleBlock,color:$n.colorText,transition:`all ${$n.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${Cn}-link-title`]:{color:$n.colorPrimary},[`${Cn}-link`]:{paddingBlock:$n.anchorPaddingBlockSecondary}}}),[`&:not(${Cn}-wrapper-horizontal)`]:{[Cn]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${In}px ${Rn} ${Dn}`,content:'" "'},[`${Cn}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${Pn} ease-in-out`,width:In,backgroundColor:Nn,[`&${Cn}-ink-visible`]:{display:"inline-block"}}}},[`${Cn}-fixed ${Cn}-ink ${Cn}-ink`]:{display:"none"}}}},genSharedAnchorHorizontalStyle=$n=>{const{componentCls:Cn,motionDurationSlow:_n,lineWidthBold:Pn,colorPrimary:In}=$n;return{[`${Cn}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${$n.lineType} ${$n.colorSplit}`,content:'" "'},[Cn]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${Cn}-link:first-of-type`]:{paddingInline:0},[`${Cn}-ink`]:{position:"absolute",bottom:0,transition:`left ${_n} ease-in-out, width ${_n} ease-in-out`,height:Pn,backgroundColor:In}}}}},useStyle$X=genComponentStyleHook("Anchor",$n=>{const{fontSize:Cn,fontSizeLG:_n,padding:Pn,paddingXXS:In}=$n,Nn=merge$1($n,{holderOffsetBlock:In,anchorPaddingBlock:In,anchorPaddingBlockSecondary:In/2,anchorPaddingInline:Pn,anchorTitleBlock:Cn/14*3,anchorBallSize:_n/2});return[genSharedAnchorStyle(Nn),genSharedAnchorHorizontalStyle(Nn)]}),anchorLinkProps=()=>({prefixCls:String,href:String,title:anyType(),target:String,customTitleProps:objectType()}),AnchorLink=defineComponent({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:initDefaultProps(anchorLinkProps(),{href:"#"}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn,In=null;const{handleClick:Nn,scrollTo:Rn,unregisterLink:Dn,registerLink:Ln,activeLink:Fn}=useInjectAnchor(),{prefixCls:Bn}=useConfigInject("anchor",$n),Hn=zn=>{const{href:Wn}=$n;Nn(zn,{title:In,href:Wn}),Rn(Wn)};return watch(()=>$n.href,(zn,Wn)=>{nextTick(()=>{Dn(Wn),Ln(zn)})}),onMounted(()=>{Ln($n.href)}),onBeforeUnmount(()=>{Dn($n.href)}),()=>{var zn;const{href:Wn,target:Yn,title:Gn=_n.title,customTitleProps:Go={}}=$n,Xn=Bn.value;In=typeof Gn=="function"?Gn(Go):Gn;const Yo=Fn.value===Wn,qo=classNames(`${Xn}-link`,{[`${Xn}-link-active`]:Yo},Pn.class),Jo=classNames(`${Xn}-link-title`,{[`${Xn}-link-title-active`]:Yo});return createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:qo}),[createVNode("a",{class:Jo,href:Wn,title:typeof In=="string"?In:"",target:Yn,onClick:Hn},[_n.customTitle?_n.customTitle(Go):In]),(zn=_n.default)===null||zn===void 0?void 0:zn.call(_n)])}}});function e$1($n,Cn){for(var _n=0;_n<Cn.length;_n++){var Pn=Cn[_n];Pn.enumerable=Pn.enumerable||!1,Pn.configurable=!0,"value"in Pn&&(Pn.writable=!0),Object.defineProperty($n,Pn.key,Pn)}}function t$2($n,Cn,_n){return Cn&&e$1($n.prototype,Cn),_n&&e$1($n,_n),$n}function n$2(){return(n$2=Object.assign||function($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn];for(var Pn in _n)Object.prototype.hasOwnProperty.call(_n,Pn)&&($n[Pn]=_n[Pn])}return $n}).apply(this,arguments)}function r$2($n,Cn){$n.prototype=Object.create(Cn.prototype),$n.prototype.constructor=$n,$n.__proto__=Cn}function i$2($n,Cn){if($n==null)return{};var _n,Pn,In={},Nn=Object.keys($n);for(Pn=0;Pn<Nn.length;Pn++)Cn.indexOf(_n=Nn[Pn])>=0||(In[_n]=$n[_n]);return In}function o$2($n){return((Cn=$n)!=null&&typeof Cn=="object"&&Array.isArray(Cn)===!1)==1&&Object.prototype.toString.call($n)==="[object Object]";var Cn}var u$2=Object.prototype,a$2=u$2.toString,f$2=u$2.hasOwnProperty,c$2=/^\s*function (\w+)/;function l$2($n){var Cn,_n=(Cn=$n==null?void 0:$n.type)!==null&&Cn!==void 0?Cn:$n;if(_n){var Pn=_n.toString().match(c$2);return Pn?Pn[1]:""}return""}var s$2=function($n){var Cn,_n;return o$2($n)!==!1&&typeof(Cn=$n.constructor)=="function"&&o$2(_n=Cn.prototype)!==!1&&_n.hasOwnProperty("isPrototypeOf")!==!1},v$2=function($n){return $n},y$2=v$2,d$2=function($n,Cn){return f$2.call($n,Cn)},h$2=Number.isInteger||function($n){return typeof $n=="number"&&isFinite($n)&&Math.floor($n)===$n},b$2=Array.isArray||function($n){return a$2.call($n)==="[object Array]"},O$2=function($n){return a$2.call($n)==="[object Function]"},g$2=function($n){return s$2($n)&&d$2($n,"_vueTypes_name")},m$2=function($n){return s$2($n)&&(d$2($n,"type")||["_vueTypes_name","validator","default","required"].some(function(Cn){return d$2($n,Cn)}))};function j$2($n,Cn){return Object.defineProperty($n.bind(Cn),"__original",{value:$n})}function _$3($n,Cn,_n){var Pn;_n===void 0&&(_n=!1);var In=!0,Nn="";Pn=s$2($n)?$n:{type:$n};var Rn=g$2(Pn)?Pn._vueTypes_name+" - ":"";if(m$2(Pn)&&Pn.type!==null){if(Pn.type===void 0||Pn.type===!0||!Pn.required&&Cn===void 0)return In;b$2(Pn.type)?(In=Pn.type.some(function(Hn){return _$3(Hn,Cn,!0)===!0}),Nn=Pn.type.map(function(Hn){return l$2(Hn)}).join(" or ")):In=(Nn=l$2(Pn))==="Array"?b$2(Cn):Nn==="Object"?s$2(Cn):Nn==="String"||Nn==="Number"||Nn==="Boolean"||Nn==="Function"?function(Hn){if(Hn==null)return"";var zn=Hn.constructor.toString().match(c$2);return zn?zn[1]:""}(Cn)===Nn:Cn instanceof Pn.type}if(!In){var Dn=Rn+'value "'+Cn+'" should be of type "'+Nn+'"';return _n===!1?(y$2(Dn),!1):Dn}if(d$2(Pn,"validator")&&O$2(Pn.validator)){var Ln=y$2,Fn=[];if(y$2=function(Hn){Fn.push(Hn)},In=Pn.validator(Cn),y$2=Ln,!In){var Bn=(Fn.length>1?"* ":"")+Fn.join(`
-* `);return Fn.length=0,_n===!1?(y$2(Bn),In):Bn}}return In}function T$2($n,Cn){var _n=Object.defineProperties(Cn,{_vueTypes_name:{value:$n,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(In){return In!==void 0||this.default?O$2(In)||_$3(this,In,!0)===!0?(this.default=b$2(In)?function(){return[].concat(In)}:s$2(In)?function(){return Object.assign({},In)}:In,this):(y$2(this._vueTypes_name+' - invalid default value: "'+In+'"'),this):this}}}),Pn=_n.validator;return O$2(Pn)&&(_n.validator=j$2(Pn,_n)),_n}function w$2($n,Cn){var _n=T$2($n,Cn);return Object.defineProperty(_n,"validate",{value:function(Pn){return O$2(this.validator)&&y$2(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
-`+JSON.stringify(this)),this.validator=j$2(Pn,this),this}})}function k$1($n,Cn,_n){var Pn,In,Nn=(Pn=Cn,In={},Object.getOwnPropertyNames(Pn).forEach(function(Hn){In[Hn]=Object.getOwnPropertyDescriptor(Pn,Hn)}),Object.defineProperties({},In));if(Nn._vueTypes_name=$n,!s$2(_n))return Nn;var Rn,Dn,Ln=_n.validator,Fn=i$2(_n,["validator"]);if(O$2(Ln)){var Bn=Nn.validator;Bn&&(Bn=(Dn=(Rn=Bn).__original)!==null&&Dn!==void 0?Dn:Rn),Nn.validator=j$2(Bn?function(Hn){return Bn.call(this,Hn)&&Ln.call(this,Hn)}:Ln,Nn)}return Object.assign(Nn,Fn)}function P$2($n){return $n.replace(/^(?!\s*$)/gm," ")}var x$2=function(){return w$2("any",{})},A$2=function(){return w$2("function",{type:Function})},E$2=function(){return w$2("boolean",{type:Boolean})},N$2=function(){return w$2("string",{type:String})},q$2=function(){return w$2("number",{type:Number})},S$2=function(){return w$2("array",{type:Array})},V$3=function(){return w$2("object",{type:Object})},F$2=function(){return T$2("integer",{type:Number,validator:function($n){return h$2($n)}})},D$2=function(){return T$2("symbol",{validator:function($n){return typeof $n=="symbol"}})};function L$3($n,Cn){if(Cn===void 0&&(Cn="custom validation failed"),typeof $n!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return T$2($n.name||"<<anonymous function>>",{validator:function(_n){var Pn=$n(_n);return Pn||y$2(this._vueTypes_name+" - "+Cn),Pn}})}function Y$2($n){if(!b$2($n))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var Cn='oneOf - value should be one of "'+$n.join('", "')+'".',_n=$n.reduce(function(Pn,In){if(In!=null){var Nn=In.constructor;Pn.indexOf(Nn)===-1&&Pn.push(Nn)}return Pn},[]);return T$2("oneOf",{type:_n.length>0?_n:void 0,validator:function(Pn){var In=$n.indexOf(Pn)!==-1;return In||y$2(Cn),In}})}function B$3($n){if(!b$2($n))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var Cn=!1,_n=[],Pn=0;Pn<$n.length;Pn+=1){var In=$n[Pn];if(m$2(In)){if(g$2(In)&&In._vueTypes_name==="oneOf"){_n=_n.concat(In.type);continue}if(O$2(In.validator)&&(Cn=!0),In.type!==!0&&In.type){_n=_n.concat(In.type);continue}}_n.push(In)}return _n=_n.filter(function(Nn,Rn){return _n.indexOf(Nn)===Rn}),T$2("oneOfType",Cn?{type:_n,validator:function(Nn){var Rn=[],Dn=$n.some(function(Ln){var Fn=_$3(g$2(Ln)&&Ln._vueTypes_name==="oneOf"?Ln.type||null:Ln,Nn,!0);return typeof Fn=="string"&&Rn.push(Fn),Fn===!0});return Dn||y$2("oneOfType - provided value does not match any of the "+Rn.length+` passed-in validators:
-`+P$2(Rn.join(`
-`))),Dn}}:{type:_n})}function I$2($n){return T$2("arrayOf",{type:Array,validator:function(Cn){var _n,Pn=Cn.every(function(In){return(_n=_$3($n,In,!0))===!0});return Pn||y$2(`arrayOf - value validation error:
-`+P$2(_n)),Pn}})}function J$2($n){return T$2("instanceOf",{type:$n})}function M$2($n){return T$2("objectOf",{type:Object,validator:function(Cn){var _n,Pn=Object.keys(Cn).every(function(In){return(_n=_$3($n,Cn[In],!0))===!0});return Pn||y$2(`objectOf - value validation error:
-`+P$2(_n)),Pn}})}function R$2($n){var Cn=Object.keys($n),_n=Cn.filter(function(In){var Nn;return!!(!((Nn=$n[In])===null||Nn===void 0)&&Nn.required)}),Pn=T$2("shape",{type:Object,validator:function(In){var Nn=this;if(!s$2(In))return!1;var Rn=Object.keys(In);if(_n.length>0&&_n.some(function(Ln){return Rn.indexOf(Ln)===-1})){var Dn=_n.filter(function(Ln){return Rn.indexOf(Ln)===-1});return y$2(Dn.length===1?'shape - required property "'+Dn[0]+'" is not defined.':'shape - required properties "'+Dn.join('", "')+'" are not defined.'),!1}return Rn.every(function(Ln){if(Cn.indexOf(Ln)===-1)return Nn._vueTypes_isLoose===!0||(y$2('shape - shape definition does not include a "'+Ln+'" property. Allowed keys: "'+Cn.join('", "')+'".'),!1);var Fn=_$3($n[Ln],In[Ln],!0);return typeof Fn=="string"&&y$2('shape - "'+Ln+`" property validation error:
- `+P$2(Fn)),Fn===!0})}});return Object.defineProperty(Pn,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(Pn,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),Pn}var $$2=function(){function $n(){}return $n.extend=function(Cn){var _n=this;if(b$2(Cn))return Cn.forEach(function(Hn){return _n.extend(Hn)}),this;var Pn=Cn.name,In=Cn.validate,Nn=In!==void 0&&In,Rn=Cn.getter,Dn=Rn!==void 0&&Rn,Ln=i$2(Cn,["name","validate","getter"]);if(d$2(this,Pn))throw new TypeError('[VueTypes error]: Type "'+Pn+'" already defined');var Fn,Bn=Ln.type;return g$2(Bn)?(delete Ln.type,Object.defineProperty(this,Pn,Dn?{get:function(){return k$1(Pn,Bn,Ln)}}:{value:function(){var Hn,zn=k$1(Pn,Bn,Ln);return zn.validator&&(zn.validator=(Hn=zn.validator).bind.apply(Hn,[zn].concat([].slice.call(arguments)))),zn}})):(Fn=Dn?{get:function(){var Hn=Object.assign({},Ln);return Nn?w$2(Pn,Hn):T$2(Pn,Hn)},enumerable:!0}:{value:function(){var Hn,zn,Wn=Object.assign({},Ln);return Hn=Nn?w$2(Pn,Wn):T$2(Pn,Wn),Wn.validator&&(Hn.validator=(zn=Wn.validator).bind.apply(zn,[Hn].concat([].slice.call(arguments)))),Hn},enumerable:!0},Object.defineProperty(this,Pn,Fn))},t$2($n,null,[{key:"any",get:function(){return x$2()}},{key:"func",get:function(){return A$2().def(this.defaults.func)}},{key:"bool",get:function(){return E$2().def(this.defaults.bool)}},{key:"string",get:function(){return N$2().def(this.defaults.string)}},{key:"number",get:function(){return q$2().def(this.defaults.number)}},{key:"array",get:function(){return S$2().def(this.defaults.array)}},{key:"object",get:function(){return V$3().def(this.defaults.object)}},{key:"integer",get:function(){return F$2().def(this.defaults.integer)}},{key:"symbol",get:function(){return D$2()}}]),$n}();function z$2($n){var Cn;return $n===void 0&&($n={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(Cn=function(_n){function Pn(){return _n.apply(this,arguments)||this}return r$2(Pn,_n),t$2(Pn,null,[{key:"sensibleDefaults",get:function(){return n$2({},this.defaults)},set:function(In){this.defaults=In!==!1?n$2({},In!==!0?In:$n):{}}}]),Pn}($$2)).defaults=n$2({},$n),Cn}$$2.defaults={},$$2.custom=L$3,$$2.oneOf=Y$2,$$2.instanceOf=J$2,$$2.oneOfType=B$3,$$2.arrayOf=I$2,$$2.objectOf=M$2,$$2.shape=R$2,$$2.utils={validate:function($n,Cn){return _$3(Cn,$n,!0)===!0},toType:function($n,Cn,_n){return _n===void 0&&(_n=!1),_n?w$2($n,Cn):T$2($n,Cn)}};(function($n){function Cn(){return $n.apply(this,arguments)||this}return r$2(Cn,$n),Cn})(z$2());const PropTypes=z$2({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});PropTypes.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function withUndefined($n){return $n.default=void 0,$n}const devWarning=($n,Cn,_n)=>{warningOnce($n,`[ant-design-vue: ${Cn}] ${_n}`)};function getDefaultContainer(){return window}function getOffsetTop($n,Cn){if(!$n.getClientRects().length)return 0;const _n=$n.getBoundingClientRect();return _n.width||_n.height?Cn===window?(Cn=$n.ownerDocument.documentElement,_n.top-Cn.clientTop):_n.top-Cn.getBoundingClientRect().top:_n.top}const sharpMatcherRegx=/#([\S ]+)$/,anchorProps=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:arrayType(),direction:PropTypes.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),Anchor=defineComponent({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:anchorProps(),setup($n,Cn){let{emit:_n,attrs:Pn,slots:In,expose:Nn}=Cn;const{prefixCls:Rn,getTargetContainer:Dn,direction:Ln}=useConfigInject("anchor",$n),Fn=computed(()=>{var nr;return(nr=$n.direction)!==null&&nr!==void 0?nr:"vertical"}),Bn=ref(null),Hn=ref(),zn=reactive({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),Wn=ref(null),Yn=computed(()=>{const{getContainer:nr}=$n;return nr||(Dn==null?void 0:Dn.value)||getDefaultContainer}),Gn=function(){let nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ta=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const oa=[],ra=Yn.value();return zn.links.forEach(ea=>{const la=sharpMatcherRegx.exec(ea.toString());if(!la)return;const ua=document.getElementById(la[1]);if(ua){const ga=getOffsetTop(ua,ra);ga<nr+ta&&oa.push({link:ea,top:ga})}}),oa.length?oa.reduce((la,ua)=>ua.top>la.top?ua:la).link:""},Go=nr=>{const{getCurrentAnchor:ta}=$n;Wn.value!==nr&&(Wn.value=typeof ta=="function"?ta(nr):nr,_n("change",nr))},Xn=nr=>{const{offsetTop:ta,targetOffset:oa}=$n;Go(nr);const ra=sharpMatcherRegx.exec(nr);if(!ra)return;const ea=document.getElementById(ra[1]);if(!ea)return;const la=Yn.value(),ua=getScroll$3(la,!0),ga=getOffsetTop(ea,la);let aa=ua+ga;aa-=oa!==void 0?oa:ta||0,zn.animating=!0,scrollTo$1(aa,{callback:()=>{zn.animating=!1},getContainer:Yn.value})};Nn({scrollTo:Xn});const Yo=()=>{if(zn.animating)return;const{offsetTop:nr,bounds:ta,targetOffset:oa}=$n,ra=Gn(oa!==void 0?oa:nr||0,ta);Go(ra)},qo=()=>{const nr=Hn.value.querySelector(`.${Rn.value}-link-title-active`);if(nr&&Bn.value){const ta=Fn.value==="horizontal";Bn.value.style.top=ta?"":`${nr.offsetTop+nr.clientHeight/2}px`,Bn.value.style.height=ta?"":`${nr.clientHeight}px`,Bn.value.style.left=ta?`${nr.offsetLeft}px`:"",Bn.value.style.width=ta?`${nr.clientWidth}px`:"",ta&&scrollIntoView(nr,{scrollMode:"if-needed",block:"nearest"})}};useProvideAnchor({registerLink:nr=>{zn.links.includes(nr)||zn.links.push(nr)},unregisterLink:nr=>{const ta=zn.links.indexOf(nr);ta!==-1&&zn.links.splice(ta,1)},activeLink:Wn,scrollTo:Xn,handleClick:(nr,ta)=>{_n("click",nr,ta)},direction:Fn}),onMounted(()=>{nextTick(()=>{const nr=Yn.value();zn.scrollContainer=nr,zn.scrollEvent=addEventListenerWrap(zn.scrollContainer,"scroll",Yo),Yo()})}),onBeforeUnmount(()=>{zn.scrollEvent&&zn.scrollEvent.remove()}),onUpdated(()=>{if(zn.scrollEvent){const nr=Yn.value();zn.scrollContainer!==nr&&(zn.scrollContainer=nr,zn.scrollEvent.remove(),zn.scrollEvent=addEventListenerWrap(zn.scrollContainer,"scroll",Yo),Yo())}qo()});const Jo=nr=>Array.isArray(nr)?nr.map(ta=>{const{children:oa,key:ra,href:ea,target:la,class:ua,style:ga,title:aa}=ta;return createVNode(AnchorLink,{key:ra,href:ea,target:la,class:ua,style:ga,title:aa,customTitleProps:ta},{default:()=>[Fn.value==="vertical"?Jo(oa):null],customTitle:In.customTitle})}):null,[Zo,rr]=useStyle$X(Rn);return()=>{var nr;const{offsetTop:ta,affix:oa,showInkInFixed:ra}=$n,ea=Rn.value,la=classNames(`${ea}-ink`,{[`${ea}-ink-visible`]:Wn.value}),ua=classNames(rr.value,$n.wrapperClass,`${ea}-wrapper`,{[`${ea}-wrapper-horizontal`]:Fn.value==="horizontal",[`${ea}-rtl`]:Ln.value==="rtl"}),ga=classNames(ea,{[`${ea}-fixed`]:!oa&&!ra}),aa=_extends$1({maxHeight:ta?`calc(100vh - ${ta}px)`:"100vh"},$n.wrapperStyle),ca=createVNode("div",{class:ua,style:aa,ref:Hn},[createVNode("div",{class:ga},[createVNode("span",{class:la,ref:Bn},null),Array.isArray($n.items)?Jo($n.items):(nr=In.default)===null||nr===void 0?void 0:nr.call(In)])]);return Zo(oa?createVNode(Affix$1,_objectSpread2$1(_objectSpread2$1({},Pn),{},{offsetTop:ta,target:Yn.value}),{default:()=>[ca]}):ca)}}});Anchor.Link=AnchorLink;Anchor.install=function($n){return $n.component(Anchor.name,Anchor),$n.component(Anchor.Link.name,Anchor.Link),$n};function getKey$2($n,Cn){const{key:_n}=$n;let Pn;return"value"in $n&&({value:Pn}=$n),_n??(Pn!==void 0?Pn:`rc-index-key-${Cn}`)}function fillFieldNames$3($n,Cn){const{label:_n,value:Pn,options:In}=$n||{};return{label:_n||(Cn?"children":"label"),value:Pn||"value",options:In||"options"}}function flattenOptions($n){let{fieldNames:Cn,childrenAsData:_n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Pn=[],{label:In,value:Nn,options:Rn}=fillFieldNames$3(Cn,!1);function Dn(Ln,Fn){Ln.forEach(Bn=>{const Hn=Bn[In];if(Fn||!(Rn in Bn)){const zn=Bn[Nn];Pn.push({key:getKey$2(Bn,Pn.length),groupOption:Fn,data:Bn,label:Hn,value:zn})}else{let zn=Hn;zn===void 0&&_n&&(zn=Bn.label),Pn.push({key:getKey$2(Bn,Pn.length),group:!0,data:Bn,label:zn}),Dn(Bn[Rn],!0)}})}return Dn($n,!1),Pn}function injectPropsWithOption($n){const Cn=_extends$1({},$n);return"props"in Cn||Object.defineProperty(Cn,"props",{get(){return Cn}}),Cn}function getSeparatedContent($n,Cn){if(!Cn||!Cn.length)return null;let _n=!1;function Pn(Nn,Rn){let[Dn,...Ln]=Rn;if(!Dn)return[Nn];const Fn=Nn.split(Dn);return _n=_n||Fn.length>1,Fn.reduce((Bn,Hn)=>[...Bn,...Pn(Hn,Ln)],[]).filter(Bn=>Bn)}const In=Pn($n,Cn);return _n?In:null}function returnEmptyString(){return""}function returnDocument($n){return $n?$n.ownerDocument:window.document}function noop$d(){}const triggerProps=()=>({action:PropTypes.oneOfType([PropTypes.string,PropTypes.arrayOf(PropTypes.string)]).def([]),showAction:PropTypes.any.def([]),hideAction:PropTypes.any.def([]),getPopupClassNameFromAlign:PropTypes.any.def(returnEmptyString),onPopupVisibleChange:Function,afterPopupVisibleChange:PropTypes.func.def(noop$d),popup:PropTypes.any,popupStyle:{type:Object,default:void 0},prefixCls:PropTypes.string.def("rc-trigger-popup"),popupClassName:PropTypes.string.def(""),popupPlacement:String,builtinPlacements:PropTypes.object,popupTransitionName:String,popupAnimation:PropTypes.any,mouseEnterDelay:PropTypes.number.def(0),mouseLeaveDelay:PropTypes.number.def(.1),zIndex:Number,focusDelay:PropTypes.number.def(0),blurDelay:PropTypes.number.def(.15),getPopupContainer:Function,getDocument:PropTypes.func.def(returnDocument),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:PropTypes.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),innerProps={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},mobileProps=_extends$1(_extends$1({},innerProps),{mobile:{type:Object}}),popupProps=_extends$1(_extends$1({},innerProps),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function getMotion$1($n){let{prefixCls:Cn,animation:_n,transitionName:Pn}=$n;return _n?{name:`${Cn}-${_n}`}:Pn?{name:Pn}:{}}function Mask$3($n){const{prefixCls:Cn,visible:_n,zIndex:Pn,mask:In,maskAnimation:Nn,maskTransitionName:Rn}=$n;if(!In)return null;let Dn={};return(Rn||Nn)&&(Dn=getMotion$1({prefixCls:Cn,transitionName:Rn,animation:Nn})),createVNode(Transition,_objectSpread2$1({appear:!0},Dn),{default:()=>[withDirectives(createVNode("div",{style:{zIndex:Pn},class:`${Cn}-mask`},null),[[resolveDirective("if"),_n]])]})}Mask$3.displayName="Mask";const MobilePopupInner=defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:mobileProps,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup($n,Cn){let{expose:_n,slots:Pn}=Cn;const In=ref();return _n({forceAlign:()=>{},getElement:()=>In.value}),()=>{var Nn;const{zIndex:Rn,visible:Dn,prefixCls:Ln,mobile:{popupClassName:Fn,popupStyle:Bn,popupMotion:Hn={},popupRender:zn}={}}=$n,Wn=_extends$1({zIndex:Rn},Bn);let Yn=flattenChildren((Nn=Pn.default)===null||Nn===void 0?void 0:Nn.call(Pn));Yn.length>1&&(Yn=createVNode("div",{class:`${Ln}-content`},[Yn])),zn&&(Yn=zn(Yn));const Gn=classNames(Ln,Fn);return createVNode(Transition,_objectSpread2$1({ref:In},Hn),{default:()=>[Dn?createVNode("div",{class:Gn,style:Wn},[Yn]):null]})}}});var __awaiter$3=function($n,Cn,_n,Pn){function In(Nn){return Nn instanceof _n?Nn:new _n(function(Rn){Rn(Nn)})}return new(_n||(_n=Promise))(function(Nn,Rn){function Dn(Bn){try{Fn(Pn.next(Bn))}catch(Hn){Rn(Hn)}}function Ln(Bn){try{Fn(Pn.throw(Bn))}catch(Hn){Rn(Hn)}}function Fn(Bn){Bn.done?Nn(Bn.value):In(Bn.value).then(Dn,Ln)}Fn((Pn=Pn.apply($n,Cn||[])).next())})};const StatusQueue=["measure","align",null,"motion"],useVisibleStatus=($n,Cn)=>{const _n=shallowRef(null),Pn=shallowRef(),In=shallowRef(!1);function Nn(Ln){In.value||(_n.value=Ln)}function Rn(){wrapperRaf.cancel(Pn.value)}function Dn(Ln){Rn(),Pn.value=wrapperRaf(()=>{let Fn=_n.value;switch(_n.value){case"align":Fn="motion";break;case"motion":Fn="stable";break}Nn(Fn),Ln==null||Ln()})}return watch($n,()=>{Nn("measure")},{immediate:!0,flush:"post"}),onMounted(()=>{watch(_n,()=>{switch(_n.value){case"measure":Cn();break}_n.value&&(Pn.value=wrapperRaf(()=>__awaiter$3(void 0,void 0,void 0,function*(){const Ln=StatusQueue.indexOf(_n.value),Fn=StatusQueue[Ln+1];Fn&&Ln!==-1&&Nn(Fn)})))},{immediate:!0,flush:"post"})}),onBeforeUnmount(()=>{In.value=!0,Rn()}),[_n,Dn]},useStretchStyle=$n=>{const Cn=shallowRef({width:0,height:0});function _n(In){Cn.value={width:In.offsetWidth,height:In.offsetHeight}}return[computed(()=>{const In={};if($n.value){const{width:Nn,height:Rn}=Cn.value;$n.value.indexOf("height")!==-1&&Rn?In.height=`${Rn}px`:$n.value.indexOf("minHeight")!==-1&&Rn&&(In.minHeight=`${Rn}px`),$n.value.indexOf("width")!==-1&&Nn?In.width=`${Nn}px`:$n.value.indexOf("minWidth")!==-1&&Nn&&(In.minWidth=`${Nn}px`)}return In}),_n]};function ownKeys($n,Cn){var _n=Object.keys($n);if(Object.getOwnPropertySymbols){var Pn=Object.getOwnPropertySymbols($n);Cn&&(Pn=Pn.filter(function(In){return Object.getOwnPropertyDescriptor($n,In).enumerable})),_n.push.apply(_n,Pn)}return _n}function _objectSpread2($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?arguments[Cn]:{};Cn%2?ownKeys(Object(_n),!0).forEach(function(Pn){_defineProperty$X($n,Pn,_n[Pn])}):Object.getOwnPropertyDescriptors?Object.defineProperties($n,Object.getOwnPropertyDescriptors(_n)):ownKeys(Object(_n)).forEach(function(Pn){Object.defineProperty($n,Pn,Object.getOwnPropertyDescriptor(_n,Pn))})}return $n}function _typeof$1($n){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Cn){return typeof Cn}:function(Cn){return Cn&&typeof Symbol=="function"&&Cn.constructor===Symbol&&Cn!==Symbol.prototype?"symbol":typeof Cn},_typeof$1($n)}function _defineProperty$X($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var vendorPrefix,jsCssMap={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function getVendorPrefix(){if(vendorPrefix!==void 0)return vendorPrefix;vendorPrefix="";var $n=document.createElement("p").style,Cn="Transform";for(var _n in jsCssMap)_n+Cn in $n&&(vendorPrefix=_n);return vendorPrefix}function getTransitionName$2(){return getVendorPrefix()?"".concat(getVendorPrefix(),"TransitionProperty"):"transitionProperty"}function getTransformName(){return getVendorPrefix()?"".concat(getVendorPrefix(),"Transform"):"transform"}function setTransitionProperty($n,Cn){var _n=getTransitionName$2();_n&&($n.style[_n]=Cn,_n!=="transitionProperty"&&($n.style.transitionProperty=Cn))}function setTransform($n,Cn){var _n=getTransformName();_n&&($n.style[_n]=Cn,_n!=="transform"&&($n.style.transform=Cn))}function getTransitionProperty($n){return $n.style.transitionProperty||$n.style[getTransitionName$2()]}function getTransformXY($n){var Cn=window.getComputedStyle($n,null),_n=Cn.getPropertyValue("transform")||Cn.getPropertyValue(getTransformName());if(_n&&_n!=="none"){var Pn=_n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(Pn[12]||Pn[4],0),y:parseFloat(Pn[13]||Pn[5],0)}}return{x:0,y:0}}var matrix2d=/matrix\((.*)\)/,matrix3d=/matrix3d\((.*)\)/;function setTransformXY($n,Cn){var _n=window.getComputedStyle($n,null),Pn=_n.getPropertyValue("transform")||_n.getPropertyValue(getTransformName());if(Pn&&Pn!=="none"){var In,Nn=Pn.match(matrix2d);if(Nn)Nn=Nn[1],In=Nn.split(",").map(function(Dn){return parseFloat(Dn,10)}),In[4]=Cn.x,In[5]=Cn.y,setTransform($n,"matrix(".concat(In.join(","),")"));else{var Rn=Pn.match(matrix3d)[1];In=Rn.split(",").map(function(Dn){return parseFloat(Dn,10)}),In[12]=Cn.x,In[13]=Cn.y,setTransform($n,"matrix3d(".concat(In.join(","),")"))}}else setTransform($n,"translateX(".concat(Cn.x,"px) translateY(").concat(Cn.y,"px) translateZ(0)"))}var RE_NUM=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,getComputedStyleX;function forceRelayout($n){var Cn=$n.style.display;$n.style.display="none",$n.offsetHeight,$n.style.display=Cn}function css($n,Cn,_n){var Pn=_n;if(_typeof$1(Cn)==="object"){for(var In in Cn)Cn.hasOwnProperty(In)&&css($n,In,Cn[In]);return}if(typeof Pn<"u"){typeof Pn=="number"&&(Pn="".concat(Pn,"px")),$n.style[Cn]=Pn;return}return getComputedStyleX($n,Cn)}function getClientPosition$1($n){var Cn,_n,Pn,In=$n.ownerDocument,Nn=In.body,Rn=In&&In.documentElement;return Cn=$n.getBoundingClientRect(),_n=Math.floor(Cn.left),Pn=Math.floor(Cn.top),_n-=Rn.clientLeft||Nn.clientLeft||0,Pn-=Rn.clientTop||Nn.clientTop||0,{left:_n,top:Pn}}function getScroll$2($n,Cn){var _n=$n["page".concat(Cn?"Y":"X","Offset")],Pn="scroll".concat(Cn?"Top":"Left");if(typeof _n!="number"){var In=$n.document;_n=In.documentElement[Pn],typeof _n!="number"&&(_n=In.body[Pn])}return _n}function getScrollLeft($n){return getScroll$2($n)}function getScrollTop($n){return getScroll$2($n,!0)}function getOffset$3($n){var Cn=getClientPosition$1($n),_n=$n.ownerDocument,Pn=_n.defaultView||_n.parentWindow;return Cn.left+=getScrollLeft(Pn),Cn.top+=getScrollTop(Pn),Cn}function isWindow($n){return $n!=null&&$n==$n.window}function getDocument($n){return isWindow($n)?$n.document:$n.nodeType===9?$n:$n.ownerDocument}function _getComputedStyle($n,Cn,_n){var Pn=_n,In="",Nn=getDocument($n);return Pn=Pn||Nn.defaultView.getComputedStyle($n,null),Pn&&(In=Pn.getPropertyValue(Cn)||Pn[Cn]),In}var _RE_NUM_NO_PX=new RegExp("^(".concat(RE_NUM,")(?!px)[a-z%]+$"),"i"),RE_POS=/^(top|right|bottom|left)$/,CURRENT_STYLE="currentStyle",RUNTIME_STYLE="runtimeStyle",LEFT="left",PX="px";function _getComputedStyleIE($n,Cn){var _n=$n[CURRENT_STYLE]&&$n[CURRENT_STYLE][Cn];if(_RE_NUM_NO_PX.test(_n)&&!RE_POS.test(Cn)){var Pn=$n.style,In=Pn[LEFT],Nn=$n[RUNTIME_STYLE][LEFT];$n[RUNTIME_STYLE][LEFT]=$n[CURRENT_STYLE][LEFT],Pn[LEFT]=Cn==="fontSize"?"1em":_n||0,_n=Pn.pixelLeft+PX,Pn[LEFT]=In,$n[RUNTIME_STYLE][LEFT]=Nn}return _n===""?"auto":_n}typeof window<"u"&&(getComputedStyleX=window.getComputedStyle?_getComputedStyle:_getComputedStyleIE);function getOffsetDirection($n,Cn){return $n==="left"?Cn.useCssRight?"right":$n:Cn.useCssBottom?"bottom":$n}function oppositeOffsetDirection($n){if($n==="left")return"right";if($n==="right")return"left";if($n==="top")return"bottom";if($n==="bottom")return"top"}function setLeftTop($n,Cn,_n){css($n,"position")==="static"&&($n.style.position="relative");var Pn=-999,In=-999,Nn=getOffsetDirection("left",_n),Rn=getOffsetDirection("top",_n),Dn=oppositeOffsetDirection(Nn),Ln=oppositeOffsetDirection(Rn);Nn!=="left"&&(Pn=999),Rn!=="top"&&(In=999);var Fn="",Bn=getOffset$3($n);("left"in Cn||"top"in Cn)&&(Fn=getTransitionProperty($n)||"",setTransitionProperty($n,"none")),"left"in Cn&&($n.style[Dn]="",$n.style[Nn]="".concat(Pn,"px")),"top"in Cn&&($n.style[Ln]="",$n.style[Rn]="".concat(In,"px")),forceRelayout($n);var Hn=getOffset$3($n),zn={};for(var Wn in Cn)if(Cn.hasOwnProperty(Wn)){var Yn=getOffsetDirection(Wn,_n),Gn=Wn==="left"?Pn:In,Go=Bn[Wn]-Hn[Wn];Yn===Wn?zn[Yn]=Gn+Go:zn[Yn]=Gn-Go}css($n,zn),forceRelayout($n),("left"in Cn||"top"in Cn)&&setTransitionProperty($n,Fn);var Xn={};for(var Yo in Cn)if(Cn.hasOwnProperty(Yo)){var qo=getOffsetDirection(Yo,_n),Jo=Cn[Yo]-Bn[Yo];Yo===qo?Xn[qo]=zn[qo]+Jo:Xn[qo]=zn[qo]-Jo}css($n,Xn)}function setTransform$1($n,Cn){var _n=getOffset$3($n),Pn=getTransformXY($n),In={x:Pn.x,y:Pn.y};"left"in Cn&&(In.x=Pn.x+Cn.left-_n.left),"top"in Cn&&(In.y=Pn.y+Cn.top-_n.top),setTransformXY($n,In)}function setOffset($n,Cn,_n){if(_n.ignoreShake){var Pn=getOffset$3($n),In=Pn.left.toFixed(0),Nn=Pn.top.toFixed(0),Rn=Cn.left.toFixed(0),Dn=Cn.top.toFixed(0);if(In===Rn&&Nn===Dn)return}_n.useCssRight||_n.useCssBottom?setLeftTop($n,Cn,_n):_n.useCssTransform&&getTransformName()in document.body.style?setTransform$1($n,Cn):setLeftTop($n,Cn,_n)}function each($n,Cn){for(var _n=0;_n<$n.length;_n++)Cn($n[_n])}function isBorderBoxFn($n){return getComputedStyleX($n,"boxSizing")==="border-box"}var BOX_MODELS=["margin","border","padding"],CONTENT_INDEX=-1,PADDING_INDEX=2,BORDER_INDEX=1,MARGIN_INDEX=0;function swap($n,Cn,_n){var Pn={},In=$n.style,Nn;for(Nn in Cn)Cn.hasOwnProperty(Nn)&&(Pn[Nn]=In[Nn],In[Nn]=Cn[Nn]);_n.call($n);for(Nn in Cn)Cn.hasOwnProperty(Nn)&&(In[Nn]=Pn[Nn])}function getPBMWidth($n,Cn,_n){var Pn=0,In,Nn,Rn;for(Nn=0;Nn<Cn.length;Nn++)if(In=Cn[Nn],In)for(Rn=0;Rn<_n.length;Rn++){var Dn=void 0;In==="border"?Dn="".concat(In).concat(_n[Rn],"Width"):Dn=In+_n[Rn],Pn+=parseFloat(getComputedStyleX($n,Dn))||0}return Pn}var domUtils={getParent:function(Cn){var _n=Cn;do _n.nodeType===11&&_n.host?_n=_n.host:_n=_n.parentNode;while(_n&&_n.nodeType!==1&&_n.nodeType!==9);return _n}};each(["Width","Height"],function($n){domUtils["doc".concat($n)]=function(Cn){var _n=Cn.document;return Math.max(_n.documentElement["scroll".concat($n)],_n.body["scroll".concat($n)],domUtils["viewport".concat($n)](_n))},domUtils["viewport".concat($n)]=function(Cn){var _n="client".concat($n),Pn=Cn.document,In=Pn.body,Nn=Pn.documentElement,Rn=Nn[_n];return Pn.compatMode==="CSS1Compat"&&Rn||In&&In[_n]||Rn}});function getWH($n,Cn,_n){var Pn=_n;if(isWindow($n))return Cn==="width"?domUtils.viewportWidth($n):domUtils.viewportHeight($n);if($n.nodeType===9)return Cn==="width"?domUtils.docWidth($n):domUtils.docHeight($n);var In=Cn==="width"?["Left","Right"]:["Top","Bottom"],Nn=Math.floor(Cn==="width"?$n.getBoundingClientRect().width:$n.getBoundingClientRect().height),Rn=isBorderBoxFn($n),Dn=0;(Nn==null||Nn<=0)&&(Nn=void 0,Dn=getComputedStyleX($n,Cn),(Dn==null||Number(Dn)<0)&&(Dn=$n.style[Cn]||0),Dn=Math.floor(parseFloat(Dn))||0),Pn===void 0&&(Pn=Rn?BORDER_INDEX:CONTENT_INDEX);var Ln=Nn!==void 0||Rn,Fn=Nn||Dn;return Pn===CONTENT_INDEX?Ln?Fn-getPBMWidth($n,["border","padding"],In):Dn:Ln?Pn===BORDER_INDEX?Fn:Fn+(Pn===PADDING_INDEX?-getPBMWidth($n,["border"],In):getPBMWidth($n,["margin"],In)):Dn+getPBMWidth($n,BOX_MODELS.slice(Pn),In)}var cssShow={position:"absolute",visibility:"hidden",display:"block"};function getWHIgnoreDisplay(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];var Pn,In=Cn[0];return In.offsetWidth!==0?Pn=getWH.apply(void 0,Cn):swap(In,cssShow,function(){Pn=getWH.apply(void 0,Cn)}),Pn}each(["width","height"],function($n){var Cn=$n.charAt(0).toUpperCase()+$n.slice(1);domUtils["outer".concat(Cn)]=function(Pn,In){return Pn&&getWHIgnoreDisplay(Pn,$n,In?MARGIN_INDEX:BORDER_INDEX)};var _n=$n==="width"?["Left","Right"]:["Top","Bottom"];domUtils[$n]=function(Pn,In){var Nn=In;if(Nn!==void 0){if(Pn){var Rn=isBorderBoxFn(Pn);return Rn&&(Nn+=getPBMWidth(Pn,["padding","border"],_n)),css(Pn,$n,Nn)}return}return Pn&&getWHIgnoreDisplay(Pn,$n,CONTENT_INDEX)}});function mix($n,Cn){for(var _n in Cn)Cn.hasOwnProperty(_n)&&($n[_n]=Cn[_n]);return $n}var utils={getWindow:function(Cn){if(Cn&&Cn.document&&Cn.setTimeout)return Cn;var _n=Cn.ownerDocument||Cn;return _n.defaultView||_n.parentWindow},getDocument,offset:function(Cn,_n,Pn){if(typeof _n<"u")setOffset(Cn,_n,Pn||{});else return getOffset$3(Cn)},isWindow,each,css,clone:function(Cn){var _n,Pn={};for(_n in Cn)Cn.hasOwnProperty(_n)&&(Pn[_n]=Cn[_n]);var In=Cn.overflow;if(In)for(_n in Cn)Cn.hasOwnProperty(_n)&&(Pn.overflow[_n]=Cn.overflow[_n]);return Pn},mix,getWindowScrollLeft:function(Cn){return getScrollLeft(Cn)},getWindowScrollTop:function(Cn){return getScrollTop(Cn)},merge:function(){for(var Cn={},_n=0;_n<arguments.length;_n++)utils.mix(Cn,_n<0||arguments.length<=_n?void 0:arguments[_n]);return Cn},viewportWidth:0,viewportHeight:0};mix(utils,domUtils);var getParent$1=utils.getParent;function getOffsetParent$1($n){if(utils.isWindow($n)||$n.nodeType===9)return null;var Cn=utils.getDocument($n),_n=Cn.body,Pn,In=utils.css($n,"position"),Nn=In==="fixed"||In==="absolute";if(!Nn)return $n.nodeName.toLowerCase()==="html"?null:getParent$1($n);for(Pn=getParent$1($n);Pn&&Pn!==_n&&Pn.nodeType!==9;Pn=getParent$1(Pn))if(In=utils.css(Pn,"position"),In!=="static")return Pn;return null}var getParent$1$1=utils.getParent;function isAncestorFixed($n){if(utils.isWindow($n)||$n.nodeType===9)return!1;var Cn=utils.getDocument($n),_n=Cn.body,Pn=null;for(Pn=getParent$1$1($n);Pn&&Pn!==_n&&Pn!==Cn;Pn=getParent$1$1(Pn)){var In=utils.css(Pn,"position");if(In==="fixed")return!0}return!1}function getVisibleRectForElement($n,Cn){for(var _n={left:0,right:1/0,top:0,bottom:1/0},Pn=getOffsetParent$1($n),In=utils.getDocument($n),Nn=In.defaultView||In.parentWindow,Rn=In.body,Dn=In.documentElement;Pn;){if((navigator.userAgent.indexOf("MSIE")===-1||Pn.clientWidth!==0)&&Pn!==Rn&&Pn!==Dn&&utils.css(Pn,"overflow")!=="visible"){var Ln=utils.offset(Pn);Ln.left+=Pn.clientLeft,Ln.top+=Pn.clientTop,_n.top=Math.max(_n.top,Ln.top),_n.right=Math.min(_n.right,Ln.left+Pn.clientWidth),_n.bottom=Math.min(_n.bottom,Ln.top+Pn.clientHeight),_n.left=Math.max(_n.left,Ln.left)}else if(Pn===Rn||Pn===Dn)break;Pn=getOffsetParent$1(Pn)}var Fn=null;if(!utils.isWindow($n)&&$n.nodeType!==9){Fn=$n.style.position;var Bn=utils.css($n,"position");Bn==="absolute"&&($n.style.position="fixed")}var Hn=utils.getWindowScrollLeft(Nn),zn=utils.getWindowScrollTop(Nn),Wn=utils.viewportWidth(Nn),Yn=utils.viewportHeight(Nn),Gn=Dn.scrollWidth,Go=Dn.scrollHeight,Xn=window.getComputedStyle(Rn);if(Xn.overflowX==="hidden"&&(Gn=Nn.innerWidth),Xn.overflowY==="hidden"&&(Go=Nn.innerHeight),$n.style&&($n.style.position=Fn),Cn||isAncestorFixed($n))_n.left=Math.max(_n.left,Hn),_n.top=Math.max(_n.top,zn),_n.right=Math.min(_n.right,Hn+Wn),_n.bottom=Math.min(_n.bottom,zn+Yn);else{var Yo=Math.max(Gn,Hn+Wn);_n.right=Math.min(_n.right,Yo);var qo=Math.max(Go,zn+Yn);_n.bottom=Math.min(_n.bottom,qo)}return _n.top>=0&&_n.left>=0&&_n.bottom>_n.top&&_n.right>_n.left?_n:null}function adjustForViewport($n,Cn,_n,Pn){var In=utils.clone($n),Nn={width:Cn.width,height:Cn.height};return Pn.adjustX&&In.left<_n.left&&(In.left=_n.left),Pn.resizeWidth&&In.left>=_n.left&&In.left+Nn.width>_n.right&&(Nn.width-=In.left+Nn.width-_n.right),Pn.adjustX&&In.left+Nn.width>_n.right&&(In.left=Math.max(_n.right-Nn.width,_n.left)),Pn.adjustY&&In.top<_n.top&&(In.top=_n.top),Pn.resizeHeight&&In.top>=_n.top&&In.top+Nn.height>_n.bottom&&(Nn.height-=In.top+Nn.height-_n.bottom),Pn.adjustY&&In.top+Nn.height>_n.bottom&&(In.top=Math.max(_n.bottom-Nn.height,_n.top)),utils.mix(In,Nn)}function getRegion($n){var Cn,_n,Pn;if(!utils.isWindow($n)&&$n.nodeType!==9)Cn=utils.offset($n),_n=utils.outerWidth($n),Pn=utils.outerHeight($n);else{var In=utils.getWindow($n);Cn={left:utils.getWindowScrollLeft(In),top:utils.getWindowScrollTop(In)},_n=utils.viewportWidth(In),Pn=utils.viewportHeight(In)}return Cn.width=_n,Cn.height=Pn,Cn}function getAlignOffset($n,Cn){var _n=Cn.charAt(0),Pn=Cn.charAt(1),In=$n.width,Nn=$n.height,Rn=$n.left,Dn=$n.top;return _n==="c"?Dn+=Nn/2:_n==="b"&&(Dn+=Nn),Pn==="c"?Rn+=In/2:Pn==="r"&&(Rn+=In),{left:Rn,top:Dn}}function getElFuturePos($n,Cn,_n,Pn,In){var Nn=getAlignOffset(Cn,_n[1]),Rn=getAlignOffset($n,_n[0]),Dn=[Rn.left-Nn.left,Rn.top-Nn.top];return{left:Math.round($n.left-Dn[0]+Pn[0]-In[0]),top:Math.round($n.top-Dn[1]+Pn[1]-In[1])}}function isFailX($n,Cn,_n){return $n.left<_n.left||$n.left+Cn.width>_n.right}function isFailY($n,Cn,_n){return $n.top<_n.top||$n.top+Cn.height>_n.bottom}function isCompleteFailX($n,Cn,_n){return $n.left>_n.right||$n.left+Cn.width<_n.left}function isCompleteFailY($n,Cn,_n){return $n.top>_n.bottom||$n.top+Cn.height<_n.top}function flip$3($n,Cn,_n){var Pn=[];return utils.each($n,function(In){Pn.push(In.replace(Cn,function(Nn){return _n[Nn]}))}),Pn}function flipOffset($n,Cn){return $n[Cn]=-$n[Cn],$n}function convertOffset($n,Cn){var _n;return/%$/.test($n)?_n=parseInt($n.substring(0,$n.length-1),10)/100*Cn:_n=parseInt($n,10),_n||0}function normalizeOffset($n,Cn){$n[0]=convertOffset($n[0],Cn.width),$n[1]=convertOffset($n[1],Cn.height)}function doAlign($n,Cn,_n,Pn){var In=_n.points,Nn=_n.offset||[0,0],Rn=_n.targetOffset||[0,0],Dn=_n.overflow,Ln=_n.source||$n;Nn=[].concat(Nn),Rn=[].concat(Rn),Dn=Dn||{};var Fn={},Bn=0,Hn=!!(Dn&&Dn.alwaysByViewport),zn=getVisibleRectForElement(Ln,Hn),Wn=getRegion(Ln);normalizeOffset(Nn,Wn),normalizeOffset(Rn,Cn);var Yn=getElFuturePos(Wn,Cn,In,Nn,Rn),Gn=utils.merge(Wn,Yn);if(zn&&(Dn.adjustX||Dn.adjustY)&&Pn){if(Dn.adjustX&&isFailX(Yn,Wn,zn)){var Go=flip$3(In,/[lr]/gi,{l:"r",r:"l"}),Xn=flipOffset(Nn,0),Yo=flipOffset(Rn,0),qo=getElFuturePos(Wn,Cn,Go,Xn,Yo);isCompleteFailX(qo,Wn,zn)||(Bn=1,In=Go,Nn=Xn,Rn=Yo)}if(Dn.adjustY&&isFailY(Yn,Wn,zn)){var Jo=flip$3(In,/[tb]/gi,{t:"b",b:"t"}),Zo=flipOffset(Nn,1),rr=flipOffset(Rn,1),nr=getElFuturePos(Wn,Cn,Jo,Zo,rr);isCompleteFailY(nr,Wn,zn)||(Bn=1,In=Jo,Nn=Zo,Rn=rr)}Bn&&(Yn=getElFuturePos(Wn,Cn,In,Nn,Rn),utils.mix(Gn,Yn));var ta=isFailX(Yn,Wn,zn),oa=isFailY(Yn,Wn,zn);if(ta||oa){var ra=In;ta&&(ra=flip$3(In,/[lr]/gi,{l:"r",r:"l"})),oa&&(ra=flip$3(In,/[tb]/gi,{t:"b",b:"t"})),In=ra,Nn=_n.offset||[0,0],Rn=_n.targetOffset||[0,0]}Fn.adjustX=Dn.adjustX&&ta,Fn.adjustY=Dn.adjustY&&oa,(Fn.adjustX||Fn.adjustY)&&(Gn=adjustForViewport(Yn,Wn,zn,Fn))}return Gn.width!==Wn.width&&utils.css(Ln,"width",utils.width(Ln)+Gn.width-Wn.width),Gn.height!==Wn.height&&utils.css(Ln,"height",utils.height(Ln)+Gn.height-Wn.height),utils.offset(Ln,{left:Gn.left,top:Gn.top},{useCssRight:_n.useCssRight,useCssBottom:_n.useCssBottom,useCssTransform:_n.useCssTransform,ignoreShake:_n.ignoreShake}),{points:In,offset:Nn,targetOffset:Rn,overflow:Fn}}function isOutOfVisibleRect($n,Cn){var _n=getVisibleRectForElement($n,Cn),Pn=getRegion($n);return!_n||Pn.left+Pn.width<=_n.left||Pn.top+Pn.height<=_n.top||Pn.left>=_n.right||Pn.top>=_n.bottom}function alignElement($n,Cn,_n){var Pn=_n.target||Cn,In=getRegion(Pn),Nn=!isOutOfVisibleRect(Pn,_n.overflow&&_n.overflow.alwaysByViewport);return doAlign($n,In,_n,Nn)}alignElement.__getOffsetParent=getOffsetParent$1;alignElement.__getVisibleRectForElement=getVisibleRectForElement;function alignPoint($n,Cn,_n){var Pn,In,Nn=utils.getDocument($n),Rn=Nn.defaultView||Nn.parentWindow,Dn=utils.getWindowScrollLeft(Rn),Ln=utils.getWindowScrollTop(Rn),Fn=utils.viewportWidth(Rn),Bn=utils.viewportHeight(Rn);"pageX"in Cn?Pn=Cn.pageX:Pn=Dn+Cn.clientX,"pageY"in Cn?In=Cn.pageY:In=Ln+Cn.clientY;var Hn={left:Pn,top:In,width:0,height:0},zn=Pn>=0&&Pn<=Dn+Fn&&In>=0&&In<=Ln+Bn,Wn=[_n.points[0],"cc"];return doAlign($n,Hn,_objectSpread2(_objectSpread2({},_n),{},{points:Wn}),zn)}function cloneElement($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,In=$n;if(Array.isArray($n)&&(In=filterEmpty($n)[0]),!In)return null;const Nn=cloneVNode(In,Cn,Pn);return Nn.props=_n?_extends$1(_extends$1({},Nn.props),Cn):Nn.props,warning$3(typeof Nn.props.class!="object"),Nn}function cloneVNodes($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return $n.map(Pn=>cloneElement(Pn,Cn,_n))}function deepCloneElement($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Array.isArray($n))return $n.map(In=>deepCloneElement(In,Cn,_n,Pn));{if(!isVNode$1($n))return $n;const In=cloneElement($n,Cn,_n,Pn);return Array.isArray(In.children)&&(In.children=deepCloneElement(In.children)),In}}function triggerVNodeUpdate($n,Cn,_n){render$1(cloneVNode($n,_extends$1({},Cn)),_n)}const ensureValidVNode=$n=>($n||[]).some(Cn=>isVNode$1(Cn)?!(Cn.type===Comment$1||Cn.type===Fragment&&!ensureValidVNode(Cn.children)):!0)?$n:null;function customRenderSlot($n,Cn,_n,Pn){var In;const Nn=(In=$n[Cn])===null||In===void 0?void 0:In.call($n,_n);return ensureValidVNode(Nn)?Nn:Pn==null?void 0:Pn()}const isVisible=$n=>{if(!$n)return!1;if($n.offsetParent)return!0;if($n.getBBox){const Cn=$n.getBBox();if(Cn.width||Cn.height)return!0}if($n.getBoundingClientRect){const Cn=$n.getBoundingClientRect();if(Cn.width||Cn.height)return!0}return!1};function isSamePoint($n,Cn){return $n===Cn?!0:!$n||!Cn?!1:"pageX"in Cn&&"pageY"in Cn?$n.pageX===Cn.pageX&&$n.pageY===Cn.pageY:"clientX"in Cn&&"clientY"in Cn?$n.clientX===Cn.clientX&&$n.clientY===Cn.clientY:!1}function restoreFocus($n,Cn){$n!==document.activeElement&&contains$2(Cn,$n)&&typeof $n.focus=="function"&&$n.focus()}function monitorResize($n,Cn){let _n=null,Pn=null;function In(Rn){let[{target:Dn}]=Rn;if(!document.documentElement.contains(Dn))return;const{width:Ln,height:Fn}=Dn.getBoundingClientRect(),Bn=Math.floor(Ln),Hn=Math.floor(Fn);(_n!==Bn||Pn!==Hn)&&Promise.resolve().then(()=>{Cn({width:Bn,height:Hn})}),_n=Bn,Pn=Hn}const Nn=new ResizeObserver$3(In);return $n&&Nn.observe($n),()=>{Nn.disconnect()}}const useBuffer=($n,Cn)=>{let _n=!1,Pn=null;function In(){clearTimeout(Pn)}function Nn(Rn){if(!_n||Rn===!0){if($n()===!1)return;_n=!0,In(),Pn=setTimeout(()=>{_n=!1},Cn.value)}else In(),Pn=setTimeout(()=>{_n=!1,Nn()},Cn.value)}return[Nn,()=>{_n=!1,In()}]};function listCacheClear(){this.__data__=[],this.size=0}function eq($n,Cn){return $n===Cn||$n!==$n&&Cn!==Cn}function assocIndexOf($n,Cn){for(var _n=$n.length;_n--;)if(eq($n[_n][0],Cn))return _n;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete($n){var Cn=this.__data__,_n=assocIndexOf(Cn,$n);if(_n<0)return!1;var Pn=Cn.length-1;return _n==Pn?Cn.pop():splice.call(Cn,_n,1),--this.size,!0}function listCacheGet($n){var Cn=this.__data__,_n=assocIndexOf(Cn,$n);return _n<0?void 0:Cn[_n][1]}function listCacheHas($n){return assocIndexOf(this.__data__,$n)>-1}function listCacheSet($n,Cn){var _n=this.__data__,Pn=assocIndexOf(_n,$n);return Pn<0?(++this.size,_n.push([$n,Cn])):_n[Pn][1]=Cn,this}function ListCache($n){var Cn=-1,_n=$n==null?0:$n.length;for(this.clear();++Cn<_n;){var Pn=$n[Cn];this.set(Pn[0],Pn[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete($n){var Cn=this.__data__,_n=Cn.delete($n);return this.size=Cn.size,_n}function stackGet($n){return this.__data__.get($n)}function stackHas($n){return this.__data__.has($n)}var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root.Symbol,objectProto$g=Object.prototype,hasOwnProperty$e=objectProto$g.hasOwnProperty,nativeObjectToString$1=objectProto$g.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag($n){var Cn=hasOwnProperty$e.call($n,symToStringTag$1),_n=$n[symToStringTag$1];try{$n[symToStringTag$1]=void 0;var Pn=!0}catch{}var In=nativeObjectToString$1.call($n);return Pn&&(Cn?$n[symToStringTag$1]=_n:delete $n[symToStringTag$1]),In}var objectProto$f=Object.prototype,nativeObjectToString=objectProto$f.toString;function objectToString$1($n){return nativeObjectToString.call($n)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag($n){return $n==null?$n===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object($n)?getRawTag($n):objectToString$1($n)}function isObject$5($n){var Cn=typeof $n;return $n!=null&&(Cn=="object"||Cn=="function")}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$1($n){if(!isObject$5($n))return!1;var Cn=baseGetTag($n);return Cn==funcTag$2||Cn==genTag$1||Cn==asyncTag||Cn==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var $n=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return $n?"Symbol(src)_1."+$n:""}();function isMasked($n){return!!maskSrcKey&&maskSrcKey in $n}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource($n){if($n!=null){try{return funcToString$2.call($n)}catch{}try{return $n+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$e=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$d=objectProto$e.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative($n){if(!isObject$5($n)||isMasked($n))return!1;var Cn=isFunction$1($n)?reIsNative:reIsHostCtor;return Cn.test(toSource($n))}function getValue$3($n,Cn){return $n==null?void 0:$n[Cn]}function getNative($n,Cn){var _n=getValue$3($n,Cn);return baseIsNative(_n)?_n:void 0}var Map$1=getNative(root,"Map"),nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete($n){var Cn=this.has($n)&&delete this.__data__[$n];return this.size-=Cn?1:0,Cn}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$d=Object.prototype,hasOwnProperty$c=objectProto$d.hasOwnProperty;function hashGet($n){var Cn=this.__data__;if(nativeCreate){var _n=Cn[$n];return _n===HASH_UNDEFINED$2?void 0:_n}return hasOwnProperty$c.call(Cn,$n)?Cn[$n]:void 0}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function hashHas($n){var Cn=this.__data__;return nativeCreate?Cn[$n]!==void 0:hasOwnProperty$b.call(Cn,$n)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet($n,Cn){var _n=this.__data__;return this.size+=this.has($n)?0:1,_n[$n]=nativeCreate&&Cn===void 0?HASH_UNDEFINED$1:Cn,this}function Hash($n){var Cn=-1,_n=$n==null?0:$n.length;for(this.clear();++Cn<_n;){var Pn=$n[Cn];this.set(Pn[0],Pn[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable($n){var Cn=typeof $n;return Cn=="string"||Cn=="number"||Cn=="symbol"||Cn=="boolean"?$n!=="__proto__":$n===null}function getMapData($n,Cn){var _n=$n.__data__;return isKeyable(Cn)?_n[typeof Cn=="string"?"string":"hash"]:_n.map}function mapCacheDelete($n){var Cn=getMapData(this,$n).delete($n);return this.size-=Cn?1:0,Cn}function mapCacheGet($n){return getMapData(this,$n).get($n)}function mapCacheHas($n){return getMapData(this,$n).has($n)}function mapCacheSet($n,Cn){var _n=getMapData(this,$n),Pn=_n.size;return _n.set($n,Cn),this.size+=_n.size==Pn?0:1,this}function MapCache($n){var Cn=-1,_n=$n==null?0:$n.length;for(this.clear();++Cn<_n;){var Pn=$n[Cn];this.set(Pn[0],Pn[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;var LARGE_ARRAY_SIZE$1=200;function stackSet($n,Cn){var _n=this.__data__;if(_n instanceof ListCache){var Pn=_n.__data__;if(!Map$1||Pn.length<LARGE_ARRAY_SIZE$1-1)return Pn.push([$n,Cn]),this.size=++_n.size,this;_n=this.__data__=new MapCache(Pn)}return _n.set($n,Cn),this.size=_n.size,this}function Stack($n){var Cn=this.__data__=new ListCache($n);this.size=Cn.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd($n){return this.__data__.set($n,HASH_UNDEFINED),this}function setCacheHas($n){return this.__data__.has($n)}function SetCache($n){var Cn=-1,_n=$n==null?0:$n.length;for(this.__data__=new MapCache;++Cn<_n;)this.add($n[Cn])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome($n,Cn){for(var _n=-1,Pn=$n==null?0:$n.length;++_n<Pn;)if(Cn($n[_n],_n,$n))return!0;return!1}function cacheHas($n,Cn){return $n.has(Cn)}var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays($n,Cn,_n,Pn,In,Nn){var Rn=_n&COMPARE_PARTIAL_FLAG$5,Dn=$n.length,Ln=Cn.length;if(Dn!=Ln&&!(Rn&&Ln>Dn))return!1;var Fn=Nn.get($n),Bn=Nn.get(Cn);if(Fn&&Bn)return Fn==Cn&&Bn==$n;var Hn=-1,zn=!0,Wn=_n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(Nn.set($n,Cn),Nn.set(Cn,$n);++Hn<Dn;){var Yn=$n[Hn],Gn=Cn[Hn];if(Pn)var Go=Rn?Pn(Gn,Yn,Hn,Cn,$n,Nn):Pn(Yn,Gn,Hn,$n,Cn,Nn);if(Go!==void 0){if(Go)continue;zn=!1;break}if(Wn){if(!arraySome(Cn,function(Xn,Yo){if(!cacheHas(Wn,Yo)&&(Yn===Xn||In(Yn,Xn,_n,Pn,Nn)))return Wn.push(Yo)})){zn=!1;break}}else if(!(Yn===Gn||In(Yn,Gn,_n,Pn,Nn))){zn=!1;break}}return Nn.delete($n),Nn.delete(Cn),zn}var Uint8Array$1=root.Uint8Array;function mapToArray($n){var Cn=-1,_n=Array($n.size);return $n.forEach(function(Pn,In){_n[++Cn]=[In,Pn]}),_n}function setToArray($n){var Cn=-1,_n=Array($n.size);return $n.forEach(function(Pn){_n[++Cn]=Pn}),_n}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",mapTag$6="[object Map]",numberTag$4="[object Number]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$3="[object String]",symbolTag$3="[object Symbol]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",symbolProto$2=Symbol$1?Symbol$1.prototype:void 0,symbolValueOf$1=symbolProto$2?symbolProto$2.valueOf:void 0;function equalByTag($n,Cn,_n,Pn,In,Nn,Rn){switch(_n){case dataViewTag$4:if($n.byteLength!=Cn.byteLength||$n.byteOffset!=Cn.byteOffset)return!1;$n=$n.buffer,Cn=Cn.buffer;case arrayBufferTag$3:return!($n.byteLength!=Cn.byteLength||!Nn(new Uint8Array$1($n),new Uint8Array$1(Cn)));case boolTag$3:case dateTag$3:case numberTag$4:return eq(+$n,+Cn);case errorTag$2:return $n.name==Cn.name&&$n.message==Cn.message;case regexpTag$3:case stringTag$3:return $n==Cn+"";case mapTag$6:var Dn=mapToArray;case setTag$6:var Ln=Pn&COMPARE_PARTIAL_FLAG$4;if(Dn||(Dn=setToArray),$n.size!=Cn.size&&!Ln)return!1;var Fn=Rn.get($n);if(Fn)return Fn==Cn;Pn|=COMPARE_UNORDERED_FLAG$2,Rn.set($n,Cn);var Bn=equalArrays(Dn($n),Dn(Cn),Pn,In,Nn,Rn);return Rn.delete($n),Bn;case symbolTag$3:if(symbolValueOf$1)return symbolValueOf$1.call($n)==symbolValueOf$1.call(Cn)}return!1}function arrayPush($n,Cn){for(var _n=-1,Pn=Cn.length,In=$n.length;++_n<Pn;)$n[In+_n]=Cn[_n];return $n}var isArray$2=Array.isArray;function baseGetAllKeys($n,Cn,_n){var Pn=Cn($n);return isArray$2($n)?Pn:arrayPush(Pn,_n($n))}function arrayFilter($n,Cn){for(var _n=-1,Pn=$n==null?0:$n.length,In=0,Nn=[];++_n<Pn;){var Rn=$n[_n];Cn(Rn,_n,$n)&&(Nn[In++]=Rn)}return Nn}function stubArray(){return[]}var objectProto$b=Object.prototype,propertyIsEnumerable$1=objectProto$b.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function($n){return $n==null?[]:($n=Object($n),arrayFilter(nativeGetSymbols$1($n),function(Cn){return propertyIsEnumerable$1.call($n,Cn)}))}:stubArray;function baseTimes($n,Cn){for(var _n=-1,Pn=Array($n);++_n<$n;)Pn[_n]=Cn(_n);return Pn}function isObjectLike($n){return $n!=null&&typeof $n=="object"}var argsTag$3="[object Arguments]";function baseIsArguments($n){return isObjectLike($n)&&baseGetTag($n)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$a=objectProto$a.hasOwnProperty,propertyIsEnumerable=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function($n){return isObjectLike($n)&&hasOwnProperty$a.call($n,"callee")&&!propertyIsEnumerable.call($n,"callee")};function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex($n,Cn){var _n=typeof $n;return Cn=Cn??MAX_SAFE_INTEGER$1,!!Cn&&(_n=="number"||_n!="symbol"&&reIsUint.test($n))&&$n>-1&&$n%1==0&&$n<Cn}var MAX_SAFE_INTEGER=9007199254740991;function isLength($n){return typeof $n=="number"&&$n>-1&&$n%1==0&&$n<=MAX_SAFE_INTEGER}var argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$1="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$2="[object RegExp]",setTag$5="[object Set]",stringTag$2="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$2]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$2]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray($n){return isObjectLike($n)&&isLength($n.length)&&!!typedArrayTags[baseGetTag($n)]}function baseUnary($n){return function(Cn){return $n(Cn)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal.process,nodeUtil=function(){try{var $n=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return $n||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$1=isTypedArray;var objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function arrayLikeKeys($n,Cn){var _n=isArray$2($n),Pn=!_n&&isArguments($n),In=!_n&&!Pn&&isBuffer($n),Nn=!_n&&!Pn&&!In&&isTypedArray$1($n),Rn=_n||Pn||In||Nn,Dn=Rn?baseTimes($n.length,String):[],Ln=Dn.length;for(var Fn in $n)(Cn||hasOwnProperty$9.call($n,Fn))&&!(Rn&&(Fn=="length"||In&&(Fn=="offset"||Fn=="parent")||Nn&&(Fn=="buffer"||Fn=="byteLength"||Fn=="byteOffset")||isIndex(Fn,Ln)))&&Dn.push(Fn);return Dn}var objectProto$8=Object.prototype;function isPrototype($n){var Cn=$n&&$n.constructor,_n=typeof Cn=="function"&&Cn.prototype||objectProto$8;return $n===_n}function overArg($n,Cn){return function(_n){return $n(Cn(_n))}}var nativeKeys=overArg(Object.keys,Object),objectProto$7=Object.prototype,hasOwnProperty$8=objectProto$7.hasOwnProperty;function baseKeys($n){if(!isPrototype($n))return nativeKeys($n);var Cn=[];for(var _n in Object($n))hasOwnProperty$8.call($n,_n)&&_n!="constructor"&&Cn.push(_n);return Cn}function isArrayLike($n){return $n!=null&&isLength($n.length)&&!isFunction$1($n)}function keys($n){return isArrayLike($n)?arrayLikeKeys($n):baseKeys($n)}function getAllKeys$1($n){return baseGetAllKeys($n,keys,getSymbols)}var COMPARE_PARTIAL_FLAG$3=1,objectProto$6=Object.prototype,hasOwnProperty$7=objectProto$6.hasOwnProperty;function equalObjects($n,Cn,_n,Pn,In,Nn){var Rn=_n&COMPARE_PARTIAL_FLAG$3,Dn=getAllKeys$1($n),Ln=Dn.length,Fn=getAllKeys$1(Cn),Bn=Fn.length;if(Ln!=Bn&&!Rn)return!1;for(var Hn=Ln;Hn--;){var zn=Dn[Hn];if(!(Rn?zn in Cn:hasOwnProperty$7.call(Cn,zn)))return!1}var Wn=Nn.get($n),Yn=Nn.get(Cn);if(Wn&&Yn)return Wn==Cn&&Yn==$n;var Gn=!0;Nn.set($n,Cn),Nn.set(Cn,$n);for(var Go=Rn;++Hn<Ln;){zn=Dn[Hn];var Xn=$n[zn],Yo=Cn[zn];if(Pn)var qo=Rn?Pn(Yo,Xn,zn,Cn,$n,Nn):Pn(Xn,Yo,zn,$n,Cn,Nn);if(!(qo===void 0?Xn===Yo||In(Xn,Yo,_n,Pn,Nn):qo)){Gn=!1;break}Go||(Go=zn=="constructor")}if(Gn&&!Go){var Jo=$n.constructor,Zo=Cn.constructor;Jo!=Zo&&"constructor"in $n&&"constructor"in Cn&&!(typeof Jo=="function"&&Jo instanceof Jo&&typeof Zo=="function"&&Zo instanceof Zo)&&(Gn=!1)}return Nn.delete($n),Nn.delete(Cn),Gn}var DataView=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),WeakMap$1=getNative(root,"WeakMap"),mapTag$4="[object Map]",objectTag$3="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$2="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$1),getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag$2||Map$1&&getTag(new Map$1)!=mapTag$4||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$4||WeakMap$1&&getTag(new WeakMap$1)!=weakMapTag$1)&&(getTag=function($n){var Cn=baseGetTag($n),_n=Cn==objectTag$3?$n.constructor:void 0,Pn=_n?toSource(_n):"";if(Pn)switch(Pn){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return Cn});const getTag$1=getTag;var COMPARE_PARTIAL_FLAG$2=1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",objectTag$2="[object Object]",objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function baseIsEqualDeep($n,Cn,_n,Pn,In,Nn){var Rn=isArray$2($n),Dn=isArray$2(Cn),Ln=Rn?arrayTag$1:getTag$1($n),Fn=Dn?arrayTag$1:getTag$1(Cn);Ln=Ln==argsTag$1?objectTag$2:Ln,Fn=Fn==argsTag$1?objectTag$2:Fn;var Bn=Ln==objectTag$2,Hn=Fn==objectTag$2,zn=Ln==Fn;if(zn&&isBuffer($n)){if(!isBuffer(Cn))return!1;Rn=!0,Bn=!1}if(zn&&!Bn)return Nn||(Nn=new Stack),Rn||isTypedArray$1($n)?equalArrays($n,Cn,_n,Pn,In,Nn):equalByTag($n,Cn,Ln,_n,Pn,In,Nn);if(!(_n&COMPARE_PARTIAL_FLAG$2)){var Wn=Bn&&hasOwnProperty$6.call($n,"__wrapped__"),Yn=Hn&&hasOwnProperty$6.call(Cn,"__wrapped__");if(Wn||Yn){var Gn=Wn?$n.value():$n,Go=Yn?Cn.value():Cn;return Nn||(Nn=new Stack),In(Gn,Go,_n,Pn,Nn)}}return zn?(Nn||(Nn=new Stack),equalObjects($n,Cn,_n,Pn,In,Nn)):!1}function baseIsEqual($n,Cn,_n,Pn,In){return $n===Cn?!0:$n==null||Cn==null||!isObjectLike($n)&&!isObjectLike(Cn)?$n!==$n&&Cn!==Cn:baseIsEqualDeep($n,Cn,_n,Pn,baseIsEqual,In)}function isEqual$2($n,Cn){return baseIsEqual($n,Cn)}const alignProps={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function getElement($n){return typeof $n!="function"?null:$n()}function getPoint($n){return typeof $n!="object"||!$n?null:$n}const Align=defineComponent({compatConfig:{MODE:3},name:"Align",props:alignProps,emits:["align"],setup($n,Cn){let{expose:_n,slots:Pn}=Cn;const In=ref({}),Nn=ref(),[Rn,Dn]=useBuffer(()=>{const{disabled:zn,target:Wn,align:Yn,onAlign:Gn}=$n;if(!zn&&Wn&&Nn.value){const Go=Nn.value;let Xn;const Yo=getElement(Wn),qo=getPoint(Wn);In.value.element=Yo,In.value.point=qo,In.value.align=Yn;const{activeElement:Jo}=document;return Yo&&isVisible(Yo)?Xn=alignElement(Go,Yo,Yn):qo&&(Xn=alignPoint(Go,qo,Yn)),restoreFocus(Jo,Go),Gn&&Xn&&Gn(Go,Xn),!0}return!1},computed(()=>$n.monitorBufferTime)),Ln=ref({cancel:()=>{}}),Fn=ref({cancel:()=>{}}),Bn=()=>{const zn=$n.target,Wn=getElement(zn),Yn=getPoint(zn);Nn.value!==Fn.value.element&&(Fn.value.cancel(),Fn.value.element=Nn.value,Fn.value.cancel=monitorResize(Nn.value,Rn)),(In.value.element!==Wn||!isSamePoint(In.value.point,Yn)||!isEqual$2(In.value.align,$n.align))&&(Rn(),Ln.value.element!==Wn&&(Ln.value.cancel(),Ln.value.element=Wn,Ln.value.cancel=monitorResize(Wn,Rn)))};onMounted(()=>{nextTick(()=>{Bn()})}),onUpdated(()=>{nextTick(()=>{Bn()})}),watch(()=>$n.disabled,zn=>{zn?Dn():Rn()},{immediate:!0,flush:"post"});const Hn=ref(null);return watch(()=>$n.monitorWindowResize,zn=>{zn?Hn.value||(Hn.value=addEventListenerWrap(window,"resize",Rn)):Hn.value&&(Hn.value.remove(),Hn.value=null)},{flush:"post"}),onUnmounted(()=>{Ln.value.cancel(),Fn.value.cancel(),Hn.value&&Hn.value.remove(),Dn()}),_n({forceAlign:()=>Rn(!0)}),()=>{const zn=Pn==null?void 0:Pn.default();return zn?cloneElement(zn[0],{ref:Nn},!0,!0):null}}});tuple$1("bottomLeft","bottomRight","topLeft","topRight");const getTransitionDirection=$n=>$n!==void 0&&($n==="topLeft"||$n==="topRight")?"slide-down":"slide-up",getTransitionProps=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _extends$1($n?{name:$n,appear:!0,enterFromClass:`${$n}-enter ${$n}-enter-prepare ${$n}-enter-start`,enterActiveClass:`${$n}-enter ${$n}-enter-prepare`,enterToClass:`${$n}-enter ${$n}-enter-active`,leaveFromClass:` ${$n}-leave`,leaveActiveClass:`${$n}-leave ${$n}-leave-active`,leaveToClass:`${$n}-leave ${$n}-leave-active`}:{css:!1},Cn)},getTransitionGroupProps=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _extends$1($n?{name:$n,appear:!0,appearActiveClass:`${$n}`,appearToClass:`${$n}-appear ${$n}-appear-active`,enterFromClass:`${$n}-appear ${$n}-enter ${$n}-appear-prepare ${$n}-enter-prepare`,enterActiveClass:`${$n}`,enterToClass:`${$n}-enter ${$n}-appear ${$n}-appear-active ${$n}-enter-active`,leaveActiveClass:`${$n} ${$n}-leave`,leaveToClass:`${$n}-leave-active`}:{css:!1},Cn)},getTransitionName$1=($n,Cn,_n)=>_n!==void 0?_n:`${$n}-${Cn}`,PopupInner=defineComponent({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:innerProps,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup($n,Cn){let{expose:_n,attrs:Pn,slots:In}=Cn;const Nn=shallowRef(),Rn=shallowRef(),Dn=shallowRef(),[Ln,Fn]=useStretchStyle(toRef($n,"stretch")),Bn=()=>{$n.stretch&&Fn($n.getRootDomNode())},Hn=shallowRef(!1);let zn;watch(()=>$n.visible,rr=>{clearTimeout(zn),rr?zn=setTimeout(()=>{Hn.value=$n.visible}):Hn.value=!1},{immediate:!0});const[Wn,Yn]=useVisibleStatus(Hn,Bn),Gn=shallowRef(),Go=()=>$n.point?$n.point:$n.getRootDomNode,Xn=()=>{var rr;(rr=Nn.value)===null||rr===void 0||rr.forceAlign()},Yo=(rr,nr)=>{var ta;const oa=$n.getClassNameFromAlign(nr),ra=Dn.value;Dn.value!==oa&&(Dn.value=oa),Wn.value==="align"&&(ra!==oa?Promise.resolve().then(()=>{Xn()}):Yn(()=>{var ea;(ea=Gn.value)===null||ea===void 0||ea.call(Gn)}),(ta=$n.onAlign)===null||ta===void 0||ta.call($n,rr,nr))},qo=computed(()=>{const rr=typeof $n.animation=="object"?$n.animation:getMotion$1($n);return["onAfterEnter","onAfterLeave"].forEach(nr=>{const ta=rr[nr];rr[nr]=oa=>{Yn(),Wn.value="stable",ta==null||ta(oa)}}),rr}),Jo=()=>new Promise(rr=>{Gn.value=rr});watch([qo,Wn],()=>{!qo.value&&Wn.value==="motion"&&Yn()},{immediate:!0}),_n({forceAlign:Xn,getElement:()=>Rn.value.$el||Rn.value});const Zo=computed(()=>{var rr;return!(!((rr=$n.align)===null||rr===void 0)&&rr.points&&(Wn.value==="align"||Wn.value==="stable"))});return()=>{var rr;const{zIndex:nr,align:ta,prefixCls:oa,destroyPopupOnHide:ra,onMouseenter:ea,onMouseleave:la,onTouchstart:ua=()=>{},onMousedown:ga}=$n,aa=Wn.value,ca=[_extends$1(_extends$1({},Ln.value),{zIndex:nr,opacity:aa==="motion"||aa==="stable"||!Hn.value?null:0,pointerEvents:!Hn.value&&aa!=="stable"?"none":null}),Pn.style];let sa=flattenChildren((rr=In.default)===null||rr===void 0?void 0:rr.call(In,{visible:$n.visible}));sa.length>1&&(sa=createVNode("div",{class:`${oa}-content`},[sa]));const ia=classNames(oa,Pn.class,Dn.value),ma=Hn.value||!$n.visible?getTransitionProps(qo.value.name,qo.value):{};return createVNode(Transition,_objectSpread2$1(_objectSpread2$1({ref:Rn},ma),{},{onBeforeEnter:Jo}),{default:()=>!ra||$n.visible?withDirectives(createVNode(Align,{target:Go(),key:"popup",ref:Nn,monitorWindowResize:!0,disabled:Zo.value,align:ta,onAlign:Yo},{default:()=>createVNode("div",{class:ia,onMouseenter:ea,onMouseleave:la,onMousedown:withModifiers(ga,["capture"]),[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]:withModifiers(ua,["capture"]),style:ca},[sa])}),[[vShow,Hn.value]]):null})}}}),Popup=defineComponent({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:popupProps,setup($n,Cn){let{attrs:_n,slots:Pn,expose:In}=Cn;const Nn=shallowRef(!1),Rn=shallowRef(!1),Dn=shallowRef(),Ln=shallowRef();return watch([()=>$n.visible,()=>$n.mobile],()=>{Nn.value=$n.visible,$n.visible&&$n.mobile&&(Rn.value=!0)},{immediate:!0,flush:"post"}),In({forceAlign:()=>{var Fn;(Fn=Dn.value)===null||Fn===void 0||Fn.forceAlign()},getElement:()=>{var Fn;return(Fn=Dn.value)===null||Fn===void 0?void 0:Fn.getElement()}}),()=>{const Fn=_extends$1(_extends$1(_extends$1({},$n),_n),{visible:Nn.value}),Bn=Rn.value?createVNode(MobilePopupInner,_objectSpread2$1(_objectSpread2$1({},Fn),{},{mobile:$n.mobile,ref:Dn}),{default:Pn.default}):createVNode(PopupInner,_objectSpread2$1(_objectSpread2$1({},Fn),{},{ref:Dn}),{default:Pn.default});return createVNode("div",{ref:Ln},[createVNode(Mask$3,Fn,null),Bn])}}});function isPointsEq($n,Cn,_n){return _n?$n[0]===Cn[0]:$n[0]===Cn[0]&&$n[1]===Cn[1]}function getAlignFromPlacement($n,Cn,_n){const Pn=$n[Cn]||{};return _extends$1(_extends$1({},Pn),_n)}function getAlignPopupClassName($n,Cn,_n,Pn){const{points:In}=_n,Nn=Object.keys($n);for(let Rn=0;Rn<Nn.length;Rn+=1){const Dn=Nn[Rn];if(isPointsEq($n[Dn].points,In,Pn))return`${Cn}-placement-${Dn}`}return""}const BaseMixin={methods:{setState(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Cn=arguments.length>1?arguments[1]:void 0,_n=typeof $n=="function"?$n(this.$data,this.$props):$n;if(this.getDerivedStateFromProps){const Pn=this.getDerivedStateFromProps(getOptionProps(this),_extends$1(_extends$1({},this.$data),_n));if(Pn===null)return;_n=_extends$1(_extends$1({},_n),Pn||{})}_extends$1(this.$data,_n),this._.isMounted&&this.$forceUpdate(),nextTick(()=>{Cn&&Cn()})},__emit(){const $n=[].slice.call(arguments,0);let Cn=$n[0];Cn=`on${Cn[0].toUpperCase()}${Cn.substring(1)}`;const _n=this.$props[Cn]||this.$attrs[Cn];if($n.length&&_n)if(Array.isArray(_n))for(let Pn=0,In=_n.length;Pn<In;Pn++)_n[Pn](...$n.slice(1));else _n(...$n.slice(1))}}},PortalContextKey=Symbol("PortalContextKey"),useProvidePortal=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};provide(PortalContextKey,{inTriggerContext:Cn.inTriggerContext,shouldRender:computed(()=>{const{sPopupVisible:_n,popupRef:Pn,forceRender:In,autoDestroy:Nn}=$n||{};let Rn=!1;return(_n||Pn||In)&&(Rn=!0),!_n&&Nn&&(Rn=!1),Rn})})},useInjectPortal=()=>{useProvidePortal({},{inTriggerContext:!1});const $n=inject(PortalContextKey,{shouldRender:computed(()=>!1),inTriggerContext:!1});return{shouldRender:computed(()=>$n.shouldRender.value||$n.inTriggerContext===!1)}},Portal$1=defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:PropTypes.func.isRequired,didUpdate:Function},setup($n,Cn){let{slots:_n}=Cn,Pn=!0,In;const{shouldRender:Nn}=useInjectPortal();function Rn(){Nn.value&&(In=$n.getContainer())}onBeforeMount(()=>{Pn=!1,Rn()}),onMounted(()=>{In||Rn()});const Dn=watch(Nn,()=>{Nn.value&&!In&&(In=$n.getContainer()),In&&Dn()});return onUpdated(()=>{nextTick(()=>{var Ln;Nn.value&&((Ln=$n.didUpdate)===null||Ln===void 0||Ln.call($n,$n))})}),()=>{var Ln;return Nn.value?Pn?(Ln=_n.default)===null||Ln===void 0?void 0:Ln.call(_n):In?createVNode(Teleport,{to:In},_n):null:null}}});let cached;function getScrollBarSize($n){if(typeof document>"u")return 0;if($n||cached===void 0){const Cn=document.createElement("div");Cn.style.width="100%",Cn.style.height="200px";const _n=document.createElement("div"),Pn=_n.style;Pn.position="absolute",Pn.top="0",Pn.left="0",Pn.pointerEvents="none",Pn.visibility="hidden",Pn.width="200px",Pn.height="150px",Pn.overflow="hidden",_n.appendChild(Cn),document.body.appendChild(_n);const In=Cn.offsetWidth;_n.style.overflow="scroll";let Nn=Cn.offsetWidth;In===Nn&&(Nn=_n.clientWidth),document.body.removeChild(_n),cached=In-Nn}return cached}function ensureSize($n){const Cn=$n.match(/^(.*)px$/),_n=Number(Cn==null?void 0:Cn[1]);return Number.isNaN(_n)?getScrollBarSize():_n}function getTargetScrollBarSize($n){if(typeof document>"u"||!$n||!($n instanceof Element))return{width:0,height:0};const{width:Cn,height:_n}=getComputedStyle($n,"::-webkit-scrollbar");return{width:ensureSize(Cn),height:ensureSize(_n)}}const UNIQUE_ID=`vc-util-locker-${Date.now()}`;let uuid$6=0;function isBodyOverflowing(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function useScrollLocker($n){const Cn=computed(()=>!!$n&&!!$n.value);uuid$6+=1;const _n=`${UNIQUE_ID}_${uuid$6}`;watchEffect(Pn=>{if(canUseDom$1()){if(Cn.value){const In=getScrollBarSize(),Nn=isBodyOverflowing();updateCSS$1(`
-html body {
- overflow-y: hidden;
- ${Nn?`width: calc(100% - ${In}px);`:""}
-}`,_n)}else removeCSS(_n);Pn(()=>{removeCSS(_n)})}},{flush:"post"})}let openCount=0;const supportDom=canUseDom$1(),getParent=$n=>{if(!supportDom)return null;if($n){if(typeof $n=="string")return document.querySelectorAll($n)[0];if(typeof $n=="function")return $n();if(typeof $n=="object"&&$n instanceof window.HTMLElement)return $n}return document.body},Portal=defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:PropTypes.any,visible:{type:Boolean,default:void 0},autoLock:booleanType(),didUpdate:Function},setup($n,Cn){let{slots:_n}=Cn;const Pn=shallowRef(),In=shallowRef(),Nn=shallowRef(),Rn=shallowRef(1),Dn=canUseDom$1()&&document.createElement("div"),Ln=()=>{var Wn,Yn;Pn.value===Dn&&((Yn=(Wn=Pn.value)===null||Wn===void 0?void 0:Wn.parentNode)===null||Yn===void 0||Yn.removeChild(Pn.value)),Pn.value=null};let Fn=null;const Bn=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||Pn.value&&!Pn.value.parentNode?(Fn=getParent($n.getContainer),Fn?(Fn.appendChild(Pn.value),!0):!1):!0},Hn=()=>supportDom?(Pn.value||(Pn.value=Dn,Bn(!0)),zn(),Pn.value):null,zn=()=>{const{wrapperClassName:Wn}=$n;Pn.value&&Wn&&Wn!==Pn.value.className&&(Pn.value.className=Wn)};return onUpdated(()=>{zn(),Bn()}),useScrollLocker(computed(()=>$n.autoLock&&$n.visible&&canUseDom$1()&&(Pn.value===document.body||Pn.value===Dn))),onMounted(()=>{let Wn=!1;watch([()=>$n.visible,()=>$n.getContainer],(Yn,Gn)=>{let[Go,Xn]=Yn,[Yo,qo]=Gn;supportDom&&(Fn=getParent($n.getContainer),Fn===document.body&&(Go&&!Yo?openCount+=1:Wn&&(openCount-=1))),Wn&&(typeof Xn=="function"&&typeof qo=="function"?Xn.toString()!==qo.toString():Xn!==qo)&&Ln(),Wn=!0},{immediate:!0,flush:"post"}),nextTick(()=>{Bn()||(Nn.value=wrapperRaf(()=>{Rn.value+=1}))})}),onBeforeUnmount(()=>{const{visible:Wn}=$n;supportDom&&Fn===document.body&&(openCount=Wn&&openCount?openCount-1:openCount),Ln(),wrapperRaf.cancel(Nn.value)}),()=>{const{forceRender:Wn,visible:Yn}=$n;let Gn=null;const Go={getOpenCount:()=>openCount,getContainer:Hn};return Rn.value&&(Wn||Yn||In.value)&&(Gn=createVNode(Portal$1,{getContainer:Hn,ref:In,didUpdate:$n.didUpdate},{default:()=>{var Xn;return(Xn=_n.default)===null||Xn===void 0?void 0:Xn.call(_n,Go)}})),Gn}}}),ALL_HANDLERS=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Trigger=defineComponent({compatConfig:{MODE:3},name:"Trigger",mixins:[BaseMixin],inheritAttrs:!1,props:triggerProps(),setup($n){const Cn=computed(()=>{const{popupPlacement:In,popupAlign:Nn,builtinPlacements:Rn}=$n;return In&&Rn?getAlignFromPlacement(Rn,In,Nn):Nn}),_n=shallowRef(null),Pn=In=>{_n.value=In};return{vcTriggerContext:inject("vcTriggerContext",{}),popupRef:_n,setPopupRef:Pn,triggerRef:shallowRef(null),align:Cn,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const $n=this.$props;let Cn;return this.popupVisible!==void 0?Cn=!!$n.popupVisible:Cn=!!$n.defaultPopupVisible,ALL_HANDLERS.forEach(_n=>{this[`fire${_n}`]=Pn=>{this.fireEvents(_n,Pn)}}),{prevPopupVisible:Cn,sPopupVisible:Cn,point:null}},watch:{popupVisible($n){$n!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=$n)}},created(){provide("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),useProvidePortal(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),wrapperRaf.cancel(this.attachId)},methods:{updatedCal(){const $n=this.$props;if(this.$data.sPopupVisible){let _n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(_n=$n.getDocument(this.getRootDomNode()),this.clickOutsideHandler=addEventListenerWrap(_n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(_n=_n||$n.getDocument(this.getRootDomNode()),this.touchOutsideHandler=addEventListenerWrap(_n,"touchstart",this.onDocumentClick,supportsPassive$1?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(_n=_n||$n.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=addEventListenerWrap(_n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=addEventListenerWrap(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter($n){const{mouseEnterDelay:Cn}=this.$props;this.fireEvents("onMouseenter",$n),this.delaySetPopupVisible(!0,Cn,Cn?null:$n)},onMouseMove($n){this.fireEvents("onMousemove",$n),this.setPoint($n)},onMouseleave($n){this.fireEvents("onMouseleave",$n),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:$n={}}=this;$n.onPopupMouseenter&&$n.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave($n){var Cn;if($n&&$n.relatedTarget&&!$n.relatedTarget.setTimeout&&contains$2((Cn=this.popupRef)===null||Cn===void 0?void 0:Cn.getElement(),$n.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:_n={}}=this;_n.onPopupMouseleave&&_n.onPopupMouseleave($n)},onFocus($n){this.fireEvents("onFocus",$n),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown($n){this.fireEvents("onMousedown",$n),this.preClickTime=Date.now()},onTouchstart($n){this.fireEvents("onTouchstart",$n),this.preTouchTime=Date.now()},onBlur($n){contains$2($n.target,$n.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",$n),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu($n){$n.preventDefault(),this.fireEvents("onContextmenu",$n),this.setPopupVisible(!0,$n)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick($n){if(this.fireEvents("onClick",$n),this.focusTime){let _n;if(this.preClickTime&&this.preTouchTime?_n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?_n=this.preClickTime:this.preTouchTime&&(_n=this.preTouchTime),Math.abs(_n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&$n&&$n.preventDefault&&$n.preventDefault(),$n&&$n.domEvent&&$n.domEvent.preventDefault();const Cn=!this.$data.sPopupVisible;(this.isClickToHide()&&!Cn||Cn&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,$n)},onPopupMouseDown(){const{vcTriggerContext:$n={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),$n.onPopupMouseDown&&$n.onPopupMouseDown(...arguments)},onDocumentClick($n){if(this.$props.mask&&!this.$props.maskClosable)return;const Cn=$n.target,_n=this.getRootDomNode(),Pn=this.getPopupDomNode();(!contains$2(_n,Cn)||this.isContextMenuOnly())&&!contains$2(Pn,Cn)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var $n;return(($n=this.popupRef)===null||$n===void 0?void 0:$n.getElement())||null},getRootDomNode(){var $n,Cn,_n,Pn;const{getTriggerDOMNode:In}=this.$props;if(In){const Nn=((Cn=($n=this.triggerRef)===null||$n===void 0?void 0:$n.$el)===null||Cn===void 0?void 0:Cn.nodeName)==="#comment"?null:findDOMNode(this.triggerRef);return findDOMNode(In(Nn))}try{const Nn=((Pn=(_n=this.triggerRef)===null||_n===void 0?void 0:_n.$el)===null||Pn===void 0?void 0:Pn.nodeName)==="#comment"?null:findDOMNode(this.triggerRef);if(Nn)return Nn}catch{}return findDOMNode(this)},handleGetPopupClassFromAlign($n){const Cn=[],_n=this.$props,{popupPlacement:Pn,builtinPlacements:In,prefixCls:Nn,alignPoint:Rn,getPopupClassNameFromAlign:Dn}=_n;return Pn&&In&&Cn.push(getAlignPopupClassName(In,Nn,$n,Rn)),Dn&&Cn.push(Dn($n)),Cn.join(" ")},getPopupAlign(){const $n=this.$props,{popupPlacement:Cn,popupAlign:_n,builtinPlacements:Pn}=$n;return Cn&&Pn?getAlignFromPlacement(Pn,Cn,_n):_n},getComponent(){const $n={};this.isMouseEnterToShow()&&($n.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&($n.onMouseleave=this.onPopupMouseleave),$n.onMousedown=this.onPopupMouseDown,$n[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:Cn,getRootDomNode:_n,$attrs:Pn}=this,{prefixCls:In,destroyPopupOnHide:Nn,popupClassName:Rn,popupAnimation:Dn,popupTransitionName:Ln,popupStyle:Fn,mask:Bn,maskAnimation:Hn,maskTransitionName:zn,zIndex:Wn,stretch:Yn,alignPoint:Gn,mobile:Go,forceRender:Xn}=this.$props,{sPopupVisible:Yo,point:qo}=this.$data,Jo=_extends$1(_extends$1({prefixCls:In,destroyPopupOnHide:Nn,visible:Yo,point:Gn?qo:null,align:this.align,animation:Dn,getClassNameFromAlign:Cn,stretch:Yn,getRootDomNode:_n,mask:Bn,zIndex:Wn,transitionName:Ln,maskAnimation:Hn,maskTransitionName:zn,class:Rn,style:Fn,onAlign:Pn.onPopupAlign||noop$d},$n),{ref:this.setPopupRef,mobile:Go,forceRender:Xn});return createVNode(Popup,Jo,{default:this.$slots.popup||(()=>getComponent(this,"popup"))})},attachParent($n){wrapperRaf.cancel(this.attachId);const{getPopupContainer:Cn,getDocument:_n}=this.$props,Pn=this.getRootDomNode();let In;Cn?(Pn||Cn.length===0)&&(In=Cn(Pn)):In=_n(this.getRootDomNode()).body,In?In.appendChild($n):this.attachId=wrapperRaf(()=>{this.attachParent($n)})},getContainer(){const{$props:$n}=this,{getDocument:Cn}=$n,_n=Cn(this.getRootDomNode()).createElement("div");return _n.style.position="absolute",_n.style.top="0",_n.style.left="0",_n.style.width="100%",this.attachParent(_n),_n},setPopupVisible($n,Cn){const{alignPoint:_n,sPopupVisible:Pn,onPopupVisibleChange:In}=this;this.clearDelayTimer(),Pn!==$n&&(hasProp(this,"popupVisible")||this.setState({sPopupVisible:$n,prevPopupVisible:Pn}),In&&In($n)),_n&&Cn&&$n&&this.setPoint(Cn)},setPoint($n){const{alignPoint:Cn}=this.$props;!Cn||!$n||this.setState({point:{pageX:$n.pageX,pageY:$n.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible($n,Cn,_n){const Pn=Cn*1e3;if(this.clearDelayTimer(),Pn){const In=_n?{pageX:_n.pageX,pageY:_n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible($n,In),this.clearDelayTimer()},Pn)}else this.setPopupVisible($n,_n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains($n){let Cn=()=>{};const _n=getEvents(this);return this.childOriginEvents[$n]&&_n[$n]?this[`fire${$n}`]:(Cn=this.childOriginEvents[$n]||_n[$n]||Cn,Cn)},isClickToShow(){const{action:$n,showAction:Cn}=this.$props;return $n.indexOf("click")!==-1||Cn.indexOf("click")!==-1},isContextMenuOnly(){const{action:$n}=this.$props;return $n==="contextmenu"||$n.length===1&&$n[0]==="contextmenu"},isContextmenuToShow(){const{action:$n,showAction:Cn}=this.$props;return $n.indexOf("contextmenu")!==-1||Cn.indexOf("contextmenu")!==-1},isClickToHide(){const{action:$n,hideAction:Cn}=this.$props;return $n.indexOf("click")!==-1||Cn.indexOf("click")!==-1},isMouseEnterToShow(){const{action:$n,showAction:Cn}=this.$props;return $n.indexOf("hover")!==-1||Cn.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:$n,hideAction:Cn}=this.$props;return $n.indexOf("hover")!==-1||Cn.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:$n,showAction:Cn}=this.$props;return $n.indexOf("focus")!==-1||Cn.indexOf("focus")!==-1},isBlurToHide(){const{action:$n,hideAction:Cn}=this.$props;return $n.indexOf("focus")!==-1||Cn.indexOf("blur")!==-1},forcePopupAlign(){var $n;this.$data.sPopupVisible&&(($n=this.popupRef)===null||$n===void 0||$n.forceAlign())},fireEvents($n,Cn){this.childOriginEvents[$n]&&this.childOriginEvents[$n](Cn);const _n=this.$props[$n]||this.$attrs[$n];_n&&_n(Cn)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:$n}=this,Cn=filterEmpty(getSlot(this)),{alignPoint:_n,getPopupContainer:Pn}=this.$props,In=Cn[0];this.childOriginEvents=getEvents(In);const Nn={key:"trigger"};this.isContextmenuToShow()?Nn.onContextmenu=this.onContextmenu:Nn.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(Nn.onClick=this.onClick,Nn.onMousedown=this.onMousedown,Nn[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(Nn.onClick=this.createTwoChains("onClick"),Nn.onMousedown=this.createTwoChains("onMousedown"),Nn[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(Nn.onMouseenter=this.onMouseenter,_n&&(Nn.onMousemove=this.onMouseMove)):Nn.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?Nn.onMouseleave=this.onMouseleave:Nn.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(Nn.onFocus=this.onFocus,Nn.onBlur=this.onBlur):(Nn.onFocus=this.createTwoChains("onFocus"),Nn.onBlur=Fn=>{Fn&&(!Fn.relatedTarget||!contains$2(Fn.target,Fn.relatedTarget))&&this.createTwoChains("onBlur")(Fn)});const Rn=classNames(In&&In.props&&In.props.class,$n.class);Rn&&(Nn.class=Rn);const Dn=cloneElement(In,_extends$1(_extends$1({},Nn),{ref:"triggerRef"}),!0,!0),Ln=createVNode(Portal,{key:"portal",getContainer:Pn&&(()=>Pn(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return createVNode(Fragment,null,[Dn,Ln])}});var __rest$1d=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const getBuiltInPlacements=$n=>{const Cn=$n===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Cn,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Cn,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Cn,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Cn,adjustY:1}}}},SelectTrigger=defineComponent({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:PropTypes.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:PropTypes.oneOfType([Number,Boolean]).def(!0),popupElement:PropTypes.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=computed(()=>{const{dropdownMatchSelectWidth:Dn}=$n;return getBuiltInPlacements(Dn)}),Rn=ref();return In({getPopupElement:()=>Rn.value}),()=>{const Dn=_extends$1(_extends$1({},$n),Pn),{empty:Ln=!1}=Dn,Fn=__rest$1d(Dn,["empty"]),{visible:Bn,dropdownAlign:Hn,prefixCls:zn,popupElement:Wn,dropdownClassName:Yn,dropdownStyle:Gn,direction:Go="ltr",placement:Xn,dropdownMatchSelectWidth:Yo,containerWidth:qo,dropdownRender:Jo,animation:Zo,transitionName:rr,getPopupContainer:nr,getTriggerDOMNode:ta,onPopupVisibleChange:oa,onPopupMouseEnter:ra,onPopupFocusin:ea,onPopupFocusout:la}=Fn,ua=`${zn}-dropdown`;let ga=Wn;Jo&&(ga=Jo({menuNode:Wn,props:$n}));const aa=Zo?`${ua}-${Zo}`:rr,ca=_extends$1({minWidth:`${qo}px`},Gn);return typeof Yo=="number"?ca.width=`${Yo}px`:Yo&&(ca.width=`${qo}px`),createVNode(Trigger,_objectSpread2$1(_objectSpread2$1({},$n),{},{showAction:oa?["click"]:[],hideAction:oa?["click"]:[],popupPlacement:Xn||(Go==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Nn.value,prefixCls:ua,popupTransitionName:aa,popupAlign:Hn,popupVisible:Bn,getPopupContainer:nr,popupClassName:classNames(Yn,{[`${ua}-empty`]:Ln}),popupStyle:ca,getTriggerDOMNode:ta,onPopupVisibleChange:oa}),{default:_n.default,popup:()=>createVNode("div",{ref:Rn,onMouseenter:ra,onFocusin:ea,onFocusout:la},[ga])})}}}),SelectTrigger$1=SelectTrigger,KeyCode={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Cn){const{keyCode:_n}=Cn;if(Cn.altKey&&!Cn.ctrlKey||Cn.metaKey||_n>=KeyCode.F1&&_n<=KeyCode.F12)return!1;switch(_n){case KeyCode.ALT:case KeyCode.CAPS_LOCK:case KeyCode.CONTEXT_MENU:case KeyCode.CTRL:case KeyCode.DOWN:case KeyCode.END:case KeyCode.ESC:case KeyCode.HOME:case KeyCode.INSERT:case KeyCode.LEFT:case KeyCode.MAC_FF_META:case KeyCode.META:case KeyCode.NUMLOCK:case KeyCode.NUM_CENTER:case KeyCode.PAGE_DOWN:case KeyCode.PAGE_UP:case KeyCode.PAUSE:case KeyCode.PRINT_SCREEN:case KeyCode.RIGHT:case KeyCode.SHIFT:case KeyCode.UP:case KeyCode.WIN_KEY:case KeyCode.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Cn){if(Cn>=KeyCode.ZERO&&Cn<=KeyCode.NINE||Cn>=KeyCode.NUM_ZERO&&Cn<=KeyCode.NUM_MULTIPLY||Cn>=KeyCode.A&&Cn<=KeyCode.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Cn===0)return!0;switch(Cn){case KeyCode.SPACE:case KeyCode.QUESTION_MARK:case KeyCode.NUM_PLUS:case KeyCode.NUM_MINUS:case KeyCode.NUM_PERIOD:case KeyCode.NUM_DIVISION:case KeyCode.SEMICOLON:case KeyCode.DASH:case KeyCode.EQUALS:case KeyCode.COMMA:case KeyCode.PERIOD:case KeyCode.SLASH:case KeyCode.APOSTROPHE:case KeyCode.SINGLE_QUOTE:case KeyCode.OPEN_SQUARE_BRACKET:case KeyCode.BACKSLASH:case KeyCode.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},KeyCode$1=KeyCode,TransBtn=($n,Cn)=>{let{slots:_n}=Cn;var Pn;const{class:In,customizeIcon:Nn,customizeIconProps:Rn,onMousedown:Dn,onClick:Ln}=$n;let Fn;return typeof Nn=="function"?Fn=Nn(Rn):Fn=Nn,createVNode("span",{class:In,onMousedown:Bn=>{Bn.preventDefault(),Dn&&Dn(Bn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ln,"aria-hidden":!0},[Fn!==void 0?Fn:createVNode("span",{class:In.split(/\s+/).map(Bn=>`${Bn}-icon`)},[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)])])};TransBtn.inheritAttrs=!1;TransBtn.displayName="TransBtn";TransBtn.props={class:String,customizeIcon:PropTypes.any,customizeIconProps:PropTypes.any,onMousedown:Function,onClick:Function};const TransBtn$1=TransBtn;function onCompositionStart($n){$n.target.composing=!0}function onCompositionEnd($n){$n.target.composing&&($n.target.composing=!1,trigger($n.target,"input"))}function trigger($n,Cn){const _n=document.createEvent("HTMLEvents");_n.initEvent(Cn,!0,!0),$n.dispatchEvent(_n)}function addEventListener($n,Cn,_n,Pn){$n.addEventListener(Cn,_n,Pn)}const antInput={created($n,Cn){(!Cn.modifiers||!Cn.modifiers.lazy)&&(addEventListener($n,"compositionstart",onCompositionStart),addEventListener($n,"compositionend",onCompositionEnd),addEventListener($n,"change",onCompositionEnd))}},antInputDirective=antInput,inputProps$2={inputRef:PropTypes.any,prefixCls:String,id:String,inputElement:PropTypes.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),attrs:PropTypes.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},Input$1=defineComponent({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:inputProps$2,setup($n){let Cn=null;const _n=inject("VCSelectContainerEvent");return()=>{var Pn;const{prefixCls:In,id:Nn,inputElement:Rn,disabled:Dn,tabindex:Ln,autofocus:Fn,autocomplete:Bn,editable:Hn,activeDescendantId:zn,value:Wn,onKeydown:Yn,onMousedown:Gn,onChange:Go,onPaste:Xn,onCompositionstart:Yo,onCompositionend:qo,onFocus:Jo,onBlur:Zo,open:rr,inputRef:nr,attrs:ta}=$n;let oa=Rn||withDirectives(createVNode("input",null,null),[[antInputDirective]]);const ra=oa.props||{},{onKeydown:ea,onInput:la,onFocus:ua,onBlur:ga,onMousedown:aa,onCompositionstart:ca,onCompositionend:sa,style:ia}=ra;return oa=cloneElement(oa,_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({type:"search"},ra),{id:Nn,ref:nr,disabled:Dn,tabindex:Ln,autocomplete:Bn||"off",autofocus:Fn,class:classNames(`${In}-selection-search-input`,(Pn=oa==null?void 0:oa.props)===null||Pn===void 0?void 0:Pn.class),role:"combobox","aria-expanded":rr,"aria-haspopup":"listbox","aria-owns":`${Nn}_list`,"aria-autocomplete":"list","aria-controls":`${Nn}_list`,"aria-activedescendant":zn}),ta),{value:Hn?Wn:"",readonly:!Hn,unselectable:Hn?null:"on",style:_extends$1(_extends$1({},ia),{opacity:Hn?null:0}),onKeydown:fa=>{Yn(fa),ea&&ea(fa)},onMousedown:fa=>{Gn(fa),aa&&aa(fa)},onInput:fa=>{Go(fa),la&&la(fa)},onCompositionstart(fa){Yo(fa),ca&&ca(fa)},onCompositionend(fa){qo(fa),sa&&sa(fa)},onPaste:Xn,onFocus:function(){clearTimeout(Cn),ua&&ua(arguments.length<=0?void 0:arguments[0]),Jo&&Jo(arguments.length<=0?void 0:arguments[0]),_n==null||_n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var fa=arguments.length,ma=new Array(fa),ya=0;ya<fa;ya++)ma[ya]=arguments[ya];Cn=setTimeout(()=>{ga&&ga(ma[0]),Zo&&Zo(ma[0]),_n==null||_n.blur(ma[0])},100)}}),oa.type==="textarea"?{}:{type:"search"}),!0,!0),oa}}}),Input$2=Input$1,attributes=`accept acceptcharset accesskey action allowfullscreen allowtransparency
-alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
-charset checked classid classname colspan cols content contenteditable contextmenu
-controls coords crossorigin data datetime default defer dir disabled download draggable
-enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
-headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
-is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
-mediagroup method min minlength multiple muted name novalidate nonce open
-optimum pattern placeholder poster preload radiogroup readonly rel required
-reversed role rowspan rows sandbox scope scoped scrolling seamless selected
-shape size sizes span spellcheck src srcdoc srclang srcset start step style
-summary tabindex target title type usemap value width wmode wrap`,eventsName=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
- onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
- onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
- onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
- onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
- onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
- onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,propList=`${attributes} ${eventsName}`.split(/[\s\n]+/),ariaPrefix="aria-",dataPrefix="data-";function match($n,Cn){return $n.indexOf(Cn)===0}function pickAttrs($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_n;Cn===!1?_n={aria:!0,data:!0,attr:!0}:Cn===!0?_n={aria:!0}:_n=_extends$1({},Cn);const Pn={};return Object.keys($n).forEach(In=>{(_n.aria&&(In==="role"||match(In,ariaPrefix))||_n.data&&match(In,dataPrefix)||_n.attr&&(propList.includes(In)||propList.includes(In.toLowerCase())))&&(Pn[In]=$n[In])}),Pn}const OverflowContextProviderKey=Symbol("OverflowContextProviderKey"),OverflowContextProvider=defineComponent({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup($n,Cn){let{slots:_n}=Cn;return provide(OverflowContextProviderKey,computed(()=>$n.value)),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),useInjectOverflowContext=()=>inject(OverflowContextProviderKey,computed(()=>null));var __rest$1c=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const UNDEFINED=void 0,Item$3=defineComponent({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:PropTypes.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:PropTypes.any,invalidate:Boolean},setup($n,Cn){let{slots:_n,expose:Pn}=Cn;const In=computed(()=>$n.responsive&&!$n.display),Nn=ref();Pn({itemNodeRef:Nn});function Rn(Dn){$n.registerSize($n.itemKey,Dn)}return onUnmounted(()=>{Rn(null)}),()=>{var Dn;const{prefixCls:Ln,invalidate:Fn,item:Bn,renderItem:Hn,responsive:zn,registerSize:Wn,itemKey:Yn,display:Gn,order:Go,component:Xn="div"}=$n,Yo=__rest$1c($n,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),qo=(Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n),Jo=Hn&&Bn!==UNDEFINED?Hn(Bn):qo;let Zo;Fn||(Zo={opacity:In.value?0:1,height:In.value?0:UNDEFINED,overflowY:In.value?"hidden":UNDEFINED,order:zn?Go:UNDEFINED,pointerEvents:In.value?"none":UNDEFINED,position:In.value?"absolute":UNDEFINED});const rr={};return In.value&&(rr["aria-hidden"]=!0),createVNode(ResizeObserver$1,{disabled:!zn,onResize:nr=>{let{offsetWidth:ta}=nr;Rn(ta)}},{default:()=>createVNode(Xn,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({class:classNames(!Fn&&Ln),style:Zo},rr),Yo),{},{ref:Nn}),{default:()=>[Jo]})})}}});var __rest$1b=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const RawItem=defineComponent({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:PropTypes.any,title:PropTypes.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=useInjectOverflowContext();return()=>{var Nn;if(!In.value){const{component:Hn="div"}=$n,zn=__rest$1b($n,["component"]);return createVNode(Hn,_objectSpread2$1(_objectSpread2$1({},zn),Pn),{default:()=>[(Nn=_n.default)===null||Nn===void 0?void 0:Nn.call(_n)]})}const Rn=In.value,{className:Dn}=Rn,Ln=__rest$1b(Rn,["className"]),{class:Fn}=Pn,Bn=__rest$1b(Pn,["class"]);return createVNode(OverflowContextProvider,{value:null},{default:()=>[createVNode(Item$3,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({class:classNames(Dn,Fn)},Ln),Bn),$n),_n)]})}}});var __rest$1a=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const RESPONSIVE="responsive",INVALIDATE="invalidate";function defaultRenderRest($n){return`+ ${$n.length} ...`}const overflowProps=()=>({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:PropTypes.any,component:String,itemComponent:PropTypes.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),Overflow=defineComponent({name:"Overflow",inheritAttrs:!1,props:overflowProps(),emits:["visibleChange"],setup($n,Cn){let{attrs:_n,emit:Pn,slots:In}=Cn;const Nn=computed(()=>$n.ssr==="full"),Rn=shallowRef(null),Dn=computed(()=>Rn.value||0),Ln=shallowRef(new Map),Fn=shallowRef(0),Bn=shallowRef(0),Hn=shallowRef(0),zn=shallowRef(null),Wn=shallowRef(null),Yn=computed(()=>Wn.value===null&&Nn.value?Number.MAX_SAFE_INTEGER:Wn.value||0),Gn=shallowRef(!1),Go=computed(()=>`${$n.prefixCls}-item`),Xn=computed(()=>Math.max(Fn.value,Bn.value)),Yo=computed(()=>!!($n.data.length&&$n.maxCount===RESPONSIVE)),qo=computed(()=>$n.maxCount===INVALIDATE),Jo=computed(()=>Yo.value||typeof $n.maxCount=="number"&&$n.data.length>$n.maxCount),Zo=computed(()=>{let aa=$n.data;return Yo.value?Rn.value===null&&Nn.value?aa=$n.data:aa=$n.data.slice(0,Math.min($n.data.length,Dn.value/$n.itemWidth)):typeof $n.maxCount=="number"&&(aa=$n.data.slice(0,$n.maxCount)),aa}),rr=computed(()=>Yo.value?$n.data.slice(Yn.value+1):$n.data.slice(Zo.value.length)),nr=(aa,ca)=>{var sa;return typeof $n.itemKey=="function"?$n.itemKey(aa):(sa=$n.itemKey&&(aa==null?void 0:aa[$n.itemKey]))!==null&&sa!==void 0?sa:ca},ta=computed(()=>$n.renderItem||(aa=>aa)),oa=(aa,ca)=>{Wn.value=aa,ca||(Gn.value=aa<$n.data.length-1,Pn("visibleChange",aa))},ra=(aa,ca)=>{Rn.value=ca.clientWidth},ea=(aa,ca)=>{const sa=new Map(Ln.value);ca===null?sa.delete(aa):sa.set(aa,ca),Ln.value=sa},la=(aa,ca)=>{Fn.value=Bn.value,Bn.value=ca},ua=(aa,ca)=>{Hn.value=ca},ga=aa=>Ln.value.get(nr(Zo.value[aa],aa));return watch([Dn,Ln,Bn,Hn,()=>$n.itemKey,Zo],()=>{if(Dn.value&&Xn.value&&Zo.value){let aa=Hn.value;const ca=Zo.value.length,sa=ca-1;if(!ca){oa(0),zn.value=null;return}for(let ia=0;ia<ca;ia+=1){const fa=ga(ia);if(fa===void 0){oa(ia-1,!0);break}if(aa+=fa,sa===0&&aa<=Dn.value||ia===sa-1&&aa+ga(sa)<=Dn.value){oa(sa),zn.value=null;break}else if(aa+Xn.value>Dn.value){oa(ia-1),zn.value=aa-fa-Hn.value+Bn.value;break}}$n.suffix&&ga(0)+Hn.value>Dn.value&&(zn.value=null)}}),()=>{const aa=Gn.value&&!!rr.value.length,{itemComponent:ca,renderRawItem:sa,renderRawRest:ia,renderRest:fa,prefixCls:ma="rc-overflow",suffix:ya,component:ba="div",id:Ia,onMousedown:Ea}=$n,{class:xa,style:Ta}=_n,wa=__rest$1a(_n,["class","style"]);let La={};zn.value!==null&&Yo.value&&(La={position:"absolute",left:`${zn.value}px`,top:0});const Na={prefixCls:Go.value,responsive:Yo.value,component:ca,invalidate:qo.value},$a=sa?(pa,Sa)=>{const Aa=nr(pa,Sa);return createVNode(OverflowContextProvider,{key:Aa,value:_extends$1(_extends$1({},Na),{order:Sa,item:pa,itemKey:Aa,registerSize:ea,display:Sa<=Yn.value})},{default:()=>[sa(pa,Sa)]})}:(pa,Sa)=>{const Aa=nr(pa,Sa);return createVNode(Item$3,_objectSpread2$1(_objectSpread2$1({},Na),{},{order:Sa,key:Aa,item:pa,renderItem:ta.value,itemKey:Aa,registerSize:ea,display:Sa<=Yn.value}),null)};let ka=()=>null;const Ha={order:aa?Yn.value:Number.MAX_SAFE_INTEGER,className:`${Go.value} ${Go.value}-rest`,registerSize:la,display:aa};if(ia)ia&&(ka=()=>createVNode(OverflowContextProvider,{value:_extends$1(_extends$1({},Na),Ha)},{default:()=>[ia(rr.value)]}));else{const pa=fa||defaultRenderRest;ka=()=>createVNode(Item$3,_objectSpread2$1(_objectSpread2$1({},Na),Ha),{default:()=>typeof pa=="function"?pa(rr.value):pa})}const da=()=>{var pa;return createVNode(ba,_objectSpread2$1({id:Ia,class:classNames(!qo.value&&ma,xa),style:Ta,onMousedown:Ea},wa),{default:()=>[Zo.value.map($a),Jo.value?ka():null,ya&&createVNode(Item$3,_objectSpread2$1(_objectSpread2$1({},Na),{},{order:Yn.value,class:`${Go.value}-suffix`,registerSize:ua,display:!0,style:La}),{default:()=>ya}),(pa=In.default)===null||pa===void 0?void 0:pa.call(In)]})};return createVNode(ResizeObserver$1,{disabled:!Yo.value,onResize:ra},{default:da})}}});Overflow.Item=RawItem;Overflow.RESPONSIVE=RESPONSIVE;Overflow.INVALIDATE=INVALIDATE;const Overflow$1=Overflow,TreeSelectLegacyContextPropsKey=Symbol("TreeSelectLegacyContextPropsKey");function useProvideLegacySelectContext($n){return provide(TreeSelectLegacyContextPropsKey,$n)}function useInjectLegacySelectContext(){return inject(TreeSelectLegacyContextPropsKey,{})}const props$2={id:String,prefixCls:String,values:PropTypes.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:PropTypes.any,placeholder:PropTypes.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),removeIcon:PropTypes.any,choiceTransitionName:String,maxTagCount:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),maxTagTextLength:Number,maxTagPlaceholder:PropTypes.any.def(()=>$n=>`+ ${$n.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},onPreventMouseDown=$n=>{$n.preventDefault(),$n.stopPropagation()},SelectSelector=defineComponent({name:"MultipleSelectSelector",inheritAttrs:!1,props:props$2,setup($n){const Cn=shallowRef(),_n=shallowRef(0),Pn=shallowRef(!1),In=useInjectLegacySelectContext(),Nn=computed(()=>`${$n.prefixCls}-selection`),Rn=computed(()=>$n.open||$n.mode==="tags"?$n.searchValue:""),Dn=computed(()=>$n.mode==="tags"||$n.showSearch&&($n.open||Pn.value));onMounted(()=>{watch(Rn,()=>{_n.value=Cn.value.scrollWidth},{flush:"post",immediate:!0})});function Ln(zn,Wn,Yn,Gn,Go){return createVNode("span",{class:classNames(`${Nn.value}-item`,{[`${Nn.value}-item-disabled`]:Yn}),title:typeof zn=="string"||typeof zn=="number"?zn.toString():void 0},[createVNode("span",{class:`${Nn.value}-item-content`},[Wn]),Gn&&createVNode(TransBtn$1,{class:`${Nn.value}-item-remove`,onMousedown:onPreventMouseDown,onClick:Go,customizeIcon:$n.removeIcon},{default:()=>[createTextVNode("×")]})])}function Fn(zn,Wn,Yn,Gn,Go,Xn){var Yo;const qo=Zo=>{onPreventMouseDown(Zo),$n.onToggleOpen(!open)};let Jo=Xn;return In.keyEntities&&(Jo=((Yo=In.keyEntities[zn])===null||Yo===void 0?void 0:Yo.node)||{}),createVNode("span",{key:zn,onMousedown:qo},[$n.tagRender({label:Wn,value:zn,disabled:Yn,closable:Gn,onClose:Go,option:Jo})])}function Bn(zn){const{disabled:Wn,label:Yn,value:Gn,option:Go}=zn,Xn=!$n.disabled&&!Wn;let Yo=Yn;if(typeof $n.maxTagTextLength=="number"&&(typeof Yn=="string"||typeof Yn=="number")){const Jo=String(Yo);Jo.length>$n.maxTagTextLength&&(Yo=`${Jo.slice(0,$n.maxTagTextLength)}...`)}const qo=Jo=>{var Zo;Jo&&Jo.stopPropagation(),(Zo=$n.onRemove)===null||Zo===void 0||Zo.call($n,zn)};return typeof $n.tagRender=="function"?Fn(Gn,Yo,Wn,Xn,qo,Go):Ln(Yn,Yo,Wn,Xn,qo)}function Hn(zn){const{maxTagPlaceholder:Wn=Gn=>`+ ${Gn.length} ...`}=$n,Yn=typeof Wn=="function"?Wn(zn):Wn;return Ln(Yn,Yn,!1)}return()=>{const{id:zn,prefixCls:Wn,values:Yn,open:Gn,inputRef:Go,placeholder:Xn,disabled:Yo,autofocus:qo,autocomplete:Jo,activeDescendantId:Zo,tabindex:rr,onInputChange:nr,onInputPaste:ta,onInputKeyDown:oa,onInputMouseDown:ra,onInputCompositionStart:ea,onInputCompositionEnd:la}=$n,ua=createVNode("div",{class:`${Nn.value}-search`,style:{width:_n.value+"px"},key:"input"},[createVNode(Input$2,{inputRef:Go,open:Gn,prefixCls:Wn,id:zn,inputElement:null,disabled:Yo,autofocus:qo,autocomplete:Jo,editable:Dn.value,activeDescendantId:Zo,value:Rn.value,onKeydown:oa,onMousedown:ra,onChange:nr,onPaste:ta,onCompositionstart:ea,onCompositionend:la,tabindex:rr,attrs:pickAttrs($n,!0),onFocus:()=>Pn.value=!0,onBlur:()=>Pn.value=!1},null),createVNode("span",{ref:Cn,class:`${Nn.value}-search-mirror`,"aria-hidden":!0},[Rn.value,createTextVNode(" ")])]),ga=createVNode(Overflow$1,{prefixCls:`${Nn.value}-overflow`,data:Yn,renderItem:Bn,renderRest:Hn,suffix:ua,itemKey:"key",maxCount:$n.maxTagCount,key:"overflow"},null);return createVNode(Fragment,null,[ga,!Yn.length&&!Rn.value&&createVNode("span",{class:`${Nn.value}-placeholder`},[Xn])])}}}),MultipleSelector=SelectSelector,props$1={inputElement:PropTypes.any,id:String,prefixCls:String,values:PropTypes.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:PropTypes.any,placeholder:PropTypes.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},SingleSelector=defineComponent({name:"SingleSelector",setup($n){const Cn=shallowRef(!1),_n=computed(()=>$n.mode==="combobox"),Pn=computed(()=>_n.value||$n.showSearch),In=computed(()=>{let Fn=$n.searchValue||"";return _n.value&&$n.activeValue&&!Cn.value&&(Fn=$n.activeValue),Fn}),Nn=useInjectLegacySelectContext();watch([_n,()=>$n.activeValue],()=>{_n.value&&(Cn.value=!1)},{immediate:!0});const Rn=computed(()=>$n.mode!=="combobox"&&!$n.open&&!$n.showSearch?!1:!!In.value),Dn=computed(()=>{const Fn=$n.values[0];return Fn&&(typeof Fn.label=="string"||typeof Fn.label=="number")?Fn.label.toString():void 0}),Ln=()=>{if($n.values[0])return null;const Fn=Rn.value?{visibility:"hidden"}:void 0;return createVNode("span",{class:`${$n.prefixCls}-selection-placeholder`,style:Fn},[$n.placeholder])};return()=>{var Fn,Bn,Hn,zn;const{inputElement:Wn,prefixCls:Yn,id:Gn,values:Go,inputRef:Xn,disabled:Yo,autofocus:qo,autocomplete:Jo,activeDescendantId:Zo,open:rr,tabindex:nr,optionLabelRender:ta,onInputKeyDown:oa,onInputMouseDown:ra,onInputChange:ea,onInputPaste:la,onInputCompositionStart:ua,onInputCompositionEnd:ga}=$n,aa=Go[0];let ca=null;if(aa&&Nn.customSlots){const sa=(Fn=aa.key)!==null&&Fn!==void 0?Fn:aa.value,ia=((Bn=Nn.keyEntities[sa])===null||Bn===void 0?void 0:Bn.node)||{};ca=Nn.customSlots[(Hn=ia.slots)===null||Hn===void 0?void 0:Hn.title]||Nn.customSlots.title||aa.label,typeof ca=="function"&&(ca=ca(ia))}else ca=ta&&aa?ta(aa.option):aa==null?void 0:aa.label;return createVNode(Fragment,null,[createVNode("span",{class:`${Yn}-selection-search`},[createVNode(Input$2,{inputRef:Xn,prefixCls:Yn,id:Gn,open:rr,inputElement:Wn,disabled:Yo,autofocus:qo,autocomplete:Jo,editable:Pn.value,activeDescendantId:Zo,value:In.value,onKeydown:oa,onMousedown:ra,onChange:sa=>{Cn.value=!0,ea(sa)},onPaste:la,onCompositionstart:ua,onCompositionend:ga,tabindex:nr,attrs:pickAttrs($n,!0)},null)]),!_n.value&&aa&&!Rn.value&&createVNode("span",{class:`${Yn}-selection-item`,title:Dn.value},[createVNode(Fragment,{key:(zn=aa.key)!==null&&zn!==void 0?zn:aa.value},[ca])]),Ln()])}}});SingleSelector.props=props$1;SingleSelector.inheritAttrs=!1;const SingleSelector$1=SingleSelector;function isValidateOpenKey($n){return![KeyCode$1.ESC,KeyCode$1.SHIFT,KeyCode$1.BACKSPACE,KeyCode$1.TAB,KeyCode$1.WIN_KEY,KeyCode$1.ALT,KeyCode$1.META,KeyCode$1.WIN_KEY_RIGHT,KeyCode$1.CTRL,KeyCode$1.SEMICOLON,KeyCode$1.EQUALS,KeyCode$1.CAPS_LOCK,KeyCode$1.CONTEXT_MENU,KeyCode$1.F1,KeyCode$1.F2,KeyCode$1.F3,KeyCode$1.F4,KeyCode$1.F5,KeyCode$1.F6,KeyCode$1.F7,KeyCode$1.F8,KeyCode$1.F9,KeyCode$1.F10,KeyCode$1.F11,KeyCode$1.F12].includes($n)}function useLock(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Cn=null,_n;onBeforeUnmount(()=>{clearTimeout(_n)});function Pn(In){(In||Cn===null)&&(Cn=In),clearTimeout(_n),_n=setTimeout(()=>{Cn=null},$n)}return[()=>Cn,Pn]}function createRef(){const $n=Cn=>{$n.current=Cn};return $n}const Selector=defineComponent({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:PropTypes.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:PropTypes.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),disabled:{type:Boolean,default:void 0},placeholder:PropTypes.any,removeIcon:PropTypes.any,maxTagCount:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),maxTagTextLength:Number,maxTagPlaceholder:PropTypes.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup($n,Cn){let{expose:_n}=Cn;const Pn=createRef();let In=!1;const[Nn,Rn]=useLock(0),Dn=Xn=>{const{which:Yo}=Xn;(Yo===KeyCode$1.UP||Yo===KeyCode$1.DOWN)&&Xn.preventDefault(),$n.onInputKeyDown&&$n.onInputKeyDown(Xn),Yo===KeyCode$1.ENTER&&$n.mode==="tags"&&!In&&!$n.open&&$n.onSearchSubmit(Xn.target.value),isValidateOpenKey(Yo)&&$n.onToggleOpen(!0)},Ln=()=>{Rn(!0)};let Fn=null;const Bn=Xn=>{$n.onSearch(Xn,!0,In)!==!1&&$n.onToggleOpen(!0)},Hn=()=>{In=!0},zn=Xn=>{In=!1,$n.mode!=="combobox"&&Bn(Xn.target.value)},Wn=Xn=>{let{target:{value:Yo}}=Xn;if($n.tokenWithEnter&&Fn&&/[\r\n]/.test(Fn)){const qo=Fn.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Yo=Yo.replace(qo,Fn)}Fn=null,Bn(Yo)},Yn=Xn=>{const{clipboardData:Yo}=Xn;Fn=Yo.getData("text")},Gn=Xn=>{let{target:Yo}=Xn;Yo!==Pn.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{Pn.current.focus()}):Pn.current.focus())},Go=Xn=>{const Yo=Nn();Xn.target!==Pn.current&&!Yo&&Xn.preventDefault(),($n.mode!=="combobox"&&(!$n.showSearch||!Yo)||!$n.open)&&($n.open&&$n.onSearch("",!0,!1),$n.onToggleOpen())};return _n({focus:()=>{Pn.current.focus()},blur:()=>{Pn.current.blur()}}),()=>{const{prefixCls:Xn,domRef:Yo,mode:qo}=$n,Jo={inputRef:Pn,onInputKeyDown:Dn,onInputMouseDown:Ln,onInputChange:Wn,onInputPaste:Yn,onInputCompositionStart:Hn,onInputCompositionEnd:zn},Zo=qo==="multiple"||qo==="tags"?createVNode(MultipleSelector,_objectSpread2$1(_objectSpread2$1({},$n),Jo),null):createVNode(SingleSelector$1,_objectSpread2$1(_objectSpread2$1({},$n),Jo),null);return createVNode("div",{ref:Yo,class:`${Xn}-selector`,onClick:Gn,onMousedown:Go},[Zo])}}}),Selector$1=Selector;function useSelectTriggerControl($n,Cn,_n){function Pn(In){var Nn,Rn,Dn;let Ln=In.target;Ln.shadowRoot&&In.composed&&(Ln=In.composedPath()[0]||Ln);const Fn=[(Nn=$n[0])===null||Nn===void 0?void 0:Nn.value,(Dn=(Rn=$n[1])===null||Rn===void 0?void 0:Rn.value)===null||Dn===void 0?void 0:Dn.getPopupElement()];Cn.value&&Fn.every(Bn=>Bn&&!Bn.contains(Ln)&&Bn!==Ln)&&_n(!1)}onMounted(()=>{window.addEventListener("mousedown",Pn)}),onBeforeUnmount(()=>{window.removeEventListener("mousedown",Pn)})}function useDelayReset(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const Cn=shallowRef(!1);let _n;const Pn=()=>{clearTimeout(_n)};return onMounted(()=>{Pn()}),[Cn,(Nn,Rn)=>{Pn(),_n=setTimeout(()=>{Cn.value=Nn,Rn&&Rn()},$n)},Pn]}const BaseSelectContextKey=Symbol("BaseSelectContextKey");function useProvideBaseSelectProps($n){return provide(BaseSelectContextKey,$n)}function useBaseProps(){return inject(BaseSelectContextKey,{})}const isMobile=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const $n=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test($n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test($n==null?void 0:$n.substr(0,4))};function toReactive($n){if(!isRef($n))return reactive($n);const Cn=new Proxy({},{get(_n,Pn,In){return Reflect.get($n.value,Pn,In)},set(_n,Pn,In){return $n.value[Pn]=In,!0},deleteProperty(_n,Pn){return Reflect.deleteProperty($n.value,Pn)},has(_n,Pn){return Reflect.has($n.value,Pn)},ownKeys(){return Object.keys($n.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(Cn)}var __rest$19=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const DEFAULT_OMIT_PROPS=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],baseSelectPrivateProps=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:PropTypes.any,emptyOptions:Boolean}),baseSelectPropsWithoutPrivate=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:PropTypes.any,placeholder:PropTypes.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:PropTypes.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:PropTypes.any,clearIcon:PropTypes.any,removeIcon:PropTypes.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),baseSelectProps=()=>_extends$1(_extends$1({},baseSelectPrivateProps()),baseSelectPropsWithoutPrivate());function isMultiple($n){return $n==="tags"||$n==="multiple"}const BaseSelect=defineComponent({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:initDefaultProps(baseSelectProps(),{showAction:[],notFoundContent:"Not Found"}),setup($n,Cn){let{attrs:_n,expose:Pn,slots:In}=Cn;const Nn=computed(()=>isMultiple($n.mode)),Rn=computed(()=>$n.showSearch!==void 0?$n.showSearch:Nn.value||$n.mode==="combobox"),Dn=shallowRef(!1);onMounted(()=>{Dn.value=isMobile()});const Ln=useInjectLegacySelectContext(),Fn=shallowRef(null),Bn=createRef(),Hn=shallowRef(null),zn=shallowRef(null),Wn=shallowRef(null),Yn=ref(!1),[Gn,Go,Xn]=useDelayReset();Pn({focus:()=>{var $a;($a=zn.value)===null||$a===void 0||$a.focus()},blur:()=>{var $a;($a=zn.value)===null||$a===void 0||$a.blur()},scrollTo:$a=>{var ka;return(ka=Wn.value)===null||ka===void 0?void 0:ka.scrollTo($a)}});const Jo=computed(()=>{var $a;if($n.mode!=="combobox")return $n.searchValue;const ka=($a=$n.displayValues[0])===null||$a===void 0?void 0:$a.value;return typeof ka=="string"||typeof ka=="number"?String(ka):""}),Zo=$n.open!==void 0?$n.open:$n.defaultOpen,rr=shallowRef(Zo),nr=shallowRef(Zo),ta=$a=>{rr.value=$n.open!==void 0?$n.open:$a,nr.value=rr.value};watch(()=>$n.open,()=>{ta($n.open)});const oa=computed(()=>!$n.notFoundContent&&$n.emptyOptions);watchEffect(()=>{nr.value=rr.value,($n.disabled||oa.value&&nr.value&&$n.mode==="combobox")&&(nr.value=!1)});const ra=computed(()=>oa.value?!1:nr.value),ea=$a=>{const ka=$a!==void 0?$a:!nr.value;nr.value!==ka&&!$n.disabled&&(ta(ka),$n.onDropdownVisibleChange&&$n.onDropdownVisibleChange(ka))},la=computed(()=>($n.tokenSeparators||[]).some($a=>[`
-`,`\r
-`].includes($a))),ua=($a,ka,Ha)=>{var da,pa;let Sa=!0,Aa=$a;(da=$n.onActiveValueChange)===null||da===void 0||da.call($n,null);const Ra=Ha?null:getSeparatedContent($a,$n.tokenSeparators);return $n.mode!=="combobox"&&Ra&&(Aa="",(pa=$n.onSearchSplit)===null||pa===void 0||pa.call($n,Ra),ea(!1),Sa=!1),$n.onSearch&&Jo.value!==Aa&&$n.onSearch(Aa,{source:ka?"typing":"effect"}),Sa},ga=$a=>{var ka;!$a||!$a.trim()||(ka=$n.onSearch)===null||ka===void 0||ka.call($n,$a,{source:"submit"})};watch(nr,()=>{!nr.value&&!Nn.value&&$n.mode!=="combobox"&&ua("",!1,!1)},{immediate:!0,flush:"post"}),watch(()=>$n.disabled,()=>{rr.value&&$n.disabled&&ta(!1),$n.disabled&&!Yn.value&&Go(!1)},{immediate:!0});const[aa,ca]=useLock(),sa=function($a){var ka;const Ha=aa(),{which:da}=$a;if(da===KeyCode$1.ENTER&&($n.mode!=="combobox"&&$a.preventDefault(),nr.value||ea(!0)),ca(!!Jo.value),da===KeyCode$1.BACKSPACE&&!Ha&&Nn.value&&!Jo.value&&$n.displayValues.length){const Ra=[...$n.displayValues];let Fa=null;for(let za=Ra.length-1;za>=0;za-=1){const Wa=Ra[za];if(!Wa.disabled){Ra.splice(za,1),Fa=Wa;break}}Fa&&$n.onDisplayValuesChange(Ra,{type:"remove",values:[Fa]})}for(var pa=arguments.length,Sa=new Array(pa>1?pa-1:0),Aa=1;Aa<pa;Aa++)Sa[Aa-1]=arguments[Aa];nr.value&&Wn.value&&Wn.value.onKeydown($a,...Sa),(ka=$n.onKeydown)===null||ka===void 0||ka.call($n,$a,...Sa)},ia=function($a){for(var ka=arguments.length,Ha=new Array(ka>1?ka-1:0),da=1;da<ka;da++)Ha[da-1]=arguments[da];nr.value&&Wn.value&&Wn.value.onKeyup($a,...Ha),$n.onKeyup&&$n.onKeyup($a,...Ha)},fa=$a=>{const ka=$n.displayValues.filter(Ha=>Ha!==$a);$n.onDisplayValuesChange(ka,{type:"remove",values:[$a]})},ma=shallowRef(!1),ya=function(){Go(!0),$n.disabled||($n.onFocus&&!ma.value&&$n.onFocus(...arguments),$n.showAction&&$n.showAction.includes("focus")&&ea(!0)),ma.value=!0},ba=ref(!1),Ia=function(){if(ba.value||(Yn.value=!0,Go(!1,()=>{ma.value=!1,Yn.value=!1,ea(!1)}),$n.disabled))return;const $a=Jo.value;$a&&($n.mode==="tags"?$n.onSearch($a,{source:"submit"}):$n.mode==="multiple"&&$n.onSearch("",{source:"blur"})),$n.onBlur&&$n.onBlur(...arguments)},Ea=()=>{ba.value=!0},xa=()=>{ba.value=!1};provide("VCSelectContainerEvent",{focus:ya,blur:Ia});const Ta=[];onMounted(()=>{Ta.forEach($a=>clearTimeout($a)),Ta.splice(0,Ta.length)}),onBeforeUnmount(()=>{Ta.forEach($a=>clearTimeout($a)),Ta.splice(0,Ta.length)});const wa=function($a){var ka,Ha;const{target:da}=$a,pa=(ka=Hn.value)===null||ka===void 0?void 0:ka.getPopupElement();if(pa&&pa.contains(da)){const Fa=setTimeout(()=>{var za;const Wa=Ta.indexOf(Fa);Wa!==-1&&Ta.splice(Wa,1),Xn(),!Dn.value&&!pa.contains(document.activeElement)&&((za=zn.value)===null||za===void 0||za.focus())});Ta.push(Fa)}for(var Sa=arguments.length,Aa=new Array(Sa>1?Sa-1:0),Ra=1;Ra<Sa;Ra++)Aa[Ra-1]=arguments[Ra];(Ha=$n.onMousedown)===null||Ha===void 0||Ha.call($n,$a,...Aa)},La=shallowRef(null),Na=()=>{};return onMounted(()=>{watch(ra,()=>{var $a;if(ra.value){const ka=Math.ceil(($a=Fn.value)===null||$a===void 0?void 0:$a.offsetWidth);La.value!==ka&&!Number.isNaN(ka)&&(La.value=ka)}},{immediate:!0,flush:"post"})}),useSelectTriggerControl([Fn,Hn],ra,ea),useProvideBaseSelectProps(toReactive(_extends$1(_extends$1({},toRefs($n)),{open:nr,triggerOpen:ra,showSearch:Rn,multiple:Nn,toggleOpen:ea}))),()=>{const $a=_extends$1(_extends$1({},$n),_n),{prefixCls:ka,id:Ha,open:da,defaultOpen:pa,mode:Sa,showSearch:Aa,searchValue:Ra,onSearch:Fa,allowClear:za,clearIcon:Wa,showArrow:Ya,inputIcon:ja,disabled:qa,loading:Xa,getInputElement:Oa,getPopupContainer:Ma,placement:Ua,animation:Qa,transitionName:ri,dropdownStyle:fi,dropdownClassName:ei,dropdownMatchSelectWidth:ti,dropdownRender:ni,dropdownAlign:ui,showAction:mi,direction:di,tokenSeparators:gi,tagRender:wi,optionLabelRender:Ti,onPopupScroll:Ei,onDropdownVisibleChange:Ni,onFocus:Ri,onBlur:Zi,onKeyup:Qi,onKeydown:Ji,onMousedown:Yi,onClear:rl,omitDomProps:yi,getRawInputElement:il,displayValues:Tl,onDisplayValuesChange:ul,emptyOptions:ts,activeDescendantId:ci,activeValue:Ci,OptionList:bi}=$a,Bi=__rest$19($a,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),nl=Sa==="combobox"&&Oa&&Oa()||null,el=typeof il=="function"&&il(),gl=_extends$1({},Bi);let ll;el&&(ll=vl=>{ea(vl)}),DEFAULT_OMIT_PROPS.forEach(vl=>{delete gl[vl]}),yi==null||yi.forEach(vl=>{delete gl[vl]});const Rl=Ya!==void 0?Ya:Xa||!Nn.value&&Sa!=="combobox";let ml;Rl&&(ml=createVNode(TransBtn$1,{class:classNames(`${ka}-arrow`,{[`${ka}-arrow-loading`]:Xa}),customizeIcon:ja,customizeIconProps:{loading:Xa,searchValue:Jo.value,open:nr.value,focused:Gn.value,showSearch:Rn.value}},null));let hl;const zi=()=>{rl==null||rl(),ul([],{type:"clear",values:Tl}),ua("",!1,!1)};!qa&&za&&(Tl.length||Jo.value)&&(hl=createVNode(TransBtn$1,{class:`${ka}-clear`,onMousedown:zi,customizeIcon:Wa},{default:()=>[createTextVNode("×")]}));const Pl=createVNode(bi,{ref:Wn},_extends$1(_extends$1({},Ln.customSlots),{option:In.option})),Cl=classNames(ka,_n.class,{[`${ka}-focused`]:Gn.value,[`${ka}-multiple`]:Nn.value,[`${ka}-single`]:!Nn.value,[`${ka}-allow-clear`]:za,[`${ka}-show-arrow`]:Rl,[`${ka}-disabled`]:qa,[`${ka}-loading`]:Xa,[`${ka}-open`]:nr.value,[`${ka}-customize-input`]:nl,[`${ka}-show-search`]:Rn.value}),Fl=createVNode(SelectTrigger$1,{ref:Hn,disabled:qa,prefixCls:ka,visible:ra.value,popupElement:Pl,containerWidth:La.value,animation:Qa,transitionName:ri,dropdownStyle:fi,dropdownClassName:ei,direction:di,dropdownMatchSelectWidth:ti,dropdownRender:ni,dropdownAlign:ui,placement:Ua,getPopupContainer:Ma,empty:ts,getTriggerDOMNode:()=>Bn.current,onPopupVisibleChange:ll,onPopupMouseEnter:Na,onPopupFocusin:Ea,onPopupFocusout:xa},{default:()=>el?isValidElement(el)&&cloneElement(el,{ref:Bn},!1,!0):createVNode(Selector$1,_objectSpread2$1(_objectSpread2$1({},$n),{},{domRef:Bn,prefixCls:ka,inputElement:nl,ref:zn,id:Ha,showSearch:Rn.value,mode:Sa,activeDescendantId:ci,tagRender:wi,optionLabelRender:Ti,values:Tl,open:nr.value,onToggleOpen:ea,activeValue:Ci,searchValue:Jo.value,onSearch:ua,onSearchSubmit:ga,onRemove:fa,tokenWithEnter:la.value}),null)});let Bl;return el?Bl=Fl:Bl=createVNode("div",_objectSpread2$1(_objectSpread2$1({},gl),{},{class:Cl,ref:Fn,onMousedown:wa,onKeydown:sa,onKeyup:ia}),[Gn.value&&!nr.value&&createVNode("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Tl.map(vl=>{let{label:ns,value:yl}=vl;return["number","string"].includes(typeof ns)?ns:yl}).join(", ")}`]),Fl,ml,hl]),Bl}}}),Filter=($n,Cn)=>{let{height:_n,offset:Pn,prefixCls:In,onInnerResize:Nn}=$n,{slots:Rn}=Cn;var Dn;let Ln={},Fn={display:"flex",flexDirection:"column"};return Pn!==void 0&&(Ln={height:`${_n}px`,position:"relative",overflow:"hidden"},Fn=_extends$1(_extends$1({},Fn),{transform:`translateY(${Pn}px)`,position:"absolute",left:0,right:0,top:0})),createVNode("div",{style:Ln},[createVNode(ResizeObserver$1,{onResize:Bn=>{let{offsetHeight:Hn}=Bn;Hn&&Nn&&Nn()}},{default:()=>[createVNode("div",{style:Fn,class:classNames({[`${In}-holder-inner`]:In})},[(Dn=Rn.default)===null||Dn===void 0?void 0:Dn.call(Rn)])]})])};Filter.displayName="Filter";Filter.inheritAttrs=!1;Filter.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const Filler=Filter,Item$1=($n,Cn)=>{let{setRef:_n}=$n,{slots:Pn}=Cn;var In;const Nn=flattenChildren((In=Pn.default)===null||In===void 0?void 0:In.call(Pn));return Nn&&Nn.length?cloneVNode(Nn[0],{ref:_n}):Nn};Item$1.props={setRef:{type:Function,default:()=>{}}};const Item$2=Item$1,MIN_SIZE=20;function getPageY($n){return"touches"in $n?$n.touches[0].pageY:$n.pageY}const ScrollBar=defineComponent({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:createRef(),thumbRef:createRef(),visibleTimeout:null,state:reactive({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var $n,Cn;($n=this.scrollbarRef.current)===null||$n===void 0||$n.addEventListener("touchstart",this.onScrollbarTouchStart,supportsPassive$1?{passive:!1}:!1),(Cn=this.thumbRef.current)===null||Cn===void 0||Cn.addEventListener("touchstart",this.onMouseDown,supportsPassive$1?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart($n){$n.preventDefault()},onContainerMouseDown($n){$n.stopPropagation(),$n.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,supportsPassive$1?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,supportsPassive$1?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,supportsPassive$1?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,supportsPassive$1?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),wrapperRaf.cancel(this.moveRaf)},onMouseDown($n){const{onStartMove:Cn}=this.$props;_extends$1(this.state,{dragging:!0,pageY:getPageY($n),startTop:this.getTop()}),Cn(),this.patchEvents(),$n.stopPropagation(),$n.preventDefault()},onMouseMove($n){const{dragging:Cn,pageY:_n,startTop:Pn}=this.state,{onScroll:In}=this.$props;if(wrapperRaf.cancel(this.moveRaf),Cn){const Nn=getPageY($n)-_n,Rn=Pn+Nn,Dn=this.getEnableScrollRange(),Ln=this.getEnableHeightRange(),Fn=Ln?Rn/Ln:0,Bn=Math.ceil(Fn*Dn);this.moveRaf=wrapperRaf(()=>{In(Bn)})}},onMouseUp(){const{onStopMove:$n}=this.$props;this.state.dragging=!1,$n(),this.removeEvents()},getSpinHeight(){const{height:$n,scrollHeight:Cn}=this.$props;let _n=$n/Cn*100;return _n=Math.max(_n,MIN_SIZE),_n=Math.min(_n,$n/2),Math.floor(_n)},getEnableScrollRange(){const{scrollHeight:$n,height:Cn}=this.$props;return $n-Cn||0},getEnableHeightRange(){const{height:$n}=this.$props,Cn=this.getSpinHeight();return $n-Cn||0},getTop(){const{scrollTop:$n}=this.$props,Cn=this.getEnableScrollRange(),_n=this.getEnableHeightRange();return $n===0||Cn===0?0:$n/Cn*_n},showScroll(){const{height:$n,scrollHeight:Cn}=this.$props;return Cn>$n}},render(){const{dragging:$n,visible:Cn}=this.state,{prefixCls:_n}=this.$props,Pn=this.getSpinHeight()+"px",In=this.getTop()+"px",Nn=this.showScroll(),Rn=Nn&&Cn;return createVNode("div",{ref:this.scrollbarRef,class:classNames(`${_n}-scrollbar`,{[`${_n}-scrollbar-show`]:Nn}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:Rn?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[createVNode("div",{ref:this.thumbRef,class:classNames(`${_n}-scrollbar-thumb`,{[`${_n}-scrollbar-thumb-moving`]:$n}),style:{width:"100%",height:Pn,top:In,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function useHeights($n,Cn,_n,Pn){const In=new Map,Nn=new Map,Rn=ref(Symbol("update"));watch($n,()=>{Rn.value=Symbol("update")});let Dn;function Ln(){wrapperRaf.cancel(Dn)}function Fn(){Ln(),Dn=wrapperRaf(()=>{In.forEach((Hn,zn)=>{if(Hn&&Hn.offsetParent){const{offsetHeight:Wn}=Hn;Nn.get(zn)!==Wn&&(Rn.value=Symbol("update"),Nn.set(zn,Hn.offsetHeight))}})})}function Bn(Hn,zn){const Wn=Cn(Hn),Yn=In.get(Wn);zn?(In.set(Wn,zn.$el||zn),Fn()):In.delete(Wn),!Yn!=!zn&&(zn?_n==null||_n(Hn):Pn==null||Pn(Hn))}return onUnmounted(()=>{Ln()}),[Bn,Fn,Nn,Rn]}function useScrollTo($n,Cn,_n,Pn,In,Nn,Rn,Dn){let Ln;return Fn=>{if(Fn==null){Dn();return}wrapperRaf.cancel(Ln);const Bn=Cn.value,Hn=Pn.itemHeight;if(typeof Fn=="number")Rn(Fn);else if(Fn&&typeof Fn=="object"){let zn;const{align:Wn}=Fn;"index"in Fn?{index:zn}=Fn:zn=Bn.findIndex(Go=>In(Go)===Fn.key);const{offset:Yn=0}=Fn,Gn=(Go,Xn)=>{if(Go<0||!$n.value)return;const Yo=$n.value.clientHeight;let qo=!1,Jo=Xn;if(Yo){const Zo=Xn||Wn;let rr=0,nr=0,ta=0;const oa=Math.min(Bn.length,zn);for(let la=0;la<=oa;la+=1){const ua=In(Bn[la]);nr=rr;const ga=_n.get(ua);ta=nr+(ga===void 0?Hn:ga),rr=ta,la===zn&&ga===void 0&&(qo=!0)}const ra=$n.value.scrollTop;let ea=null;switch(Zo){case"top":ea=nr-Yn;break;case"bottom":ea=ta-Yo+Yn;break;default:{const la=ra+Yo;nr<ra?Jo="top":ta>la&&(Jo="bottom")}}ea!==null&&ea!==ra&&Rn(ea)}Ln=wrapperRaf(()=>{qo&&Nn(),Gn(Go-1,Jo)},2)};Gn(5)}}}const isFF=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),useOriginScroll=($n,Cn)=>{let _n=!1,Pn=null;function In(){clearTimeout(Pn),_n=!0,Pn=setTimeout(()=>{_n=!1},50)}return function(Nn){let Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const Dn=Nn<0&&$n.value||Nn>0&&Cn.value;return Rn&&Dn?(clearTimeout(Pn),_n=!1):(!Dn||_n)&&In(),!_n&&Dn}};function useFrameWheel($n,Cn,_n,Pn){let In=0,Nn=null,Rn=null,Dn=!1;const Ln=useOriginScroll(Cn,_n);function Fn(Hn){if(!$n.value)return;wrapperRaf.cancel(Nn);const{deltaY:zn}=Hn;In+=zn,Rn=zn,!Ln(zn)&&(isFF||Hn.preventDefault(),Nn=wrapperRaf(()=>{Pn(In*(Dn?10:1)),In=0}))}function Bn(Hn){$n.value&&(Dn=Hn.detail===Rn)}return[Fn,Bn]}const SMOOTH_PTG=14/15;function useMobileTouchMove($n,Cn,_n){let Pn=!1,In=0,Nn=null,Rn=null;const Dn=()=>{Nn&&(Nn.removeEventListener("touchmove",Ln),Nn.removeEventListener("touchend",Fn))},Ln=zn=>{if(Pn){const Wn=Math.ceil(zn.touches[0].pageY);let Yn=In-Wn;In=Wn,_n(Yn)&&zn.preventDefault(),clearInterval(Rn),Rn=setInterval(()=>{Yn*=SMOOTH_PTG,(!_n(Yn,!0)||Math.abs(Yn)<=.1)&&clearInterval(Rn)},16)}},Fn=()=>{Pn=!1,Dn()},Bn=zn=>{Dn(),zn.touches.length===1&&!Pn&&(Pn=!0,In=Math.ceil(zn.touches[0].pageY),Nn=zn.target,Nn.addEventListener("touchmove",Ln,{passive:!1}),Nn.addEventListener("touchend",Fn))},Hn=()=>{};onMounted(()=>{document.addEventListener("touchmove",Hn,{passive:!1}),watch($n,zn=>{Cn.value.removeEventListener("touchstart",Bn),Dn(),clearInterval(Rn),zn&&Cn.value.addEventListener("touchstart",Bn,{passive:!1})},{immediate:!0})}),onBeforeUnmount(()=>{document.removeEventListener("touchmove",Hn)})}var __rest$18=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const EMPTY_DATA$1=[],ScrollStyle={overflowY:"auto",overflowAnchor:"none"};function renderChildren($n,Cn,_n,Pn,In,Nn){let{getKey:Rn}=Nn;return $n.slice(Cn,_n+1).map((Dn,Ln)=>{const Fn=Cn+Ln,Bn=In(Dn,Fn,{}),Hn=Rn(Dn);return createVNode(Item$2,{key:Hn,setRef:zn=>Pn(Dn,zn)},{default:()=>[Bn]})})}const List$3=defineComponent({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:PropTypes.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup($n,Cn){let{expose:_n}=Cn;const Pn=computed(()=>{const{height:fa,itemHeight:ma,virtual:ya}=$n;return!!(ya!==!1&&fa&&ma)}),In=computed(()=>{const{height:fa,itemHeight:ma,data:ya}=$n;return Pn.value&&ya&&ma*ya.length>fa}),Nn=reactive({scrollTop:0,scrollMoving:!1}),Rn=computed(()=>$n.data||EMPTY_DATA$1),Dn=shallowRef([]);watch(Rn,()=>{Dn.value=toRaw(Rn.value).slice()},{immediate:!0});const Ln=shallowRef(fa=>{});watch(()=>$n.itemKey,fa=>{typeof fa=="function"?Ln.value=fa:Ln.value=ma=>ma==null?void 0:ma[fa]},{immediate:!0});const Fn=shallowRef(),Bn=shallowRef(),Hn=shallowRef(),zn=fa=>Ln.value(fa),Wn={getKey:zn};function Yn(fa){let ma;typeof fa=="function"?ma=fa(Nn.scrollTop):ma=fa;const ya=rr(ma);Fn.value&&(Fn.value.scrollTop=ya),Nn.scrollTop=ya}const[Gn,Go,Xn,Yo]=useHeights(Dn,zn,null,null),qo=reactive({scrollHeight:void 0,start:0,end:0,offset:void 0}),Jo=shallowRef(0);onMounted(()=>{nextTick(()=>{var fa;Jo.value=((fa=Bn.value)===null||fa===void 0?void 0:fa.offsetHeight)||0})}),onUpdated(()=>{nextTick(()=>{var fa;Jo.value=((fa=Bn.value)===null||fa===void 0?void 0:fa.offsetHeight)||0})}),watch([Pn,Dn],()=>{Pn.value||_extends$1(qo,{scrollHeight:void 0,start:0,end:Dn.value.length-1,offset:void 0})},{immediate:!0}),watch([Pn,Dn,Jo,In],()=>{Pn.value&&!In.value&&_extends$1(qo,{scrollHeight:Jo.value,start:0,end:Dn.value.length-1,offset:void 0}),Fn.value&&(Nn.scrollTop=Fn.value.scrollTop)},{immediate:!0}),watch([In,Pn,()=>Nn.scrollTop,Dn,Yo,()=>$n.height,Jo],()=>{if(!Pn.value||!In.value)return;let fa=0,ma,ya,ba;const Ia=Dn.value.length,Ea=Dn.value,xa=Nn.scrollTop,{itemHeight:Ta,height:wa}=$n,La=xa+wa;for(let Na=0;Na<Ia;Na+=1){const $a=Ea[Na],ka=zn($a);let Ha=Xn.get(ka);Ha===void 0&&(Ha=Ta);const da=fa+Ha;ma===void 0&&da>=xa&&(ma=Na,ya=fa),ba===void 0&&da>La&&(ba=Na),fa=da}ma===void 0&&(ma=0,ya=0,ba=Math.ceil(wa/Ta)),ba===void 0&&(ba=Ia-1),ba=Math.min(ba+1,Ia),_extends$1(qo,{scrollHeight:fa,start:ma,end:ba,offset:ya})},{immediate:!0});const Zo=computed(()=>qo.scrollHeight-$n.height);function rr(fa){let ma=fa;return Number.isNaN(Zo.value)||(ma=Math.min(ma,Zo.value)),ma=Math.max(ma,0),ma}const nr=computed(()=>Nn.scrollTop<=0),ta=computed(()=>Nn.scrollTop>=Zo.value),oa=useOriginScroll(nr,ta);function ra(fa){Yn(fa)}function ea(fa){var ma;const{scrollTop:ya}=fa.currentTarget;ya!==Nn.scrollTop&&Yn(ya),(ma=$n.onScroll)===null||ma===void 0||ma.call($n,fa)}const[la,ua]=useFrameWheel(Pn,nr,ta,fa=>{Yn(ma=>ma+fa)});useMobileTouchMove(Pn,Fn,(fa,ma)=>oa(fa,ma)?!1:(la({preventDefault(){},deltaY:fa}),!0));function ga(fa){Pn.value&&fa.preventDefault()}const aa=()=>{Fn.value&&(Fn.value.removeEventListener("wheel",la,supportsPassive$1?{passive:!1}:!1),Fn.value.removeEventListener("DOMMouseScroll",ua),Fn.value.removeEventListener("MozMousePixelScroll",ga))};watchEffect(()=>{nextTick(()=>{Fn.value&&(aa(),Fn.value.addEventListener("wheel",la,supportsPassive$1?{passive:!1}:!1),Fn.value.addEventListener("DOMMouseScroll",ua),Fn.value.addEventListener("MozMousePixelScroll",ga))})}),onBeforeUnmount(()=>{aa()});const ca=useScrollTo(Fn,Dn,Xn,$n,zn,Go,Yn,()=>{var fa;(fa=Hn.value)===null||fa===void 0||fa.delayHidden()});_n({scrollTo:ca});const sa=computed(()=>{let fa=null;return $n.height&&(fa=_extends$1({[$n.fullHeight?"height":"maxHeight"]:$n.height+"px"},ScrollStyle),Pn.value&&(fa.overflowY="hidden",Nn.scrollMoving&&(fa.pointerEvents="none"))),fa});return watch([()=>qo.start,()=>qo.end,Dn],()=>{if($n.onVisibleChange){const fa=Dn.value.slice(qo.start,qo.end+1);$n.onVisibleChange(fa,Dn.value)}},{flush:"post"}),{state:Nn,mergedData:Dn,componentStyle:sa,onFallbackScroll:ea,onScrollBar:ra,componentRef:Fn,useVirtual:Pn,calRes:qo,collectHeight:Go,setInstance:Gn,sharedConfig:Wn,scrollBarRef:Hn,fillerInnerRef:Bn,delayHideScrollBar:()=>{var fa;(fa=Hn.value)===null||fa===void 0||fa.delayHidden()}}},render(){const $n=_extends$1(_extends$1({},this.$props),this.$attrs),{prefixCls:Cn="rc-virtual-list",height:_n,itemHeight:Pn,fullHeight:In,data:Nn,itemKey:Rn,virtual:Dn,component:Ln="div",onScroll:Fn,children:Bn=this.$slots.default,style:Hn,class:zn}=$n,Wn=__rest$18($n,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),Yn=classNames(Cn,zn),{scrollTop:Gn}=this.state,{scrollHeight:Go,offset:Xn,start:Yo,end:qo}=this.calRes,{componentStyle:Jo,onFallbackScroll:Zo,onScrollBar:rr,useVirtual:nr,collectHeight:ta,sharedConfig:oa,setInstance:ra,mergedData:ea,delayHideScrollBar:la}=this;return createVNode("div",_objectSpread2$1({style:_extends$1(_extends$1({},Hn),{position:"relative"}),class:Yn},Wn),[createVNode(Ln,{class:`${Cn}-holder`,style:Jo,ref:"componentRef",onScroll:Zo,onMouseenter:la},{default:()=>[createVNode(Filler,{prefixCls:Cn,height:Go,offset:Xn,onInnerResize:ta,ref:"fillerInnerRef"},{default:()=>renderChildren(ea,Yo,qo,ra,Bn,oa)})]}),nr&&createVNode(ScrollBar,{ref:"scrollBarRef",prefixCls:Cn,scrollTop:Gn,height:_n,scrollHeight:Go,count:ea.length,onScroll:rr,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}}),List$4=List$3;function useMemo($n,Cn,_n){const Pn=ref($n());return watch(Cn,(In,Nn)=>{_n?_n(In,Nn)&&(Pn.value=$n()):Pn.value=$n()}),Pn}function isPlatformMac(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const SelectContextKey=Symbol("SelectContextKey");function useProvideSelectProps($n){return provide(SelectContextKey,$n)}function useSelectProps(){return inject(SelectContextKey,{})}var __rest$17=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function isTitleType($n){return typeof $n=="string"||typeof $n=="number"}const OptionList$2=defineComponent({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup($n,Cn){let{expose:_n,slots:Pn}=Cn;const In=useBaseProps(),Nn=useSelectProps(),Rn=computed(()=>`${In.prefixCls}-item`),Dn=useMemo(()=>Nn.flattenOptions,[()=>In.open,()=>Nn.flattenOptions],Zo=>Zo[0]),Ln=createRef(),Fn=Zo=>{Zo.preventDefault()},Bn=Zo=>{Ln.current&&Ln.current.scrollTo(typeof Zo=="number"?{index:Zo}:Zo)},Hn=function(Zo){let rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const nr=Dn.value.length;for(let ta=0;ta<nr;ta+=1){const oa=(Zo+ta*rr+nr)%nr,{group:ra,data:ea}=Dn.value[oa];if(!ra&&!ea.disabled)return oa}return-1},zn=reactive({activeIndex:Hn(0)}),Wn=function(Zo){let rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;zn.activeIndex=Zo;const nr={source:rr?"keyboard":"mouse"},ta=Dn.value[Zo];if(!ta){Nn.onActiveValue(null,-1,nr);return}Nn.onActiveValue(ta.value,Zo,nr)};watch([()=>Dn.value.length,()=>In.searchValue],()=>{Wn(Nn.defaultActiveFirstOption!==!1?Hn(0):-1)},{immediate:!0});const Yn=Zo=>Nn.rawValues.has(Zo)&&In.mode!=="combobox";watch([()=>In.open,()=>In.searchValue],()=>{if(!In.multiple&&In.open&&Nn.rawValues.size===1){const Zo=Array.from(Nn.rawValues)[0],rr=toRaw(Dn.value).findIndex(nr=>{let{data:ta}=nr;return ta[Nn.fieldNames.value]===Zo});rr!==-1&&(Wn(rr),nextTick(()=>{Bn(rr)}))}In.open&&nextTick(()=>{var Zo;(Zo=Ln.current)===null||Zo===void 0||Zo.scrollTo(void 0)})},{immediate:!0,flush:"post"});const Gn=Zo=>{Zo!==void 0&&Nn.onSelect(Zo,{selected:!Nn.rawValues.has(Zo)}),In.multiple||In.toggleOpen(!1)},Go=Zo=>typeof Zo.label=="function"?Zo.label():Zo.label;function Xn(Zo){const rr=Dn.value[Zo];if(!rr)return null;const nr=rr.data||{},{value:ta}=nr,{group:oa}=rr,ra=pickAttrs(nr,!0),ea=Go(rr);return rr?createVNode("div",_objectSpread2$1(_objectSpread2$1({"aria-label":typeof ea=="string"&&!oa?ea:null},ra),{},{key:Zo,role:oa?"presentation":"option",id:`${In.id}_list_${Zo}`,"aria-selected":Yn(ta)}),[ta]):null}return _n({onKeydown:Zo=>{const{which:rr,ctrlKey:nr}=Zo;switch(rr){case KeyCode$1.N:case KeyCode$1.P:case KeyCode$1.UP:case KeyCode$1.DOWN:{let ta=0;if(rr===KeyCode$1.UP?ta=-1:rr===KeyCode$1.DOWN?ta=1:isPlatformMac()&&nr&&(rr===KeyCode$1.N?ta=1:rr===KeyCode$1.P&&(ta=-1)),ta!==0){const oa=Hn(zn.activeIndex+ta,ta);Bn(oa),Wn(oa,!0)}break}case KeyCode$1.ENTER:{const ta=Dn.value[zn.activeIndex];ta&&!ta.data.disabled?Gn(ta.value):Gn(void 0),In.open&&Zo.preventDefault();break}case KeyCode$1.ESC:In.toggleOpen(!1),In.open&&Zo.stopPropagation()}},onKeyup:()=>{},scrollTo:Zo=>{Bn(Zo)}}),()=>{const{id:Zo,notFoundContent:rr,onPopupScroll:nr}=In,{menuItemSelectedIcon:ta,fieldNames:oa,virtual:ra,listHeight:ea,listItemHeight:la}=Nn,ua=Pn.option,{activeIndex:ga}=zn,aa=Object.keys(oa).map(ca=>oa[ca]);return Dn.value.length===0?createVNode("div",{role:"listbox",id:`${Zo}_list`,class:`${Rn.value}-empty`,onMousedown:Fn},[rr]):createVNode(Fragment,null,[createVNode("div",{role:"listbox",id:`${Zo}_list`,style:{height:0,width:0,overflow:"hidden"}},[Xn(ga-1),Xn(ga),Xn(ga+1)]),createVNode(List$4,{itemKey:"key",ref:Ln,data:Dn.value,height:ea,itemHeight:la,fullHeight:!1,onMousedown:Fn,onScroll:nr,virtual:ra},{default:(ca,sa)=>{var ia;const{group:fa,groupOption:ma,data:ya,value:ba}=ca,{key:Ia}=ya,Ea=typeof ca.label=="function"?ca.label():ca.label;if(fa){const Wa=(ia=ya.title)!==null&&ia!==void 0?ia:isTitleType(Ea)&&Ea;return createVNode("div",{class:classNames(Rn.value,`${Rn.value}-group`),title:Wa},[ua?ua(ya):Ea!==void 0?Ea:Ia])}const{disabled:xa,title:Ta,children:wa,style:La,class:Na,className:$a}=ya,ka=__rest$17(ya,["disabled","title","children","style","class","className"]),Ha=omit$1(ka,aa),da=Yn(ba),pa=`${Rn.value}-option`,Sa=classNames(Rn.value,pa,Na,$a,{[`${pa}-grouped`]:ma,[`${pa}-active`]:ga===sa&&!xa,[`${pa}-disabled`]:xa,[`${pa}-selected`]:da}),Aa=Go(ca),Ra=!ta||typeof ta=="function"||da,Fa=typeof Aa=="number"?Aa:Aa||ba;let za=isTitleType(Fa)?Fa.toString():void 0;return Ta!==void 0&&(za=Ta),createVNode("div",_objectSpread2$1(_objectSpread2$1({},Ha),{},{"aria-selected":da,class:Sa,title:za,onMousemove:Wa=>{ka.onMousemove&&ka.onMousemove(Wa),!(ga===sa||xa)&&Wn(sa)},onClick:Wa=>{xa||Gn(ba),ka.onClick&&ka.onClick(Wa)},style:La}),[createVNode("div",{class:`${pa}-content`},[ua?ua(ya):Fa]),isValidElement(ta)||da,Ra&&createVNode(TransBtn$1,{class:`${Rn.value}-option-state`,customizeIcon:ta,customizeIconProps:{isSelected:da}},{default:()=>[da?"✓":null]})])}})])}}}),OptionList$3=OptionList$2;var __rest$16=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function convertNodeToOption($n){const Cn=$n,{key:_n,children:Pn}=Cn,In=Cn.props,{value:Nn,disabled:Rn}=In,Dn=__rest$16(In,["value","disabled"]),Ln=Pn==null?void 0:Pn.default;return _extends$1({key:_n,value:Nn!==void 0?Nn:_n,children:Ln,disabled:Rn||Rn===""},Dn)}function convertChildrenToData$1($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return flattenChildren($n).map((Pn,In)=>{var Nn;if(!isValidElement(Pn)||!Pn.type)return null;const{type:{isSelectOptGroup:Rn},key:Dn,children:Ln,props:Fn}=Pn;if(Cn||!Rn)return convertNodeToOption(Pn);const Bn=Ln&&Ln.default?Ln.default():void 0,Hn=(Fn==null?void 0:Fn.label)||((Nn=Ln.label)===null||Nn===void 0?void 0:Nn.call(Ln))||Dn;return _extends$1(_extends$1({key:`__RC_SELECT_GRP__${Dn===null?In:String(Dn)}__`},Fn),{label:Hn,options:convertChildrenToData$1(Bn||[])})}).filter(Pn=>Pn)}function useOptions($n,Cn,_n){const Pn=shallowRef(),In=shallowRef(),Nn=shallowRef(),Rn=shallowRef([]);return watch([$n,Cn],()=>{$n.value?Rn.value=toRaw($n.value).slice():Rn.value=convertChildrenToData$1(Cn.value)},{immediate:!0,deep:!0}),watchEffect(()=>{const Dn=Rn.value,Ln=new Map,Fn=new Map,Bn=_n.value;function Hn(zn){let Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let Yn=0;Yn<zn.length;Yn+=1){const Gn=zn[Yn];!Gn[Bn.options]||Wn?(Ln.set(Gn[Bn.value],Gn),Fn.set(Gn[Bn.label],Gn)):Hn(Gn[Bn.options],!0)}}Hn(Dn),Pn.value=Dn,In.value=Ln,Nn.value=Fn}),{options:Pn,valueOptions:In,labelOptions:Nn}}let uuid$5=0;const isBrowserClient$1=canUseDom$1();function getUUID$2(){let $n;return isBrowserClient$1?($n=uuid$5,uuid$5+=1):$n="TEST_OR_SSR",$n}function useId$1(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ref("");const Cn=`rc_select_${getUUID$2()}`;return $n.value||Cn}function toArray$7($n){return Array.isArray($n)?$n:$n!==void 0?[$n]:[]}function includes($n,Cn){return toArray$7($n).join("").toUpperCase().includes(Cn)}const useFilterOptions=($n,Cn,_n,Pn,In)=>computed(()=>{const Nn=_n.value,Rn=In==null?void 0:In.value,Dn=Pn==null?void 0:Pn.value;if(!Nn||Dn===!1)return $n.value;const{options:Ln,label:Fn,value:Bn}=Cn.value,Hn=[],zn=typeof Dn=="function",Wn=Nn.toUpperCase(),Yn=zn?Dn:(Go,Xn)=>Rn?includes(Xn[Rn],Wn):Xn[Ln]?includes(Xn[Fn!=="children"?Fn:"label"],Wn):includes(Xn[Bn],Wn),Gn=zn?Go=>injectPropsWithOption(Go):Go=>Go;return $n.value.forEach(Go=>{if(Go[Ln]){if(Yn(Nn,Gn(Go)))Hn.push(Go);else{const Yo=Go[Ln].filter(qo=>Yn(Nn,Gn(qo)));Yo.length&&Hn.push(_extends$1(_extends$1({},Go),{[Ln]:Yo}))}return}Yn(Nn,Gn(Go))&&Hn.push(Go)}),Hn}),useCache$1=($n,Cn)=>{const _n=shallowRef({values:new Map,options:new Map});return[computed(()=>{const{values:Nn,options:Rn}=_n.value,Dn=$n.value.map(Bn=>{var Hn;return Bn.label===void 0?_extends$1(_extends$1({},Bn),{label:(Hn=Nn.get(Bn.value))===null||Hn===void 0?void 0:Hn.label}):Bn}),Ln=new Map,Fn=new Map;return Dn.forEach(Bn=>{Ln.set(Bn.value,Bn),Fn.set(Bn.value,Cn.value.get(Bn.value)||Rn.get(Bn.value))}),_n.value.values=Ln,_n.value.options=Fn,Dn}),Nn=>Cn.value.get(Nn)||_n.value.options.get(Nn)]};function useMergedState($n,Cn){const{defaultValue:_n,value:Pn=ref()}=Cn||{};let In=typeof $n=="function"?$n():$n;Pn.value!==void 0&&(In=unref(Pn)),_n!==void 0&&(In=typeof _n=="function"?_n():_n);const Nn=ref(In),Rn=ref(In);watchEffect(()=>{let Ln=Pn.value!==void 0?Pn.value:Nn.value;Cn.postState&&(Ln=Cn.postState(Ln)),Rn.value=Ln});function Dn(Ln){const Fn=Rn.value;Nn.value=Ln,toRaw(Rn.value)!==Ln&&Cn.onChange&&Cn.onChange(Ln,Fn)}return watch(Pn,()=>{Nn.value=Pn.value}),[Rn,Dn]}function useState($n){const Cn=typeof $n=="function"?$n():$n,_n=ref(Cn);function Pn(In){_n.value=In}return[_n,Pn]}const OMIT_DOM_PROPS=["inputValue"];function selectProps$1(){return _extends$1(_extends$1({},baseSelectPropsWithoutPrivate()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:PropTypes.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:PropTypes.any,defaultValue:PropTypes.any,onChange:Function,children:Array})}function isRawValue$1($n){return!$n||typeof $n!="object"}const Select$1=defineComponent({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:initDefaultProps(selectProps$1(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup($n,Cn){let{expose:_n,attrs:Pn,slots:In}=Cn;const Nn=useId$1(toRef($n,"id")),Rn=computed(()=>isMultiple($n.mode)),Dn=computed(()=>!!(!$n.options&&$n.children)),Ln=computed(()=>$n.filterOption===void 0&&$n.mode==="combobox"?!1:$n.filterOption),Fn=computed(()=>fillFieldNames$3($n.fieldNames,Dn.value)),[Bn,Hn]=useMergedState("",{value:computed(()=>$n.searchValue!==void 0?$n.searchValue:$n.inputValue),postState:Na=>Na||""}),zn=useOptions(toRef($n,"options"),toRef($n,"children"),Fn),{valueOptions:Wn,labelOptions:Yn,options:Gn}=zn,Go=Na=>toArray$7(Na).map(ka=>{var Ha,da;let pa,Sa,Aa,Ra;isRawValue$1(ka)?pa=ka:(Aa=ka.key,Sa=ka.label,pa=(Ha=ka.value)!==null&&Ha!==void 0?Ha:Aa);const Fa=Wn.value.get(pa);return Fa&&(Sa===void 0&&(Sa=Fa==null?void 0:Fa[$n.optionLabelProp||Fn.value.label]),Aa===void 0&&(Aa=(da=Fa==null?void 0:Fa.key)!==null&&da!==void 0?da:pa),Ra=Fa==null?void 0:Fa.disabled),{label:Sa,value:pa,key:Aa,disabled:Ra,option:Fa}}),[Xn,Yo]=useMergedState($n.defaultValue,{value:toRef($n,"value")}),qo=computed(()=>{var Na;const $a=Go(Xn.value);return $n.mode==="combobox"&&!(!((Na=$a[0])===null||Na===void 0)&&Na.value)?[]:$a}),[Jo,Zo]=useCache$1(qo,Wn),rr=computed(()=>{if(!$n.mode&&Jo.value.length===1){const Na=Jo.value[0];if(Na.value===null&&(Na.label===null||Na.label===void 0))return[]}return Jo.value.map(Na=>{var $a;return _extends$1(_extends$1({},Na),{label:($a=typeof Na.label=="function"?Na.label():Na.label)!==null&&$a!==void 0?$a:Na.value})})}),nr=computed(()=>new Set(Jo.value.map(Na=>Na.value)));watchEffect(()=>{var Na;if($n.mode==="combobox"){const $a=(Na=Jo.value[0])===null||Na===void 0?void 0:Na.value;$a!=null&&Hn(String($a))}},{flush:"post"});const ta=(Na,$a)=>{const ka=$a??Na;return{[Fn.value.value]:Na,[Fn.value.label]:ka}},oa=shallowRef();watchEffect(()=>{if($n.mode!=="tags"){oa.value=Gn.value;return}const Na=Gn.value.slice(),$a=ka=>Wn.value.has(ka);[...Jo.value].sort((ka,Ha)=>ka.value<Ha.value?-1:1).forEach(ka=>{const Ha=ka.value;$a(Ha)||Na.push(ta(Ha,ka.label))}),oa.value=Na});const ra=useFilterOptions(oa,Fn,Bn,Ln,toRef($n,"optionFilterProp")),ea=computed(()=>$n.mode!=="tags"||!Bn.value||ra.value.some(Na=>Na[$n.optionFilterProp||"value"]===Bn.value)?ra.value:[ta(Bn.value),...ra.value]),la=computed(()=>$n.filterSort?[...ea.value].sort((Na,$a)=>$n.filterSort(Na,$a)):ea.value),ua=computed(()=>flattenOptions(la.value,{fieldNames:Fn.value,childrenAsData:Dn.value})),ga=Na=>{const $a=Go(Na);if(Yo($a),$n.onChange&&($a.length!==Jo.value.length||$a.some((ka,Ha)=>{var da;return((da=Jo.value[Ha])===null||da===void 0?void 0:da.value)!==(ka==null?void 0:ka.value)}))){const ka=$n.labelInValue?$a.map(da=>_extends$1(_extends$1({},da),{originLabel:da.label,label:typeof da.label=="function"?da.label():da.label})):$a.map(da=>da.value),Ha=$a.map(da=>injectPropsWithOption(Zo(da.value)));$n.onChange(Rn.value?ka:ka[0],Rn.value?Ha:Ha[0])}},[aa,ca]=useState(null),[sa,ia]=useState(0),fa=computed(()=>$n.defaultActiveFirstOption!==void 0?$n.defaultActiveFirstOption:$n.mode!=="combobox"),ma=function(Na,$a){let{source:ka="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ia($a),$n.backfill&&$n.mode==="combobox"&&Na!==null&&ka==="keyboard"&&ca(String(Na))},ya=(Na,$a)=>{const ka=()=>{var Ha;const da=Zo(Na),pa=da==null?void 0:da[Fn.value.label];return[$n.labelInValue?{label:typeof pa=="function"?pa():pa,originLabel:pa,value:Na,key:(Ha=da==null?void 0:da.key)!==null&&Ha!==void 0?Ha:Na}:Na,injectPropsWithOption(da)]};if($a&&$n.onSelect){const[Ha,da]=ka();$n.onSelect(Ha,da)}else if(!$a&&$n.onDeselect){const[Ha,da]=ka();$n.onDeselect(Ha,da)}},ba=(Na,$a)=>{let ka;const Ha=Rn.value?$a.selected:!0;Ha?ka=Rn.value?[...Jo.value,Na]:[Na]:ka=Jo.value.filter(da=>da.value!==Na),ga(ka),ya(Na,Ha),$n.mode==="combobox"?ca(""):(!Rn.value||$n.autoClearSearchValue)&&(Hn(""),ca(""))},Ia=(Na,$a)=>{ga(Na),($a.type==="remove"||$a.type==="clear")&&$a.values.forEach(ka=>{ya(ka.value,!1)})},Ea=(Na,$a)=>{var ka;if(Hn(Na),ca(null),$a.source==="submit"){const Ha=(Na||"").trim();if(Ha){const da=Array.from(new Set([...nr.value,Ha]));ga(da),ya(Ha,!0),Hn("")}return}$a.source!=="blur"&&($n.mode==="combobox"&&ga(Na),(ka=$n.onSearch)===null||ka===void 0||ka.call($n,Na))},xa=Na=>{let $a=Na;$n.mode!=="tags"&&($a=Na.map(Ha=>{const da=Yn.value.get(Ha);return da==null?void 0:da.value}).filter(Ha=>Ha!==void 0));const ka=Array.from(new Set([...nr.value,...$a]));ga(ka),ka.forEach(Ha=>{ya(Ha,!0)})},Ta=computed(()=>$n.virtual!==!1&&$n.dropdownMatchSelectWidth!==!1);useProvideSelectProps(toReactive(_extends$1(_extends$1({},zn),{flattenOptions:ua,onActiveValue:ma,defaultActiveFirstOption:fa,onSelect:ba,menuItemSelectedIcon:toRef($n,"menuItemSelectedIcon"),rawValues:nr,fieldNames:Fn,virtual:Ta,listHeight:toRef($n,"listHeight"),listItemHeight:toRef($n,"listItemHeight"),childrenAsData:Dn})));const wa=ref();_n({focus(){var Na;(Na=wa.value)===null||Na===void 0||Na.focus()},blur(){var Na;(Na=wa.value)===null||Na===void 0||Na.blur()},scrollTo(Na){var $a;($a=wa.value)===null||$a===void 0||$a.scrollTo(Na)}});const La=computed(()=>omit$1($n,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>createVNode(BaseSelect,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},La.value),Pn),{},{id:Nn,prefixCls:$n.prefixCls,ref:wa,omitDomProps:OMIT_DOM_PROPS,mode:$n.mode,displayValues:rr.value,onDisplayValuesChange:Ia,searchValue:Bn.value,onSearch:Ea,onSearchSplit:xa,dropdownMatchSelectWidth:$n.dropdownMatchSelectWidth,OptionList:OptionList$3,emptyOptions:!ua.value.length,activeValue:aa.value,activeDescendantId:`${Nn}_list_${sa.value}`}),In)}}),Option$2=()=>null;Option$2.isSelectOption=!0;Option$2.displayName="ASelectOption";const Option$3=Option$2,OptGroup$2=()=>null;OptGroup$2.isSelectOptGroup=!0;OptGroup$2.displayName="ASelectOptGroup";const OptGroup$3=OptGroup$2;var DownOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const DownOutlinedSvg=DownOutlined$2;var contextKey$1=Symbol("iconContext"),useInjectIconContext=function(){return inject(contextKey$1,{prefixCls:ref("anticon"),rootClassName:ref(""),csp:ref()})};function canUseDom(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function contains$1($n,Cn){return $n&&$n.contains?$n.contains(Cn):!1}var APPEND_ORDER="data-vc-order",MARK_KEY="vc-icon-key",containerCache=new Map;function getMark(){var $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Cn=$n.mark;return Cn?Cn.startsWith("data-")?Cn:"data-".concat(Cn):MARK_KEY}function getContainer$1($n){if($n.attachTo)return $n.attachTo;var Cn=document.querySelector("head");return Cn||document.body}function getOrder($n){return $n==="queue"?"prependQueue":$n?"prepend":"append"}function findStyles($n){return Array.from((containerCache.get($n)||$n).children).filter(function(Cn){return Cn.tagName==="STYLE"})}function injectCSS($n){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!canUseDom())return null;var _n=Cn.csp,Pn=Cn.prepend,In=document.createElement("style");In.setAttribute(APPEND_ORDER,getOrder(Pn)),_n&&_n.nonce&&(In.nonce=_n.nonce),In.innerHTML=$n;var Nn=getContainer$1(Cn),Rn=Nn.firstChild;if(Pn){if(Pn==="queue"){var Dn=findStyles(Nn).filter(function(Ln){return["prepend","prependQueue"].includes(Ln.getAttribute(APPEND_ORDER))});if(Dn.length)return Nn.insertBefore(In,Dn[Dn.length-1].nextSibling),In}Nn.insertBefore(In,Rn)}else Nn.appendChild(In);return In}function findExistNode($n){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_n=getContainer$1(Cn);return findStyles(_n).find(function(Pn){return Pn.getAttribute(getMark(Cn))===$n})}function syncRealContainer($n,Cn){var _n=containerCache.get($n);if(!_n||!contains$1(document,_n)){var Pn=injectCSS("",Cn),In=Pn.parentNode;containerCache.set($n,In),$n.removeChild(Pn)}}function updateCSS($n,Cn){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pn=getContainer$1(_n);syncRealContainer(Pn,_n);var In=findExistNode(Cn,_n);if(In)return _n.csp&&_n.csp.nonce&&In.nonce!==_n.csp.nonce&&(In.nonce=_n.csp.nonce),In.innerHTML!==$n&&(In.innerHTML=$n),In;var Nn=injectCSS($n,_n);return Nn.setAttribute(getMark(_n),Cn),Nn}function _objectSpread$W($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$W($n,In,_n[In])})}return $n}function _defineProperty$W($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}function warning$1($n,Cn){}function isIconDefinition($n){return typeof $n=="object"&&typeof $n.name=="string"&&typeof $n.theme=="string"&&(typeof $n.icon=="object"||typeof $n.icon=="function")}function generate$1($n,Cn,_n){return _n?h$3($n.tag,_objectSpread$W({key:Cn},_n,$n.attrs),($n.children||[]).map(function(Pn,In){return generate$1(Pn,"".concat(Cn,"-").concat($n.tag,"-").concat(In))})):h$3($n.tag,_objectSpread$W({key:Cn},$n.attrs),($n.children||[]).map(function(Pn,In){return generate$1(Pn,"".concat(Cn,"-").concat($n.tag,"-").concat(In))}))}function getSecondaryColor($n){return generate$2($n)[0]}function normalizeTwoToneColors($n){return $n?Array.isArray($n)?$n:[$n]:[]}var iconStyles=`
-.anticon {
- display: inline-block;
- color: inherit;
- font-style: normal;
- line-height: 0;
- text-align: center;
- text-transform: none;
- vertical-align: -0.125em;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.anticon > * {
- line-height: 1;
-}
-
-.anticon svg {
- display: inline-block;
-}
-
-.anticon::before {
- display: none;
-}
-
-.anticon .anticon-icon {
- display: block;
-}
-
-.anticon[tabindex] {
- cursor: pointer;
-}
-
-.anticon-spin::before,
-.anticon-spin {
- display: inline-block;
- -webkit-animation: loadingCircle 1s infinite linear;
- animation: loadingCircle 1s infinite linear;
-}
-
-@-webkit-keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-
-@keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-`;function getRoot($n){return $n&&$n.getRootNode&&$n.getRootNode()}function inShadow($n){return canUseDom()?getRoot($n)instanceof ShadowRoot:!1}function getShadowRoot($n){return inShadow($n)?getRoot($n):null}var useInsertStyles=function(){var Cn=useInjectIconContext(),_n=Cn.prefixCls,Pn=Cn.csp,In=getCurrentInstance(),Nn=iconStyles;_n&&(Nn=Nn.replace(/anticon/g,_n.value)),nextTick(function(){if(canUseDom()){var Rn=In.vnode.el,Dn=getShadowRoot(Rn);updateCSS(Nn,"@ant-design-vue-icons",{prepend:!0,csp:Pn.value,attachTo:Dn})}})},_excluded$1=["icon","primaryColor","secondaryColor"];function _objectWithoutProperties$1($n,Cn){if($n==null)return{};var _n=_objectWithoutPropertiesLoose$1($n,Cn),Pn,In;if(Object.getOwnPropertySymbols){var Nn=Object.getOwnPropertySymbols($n);for(In=0;In<Nn.length;In++)Pn=Nn[In],!(Cn.indexOf(Pn)>=0)&&Object.prototype.propertyIsEnumerable.call($n,Pn)&&(_n[Pn]=$n[Pn])}return _n}function _objectWithoutPropertiesLoose$1($n,Cn){if($n==null)return{};var _n={},Pn=Object.keys($n),In,Nn;for(Nn=0;Nn<Pn.length;Nn++)In=Pn[Nn],!(Cn.indexOf(In)>=0)&&(_n[In]=$n[In]);return _n}function _objectSpread$V($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$V($n,In,_n[In])})}return $n}function _defineProperty$V($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var twoToneColorPalette=reactive({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function setTwoToneColors($n){var Cn=$n.primaryColor,_n=$n.secondaryColor;twoToneColorPalette.primaryColor=Cn,twoToneColorPalette.secondaryColor=_n||getSecondaryColor(Cn),twoToneColorPalette.calculated=!!_n}function getTwoToneColors(){return _objectSpread$V({},twoToneColorPalette)}var IconBase=function(Cn,_n){var Pn=_objectSpread$V({},Cn,_n.attrs),In=Pn.icon,Nn=Pn.primaryColor,Rn=Pn.secondaryColor,Dn=_objectWithoutProperties$1(Pn,_excluded$1),Ln=twoToneColorPalette;if(Nn&&(Ln={primaryColor:Nn,secondaryColor:Rn||getSecondaryColor(Nn)}),isIconDefinition(In),!isIconDefinition(In))return null;var Fn=In;return Fn&&typeof Fn.icon=="function"&&(Fn=_objectSpread$V({},Fn,{icon:Fn.icon(Ln.primaryColor,Ln.secondaryColor)})),generate$1(Fn.icon,"svg-".concat(Fn.name),_objectSpread$V({},Dn,{"data-icon":Fn.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};IconBase.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String};IconBase.inheritAttrs=!1;IconBase.displayName="IconBase";IconBase.getTwoToneColors=getTwoToneColors;IconBase.setTwoToneColors=setTwoToneColors;const VueIcon=IconBase;function _slicedToArray$1($n,Cn){return _arrayWithHoles$1($n)||_iterableToArrayLimit$1($n,Cn)||_unsupportedIterableToArray$1($n,Cn)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$1($n,Cn){if($n){if(typeof $n=="string")return _arrayLikeToArray$1($n,Cn);var _n=Object.prototype.toString.call($n).slice(8,-1);if(_n==="Object"&&$n.constructor&&(_n=$n.constructor.name),_n==="Map"||_n==="Set")return Array.from($n);if(_n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_n))return _arrayLikeToArray$1($n,Cn)}}function _arrayLikeToArray$1($n,Cn){(Cn==null||Cn>$n.length)&&(Cn=$n.length);for(var _n=0,Pn=new Array(Cn);_n<Cn;_n++)Pn[_n]=$n[_n];return Pn}function _iterableToArrayLimit$1($n,Cn){var _n=$n==null?null:typeof Symbol<"u"&&$n[Symbol.iterator]||$n["@@iterator"];if(_n!=null){var Pn=[],In=!0,Nn=!1,Rn,Dn;try{for(_n=_n.call($n);!(In=(Rn=_n.next()).done)&&(Pn.push(Rn.value),!(Cn&&Pn.length===Cn));In=!0);}catch(Ln){Nn=!0,Dn=Ln}finally{try{!In&&_n.return!=null&&_n.return()}finally{if(Nn)throw Dn}}return Pn}}function _arrayWithHoles$1($n){if(Array.isArray($n))return $n}function setTwoToneColor($n){var Cn=normalizeTwoToneColors($n),_n=_slicedToArray$1(Cn,2),Pn=_n[0],In=_n[1];return VueIcon.setTwoToneColors({primaryColor:Pn,secondaryColor:In})}function getTwoToneColor(){var $n=VueIcon.getTwoToneColors();return $n.calculated?[$n.primaryColor,$n.secondaryColor]:$n.primaryColor}var InsertStyles=defineComponent({name:"InsertStyles",setup:function(){return useInsertStyles(),function(){return null}}}),_excluded=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function _slicedToArray($n,Cn){return _arrayWithHoles($n)||_iterableToArrayLimit($n,Cn)||_unsupportedIterableToArray($n,Cn)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray($n,Cn){if($n){if(typeof $n=="string")return _arrayLikeToArray($n,Cn);var _n=Object.prototype.toString.call($n).slice(8,-1);if(_n==="Object"&&$n.constructor&&(_n=$n.constructor.name),_n==="Map"||_n==="Set")return Array.from($n);if(_n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_n))return _arrayLikeToArray($n,Cn)}}function _arrayLikeToArray($n,Cn){(Cn==null||Cn>$n.length)&&(Cn=$n.length);for(var _n=0,Pn=new Array(Cn);_n<Cn;_n++)Pn[_n]=$n[_n];return Pn}function _iterableToArrayLimit($n,Cn){var _n=$n==null?null:typeof Symbol<"u"&&$n[Symbol.iterator]||$n["@@iterator"];if(_n!=null){var Pn=[],In=!0,Nn=!1,Rn,Dn;try{for(_n=_n.call($n);!(In=(Rn=_n.next()).done)&&(Pn.push(Rn.value),!(Cn&&Pn.length===Cn));In=!0);}catch(Ln){Nn=!0,Dn=Ln}finally{try{!In&&_n.return!=null&&_n.return()}finally{if(Nn)throw Dn}}return Pn}}function _arrayWithHoles($n){if(Array.isArray($n))return $n}function _objectSpread$U($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$U($n,In,_n[In])})}return $n}function _defineProperty$U($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}function _objectWithoutProperties($n,Cn){if($n==null)return{};var _n=_objectWithoutPropertiesLoose($n,Cn),Pn,In;if(Object.getOwnPropertySymbols){var Nn=Object.getOwnPropertySymbols($n);for(In=0;In<Nn.length;In++)Pn=Nn[In],!(Cn.indexOf(Pn)>=0)&&Object.prototype.propertyIsEnumerable.call($n,Pn)&&(_n[Pn]=$n[Pn])}return _n}function _objectWithoutPropertiesLoose($n,Cn){if($n==null)return{};var _n={},Pn=Object.keys($n),In,Nn;for(Nn=0;Nn<Pn.length;Nn++)In=Pn[Nn],!(Cn.indexOf(In)>=0)&&(_n[In]=$n[In]);return _n}setTwoToneColor(blue.primary);var Icon$1=function(Cn,_n){var Pn,In=_objectSpread$U({},Cn,_n.attrs),Nn=In.class,Rn=In.icon,Dn=In.spin,Ln=In.rotate,Fn=In.tabindex,Bn=In.twoToneColor,Hn=In.onClick,zn=_objectWithoutProperties(In,_excluded),Wn=useInjectIconContext(),Yn=Wn.prefixCls,Gn=Wn.rootClassName,Go=(Pn={},_defineProperty$U(Pn,Gn.value,!!Gn.value),_defineProperty$U(Pn,Yn.value,!0),_defineProperty$U(Pn,"".concat(Yn.value,"-").concat(Rn.name),!!Rn.name),_defineProperty$U(Pn,"".concat(Yn.value,"-spin"),!!Dn||Rn.name==="loading"),Pn),Xn=Fn;Xn===void 0&&Hn&&(Xn=-1);var Yo=Ln?{msTransform:"rotate(".concat(Ln,"deg)"),transform:"rotate(".concat(Ln,"deg)")}:void 0,qo=normalizeTwoToneColors(Bn),Jo=_slicedToArray(qo,2),Zo=Jo[0],rr=Jo[1];return createVNode("span",_objectSpread$U({role:"img","aria-label":Rn.name},zn,{onClick:Hn,class:[Go,Nn],tabindex:Xn}),[createVNode(VueIcon,{icon:Rn,primaryColor:Zo,secondaryColor:rr,style:Yo},null),createVNode(InsertStyles,null,null)])};Icon$1.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};Icon$1.displayName="AntdIcon";Icon$1.inheritAttrs=!1;Icon$1.getTwoToneColor=getTwoToneColor;Icon$1.setTwoToneColor=setTwoToneColor;const AntdIcon=Icon$1;function _objectSpread$T($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$T($n,In,_n[In])})}return $n}function _defineProperty$T($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var DownOutlined=function(Cn,_n){var Pn=_objectSpread$T({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$T({},Pn,{icon:DownOutlinedSvg}),null)};DownOutlined.displayName="DownOutlined";DownOutlined.inheritAttrs=!1;const DownOutlined$1=DownOutlined;var LoadingOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const LoadingOutlinedSvg=LoadingOutlined$2;function _objectSpread$S($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$S($n,In,_n[In])})}return $n}function _defineProperty$S($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var LoadingOutlined=function(Cn,_n){var Pn=_objectSpread$S({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$S({},Pn,{icon:LoadingOutlinedSvg}),null)};LoadingOutlined.displayName="LoadingOutlined";LoadingOutlined.inheritAttrs=!1;const LoadingOutlined$1=LoadingOutlined;var CheckOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const CheckOutlinedSvg=CheckOutlined$2;function _objectSpread$R($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$R($n,In,_n[In])})}return $n}function _defineProperty$R($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CheckOutlined=function(Cn,_n){var Pn=_objectSpread$R({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$R({},Pn,{icon:CheckOutlinedSvg}),null)};CheckOutlined.displayName="CheckOutlined";CheckOutlined.inheritAttrs=!1;const CheckOutlined$1=CheckOutlined;var CloseOutlined$2={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const CloseOutlinedSvg=CloseOutlined$2;function _objectSpread$Q($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$Q($n,In,_n[In])})}return $n}function _defineProperty$Q($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CloseOutlined=function(Cn,_n){var Pn=_objectSpread$Q({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$Q({},Pn,{icon:CloseOutlinedSvg}),null)};CloseOutlined.displayName="CloseOutlined";CloseOutlined.inheritAttrs=!1;const CloseOutlined$1=CloseOutlined;var CloseCircleFilled$2={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const CloseCircleFilledSvg=CloseCircleFilled$2;function _objectSpread$P($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$P($n,In,_n[In])})}return $n}function _defineProperty$P($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CloseCircleFilled=function(Cn,_n){var Pn=_objectSpread$P({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$P({},Pn,{icon:CloseCircleFilledSvg}),null)};CloseCircleFilled.displayName="CloseCircleFilled";CloseCircleFilled.inheritAttrs=!1;const CloseCircleFilled$1=CloseCircleFilled;var SearchOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const SearchOutlinedSvg=SearchOutlined$2;function _objectSpread$O($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$O($n,In,_n[In])})}return $n}function _defineProperty$O($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var SearchOutlined=function(Cn,_n){var Pn=_objectSpread$O({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$O({},Pn,{icon:SearchOutlinedSvg}),null)};SearchOutlined.displayName="SearchOutlined";SearchOutlined.inheritAttrs=!1;const SearchOutlined$1=SearchOutlined;function getIcons($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{loading:_n,multiple:Pn,prefixCls:In,hasFeedback:Nn,feedbackIcon:Rn,showArrow:Dn}=$n,Ln=$n.suffixIcon||Cn.suffixIcon&&Cn.suffixIcon(),Fn=$n.clearIcon||Cn.clearIcon&&Cn.clearIcon(),Bn=$n.menuItemSelectedIcon||Cn.menuItemSelectedIcon&&Cn.menuItemSelectedIcon(),Hn=$n.removeIcon||Cn.removeIcon&&Cn.removeIcon(),zn=Fn??createVNode(CloseCircleFilled$1,null,null),Wn=Xn=>createVNode(Fragment,null,[Dn!==!1&&Xn,Nn&&Rn]);let Yn=null;if(Ln!==void 0)Yn=Wn(Ln);else if(_n)Yn=Wn(createVNode(LoadingOutlined$1,{spin:!0},null));else{const Xn=`${In}-suffix`;Yn=Yo=>{let{open:qo,showSearch:Jo}=Yo;return Wn(qo&&Jo?createVNode(SearchOutlined$1,{class:Xn},null):createVNode(DownOutlined$1,{class:Xn},null))}}let Gn=null;Bn!==void 0?Gn=Bn:Pn?Gn=createVNode(CheckOutlined$1,null,null):Gn=null;let Go=null;return Hn!==void 0?Go=Hn:Go=createVNode(CloseOutlined$1,null,null),{clearIcon:zn,suffixIcon:Yn,itemIcon:Gn,removeIcon:Go}}function createContext($n){const Cn=Symbol("contextKey");return{useProvide:(In,Nn)=>{const Rn=reactive({});return provide(Cn,Rn),watchEffect(()=>{_extends$1(Rn,In,Nn||{})}),Rn},useInject:()=>inject(Cn,$n)||{}}}const ContextKey$1=Symbol("ContextProps"),InternalContextKey=Symbol("InternalContextProps"),useProvideFormItemContext=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:computed(()=>!0);const _n=ref(new Map),Pn=(Nn,Rn)=>{_n.value.set(Nn,Rn),_n.value=new Map(_n.value)},In=Nn=>{_n.value.delete(Nn),_n.value=new Map(_n.value)};getCurrentInstance(),watch([Cn,_n],()=>{}),provide(ContextKey$1,$n),provide(InternalContextKey,{addFormItemField:Pn,removeFormItemField:In})},defaultContext={id:computed(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},defaultInternalContext={addFormItemField:()=>{},removeFormItemField:()=>{}},useInjectFormItemContext=()=>{const $n=inject(InternalContextKey,defaultInternalContext),Cn=Symbol("FormItemFieldKey"),_n=getCurrentInstance();return $n.addFormItemField(Cn,_n.type),onBeforeUnmount(()=>{$n.removeFormItemField(Cn)}),provide(InternalContextKey,defaultInternalContext),provide(ContextKey$1,defaultContext),inject(ContextKey$1,defaultContext)},FormItemRest=defineComponent({compatConfig:{MODE:3},name:"AFormItemRest",setup($n,Cn){let{slots:_n}=Cn;return provide(InternalContextKey,defaultInternalContext),provide(ContextKey$1,defaultContext),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),FormItemInputContext=createContext({}),NoFormStatus=defineComponent({name:"NoFormStatus",setup($n,Cn){let{slots:_n}=Cn;return FormItemInputContext.useProvide({}),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}});function getStatusClassNames($n,Cn,_n){return classNames({[`${$n}-status-success`]:Cn==="success",[`${$n}-status-warning`]:Cn==="warning",[`${$n}-status-error`]:Cn==="error",[`${$n}-status-validating`]:Cn==="validating",[`${$n}-has-feedback`]:_n})}const getMergedStatus=($n,Cn)=>Cn||$n,genSpaceCompactStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},genSpaceCompactStyle$1=genSpaceCompactStyle,genSpaceStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${Cn}-space-item`]:{"&:empty":{display:"none"}}}}},useStyle$W=genComponentStyleHook("Space",$n=>[genSpaceStyle($n),genSpaceCompactStyle$1($n)]);var symbolTag$2="[object Symbol]";function isSymbol($n){return typeof $n=="symbol"||isObjectLike($n)&&baseGetTag($n)==symbolTag$2}function arrayMap($n,Cn){for(var _n=-1,Pn=$n==null?0:$n.length,In=Array(Pn);++_n<Pn;)In[_n]=Cn($n[_n],_n,$n);return In}var INFINITY$3=1/0,symbolProto$1=Symbol$1?Symbol$1.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString($n){if(typeof $n=="string")return $n;if(isArray$2($n))return arrayMap($n,baseToString)+"";if(isSymbol($n))return symbolToString?symbolToString.call($n):"";var Cn=$n+"";return Cn=="0"&&1/$n==-INFINITY$3?"-0":Cn}var reWhitespace=/\s/;function trimmedEndIndex($n){for(var Cn=$n.length;Cn--&&reWhitespace.test($n.charAt(Cn)););return Cn}var reTrimStart=/^\s+/;function baseTrim($n){return $n&&$n.slice(0,trimmedEndIndex($n)+1).replace(reTrimStart,"")}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber($n){if(typeof $n=="number")return $n;if(isSymbol($n))return NAN;if(isObject$5($n)){var Cn=typeof $n.valueOf=="function"?$n.valueOf():$n;$n=isObject$5(Cn)?Cn+"":Cn}if(typeof $n!="string")return $n===0?$n:+$n;$n=baseTrim($n);var _n=reIsBinary.test($n);return _n||reIsOctal.test($n)?freeParseInt($n.slice(2),_n?2:8):reIsBadHex.test($n)?NAN:+$n}var INFINITY$2=1/0,MAX_INTEGER=17976931348623157e292;function toFinite($n){if(!$n)return $n===0?$n:0;if($n=toNumber($n),$n===INFINITY$2||$n===-INFINITY$2){var Cn=$n<0?-1:1;return Cn*MAX_INTEGER}return $n===$n?$n:0}function toInteger($n){var Cn=toFinite($n),_n=Cn%1;return Cn===Cn?_n?Cn-_n:Cn:0}function identity($n){return $n}var objectCreate=Object.create,baseCreate=function(){function $n(){}return function(Cn){if(!isObject$5(Cn))return{};if(objectCreate)return objectCreate(Cn);$n.prototype=Cn;var _n=new $n;return $n.prototype=void 0,_n}}();function apply$1($n,Cn,_n){switch(_n.length){case 0:return $n.call(Cn);case 1:return $n.call(Cn,_n[0]);case 2:return $n.call(Cn,_n[0],_n[1]);case 3:return $n.call(Cn,_n[0],_n[1],_n[2])}return $n.apply(Cn,_n)}function noop$c(){}function copyArray($n,Cn){var _n=-1,Pn=$n.length;for(Cn||(Cn=Array(Pn));++_n<Pn;)Cn[_n]=$n[_n];return Cn}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut($n){var Cn=0,_n=0;return function(){var Pn=nativeNow(),In=HOT_SPAN-(Pn-_n);if(_n=Pn,In>0){if(++Cn>=HOT_COUNT)return arguments[0]}else Cn=0;return $n.apply(void 0,arguments)}}function constant($n){return function(){return $n}}var defineProperty=function(){try{var $n=getNative(Object,"defineProperty");return $n({},"",{}),$n}catch{}}(),baseSetToString=defineProperty?function($n,Cn){return defineProperty($n,"toString",{configurable:!0,enumerable:!1,value:constant(Cn),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);function arrayEach($n,Cn){for(var _n=-1,Pn=$n==null?0:$n.length;++_n<Pn&&Cn($n[_n],_n,$n)!==!1;);return $n}function baseFindIndex($n,Cn,_n,Pn){for(var In=$n.length,Nn=_n+(Pn?1:-1);Pn?Nn--:++Nn<In;)if(Cn($n[Nn],Nn,$n))return Nn;return-1}function baseIsNaN($n){return $n!==$n}function strictIndexOf($n,Cn,_n){for(var Pn=_n-1,In=$n.length;++Pn<In;)if($n[Pn]===Cn)return Pn;return-1}function baseIndexOf($n,Cn,_n){return Cn===Cn?strictIndexOf($n,Cn,_n):baseFindIndex($n,baseIsNaN,_n)}function arrayIncludes($n,Cn){var _n=$n==null?0:$n.length;return!!_n&&baseIndexOf($n,Cn,0)>-1}function baseAssignValue($n,Cn,_n){Cn=="__proto__"&&defineProperty?defineProperty($n,Cn,{configurable:!0,enumerable:!0,value:_n,writable:!0}):$n[Cn]=_n}var objectProto$4=Object.prototype,hasOwnProperty$5=objectProto$4.hasOwnProperty;function assignValue($n,Cn,_n){var Pn=$n[Cn];(!(hasOwnProperty$5.call($n,Cn)&&eq(Pn,_n))||_n===void 0&&!(Cn in $n))&&baseAssignValue($n,Cn,_n)}function copyObject($n,Cn,_n,Pn){var In=!_n;_n||(_n={});for(var Nn=-1,Rn=Cn.length;++Nn<Rn;){var Dn=Cn[Nn],Ln=Pn?Pn(_n[Dn],$n[Dn],Dn,_n,$n):void 0;Ln===void 0&&(Ln=$n[Dn]),In?baseAssignValue(_n,Dn,Ln):assignValue(_n,Dn,Ln)}return _n}var nativeMax$2=Math.max;function overRest($n,Cn,_n){return Cn=nativeMax$2(Cn===void 0?$n.length-1:Cn,0),function(){for(var Pn=arguments,In=-1,Nn=nativeMax$2(Pn.length-Cn,0),Rn=Array(Nn);++In<Nn;)Rn[In]=Pn[Cn+In];In=-1;for(var Dn=Array(Cn+1);++In<Cn;)Dn[In]=Pn[In];return Dn[Cn]=_n(Rn),apply$1($n,this,Dn)}}function baseRest($n,Cn){return setToString(overRest($n,Cn,identity),$n+"")}function isIterateeCall($n,Cn,_n){if(!isObject$5(_n))return!1;var Pn=typeof Cn;return(Pn=="number"?isArrayLike(_n)&&isIndex(Cn,_n.length):Pn=="string"&&Cn in _n)?eq(_n[Cn],$n):!1}function createAssigner($n){return baseRest(function(Cn,_n){var Pn=-1,In=_n.length,Nn=In>1?_n[In-1]:void 0,Rn=In>2?_n[2]:void 0;for(Nn=$n.length>3&&typeof Nn=="function"?(In--,Nn):void 0,Rn&&isIterateeCall(_n[0],_n[1],Rn)&&(Nn=In<3?void 0:Nn,In=1),Cn=Object(Cn);++Pn<In;){var Dn=_n[Pn];Dn&&$n(Cn,Dn,Pn,Nn)}return Cn})}function nativeKeysIn($n){var Cn=[];if($n!=null)for(var _n in Object($n))Cn.push(_n);return Cn}var objectProto$3=Object.prototype,hasOwnProperty$4=objectProto$3.hasOwnProperty;function baseKeysIn($n){if(!isObject$5($n))return nativeKeysIn($n);var Cn=isPrototype($n),_n=[];for(var Pn in $n)Pn=="constructor"&&(Cn||!hasOwnProperty$4.call($n,Pn))||_n.push(Pn);return _n}function keysIn($n){return isArrayLike($n)?arrayLikeKeys($n,!0):baseKeysIn($n)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey($n,Cn){if(isArray$2($n))return!1;var _n=typeof $n;return _n=="number"||_n=="symbol"||_n=="boolean"||$n==null||isSymbol($n)?!0:reIsPlainProp.test($n)||!reIsDeepProp.test($n)||Cn!=null&&$n in Object(Cn)}var FUNC_ERROR_TEXT$1="Expected a function";function memoize($n,Cn){if(typeof $n!="function"||Cn!=null&&typeof Cn!="function")throw new TypeError(FUNC_ERROR_TEXT$1);var _n=function(){var Pn=arguments,In=Cn?Cn.apply(this,Pn):Pn[0],Nn=_n.cache;if(Nn.has(In))return Nn.get(In);var Rn=$n.apply(this,Pn);return _n.cache=Nn.set(In,Rn)||Nn,Rn};return _n.cache=new(memoize.Cache||MapCache),_n}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped($n){var Cn=memoize($n,function(Pn){return _n.size===MAX_MEMOIZE_SIZE&&_n.clear(),Pn}),_n=Cn.cache;return Cn}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped(function($n){var Cn=[];return $n.charCodeAt(0)===46&&Cn.push(""),$n.replace(rePropName,function(_n,Pn,In,Nn){Cn.push(In?Nn.replace(reEscapeChar,"$1"):Pn||_n)}),Cn});function toString$1($n){return $n==null?"":baseToString($n)}function castPath($n,Cn){return isArray$2($n)?$n:isKey($n,Cn)?[$n]:stringToPath(toString$1($n))}var INFINITY$1=1/0;function toKey($n){if(typeof $n=="string"||isSymbol($n))return $n;var Cn=$n+"";return Cn=="0"&&1/$n==-INFINITY$1?"-0":Cn}function baseGet($n,Cn){Cn=castPath(Cn,$n);for(var _n=0,Pn=Cn.length;$n!=null&&_n<Pn;)$n=$n[toKey(Cn[_n++])];return _n&&_n==Pn?$n:void 0}function get$1($n,Cn,_n){var Pn=$n==null?void 0:baseGet($n,Cn);return Pn===void 0?_n:Pn}var spreadableSymbol=Symbol$1?Symbol$1.isConcatSpreadable:void 0;function isFlattenable($n){return isArray$2($n)||isArguments($n)||!!(spreadableSymbol&&$n&&$n[spreadableSymbol])}function baseFlatten($n,Cn,_n,Pn,In){var Nn=-1,Rn=$n.length;for(_n||(_n=isFlattenable),In||(In=[]);++Nn<Rn;){var Dn=$n[Nn];Cn>0&&_n(Dn)?Cn>1?baseFlatten(Dn,Cn-1,_n,Pn,In):arrayPush(In,Dn):Pn||(In[In.length]=Dn)}return In}function flatten($n){var Cn=$n==null?0:$n.length;return Cn?baseFlatten($n,1):[]}function flatRest($n){return setToString(overRest($n,void 0,flatten),$n+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$1="[object Object]",funcProto=Function.prototype,objectProto$2=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$3=objectProto$2.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2($n){if(!isObjectLike($n)||baseGetTag($n)!=objectTag$1)return!1;var Cn=getPrototype($n);if(Cn===null)return!0;var _n=hasOwnProperty$3.call(Cn,"constructor")&&Cn.constructor;return typeof _n=="function"&&_n instanceof _n&&funcToString.call(_n)==objectCtorString}function baseSlice($n,Cn,_n){var Pn=-1,In=$n.length;Cn<0&&(Cn=-Cn>In?0:In+Cn),_n=_n>In?In:_n,_n<0&&(_n+=In),In=Cn>_n?0:_n-Cn>>>0,Cn>>>=0;for(var Nn=Array(In);++Pn<In;)Nn[Pn]=$n[Pn+Cn];return Nn}function baseAssign($n,Cn){return $n&©Object(Cn,keys(Cn),$n)}function baseAssignIn($n,Cn){return $n&©Object(Cn,keysIn(Cn),$n)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer($n,Cn){if(Cn)return $n.slice();var _n=$n.length,Pn=allocUnsafe?allocUnsafe(_n):new $n.constructor(_n);return $n.copy(Pn),Pn}function copySymbols($n,Cn){return copyObject($n,getSymbols($n),Cn)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function($n){for(var Cn=[];$n;)arrayPush(Cn,getSymbols($n)),$n=getPrototype($n);return Cn}:stubArray;function copySymbolsIn($n,Cn){return copyObject($n,getSymbolsIn($n),Cn)}function getAllKeysIn($n){return baseGetAllKeys($n,keysIn,getSymbolsIn)}var objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function initCloneArray($n){var Cn=$n.length,_n=new $n.constructor(Cn);return Cn&&typeof $n[0]=="string"&&hasOwnProperty$2.call($n,"index")&&(_n.index=$n.index,_n.input=$n.input),_n}function cloneArrayBuffer($n){var Cn=new $n.constructor($n.byteLength);return new Uint8Array$1(Cn).set(new Uint8Array$1($n)),Cn}function cloneDataView($n,Cn){var _n=Cn?cloneArrayBuffer($n.buffer):$n.buffer;return new $n.constructor(_n,$n.byteOffset,$n.byteLength)}var reFlags=/\w*$/;function cloneRegExp($n){var Cn=new $n.constructor($n.source,reFlags.exec($n));return Cn.lastIndex=$n.lastIndex,Cn}var symbolProto=Symbol$1?Symbol$1.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol($n){return symbolValueOf?Object(symbolValueOf.call($n)):{}}function cloneTypedArray($n,Cn){var _n=Cn?cloneArrayBuffer($n.buffer):$n.buffer;return new $n.constructor(_n,$n.byteOffset,$n.length)}var boolTag$1="[object Boolean]",dateTag$1="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$1="[object RegExp]",setTag$3="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag($n,Cn,_n){var Pn=$n.constructor;switch(Cn){case arrayBufferTag$1:return cloneArrayBuffer($n);case boolTag$1:case dateTag$1:return new Pn(+$n);case dataViewTag$1:return cloneDataView($n,_n);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray($n,_n);case mapTag$3:return new Pn;case numberTag$2:case stringTag$1:return new Pn($n);case regexpTag$1:return cloneRegExp($n);case setTag$3:return new Pn;case symbolTag$1:return cloneSymbol($n)}}function initCloneObject($n){return typeof $n.constructor=="function"&&!isPrototype($n)?baseCreate(getPrototype($n)):{}}var mapTag$2="[object Map]";function baseIsMap($n){return isObjectLike($n)&&getTag$1($n)==mapTag$2}var nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,setTag$2="[object Set]";function baseIsSet($n){return isObjectLike($n)&&getTag$1($n)==setTag$2}var nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$2=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag$1]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone($n,Cn,_n,Pn,In,Nn){var Rn,Dn=Cn&CLONE_DEEP_FLAG$2,Ln=Cn&CLONE_FLAT_FLAG$1,Fn=Cn&CLONE_SYMBOLS_FLAG$2;if(_n&&(Rn=In?_n($n,Pn,In,Nn):_n($n)),Rn!==void 0)return Rn;if(!isObject$5($n))return $n;var Bn=isArray$2($n);if(Bn){if(Rn=initCloneArray($n),!Dn)return copyArray($n,Rn)}else{var Hn=getTag$1($n),zn=Hn==funcTag||Hn==genTag;if(isBuffer($n))return cloneBuffer($n,Dn);if(Hn==objectTag||Hn==argsTag||zn&&!In){if(Rn=Ln||zn?{}:initCloneObject($n),!Dn)return Ln?copySymbolsIn($n,baseAssignIn(Rn,$n)):copySymbols($n,baseAssign(Rn,$n))}else{if(!cloneableTags[Hn])return In?$n:{};Rn=initCloneByTag($n,Hn,Dn)}}Nn||(Nn=new Stack);var Wn=Nn.get($n);if(Wn)return Wn;Nn.set($n,Rn),isSet($n)?$n.forEach(function(Go){Rn.add(baseClone(Go,Cn,_n,Go,$n,Nn))}):isMap($n)&&$n.forEach(function(Go,Xn){Rn.set(Xn,baseClone(Go,Cn,_n,Xn,$n,Nn))});var Yn=Fn?Ln?getAllKeysIn:getAllKeys$1:Ln?keysIn:keys,Gn=Bn?void 0:Yn($n);return arrayEach(Gn||$n,function(Go,Xn){Gn&&(Xn=Go,Go=$n[Xn]),assignValue(Rn,Xn,baseClone(Go,Cn,_n,Xn,$n,Nn))}),Rn}var CLONE_DEEP_FLAG$1=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeep($n){return baseClone($n,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$1)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch($n,Cn,_n,Pn){var In=_n.length,Nn=In,Rn=!Pn;if($n==null)return!Nn;for($n=Object($n);In--;){var Dn=_n[In];if(Rn&&Dn[2]?Dn[1]!==$n[Dn[0]]:!(Dn[0]in $n))return!1}for(;++In<Nn;){Dn=_n[In];var Ln=Dn[0],Fn=$n[Ln],Bn=Dn[1];if(Rn&&Dn[2]){if(Fn===void 0&&!(Ln in $n))return!1}else{var Hn=new Stack;if(Pn)var zn=Pn(Fn,Bn,Ln,$n,Cn,Hn);if(!(zn===void 0?baseIsEqual(Bn,Fn,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,Pn,Hn):zn))return!1}}return!0}function isStrictComparable($n){return $n===$n&&!isObject$5($n)}function getMatchData($n){for(var Cn=keys($n),_n=Cn.length;_n--;){var Pn=Cn[_n],In=$n[Pn];Cn[_n]=[Pn,In,isStrictComparable(In)]}return Cn}function matchesStrictComparable($n,Cn){return function(_n){return _n==null?!1:_n[$n]===Cn&&(Cn!==void 0||$n in Object(_n))}}function baseMatches($n){var Cn=getMatchData($n);return Cn.length==1&&Cn[0][2]?matchesStrictComparable(Cn[0][0],Cn[0][1]):function(_n){return _n===$n||baseIsMatch(_n,$n,Cn)}}function baseHasIn($n,Cn){return $n!=null&&Cn in Object($n)}function hasPath($n,Cn,_n){Cn=castPath(Cn,$n);for(var Pn=-1,In=Cn.length,Nn=!1;++Pn<In;){var Rn=toKey(Cn[Pn]);if(!(Nn=$n!=null&&_n($n,Rn)))break;$n=$n[Rn]}return Nn||++Pn!=In?Nn:(In=$n==null?0:$n.length,!!In&&isLength(In)&&isIndex(Rn,In)&&(isArray$2($n)||isArguments($n)))}function hasIn($n,Cn){return $n!=null&&hasPath($n,Cn,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty($n,Cn){return isKey($n)&&isStrictComparable(Cn)?matchesStrictComparable(toKey($n),Cn):function(_n){var Pn=get$1(_n,$n);return Pn===void 0&&Pn===Cn?hasIn(_n,$n):baseIsEqual(Cn,Pn,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty($n){return function(Cn){return Cn==null?void 0:Cn[$n]}}function basePropertyDeep($n){return function(Cn){return baseGet(Cn,$n)}}function property($n){return isKey($n)?baseProperty(toKey($n)):basePropertyDeep($n)}function baseIteratee($n){return typeof $n=="function"?$n:$n==null?identity:typeof $n=="object"?isArray$2($n)?baseMatchesProperty($n[0],$n[1]):baseMatches($n):property($n)}function arrayAggregator($n,Cn,_n,Pn){for(var In=-1,Nn=$n==null?0:$n.length;++In<Nn;){var Rn=$n[In];Cn(Pn,Rn,_n(Rn),$n)}return Pn}function createBaseFor($n){return function(Cn,_n,Pn){for(var In=-1,Nn=Object(Cn),Rn=Pn(Cn),Dn=Rn.length;Dn--;){var Ln=Rn[$n?Dn:++In];if(_n(Nn[Ln],Ln,Nn)===!1)break}return Cn}}var baseFor=createBaseFor();function baseForOwn($n,Cn){return $n&&baseFor($n,Cn,keys)}function createBaseEach($n,Cn){return function(_n,Pn){if(_n==null)return _n;if(!isArrayLike(_n))return $n(_n,Pn);for(var In=_n.length,Nn=Cn?In:-1,Rn=Object(_n);(Cn?Nn--:++Nn<In)&&Pn(Rn[Nn],Nn,Rn)!==!1;);return _n}}var baseEach=createBaseEach(baseForOwn);function baseAggregator($n,Cn,_n,Pn){return baseEach($n,function(In,Nn,Rn){Cn(Pn,In,_n(In),Rn)}),Pn}function createAggregator($n,Cn){return function(_n,Pn){var In=isArray$2(_n)?arrayAggregator:baseAggregator,Nn=Cn?Cn():{};return In(_n,$n,baseIteratee(Pn),Nn)}}var now$3=function(){return root.Date.now()},FUNC_ERROR_TEXT="Expected a function",nativeMax$1=Math.max,nativeMin$1=Math.min;function debounce$2($n,Cn,_n){var Pn,In,Nn,Rn,Dn,Ln,Fn=0,Bn=!1,Hn=!1,zn=!0;if(typeof $n!="function")throw new TypeError(FUNC_ERROR_TEXT);Cn=toNumber(Cn)||0,isObject$5(_n)&&(Bn=!!_n.leading,Hn="maxWait"in _n,Nn=Hn?nativeMax$1(toNumber(_n.maxWait)||0,Cn):Nn,zn="trailing"in _n?!!_n.trailing:zn);function Wn(rr){var nr=Pn,ta=In;return Pn=In=void 0,Fn=rr,Rn=$n.apply(ta,nr),Rn}function Yn(rr){return Fn=rr,Dn=setTimeout(Xn,Cn),Bn?Wn(rr):Rn}function Gn(rr){var nr=rr-Ln,ta=rr-Fn,oa=Cn-nr;return Hn?nativeMin$1(oa,Nn-ta):oa}function Go(rr){var nr=rr-Ln,ta=rr-Fn;return Ln===void 0||nr>=Cn||nr<0||Hn&&ta>=Nn}function Xn(){var rr=now$3();if(Go(rr))return Yo(rr);Dn=setTimeout(Xn,Gn(rr))}function Yo(rr){return Dn=void 0,zn&&Pn?Wn(rr):(Pn=In=void 0,Rn)}function qo(){Dn!==void 0&&clearTimeout(Dn),Fn=0,Pn=Ln=In=Dn=void 0}function Jo(){return Dn===void 0?Rn:Yo(now$3())}function Zo(){var rr=now$3(),nr=Go(rr);if(Pn=arguments,In=this,Ln=rr,nr){if(Dn===void 0)return Yn(Ln);if(Hn)return clearTimeout(Dn),Dn=setTimeout(Xn,Cn),Wn(Ln)}return Dn===void 0&&(Dn=setTimeout(Xn,Cn)),Rn}return Zo.cancel=qo,Zo.flush=Jo,Zo}function assignMergeValue($n,Cn,_n){(_n!==void 0&&!eq($n[Cn],_n)||_n===void 0&&!(Cn in $n))&&baseAssignValue($n,Cn,_n)}function isArrayLikeObject($n){return isObjectLike($n)&&isArrayLike($n)}function safeGet($n,Cn){if(!(Cn==="constructor"&&typeof $n[Cn]=="function")&&Cn!="__proto__")return $n[Cn]}function toPlainObject($n){return copyObject($n,keysIn($n))}function baseMergeDeep($n,Cn,_n,Pn,In,Nn,Rn){var Dn=safeGet($n,_n),Ln=safeGet(Cn,_n),Fn=Rn.get(Ln);if(Fn){assignMergeValue($n,_n,Fn);return}var Bn=Nn?Nn(Dn,Ln,_n+"",$n,Cn,Rn):void 0,Hn=Bn===void 0;if(Hn){var zn=isArray$2(Ln),Wn=!zn&&isBuffer(Ln),Yn=!zn&&!Wn&&isTypedArray$1(Ln);Bn=Ln,zn||Wn||Yn?isArray$2(Dn)?Bn=Dn:isArrayLikeObject(Dn)?Bn=copyArray(Dn):Wn?(Hn=!1,Bn=cloneBuffer(Ln,!0)):Yn?(Hn=!1,Bn=cloneTypedArray(Ln,!0)):Bn=[]:isPlainObject$2(Ln)||isArguments(Ln)?(Bn=Dn,isArguments(Dn)?Bn=toPlainObject(Dn):(!isObject$5(Dn)||isFunction$1(Dn))&&(Bn=initCloneObject(Ln))):Hn=!1}Hn&&(Rn.set(Ln,Bn),In(Bn,Ln,Pn,Nn,Rn),Rn.delete(Ln)),assignMergeValue($n,_n,Bn)}function baseMerge($n,Cn,_n,Pn,In){$n!==Cn&&baseFor(Cn,function(Nn,Rn){if(In||(In=new Stack),isObject$5(Nn))baseMergeDeep($n,Cn,Rn,_n,baseMerge,Pn,In);else{var Dn=Pn?Pn(safeGet($n,Rn),Nn,Rn+"",$n,Cn,In):void 0;Dn===void 0&&(Dn=Nn),assignMergeValue($n,Rn,Dn)}},keysIn)}function arrayIncludesWith($n,Cn,_n){for(var Pn=-1,In=$n==null?0:$n.length;++Pn<In;)if(_n(Cn,$n[Pn]))return!0;return!1}function last($n){var Cn=$n==null?0:$n.length;return Cn?$n[Cn-1]:void 0}function createFind($n){return function(Cn,_n,Pn){var In=Object(Cn);if(!isArrayLike(Cn)){var Nn=baseIteratee(_n);Cn=keys(Cn),_n=function(Dn){return Nn(In[Dn],Dn,In)}}var Rn=$n(Cn,_n,Pn);return Rn>-1?In[Nn?Cn[Rn]:Rn]:void 0}}var nativeMax=Math.max;function findIndex($n,Cn,_n){var Pn=$n==null?0:$n.length;if(!Pn)return-1;var In=_n==null?0:toInteger(_n);return In<0&&(In=nativeMax(Pn+In,0)),baseFindIndex($n,baseIteratee(Cn),In)}var find=createFind(findIndex);function fromPairs($n){for(var Cn=-1,_n=$n==null?0:$n.length,Pn={};++Cn<_n;){var In=$n[Cn];Pn[In[0]]=In[1]}return Pn}var nativeMin=Math.min;function baseIntersection($n,Cn,_n){for(var Pn=_n?arrayIncludesWith:arrayIncludes,In=$n[0].length,Nn=$n.length,Rn=Nn,Dn=Array(Nn),Ln=1/0,Fn=[];Rn--;){var Bn=$n[Rn];Rn&&Cn&&(Bn=arrayMap(Bn,baseUnary(Cn))),Ln=nativeMin(Bn.length,Ln),Dn[Rn]=!_n&&(Cn||In>=120&&Bn.length>=120)?new SetCache(Rn&&Bn):void 0}Bn=$n[0];var Hn=-1,zn=Dn[0];e:for(;++Hn<In&&Fn.length<Ln;){var Wn=Bn[Hn],Yn=Cn?Cn(Wn):Wn;if(Wn=_n||Wn!==0?Wn:0,!(zn?cacheHas(zn,Yn):Pn(Fn,Yn,_n))){for(Rn=Nn;--Rn;){var Gn=Dn[Rn];if(!(Gn?cacheHas(Gn,Yn):Pn($n[Rn],Yn,_n)))continue e}zn&&zn.push(Yn),Fn.push(Wn)}}return Fn}function castArrayLikeObject($n){return isArrayLikeObject($n)?$n:[]}var intersection=baseRest(function($n){var Cn=arrayMap($n,castArrayLikeObject);return Cn.length&&Cn[0]===$n[0]?baseIntersection(Cn):[]});function parent($n,Cn){return Cn.length<2?$n:baseGet($n,baseSlice(Cn,0,-1))}var mapTag="[object Map]",setTag="[object Set]",objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function isEmpty$1($n){if($n==null)return!0;if(isArrayLike($n)&&(isArray$2($n)||typeof $n=="string"||typeof $n.splice=="function"||isBuffer($n)||isTypedArray$1($n)||isArguments($n)))return!$n.length;var Cn=getTag$1($n);if(Cn==mapTag||Cn==setTag)return!$n.size;if(isPrototype($n))return!baseKeys($n).length;for(var _n in $n)if(hasOwnProperty$1.call($n,_n))return!1;return!0}var numberTag="[object Number]";function isNumber$1($n){return typeof $n=="number"||isObjectLike($n)&&baseGetTag($n)==numberTag}var merge=createAssigner(function($n,Cn,_n){baseMerge($n,Cn,_n)});const le$1=merge;function baseUnset($n,Cn){return Cn=castPath(Cn,$n),$n=parent($n,Cn),$n==null||delete $n[toKey(last(Cn))]}function customOmitClone($n){return isPlainObject$2($n)?void 0:$n}var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,omit=flatRest(function($n,Cn){var _n={};if($n==null)return _n;var Pn=!1;Cn=arrayMap(Cn,function(Nn){return Nn=castPath(Nn,$n),Pn||(Pn=Nn.length>1),Nn}),copyObject($n,getAllKeysIn($n),_n),Pn&&(_n=baseClone(_n,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var In=Cn.length;In--;)baseUnset(_n,Cn[In]);return _n});function baseSet($n,Cn,_n,Pn){if(!isObject$5($n))return $n;Cn=castPath(Cn,$n);for(var In=-1,Nn=Cn.length,Rn=Nn-1,Dn=$n;Dn!=null&&++In<Nn;){var Ln=toKey(Cn[In]),Fn=_n;if(Ln==="__proto__"||Ln==="constructor"||Ln==="prototype")return $n;if(In!=Rn){var Bn=Dn[Ln];Fn=Pn?Pn(Bn,Ln,Dn):void 0,Fn===void 0&&(Fn=isObject$5(Bn)?Bn:isIndex(Cn[In+1])?[]:{})}assignValue(Dn,Ln,Fn),Dn=Dn[Ln]}return $n}function basePickBy($n,Cn,_n){for(var Pn=-1,In=Cn.length,Nn={};++Pn<In;){var Rn=Cn[Pn],Dn=baseGet($n,Rn);_n(Dn,Rn)&&baseSet(Nn,castPath(Rn,$n),Dn)}return Nn}var partition=createAggregator(function($n,Cn,_n){$n[_n?0:1].push(Cn)},function(){return[[],[]]});const partition$1=partition;function basePick($n,Cn){return basePickBy($n,Cn,function(_n,Pn){return hasIn($n,Pn)})}var pick=flatRest(function($n,Cn){return $n==null?{}:basePick($n,Cn)}),INFINITY=1/0,createSet=Set$1&&1/setToArray(new Set$1([,-0]))[1]==INFINITY?function($n){return new Set$1($n)}:noop$c,LARGE_ARRAY_SIZE=200;function baseUniq($n,Cn,_n){var Pn=-1,In=arrayIncludes,Nn=$n.length,Rn=!0,Dn=[],Ln=Dn;if(_n)Rn=!1,In=arrayIncludesWith;else if(Nn>=LARGE_ARRAY_SIZE){var Fn=Cn?null:createSet($n);if(Fn)return setToArray(Fn);Rn=!1,In=cacheHas,Ln=new SetCache}else Ln=Cn?[]:Dn;e:for(;++Pn<Nn;){var Bn=$n[Pn],Hn=Cn?Cn(Bn):Bn;if(Bn=_n||Bn!==0?Bn:0,Rn&&Hn===Hn){for(var zn=Ln.length;zn--;)if(Ln[zn]===Hn)continue e;Cn&&Ln.push(Hn),Dn.push(Bn)}else In(Ln,Hn,_n)||(Ln!==Dn&&Ln.push(Hn),Dn.push(Bn))}return Dn}function uniq($n){return $n&&$n.length?baseUniq($n):[]}const spaceCompactItemProps=()=>({compactSize:String,compactDirection:PropTypes.oneOf(tuple$1("horizontal","vertical")).def("horizontal"),isFirstItem:booleanType(),isLastItem:booleanType()}),SpaceCompactItemContext=createContext(null),useCompactItemContext=($n,Cn)=>{const _n=SpaceCompactItemContext.useInject(),Pn=computed(()=>{if(!_n||isEmpty$1(_n))return"";const{compactDirection:In,isFirstItem:Nn,isLastItem:Rn}=_n,Dn=In==="vertical"?"-vertical-":"-";return classNames({[`${$n.value}-compact${Dn}item`]:!0,[`${$n.value}-compact${Dn}first-item`]:Nn,[`${$n.value}-compact${Dn}last-item`]:Rn,[`${$n.value}-compact${Dn}item-rtl`]:Cn.value==="rtl"})});return{compactSize:computed(()=>_n==null?void 0:_n.compactSize),compactDirection:computed(()=>_n==null?void 0:_n.compactDirection),compactItemClassnames:Pn}},NoCompactStyle=defineComponent({name:"NoCompactStyle",setup($n,Cn){let{slots:_n}=Cn;return SpaceCompactItemContext.useProvide(null),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),spaceCompactProps=()=>({prefixCls:String,size:{type:String},direction:PropTypes.oneOf(tuple$1("horizontal","vertical")).def("horizontal"),align:PropTypes.oneOf(tuple$1("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),CompactItem=defineComponent({name:"CompactItem",props:spaceCompactItemProps(),setup($n,Cn){let{slots:_n}=Cn;return SpaceCompactItemContext.useProvide($n),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),Compact=defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:spaceCompactProps(),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("space-compact",$n),Rn=SpaceCompactItemContext.useInject(),[Dn,Ln]=useStyle$W(In),Fn=computed(()=>classNames(In.value,Ln.value,{[`${In.value}-rtl`]:Nn.value==="rtl",[`${In.value}-block`]:$n.block,[`${In.value}-vertical`]:$n.direction==="vertical"}));return()=>{var Bn;const Hn=flattenChildren(((Bn=Pn.default)===null||Bn===void 0?void 0:Bn.call(Pn))||[]);return Hn.length===0?null:Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{class:[Fn.value,_n.class]}),[Hn.map((zn,Wn)=>{var Yn;const Gn=zn&&zn.key||`${In.value}-item-${Wn}`,Go=!Rn||isEmpty$1(Rn);return createVNode(CompactItem,{key:Gn,compactSize:(Yn=$n.size)!==null&&Yn!==void 0?Yn:"middle",compactDirection:$n.direction,isFirstItem:Wn===0&&(Go||(Rn==null?void 0:Rn.isFirstItem)),isLastItem:Wn===Hn.length-1&&(Go||(Rn==null?void 0:Rn.isLastItem))},{default:()=>[zn]})})]))}}}),Compact$1=Compact,initMotionCommon=$n=>({animationDuration:$n,animationFillMode:"both"}),initMotionCommonLeave=$n=>({animationDuration:$n,animationFillMode:"both"}),initMotion=function($n,Cn,_n,Pn){const Nn=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
- ${Nn}${$n}-enter,
- ${Nn}${$n}-appear
- `]:_extends$1(_extends$1({},initMotionCommon(Pn)),{animationPlayState:"paused"}),[`${Nn}${$n}-leave`]:_extends$1(_extends$1({},initMotionCommonLeave(Pn)),{animationPlayState:"paused"}),[`
- ${Nn}${$n}-enter${$n}-enter-active,
- ${Nn}${$n}-appear${$n}-appear-active
- `]:{animationName:Cn,animationPlayState:"running"},[`${Nn}${$n}-leave${$n}-leave-active`]:{animationName:_n,animationPlayState:"running",pointerEvents:"none"}}},fadeIn=new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),fadeOut=new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),initFadeMotion=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:_n}=$n,Pn=`${_n}-fade`,In=Cn?"&":"";return[initMotion(Pn,fadeIn,fadeOut,$n.motionDurationMid,Cn),{[`
- ${In}${Pn}-enter,
- ${In}${Pn}-appear
- `]:{opacity:0,animationTimingFunction:"linear"},[`${In}${Pn}-leave`]:{animationTimingFunction:"linear"}}]},moveDownIn=new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),moveDownOut=new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),moveLeftIn=new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),moveLeftOut=new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),moveRightIn=new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),moveRightOut=new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),moveUpIn=new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),moveUpOut=new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),moveMotion={"move-up":{inKeyframes:moveUpIn,outKeyframes:moveUpOut},"move-down":{inKeyframes:moveDownIn,outKeyframes:moveDownOut},"move-left":{inKeyframes:moveLeftIn,outKeyframes:moveLeftOut},"move-right":{inKeyframes:moveRightIn,outKeyframes:moveRightOut}},initMoveMotion=($n,Cn)=>{const{antCls:_n}=$n,Pn=`${_n}-${Cn}`,{inKeyframes:In,outKeyframes:Nn}=moveMotion[Cn];return[initMotion(Pn,In,Nn,$n.motionDurationMid),{[`
- ${Pn}-enter,
- ${Pn}-appear
- `]:{opacity:0,animationTimingFunction:$n.motionEaseOutCirc},[`${Pn}-leave`]:{animationTimingFunction:$n.motionEaseInOutCirc}}]},slideUpIn=new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),slideUpOut=new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),slideDownIn=new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),slideDownOut=new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),slideLeftIn=new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),slideLeftOut=new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),slideRightIn=new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),slideRightOut=new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),slideMotion={"slide-up":{inKeyframes:slideUpIn,outKeyframes:slideUpOut},"slide-down":{inKeyframes:slideDownIn,outKeyframes:slideDownOut},"slide-left":{inKeyframes:slideLeftIn,outKeyframes:slideLeftOut},"slide-right":{inKeyframes:slideRightIn,outKeyframes:slideRightOut}},initSlideMotion=($n,Cn)=>{const{antCls:_n}=$n,Pn=`${_n}-${Cn}`,{inKeyframes:In,outKeyframes:Nn}=slideMotion[Cn];return[initMotion(Pn,In,Nn,$n.motionDurationMid),{[`
- ${Pn}-enter,
- ${Pn}-appear
- `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:$n.motionEaseOutQuint},[`${Pn}-leave`]:{animationTimingFunction:$n.motionEaseInQuint}}]},zoomIn=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),zoomOut=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),zoomBigIn=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),zoomBigOut=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),zoomUpIn=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),zoomUpOut=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),zoomLeftIn=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),zoomLeftOut=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),zoomRightIn=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),zoomRightOut=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),zoomDownIn=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),zoomDownOut=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),zoomMotion={zoom:{inKeyframes:zoomIn,outKeyframes:zoomOut},"zoom-big":{inKeyframes:zoomBigIn,outKeyframes:zoomBigOut},"zoom-big-fast":{inKeyframes:zoomBigIn,outKeyframes:zoomBigOut},"zoom-left":{inKeyframes:zoomLeftIn,outKeyframes:zoomLeftOut},"zoom-right":{inKeyframes:zoomRightIn,outKeyframes:zoomRightOut},"zoom-up":{inKeyframes:zoomUpIn,outKeyframes:zoomUpOut},"zoom-down":{inKeyframes:zoomDownIn,outKeyframes:zoomDownOut}},initZoomMotion=($n,Cn)=>{const{antCls:_n}=$n,Pn=`${_n}-${Cn}`,{inKeyframes:In,outKeyframes:Nn}=zoomMotion[Cn];return[initMotion(Pn,In,Nn,Cn==="zoom-big-fast"?$n.motionDurationFast:$n.motionDurationMid),{[`
- ${Pn}-enter,
- ${Pn}-appear
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:$n.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${Pn}-leave`]:{animationTimingFunction:$n.motionEaseInOutCirc}}]},genCollapseMotion=$n=>({[$n.componentCls]:{[`${$n.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${$n.motionDurationMid} ${$n.motionEaseInOut},
- opacity ${$n.motionDurationMid} ${$n.motionEaseInOut} !important`}},[`${$n.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${$n.motionDurationMid} ${$n.motionEaseInOut},
- opacity ${$n.motionDurationMid} ${$n.motionEaseInOut} !important`}}}),genCollapseMotion$1=genCollapseMotion,genItemStyle=$n=>{const{controlPaddingHorizontal:Cn}=$n;return{position:"relative",display:"block",minHeight:$n.controlHeight,padding:`${($n.controlHeight-$n.fontSize*$n.lineHeight)/2}px ${Cn}px`,color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize,lineHeight:$n.lineHeight,boxSizing:"border-box"}},genSingleStyle$1=$n=>{const{antCls:Cn,componentCls:_n}=$n,Pn=`${_n}-item`;return[{[`${_n}-dropdown`]:_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:-9999,zIndex:$n.zIndexPopup,boxSizing:"border-box",padding:$n.paddingXXS,overflow:"hidden",fontSize:$n.fontSize,fontVariant:"initial",backgroundColor:$n.colorBgElevated,borderRadius:$n.borderRadiusLG,outline:"none",boxShadow:$n.boxShadowSecondary,[`
- &${Cn}-slide-up-enter${Cn}-slide-up-enter-active${_n}-dropdown-placement-bottomLeft,
- &${Cn}-slide-up-appear${Cn}-slide-up-appear-active${_n}-dropdown-placement-bottomLeft
- `]:{animationName:slideUpIn},[`
- &${Cn}-slide-up-enter${Cn}-slide-up-enter-active${_n}-dropdown-placement-topLeft,
- &${Cn}-slide-up-appear${Cn}-slide-up-appear-active${_n}-dropdown-placement-topLeft
- `]:{animationName:slideDownIn},[`&${Cn}-slide-up-leave${Cn}-slide-up-leave-active${_n}-dropdown-placement-bottomLeft`]:{animationName:slideUpOut},[`&${Cn}-slide-up-leave${Cn}-slide-up-leave-active${_n}-dropdown-placement-topLeft`]:{animationName:slideDownOut},"&-hidden":{display:"none"},"&-empty":{color:$n.colorTextDisabled},[`${Pn}-empty`]:_extends$1(_extends$1({},genItemStyle($n)),{color:$n.colorTextDisabled}),[`${Pn}`]:_extends$1(_extends$1({},genItemStyle($n)),{cursor:"pointer",transition:`background ${$n.motionDurationSlow} ease`,borderRadius:$n.borderRadiusSM,"&-group":{color:$n.colorTextDescription,fontSize:$n.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":_extends$1({flex:"auto"},textEllipsis),"&-state":{flex:"none"},[`&-active:not(${Pn}-option-disabled)`]:{backgroundColor:$n.controlItemBgHover},[`&-selected:not(${Pn}-option-disabled)`]:{color:$n.colorText,fontWeight:$n.fontWeightStrong,backgroundColor:$n.controlItemBgActive,[`${Pn}-option-state`]:{color:$n.colorPrimary}},"&-disabled":{[`&${Pn}-option-selected`]:{backgroundColor:$n.colorBgContainerDisabled},color:$n.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:$n.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},initSlideMotion($n,"slide-up"),initSlideMotion($n,"slide-down"),initMoveMotion($n,"move-up"),initMoveMotion($n,"move-down")]},genDropdownStyle$1=genSingleStyle$1,FIXED_ITEM_MARGIN=2;function getSelectItemStyle($n){let{controlHeightSM:Cn,controlHeight:_n,lineWidth:Pn}=$n;const In=(_n-Cn)/2-Pn,Nn=Math.ceil(In/2);return[In,Nn]}function genSizeStyle$4($n,Cn){const{componentCls:_n,iconCls:Pn}=$n,In=`${_n}-selection-overflow`,Nn=$n.controlHeightSM,[Rn]=getSelectItemStyle($n),Dn=Cn?`${_n}-${Cn}`:"";return{[`${_n}-multiple${Dn}`]:{fontSize:$n.fontSize,[In]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${_n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Rn-FIXED_ITEM_MARGIN}px ${FIXED_ITEM_MARGIN*2}px`,borderRadius:$n.borderRadius,[`${_n}-show-search&`]:{cursor:"text"},[`${_n}-disabled&`]:{background:$n.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${FIXED_ITEM_MARGIN}px 0`,lineHeight:`${Nn}px`,content:'"\\a0"'}},[`
- &${_n}-show-arrow ${_n}-selector,
- &${_n}-allow-clear ${_n}-selector
- `]:{paddingInlineEnd:$n.fontSizeIcon+$n.controlPaddingHorizontal},[`${_n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Nn,marginTop:FIXED_ITEM_MARGIN,marginBottom:FIXED_ITEM_MARGIN,lineHeight:`${Nn-$n.lineWidth*2}px`,background:$n.colorFillSecondary,border:`${$n.lineWidth}px solid ${$n.colorSplit}`,borderRadius:$n.borderRadiusSM,cursor:"default",transition:`font-size ${$n.motionDurationSlow}, line-height ${$n.motionDurationSlow}, height ${$n.motionDurationSlow}`,userSelect:"none",marginInlineEnd:FIXED_ITEM_MARGIN*2,paddingInlineStart:$n.paddingXS,paddingInlineEnd:$n.paddingXS/2,[`${_n}-disabled&`]:{color:$n.colorTextDisabled,borderColor:$n.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:$n.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":_extends$1(_extends$1({},resetIcon()),{display:"inline-block",color:$n.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Pn}`]:{verticalAlign:"-0.2em"},"&:hover":{color:$n.colorIconHover}})},[`${In}-item + ${In}-item`]:{[`${_n}-selection-search`]:{marginInlineStart:0}},[`${_n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:$n.inputPaddingHorizontalBase-Rn,"\n &-input,\n &-mirror\n ":{height:Nn,fontFamily:$n.fontFamily,lineHeight:`${Nn}px`,transition:`all ${$n.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${_n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:$n.inputPaddingHorizontalBase,insetInlineEnd:$n.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${$n.motionDurationSlow}`}}}}function genMultipleStyle($n){const{componentCls:Cn}=$n,_n=merge$1($n,{controlHeight:$n.controlHeightSM,controlHeightSM:$n.controlHeightXS,borderRadius:$n.borderRadiusSM,borderRadiusSM:$n.borderRadiusXS}),[,Pn]=getSelectItemStyle($n);return[genSizeStyle$4($n),genSizeStyle$4(_n,"sm"),{[`${Cn}-multiple${Cn}-sm`]:{[`${Cn}-selection-placeholder`]:{insetInlineStart:$n.controlPaddingHorizontalSM-$n.lineWidth,insetInlineEnd:"auto"},[`${Cn}-selection-search`]:{marginInlineStart:Pn}}},genSizeStyle$4(merge$1($n,{fontSize:$n.fontSizeLG,controlHeight:$n.controlHeightLG,controlHeightSM:$n.controlHeight,borderRadius:$n.borderRadiusLG,borderRadiusSM:$n.borderRadius}),"lg")]}function genSizeStyle$3($n,Cn){const{componentCls:_n,inputPaddingHorizontalBase:Pn,borderRadius:In}=$n,Nn=$n.controlHeight-$n.lineWidth*2,Rn=Math.ceil($n.fontSize*1.25),Dn=Cn?`${_n}-${Cn}`:"";return{[`${_n}-single${Dn}`]:{fontSize:$n.fontSize,[`${_n}-selector`]:_extends$1(_extends$1({},resetComponent($n)),{display:"flex",borderRadius:In,[`${_n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Pn,insetInlineEnd:Pn,bottom:0,"&-input":{width:"100%"}},[`
- ${_n}-selection-item,
- ${_n}-selection-placeholder
- `]:{padding:0,lineHeight:`${Nn}px`,transition:`all ${$n.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Nn}px`}},[`${_n}-selection-item`]:{position:"relative",userSelect:"none"},[`${_n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${_n}-selection-item:after`,`${_n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
- &${_n}-show-arrow ${_n}-selection-item,
- &${_n}-show-arrow ${_n}-selection-placeholder
- `]:{paddingInlineEnd:Rn},[`&${_n}-open ${_n}-selection-item`]:{color:$n.colorTextPlaceholder},[`&:not(${_n}-customize-input)`]:{[`${_n}-selector`]:{width:"100%",height:$n.controlHeight,padding:`0 ${Pn}px`,[`${_n}-selection-search-input`]:{height:Nn},"&:after":{lineHeight:`${Nn}px`}}},[`&${_n}-customize-input`]:{[`${_n}-selector`]:{"&:after":{display:"none"},[`${_n}-selection-search`]:{position:"static",width:"100%"},[`${_n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Pn}px`,"&:after":{display:"none"}}}}}}}function genSingleStyle($n){const{componentCls:Cn}=$n,_n=$n.controlPaddingHorizontalSM-$n.lineWidth;return[genSizeStyle$3($n),genSizeStyle$3(merge$1($n,{controlHeight:$n.controlHeightSM,borderRadius:$n.borderRadiusSM}),"sm"),{[`${Cn}-single${Cn}-sm`]:{[`&:not(${Cn}-customize-input)`]:{[`${Cn}-selection-search`]:{insetInlineStart:_n,insetInlineEnd:_n},[`${Cn}-selector`]:{padding:`0 ${_n}px`},[`&${Cn}-show-arrow ${Cn}-selection-search`]:{insetInlineEnd:_n+$n.fontSize*1.5},[`
- &${Cn}-show-arrow ${Cn}-selection-item,
- &${Cn}-show-arrow ${Cn}-selection-placeholder
- `]:{paddingInlineEnd:$n.fontSize*1.5}}}},genSizeStyle$3(merge$1($n,{controlHeight:$n.controlHeightLG,fontSize:$n.fontSizeLG,borderRadius:$n.borderRadiusLG}),"lg")]}function compactItemBorder($n,Cn,_n){const{focusElCls:Pn,focus:In,borderElCls:Nn}=_n,Rn=Nn?"> *":"",Dn=["hover",In?"focus":null,"active"].filter(Boolean).map(Ln=>`&:${Ln} ${Rn}`).join(",");return{[`&-item:not(${Cn}-last-item)`]:{marginInlineEnd:-$n.lineWidth},"&-item":_extends$1(_extends$1({[Dn]:{zIndex:2}},Pn?{[`&${Pn}`]:{zIndex:2}}:{}),{[`&[disabled] ${Rn}`]:{zIndex:0}})}}function compactItemBorderRadius($n,Cn,_n){const{borderElCls:Pn}=_n,In=Pn?`> ${Pn}`:"";return{[`&-item:not(${Cn}-first-item):not(${Cn}-last-item) ${In}`]:{borderRadius:0},[`&-item:not(${Cn}-last-item)${Cn}-first-item`]:{[`& ${In}, &${$n}-sm ${In}, &${$n}-lg ${In}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${Cn}-first-item)${Cn}-last-item`]:{[`& ${In}, &${$n}-sm ${In}, &${$n}-lg ${In}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function genCompactItemStyle($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:_n}=$n,Pn=`${_n}-compact`;return{[Pn]:_extends$1(_extends$1({},compactItemBorder($n,Pn,Cn)),compactItemBorderRadius(_n,Pn,Cn))}}const genSelectorStyle=$n=>{const{componentCls:Cn}=$n;return{position:"relative",backgroundColor:$n.colorBgContainer,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,transition:`all ${$n.motionDurationMid} ${$n.motionEaseInOut}`,input:{cursor:"pointer"},[`${Cn}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Cn}-disabled&`]:{color:$n.colorTextDisabled,background:$n.colorBgContainerDisabled,cursor:"not-allowed",[`${Cn}-multiple&`]:{background:$n.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},genStatusStyle$3=function($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Pn,borderHoverColor:In,outlineColor:Nn,antCls:Rn}=Cn,Dn=_n?{[`${Pn}-selector`]:{borderColor:In}}:{};return{[$n]:{[`&:not(${Pn}-disabled):not(${Pn}-customize-input):not(${Rn}-pagination-size-changer)`]:_extends$1(_extends$1({},Dn),{[`${Pn}-focused& ${Pn}-selector`]:{borderColor:In,boxShadow:`0 0 0 ${Cn.controlOutlineWidth}px ${Nn}`,borderInlineEndWidth:`${Cn.controlLineWidth}px !important`,outline:0},[`&:hover ${Pn}-selector`]:{borderColor:In,borderInlineEndWidth:`${Cn.controlLineWidth}px !important`}})}}},getSearchInputWithoutBorderStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},genBaseStyle$j=$n=>{const{componentCls:Cn,inputPaddingHorizontalBase:_n,iconCls:Pn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Cn}-customize-input) ${Cn}-selector`]:_extends$1(_extends$1({},genSelectorStyle($n)),getSearchInputWithoutBorderStyle($n)),[`${Cn}-selection-item`]:_extends$1({flex:1,fontWeight:"normal"},textEllipsis),[`${Cn}-selection-placeholder`]:_extends$1(_extends$1({},textEllipsis),{flex:1,color:$n.colorTextPlaceholder,pointerEvents:"none"}),[`${Cn}-arrow`]:_extends$1(_extends$1({},resetIcon()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:_n,height:$n.fontSizeIcon,marginTop:-$n.fontSizeIcon/2,color:$n.colorTextQuaternary,fontSize:$n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Pn]:{verticalAlign:"top",transition:`transform ${$n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Cn}-suffix)`]:{pointerEvents:"auto"}},[`${Cn}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Cn}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:_n,zIndex:1,display:"inline-block",width:$n.fontSizeIcon,height:$n.fontSizeIcon,marginTop:-$n.fontSizeIcon/2,color:$n.colorTextQuaternary,fontSize:$n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:$n.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${$n.motionDurationMid} ease, opacity ${$n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:$n.colorTextTertiary}},"&:hover":{[`${Cn}-clear`]:{opacity:1}}}),[`${Cn}-has-feedback`]:{[`${Cn}-clear`]:{insetInlineEnd:_n+$n.fontSize+$n.paddingXXS}}}},genSelectStyle=$n=>{const{componentCls:Cn}=$n;return[{[Cn]:{[`&-borderless ${Cn}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Cn}-in-form-item`]:{width:"100%"}}},genBaseStyle$j($n),genSingleStyle($n),genMultipleStyle($n),genDropdownStyle$1($n),{[`${Cn}-rtl`]:{direction:"rtl"}},genStatusStyle$3(Cn,merge$1($n,{borderHoverColor:$n.colorPrimaryHover,outlineColor:$n.controlOutline})),genStatusStyle$3(`${Cn}-status-error`,merge$1($n,{borderHoverColor:$n.colorErrorHover,outlineColor:$n.colorErrorOutline}),!0),genStatusStyle$3(`${Cn}-status-warning`,merge$1($n,{borderHoverColor:$n.colorWarningHover,outlineColor:$n.colorWarningOutline}),!0),genCompactItemStyle($n,{borderElCls:`${Cn}-selector`,focusElCls:`${Cn}-focused`})]},useSelectStyle=genComponentStyleHook("Select",($n,Cn)=>{let{rootPrefixCls:_n}=Cn;const Pn=merge$1($n,{rootPrefixCls:_n,inputPaddingHorizontalBase:$n.paddingSM-1});return[genSelectStyle(Pn)]},$n=>({zIndexPopup:$n.zIndexPopupBase+50})),selectProps=()=>_extends$1(_extends$1({},omit$1(selectProps$1(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:someType([Array,Object,String,Number]),defaultValue:someType([Array,Object,String,Number]),notFoundContent:PropTypes.any,suffixIcon:PropTypes.any,itemIcon:PropTypes.any,size:stringType(),mode:stringType(),bordered:booleanType(!0),transitionName:String,choiceTransitionName:stringType(""),popupClassName:String,dropdownClassName:String,placement:stringType(),status:stringType(),"onUpdate:value":functionType()}),SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Select=defineComponent({compatConfig:{MODE:3},name:"ASelect",Option:Option$3,OptGroup:OptGroup$3,inheritAttrs:!1,props:initDefaultProps(selectProps(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE,slots:Object,setup($n,Cn){let{attrs:_n,emit:Pn,slots:In,expose:Nn}=Cn;const Rn=ref(),Dn=useInjectFormItemContext(),Ln=FormItemInputContext.useInject(),Fn=computed(()=>getMergedStatus(Ln.status,$n.status)),Bn=()=>{var ba;(ba=Rn.value)===null||ba===void 0||ba.focus()},Hn=()=>{var ba;(ba=Rn.value)===null||ba===void 0||ba.blur()},zn=ba=>{var Ia;(Ia=Rn.value)===null||Ia===void 0||Ia.scrollTo(ba)},Wn=computed(()=>{const{mode:ba}=$n;if(ba!=="combobox")return ba===SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":ba}),{prefixCls:Yn,direction:Gn,configProvider:Go,renderEmpty:Xn,size:Yo,getPrefixCls:qo,getPopupContainer:Jo,disabled:Zo,select:rr}=useConfigInject("select",$n),{compactSize:nr,compactItemClassnames:ta}=useCompactItemContext(Yn,Gn),oa=computed(()=>nr.value||Yo.value),ra=useInjectDisabled(),ea=computed(()=>{var ba;return(ba=Zo.value)!==null&&ba!==void 0?ba:ra.value}),[la,ua]=useSelectStyle(Yn),ga=computed(()=>qo()),aa=computed(()=>$n.placement!==void 0?$n.placement:Gn.value==="rtl"?"bottomRight":"bottomLeft"),ca=computed(()=>getTransitionName$1(ga.value,getTransitionDirection(aa.value),$n.transitionName)),sa=computed(()=>classNames({[`${Yn.value}-lg`]:oa.value==="large",[`${Yn.value}-sm`]:oa.value==="small",[`${Yn.value}-rtl`]:Gn.value==="rtl",[`${Yn.value}-borderless`]:!$n.bordered,[`${Yn.value}-in-form-item`]:Ln.isFormItemInput},getStatusClassNames(Yn.value,Fn.value,Ln.hasFeedback),ta.value,ua.value)),ia=function(){for(var ba=arguments.length,Ia=new Array(ba),Ea=0;Ea<ba;Ea++)Ia[Ea]=arguments[Ea];Pn("update:value",Ia[0]),Pn("change",...Ia),Dn.onFieldChange()},fa=ba=>{Pn("blur",ba),Dn.onFieldBlur()};Nn({blur:Hn,focus:Bn,scrollTo:zn});const ma=computed(()=>Wn.value==="multiple"||Wn.value==="tags"),ya=computed(()=>$n.showArrow!==void 0?$n.showArrow:$n.loading||!(ma.value||Wn.value==="combobox"));return()=>{var ba,Ia,Ea,xa;const{notFoundContent:Ta,listHeight:wa=256,listItemHeight:La=24,popupClassName:Na,dropdownClassName:$a,virtual:ka,dropdownMatchSelectWidth:Ha,id:da=Dn.id.value,placeholder:pa=(ba=In.placeholder)===null||ba===void 0?void 0:ba.call(In),showArrow:Sa}=$n,{hasFeedback:Aa,feedbackIcon:Ra}=Ln;let Fa;Ta!==void 0?Fa=Ta:In.notFoundContent?Fa=In.notFoundContent():Wn.value==="combobox"?Fa=null:Fa=(Xn==null?void 0:Xn("Select"))||createVNode(DefaultRenderEmpty,{componentName:"Select"},null);const{suffixIcon:za,itemIcon:Wa,removeIcon:Ya,clearIcon:ja}=getIcons(_extends$1(_extends$1({},$n),{multiple:ma.value,prefixCls:Yn.value,hasFeedback:Aa,feedbackIcon:Ra,showArrow:ya.value}),In),qa=omit$1($n,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Xa=classNames(Na||$a,{[`${Yn.value}-dropdown-${Gn.value}`]:Gn.value==="rtl"},ua.value);return la(createVNode(Select$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Rn,virtual:ka,dropdownMatchSelectWidth:Ha},qa),_n),{},{showSearch:(Ia=$n.showSearch)!==null&&Ia!==void 0?Ia:(Ea=rr==null?void 0:rr.value)===null||Ea===void 0?void 0:Ea.showSearch,placeholder:pa,listHeight:wa,listItemHeight:La,mode:Wn.value,prefixCls:Yn.value,direction:Gn.value,inputIcon:za,menuItemSelectedIcon:Wa,removeIcon:Ya,clearIcon:ja,notFoundContent:Fa,class:[sa.value,_n.class],getPopupContainer:Jo==null?void 0:Jo.value,dropdownClassName:Xa,onChange:ia,onBlur:fa,id:da,dropdownRender:qa.dropdownRender||In.dropdownRender,transitionName:ca.value,children:(xa=In.default)===null||xa===void 0?void 0:xa.call(In),tagRender:$n.tagRender||In.tagRender,optionLabelRender:In.optionLabel,maxTagPlaceholder:$n.maxTagPlaceholder||In.maxTagPlaceholder,showArrow:Aa||Sa,disabled:ea.value}),{option:In.option}))}}});Select.install=function($n){return $n.component(Select.name,Select),$n.component(Select.Option.displayName,Select.Option),$n.component(Select.OptGroup.displayName,Select.OptGroup),$n};const SelectOption=Select.Option,SelectOptGroup=Select.OptGroup,VcSelect=Select,Option=()=>null;Option.isSelectOption=!0;Option.displayName="AAutoCompleteOption";const Option$1=Option,OptGroup=()=>null;OptGroup.isSelectOptGroup=!0;OptGroup.displayName="AAutoCompleteOptGroup";const OptGroup$1=OptGroup;function isSelectOptionOrSelectOptGroup($n){var Cn,_n;return((Cn=$n==null?void 0:$n.type)===null||Cn===void 0?void 0:Cn.isSelectOption)||((_n=$n==null?void 0:$n.type)===null||_n===void 0?void 0:_n.isSelectOptGroup)}const autoCompleteProps=()=>_extends$1(_extends$1({},omit$1(selectProps(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),AutoCompleteOption=Option$1,AutoCompleteOptGroup=OptGroup$1,AutoComplete=defineComponent({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:autoCompleteProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;warning$3(),warning$3(),warning$3(!$n.dropdownClassName);const Nn=ref(),Rn=()=>{var Bn;const Hn=flattenChildren((Bn=_n.default)===null||Bn===void 0?void 0:Bn.call(_n));return Hn.length?Hn[0]:void 0};In({focus:()=>{var Bn;(Bn=Nn.value)===null||Bn===void 0||Bn.focus()},blur:()=>{var Bn;(Bn=Nn.value)===null||Bn===void 0||Bn.blur()}});const{prefixCls:Fn}=useConfigInject("select",$n);return()=>{var Bn,Hn,zn;const{size:Wn,dataSource:Yn,notFoundContent:Gn=(Bn=_n.notFoundContent)===null||Bn===void 0?void 0:Bn.call(_n)}=$n;let Go;const{class:Xn}=Pn,Yo={[Xn]:!!Xn,[`${Fn.value}-lg`]:Wn==="large",[`${Fn.value}-sm`]:Wn==="small",[`${Fn.value}-show-search`]:!0,[`${Fn.value}-auto-complete`]:!0};if($n.options===void 0){const Jo=((Hn=_n.dataSource)===null||Hn===void 0?void 0:Hn.call(_n))||((zn=_n.options)===null||zn===void 0?void 0:zn.call(_n))||[];Jo.length&&isSelectOptionOrSelectOptGroup(Jo[0])?Go=Jo:Go=Yn?Yn.map(Zo=>{if(isValidElement(Zo))return Zo;switch(typeof Zo){case"string":return createVNode(Option$1,{key:Zo,value:Zo},{default:()=>[Zo]});case"object":return createVNode(Option$1,{key:Zo.value,value:Zo.value},{default:()=>[Zo.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const qo=omit$1(_extends$1(_extends$1(_extends$1({},$n),Pn),{mode:VcSelect.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:Rn,notFoundContent:Gn,class:Yo,popupClassName:$n.popupClassName||$n.dropdownClassName,ref:Nn}),["dataSource","loading"]);return createVNode(VcSelect,qo,_objectSpread2$1({default:()=>[Go]},omit$1(_n,["default","dataSource","options"])))}}}),index$s=_extends$1(AutoComplete,{Option:Option$1,OptGroup:OptGroup$1,install($n){return $n.component(AutoComplete.name,AutoComplete),$n.component(Option$1.displayName,Option$1),$n.component(OptGroup$1.displayName,OptGroup$1),$n}});var CheckCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const CheckCircleOutlinedSvg=CheckCircleOutlined$2;function _objectSpread$N($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$N($n,In,_n[In])})}return $n}function _defineProperty$N($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CheckCircleOutlined=function(Cn,_n){var Pn=_objectSpread$N({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$N({},Pn,{icon:CheckCircleOutlinedSvg}),null)};CheckCircleOutlined.displayName="CheckCircleOutlined";CheckCircleOutlined.inheritAttrs=!1;const CheckCircleOutlined$1=CheckCircleOutlined;var ExclamationCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};const ExclamationCircleOutlinedSvg=ExclamationCircleOutlined$2;function _objectSpread$M($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$M($n,In,_n[In])})}return $n}function _defineProperty$M($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ExclamationCircleOutlined=function(Cn,_n){var Pn=_objectSpread$M({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$M({},Pn,{icon:ExclamationCircleOutlinedSvg}),null)};ExclamationCircleOutlined.displayName="ExclamationCircleOutlined";ExclamationCircleOutlined.inheritAttrs=!1;const ExclamationCircleOutlined$1=ExclamationCircleOutlined;var InfoCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};const InfoCircleOutlinedSvg=InfoCircleOutlined$2;function _objectSpread$L($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$L($n,In,_n[In])})}return $n}function _defineProperty$L($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var InfoCircleOutlined=function(Cn,_n){var Pn=_objectSpread$L({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$L({},Pn,{icon:InfoCircleOutlinedSvg}),null)};InfoCircleOutlined.displayName="InfoCircleOutlined";InfoCircleOutlined.inheritAttrs=!1;const InfoCircleOutlined$1=InfoCircleOutlined;var CloseCircleOutlined$2={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"};const CloseCircleOutlinedSvg=CloseCircleOutlined$2;function _objectSpread$K($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$K($n,In,_n[In])})}return $n}function _defineProperty$K($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CloseCircleOutlined=function(Cn,_n){var Pn=_objectSpread$K({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$K({},Pn,{icon:CloseCircleOutlinedSvg}),null)};CloseCircleOutlined.displayName="CloseCircleOutlined";CloseCircleOutlined.inheritAttrs=!1;const CloseCircleOutlined$1=CloseCircleOutlined;var CheckCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const CheckCircleFilledSvg=CheckCircleFilled$2;function _objectSpread$J($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$J($n,In,_n[In])})}return $n}function _defineProperty$J($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CheckCircleFilled=function(Cn,_n){var Pn=_objectSpread$J({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$J({},Pn,{icon:CheckCircleFilledSvg}),null)};CheckCircleFilled.displayName="CheckCircleFilled";CheckCircleFilled.inheritAttrs=!1;const CheckCircleFilled$1=CheckCircleFilled;var ExclamationCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const ExclamationCircleFilledSvg=ExclamationCircleFilled$2;function _objectSpread$I($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$I($n,In,_n[In])})}return $n}function _defineProperty$I($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ExclamationCircleFilled=function(Cn,_n){var Pn=_objectSpread$I({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$I({},Pn,{icon:ExclamationCircleFilledSvg}),null)};ExclamationCircleFilled.displayName="ExclamationCircleFilled";ExclamationCircleFilled.inheritAttrs=!1;const ExclamationCircleFilled$1=ExclamationCircleFilled;var InfoCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const InfoCircleFilledSvg=InfoCircleFilled$2;function _objectSpread$H($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$H($n,In,_n[In])})}return $n}function _defineProperty$H($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var InfoCircleFilled=function(Cn,_n){var Pn=_objectSpread$H({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$H({},Pn,{icon:InfoCircleFilledSvg}),null)};InfoCircleFilled.displayName="InfoCircleFilled";InfoCircleFilled.inheritAttrs=!1;const InfoCircleFilled$1=InfoCircleFilled,genAlertTypeStyle=($n,Cn,_n,Pn,In)=>({backgroundColor:$n,border:`${Pn.lineWidth}px ${Pn.lineType} ${Cn}`,[`${In}-icon`]:{color:_n}}),genBaseStyle$i=$n=>{const{componentCls:Cn,motionDurationSlow:_n,marginXS:Pn,marginSM:In,fontSize:Nn,fontSizeLG:Rn,lineHeight:Dn,borderRadiusLG:Ln,motionEaseInOutCirc:Fn,alertIconSizeLG:Bn,colorText:Hn,paddingContentVerticalSM:zn,alertPaddingHorizontal:Wn,paddingMD:Yn,paddingContentHorizontalLG:Gn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"flex",alignItems:"center",padding:`${zn}px ${Wn}px`,wordWrap:"break-word",borderRadius:Ln,[`&${Cn}-rtl`]:{direction:"rtl"},[`${Cn}-content`]:{flex:1,minWidth:0},[`${Cn}-icon`]:{marginInlineEnd:Pn,lineHeight:0},"&-description":{display:"none",fontSize:Nn,lineHeight:Dn},"&-message":{color:Hn},[`&${Cn}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${_n} ${Fn}, opacity ${_n} ${Fn},
- padding-top ${_n} ${Fn}, padding-bottom ${_n} ${Fn},
- margin-bottom ${_n} ${Fn}`},[`&${Cn}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${Cn}-with-description`]:{alignItems:"flex-start",paddingInline:Gn,paddingBlock:Yn,[`${Cn}-icon`]:{marginInlineEnd:In,fontSize:Bn,lineHeight:0},[`${Cn}-message`]:{display:"block",marginBottom:Pn,color:Hn,fontSize:Rn},[`${Cn}-description`]:{display:"block"}},[`${Cn}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},genTypeStyle=$n=>{const{componentCls:Cn,colorSuccess:_n,colorSuccessBorder:Pn,colorSuccessBg:In,colorWarning:Nn,colorWarningBorder:Rn,colorWarningBg:Dn,colorError:Ln,colorErrorBorder:Fn,colorErrorBg:Bn,colorInfo:Hn,colorInfoBorder:zn,colorInfoBg:Wn}=$n;return{[Cn]:{"&-success":genAlertTypeStyle(In,Pn,_n,$n,Cn),"&-info":genAlertTypeStyle(Wn,zn,Hn,$n,Cn),"&-warning":genAlertTypeStyle(Dn,Rn,Nn,$n,Cn),"&-error":_extends$1(_extends$1({},genAlertTypeStyle(Bn,Fn,Ln,$n,Cn)),{[`${Cn}-description > pre`]:{margin:0,padding:0}})}}},genActionStyle=$n=>{const{componentCls:Cn,iconCls:_n,motionDurationMid:Pn,marginXS:In,fontSizeIcon:Nn,colorIcon:Rn,colorIconHover:Dn}=$n;return{[Cn]:{"&-action":{marginInlineStart:In},[`${Cn}-close-icon`]:{marginInlineStart:In,padding:0,overflow:"hidden",fontSize:Nn,lineHeight:`${Nn}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${_n}-close`]:{color:Rn,transition:`color ${Pn}`,"&:hover":{color:Dn}}},"&-close-text":{color:Rn,transition:`color ${Pn}`,"&:hover":{color:Dn}}}}},genAlertStyle=$n=>[genBaseStyle$i($n),genTypeStyle($n),genActionStyle($n)],useStyle$V=genComponentStyleHook("Alert",$n=>{const{fontSizeHeading3:Cn}=$n,_n=merge$1($n,{alertIconSizeLG:Cn,alertPaddingHorizontal:12});return[genAlertStyle(_n)]}),iconMapFilled={success:CheckCircleFilled$1,info:InfoCircleFilled$1,error:CloseCircleFilled$1,warning:ExclamationCircleFilled$1},iconMapOutlined={success:CheckCircleOutlined$1,info:InfoCircleOutlined$1,error:CloseCircleOutlined$1,warning:ExclamationCircleOutlined$1},AlertTypes=tuple$1("success","info","warning","error"),alertProps=()=>({type:PropTypes.oneOf(AlertTypes),closable:{type:Boolean,default:void 0},closeText:PropTypes.any,message:PropTypes.any,description:PropTypes.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:PropTypes.any,closeIcon:PropTypes.any,onClose:Function}),Alert=defineComponent({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:alertProps(),setup($n,Cn){let{slots:_n,emit:Pn,attrs:In,expose:Nn}=Cn;const{prefixCls:Rn,direction:Dn}=useConfigInject("alert",$n),[Ln,Fn]=useStyle$V(Rn),Bn=shallowRef(!1),Hn=shallowRef(!1),zn=shallowRef(),Wn=Xn=>{Xn.preventDefault();const Yo=zn.value;Yo.style.height=`${Yo.offsetHeight}px`,Yo.style.height=`${Yo.offsetHeight}px`,Bn.value=!0,Pn("close",Xn)},Yn=()=>{var Xn;Bn.value=!1,Hn.value=!0,(Xn=$n.afterClose)===null||Xn===void 0||Xn.call($n)},Gn=computed(()=>{const{type:Xn}=$n;return Xn!==void 0?Xn:$n.banner?"warning":"info"});Nn({animationEnd:Yn});const Go=shallowRef({});return()=>{var Xn,Yo,qo,Jo,Zo,rr,nr,ta,oa,ra;const{banner:ea,closeIcon:la=(Xn=_n.closeIcon)===null||Xn===void 0?void 0:Xn.call(_n)}=$n;let{closable:ua,showIcon:ga}=$n;const aa=(Yo=$n.closeText)!==null&&Yo!==void 0?Yo:(qo=_n.closeText)===null||qo===void 0?void 0:qo.call(_n),ca=(Jo=$n.description)!==null&&Jo!==void 0?Jo:(Zo=_n.description)===null||Zo===void 0?void 0:Zo.call(_n),sa=(rr=$n.message)!==null&&rr!==void 0?rr:(nr=_n.message)===null||nr===void 0?void 0:nr.call(_n),ia=(ta=$n.icon)!==null&&ta!==void 0?ta:(oa=_n.icon)===null||oa===void 0?void 0:oa.call(_n),fa=(ra=_n.action)===null||ra===void 0?void 0:ra.call(_n);ga=ea&&ga===void 0?!0:ga;const ma=(ca?iconMapOutlined:iconMapFilled)[Gn.value]||null;aa&&(ua=!0);const ya=Rn.value,ba=classNames(ya,{[`${ya}-${Gn.value}`]:!0,[`${ya}-closing`]:Bn.value,[`${ya}-with-description`]:!!ca,[`${ya}-no-icon`]:!ga,[`${ya}-banner`]:!!ea,[`${ya}-closable`]:ua,[`${ya}-rtl`]:Dn.value==="rtl",[Fn.value]:!0}),Ia=ua?createVNode("button",{type:"button",onClick:Wn,class:`${ya}-close-icon`,tabindex:0},[aa?createVNode("span",{class:`${ya}-close-text`},[aa]):la===void 0?createVNode(CloseOutlined$1,null,null):la]):null,Ea=ia&&(isValidElement(ia)?cloneElement(ia,{class:`${ya}-icon`}):createVNode("span",{class:`${ya}-icon`},[ia]))||createVNode(ma,{class:`${ya}-icon`},null),xa=getTransitionProps(`${ya}-motion`,{appear:!1,css:!0,onAfterLeave:Yn,onBeforeLeave:Ta=>{Ta.style.maxHeight=`${Ta.offsetHeight}px`},onLeave:Ta=>{Ta.style.maxHeight="0px"}});return Ln(Hn.value?null:createVNode(Transition,xa,{default:()=>[withDirectives(createVNode("div",_objectSpread2$1(_objectSpread2$1({role:"alert"},In),{},{style:[In.style,Go.value],class:[In.class,ba],"data-show":!Bn.value,ref:zn}),[ga?Ea:null,createVNode("div",{class:`${ya}-content`},[sa?createVNode("div",{class:`${ya}-message`},[sa]):null,ca?createVNode("div",{class:`${ya}-description`},[ca]):null]),fa?createVNode("div",{class:`${ya}-action`},[fa]):null,Ia]),[[vShow,!Bn.value]])]}))}}}),index$r=withInstall(Alert),responsiveArray=["xxxl","xxl","xl","lg","md","sm","xs"],getResponsiveMap=$n=>({xs:`(max-width: ${$n.screenXSMax}px)`,sm:`(min-width: ${$n.screenSM}px)`,md:`(min-width: ${$n.screenMD}px)`,lg:`(min-width: ${$n.screenLG}px)`,xl:`(min-width: ${$n.screenXL}px)`,xxl:`(min-width: ${$n.screenXXL}px)`,xxxl:`{min-width: ${$n.screenXXXL}px}`});function useResponsiveObserver(){const[,$n]=useToken();return computed(()=>{const Cn=getResponsiveMap($n.value),_n=new Map;let Pn=-1,In={};return{matchHandlers:{},dispatch(Nn){return In=Nn,_n.forEach(Rn=>Rn(In)),_n.size>=1},subscribe(Nn){return _n.size||this.register(),Pn+=1,_n.set(Pn,Nn),Nn(In),Pn},unsubscribe(Nn){_n.delete(Nn),_n.size||this.unregister()},unregister(){Object.keys(Cn).forEach(Nn=>{const Rn=Cn[Nn],Dn=this.matchHandlers[Rn];Dn==null||Dn.mql.removeListener(Dn==null?void 0:Dn.listener)}),_n.clear()},register(){Object.keys(Cn).forEach(Nn=>{const Rn=Cn[Nn],Dn=Fn=>{let{matches:Bn}=Fn;this.dispatch(_extends$1(_extends$1({},In),{[Nn]:Bn}))},Ln=window.matchMedia(Rn);Ln.addListener(Dn),this.matchHandlers[Rn]={mql:Ln,listener:Dn},Dn(Ln)})},responsiveMap:Cn}})}function useBreakpoint(){const $n=shallowRef({});let Cn=null;const _n=useResponsiveObserver();return onMounted(()=>{Cn=_n.value.subscribe(Pn=>{$n.value=Pn})}),onUnmounted(()=>{_n.value.unsubscribe(Cn)}),$n}function eagerComputed($n){const Cn=shallowRef();return watchEffect(()=>{Cn.value=$n()},{flush:"sync"}),Cn}const genBaseStyle$h=$n=>{const{antCls:Cn,componentCls:_n,iconCls:Pn,avatarBg:In,avatarColor:Nn,containerSize:Rn,containerSizeLG:Dn,containerSizeSM:Ln,textFontSize:Fn,textFontSizeLG:Bn,textFontSizeSM:Hn,borderRadius:zn,borderRadiusLG:Wn,borderRadiusSM:Yn,lineWidth:Gn,lineType:Go}=$n,Xn=(Yo,qo,Jo)=>({width:Yo,height:Yo,lineHeight:`${Yo-Gn*2}px`,borderRadius:"50%",[`&${_n}-square`]:{borderRadius:Jo},[`${_n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${_n}-icon`]:{fontSize:qo,[`> ${Pn}`]:{margin:0}}});return{[_n]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-block",overflow:"hidden",color:Nn,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:In,border:`${Gn}px ${Go} transparent`,"&-image":{background:"transparent"},[`${Cn}-image-img`]:{display:"block"}}),Xn(Rn,Fn,zn)),{"&-lg":_extends$1({},Xn(Dn,Bn,Wn)),"&-sm":_extends$1({},Xn(Ln,Hn,Yn)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},genGroupStyle$3=$n=>{const{componentCls:Cn,groupBorderColor:_n,groupOverlapping:Pn,groupSpace:In}=$n;return{[`${Cn}-group`]:{display:"inline-flex",[`${Cn}`]:{borderColor:_n},"> *:not(:first-child)":{marginInlineStart:Pn}},[`${Cn}-group-popover`]:{[`${Cn} + ${Cn}`]:{marginInlineStart:In}}}},useStyle$U=genComponentStyleHook("Avatar",$n=>{const{colorTextLightSolid:Cn,colorTextPlaceholder:_n}=$n,Pn=merge$1($n,{avatarBg:_n,avatarColor:Cn});return[genBaseStyle$h(Pn),genGroupStyle$3(Pn)]},$n=>{const{controlHeight:Cn,controlHeightLG:_n,controlHeightSM:Pn,fontSize:In,fontSizeLG:Nn,fontSizeXL:Rn,fontSizeHeading3:Dn,marginXS:Ln,marginXXS:Fn,colorBorderBg:Bn}=$n;return{containerSize:Cn,containerSizeLG:_n,containerSizeSM:Pn,textFontSize:Math.round((Nn+Rn)/2),textFontSizeLG:Dn,textFontSizeSM:In,groupSpace:Fn,groupOverlapping:-Ln,groupBorderColor:Bn}}),AvatarContextKey=Symbol("AvatarContextKey"),useAvatarInjectContext=()=>inject(AvatarContextKey,{}),useAvatarProviderContext=$n=>provide(AvatarContextKey,$n),avatarProps$1=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:PropTypes.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),Avatar=defineComponent({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:avatarProps$1(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=shallowRef(!0),Nn=shallowRef(!1),Rn=shallowRef(1),Dn=shallowRef(null),Ln=shallowRef(null),{prefixCls:Fn}=useConfigInject("avatar",$n),[Bn,Hn]=useStyle$U(Fn),zn=useAvatarInjectContext(),Wn=computed(()=>$n.size==="default"?zn.size:$n.size),Yn=useBreakpoint(),Gn=eagerComputed(()=>{if(typeof $n.size!="object")return;const qo=responsiveArray.find(Zo=>Yn.value[Zo]);return $n.size[qo]}),Go=qo=>Gn.value?{width:`${Gn.value}px`,height:`${Gn.value}px`,lineHeight:`${Gn.value}px`,fontSize:`${qo?Gn.value/2:18}px`}:{},Xn=()=>{if(!Dn.value||!Ln.value)return;const qo=Dn.value.offsetWidth,Jo=Ln.value.offsetWidth;if(qo!==0&&Jo!==0){const{gap:Zo=4}=$n;Zo*2<Jo&&(Rn.value=Jo-Zo*2<qo?(Jo-Zo*2)/qo:1)}},Yo=()=>{const{loadError:qo}=$n;(qo==null?void 0:qo())!==!1&&(In.value=!1)};return watch(()=>$n.src,()=>{nextTick(()=>{In.value=!0,Rn.value=1})}),watch(()=>$n.gap,()=>{nextTick(()=>{Xn()})}),onMounted(()=>{nextTick(()=>{Xn(),Nn.value=!0})}),()=>{var qo,Jo;const{shape:Zo,src:rr,alt:nr,srcset:ta,draggable:oa,crossOrigin:ra}=$n,ea=(qo=zn.shape)!==null&&qo!==void 0?qo:Zo,la=getPropsSlot(_n,$n,"icon"),ua=Fn.value,ga={[`${Pn.class}`]:!!Pn.class,[ua]:!0,[`${ua}-lg`]:Wn.value==="large",[`${ua}-sm`]:Wn.value==="small",[`${ua}-${ea}`]:!0,[`${ua}-image`]:rr&&In.value,[`${ua}-icon`]:la,[Hn.value]:!0},aa=typeof Wn.value=="number"?{width:`${Wn.value}px`,height:`${Wn.value}px`,lineHeight:`${Wn.value}px`,fontSize:la?`${Wn.value/2}px`:"18px"}:{},ca=(Jo=_n.default)===null||Jo===void 0?void 0:Jo.call(_n);let sa;if(rr&&In.value)sa=createVNode("img",{draggable:oa,src:rr,srcset:ta,onError:Yo,alt:nr,crossorigin:ra},null);else if(la)sa=la;else if(Nn.value||Rn.value!==1){const ia=`scale(${Rn.value}) translateX(-50%)`,fa={msTransform:ia,WebkitTransform:ia,transform:ia},ma=typeof Wn.value=="number"?{lineHeight:`${Wn.value}px`}:{};sa=createVNode(ResizeObserver$1,{onResize:Xn},{default:()=>[createVNode("span",{class:`${ua}-string`,ref:Dn,style:_extends$1(_extends$1({},ma),fa)},[ca])]})}else sa=createVNode("span",{class:`${ua}-string`,ref:Dn,style:{opacity:0}},[ca]);return Bn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{ref:Ln,class:ga,style:[aa,Go(!!la),Pn.style]}),[sa]))}}}),Avatar$1=Avatar,autoAdjustOverflow$2={adjustX:1,adjustY:1},targetOffset$3=[0,0],placements$4={left:{points:["cr","cl"],overflow:autoAdjustOverflow$2,offset:[-4,0],targetOffset:targetOffset$3},right:{points:["cl","cr"],overflow:autoAdjustOverflow$2,offset:[4,0],targetOffset:targetOffset$3},top:{points:["bc","tc"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset:targetOffset$3},bottom:{points:["tc","bc"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset:targetOffset$3},topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset:targetOffset$3},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflow$2,offset:[-4,0],targetOffset:targetOffset$3},topRight:{points:["br","tr"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset:targetOffset$3},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflow$2,offset:[4,0],targetOffset:targetOffset$3},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset:targetOffset$3},rightBottom:{points:["bl","br"],overflow:autoAdjustOverflow$2,offset:[4,0],targetOffset:targetOffset$3},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset:targetOffset$3},leftBottom:{points:["br","bl"],overflow:autoAdjustOverflow$2,offset:[-4,0],targetOffset:targetOffset$3}},tooltipContentProps={prefixCls:String,id:String,overlayInnerStyle:PropTypes.any},Content$3=defineComponent({compatConfig:{MODE:3},name:"TooltipContent",props:tooltipContentProps,setup($n,Cn){let{slots:_n}=Cn;return()=>{var Pn;return createVNode("div",{class:`${$n.prefixCls}-inner`,id:$n.id,role:"tooltip",style:$n.overlayInnerStyle},[(Pn=_n.overlay)===null||Pn===void 0?void 0:Pn.call(_n)])}}});var __rest$15=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function noop$b(){}const Tooltip$1=defineComponent({compatConfig:{MODE:3},name:"Tooltip",inheritAttrs:!1,props:{trigger:PropTypes.any.def(["hover"]),defaultVisible:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:PropTypes.string.def("right"),transitionName:String,animation:PropTypes.any,afterVisibleChange:PropTypes.func.def(()=>{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:PropTypes.string.def("rc-tooltip"),mouseEnterDelay:PropTypes.number.def(.1),mouseLeaveDelay:PropTypes.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:PropTypes.object.def(()=>({})),arrowContent:PropTypes.any.def(null),tipId:String,builtinPlacements:PropTypes.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function},setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=shallowRef(),Rn=()=>{const{prefixCls:Bn,tipId:Hn,overlayInnerStyle:zn}=$n;return[createVNode("div",{class:`${Bn}-arrow`,key:"arrow"},[getPropsSlot(_n,$n,"arrowContent")]),createVNode(Content$3,{key:"content",prefixCls:Bn,id:Hn,overlayInnerStyle:zn},{overlay:_n.overlay})]};In({getPopupDomNode:()=>Nn.value.getPopupDomNode(),triggerDOM:Nn,forcePopupAlign:()=>{var Bn;return(Bn=Nn.value)===null||Bn===void 0?void 0:Bn.forcePopupAlign()}});const Ln=shallowRef(!1),Fn=shallowRef(!1);return watchEffect(()=>{const{destroyTooltipOnHide:Bn}=$n;if(typeof Bn=="boolean")Ln.value=Bn;else if(Bn&&typeof Bn=="object"){const{keepParent:Hn}=Bn;Ln.value=Hn===!0,Fn.value=Hn===!1}}),()=>{const{overlayClassName:Bn,trigger:Hn,mouseEnterDelay:zn,mouseLeaveDelay:Wn,overlayStyle:Yn,prefixCls:Gn,afterVisibleChange:Go,transitionName:Xn,animation:Yo,placement:qo,align:Jo,destroyTooltipOnHide:Zo,defaultVisible:rr}=$n,nr=__rest$15($n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),ta=_extends$1({},nr);$n.visible!==void 0&&(ta.popupVisible=$n.visible);const oa=_extends$1(_extends$1(_extends$1({popupClassName:Bn,prefixCls:Gn,action:Hn,builtinPlacements:placements$4,popupPlacement:qo,popupAlign:Jo,afterPopupVisibleChange:Go,popupTransitionName:Xn,popupAnimation:Yo,defaultPopupVisible:rr,destroyPopupOnHide:Ln.value,autoDestroy:Fn.value,mouseLeaveDelay:Wn,popupStyle:Yn,mouseEnterDelay:zn},ta),Pn),{onPopupVisibleChange:$n.onVisibleChange||noop$b,onPopupAlign:$n.onPopupAlign||noop$b,ref:Nn,popup:Rn()});return createVNode(Trigger,oa,{default:_n.default})}}}),abstractTooltipProps=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:objectType(),overlayInnerStyle:objectType(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:objectType(),builtinPlacements:objectType(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),autoAdjustOverflowEnabled={adjustX:1,adjustY:1},autoAdjustOverflowDisabled={adjustX:0,adjustY:0},targetOffset$2=[0,0];function getOverflowOptions($n){return typeof $n=="boolean"?$n?autoAdjustOverflowEnabled:autoAdjustOverflowDisabled:_extends$1(_extends$1({},autoAdjustOverflowDisabled),$n)}function getPlacements$1($n){const{arrowWidth:Cn=4,horizontalArrowShift:_n=16,verticalArrowShift:Pn=8,autoAdjustOverflow:In,arrowPointAtCenter:Nn}=$n,Rn={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(_n+Cn),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Pn+Cn)]},topRight:{points:["br","tc"],offset:[_n+Cn,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Pn+Cn)]},bottomRight:{points:["tr","bc"],offset:[_n+Cn,4]},rightBottom:{points:["bl","cr"],offset:[4,Pn+Cn]},bottomLeft:{points:["tl","bc"],offset:[-(_n+Cn),4]},leftBottom:{points:["br","cl"],offset:[-4,Pn+Cn]}};return Object.keys(Rn).forEach(Dn=>{Rn[Dn]=Nn?_extends$1(_extends$1({},Rn[Dn]),{overflow:getOverflowOptions(In),targetOffset:targetOffset$2}):_extends$1(_extends$1({},placements$4[Dn]),{overflow:getOverflowOptions(In)}),Rn[Dn].ignoreShake=!0}),Rn}function firstNotUndefined(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let Cn=0,_n=$n.length;Cn<_n;Cn++)if($n[Cn]!==void 0)return $n[Cn]}const inverseColors=PresetColors.map($n=>`${$n}-inverse`),PresetStatusColorTypes=["success","processing","error","default","warning"];function isPresetColor($n){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...inverseColors,...PresetColors].includes($n):PresetColors.includes($n)}function isPresetStatusColor($n){return PresetStatusColorTypes.includes($n)}function parseColor($n,Cn){const _n=isPresetColor(Cn),Pn=classNames({[`${$n}-${Cn}`]:Cn&&_n}),In={},Nn={};return Cn&&!_n&&(In.background=Cn,Nn["--antd-arrow-background-color"]=Cn),{className:Pn,overlayStyle:In,arrowStyle:Nn}}function connectArrowCls($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return $n.map(_n=>`${Cn}${_n}`).join(",")}const MAX_VERTICAL_CONTENT_RADIUS=8;function getArrowOffset($n){const Cn=MAX_VERTICAL_CONTENT_RADIUS,{sizePopupArrow:_n,contentRadius:Pn,borderRadiusOuter:In,limitVerticalRadius:Nn}=$n,Rn=_n/2-Math.ceil(In*(Math.sqrt(2)-1)),Dn=(Pn>12?Pn+2:12)-Rn,Ln=Nn?Cn-Rn:Dn;return{dropdownArrowOffset:Dn,dropdownArrowOffsetVertical:Ln}}function getArrowStyle($n,Cn){const{componentCls:_n,sizePopupArrow:Pn,marginXXS:In,borderRadiusXS:Nn,borderRadiusOuter:Rn,boxShadowPopoverArrow:Dn}=$n,{colorBg:Ln,showArrowCls:Fn,contentRadius:Bn=$n.borderRadiusLG,limitVerticalRadius:Hn}=Cn,{dropdownArrowOffsetVertical:zn,dropdownArrowOffset:Wn}=getArrowOffset({sizePopupArrow:Pn,contentRadius:Bn,borderRadiusOuter:Rn,limitVerticalRadius:Hn}),Yn=Pn/2+In;return{[_n]:{[`${_n}-arrow`]:[_extends$1(_extends$1({position:"absolute",zIndex:1,display:"block"},roundedArrow(Pn,Nn,Rn,Ln,Dn)),{"&:before":{background:Ln}})],[[`&-placement-top ${_n}-arrow`,`&-placement-topLeft ${_n}-arrow`,`&-placement-topRight ${_n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${_n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${_n}-arrow`]:{left:{_skip_check_:!0,value:Wn}},[`&-placement-topRight ${_n}-arrow`]:{right:{_skip_check_:!0,value:Wn}},[[`&-placement-bottom ${_n}-arrow`,`&-placement-bottomLeft ${_n}-arrow`,`&-placement-bottomRight ${_n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${_n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${_n}-arrow`]:{left:{_skip_check_:!0,value:Wn}},[`&-placement-bottomRight ${_n}-arrow`]:{right:{_skip_check_:!0,value:Wn}},[[`&-placement-left ${_n}-arrow`,`&-placement-leftTop ${_n}-arrow`,`&-placement-leftBottom ${_n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${_n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${_n}-arrow`]:{top:zn},[`&-placement-leftBottom ${_n}-arrow`]:{bottom:zn},[[`&-placement-right ${_n}-arrow`,`&-placement-rightTop ${_n}-arrow`,`&-placement-rightBottom ${_n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${_n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${_n}-arrow`]:{top:zn},[`&-placement-rightBottom ${_n}-arrow`]:{bottom:zn},[connectArrowCls(["&-placement-topLeft","&-placement-top","&-placement-topRight"],Fn)]:{paddingBottom:Yn},[connectArrowCls(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],Fn)]:{paddingTop:Yn},[connectArrowCls(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],Fn)]:{paddingRight:{_skip_check_:!0,value:Yn}},[connectArrowCls(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],Fn)]:{paddingLeft:{_skip_check_:!0,value:Yn}}}}}const genTooltipStyle=$n=>{const{componentCls:Cn,tooltipMaxWidth:_n,tooltipColor:Pn,tooltipBg:In,tooltipBorderRadius:Nn,zIndexPopup:Rn,controlHeight:Dn,boxShadowSecondary:Ln,paddingSM:Fn,paddingXS:Bn,tooltipRadiusOuter:Hn}=$n;return[{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",zIndex:Rn,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:_n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":In,[`${Cn}-inner`]:{minWidth:Dn,minHeight:Dn,padding:`${Fn/2}px ${Bn}px`,color:Pn,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:In,borderRadius:Nn,boxShadow:Ln},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Cn}-inner`]:{borderRadius:Math.min(Nn,MAX_VERTICAL_CONTENT_RADIUS)}},[`${Cn}-content`]:{position:"relative"}}),genPresetColor($n,(zn,Wn)=>{let{darkColor:Yn}=Wn;return{[`&${Cn}-${zn}`]:{[`${Cn}-inner`]:{backgroundColor:Yn},[`${Cn}-arrow`]:{"--antd-arrow-background-color":Yn}}}})),{"&-rtl":{direction:"rtl"}})},getArrowStyle(merge$1($n,{borderRadiusOuter:Hn}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:Nn,limitVerticalRadius:!0}),{[`${Cn}-pure`]:{position:"relative",maxWidth:"none"}}]},useStyle$T=($n,Cn)=>genComponentStyleHook("Tooltip",Pn=>{if((Cn==null?void 0:Cn.value)===!1)return[];const{borderRadius:In,colorTextLightSolid:Nn,colorBgDefault:Rn,borderRadiusOuter:Dn}=Pn,Ln=merge$1(Pn,{tooltipMaxWidth:250,tooltipColor:Nn,tooltipBorderRadius:In,tooltipBg:Rn,tooltipRadiusOuter:Dn>4?4:Dn});return[genTooltipStyle(Ln),initZoomMotion(Pn,"zoom-big-fast")]},Pn=>{let{zIndexPopupBase:In,colorBgSpotlight:Nn}=Pn;return{zIndexPopup:In+70,colorBgDefault:Nn}})($n),splitObject=($n,Cn)=>{const _n={},Pn=_extends$1({},$n);return Cn.forEach(In=>{$n&&In in $n&&(_n[In]=$n[In],delete Pn[In])}),{picked:_n,omitted:Pn}},tooltipProps=()=>_extends$1(_extends$1({},abstractTooltipProps()),{title:PropTypes.any}),tooltipDefaultProps=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),ToolTip=defineComponent({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:initDefaultProps(tooltipProps(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In,expose:Nn}=Cn;const{prefixCls:Rn,getPopupContainer:Dn,direction:Ln,rootPrefixCls:Fn}=useConfigInject("tooltip",$n),Bn=computed(()=>{var ra;return(ra=$n.open)!==null&&ra!==void 0?ra:$n.visible}),Hn=ref(firstNotUndefined([$n.open,$n.visible])),zn=ref();let Wn;watch(Bn,ra=>{wrapperRaf.cancel(Wn),Wn=wrapperRaf(()=>{Hn.value=!!ra})});const Yn=()=>{var ra;const ea=(ra=$n.title)!==null&&ra!==void 0?ra:_n.title;return!ea&&ea!==0},Gn=ra=>{const ea=Yn();Bn.value===void 0&&(Hn.value=ea?!1:ra),ea||(Pn("update:visible",ra),Pn("visibleChange",ra),Pn("update:open",ra),Pn("openChange",ra))};Nn({getPopupDomNode:()=>zn.value.getPopupDomNode(),open:Hn,forcePopupAlign:()=>{var ra;return(ra=zn.value)===null||ra===void 0?void 0:ra.forcePopupAlign()}});const Xn=computed(()=>{const{builtinPlacements:ra,arrowPointAtCenter:ea,autoAdjustOverflow:la}=$n;return ra||getPlacements$1({arrowPointAtCenter:ea,autoAdjustOverflow:la})}),Yo=ra=>ra||ra==="",qo=ra=>{const ea=ra.type;if(typeof ea=="object"&&ra.props&&((ea.__ANT_BUTTON===!0||ea==="button")&&Yo(ra.props.disabled)||ea.__ANT_SWITCH===!0&&(Yo(ra.props.disabled)||Yo(ra.props.loading))||ea.__ANT_RADIO===!0&&Yo(ra.props.disabled))){const{picked:la,omitted:ua}=splitObject(getStyle$3(ra),["position","left","right","top","bottom","float","display","zIndex"]),ga=_extends$1(_extends$1({display:"inline-block"},la),{cursor:"not-allowed",lineHeight:1,width:ra.props&&ra.props.block?"100%":void 0}),aa=_extends$1(_extends$1({},ua),{pointerEvents:"none"}),ca=cloneElement(ra,{style:aa},!0);return createVNode("span",{style:ga,class:`${Rn.value}-disabled-compatible-wrapper`},[ca])}return ra},Jo=()=>{var ra,ea;return(ra=$n.title)!==null&&ra!==void 0?ra:(ea=_n.title)===null||ea===void 0?void 0:ea.call(_n)},Zo=(ra,ea)=>{const la=Xn.value,ua=Object.keys(la).find(ga=>{var aa,ca;return la[ga].points[0]===((aa=ea.points)===null||aa===void 0?void 0:aa[0])&&la[ga].points[1]===((ca=ea.points)===null||ca===void 0?void 0:ca[1])});if(ua){const ga=ra.getBoundingClientRect(),aa={top:"50%",left:"50%"};ua.indexOf("top")>=0||ua.indexOf("Bottom")>=0?aa.top=`${ga.height-ea.offset[1]}px`:(ua.indexOf("Top")>=0||ua.indexOf("bottom")>=0)&&(aa.top=`${-ea.offset[1]}px`),ua.indexOf("left")>=0||ua.indexOf("Right")>=0?aa.left=`${ga.width-ea.offset[0]}px`:(ua.indexOf("right")>=0||ua.indexOf("Left")>=0)&&(aa.left=`${-ea.offset[0]}px`),ra.style.transformOrigin=`${aa.left} ${aa.top}`}},rr=computed(()=>parseColor(Rn.value,$n.color)),nr=computed(()=>In["data-popover-inject"]),[ta,oa]=useStyle$T(Rn,computed(()=>!nr.value));return()=>{var ra,ea;const{openClassName:la,overlayClassName:ua,overlayStyle:ga,overlayInnerStyle:aa}=$n;let ca=(ea=filterEmpty((ra=_n.default)===null||ra===void 0?void 0:ra.call(_n)))!==null&&ea!==void 0?ea:null;ca=ca.length===1?ca[0]:ca;let sa=Hn.value;if(Bn.value===void 0&&Yn()&&(sa=!1),!ca)return null;const ia=qo(isValidElement(ca)&&!isFragment(ca)?ca:createVNode("span",null,[ca])),fa=classNames({[la||`${Rn.value}-open`]:!0,[ia.props&&ia.props.class]:ia.props&&ia.props.class}),ma=classNames(ua,{[`${Rn.value}-rtl`]:Ln.value==="rtl"},rr.value.className,oa.value),ya=_extends$1(_extends$1({},rr.value.overlayStyle),aa),ba=rr.value.arrowStyle,Ia=_extends$1(_extends$1(_extends$1({},In),$n),{prefixCls:Rn.value,getPopupContainer:Dn==null?void 0:Dn.value,builtinPlacements:Xn.value,visible:sa,ref:zn,overlayClassName:ma,overlayStyle:_extends$1(_extends$1({},ba),ga),overlayInnerStyle:ya,onVisibleChange:Gn,onPopupAlign:Zo,transitionName:getTransitionName$1(Fn.value,"zoom-big-fast",$n.transitionName)});return ta(createVNode(Tooltip$1,Ia,{default:()=>[Hn.value?cloneElement(ia,{class:fa}):ia],arrowContent:()=>createVNode("span",{class:`${Rn.value}-arrow-content`},null),overlay:Jo}))}}}),Tooltip=withInstall(ToolTip),genBaseStyle$g=$n=>{const{componentCls:Cn,popoverBg:_n,popoverColor:Pn,width:In,fontWeightStrong:Nn,popoverPadding:Rn,boxShadowSecondary:Dn,colorTextHeading:Ln,borderRadiusLG:Fn,zIndexPopup:Bn,marginXS:Hn,colorBgElevated:zn}=$n;return[{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:Bn,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":zn,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Cn}-content`]:{position:"relative"},[`${Cn}-inner`]:{backgroundColor:_n,backgroundClip:"padding-box",borderRadius:Fn,boxShadow:Dn,padding:Rn},[`${Cn}-title`]:{minWidth:In,marginBottom:Hn,color:Ln,fontWeight:Nn},[`${Cn}-inner-content`]:{color:Pn}})},getArrowStyle($n,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Cn}-pure`]:{position:"relative",maxWidth:"none",[`${Cn}-content`]:{display:"inline-block"}}}]},genColorStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:PresetColors.map(_n=>{const Pn=$n[`${_n}-6`];return{[`&${Cn}-${_n}`]:{"--antd-arrow-background-color":Pn,[`${Cn}-inner`]:{backgroundColor:Pn},[`${Cn}-arrow`]:{background:"transparent"}}}})}},genWireframeStyle$1=$n=>{const{componentCls:Cn,lineWidth:_n,lineType:Pn,colorSplit:In,paddingSM:Nn,controlHeight:Rn,fontSize:Dn,lineHeight:Ln,padding:Fn}=$n,Bn=Rn-Math.round(Dn*Ln),Hn=Bn/2,zn=Bn/2-_n,Wn=Fn;return{[Cn]:{[`${Cn}-inner`]:{padding:0},[`${Cn}-title`]:{margin:0,padding:`${Hn}px ${Wn}px ${zn}px`,borderBottom:`${_n}px ${Pn} ${In}`},[`${Cn}-inner-content`]:{padding:`${Nn}px ${Wn}px`}}}},useStyle$S=genComponentStyleHook("Popover",$n=>{const{colorBgElevated:Cn,colorText:_n,wireframe:Pn}=$n,In=merge$1($n,{popoverBg:Cn,popoverColor:_n,popoverPadding:12});return[genBaseStyle$g(In),genColorStyle(In),Pn&&genWireframeStyle$1(In),initZoomMotion(In,"zoom-big")]},$n=>{let{zIndexPopupBase:Cn}=$n;return{zIndexPopup:Cn+30,width:177}}),popoverProps=()=>_extends$1(_extends$1({},abstractTooltipProps()),{content:anyType(),title:anyType()}),Popover=defineComponent({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:initDefaultProps(popoverProps(),_extends$1(_extends$1({},tooltipDefaultProps()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup($n,Cn){let{expose:_n,slots:Pn,attrs:In}=Cn;const Nn=ref();warning$3($n.visible===void 0),_n({getPopupDomNode:()=>{var zn,Wn;return(Wn=(zn=Nn.value)===null||zn===void 0?void 0:zn.getPopupDomNode)===null||Wn===void 0?void 0:Wn.call(zn)}});const{prefixCls:Rn,configProvider:Dn}=useConfigInject("popover",$n),[Ln,Fn]=useStyle$S(Rn),Bn=computed(()=>Dn.getPrefixCls()),Hn=()=>{var zn,Wn;const{title:Yn=filterEmpty((zn=Pn.title)===null||zn===void 0?void 0:zn.call(Pn)),content:Gn=filterEmpty((Wn=Pn.content)===null||Wn===void 0?void 0:Wn.call(Pn))}=$n,Go=!!(Array.isArray(Yn)?Yn.length:Yn),Xn=!!(Array.isArray(Gn)?Gn.length:Yn);return!Go&&!Xn?null:createVNode(Fragment,null,[Go&&createVNode("div",{class:`${Rn.value}-title`},[Yn]),createVNode("div",{class:`${Rn.value}-inner-content`},[Gn])])};return()=>{const zn=classNames($n.overlayClassName,Fn.value);return Ln(createVNode(Tooltip,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},omit$1($n,["title","content"])),In),{},{prefixCls:Rn.value,ref:Nn,overlayClassName:zn,transitionName:getTransitionName$1(Bn.value,"zoom-big",$n.transitionName),"data-popover-inject":!0}),{title:Hn,default:Pn.default}))}}}),Popover$1=withInstall(Popover),groupProps=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),Group$3=defineComponent({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:groupProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("avatar",$n),Rn=computed(()=>`${In.value}-group`),[Dn,Ln]=useStyle$U(In);return watchEffect(()=>{const Fn={size:$n.size,shape:$n.shape};useAvatarProviderContext(Fn)}),()=>{const{maxPopoverPlacement:Fn="top",maxCount:Bn,maxStyle:Hn,maxPopoverTrigger:zn="hover",shape:Wn}=$n,Yn={[Rn.value]:!0,[`${Rn.value}-rtl`]:Nn.value==="rtl",[`${Pn.class}`]:!!Pn.class,[Ln.value]:!0},Gn=getPropsSlot(_n,$n),Go=flattenChildren(Gn).map((Yo,qo)=>cloneElement(Yo,{key:`avatar-key-${qo}`})),Xn=Go.length;if(Bn&&Bn<Xn){const Yo=Go.slice(0,Bn),qo=Go.slice(Bn,Xn);return Yo.push(createVNode(Popover$1,{key:"avatar-popover-key",content:qo,trigger:zn,placement:Fn,overlayClassName:`${Rn.value}-popover`},{default:()=>[createVNode(Avatar$1,{style:Hn,shape:Wn},{default:()=>[`+${Xn-Bn}`]})]})),Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Yn,style:Pn.style}),[Yo]))}return Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Yn,style:Pn.style}),[Go]))}}}),Group$4=Group$3;Avatar$1.Group=Group$4;Avatar$1.install=function($n){return $n.component(Avatar$1.name,Avatar$1),$n.component(Group$4.name,Group$4),$n};function UnitNumber($n){let{prefixCls:Cn,value:_n,current:Pn,offset:In=0}=$n,Nn;return In&&(Nn={position:"absolute",top:`${In}00%`,left:0}),createVNode("p",{style:Nn,class:classNames(`${Cn}-only-unit`,{current:Pn})},[_n])}function getOffset$2($n,Cn,_n){let Pn=$n,In=0;for(;(Pn+10)%10!==Cn;)Pn+=_n,In+=_n;return In}const SingleNumber=defineComponent({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup($n){const Cn=computed(()=>Number($n.value)),_n=computed(()=>Math.abs($n.count)),Pn=reactive({prevValue:Cn.value,prevCount:_n.value}),In=()=>{Pn.prevValue=Cn.value,Pn.prevCount=_n.value},Nn=ref();return watch(Cn,()=>{clearTimeout(Nn.value),Nn.value=setTimeout(()=>{In()},1e3)},{flush:"post"}),onUnmounted(()=>{clearTimeout(Nn.value)}),()=>{let Rn,Dn={};const Ln=Cn.value;if(Pn.prevValue===Ln||Number.isNaN(Ln)||Number.isNaN(Pn.prevValue))Rn=[UnitNumber(_extends$1(_extends$1({},$n),{current:!0}))],Dn={transition:"none"};else{Rn=[];const Fn=Ln+10,Bn=[];for(let Wn=Ln;Wn<=Fn;Wn+=1)Bn.push(Wn);const Hn=Bn.findIndex(Wn=>Wn%10===Pn.prevValue);Rn=Bn.map((Wn,Yn)=>{const Gn=Wn%10;return UnitNumber(_extends$1(_extends$1({},$n),{value:Gn,offset:Yn-Hn,current:Yn===Hn}))});const zn=Pn.prevCount<_n.value?1:-1;Dn={transform:`translateY(${-getOffset$2(Pn.prevValue,Ln,zn)}00%)`}}return createVNode("span",{class:`${$n.prefixCls}-only`,style:Dn,onTransitionend:()=>In()},[Rn])}}});var __rest$14=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const scrollNumberProps={prefixCls:String,count:PropTypes.any,component:String,title:PropTypes.any,show:Boolean},ScrollNumber=defineComponent({compatConfig:{MODE:3},name:"ScrollNumber",inheritAttrs:!1,props:scrollNumberProps,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In}=useConfigInject("scroll-number",$n);return()=>{var Nn;const Rn=_extends$1(_extends$1({},$n),_n),{prefixCls:Dn,count:Ln,title:Fn,show:Bn,component:Hn="sup",class:zn,style:Wn}=Rn,Yn=__rest$14(Rn,["prefixCls","count","title","show","component","class","style"]),Gn=_extends$1(_extends$1({},Yn),{style:Wn,"data-show":$n.show,class:classNames(In.value,zn),title:Fn});let Go=Ln;if(Ln&&Number(Ln)%1===0){const Yo=String(Ln).split("");Go=Yo.map((qo,Jo)=>createVNode(SingleNumber,{prefixCls:In.value,count:Number(Ln),value:qo,key:Yo.length-Jo},null))}Wn&&Wn.borderColor&&(Gn.style=_extends$1(_extends$1({},Wn),{boxShadow:`0 0 0 1px ${Wn.borderColor} inset`}));const Xn=filterEmpty((Nn=Pn.default)===null||Nn===void 0?void 0:Nn.call(Pn));return Xn&&Xn.length?cloneElement(Xn,{class:classNames(`${In.value}-custom-component`)},!1):createVNode(Hn,Gn,{default:()=>[Go]})}}}),antStatusProcessing=new Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),antZoomBadgeIn=new Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),antZoomBadgeOut=new Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),antNoWrapperZoomBadgeIn=new Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),antNoWrapperZoomBadgeOut=new Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),antBadgeLoadingCircle=new Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),genSharedBadgeStyle=$n=>{const{componentCls:Cn,iconCls:_n,antCls:Pn,badgeFontHeight:In,badgeShadowSize:Nn,badgeHeightSm:Rn,motionDurationSlow:Dn,badgeStatusSize:Ln,marginXS:Fn,badgeRibbonOffset:Bn}=$n,Hn=`${Pn}-scroll-number`,zn=`${Pn}-ribbon`,Wn=`${Pn}-ribbon-wrapper`,Yn=genPresetColor($n,(Go,Xn)=>{let{darkColor:Yo}=Xn;return{[`&${Cn} ${Cn}-color-${Go}`]:{background:Yo,[`&:not(${Cn}-count)`]:{color:Yo}}}}),Gn=genPresetColor($n,(Go,Xn)=>{let{darkColor:Yo}=Xn;return{[`&${zn}-color-${Go}`]:{background:Yo,color:Yo}}});return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${Cn}-count`]:{zIndex:$n.badgeZIndex,minWidth:$n.badgeHeight,height:$n.badgeHeight,color:$n.badgeTextColor,fontWeight:$n.badgeFontWeight,fontSize:$n.badgeFontSize,lineHeight:`${$n.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:$n.badgeColor,borderRadius:$n.badgeHeight/2,boxShadow:`0 0 0 ${Nn}px ${$n.badgeShadowColor}`,transition:`background ${$n.motionDurationMid}`,a:{color:$n.badgeTextColor},"a:hover":{color:$n.badgeTextColor},"a:hover &":{background:$n.badgeColorHover}},[`${Cn}-count-sm`]:{minWidth:Rn,height:Rn,fontSize:$n.badgeFontSizeSm,lineHeight:`${Rn}px`,borderRadius:Rn/2},[`${Cn}-multiple-words`]:{padding:`0 ${$n.paddingXS}px`},[`${Cn}-dot`]:{zIndex:$n.badgeZIndex,width:$n.badgeDotSize,minWidth:$n.badgeDotSize,height:$n.badgeDotSize,background:$n.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${Nn}px ${$n.badgeShadowColor}`},[`${Cn}-dot${Hn}`]:{transition:`background ${Dn}`},[`${Cn}-count, ${Cn}-dot, ${Hn}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${_n}-spin`]:{animationName:antBadgeLoadingCircle,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${Cn}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${Cn}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Ln,height:Ln,verticalAlign:"middle",borderRadius:"50%"},[`${Cn}-status-success`]:{backgroundColor:$n.colorSuccess},[`${Cn}-status-processing`]:{overflow:"visible",color:$n.colorPrimary,backgroundColor:$n.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:Nn,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:antStatusProcessing,animationDuration:$n.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${Cn}-status-default`]:{backgroundColor:$n.colorTextPlaceholder},[`${Cn}-status-error`]:{backgroundColor:$n.colorError},[`${Cn}-status-warning`]:{backgroundColor:$n.colorWarning},[`${Cn}-status-text`]:{marginInlineStart:Fn,color:$n.colorText,fontSize:$n.fontSize}}}),Yn),{[`${Cn}-zoom-appear, ${Cn}-zoom-enter`]:{animationName:antZoomBadgeIn,animationDuration:$n.motionDurationSlow,animationTimingFunction:$n.motionEaseOutBack,animationFillMode:"both"},[`${Cn}-zoom-leave`]:{animationName:antZoomBadgeOut,animationDuration:$n.motionDurationSlow,animationTimingFunction:$n.motionEaseOutBack,animationFillMode:"both"},[`&${Cn}-not-a-wrapper`]:{[`${Cn}-zoom-appear, ${Cn}-zoom-enter`]:{animationName:antNoWrapperZoomBadgeIn,animationDuration:$n.motionDurationSlow,animationTimingFunction:$n.motionEaseOutBack},[`${Cn}-zoom-leave`]:{animationName:antNoWrapperZoomBadgeOut,animationDuration:$n.motionDurationSlow,animationTimingFunction:$n.motionEaseOutBack},[`&:not(${Cn}-status)`]:{verticalAlign:"middle"},[`${Hn}-custom-component, ${Cn}-count`]:{transform:"none"},[`${Hn}-custom-component, ${Hn}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${Hn}`]:{overflow:"hidden",[`${Hn}-only`]:{position:"relative",display:"inline-block",height:$n.badgeHeight,transition:`all ${$n.motionDurationSlow} ${$n.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${Hn}-only-unit`]:{height:$n.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${Hn}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${Cn}-count, ${Cn}-dot, ${Hn}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${Wn}`]:{position:"relative"},[`${zn}`]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:Fn,padding:`0 ${$n.paddingXS}px`,color:$n.colorPrimary,lineHeight:`${In}px`,whiteSpace:"nowrap",backgroundColor:$n.colorPrimary,borderRadius:$n.borderRadiusSM,[`${zn}-text`]:{color:$n.colorTextLightSolid},[`${zn}-corner`]:{position:"absolute",top:"100%",width:Bn,height:Bn,color:"currentcolor",border:`${Bn/2}px solid`,transform:$n.badgeRibbonCornerTransform,transformOrigin:"top",filter:$n.badgeRibbonCornerFilter}}),Gn),{[`&${zn}-placement-end`]:{insetInlineEnd:-Bn,borderEndEndRadius:0,[`${zn}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${zn}-placement-start`]:{insetInlineStart:-Bn,borderEndStartRadius:0,[`${zn}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},useStyle$R=genComponentStyleHook("Badge",$n=>{const{fontSize:Cn,lineHeight:_n,fontSizeSM:Pn,lineWidth:In,marginXS:Nn,colorBorderBg:Rn}=$n,Dn=Math.round(Cn*_n),Ln=In,Fn="auto",Bn=Dn-2*Ln,Hn=$n.colorBgContainer,zn="normal",Wn=Pn,Yn=$n.colorError,Gn=$n.colorErrorHover,Go=Cn,Xn=Pn/2,Yo=Pn,qo=Pn/2,Jo=merge$1($n,{badgeFontHeight:Dn,badgeShadowSize:Ln,badgeZIndex:Fn,badgeHeight:Bn,badgeTextColor:Hn,badgeFontWeight:zn,badgeFontSize:Wn,badgeColor:Yn,badgeColorHover:Gn,badgeShadowColor:Rn,badgeHeightSm:Go,badgeDotSize:Xn,badgeFontSizeSm:Yo,badgeStatusSize:qo,badgeProcessingDuration:"1.2s",badgeRibbonOffset:Nn,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[genSharedBadgeStyle(Jo)]});var __rest$13=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const ribbonProps=()=>({prefix:String,color:{type:String},text:PropTypes.any,placement:{type:String,default:"end"}}),Ribbon=defineComponent({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:ribbonProps(),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("ribbon",$n),[Rn,Dn]=useStyle$R(In),Ln=computed(()=>isPresetColor($n.color,!1)),Fn=computed(()=>[In.value,`${In.value}-placement-${$n.placement}`,{[`${In.value}-rtl`]:Nn.value==="rtl",[`${In.value}-color-${$n.color}`]:Ln.value}]);return()=>{var Bn,Hn;const{class:zn,style:Wn}=_n,Yn=__rest$13(_n,["class","style"]),Gn={},Go={};return $n.color&&!Ln.value&&(Gn.background=$n.color,Go.color=$n.color),Rn(createVNode("div",_objectSpread2$1({class:`${In.value}-wrapper ${Dn.value}`},Yn),[(Bn=Pn.default)===null||Bn===void 0?void 0:Bn.call(Pn),createVNode("div",{class:[Fn.value,zn,Dn.value],style:_extends$1(_extends$1({},Gn),Wn)},[createVNode("span",{class:`${In.value}-text`},[$n.text||((Hn=Pn.text)===null||Hn===void 0?void 0:Hn.call(Pn))]),createVNode("div",{class:`${In.value}-corner`,style:Go},null)])]))}}}),isNumeric=$n=>!isNaN(parseFloat($n))&&isFinite($n),badgeProps=()=>({count:PropTypes.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:PropTypes.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Badge=defineComponent({compatConfig:{MODE:3},name:"ABadge",Ribbon,inheritAttrs:!1,props:badgeProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("badge",$n),[Rn,Dn]=useStyle$R(In),Ln=computed(()=>$n.count>$n.overflowCount?`${$n.overflowCount}+`:$n.count),Fn=computed(()=>Ln.value==="0"||Ln.value===0),Bn=computed(()=>$n.count===null||Fn.value&&!$n.showZero),Hn=computed(()=>($n.status!==null&&$n.status!==void 0||$n.color!==null&&$n.color!==void 0)&&Bn.value),zn=computed(()=>$n.dot&&!Fn.value),Wn=computed(()=>zn.value?"":Ln.value),Yn=computed(()=>(Wn.value===null||Wn.value===void 0||Wn.value===""||Fn.value&&!$n.showZero)&&!zn.value),Gn=ref($n.count),Go=ref(Wn.value),Xn=ref(zn.value);watch([()=>$n.count,Wn,zn],()=>{Yn.value||(Gn.value=$n.count,Go.value=Wn.value,Xn.value=zn.value)},{immediate:!0});const Yo=computed(()=>isPresetColor($n.color,!1)),qo=computed(()=>({[`${In.value}-status-dot`]:Hn.value,[`${In.value}-status-${$n.status}`]:!!$n.status,[`${In.value}-color-${$n.color}`]:Yo.value})),Jo=computed(()=>$n.color&&!Yo.value?{background:$n.color,color:$n.color}:{}),Zo=computed(()=>({[`${In.value}-dot`]:Xn.value,[`${In.value}-count`]:!Xn.value,[`${In.value}-count-sm`]:$n.size==="small",[`${In.value}-multiple-words`]:!Xn.value&&Go.value&&Go.value.toString().length>1,[`${In.value}-status-${$n.status}`]:!!$n.status,[`${In.value}-color-${$n.color}`]:Yo.value}));return()=>{var rr,nr;const{offset:ta,title:oa,color:ra}=$n,ea=Pn.style,la=getPropsSlot(_n,$n,"text"),ua=In.value,ga=Gn.value;let aa=flattenChildren((rr=_n.default)===null||rr===void 0?void 0:rr.call(_n));aa=aa.length?aa:null;const ca=!!(!Yn.value||_n.count),sa=(()=>{if(!ta)return _extends$1({},ea);const Ea={marginTop:isNumeric(ta[1])?`${ta[1]}px`:ta[1]};return Nn.value==="rtl"?Ea.left=`${parseInt(ta[0],10)}px`:Ea.right=`${-parseInt(ta[0],10)}px`,_extends$1(_extends$1({},Ea),ea)})(),ia=oa??(typeof ga=="string"||typeof ga=="number"?ga:void 0),fa=ca||!la?null:createVNode("span",{class:`${ua}-status-text`},[la]),ma=typeof ga=="object"||ga===void 0&&_n.count?cloneElement(ga??((nr=_n.count)===null||nr===void 0?void 0:nr.call(_n)),{style:sa},!1):null,ya=classNames(ua,{[`${ua}-status`]:Hn.value,[`${ua}-not-a-wrapper`]:!aa,[`${ua}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value);if(!aa&&Hn.value){const Ea=sa.color;return Rn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:ya,style:sa}),[createVNode("span",{class:qo.value,style:Jo.value},null),createVNode("span",{style:{color:Ea},class:`${ua}-status-text`},[la])]))}const ba=getTransitionProps(aa?`${ua}-zoom`:"",{appear:!1});let Ia=_extends$1(_extends$1({},sa),$n.numberStyle);return ra&&!Yo.value&&(Ia=Ia||{},Ia.background=ra),Rn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:ya}),[aa,createVNode(Transition,ba,{default:()=>[withDirectives(createVNode(ScrollNumber,{prefixCls:$n.scrollNumberPrefixCls,show:ca,class:Zo.value,count:Go.value,title:ia,style:Ia,key:"scrollNumber"},{default:()=>[ma]}),[[vShow,ca]])]}),fa]))}}});Badge.install=function($n){return $n.component(Badge.name,Badge),$n.component(Ribbon.name,Ribbon),$n};const autoAdjustOverflow$1={adjustX:1,adjustY:1},targetOffset$1=[0,0],placements$2={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow$1,offset:[0,-4],targetOffset:targetOffset$1},topCenter:{points:["bc","tc"],overflow:autoAdjustOverflow$1,offset:[0,-4],targetOffset:targetOffset$1},topRight:{points:["br","tr"],overflow:autoAdjustOverflow$1,offset:[0,-4],targetOffset:targetOffset$1},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow$1,offset:[0,4],targetOffset:targetOffset$1},bottomCenter:{points:["tc","bc"],overflow:autoAdjustOverflow$1,offset:[0,4],targetOffset:targetOffset$1},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow$1,offset:[0,4],targetOffset:targetOffset$1}},placements$3=placements$2;var __rest$12=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Dropdown$2=defineComponent({compatConfig:{MODE:3},props:{minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},arrow:{type:Boolean,default:!1},prefixCls:PropTypes.string.def("rc-dropdown"),transitionName:String,overlayClassName:PropTypes.string.def(""),openClassName:String,animation:PropTypes.any,align:PropTypes.object,overlayStyle:{type:Object,default:void 0},placement:PropTypes.string.def("bottomLeft"),overlay:PropTypes.any,trigger:PropTypes.oneOfType([PropTypes.string,PropTypes.arrayOf(PropTypes.string)]).def("hover"),alignPoint:{type:Boolean,default:void 0},showAction:PropTypes.array,hideAction:PropTypes.array,getPopupContainer:Function,visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},mouseEnterDelay:PropTypes.number.def(.15),mouseLeaveDelay:PropTypes.number.def(.1)},emits:["visibleChange","overlayClick"],setup($n,Cn){let{slots:_n,emit:Pn,expose:In}=Cn;const Nn=ref(!!$n.visible);watch(()=>$n.visible,Wn=>{Wn!==void 0&&(Nn.value=Wn)});const Rn=ref();In({triggerRef:Rn});const Dn=Wn=>{$n.visible===void 0&&(Nn.value=!1),Pn("overlayClick",Wn)},Ln=Wn=>{$n.visible===void 0&&(Nn.value=Wn),Pn("visibleChange",Wn)},Fn=()=>{var Wn;const Yn=(Wn=_n.overlay)===null||Wn===void 0?void 0:Wn.call(_n),Gn={prefixCls:`${$n.prefixCls}-menu`,onClick:Dn};return createVNode(Fragment,{key:skipFlattenKey},[$n.arrow&&createVNode("div",{class:`${$n.prefixCls}-arrow`},null),cloneElement(Yn,Gn,!1)])},Bn=computed(()=>{const{minOverlayWidthMatchTrigger:Wn=!$n.alignPoint}=$n;return Wn}),Hn=()=>{var Wn;const Yn=(Wn=_n.default)===null||Wn===void 0?void 0:Wn.call(_n);return Nn.value&&Yn?cloneElement(Yn[0],{class:$n.openClassName||`${$n.prefixCls}-open`},!1):Yn},zn=computed(()=>!$n.hideAction&&$n.trigger.indexOf("contextmenu")!==-1?["click"]:$n.hideAction);return()=>{const{prefixCls:Wn,arrow:Yn,showAction:Gn,overlayStyle:Go,trigger:Xn,placement:Yo,align:qo,getPopupContainer:Jo,transitionName:Zo,animation:rr,overlayClassName:nr}=$n,ta=__rest$12($n,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return createVNode(Trigger,_objectSpread2$1(_objectSpread2$1({},ta),{},{prefixCls:Wn,ref:Rn,popupClassName:classNames(nr,{[`${Wn}-show-arrow`]:Yn}),popupStyle:Go,builtinPlacements:placements$3,action:Xn,showAction:Gn,hideAction:zn.value||[],popupPlacement:Yo,popupAlign:qo,popupTransitionName:Zo,popupAnimation:rr,popupVisible:Nn.value,stretch:Bn.value?"minWidth":"",onPopupVisibleChange:Ln,getPopupContainer:Jo}),{popup:Fn,default:Hn})}}}),genWaveStyle=$n=>{const{componentCls:Cn,colorPrimary:_n}=$n;return{[Cn]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${_n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${$n.motionEaseOutCirc}`,`opacity 2s ${$n.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},useStyle$Q=genComponentStyleHook("Wave",$n=>[genWaveStyle($n)]);function isNotGrey($n){const Cn=($n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return Cn&&Cn[1]&&Cn[2]&&Cn[3]?!(Cn[1]===Cn[2]&&Cn[2]===Cn[3]):!0}function isValidWaveColor($n){return $n&&$n!=="#fff"&&$n!=="#ffffff"&&$n!=="rgb(255, 255, 255)"&&$n!=="rgba(255, 255, 255, 1)"&&isNotGrey($n)&&!/rgba\((?:\d*, ){3}0\)/.test($n)&&$n!=="transparent"}function getTargetWaveColor($n){const{borderTopColor:Cn,borderColor:_n,backgroundColor:Pn}=getComputedStyle($n);return isValidWaveColor(Cn)?Cn:isValidWaveColor(_n)?_n:isValidWaveColor(Pn)?Pn:null}function validateNum($n){return Number.isNaN($n)?0:$n}const WaveEffect=defineComponent({props:{target:objectType(),className:String},setup($n){const Cn=shallowRef(null),[_n,Pn]=useState(null),[In,Nn]=useState([]),[Rn,Dn]=useState(0),[Ln,Fn]=useState(0),[Bn,Hn]=useState(0),[zn,Wn]=useState(0),[Yn,Gn]=useState(!1);function Go(){const{target:nr}=$n,ta=getComputedStyle(nr);Pn(getTargetWaveColor(nr));const oa=ta.position==="static",{borderLeftWidth:ra,borderTopWidth:ea}=ta;Dn(oa?nr.offsetLeft:validateNum(-parseFloat(ra))),Fn(oa?nr.offsetTop:validateNum(-parseFloat(ea))),Hn(nr.offsetWidth),Wn(nr.offsetHeight);const{borderTopLeftRadius:la,borderTopRightRadius:ua,borderBottomLeftRadius:ga,borderBottomRightRadius:aa}=ta;Nn([la,ua,aa,ga].map(ca=>validateNum(parseFloat(ca))))}let Xn,Yo,qo;const Jo=()=>{clearTimeout(qo),wrapperRaf.cancel(Yo),Xn==null||Xn.disconnect()},Zo=()=>{var nr;const ta=(nr=Cn.value)===null||nr===void 0?void 0:nr.parentElement;ta&&(render$1(null,ta),ta.parentElement&&ta.parentElement.removeChild(ta))};onMounted(()=>{Jo(),qo=setTimeout(()=>{Zo()},5e3);const{target:nr}=$n;nr&&(Yo=wrapperRaf(()=>{Go(),Gn(!0)}),typeof ResizeObserver<"u"&&(Xn=new ResizeObserver(Go),Xn.observe(nr)))}),onBeforeUnmount(()=>{Jo()});const rr=nr=>{nr.propertyName==="opacity"&&Zo()};return()=>{if(!Yn.value)return null;const nr={left:`${Rn.value}px`,top:`${Ln.value}px`,width:`${Bn.value}px`,height:`${zn.value}px`,borderRadius:In.value.map(ta=>`${ta}px`).join(" ")};return _n&&(nr["--wave-color"]=_n.value),createVNode(Transition,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[createVNode("div",{ref:Cn,class:$n.className,style:nr,onTransitionend:rr},null)]})}}});function showWaveEffect($n,Cn){const _n=document.createElement("div");_n.style.position="absolute",_n.style.left="0px",_n.style.top="0px",$n==null||$n.insertBefore(_n,$n==null?void 0:$n.firstChild),render$1(createVNode(WaveEffect,{target:$n,className:Cn},null),_n)}function useWave($n,Cn,_n){function Pn(){var In;const Nn=findDOMNode($n);!((In=_n==null?void 0:_n.value)===null||In===void 0)&&In.disabled||!Nn||showWaveEffect(Nn,Cn.value)}return Pn}const Wave=defineComponent({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup($n,Cn){let{slots:_n}=Cn;const Pn=getCurrentInstance(),{prefixCls:In,wave:Nn}=useConfigInject("wave",$n),[,Rn]=useStyle$Q(In),Dn=useWave(Pn,computed(()=>classNames(In.value,Rn.value)),Nn);let Ln;const Fn=()=>{findDOMNode(Pn).removeEventListener("click",Ln,!0)};return onMounted(()=>{watch(()=>$n.disabled,()=>{Fn(),nextTick(()=>{const Bn=findDOMNode(Pn);Bn==null||Bn.removeEventListener("click",Ln,!0),!(!Bn||Bn.nodeType!==1||$n.disabled)&&(Ln=Hn=>{Hn.target.tagName==="INPUT"||!isVisible(Hn.target)||!Bn.getAttribute||Bn.getAttribute("disabled")||Bn.disabled||Bn.className.includes("disabled")||Bn.className.includes("-leave")||Dn()},Bn.addEventListener("click",Ln,!0))})},{immediate:!0,flush:"post"})}),onBeforeUnmount(()=>{Fn()}),()=>{var Bn;return(Bn=_n.default)===null||Bn===void 0?void 0:Bn.call(_n)[0]}}});function convertLegacyProps($n){return $n==="danger"?{danger:!0}:{type:$n}}const buttonProps=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:PropTypes.any,href:String,target:String,title:String,onClick:eventType(),onMousedown:eventType()}),getCollapsedWidth=$n=>{$n&&($n.style.width="0px",$n.style.opacity="0",$n.style.transform="scale(0)")},getRealWidth=$n=>{nextTick(()=>{$n&&($n.style.width=`${$n.scrollWidth}px`,$n.style.opacity="1",$n.style.transform="scale(1)")})},resetStyle=$n=>{$n&&$n.style&&($n.style.width=null,$n.style.opacity=null,$n.style.transform=null)},LoadingIcon=defineComponent({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup($n){return()=>{const{existIcon:Cn,prefixCls:_n,loading:Pn}=$n;if(Cn)return createVNode("span",{class:`${_n}-loading-icon`},[createVNode(LoadingOutlined$1,null,null)]);const In=!!Pn;return createVNode(Transition,{name:`${_n}-loading-icon-motion`,onBeforeEnter:getCollapsedWidth,onEnter:getRealWidth,onAfterEnter:resetStyle,onBeforeLeave:getRealWidth,onLeave:Nn=>{setTimeout(()=>{getCollapsedWidth(Nn)})},onAfterLeave:resetStyle},{default:()=>[In?createVNode("span",{class:`${_n}-loading-icon`},[createVNode(LoadingOutlined$1,null,null)]):null]})}}}),genButtonBorderStyle=($n,Cn)=>({[`> span, > ${$n}`]:{"&:not(:last-child)":{[`&, & > ${$n}`]:{"&:not(:disabled)":{borderInlineEndColor:Cn}}},"&:not(:first-child)":{[`&, & > ${$n}`]:{"&:not(:disabled)":{borderInlineStartColor:Cn}}}}}),genGroupStyle$1=$n=>{const{componentCls:Cn,fontSize:_n,lineWidth:Pn,colorPrimaryHover:In,colorErrorHover:Nn}=$n;return{[`${Cn}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${Cn}`]:{"&:not(:last-child)":{[`&, & > ${Cn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Pn,[`&, & > ${Cn}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[Cn]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${Cn}-icon-only`]:{fontSize:_n}},genButtonBorderStyle(`${Cn}-primary`,In),genButtonBorderStyle(`${Cn}-danger`,Nn)]}},genGroupStyle$2=genGroupStyle$1;function compactItemVerticalBorder($n,Cn){return{[`&-item:not(${Cn}-last-item)`]:{marginBottom:-$n.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function compactItemBorderVerticalRadius($n,Cn){return{[`&-item:not(${Cn}-first-item):not(${Cn}-last-item)`]:{borderRadius:0},[`&-item${Cn}-first-item:not(${Cn}-last-item)`]:{[`&, &${$n}-sm, &${$n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${Cn}-last-item:not(${Cn}-first-item)`]:{[`&, &${$n}-sm, &${$n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function genCompactItemVerticalStyle($n){const Cn=`${$n.componentCls}-compact-vertical`;return{[Cn]:_extends$1(_extends$1({},compactItemVerticalBorder($n,Cn)),compactItemBorderVerticalRadius($n.componentCls,Cn))}}const genSharedButtonStyle=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[Cn]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${$n.lineWidth}px ${$n.lineType} transparent`,cursor:"pointer",transition:`all ${$n.motionDurationMid} ${$n.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:$n.lineHeight,color:$n.colorText,"> span":{display:"inline-block"},[`> ${_n} + span, > span + ${_n}`]:{marginInlineStart:$n.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":_extends$1({},genFocusStyle($n)),[`&-icon-only${Cn}-compact-item`]:{flex:"none"},[`&-compact-item${Cn}-primary`]:{[`&:not([disabled]) + ${Cn}-compact-item${Cn}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-$n.lineWidth,insetInlineStart:-$n.lineWidth,display:"inline-block",width:$n.lineWidth,height:`calc(100% + ${$n.lineWidth*2}px)`,backgroundColor:$n.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${Cn}-primary`]:{[`&:not([disabled]) + ${Cn}-compact-vertical-item${Cn}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-$n.lineWidth,insetInlineStart:-$n.lineWidth,display:"inline-block",width:`calc(100% + ${$n.lineWidth*2}px)`,height:$n.lineWidth,backgroundColor:$n.colorPrimaryHover,content:'""'}}}}}}},genHoverActiveButtonStyle=($n,Cn)=>({"&:not(:disabled)":{"&:hover":$n,"&:active":Cn}}),genCircleButtonStyle=$n=>({minWidth:$n.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),genRoundButtonStyle=$n=>({borderRadius:$n.controlHeight,paddingInlineStart:$n.controlHeight/2,paddingInlineEnd:$n.controlHeight/2}),genDisabledStyle$1=$n=>({cursor:"not-allowed",borderColor:$n.colorBorder,color:$n.colorTextDisabled,backgroundColor:$n.colorBgContainerDisabled,boxShadow:"none"}),genGhostButtonStyle=($n,Cn,_n,Pn,In,Nn,Rn)=>({[`&${$n}-background-ghost`]:_extends$1(_extends$1({color:Cn||void 0,backgroundColor:"transparent",borderColor:_n||void 0,boxShadow:"none"},genHoverActiveButtonStyle(_extends$1({backgroundColor:"transparent"},Nn),_extends$1({backgroundColor:"transparent"},Rn))),{"&:disabled":{cursor:"not-allowed",color:Pn||void 0,borderColor:In||void 0}})}),genSolidDisabledButtonStyle=$n=>({"&:disabled":_extends$1({},genDisabledStyle$1($n))}),genSolidButtonStyle=$n=>_extends$1({},genSolidDisabledButtonStyle($n)),genPureDisabledButtonStyle=$n=>({"&:disabled":{cursor:"not-allowed",color:$n.colorTextDisabled}}),genDefaultButtonStyle=$n=>_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},genSolidButtonStyle($n)),{backgroundColor:$n.colorBgContainer,borderColor:$n.colorBorder,boxShadow:`0 ${$n.controlOutlineWidth}px 0 ${$n.controlTmpOutline}`}),genHoverActiveButtonStyle({color:$n.colorPrimaryHover,borderColor:$n.colorPrimaryHover},{color:$n.colorPrimaryActive,borderColor:$n.colorPrimaryActive})),genGhostButtonStyle($n.componentCls,$n.colorBgContainer,$n.colorBgContainer,$n.colorTextDisabled,$n.colorBorder)),{[`&${$n.componentCls}-dangerous`]:_extends$1(_extends$1(_extends$1({color:$n.colorError,borderColor:$n.colorError},genHoverActiveButtonStyle({color:$n.colorErrorHover,borderColor:$n.colorErrorBorderHover},{color:$n.colorErrorActive,borderColor:$n.colorErrorActive})),genGhostButtonStyle($n.componentCls,$n.colorError,$n.colorError,$n.colorTextDisabled,$n.colorBorder)),genSolidDisabledButtonStyle($n))}),genPrimaryButtonStyle=$n=>_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},genSolidButtonStyle($n)),{color:$n.colorTextLightSolid,backgroundColor:$n.colorPrimary,boxShadow:`0 ${$n.controlOutlineWidth}px 0 ${$n.controlOutline}`}),genHoverActiveButtonStyle({color:$n.colorTextLightSolid,backgroundColor:$n.colorPrimaryHover},{color:$n.colorTextLightSolid,backgroundColor:$n.colorPrimaryActive})),genGhostButtonStyle($n.componentCls,$n.colorPrimary,$n.colorPrimary,$n.colorTextDisabled,$n.colorBorder,{color:$n.colorPrimaryHover,borderColor:$n.colorPrimaryHover},{color:$n.colorPrimaryActive,borderColor:$n.colorPrimaryActive})),{[`&${$n.componentCls}-dangerous`]:_extends$1(_extends$1(_extends$1({backgroundColor:$n.colorError,boxShadow:`0 ${$n.controlOutlineWidth}px 0 ${$n.colorErrorOutline}`},genHoverActiveButtonStyle({backgroundColor:$n.colorErrorHover},{backgroundColor:$n.colorErrorActive})),genGhostButtonStyle($n.componentCls,$n.colorError,$n.colorError,$n.colorTextDisabled,$n.colorBorder,{color:$n.colorErrorHover,borderColor:$n.colorErrorHover},{color:$n.colorErrorActive,borderColor:$n.colorErrorActive})),genSolidDisabledButtonStyle($n))}),genDashedButtonStyle=$n=>_extends$1(_extends$1({},genDefaultButtonStyle($n)),{borderStyle:"dashed"}),genLinkButtonStyle=$n=>_extends$1(_extends$1(_extends$1({color:$n.colorLink},genHoverActiveButtonStyle({color:$n.colorLinkHover},{color:$n.colorLinkActive})),genPureDisabledButtonStyle($n)),{[`&${$n.componentCls}-dangerous`]:_extends$1(_extends$1({color:$n.colorError},genHoverActiveButtonStyle({color:$n.colorErrorHover},{color:$n.colorErrorActive})),genPureDisabledButtonStyle($n))}),genTextButtonStyle=$n=>_extends$1(_extends$1(_extends$1({},genHoverActiveButtonStyle({color:$n.colorText,backgroundColor:$n.colorBgTextHover},{color:$n.colorText,backgroundColor:$n.colorBgTextActive})),genPureDisabledButtonStyle($n)),{[`&${$n.componentCls}-dangerous`]:_extends$1(_extends$1({color:$n.colorError},genPureDisabledButtonStyle($n)),genHoverActiveButtonStyle({color:$n.colorErrorHover,backgroundColor:$n.colorErrorBg},{color:$n.colorErrorHover,backgroundColor:$n.colorErrorBg}))}),genDisabledButtonStyle=$n=>_extends$1(_extends$1({},genDisabledStyle$1($n)),{[`&${$n.componentCls}:hover`]:_extends$1({},genDisabledStyle$1($n))}),genTypeButtonStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-default`]:genDefaultButtonStyle($n),[`${Cn}-primary`]:genPrimaryButtonStyle($n),[`${Cn}-dashed`]:genDashedButtonStyle($n),[`${Cn}-link`]:genLinkButtonStyle($n),[`${Cn}-text`]:genTextButtonStyle($n),[`${Cn}-disabled`]:genDisabledButtonStyle($n)}},genSizeButtonStyle=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:_n,iconCls:Pn,controlHeight:In,fontSize:Nn,lineHeight:Rn,lineWidth:Dn,borderRadius:Ln,buttonPaddingHorizontal:Fn}=$n,Bn=Math.max(0,(In-Nn*Rn)/2-Dn),Hn=Fn-Dn,zn=`${_n}-icon-only`;return[{[`${_n}${Cn}`]:{fontSize:Nn,height:In,padding:`${Bn}px ${Hn}px`,borderRadius:Ln,[`&${zn}`]:{width:In,paddingInlineStart:0,paddingInlineEnd:0,[`&${_n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${_n}-loading`]:{opacity:$n.opacityLoading,cursor:"default"},[`${_n}-loading-icon`]:{transition:`width ${$n.motionDurationSlow} ${$n.motionEaseInOut}, opacity ${$n.motionDurationSlow} ${$n.motionEaseInOut}`},[`&:not(${zn}) ${_n}-loading-icon > ${Pn}`]:{marginInlineEnd:$n.marginXS}}},{[`${_n}${_n}-circle${Cn}`]:genCircleButtonStyle($n)},{[`${_n}${_n}-round${Cn}`]:genRoundButtonStyle($n)}]},genSizeBaseButtonStyle=$n=>genSizeButtonStyle($n),genSizeSmallButtonStyle=$n=>{const Cn=merge$1($n,{controlHeight:$n.controlHeightSM,padding:$n.paddingXS,buttonPaddingHorizontal:8,borderRadius:$n.borderRadiusSM});return genSizeButtonStyle(Cn,`${$n.componentCls}-sm`)},genSizeLargeButtonStyle=$n=>{const Cn=merge$1($n,{controlHeight:$n.controlHeightLG,fontSize:$n.fontSizeLG,borderRadius:$n.borderRadiusLG});return genSizeButtonStyle(Cn,`${$n.componentCls}-lg`)},genBlockButtonStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{[`&${Cn}-block`]:{width:"100%"}}}},useStyle$P=genComponentStyleHook("Button",$n=>{const{controlTmpOutline:Cn,paddingContentHorizontal:_n}=$n,Pn=merge$1($n,{colorOutlineDefault:Cn,buttonPaddingHorizontal:_n});return[genSharedButtonStyle(Pn),genSizeSmallButtonStyle(Pn),genSizeBaseButtonStyle(Pn),genSizeLargeButtonStyle(Pn),genBlockButtonStyle(Pn),genTypeButtonStyle(Pn),genGroupStyle$2(Pn),genCompactItemStyle($n,{focus:!1}),genCompactItemVerticalStyle($n)]}),buttonGroupProps=()=>({prefixCls:String,size:{type:String}}),GroupSizeContext=createContext(),ButtonGroup$1=defineComponent({compatConfig:{MODE:3},name:"AButtonGroup",props:buttonGroupProps(),setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn,direction:In}=useConfigInject("btn-group",$n),[,,Nn]=useToken();GroupSizeContext.useProvide(reactive({size:computed(()=>$n.size)}));const Rn=computed(()=>{const{size:Dn}=$n;let Ln="";switch(Dn){case"large":Ln="lg";break;case"small":Ln="sm";break;case"middle":case void 0:break;default:devWarning(!Dn,"Button.Group","Invalid prop `size`.")}return{[`${Pn.value}`]:!0,[`${Pn.value}-${Ln}`]:Ln,[`${Pn.value}-rtl`]:In.value==="rtl",[Nn.value]:!0}});return()=>{var Dn;return createVNode("div",{class:Rn.value},[flattenChildren((Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n))])}}}),rxTwoCNChar=/^[\u4e00-\u9fa5]{2}$/,isTwoCNChar=rxTwoCNChar.test.bind(rxTwoCNChar);function isUnBorderedButtonType($n){return $n==="text"||$n==="link"}const Button$1=defineComponent({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:initDefaultProps(buttonProps(),{type:"default"}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,emit:In,expose:Nn}=Cn;const{prefixCls:Rn,autoInsertSpaceInButton:Dn,direction:Ln,size:Fn}=useConfigInject("btn",$n),[Bn,Hn]=useStyle$P(Rn),zn=GroupSizeContext.useInject(),Wn=useInjectDisabled(),Yn=computed(()=>{var aa;return(aa=$n.disabled)!==null&&aa!==void 0?aa:Wn.value}),Gn=shallowRef(null),Go=shallowRef(void 0);let Xn=!1;const Yo=shallowRef(!1),qo=shallowRef(!1),Jo=computed(()=>Dn.value!==!1),{compactSize:Zo,compactItemClassnames:rr}=useCompactItemContext(Rn,Ln),nr=computed(()=>typeof $n.loading=="object"&&$n.loading.delay?$n.loading.delay||!0:!!$n.loading);watch(nr,aa=>{clearTimeout(Go.value),typeof nr.value=="number"?Go.value=setTimeout(()=>{Yo.value=aa},nr.value):Yo.value=aa},{immediate:!0});const ta=computed(()=>{const{type:aa,shape:ca="default",ghost:sa,block:ia,danger:fa}=$n,ma=Rn.value,ya={large:"lg",small:"sm",middle:void 0},ba=Zo.value||(zn==null?void 0:zn.size)||Fn.value,Ia=ba&&ya[ba]||"";return[rr.value,{[Hn.value]:!0,[`${ma}`]:!0,[`${ma}-${ca}`]:ca!=="default"&&ca,[`${ma}-${aa}`]:aa,[`${ma}-${Ia}`]:Ia,[`${ma}-loading`]:Yo.value,[`${ma}-background-ghost`]:sa&&!isUnBorderedButtonType(aa),[`${ma}-two-chinese-chars`]:qo.value&&Jo.value,[`${ma}-block`]:ia,[`${ma}-dangerous`]:!!fa,[`${ma}-rtl`]:Ln.value==="rtl"}]}),oa=()=>{const aa=Gn.value;if(!aa||Dn.value===!1)return;const ca=aa.textContent;Xn&&isTwoCNChar(ca)?qo.value||(qo.value=!0):qo.value&&(qo.value=!1)},ra=aa=>{if(Yo.value||Yn.value){aa.preventDefault();return}In("click",aa)},ea=aa=>{In("mousedown",aa)},la=(aa,ca)=>{const sa=ca?" ":"";if(aa.type===Text$2){let ia=aa.children.trim();return isTwoCNChar(ia)&&(ia=ia.split("").join(sa)),createVNode("span",null,[ia])}return aa};return watchEffect(()=>{devWarning(!($n.ghost&&isUnBorderedButtonType($n.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),onMounted(oa),onUpdated(oa),onBeforeUnmount(()=>{Go.value&&clearTimeout(Go.value)}),Nn({focus:()=>{var aa;(aa=Gn.value)===null||aa===void 0||aa.focus()},blur:()=>{var aa;(aa=Gn.value)===null||aa===void 0||aa.blur()}}),()=>{var aa,ca;const{icon:sa=(aa=_n.icon)===null||aa===void 0?void 0:aa.call(_n)}=$n,ia=flattenChildren((ca=_n.default)===null||ca===void 0?void 0:ca.call(_n));Xn=ia.length===1&&!sa&&!isUnBorderedButtonType($n.type);const{type:fa,htmlType:ma,href:ya,title:ba,target:Ia}=$n,Ea=Yo.value?"loading":sa,xa=_extends$1(_extends$1({},Pn),{title:ba,disabled:Yn.value,class:[ta.value,Pn.class,{[`${Rn.value}-icon-only`]:ia.length===0&&!!Ea}],onClick:ra,onMousedown:ea});Yn.value||delete xa.disabled;const Ta=sa&&!Yo.value?sa:createVNode(LoadingIcon,{existIcon:!!sa,prefixCls:Rn.value,loading:!!Yo.value},null),wa=ia.map(Na=>la(Na,Xn&&Jo.value));if(ya!==void 0)return Bn(createVNode("a",_objectSpread2$1(_objectSpread2$1({},xa),{},{href:ya,target:Ia,ref:Gn}),[Ta,wa]));let La=createVNode("button",_objectSpread2$1(_objectSpread2$1({},xa),{},{ref:Gn,type:ma}),[Ta,wa]);if(!isUnBorderedButtonType(fa)){const Na=function(){return La}();La=createVNode(Wave,{ref:"wave",disabled:!!Yo.value},{default:()=>[Na]})}return Bn(La)}}});Button$1.Group=ButtonGroup$1;Button$1.install=function($n){return $n.component(Button$1.name,Button$1),$n.component(ButtonGroup$1.name,ButtonGroup$1),$n};const dropdownProps=()=>({arrow:someType([Boolean,Object]),trigger:{type:[Array,String]},menu:objectType(),overlay:PropTypes.any,visible:booleanType(),open:booleanType(),disabled:booleanType(),danger:booleanType(),autofocus:booleanType(),align:objectType(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:objectType(),forceRender:booleanType(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:booleanType(),destroyPopupOnHide:booleanType(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),buttonTypesProps=buttonProps(),dropdownButtonProps=()=>_extends$1(_extends$1({},dropdownProps()),{type:buttonTypesProps.type,size:String,htmlType:buttonTypesProps.htmlType,href:String,disabled:booleanType(),prefixCls:String,icon:PropTypes.any,title:String,loading:buttonTypesProps.loading,onClick:eventType()});var EllipsisOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const EllipsisOutlinedSvg=EllipsisOutlined$2;function _objectSpread$G($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$G($n,In,_n[In])})}return $n}function _defineProperty$G($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var EllipsisOutlined=function(Cn,_n){var Pn=_objectSpread$G({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$G({},Pn,{icon:EllipsisOutlinedSvg}),null)};EllipsisOutlined.displayName="EllipsisOutlined";EllipsisOutlined.inheritAttrs=!1;const EllipsisOutlined$1=EllipsisOutlined,genButtonStyle=$n=>{const{componentCls:Cn,antCls:_n,paddingXS:Pn,opacityLoading:In}=$n;return{[`${Cn}-button`]:{whiteSpace:"nowrap",[`&${_n}-btn-group > ${_n}-btn`]:{[`&-loading, &-loading + ${_n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:In},[`&:last-child:not(:first-child):not(${_n}-btn-icon-only)`]:{paddingInline:Pn}}}}},genButtonStyle$1=genButtonStyle,genStatusStyle$1=$n=>{const{componentCls:Cn,menuCls:_n,colorError:Pn,colorTextLightSolid:In}=$n,Nn=`${_n}-item`;return{[`${Cn}, ${Cn}-menu-submenu`]:{[`${_n} ${Nn}`]:{[`&${Nn}-danger:not(${Nn}-disabled)`]:{color:Pn,"&:hover":{color:In,backgroundColor:Pn}}}}}},genStatusStyle$2=genStatusStyle$1,genBaseStyle$f=$n=>{const{componentCls:Cn,menuCls:_n,zIndexPopup:Pn,dropdownArrowDistance:In,dropdownArrowOffset:Nn,sizePopupArrow:Rn,antCls:Dn,iconCls:Ln,motionDurationMid:Fn,dropdownPaddingVertical:Bn,fontSize:Hn,dropdownEdgeChildPadding:zn,colorTextDisabled:Wn,fontSizeIcon:Yn,controlPaddingHorizontal:Gn,colorBgElevated:Go,boxShadowPopoverArrow:Xn}=$n;return[{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Pn,display:"block","&::before":{position:"absolute",insetBlock:-In+Rn/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${Cn}-wrap`]:{position:"relative",[`${Dn}-btn > ${Ln}-down`]:{fontSize:Yn},[`${Ln}-down::before`]:{transition:`transform ${Fn}`}},[`${Cn}-wrap-open`]:{[`${Ln}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`
- &-show-arrow${Cn}-placement-topLeft,
- &-show-arrow${Cn}-placement-top,
- &-show-arrow${Cn}-placement-topRight
- `]:{paddingBottom:In},[`
- &-show-arrow${Cn}-placement-bottomLeft,
- &-show-arrow${Cn}-placement-bottom,
- &-show-arrow${Cn}-placement-bottomRight
- `]:{paddingTop:In},[`${Cn}-arrow`]:_extends$1({position:"absolute",zIndex:1,display:"block"},roundedArrow(Rn,$n.borderRadiusXS,$n.borderRadiusOuter,Go,Xn)),[`
- &-placement-top > ${Cn}-arrow,
- &-placement-topLeft > ${Cn}-arrow,
- &-placement-topRight > ${Cn}-arrow
- `]:{bottom:In,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${Cn}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${Cn}-arrow`]:{left:{_skip_check_:!0,value:Nn}},[`&-placement-topRight > ${Cn}-arrow`]:{right:{_skip_check_:!0,value:Nn}},[`
- &-placement-bottom > ${Cn}-arrow,
- &-placement-bottomLeft > ${Cn}-arrow,
- &-placement-bottomRight > ${Cn}-arrow
- `]:{top:In,transform:"translateY(-100%)"},[`&-placement-bottom > ${Cn}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${Cn}-arrow`]:{left:{_skip_check_:!0,value:Nn}},[`&-placement-bottomRight > ${Cn}-arrow`]:{right:{_skip_check_:!0,value:Nn}},[`&${Dn}-slide-down-enter${Dn}-slide-down-enter-active${Cn}-placement-bottomLeft,
- &${Dn}-slide-down-appear${Dn}-slide-down-appear-active${Cn}-placement-bottomLeft,
- &${Dn}-slide-down-enter${Dn}-slide-down-enter-active${Cn}-placement-bottom,
- &${Dn}-slide-down-appear${Dn}-slide-down-appear-active${Cn}-placement-bottom,
- &${Dn}-slide-down-enter${Dn}-slide-down-enter-active${Cn}-placement-bottomRight,
- &${Dn}-slide-down-appear${Dn}-slide-down-appear-active${Cn}-placement-bottomRight`]:{animationName:slideUpIn},[`&${Dn}-slide-up-enter${Dn}-slide-up-enter-active${Cn}-placement-topLeft,
- &${Dn}-slide-up-appear${Dn}-slide-up-appear-active${Cn}-placement-topLeft,
- &${Dn}-slide-up-enter${Dn}-slide-up-enter-active${Cn}-placement-top,
- &${Dn}-slide-up-appear${Dn}-slide-up-appear-active${Cn}-placement-top,
- &${Dn}-slide-up-enter${Dn}-slide-up-enter-active${Cn}-placement-topRight,
- &${Dn}-slide-up-appear${Dn}-slide-up-appear-active${Cn}-placement-topRight`]:{animationName:slideDownIn},[`&${Dn}-slide-down-leave${Dn}-slide-down-leave-active${Cn}-placement-bottomLeft,
- &${Dn}-slide-down-leave${Dn}-slide-down-leave-active${Cn}-placement-bottom,
- &${Dn}-slide-down-leave${Dn}-slide-down-leave-active${Cn}-placement-bottomRight`]:{animationName:slideUpOut},[`&${Dn}-slide-up-leave${Dn}-slide-up-leave-active${Cn}-placement-topLeft,
- &${Dn}-slide-up-leave${Dn}-slide-up-leave-active${Cn}-placement-top,
- &${Dn}-slide-up-leave${Dn}-slide-up-leave-active${Cn}-placement-topRight`]:{animationName:slideDownOut}})},{[`${Cn} ${_n}`]:{position:"relative",margin:0},[`${_n}-submenu-popup`]:{position:"absolute",zIndex:Pn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${Cn}, ${Cn}-menu-submenu`]:{[_n]:_extends$1(_extends$1({padding:zn,listStyleType:"none",backgroundColor:Go,backgroundClip:"padding-box",borderRadius:$n.borderRadiusLG,outline:"none",boxShadow:$n.boxShadowSecondary},genFocusStyle($n)),{[`${_n}-item-group-title`]:{padding:`${Bn}px ${Gn}px`,color:$n.colorTextDescription,transition:`all ${Fn}`},[`${_n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:$n.borderRadiusSM},[`${_n}-item-icon`]:{minWidth:Hn,marginInlineEnd:$n.marginXS,fontSize:$n.fontSizeSM},[`${_n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Fn}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${_n}-item, ${_n}-submenu-title`]:_extends$1(_extends$1({clear:"both",margin:0,padding:`${Bn}px ${Gn}px`,color:$n.colorText,fontWeight:"normal",fontSize:Hn,lineHeight:$n.lineHeight,cursor:"pointer",transition:`all ${Fn}`,"&:hover, &-active":{backgroundColor:$n.controlItemBgHover}},genFocusStyle($n)),{"&-selected":{color:$n.colorPrimary,backgroundColor:$n.controlItemBgActive,"&:hover, &-active":{backgroundColor:$n.controlItemBgActiveHover}},"&-disabled":{color:Wn,cursor:"not-allowed","&:hover":{color:Wn,backgroundColor:Go,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${$n.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:$n.colorSplit},[`${Cn}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:$n.paddingXS,[`${Cn}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:$n.colorTextDescription,fontSize:Yn,fontStyle:"normal"}}}),[`${_n}-item-group-list`]:{margin:`0 ${$n.marginXS}px`,padding:0,listStyle:"none"},[`${_n}-submenu-title`]:{paddingInlineEnd:Gn+$n.fontSizeSM},[`${_n}-submenu-vertical`]:{position:"relative"},[`${_n}-submenu${_n}-submenu-disabled ${Cn}-menu-submenu-title`]:{[`&, ${Cn}-menu-submenu-arrow-icon`]:{color:Wn,backgroundColor:Go,cursor:"not-allowed"}},[`${_n}-submenu-selected ${Cn}-menu-submenu-title`]:{color:$n.colorPrimary}})}},[initSlideMotion($n,"slide-up"),initSlideMotion($n,"slide-down"),initMoveMotion($n,"move-up"),initMoveMotion($n,"move-down"),initZoomMotion($n,"zoom-big")]]},useStyle$O=genComponentStyleHook("Dropdown",($n,Cn)=>{let{rootPrefixCls:_n}=Cn;const{marginXXS:Pn,sizePopupArrow:In,controlHeight:Nn,fontSize:Rn,lineHeight:Dn,paddingXXS:Ln,componentCls:Fn,borderRadiusOuter:Bn,borderRadiusLG:Hn}=$n,zn=(Nn-Rn*Dn)/2,{dropdownArrowOffset:Wn}=getArrowOffset({sizePopupArrow:In,contentRadius:Hn,borderRadiusOuter:Bn}),Yn=merge$1($n,{menuCls:`${Fn}-menu`,rootPrefixCls:_n,dropdownArrowDistance:In/2+Pn,dropdownArrowOffset:Wn,dropdownPaddingVertical:zn,dropdownEdgeChildPadding:Ln});return[genBaseStyle$f(Yn),genButtonStyle$1(Yn),genStatusStyle$2(Yn)]},$n=>({zIndexPopup:$n.zIndexPopupBase+50}));var __rest$11=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const ButtonGroup=Button$1.Group,DropdownButton=defineComponent({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:initDefaultProps(dropdownButtonProps(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;const Nn=zn=>{In("update:visible",zn),In("visibleChange",zn),In("update:open",zn),In("openChange",zn)},{prefixCls:Rn,direction:Dn,getPopupContainer:Ln}=useConfigInject("dropdown",$n),Fn=computed(()=>`${Rn.value}-button`),[Bn,Hn]=useStyle$O(Rn);return()=>{var zn,Wn;const Yn=_extends$1(_extends$1({},$n),Pn),{type:Gn="default",disabled:Go,danger:Xn,loading:Yo,htmlType:qo,class:Jo="",overlay:Zo=(zn=_n.overlay)===null||zn===void 0?void 0:zn.call(_n),trigger:rr,align:nr,open:ta,visible:oa,onVisibleChange:ra,placement:ea=Dn.value==="rtl"?"bottomLeft":"bottomRight",href:la,title:ua,icon:ga=((Wn=_n.icon)===null||Wn===void 0?void 0:Wn.call(_n))||createVNode(EllipsisOutlined$1,null,null),mouseEnterDelay:aa,mouseLeaveDelay:ca,overlayClassName:sa,overlayStyle:ia,destroyPopupOnHide:fa,onClick:ma,"onUpdate:open":ya}=Yn,ba=__rest$11(Yn,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),Ia={align:nr,disabled:Go,trigger:Go?[]:rr,placement:ea,getPopupContainer:Ln==null?void 0:Ln.value,onOpenChange:Nn,mouseEnterDelay:aa,mouseLeaveDelay:ca,open:ta??oa,overlayClassName:sa,overlayStyle:ia,destroyPopupOnHide:fa},Ea=createVNode(Button$1,{danger:Xn,type:Gn,disabled:Go,loading:Yo,onClick:ma,htmlType:qo,href:la,title:ua},{default:_n.default}),xa=createVNode(Button$1,{danger:Xn,type:Gn,icon:ga},null);return Bn(createVNode(ButtonGroup,_objectSpread2$1(_objectSpread2$1({},ba),{},{class:classNames(Fn.value,Jo,Hn.value)}),{default:()=>[_n.leftButton?_n.leftButton({button:Ea}):Ea,createVNode(Dropdown$1,Ia,{default:()=>[_n.rightButton?_n.rightButton({button:xa}):xa],overlay:()=>Zo})]}))}}});var RightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const RightOutlinedSvg=RightOutlined$2;function _objectSpread$F($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$F($n,In,_n[In])})}return $n}function _defineProperty$F($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var RightOutlined=function(Cn,_n){var Pn=_objectSpread$F({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$F({},Pn,{icon:RightOutlinedSvg}),null)};RightOutlined.displayName="RightOutlined";RightOutlined.inheritAttrs=!1;const RightOutlined$1=RightOutlined,OverrideContextKey=Symbol("OverrideContextKey"),useInjectOverride=()=>inject(OverrideContextKey,void 0),useProvideOverride=$n=>{var Cn,_n,Pn;const{prefixCls:In,mode:Nn,selectable:Rn,validator:Dn,onClick:Ln,expandIcon:Fn}=useInjectOverride()||{};provide(OverrideContextKey,{prefixCls:computed(()=>{var Bn,Hn;return(Hn=(Bn=$n.prefixCls)===null||Bn===void 0?void 0:Bn.value)!==null&&Hn!==void 0?Hn:In==null?void 0:In.value}),mode:computed(()=>{var Bn,Hn;return(Hn=(Bn=$n.mode)===null||Bn===void 0?void 0:Bn.value)!==null&&Hn!==void 0?Hn:Nn==null?void 0:Nn.value}),selectable:computed(()=>{var Bn,Hn;return(Hn=(Bn=$n.selectable)===null||Bn===void 0?void 0:Bn.value)!==null&&Hn!==void 0?Hn:Rn==null?void 0:Rn.value}),validator:(Cn=$n.validator)!==null&&Cn!==void 0?Cn:Dn,onClick:(_n=$n.onClick)!==null&&_n!==void 0?_n:Ln,expandIcon:(Pn=$n.expandIcon)!==null&&Pn!==void 0?Pn:Fn==null?void 0:Fn.value})},Dropdown=defineComponent({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:initDefaultProps(dropdownProps(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;const{prefixCls:Nn,rootPrefixCls:Rn,direction:Dn,getPopupContainer:Ln}=useConfigInject("dropdown",$n),[Fn,Bn]=useStyle$O(Nn),Hn=computed(()=>{const{placement:Go="",transitionName:Xn}=$n;return Xn!==void 0?Xn:Go.includes("top")?`${Rn.value}-slide-down`:`${Rn.value}-slide-up`});useProvideOverride({prefixCls:computed(()=>`${Nn.value}-menu`),expandIcon:computed(()=>createVNode("span",{class:`${Nn.value}-menu-submenu-arrow`},[createVNode(RightOutlined$1,{class:`${Nn.value}-menu-submenu-arrow-icon`},null)])),mode:computed(()=>"vertical"),selectable:computed(()=>!1),onClick:()=>{},validator:Go=>{warning$3()}});const zn=()=>{var Go,Xn,Yo;const qo=$n.overlay||((Go=_n.overlay)===null||Go===void 0?void 0:Go.call(_n)),Jo=Array.isArray(qo)?qo[0]:qo;if(!Jo)return null;const Zo=Jo.props||{};devWarning(!Zo.mode||Zo.mode==="vertical","Dropdown",`mode="${Zo.mode}" is not supported for Dropdown's Menu.`);const{selectable:rr=!1,expandIcon:nr=(Yo=(Xn=Jo.children)===null||Xn===void 0?void 0:Xn.expandIcon)===null||Yo===void 0?void 0:Yo.call(Xn)}=Zo,ta=typeof nr<"u"&&isValidElement(nr)?nr:createVNode("span",{class:`${Nn.value}-menu-submenu-arrow`},[createVNode(RightOutlined$1,{class:`${Nn.value}-menu-submenu-arrow-icon`},null)]);return isValidElement(Jo)?cloneElement(Jo,{mode:"vertical",selectable:rr,expandIcon:()=>ta}):Jo},Wn=computed(()=>{const Go=$n.placement;if(!Go)return Dn.value==="rtl"?"bottomRight":"bottomLeft";if(Go.includes("Center")){const Xn=Go.slice(0,Go.indexOf("Center"));return devWarning(!Go.includes("Center"),"Dropdown",`You are using '${Go}' placement in Dropdown, which is deprecated. Try to use '${Xn}' instead.`),Xn}return Go}),Yn=computed(()=>typeof $n.visible=="boolean"?$n.visible:$n.open),Gn=Go=>{In("update:visible",Go),In("visibleChange",Go),In("update:open",Go),In("openChange",Go)};return()=>{var Go,Xn;const{arrow:Yo,trigger:qo,disabled:Jo,overlayClassName:Zo}=$n,rr=(Go=_n.default)===null||Go===void 0?void 0:Go.call(_n)[0],nr=cloneElement(rr,_extends$1({class:classNames((Xn=rr==null?void 0:rr.props)===null||Xn===void 0?void 0:Xn.class,{[`${Nn.value}-rtl`]:Dn.value==="rtl"},`${Nn.value}-trigger`)},Jo?{disabled:Jo}:{})),ta=classNames(Zo,Bn.value,{[`${Nn.value}-rtl`]:Dn.value==="rtl"}),oa=Jo?[]:qo;let ra;oa&&oa.includes("contextmenu")&&(ra=!0);const ea=getPlacements$1({arrowPointAtCenter:typeof Yo=="object"&&Yo.pointAtCenter,autoAdjustOverflow:!0}),la=omit$1(_extends$1(_extends$1(_extends$1({},$n),Pn),{visible:Yn.value,builtinPlacements:ea,overlayClassName:ta,arrow:!!Yo,alignPoint:ra,prefixCls:Nn.value,getPopupContainer:Ln==null?void 0:Ln.value,transitionName:Hn.value,trigger:oa,onVisibleChange:Gn,placement:Wn.value}),["overlay","onUpdate:visible"]);return Fn(createVNode(Dropdown$2,la,{default:()=>[nr],overlay:zn}))}}});Dropdown.Button=DropdownButton;const Dropdown$1=Dropdown;var __rest$10=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const breadcrumbItemProps=()=>({prefixCls:String,href:String,separator:PropTypes.any,dropdownProps:objectType(),overlay:PropTypes.any,onClick:eventType()}),BreadcrumbItem=defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:breadcrumbItemProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;const{prefixCls:Nn}=useConfigInject("breadcrumb",$n),Rn=(Ln,Fn)=>{const Bn=getPropsSlot(_n,$n,"overlay");return Bn?createVNode(Dropdown$1,_objectSpread2$1(_objectSpread2$1({},$n.dropdownProps),{},{overlay:Bn,placement:"bottom"}),{default:()=>[createVNode("span",{class:`${Fn}-overlay-link`},[Ln,createVNode(DownOutlined$1,null,null)])]}):Ln},Dn=Ln=>{In("click",Ln)};return()=>{var Ln;const Fn=(Ln=getPropsSlot(_n,$n,"separator"))!==null&&Ln!==void 0?Ln:"/",Bn=getPropsSlot(_n,$n),{class:Hn,style:zn}=Pn,Wn=__rest$10(Pn,["class","style"]);let Yn;return $n.href!==void 0?Yn=createVNode("a",_objectSpread2$1({class:`${Nn.value}-link`,onClick:Dn},Wn),[Bn]):Yn=createVNode("span",_objectSpread2$1({class:`${Nn.value}-link`,onClick:Dn},Wn),[Bn]),Yn=Rn(Yn,Nn.value),Bn!=null?createVNode("li",{class:Hn,style:zn},[Yn,Fn&&createVNode("span",{class:`${Nn.value}-separator`},[Fn])]):null}}});function shallowEqual($n,Cn,_n,Pn){let In=_n?_n.call(Pn,$n,Cn):void 0;if(In!==void 0)return!!In;if($n===Cn)return!0;if(typeof $n!="object"||!$n||typeof Cn!="object"||!Cn)return!1;const Nn=Object.keys($n),Rn=Object.keys(Cn);if(Nn.length!==Rn.length)return!1;const Dn=Object.prototype.hasOwnProperty.bind(Cn);for(let Ln=0;Ln<Nn.length;Ln++){const Fn=Nn[Ln];if(!Dn(Fn))return!1;const Bn=$n[Fn],Hn=Cn[Fn];if(In=_n?_n.call(Pn,Bn,Hn,Fn):void 0,In===!1||In===void 0&&Bn!==Hn)return!1}return!0}function shallowequal($n,Cn){return shallowEqual(toRaw($n),toRaw(Cn))}const MenuContextKey=Symbol("menuContextKey"),useProvideMenu=$n=>{provide(MenuContextKey,$n)},useInjectMenu=()=>inject(MenuContextKey),ForceRenderKey=Symbol("ForceRenderKey"),useProvideForceRender=$n=>{provide(ForceRenderKey,$n)},useInjectForceRender=()=>inject(ForceRenderKey,!1),MenuFirstLevelContextKey=Symbol("menuFirstLevelContextKey"),useProvideFirstLevel=$n=>{provide(MenuFirstLevelContextKey,$n)},useInjectFirstLevel=()=>inject(MenuFirstLevelContextKey,!0),MenuContextProvider=defineComponent({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectMenu(),In=_extends$1({},Pn);return $n.mode!==void 0&&(In.mode=toRef($n,"mode")),$n.overflowDisabled!==void 0&&(In.overflowDisabled=toRef($n,"overflowDisabled")),useProvideMenu(In),()=>{var Nn;return(Nn=_n.default)===null||Nn===void 0?void 0:Nn.call(_n)}}}),useProvideMenu$1=useProvideMenu,SiderCollapsedKey=Symbol("siderCollapsed"),SiderHookProviderKey=Symbol("siderHookProvider"),OVERFLOW_KEY="$$__vc-menu-more__key",KeyPathContext=Symbol("KeyPathContext"),useInjectKeyPath=()=>inject(KeyPathContext,{parentEventKeys:computed(()=>[]),parentKeys:computed(()=>[]),parentInfo:{}}),useProvideKeyPath=($n,Cn,_n)=>{const{parentEventKeys:Pn,parentKeys:In}=useInjectKeyPath(),Nn=computed(()=>[...Pn.value,$n]),Rn=computed(()=>[...In.value,Cn]);return provide(KeyPathContext,{parentEventKeys:Nn,parentKeys:Rn,parentInfo:_n}),Rn},measure$1=Symbol("measure"),PathContext=defineComponent({compatConfig:{MODE:3},setup($n,Cn){let{slots:_n}=Cn;return provide(measure$1,!0),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),useMeasure=()=>inject(measure$1,!1),useProvideKeyPath$1=useProvideKeyPath;function useDirectionStyle($n){const{mode:Cn,rtl:_n,inlineIndent:Pn}=useInjectMenu();return computed(()=>Cn.value!=="inline"?null:_n.value?{paddingRight:`${$n.value*Pn.value}px`}:{paddingLeft:`${$n.value*Pn.value}px`})}let indexGuid$3=0;const menuItemProps=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:PropTypes.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:objectType()}),MenuItem$1=defineComponent({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:menuItemProps(),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const Nn=getCurrentInstance(),Rn=useMeasure(),Dn=typeof Nn.vnode.key=="symbol"?String(Nn.vnode.key):Nn.vnode.key;devWarning(typeof Nn.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(Dn)}"\` not support Symbol type`);const Ln=`menu_item_${++indexGuid$3}_$$_${Dn}`,{parentEventKeys:Fn,parentKeys:Bn}=useInjectKeyPath(),{prefixCls:Hn,activeKeys:zn,disabled:Wn,changeActiveKeys:Yn,rtl:Gn,inlineCollapsed:Go,siderCollapsed:Xn,onItemClick:Yo,selectedKeys:qo,registerMenuInfo:Jo,unRegisterMenuInfo:Zo}=useInjectMenu(),rr=useInjectFirstLevel(),nr=shallowRef(!1),ta=computed(()=>[...Bn.value,Dn]);Jo(Ln,{eventKey:Ln,key:Dn,parentEventKeys:Fn,parentKeys:Bn,isLeaf:!0}),onBeforeUnmount(()=>{Zo(Ln)}),watch(zn,()=>{nr.value=!!zn.value.find(ya=>ya===Dn)},{immediate:!0});const ra=computed(()=>Wn.value||$n.disabled),ea=computed(()=>qo.value.includes(Dn)),la=computed(()=>{const ya=`${Hn.value}-item`;return{[`${ya}`]:!0,[`${ya}-danger`]:$n.danger,[`${ya}-active`]:nr.value,[`${ya}-selected`]:ea.value,[`${ya}-disabled`]:ra.value}}),ua=ya=>({key:Dn,eventKey:Ln,keyPath:ta.value,eventKeyPath:[...Fn.value,Ln],domEvent:ya,item:_extends$1(_extends$1({},$n),In)}),ga=ya=>{if(ra.value)return;const ba=ua(ya);Pn("click",ya),Yo(ba)},aa=ya=>{ra.value||(Yn(ta.value),Pn("mouseenter",ya))},ca=ya=>{ra.value||(Yn([]),Pn("mouseleave",ya))},sa=ya=>{if(Pn("keydown",ya),ya.which===KeyCode$1.ENTER){const ba=ua(ya);Pn("click",ya),Yo(ba)}},ia=ya=>{Yn(ta.value),Pn("focus",ya)},fa=(ya,ba)=>{const Ia=createVNode("span",{class:`${Hn.value}-title-content`},[ba]);return(!ya||isValidElement(ba)&&ba.type==="span")&&ba&&Go.value&&rr&&typeof ba=="string"?createVNode("div",{class:`${Hn.value}-inline-collapsed-noicon`},[ba.charAt(0)]):Ia},ma=useDirectionStyle(computed(()=>ta.value.length));return()=>{var ya,ba,Ia,Ea,xa;if(Rn)return null;const Ta=(ya=$n.title)!==null&&ya!==void 0?ya:(ba=_n.title)===null||ba===void 0?void 0:ba.call(_n),wa=flattenChildren((Ia=_n.default)===null||Ia===void 0?void 0:Ia.call(_n)),La=wa.length;let Na=Ta;typeof Ta>"u"?Na=rr&&La?wa:"":Ta===!1&&(Na="");const $a={title:Na};!Xn.value&&!Go.value&&($a.title=null,$a.open=!1);const ka={};$n.role==="option"&&(ka["aria-selected"]=ea.value);const Ha=(Ea=$n.icon)!==null&&Ea!==void 0?Ea:(xa=_n.icon)===null||xa===void 0?void 0:xa.call(_n,$n);return createVNode(Tooltip,_objectSpread2$1(_objectSpread2$1({},$a),{},{placement:Gn.value?"left":"right",overlayClassName:`${Hn.value}-inline-collapsed-tooltip`}),{default:()=>[createVNode(Overflow$1.Item,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({component:"li"},In),{},{id:$n.id,style:_extends$1(_extends$1({},In.style||{}),ma.value),class:[la.value,{[`${In.class}`]:!!In.class,[`${Hn.value}-item-only-child`]:(Ha?La+1:La)===1}],role:$n.role||"menuitem",tabindex:$n.disabled?null:-1,"data-menu-id":Dn,"aria-disabled":$n.disabled},ka),{},{onMouseenter:aa,onMouseleave:ca,onClick:ga,onKeydown:sa,onFocus:ia,title:typeof Ta=="string"?Ta:void 0}),{default:()=>[cloneElement(typeof Ha=="function"?Ha($n.originItemValue):Ha,{class:`${Hn.value}-item-icon`},!1),fa(Ha,wa)]})]})}}}),autoAdjustOverflow={adjustX:1,adjustY:1},placements$1={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflow,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflow,offset:[4,0]}},placementsRtl={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:autoAdjustOverflow,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:autoAdjustOverflow,offset:[4,0]}},popupPlacementMap={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},PopupTrigger=defineComponent({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup($n,Cn){let{slots:_n,emit:Pn}=Cn;const In=shallowRef(!1),{getPopupContainer:Nn,rtl:Rn,subMenuOpenDelay:Dn,subMenuCloseDelay:Ln,builtinPlacements:Fn,triggerSubMenuAction:Bn,forceSubMenuRender:Hn,motion:zn,defaultMotions:Wn,rootClassName:Yn}=useInjectMenu(),Gn=useInjectForceRender(),Go=computed(()=>Rn.value?_extends$1(_extends$1({},placementsRtl),Fn.value):_extends$1(_extends$1({},placements$1),Fn.value)),Xn=computed(()=>popupPlacementMap[$n.mode]),Yo=shallowRef();watch(()=>$n.visible,Zo=>{wrapperRaf.cancel(Yo.value),Yo.value=wrapperRaf(()=>{In.value=Zo})},{immediate:!0}),onBeforeUnmount(()=>{wrapperRaf.cancel(Yo.value)});const qo=Zo=>{Pn("visibleChange",Zo)},Jo=computed(()=>{var Zo,rr;const nr=zn.value||((Zo=Wn.value)===null||Zo===void 0?void 0:Zo[$n.mode])||((rr=Wn.value)===null||rr===void 0?void 0:rr.other),ta=typeof nr=="function"?nr():nr;return ta?getTransitionProps(ta.name,{css:!0}):void 0});return()=>{const{prefixCls:Zo,popupClassName:rr,mode:nr,popupOffset:ta,disabled:oa}=$n;return createVNode(Trigger,{prefixCls:Zo,popupClassName:classNames(`${Zo}-popup`,{[`${Zo}-rtl`]:Rn.value},rr,Yn.value),stretch:nr==="horizontal"?"minWidth":null,getPopupContainer:Nn.value,builtinPlacements:Go.value,popupPlacement:Xn.value,popupVisible:In.value,popupAlign:ta&&{offset:ta},action:oa?[]:[Bn.value],mouseEnterDelay:Dn.value,mouseLeaveDelay:Ln.value,onPopupVisibleChange:qo,forceRender:Gn||Hn.value,popupAnimation:Jo.value},{popup:_n.popup,default:_n.default})}}}),InternalSubMenuList=($n,Cn)=>{let{slots:_n,attrs:Pn}=Cn;var In;const{prefixCls:Nn,mode:Rn}=useInjectMenu();return createVNode("ul",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:classNames(Nn.value,`${Nn.value}-sub`,`${Nn.value}-${Rn.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(In=_n.default)===null||In===void 0?void 0:In.call(_n)])};InternalSubMenuList.displayName="SubMenuList";const SubMenuList=InternalSubMenuList,InlineSubMenuList=defineComponent({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup($n,Cn){let{slots:_n}=Cn;const Pn=computed(()=>"inline"),{motion:In,mode:Nn,defaultMotions:Rn}=useInjectMenu(),Dn=computed(()=>Nn.value===Pn.value),Ln=ref(!Dn.value),Fn=computed(()=>Dn.value?$n.open:!1);watch(Nn,()=>{Dn.value&&(Ln.value=!1)},{flush:"post"});const Bn=computed(()=>{var Hn,zn;const Wn=In.value||((Hn=Rn.value)===null||Hn===void 0?void 0:Hn[Pn.value])||((zn=Rn.value)===null||zn===void 0?void 0:zn.other),Yn=typeof Wn=="function"?Wn():Wn;return _extends$1(_extends$1({},Yn),{appear:$n.keyPath.length<=1})});return()=>{var Hn;return Ln.value?null:createVNode(MenuContextProvider,{mode:Pn.value},{default:()=>[createVNode(Transition,Bn.value,{default:()=>[withDirectives(createVNode(SubMenuList,{id:$n.id},{default:()=>[(Hn=_n.default)===null||Hn===void 0?void 0:Hn.call(_n)]}),[[vShow,Fn.value]])]})]})}}});let indexGuid$2=0;const subMenuProps=()=>({icon:PropTypes.any,title:PropTypes.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:objectType()}),SubMenu$1=defineComponent({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:subMenuProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;var Nn,Rn;useProvideFirstLevel(!1);const Dn=useMeasure(),Ln=getCurrentInstance(),Fn=typeof Ln.vnode.key=="symbol"?String(Ln.vnode.key):Ln.vnode.key;devWarning(typeof Ln.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(Fn)}"\` not support Symbol type`);const Bn=isValid$2(Fn)?Fn:`sub_menu_${++indexGuid$2}_$$_not_set_key`,Hn=(Nn=$n.eventKey)!==null&&Nn!==void 0?Nn:isValid$2(Fn)?`sub_menu_${++indexGuid$2}_$$_${Fn}`:Bn,{parentEventKeys:zn,parentInfo:Wn,parentKeys:Yn}=useInjectKeyPath(),Gn=computed(()=>[...Yn.value,Bn]),Go=shallowRef([]),Xn={eventKey:Hn,key:Bn,parentEventKeys:zn,childrenEventKeys:Go,parentKeys:Yn};(Rn=Wn.childrenEventKeys)===null||Rn===void 0||Rn.value.push(Hn),onBeforeUnmount(()=>{var za;Wn.childrenEventKeys&&(Wn.childrenEventKeys.value=(za=Wn.childrenEventKeys)===null||za===void 0?void 0:za.value.filter(Wa=>Wa!=Hn))}),useProvideKeyPath$1(Hn,Bn,Xn);const{prefixCls:Yo,activeKeys:qo,disabled:Jo,changeActiveKeys:Zo,mode:rr,inlineCollapsed:nr,openKeys:ta,overflowDisabled:oa,onOpenChange:ra,registerMenuInfo:ea,unRegisterMenuInfo:la,selectedSubMenuKeys:ua,expandIcon:ga,theme:aa}=useInjectMenu(),ca=Fn!=null,sa=!Dn&&(useInjectForceRender()||!ca);useProvideForceRender(sa),(Dn&&ca||!Dn&&!ca||sa)&&(ea(Hn,Xn),onBeforeUnmount(()=>{la(Hn)}));const ia=computed(()=>`${Yo.value}-submenu`),fa=computed(()=>Jo.value||$n.disabled),ma=shallowRef(),ya=shallowRef(),ba=computed(()=>ta.value.includes(Bn)),Ia=computed(()=>!oa.value&&ba.value),Ea=computed(()=>ua.value.includes(Bn)),xa=shallowRef(!1);watch(qo,()=>{xa.value=!!qo.value.find(za=>za===Bn)},{immediate:!0});const Ta=za=>{fa.value||(In("titleClick",za,Bn),rr.value==="inline"&&ra(Bn,!ba.value))},wa=za=>{fa.value||(Zo(Gn.value),In("mouseenter",za))},La=za=>{fa.value||(Zo([]),In("mouseleave",za))},Na=useDirectionStyle(computed(()=>Gn.value.length)),$a=za=>{rr.value!=="inline"&&ra(Bn,za)},ka=()=>{Zo(Gn.value)},Ha=Hn&&`${Hn}-popup`,da=computed(()=>classNames(Yo.value,`${Yo.value}-${$n.theme||aa.value}`,$n.popupClassName)),pa=(za,Wa)=>{if(!Wa)return nr.value&&!Yn.value.length&&za&&typeof za=="string"?createVNode("div",{class:`${Yo.value}-inline-collapsed-noicon`},[za.charAt(0)]):createVNode("span",{class:`${Yo.value}-title-content`},[za]);const Ya=isValidElement(za)&&za.type==="span";return createVNode(Fragment,null,[cloneElement(typeof Wa=="function"?Wa($n.originItemValue):Wa,{class:`${Yo.value}-item-icon`},!1),Ya?za:createVNode("span",{class:`${Yo.value}-title-content`},[za])])},Sa=computed(()=>rr.value!=="inline"&&Gn.value.length>1?"vertical":rr.value),Aa=computed(()=>rr.value==="horizontal"?"vertical":rr.value),Ra=computed(()=>Sa.value==="horizontal"?"vertical":Sa.value),Fa=()=>{var za,Wa;const Ya=ia.value,ja=(za=$n.icon)!==null&&za!==void 0?za:(Wa=_n.icon)===null||Wa===void 0?void 0:Wa.call(_n,$n),qa=$n.expandIcon||_n.expandIcon||ga.value,Xa=pa(getPropsSlot(_n,$n,"title"),ja);return createVNode("div",{style:Na.value,class:`${Ya}-title`,tabindex:fa.value?null:-1,ref:ma,title:typeof Xa=="string"?Xa:null,"data-menu-id":Bn,"aria-expanded":Ia.value,"aria-haspopup":!0,"aria-controls":Ha,"aria-disabled":fa.value,onClick:Ta,onFocus:ka},[Xa,rr.value!=="horizontal"&&qa?qa(_extends$1(_extends$1({},$n),{isOpen:Ia.value})):createVNode("i",{class:`${Ya}-arrow`},null)])};return()=>{var za;if(Dn)return ca?(za=_n.default)===null||za===void 0?void 0:za.call(_n):null;const Wa=ia.value;let Ya=()=>null;if(!oa.value&&rr.value!=="inline"){const ja=rr.value==="horizontal"?[0,8]:[10,0];Ya=()=>createVNode(PopupTrigger,{mode:Sa.value,prefixCls:Wa,visible:!$n.internalPopupClose&&Ia.value,popupClassName:da.value,popupOffset:$n.popupOffset||ja,disabled:fa.value,onVisibleChange:$a},{default:()=>[Fa()],popup:()=>createVNode(MenuContextProvider,{mode:Ra.value},{default:()=>[createVNode(SubMenuList,{id:Ha,ref:ya},{default:_n.default})]})})}else Ya=()=>createVNode(PopupTrigger,null,{default:Fa});return createVNode(MenuContextProvider,{mode:Aa.value},{default:()=>[createVNode(Overflow$1.Item,_objectSpread2$1(_objectSpread2$1({component:"li"},Pn),{},{role:"none",class:classNames(Wa,`${Wa}-${rr.value}`,Pn.class,{[`${Wa}-open`]:Ia.value,[`${Wa}-active`]:xa.value,[`${Wa}-selected`]:Ea.value,[`${Wa}-disabled`]:fa.value}),onMouseenter:wa,onMouseleave:La,"data-submenu-id":Bn}),{default:()=>createVNode(Fragment,null,[Ya(),!oa.value&&createVNode(InlineSubMenuList,{id:Ha,open:Ia.value,keyPath:Gn.value},{default:_n.default})])})]})}}});function hasClass($n,Cn){return $n.classList?$n.classList.contains(Cn):` ${$n.className} `.indexOf(` ${Cn} `)>-1}function addClass($n,Cn){$n.classList?$n.classList.add(Cn):hasClass($n,Cn)||($n.className=`${$n.className} ${Cn}`)}function removeClass($n,Cn){if($n.classList)$n.classList.remove(Cn);else if(hasClass($n,Cn)){const _n=$n.className;$n.className=` ${_n} `.replace(` ${Cn} `," ")}}const collapseMotion=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:$n,appear:Cn,css:!0,onBeforeEnter:_n=>{_n.style.height="0px",_n.style.opacity="0",addClass(_n,$n)},onEnter:_n=>{nextTick(()=>{_n.style.height=`${_n.scrollHeight}px`,_n.style.opacity="1"})},onAfterEnter:_n=>{_n&&(removeClass(_n,$n),_n.style.height=null,_n.style.opacity=null)},onBeforeLeave:_n=>{addClass(_n,$n),_n.style.height=`${_n.offsetHeight}px`,_n.style.opacity=null},onLeave:_n=>{setTimeout(()=>{_n.style.height="0px",_n.style.opacity="0"})},onAfterLeave:_n=>{_n&&(removeClass(_n,$n),_n.style&&(_n.style.height=null,_n.style.opacity=null))}}},collapseMotion$1=collapseMotion,menuItemGroupProps=()=>({title:PropTypes.any,originItemValue:objectType()}),ItemGroup=defineComponent({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:menuItemGroupProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In}=useInjectMenu(),Nn=computed(()=>`${In.value}-item-group`),Rn=useMeasure();return()=>{var Dn,Ln;return Rn?(Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n):createVNode("li",_objectSpread2$1(_objectSpread2$1({},Pn),{},{onClick:Fn=>Fn.stopPropagation(),class:Nn.value}),[createVNode("div",{title:typeof $n.title=="string"?$n.title:void 0,class:`${Nn.value}-title`},[getPropsSlot(_n,$n,"title")]),createVNode("ul",{class:`${Nn.value}-list`},[(Ln=_n.default)===null||Ln===void 0?void 0:Ln.call(_n)])])}}}),menuDividerProps=()=>({prefixCls:String,dashed:Boolean}),Divider$1=defineComponent({compatConfig:{MODE:3},name:"AMenuDivider",props:menuDividerProps(),setup($n){const{prefixCls:Cn}=useInjectMenu(),_n=computed(()=>({[`${Cn.value}-item-divider`]:!0,[`${Cn.value}-item-divider-dashed`]:!!$n.dashed}));return()=>createVNode("li",{class:_n.value},null)}});var __rest$$=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function convertItemsToNodes($n,Cn,_n){return($n||[]).map((Pn,In)=>{if(Pn&&typeof Pn=="object"){const Nn=Pn,{label:Rn,children:Dn,key:Ln,type:Fn}=Nn,Bn=__rest$$(Nn,["label","children","key","type"]),Hn=Ln??`tmp-${In}`,zn=_n?_n.parentKeys.slice():[],Wn=[],Yn={eventKey:Hn,key:Hn,parentEventKeys:ref(zn),parentKeys:ref(zn),childrenEventKeys:ref(Wn),isLeaf:!1};if(Dn||Fn==="group"){if(Fn==="group"){const Go=convertItemsToNodes(Dn,Cn,_n);return createVNode(ItemGroup,_objectSpread2$1(_objectSpread2$1({key:Hn},Bn),{},{title:Rn,originItemValue:Pn}),{default:()=>[Go]})}Cn.set(Hn,Yn),_n&&_n.childrenEventKeys.push(Hn);const Gn=convertItemsToNodes(Dn,Cn,{childrenEventKeys:Wn,parentKeys:[].concat(zn,Hn)});return createVNode(SubMenu$1,_objectSpread2$1(_objectSpread2$1({key:Hn},Bn),{},{title:Rn,originItemValue:Pn}),{default:()=>[Gn]})}return Fn==="divider"?createVNode(Divider$1,_objectSpread2$1({key:Hn},Bn),null):(Yn.isLeaf=!0,Cn.set(Hn,Yn),createVNode(MenuItem$1,_objectSpread2$1(_objectSpread2$1({key:Hn},Bn),{},{originItemValue:Pn}),{default:()=>[Rn]}))}return null}).filter(Pn=>Pn)}function useItems($n){const Cn=shallowRef([]),_n=shallowRef(!1),Pn=shallowRef(new Map);return watch(()=>$n.items,()=>{const In=new Map;_n.value=!1,$n.items?(_n.value=!0,Cn.value=convertItemsToNodes($n.items,In)):Cn.value=void 0,Pn.value=In},{immediate:!0,deep:!0}),{itemsNodes:Cn,store:Pn,hasItmes:_n}}const getHorizontalStyle=$n=>{const{componentCls:Cn,motionDurationSlow:_n,menuHorizontalHeight:Pn,colorSplit:In,lineWidth:Nn,lineType:Rn,menuItemPaddingInline:Dn}=$n;return{[`${Cn}-horizontal`]:{lineHeight:`${Pn}px`,border:0,borderBottom:`${Nn}px ${Rn} ${In}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Cn}-item, ${Cn}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Dn},[`> ${Cn}-item:hover,
- > ${Cn}-item-active,
- > ${Cn}-submenu ${Cn}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Cn}-item, ${Cn}-submenu-title`]:{transition:[`border-color ${_n}`,`background ${_n}`].join(",")},[`${Cn}-submenu-arrow`]:{display:"none"}}}},getHorizontalStyle$1=getHorizontalStyle,getRTLStyle=$n=>{let{componentCls:Cn,menuArrowOffset:_n}=$n;return{[`${Cn}-rtl`]:{direction:"rtl"},[`${Cn}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Cn}-rtl${Cn}-vertical,
- ${Cn}-submenu-rtl ${Cn}-vertical`]:{[`${Cn}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${_n})`},"&::after":{transform:`rotate(45deg) translateY(${_n})`}}}}},getRTLStyle$1=getRTLStyle,accessibilityFocus=$n=>_extends$1({},genFocusOutline($n)),getThemeStyle=($n,Cn)=>{const{componentCls:_n,colorItemText:Pn,colorItemTextSelected:In,colorGroupTitle:Nn,colorItemBg:Rn,colorSubItemBg:Dn,colorItemBgSelected:Ln,colorActiveBarHeight:Fn,colorActiveBarWidth:Bn,colorActiveBarBorderSize:Hn,motionDurationSlow:zn,motionEaseInOut:Wn,motionEaseOut:Yn,menuItemPaddingInline:Gn,motionDurationMid:Go,colorItemTextHover:Xn,lineType:Yo,colorSplit:qo,colorItemTextDisabled:Jo,colorDangerItemText:Zo,colorDangerItemTextHover:rr,colorDangerItemTextSelected:nr,colorDangerItemBgActive:ta,colorDangerItemBgSelected:oa,colorItemBgHover:ra,menuSubMenuBg:ea,colorItemTextSelectedHorizontal:la,colorItemBgSelectedHorizontal:ua}=$n;return{[`${_n}-${Cn}`]:{color:Pn,background:Rn,[`&${_n}-root:focus-visible`]:_extends$1({},accessibilityFocus($n)),[`${_n}-item-group-title`]:{color:Nn},[`${_n}-submenu-selected`]:{[`> ${_n}-submenu-title`]:{color:In}},[`${_n}-item-disabled, ${_n}-submenu-disabled`]:{color:`${Jo} !important`},[`${_n}-item:hover, ${_n}-submenu-title:hover`]:{[`&:not(${_n}-item-selected):not(${_n}-submenu-selected)`]:{color:Xn}},[`&:not(${_n}-horizontal)`]:{[`${_n}-item:not(${_n}-item-selected)`]:{"&:hover":{backgroundColor:ra},"&:active":{backgroundColor:Ln}},[`${_n}-submenu-title`]:{"&:hover":{backgroundColor:ra},"&:active":{backgroundColor:Ln}}},[`${_n}-item-danger`]:{color:Zo,[`&${_n}-item:hover`]:{[`&:not(${_n}-item-selected):not(${_n}-submenu-selected)`]:{color:rr}},[`&${_n}-item:active`]:{background:ta}},[`${_n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${_n}-item-selected`]:{color:In,[`&${_n}-item-danger`]:{color:nr},"a, a:hover":{color:"inherit"}},[`& ${_n}-item-selected`]:{backgroundColor:Ln,[`&${_n}-item-danger`]:{backgroundColor:oa}},[`${_n}-item, ${_n}-submenu-title`]:{[`&:not(${_n}-item-disabled):focus-visible`]:_extends$1({},accessibilityFocus($n))},[`&${_n}-submenu > ${_n}`]:{backgroundColor:ea},[`&${_n}-popup > ${_n}`]:{backgroundColor:Rn},[`&${_n}-horizontal`]:_extends$1(_extends$1({},Cn==="dark"?{borderBottom:0}:{}),{[`> ${_n}-item, > ${_n}-submenu`]:{top:Hn,marginTop:-Hn,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:Gn,bottom:0,borderBottom:`${Fn}px solid transparent`,transition:`border-color ${zn} ${Wn}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:Fn,borderBottomColor:la}},"&-selected":{color:la,backgroundColor:ua,"&::after":{borderBottomWidth:Fn,borderBottomColor:la}}}}),[`&${_n}-root`]:{[`&${_n}-inline, &${_n}-vertical`]:{borderInlineEnd:`${Hn}px ${Yo} ${qo}`}},[`&${_n}-inline`]:{[`${_n}-sub${_n}-inline`]:{background:Dn},[`${_n}-item, ${_n}-submenu-title`]:Hn&&Bn?{width:`calc(100% + ${Hn}px)`}:{},[`${_n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Bn}px solid ${In}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Go} ${Yn}`,`opacity ${Go} ${Yn}`].join(","),content:'""'},[`&${_n}-item-danger`]:{"&::after":{borderInlineEndColor:nr}}},[`${_n}-selected, ${_n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Go} ${Wn}`,`opacity ${Go} ${Wn}`].join(",")}}}}}},getThemeStyle$1=getThemeStyle,getVerticalInlineStyle=$n=>{const{componentCls:Cn,menuItemHeight:_n,itemMarginInline:Pn,padding:In,menuArrowSize:Nn,marginXS:Rn,marginXXS:Dn}=$n,Ln=In+Nn+Rn;return{[`${Cn}-item`]:{position:"relative"},[`${Cn}-item, ${Cn}-submenu-title`]:{height:_n,lineHeight:`${_n}px`,paddingInline:In,overflow:"hidden",textOverflow:"ellipsis",marginInline:Pn,marginBlock:Dn,width:`calc(100% - ${Pn*2}px)`},[`${Cn}-submenu`]:{paddingBottom:.02},[`> ${Cn}-item,
- > ${Cn}-submenu > ${Cn}-submenu-title`]:{height:_n,lineHeight:`${_n}px`},[`${Cn}-item-group-list ${Cn}-submenu-title,
- ${Cn}-submenu-title`]:{paddingInlineEnd:Ln}}},getVerticalStyle=$n=>{const{componentCls:Cn,iconCls:_n,menuItemHeight:Pn,colorTextLightSolid:In,dropdownWidth:Nn,controlHeightLG:Rn,motionDurationMid:Dn,motionEaseOut:Ln,paddingXL:Fn,fontSizeSM:Bn,fontSizeLG:Hn,motionDurationSlow:zn,paddingXS:Wn,boxShadowSecondary:Yn}=$n,Gn={height:Pn,lineHeight:`${Pn}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Cn]:{"&-inline, &-vertical":_extends$1({[`&${Cn}-root`]:{boxShadow:"none"}},getVerticalInlineStyle($n))},[`${Cn}-submenu-popup`]:{[`${Cn}-vertical`]:_extends$1(_extends$1({},getVerticalInlineStyle($n)),{boxShadow:Yn})}},{[`${Cn}-submenu-popup ${Cn}-vertical${Cn}-sub`]:{minWidth:Nn,maxHeight:`calc(100vh - ${Rn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Cn}-inline`]:{width:"100%",[`&${Cn}-root`]:{[`${Cn}-item, ${Cn}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${zn}`,`background ${zn}`,`padding ${Dn} ${Ln}`].join(","),[`> ${Cn}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Cn}-sub${Cn}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Cn}-submenu > ${Cn}-submenu-title`]:Gn,[`& ${Cn}-item-group-title`]:{paddingInlineStart:Fn}},[`${Cn}-item`]:Gn}},{[`${Cn}-inline-collapsed`]:{width:Pn*2,[`&${Cn}-root`]:{[`${Cn}-item, ${Cn}-submenu ${Cn}-submenu-title`]:{[`> ${Cn}-inline-collapsed-noicon`]:{fontSize:Hn,textAlign:"center"}}},[`> ${Cn}-item,
- > ${Cn}-item-group > ${Cn}-item-group-list > ${Cn}-item,
- > ${Cn}-item-group > ${Cn}-item-group-list > ${Cn}-submenu > ${Cn}-submenu-title,
- > ${Cn}-submenu > ${Cn}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Bn}px)`,textOverflow:"clip",[`
- ${Cn}-submenu-arrow,
- ${Cn}-submenu-expand-icon
- `]:{opacity:0},[`${Cn}-item-icon, ${_n}`]:{margin:0,fontSize:Hn,lineHeight:`${Pn}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Cn}-item-icon, ${_n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Cn}-item-icon, ${_n}`]:{display:"none"},"a, a:hover":{color:In}},[`${Cn}-item-group-title`]:_extends$1(_extends$1({},textEllipsis),{paddingInline:Wn})}}]},getVerticalStyle$1=getVerticalStyle,genMenuItemStyle=$n=>{const{componentCls:Cn,fontSize:_n,motionDurationSlow:Pn,motionDurationMid:In,motionEaseInOut:Nn,motionEaseOut:Rn,iconCls:Dn,controlHeightSM:Ln}=$n;return{[`${Cn}-item, ${Cn}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Pn}`,`background ${Pn}`,`padding ${Pn} ${Nn}`].join(","),[`${Cn}-item-icon, ${Dn}`]:{minWidth:_n,fontSize:_n,transition:[`font-size ${In} ${Rn}`,`margin ${Pn} ${Nn}`,`color ${Pn}`].join(","),"+ span":{marginInlineStart:Ln-_n,opacity:1,transition:[`opacity ${Pn} ${Nn}`,`margin ${Pn}`,`color ${Pn}`].join(",")}},[`${Cn}-item-icon`]:_extends$1({},resetIcon()),[`&${Cn}-item-only-child`]:{[`> ${Dn}, > ${Cn}-item-icon`]:{marginInlineEnd:0}}},[`${Cn}-item-disabled, ${Cn}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Cn}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},genSubMenuArrowStyle=$n=>{const{componentCls:Cn,motionDurationSlow:_n,motionEaseInOut:Pn,borderRadius:In,menuArrowSize:Nn,menuArrowOffset:Rn}=$n;return{[`${Cn}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:$n.margin,width:Nn,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${_n} ${Pn}, opacity ${_n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Nn*.6,height:Nn*.15,backgroundColor:"currentcolor",borderRadius:In,transition:[`background ${_n} ${Pn}`,`transform ${_n} ${Pn}`,`top ${_n} ${Pn}`,`color ${_n} ${Pn}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Rn})`},"&::after":{transform:`rotate(-45deg) translateY(${Rn})`}}}}},getBaseStyle=$n=>{const{antCls:Cn,componentCls:_n,fontSize:Pn,motionDurationSlow:In,motionDurationMid:Nn,motionEaseInOut:Rn,lineHeight:Dn,paddingXS:Ln,padding:Fn,colorSplit:Bn,lineWidth:Hn,zIndexPopup:zn,borderRadiusLG:Wn,radiusSubMenuItem:Yn,menuArrowSize:Gn,menuArrowOffset:Go,lineType:Xn,menuPanelMaskInset:Yo}=$n;return[{"":{[`${_n}`]:_extends$1(_extends$1({},clearFix()),{"&-hidden":{display:"none"}})},[`${_n}-submenu-hidden`]:{display:"none"}},{[_n]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),clearFix()),{marginBottom:0,paddingInlineStart:0,fontSize:Pn,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${In} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${_n}-item`]:{flex:"none"}},[`${_n}-item, ${_n}-submenu, ${_n}-submenu-title`]:{borderRadius:$n.radiusItem},[`${_n}-item-group-title`]:{padding:`${Ln}px ${Fn}px`,fontSize:Pn,lineHeight:Dn,transition:`all ${In}`},[`&-horizontal ${_n}-submenu`]:{transition:[`border-color ${In} ${Rn}`,`background ${In} ${Rn}`].join(",")},[`${_n}-submenu, ${_n}-submenu-inline`]:{transition:[`border-color ${In} ${Rn}`,`background ${In} ${Rn}`,`padding ${Nn} ${Rn}`].join(",")},[`${_n}-submenu ${_n}-sub`]:{cursor:"initial",transition:[`background ${In} ${Rn}`,`padding ${In} ${Rn}`].join(",")},[`${_n}-title-content`]:{transition:`color ${In}`},[`${_n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${_n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Bn,borderStyle:Xn,borderWidth:0,borderTopWidth:Hn,marginBlock:Hn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),genMenuItemStyle($n)),{[`${_n}-item-group`]:{[`${_n}-item-group-list`]:{margin:0,padding:0,[`${_n}-item, ${_n}-submenu-title`]:{paddingInline:`${Pn*2}px ${Fn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:zn,background:"transparent",borderRadius:Wn,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${Yo}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Yo},[`> ${_n}`]:_extends$1(_extends$1(_extends$1({borderRadius:Wn},genMenuItemStyle($n)),genSubMenuArrowStyle($n)),{[`${_n}-item, ${_n}-submenu > ${_n}-submenu-title`]:{borderRadius:Yn},[`${_n}-submenu-title::after`]:{transition:`transform ${In} ${Rn}`}})}}),genSubMenuArrowStyle($n)),{[`&-inline-collapsed ${_n}-submenu-arrow,
- &-inline ${_n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Go})`},"&::after":{transform:`rotate(45deg) translateX(-${Go})`}},[`${_n}-submenu-open${_n}-submenu-inline > ${_n}-submenu-title > ${_n}-submenu-arrow`]:{transform:`translateY(-${Gn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Go})`},"&::before":{transform:`rotate(45deg) translateX(${Go})`}}})},{[`${Cn}-layout-header`]:{[_n]:{lineHeight:"inherit"}}}]},useStyle$N=($n,Cn)=>genComponentStyleHook("Menu",(Pn,In)=>{let{overrideComponentToken:Nn}=In;if((Cn==null?void 0:Cn.value)===!1)return[];const{colorBgElevated:Rn,colorPrimary:Dn,colorError:Ln,colorErrorHover:Fn,colorTextLightSolid:Bn}=Pn,{controlHeightLG:Hn,fontSize:zn}=Pn,Wn=zn/7*5,Yn=merge$1(Pn,{menuItemHeight:Hn,menuItemPaddingInline:Pn.margin,menuArrowSize:Wn,menuHorizontalHeight:Hn*1.15,menuArrowOffset:`${Wn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Rn}),Gn=new TinyColor(Bn).setAlpha(.65).toRgbString(),Go=merge$1(Yn,{colorItemText:Gn,colorItemTextHover:Bn,colorGroupTitle:Gn,colorItemTextSelected:Bn,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:Dn,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new TinyColor(Bn).setAlpha(.25).toRgbString(),colorDangerItemText:Ln,colorDangerItemTextHover:Fn,colorDangerItemTextSelected:Bn,colorDangerItemBgActive:Ln,colorDangerItemBgSelected:Ln,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:Bn,colorItemBgSelectedHorizontal:Dn},_extends$1({},Nn));return[getBaseStyle(Yn),getHorizontalStyle$1(Yn),getVerticalStyle$1(Yn),getThemeStyle$1(Yn,"light"),getThemeStyle$1(Go,"dark"),getRTLStyle$1(Yn),genCollapseMotion$1(Yn),initSlideMotion(Yn,"slide-up"),initSlideMotion(Yn,"slide-down"),initZoomMotion(Yn,"zoom-big")]},Pn=>{const{colorPrimary:In,colorError:Nn,colorTextDisabled:Rn,colorErrorBg:Dn,colorText:Ln,colorTextDescription:Fn,colorBgContainer:Bn,colorFillAlter:Hn,colorFillContent:zn,lineWidth:Wn,lineWidthBold:Yn,controlItemBgActive:Gn,colorBgTextHover:Go}=Pn;return{dropdownWidth:160,zIndexPopup:Pn.zIndexPopupBase+50,radiusItem:Pn.borderRadiusLG,radiusSubMenuItem:Pn.borderRadiusSM,colorItemText:Ln,colorItemTextHover:Ln,colorItemTextHoverHorizontal:In,colorGroupTitle:Fn,colorItemTextSelected:In,colorItemTextSelectedHorizontal:In,colorItemBg:Bn,colorItemBgHover:Go,colorItemBgActive:zn,colorSubItemBg:Hn,colorItemBgSelected:Gn,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:Yn,colorActiveBarBorderSize:Wn,colorItemTextDisabled:Rn,colorDangerItemText:Nn,colorDangerItemTextHover:Nn,colorDangerItemTextSelected:Nn,colorDangerItemBgActive:Dn,colorDangerItemBgSelected:Dn,itemMarginInline:Pn.marginXXS}})($n),menuProps=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),EMPTY_LIST$2=[],Menu=defineComponent({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:menuProps(),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const{direction:Nn,getPrefixCls:Rn}=useConfigInject("menu",$n),Dn=useInjectOverride(),Ln=computed(()=>{var Ta;return Rn("menu",$n.prefixCls||((Ta=Dn==null?void 0:Dn.prefixCls)===null||Ta===void 0?void 0:Ta.value))}),[Fn,Bn]=useStyle$N(Ln,computed(()=>!Dn)),Hn=shallowRef(new Map),zn=inject(SiderCollapsedKey,ref(void 0)),Wn=computed(()=>zn.value!==void 0?zn.value:$n.inlineCollapsed),{itemsNodes:Yn}=useItems($n),Gn=shallowRef(!1);onMounted(()=>{Gn.value=!0}),watchEffect(()=>{devWarning(!($n.inlineCollapsed===!0&&$n.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),devWarning(!(zn.value!==void 0&&$n.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const Go=ref([]),Xn=ref([]),Yo=ref({});watch(Hn,()=>{const Ta={};for(const wa of Hn.value.values())Ta[wa.key]=wa;Yo.value=Ta},{flush:"post"}),watchEffect(()=>{if($n.activeKey!==void 0){let Ta=[];const wa=$n.activeKey?Yo.value[$n.activeKey]:void 0;wa&&$n.activeKey!==void 0?Ta=uniq([].concat(unref(wa.parentKeys),$n.activeKey)):Ta=[],shallowequal(Go.value,Ta)||(Go.value=Ta)}}),watch(()=>$n.selectedKeys,Ta=>{Ta&&(Xn.value=Ta.slice())},{immediate:!0,deep:!0});const qo=ref([]);watch([Yo,Xn],()=>{let Ta=[];Xn.value.forEach(wa=>{const La=Yo.value[wa];La&&(Ta=Ta.concat(unref(La.parentKeys)))}),Ta=uniq(Ta),shallowequal(qo.value,Ta)||(qo.value=Ta)},{immediate:!0});const Jo=Ta=>{if($n.selectable){const{key:wa}=Ta,La=Xn.value.includes(wa);let Na;$n.multiple?La?Na=Xn.value.filter(ka=>ka!==wa):Na=[...Xn.value,wa]:Na=[wa];const $a=_extends$1(_extends$1({},Ta),{selectedKeys:Na});shallowequal(Na,Xn.value)||($n.selectedKeys===void 0&&(Xn.value=Na),Pn("update:selectedKeys",Na),La&&$n.multiple?Pn("deselect",$a):Pn("select",$a))}ra.value!=="inline"&&!$n.multiple&&Zo.value.length&&ua(EMPTY_LIST$2)},Zo=ref([]);watch(()=>$n.openKeys,function(){let Ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zo.value;shallowequal(Zo.value,Ta)||(Zo.value=Ta.slice())},{immediate:!0,deep:!0});let rr;const nr=Ta=>{clearTimeout(rr),rr=setTimeout(()=>{$n.activeKey===void 0&&(Go.value=Ta),Pn("update:activeKey",Ta[Ta.length-1])})},ta=computed(()=>!!$n.disabled),oa=computed(()=>Nn.value==="rtl"),ra=ref("vertical"),ea=shallowRef(!1);watchEffect(()=>{var Ta;($n.mode==="inline"||$n.mode==="vertical")&&Wn.value?(ra.value="vertical",ea.value=Wn.value):(ra.value=$n.mode,ea.value=!1),!((Ta=Dn==null?void 0:Dn.mode)===null||Ta===void 0)&&Ta.value&&(ra.value=Dn.mode.value)});const la=computed(()=>ra.value==="inline"),ua=Ta=>{Zo.value=Ta,Pn("update:openKeys",Ta),Pn("openChange",Ta)},ga=ref(Zo.value),aa=shallowRef(!1);watch(Zo,()=>{la.value&&(ga.value=Zo.value)},{immediate:!0}),watch(la,()=>{if(!aa.value){aa.value=!0;return}la.value?Zo.value=ga.value:ua(EMPTY_LIST$2)},{immediate:!0});const ca=computed(()=>({[`${Ln.value}`]:!0,[`${Ln.value}-root`]:!0,[`${Ln.value}-${ra.value}`]:!0,[`${Ln.value}-inline-collapsed`]:ea.value,[`${Ln.value}-rtl`]:oa.value,[`${Ln.value}-${$n.theme}`]:!0})),sa=computed(()=>Rn()),ia=computed(()=>({horizontal:{name:`${sa.value}-slide-up`},inline:collapseMotion$1(`${sa.value}-motion-collapse`),other:{name:`${sa.value}-zoom-big`}}));useProvideFirstLevel(!0);const fa=function(){let Ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const wa=[],La=Hn.value;return Ta.forEach(Na=>{const{key:$a,childrenEventKeys:ka}=La.get(Na);wa.push($a,...fa(unref(ka)))}),wa},ma=Ta=>{var wa;Pn("click",Ta),Jo(Ta),(wa=Dn==null?void 0:Dn.onClick)===null||wa===void 0||wa.call(Dn)},ya=(Ta,wa)=>{var La;const Na=((La=Yo.value[Ta])===null||La===void 0?void 0:La.childrenEventKeys)||[];let $a=Zo.value.filter(ka=>ka!==Ta);if(wa)$a.push(Ta);else if(ra.value!=="inline"){const ka=fa(unref(Na));$a=uniq($a.filter(Ha=>!ka.includes(Ha)))}shallowequal(Zo,$a)||ua($a)},ba=(Ta,wa)=>{Hn.value.set(Ta,wa),Hn.value=new Map(Hn.value)},Ia=Ta=>{Hn.value.delete(Ta),Hn.value=new Map(Hn.value)},Ea=ref(0),xa=computed(()=>{var Ta;return $n.expandIcon||_n.expandIcon||!((Ta=Dn==null?void 0:Dn.expandIcon)===null||Ta===void 0)&&Ta.value?wa=>{let La=$n.expandIcon||_n.expandIcon;return La=typeof La=="function"?La(wa):La,cloneElement(La,{class:`${Ln.value}-submenu-expand-icon`},!1)}:null});return useProvideMenu$1({prefixCls:Ln,activeKeys:Go,openKeys:Zo,selectedKeys:Xn,changeActiveKeys:nr,disabled:ta,rtl:oa,mode:ra,inlineIndent:computed(()=>$n.inlineIndent),subMenuCloseDelay:computed(()=>$n.subMenuCloseDelay),subMenuOpenDelay:computed(()=>$n.subMenuOpenDelay),builtinPlacements:computed(()=>$n.builtinPlacements),triggerSubMenuAction:computed(()=>$n.triggerSubMenuAction),getPopupContainer:computed(()=>$n.getPopupContainer),inlineCollapsed:ea,theme:computed(()=>$n.theme),siderCollapsed:zn,defaultMotions:computed(()=>Gn.value?ia.value:null),motion:computed(()=>Gn.value?$n.motion:null),overflowDisabled:shallowRef(void 0),onOpenChange:ya,onItemClick:ma,registerMenuInfo:ba,unRegisterMenuInfo:Ia,selectedSubMenuKeys:qo,expandIcon:xa,forceSubMenuRender:computed(()=>$n.forceSubMenuRender),rootClassName:Bn}),()=>{var Ta,wa;const La=Yn.value||flattenChildren((Ta=_n.default)===null||Ta===void 0?void 0:Ta.call(_n)),Na=Ea.value>=La.length-1||ra.value!=="horizontal"||$n.disabledOverflow,$a=ra.value!=="horizontal"||$n.disabledOverflow?La:La.map((Ha,da)=>createVNode(MenuContextProvider,{key:Ha.key,overflowDisabled:da>Ea.value},{default:()=>Ha})),ka=((wa=_n.overflowedIndicator)===null||wa===void 0?void 0:wa.call(_n))||createVNode(EllipsisOutlined$1,null,null);return Fn(createVNode(Overflow$1,_objectSpread2$1(_objectSpread2$1({},In),{},{onMousedown:$n.onMousedown,prefixCls:`${Ln.value}-overflow`,component:"ul",itemComponent:MenuItem$1,class:[ca.value,In.class,Bn.value],role:"menu",id:$n.id,data:$a,renderRawItem:Ha=>Ha,renderRawRest:Ha=>{const da=Ha.length,pa=da?La.slice(-da):null;return createVNode(Fragment,null,[createVNode(SubMenu$1,{eventKey:OVERFLOW_KEY,key:OVERFLOW_KEY,title:ka,disabled:Na,internalPopupClose:da===0},{default:()=>pa}),createVNode(PathContext,null,{default:()=>[createVNode(SubMenu$1,{eventKey:OVERFLOW_KEY,key:OVERFLOW_KEY,title:ka,disabled:Na,internalPopupClose:da===0},{default:()=>pa})]})])},maxCount:ra.value!=="horizontal"||$n.disabledOverflow?Overflow$1.INVALIDATE:Overflow$1.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:Ha=>{Ea.value=Ha}}),{default:()=>[createVNode(Teleport,{to:"body"},{default:()=>[createVNode("div",{style:{display:"none"},"aria-hidden":!0},[createVNode(PathContext,null,{default:()=>[$a]})])]})]}))}}});Menu.install=function($n){return $n.component(Menu.name,Menu),$n.component(MenuItem$1.name,MenuItem$1),$n.component(SubMenu$1.name,SubMenu$1),$n.component(Divider$1.name,Divider$1),$n.component(ItemGroup.name,ItemGroup),$n};Menu.Item=MenuItem$1;Menu.Divider=Divider$1;Menu.SubMenu=SubMenu$1;Menu.ItemGroup=ItemGroup;const genBreadcrumbStyle=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{color:$n.breadcrumbBaseColor,fontSize:$n.breadcrumbFontSize,[_n]:{fontSize:$n.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:_extends$1({color:$n.breadcrumbLinkColor,transition:`color ${$n.motionDurationMid}`,padding:`0 ${$n.paddingXXS}px`,borderRadius:$n.borderRadiusSM,height:$n.lineHeight*$n.fontSize,display:"inline-block",marginInline:-$n.marginXXS,"&:hover":{color:$n.breadcrumbLinkColorHover,backgroundColor:$n.colorBgTextHover}},genFocusStyle($n)),"li:last-child":{color:$n.breadcrumbLastItemColor,[`& > ${Cn}-separator`]:{display:"none"}},[`${Cn}-separator`]:{marginInline:$n.breadcrumbSeparatorMargin,color:$n.breadcrumbSeparatorColor},[`${Cn}-link`]:{[`
- > ${_n} + span,
- > ${_n} + a
- `]:{marginInlineStart:$n.marginXXS}},[`${Cn}-overlay-link`]:{borderRadius:$n.borderRadiusSM,height:$n.lineHeight*$n.fontSize,display:"inline-block",padding:`0 ${$n.paddingXXS}px`,marginInline:-$n.marginXXS,[`> ${_n}`]:{marginInlineStart:$n.marginXXS,fontSize:$n.fontSizeIcon},"&:hover":{color:$n.breadcrumbLinkColorHover,backgroundColor:$n.colorBgTextHover,a:{color:$n.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${$n.componentCls}-rtl`]:{direction:"rtl"}})}},useStyle$M=genComponentStyleHook("Breadcrumb",$n=>{const Cn=merge$1($n,{breadcrumbBaseColor:$n.colorTextDescription,breadcrumbFontSize:$n.fontSize,breadcrumbIconFontSize:$n.fontSize,breadcrumbLinkColor:$n.colorTextDescription,breadcrumbLinkColorHover:$n.colorText,breadcrumbLastItemColor:$n.colorText,breadcrumbSeparatorMargin:$n.marginXS,breadcrumbSeparatorColor:$n.colorTextDescription});return[genBreadcrumbStyle(Cn)]}),breadcrumbProps=()=>({prefixCls:String,routes:{type:Array},params:PropTypes.any,separator:PropTypes.any,itemRender:{type:Function}});function getBreadcrumbName($n,Cn){if(!$n.breadcrumbName)return null;const _n=Object.keys(Cn).join("|");return $n.breadcrumbName.replace(new RegExp(`:(${_n})`,"g"),(In,Nn)=>Cn[Nn]||In)}function defaultItemRender$1($n){const{route:Cn,params:_n,routes:Pn,paths:In}=$n,Nn=Pn.indexOf(Cn)===Pn.length-1,Rn=getBreadcrumbName(Cn,_n);return Nn?createVNode("span",null,[Rn]):createVNode("a",{href:`#/${In.join("/")}`},[Rn])}const Breadcrumb=defineComponent({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:breadcrumbProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("breadcrumb",$n),[Rn,Dn]=useStyle$M(In),Ln=(Hn,zn)=>(Hn=(Hn||"").replace(/^\//,""),Object.keys(zn).forEach(Wn=>{Hn=Hn.replace(`:${Wn}`,zn[Wn])}),Hn),Fn=(Hn,zn,Wn)=>{const Yn=[...Hn],Gn=Ln(zn||"",Wn);return Gn&&Yn.push(Gn),Yn},Bn=Hn=>{let{routes:zn=[],params:Wn={},separator:Yn,itemRender:Gn=defaultItemRender$1}=Hn;const Go=[];return zn.map(Xn=>{const Yo=Ln(Xn.path,Wn);Yo&&Go.push(Yo);const qo=[...Go];let Jo=null;Xn.children&&Xn.children.length&&(Jo=createVNode(Menu,{items:Xn.children.map(rr=>({key:rr.path||rr.breadcrumbName,label:Gn({route:rr,params:Wn,routes:zn,paths:Fn(qo,rr.path,Wn)})}))},null));const Zo={separator:Yn};return Jo&&(Zo.overlay=Jo),createVNode(BreadcrumbItem,_objectSpread2$1(_objectSpread2$1({},Zo),{},{key:Yo||Xn.breadcrumbName}),{default:()=>[Gn({route:Xn,params:Wn,routes:zn,paths:qo})]})})};return()=>{var Hn;let zn;const{routes:Wn,params:Yn={}}=$n,Gn=flattenChildren(getPropsSlot(_n,$n)),Go=(Hn=getPropsSlot(_n,$n,"separator"))!==null&&Hn!==void 0?Hn:"/",Xn=$n.itemRender||_n.itemRender||defaultItemRender$1;Wn&&Wn.length>0?zn=Bn({routes:Wn,params:Yn,separator:Go,itemRender:Xn}):Gn.length&&(zn=Gn.map((qo,Jo)=>(warning$3(typeof qo.type=="object"&&(qo.type.__ANT_BREADCRUMB_ITEM||qo.type.__ANT_BREADCRUMB_SEPARATOR)),cloneVNode(qo,{separator:Go,key:Jo}))));const Yo={[In.value]:!0,[`${In.value}-rtl`]:Nn.value==="rtl",[`${Pn.class}`]:!!Pn.class,[Dn.value]:!0};return Rn(createVNode("nav",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Yo}),[createVNode("ol",null,[zn])]))}}});var __rest$_=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const breadcrumbSeparatorProps=()=>({prefixCls:String}),BreadcrumbSeparator=defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:breadcrumbSeparatorProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In}=useConfigInject("breadcrumb",$n);return()=>{var Nn;const{separator:Rn,class:Dn}=Pn,Ln=__rest$_(Pn,["separator","class"]),Fn=flattenChildren((Nn=_n.default)===null||Nn===void 0?void 0:Nn.call(_n));return createVNode("span",_objectSpread2$1({class:[`${In.value}-separator`,Dn]},Ln),[Fn.length>0?Fn:"/"])}}});Breadcrumb.Item=BreadcrumbItem;Breadcrumb.Separator=BreadcrumbSeparator;Breadcrumb.install=function($n){return $n.component(Breadcrumb.name,Breadcrumb),$n.component(BreadcrumbItem.name,BreadcrumbItem),$n.component(BreadcrumbSeparator.name,BreadcrumbSeparator),$n};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs($n){return $n&&$n.__esModule&&Object.prototype.hasOwnProperty.call($n,"default")?$n.default:$n}var dayjs_min$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){var _n=1e3,Pn=6e4,In=36e5,Nn="millisecond",Rn="second",Dn="minute",Ln="hour",Fn="day",Bn="week",Hn="month",zn="quarter",Wn="year",Yn="date",Gn="Invalid Date",Go=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Xn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Yo={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ga){var aa=["th","st","nd","rd"],ca=ga%100;return"["+ga+(aa[(ca-20)%10]||aa[ca]||aa[0])+"]"}},qo=function(ga,aa,ca){var sa=String(ga);return!sa||sa.length>=aa?ga:""+Array(aa+1-sa.length).join(ca)+ga},Jo={s:qo,z:function(ga){var aa=-ga.utcOffset(),ca=Math.abs(aa),sa=Math.floor(ca/60),ia=ca%60;return(aa<=0?"+":"-")+qo(sa,2,"0")+":"+qo(ia,2,"0")},m:function ga(aa,ca){if(aa.date()<ca.date())return-ga(ca,aa);var sa=12*(ca.year()-aa.year())+(ca.month()-aa.month()),ia=aa.clone().add(sa,Hn),fa=ca-ia<0,ma=aa.clone().add(sa+(fa?-1:1),Hn);return+(-(sa+(ca-ia)/(fa?ia-ma:ma-ia))||0)},a:function(ga){return ga<0?Math.ceil(ga)||0:Math.floor(ga)},p:function(ga){return{M:Hn,y:Wn,w:Bn,d:Fn,D:Yn,h:Ln,m:Dn,s:Rn,ms:Nn,Q:zn}[ga]||String(ga||"").toLowerCase().replace(/s$/,"")},u:function(ga){return ga===void 0}},Zo="en",rr={};rr[Zo]=Yo;var nr="$isDayjsObject",ta=function(ga){return ga instanceof la||!(!ga||!ga[nr])},oa=function ga(aa,ca,sa){var ia;if(!aa)return Zo;if(typeof aa=="string"){var fa=aa.toLowerCase();rr[fa]&&(ia=fa),ca&&(rr[fa]=ca,ia=fa);var ma=aa.split("-");if(!ia&&ma.length>1)return ga(ma[0])}else{var ya=aa.name;rr[ya]=aa,ia=ya}return!sa&&ia&&(Zo=ia),ia||!sa&&Zo},ra=function(ga,aa){if(ta(ga))return ga.clone();var ca=typeof aa=="object"?aa:{};return ca.date=ga,ca.args=arguments,new la(ca)},ea=Jo;ea.l=oa,ea.i=ta,ea.w=function(ga,aa){return ra(ga,{locale:aa.$L,utc:aa.$u,x:aa.$x,$offset:aa.$offset})};var la=function(){function ga(ca){this.$L=oa(ca.locale,null,!0),this.parse(ca),this.$x=this.$x||ca.x||{},this[nr]=!0}var aa=ga.prototype;return aa.parse=function(ca){this.$d=function(sa){var ia=sa.date,fa=sa.utc;if(ia===null)return new Date(NaN);if(ea.u(ia))return new Date;if(ia instanceof Date)return new Date(ia);if(typeof ia=="string"&&!/Z$/i.test(ia)){var ma=ia.match(Go);if(ma){var ya=ma[2]-1||0,ba=(ma[7]||"0").substring(0,3);return fa?new Date(Date.UTC(ma[1],ya,ma[3]||1,ma[4]||0,ma[5]||0,ma[6]||0,ba)):new Date(ma[1],ya,ma[3]||1,ma[4]||0,ma[5]||0,ma[6]||0,ba)}}return new Date(ia)}(ca),this.init()},aa.init=function(){var ca=this.$d;this.$y=ca.getFullYear(),this.$M=ca.getMonth(),this.$D=ca.getDate(),this.$W=ca.getDay(),this.$H=ca.getHours(),this.$m=ca.getMinutes(),this.$s=ca.getSeconds(),this.$ms=ca.getMilliseconds()},aa.$utils=function(){return ea},aa.isValid=function(){return this.$d.toString()!==Gn},aa.isSame=function(ca,sa){var ia=ra(ca);return this.startOf(sa)<=ia&&ia<=this.endOf(sa)},aa.isAfter=function(ca,sa){return ra(ca)<this.startOf(sa)},aa.isBefore=function(ca,sa){return this.endOf(sa)<ra(ca)},aa.$g=function(ca,sa,ia){return ea.u(ca)?this[sa]:this.set(ia,ca)},aa.unix=function(){return Math.floor(this.valueOf()/1e3)},aa.valueOf=function(){return this.$d.getTime()},aa.startOf=function(ca,sa){var ia=this,fa=!!ea.u(sa)||sa,ma=ea.p(ca),ya=function(Na,$a){var ka=ea.w(ia.$u?Date.UTC(ia.$y,$a,Na):new Date(ia.$y,$a,Na),ia);return fa?ka:ka.endOf(Fn)},ba=function(Na,$a){return ea.w(ia.toDate()[Na].apply(ia.toDate("s"),(fa?[0,0,0,0]:[23,59,59,999]).slice($a)),ia)},Ia=this.$W,Ea=this.$M,xa=this.$D,Ta="set"+(this.$u?"UTC":"");switch(ma){case Wn:return fa?ya(1,0):ya(31,11);case Hn:return fa?ya(1,Ea):ya(0,Ea+1);case Bn:var wa=this.$locale().weekStart||0,La=(Ia<wa?Ia+7:Ia)-wa;return ya(fa?xa-La:xa+(6-La),Ea);case Fn:case Yn:return ba(Ta+"Hours",0);case Ln:return ba(Ta+"Minutes",1);case Dn:return ba(Ta+"Seconds",2);case Rn:return ba(Ta+"Milliseconds",3);default:return this.clone()}},aa.endOf=function(ca){return this.startOf(ca,!1)},aa.$set=function(ca,sa){var ia,fa=ea.p(ca),ma="set"+(this.$u?"UTC":""),ya=(ia={},ia[Fn]=ma+"Date",ia[Yn]=ma+"Date",ia[Hn]=ma+"Month",ia[Wn]=ma+"FullYear",ia[Ln]=ma+"Hours",ia[Dn]=ma+"Minutes",ia[Rn]=ma+"Seconds",ia[Nn]=ma+"Milliseconds",ia)[fa],ba=fa===Fn?this.$D+(sa-this.$W):sa;if(fa===Hn||fa===Wn){var Ia=this.clone().set(Yn,1);Ia.$d[ya](ba),Ia.init(),this.$d=Ia.set(Yn,Math.min(this.$D,Ia.daysInMonth())).$d}else ya&&this.$d[ya](ba);return this.init(),this},aa.set=function(ca,sa){return this.clone().$set(ca,sa)},aa.get=function(ca){return this[ea.p(ca)]()},aa.add=function(ca,sa){var ia,fa=this;ca=Number(ca);var ma=ea.p(sa),ya=function(Ea){var xa=ra(fa);return ea.w(xa.date(xa.date()+Math.round(Ea*ca)),fa)};if(ma===Hn)return this.set(Hn,this.$M+ca);if(ma===Wn)return this.set(Wn,this.$y+ca);if(ma===Fn)return ya(1);if(ma===Bn)return ya(7);var ba=(ia={},ia[Dn]=Pn,ia[Ln]=In,ia[Rn]=_n,ia)[ma]||1,Ia=this.$d.getTime()+ca*ba;return ea.w(Ia,this)},aa.subtract=function(ca,sa){return this.add(-1*ca,sa)},aa.format=function(ca){var sa=this,ia=this.$locale();if(!this.isValid())return ia.invalidDate||Gn;var fa=ca||"YYYY-MM-DDTHH:mm:ssZ",ma=ea.z(this),ya=this.$H,ba=this.$m,Ia=this.$M,Ea=ia.weekdays,xa=ia.months,Ta=ia.meridiem,wa=function($a,ka,Ha,da){return $a&&($a[ka]||$a(sa,fa))||Ha[ka].slice(0,da)},La=function($a){return ea.s(ya%12||12,$a,"0")},Na=Ta||function($a,ka,Ha){var da=$a<12?"AM":"PM";return Ha?da.toLowerCase():da};return fa.replace(Xn,function($a,ka){return ka||function(Ha){switch(Ha){case"YY":return String(sa.$y).slice(-2);case"YYYY":return ea.s(sa.$y,4,"0");case"M":return Ia+1;case"MM":return ea.s(Ia+1,2,"0");case"MMM":return wa(ia.monthsShort,Ia,xa,3);case"MMMM":return wa(xa,Ia);case"D":return sa.$D;case"DD":return ea.s(sa.$D,2,"0");case"d":return String(sa.$W);case"dd":return wa(ia.weekdaysMin,sa.$W,Ea,2);case"ddd":return wa(ia.weekdaysShort,sa.$W,Ea,3);case"dddd":return Ea[sa.$W];case"H":return String(ya);case"HH":return ea.s(ya,2,"0");case"h":return La(1);case"hh":return La(2);case"a":return Na(ya,ba,!0);case"A":return Na(ya,ba,!1);case"m":return String(ba);case"mm":return ea.s(ba,2,"0");case"s":return String(sa.$s);case"ss":return ea.s(sa.$s,2,"0");case"SSS":return ea.s(sa.$ms,3,"0");case"Z":return ma}return null}($a)||ma.replace(":","")})},aa.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},aa.diff=function(ca,sa,ia){var fa,ma=this,ya=ea.p(sa),ba=ra(ca),Ia=(ba.utcOffset()-this.utcOffset())*Pn,Ea=this-ba,xa=function(){return ea.m(ma,ba)};switch(ya){case Wn:fa=xa()/12;break;case Hn:fa=xa();break;case zn:fa=xa()/3;break;case Bn:fa=(Ea-Ia)/6048e5;break;case Fn:fa=(Ea-Ia)/864e5;break;case Ln:fa=Ea/In;break;case Dn:fa=Ea/Pn;break;case Rn:fa=Ea/_n;break;default:fa=Ea}return ia?fa:ea.a(fa)},aa.daysInMonth=function(){return this.endOf(Hn).$D},aa.$locale=function(){return rr[this.$L]},aa.locale=function(ca,sa){if(!ca)return this.$L;var ia=this.clone(),fa=oa(ca,sa,!0);return fa&&(ia.$L=fa),ia},aa.clone=function(){return ea.w(this.$d,this)},aa.toDate=function(){return new Date(this.valueOf())},aa.toJSON=function(){return this.isValid()?this.toISOString():null},aa.toISOString=function(){return this.$d.toISOString()},aa.toString=function(){return this.$d.toUTCString()},ga}(),ua=la.prototype;return ra.prototype=ua,[["$ms",Nn],["$s",Rn],["$m",Dn],["$H",Ln],["$W",Fn],["$M",Hn],["$y",Wn],["$D",Yn]].forEach(function(ga){ua[ga[1]]=function(aa){return this.$g(aa,ga[0],ga[1])}}),ra.extend=function(ga,aa){return ga.$i||(ga(aa,la,ra),ga.$i=!0),ra},ra.locale=oa,ra.isDayjs=ta,ra.unix=function(ga){return ra(1e3*ga)},ra.en=rr[Zo],ra.Ls=rr,ra.p={},ra})})(dayjs_min$1);var dayjs_minExports$1=dayjs_min$1.exports;const dayjs$1=getDefaultExportFromCjs(dayjs_minExports$1);var weekday$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){return function(_n,Pn){Pn.prototype.weekday=function(In){var Nn=this.$locale().weekStart||0,Rn=this.$W,Dn=(Rn<Nn?Rn+7:Rn)-Nn;return this.$utils().u(In)?Dn:this.subtract(Dn,"day").add(In,"day")}}})})(weekday$1);var weekdayExports=weekday$1.exports;const weekday=getDefaultExportFromCjs(weekdayExports);var localeData$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){return function(_n,Pn,In){var Nn=Pn.prototype,Rn=function(Hn){return Hn&&(Hn.indexOf?Hn:Hn.s)},Dn=function(Hn,zn,Wn,Yn,Gn){var Go=Hn.name?Hn:Hn.$locale(),Xn=Rn(Go[zn]),Yo=Rn(Go[Wn]),qo=Xn||Yo.map(function(Zo){return Zo.slice(0,Yn)});if(!Gn)return qo;var Jo=Go.weekStart;return qo.map(function(Zo,rr){return qo[(rr+(Jo||0))%7]})},Ln=function(){return In.Ls[In.locale()]},Fn=function(Hn,zn){return Hn.formats[zn]||function(Wn){return Wn.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Yn,Gn,Go){return Gn||Go.slice(1)})}(Hn.formats[zn.toUpperCase()])},Bn=function(){var Hn=this;return{months:function(zn){return zn?zn.format("MMMM"):Dn(Hn,"months")},monthsShort:function(zn){return zn?zn.format("MMM"):Dn(Hn,"monthsShort","months",3)},firstDayOfWeek:function(){return Hn.$locale().weekStart||0},weekdays:function(zn){return zn?zn.format("dddd"):Dn(Hn,"weekdays")},weekdaysMin:function(zn){return zn?zn.format("dd"):Dn(Hn,"weekdaysMin","weekdays",2)},weekdaysShort:function(zn){return zn?zn.format("ddd"):Dn(Hn,"weekdaysShort","weekdays",3)},longDateFormat:function(zn){return Fn(Hn.$locale(),zn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};Nn.localeData=function(){return Bn.bind(this)()},In.localeData=function(){var Hn=Ln();return{firstDayOfWeek:function(){return Hn.weekStart||0},weekdays:function(){return In.weekdays()},weekdaysShort:function(){return In.weekdaysShort()},weekdaysMin:function(){return In.weekdaysMin()},months:function(){return In.months()},monthsShort:function(){return In.monthsShort()},longDateFormat:function(zn){return Fn(Hn,zn)},meridiem:Hn.meridiem,ordinal:Hn.ordinal}},In.months=function(){return Dn(Ln(),"months")},In.monthsShort=function(){return Dn(Ln(),"monthsShort","months",3)},In.weekdays=function(Hn){return Dn(Ln(),"weekdays",null,null,Hn)},In.weekdaysShort=function(Hn){return Dn(Ln(),"weekdaysShort","weekdays",3,Hn)},In.weekdaysMin=function(Hn){return Dn(Ln(),"weekdaysMin","weekdays",2,Hn)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports);var weekOfYear$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){var _n="week",Pn="year";return function(In,Nn,Rn){var Dn=Nn.prototype;Dn.week=function(Ln){if(Ln===void 0&&(Ln=null),Ln!==null)return this.add(7*(Ln-this.week()),"day");var Fn=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var Bn=Rn(this).startOf(Pn).add(1,Pn).date(Fn),Hn=Rn(this).endOf(_n);if(Bn.isBefore(Hn))return 1}var zn=Rn(this).startOf(Pn).date(Fn).startOf(_n).subtract(1,"millisecond"),Wn=this.diff(zn,_n,!0);return Wn<0?Rn(this).startOf("week").week():Math.ceil(Wn)},Dn.weeks=function(Ln){return Ln===void 0&&(Ln=null),this.week(Ln)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){return function(_n,Pn){Pn.prototype.weekYear=function(){var In=this.month(),Nn=this.week(),Rn=this.year();return Nn===1&&In===11?Rn+1:In===0&&Nn>=52?Rn-1:Rn}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var quarterOfYear$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){var _n="month",Pn="quarter";return function(In,Nn){var Rn=Nn.prototype;Rn.quarter=function(Fn){return this.$utils().u(Fn)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(Fn-1))};var Dn=Rn.add;Rn.add=function(Fn,Bn){return Fn=Number(Fn),this.$utils().p(Bn)===Pn?this.add(3*Fn,_n):Dn.bind(this)(Fn,Bn)};var Ln=Rn.startOf;Rn.startOf=function(Fn,Bn){var Hn=this.$utils(),zn=!!Hn.u(Bn)||Bn;if(Hn.p(Fn)===Pn){var Wn=this.quarter()-1;return zn?this.month(3*Wn).startOf(_n).startOf("day"):this.month(3*Wn+2).endOf(_n).endOf("day")}return Ln.bind(this)(Fn,Bn)}}})})(quarterOfYear$1);var quarterOfYearExports=quarterOfYear$1.exports;const quarterOfYear=getDefaultExportFromCjs(quarterOfYearExports);var advancedFormat$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){return function(_n,Pn){var In=Pn.prototype,Nn=In.format;In.format=function(Rn){var Dn=this,Ln=this.$locale();if(!this.isValid())return Nn.bind(this)(Rn);var Fn=this.$utils(),Bn=(Rn||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Hn){switch(Hn){case"Q":return Math.ceil((Dn.$M+1)/3);case"Do":return Ln.ordinal(Dn.$D);case"gggg":return Dn.weekYear();case"GGGG":return Dn.isoWeekYear();case"wo":return Ln.ordinal(Dn.week(),"W");case"w":case"ww":return Fn.s(Dn.week(),Hn==="w"?1:2,"0");case"W":case"WW":return Fn.s(Dn.isoWeek(),Hn==="W"?1:2,"0");case"k":case"kk":return Fn.s(String(Dn.$H===0?24:Dn.$H),Hn==="k"?1:2,"0");case"X":return Math.floor(Dn.$d.getTime()/1e3);case"x":return Dn.$d.getTime();case"z":return"["+Dn.offsetName()+"]";case"zzz":return"["+Dn.offsetName("long")+"]";default:return Hn}});return Nn.bind(this)(Bn)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var customParseFormat$1={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){var _n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Pn=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,In=/\d\d/,Nn=/\d\d?/,Rn=/\d*[^-_:/,()\s\d]+/,Dn={},Ln=function(Gn){return(Gn=+Gn)+(Gn>68?1900:2e3)},Fn=function(Gn){return function(Go){this[Gn]=+Go}},Bn=[/[+-]\d\d:?(\d\d)?|Z/,function(Gn){(this.zone||(this.zone={})).offset=function(Go){if(!Go||Go==="Z")return 0;var Xn=Go.match(/([+-]|\d\d)/g),Yo=60*Xn[1]+(+Xn[2]||0);return Yo===0?0:Xn[0]==="+"?-Yo:Yo}(Gn)}],Hn=function(Gn){var Go=Dn[Gn];return Go&&(Go.indexOf?Go:Go.s.concat(Go.f))},zn=function(Gn,Go){var Xn,Yo=Dn.meridiem;if(Yo){for(var qo=1;qo<=24;qo+=1)if(Gn.indexOf(Yo(qo,0,Go))>-1){Xn=qo>12;break}}else Xn=Gn===(Go?"pm":"PM");return Xn},Wn={A:[Rn,function(Gn){this.afternoon=zn(Gn,!1)}],a:[Rn,function(Gn){this.afternoon=zn(Gn,!0)}],S:[/\d/,function(Gn){this.milliseconds=100*+Gn}],SS:[In,function(Gn){this.milliseconds=10*+Gn}],SSS:[/\d{3}/,function(Gn){this.milliseconds=+Gn}],s:[Nn,Fn("seconds")],ss:[Nn,Fn("seconds")],m:[Nn,Fn("minutes")],mm:[Nn,Fn("minutes")],H:[Nn,Fn("hours")],h:[Nn,Fn("hours")],HH:[Nn,Fn("hours")],hh:[Nn,Fn("hours")],D:[Nn,Fn("day")],DD:[In,Fn("day")],Do:[Rn,function(Gn){var Go=Dn.ordinal,Xn=Gn.match(/\d+/);if(this.day=Xn[0],Go)for(var Yo=1;Yo<=31;Yo+=1)Go(Yo).replace(/\[|\]/g,"")===Gn&&(this.day=Yo)}],M:[Nn,Fn("month")],MM:[In,Fn("month")],MMM:[Rn,function(Gn){var Go=Hn("months"),Xn=(Hn("monthsShort")||Go.map(function(Yo){return Yo.slice(0,3)})).indexOf(Gn)+1;if(Xn<1)throw new Error;this.month=Xn%12||Xn}],MMMM:[Rn,function(Gn){var Go=Hn("months").indexOf(Gn)+1;if(Go<1)throw new Error;this.month=Go%12||Go}],Y:[/[+-]?\d+/,Fn("year")],YY:[In,function(Gn){this.year=Ln(Gn)}],YYYY:[/\d{4}/,Fn("year")],Z:Bn,ZZ:Bn};function Yn(Gn){var Go,Xn;Go=Gn,Xn=Dn&&Dn.formats;for(var Yo=(Gn=Go.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oa,ra,ea){var la=ea&&ea.toUpperCase();return ra||Xn[ea]||_n[ea]||Xn[la].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ua,ga,aa){return ga||aa.slice(1)})})).match(Pn),qo=Yo.length,Jo=0;Jo<qo;Jo+=1){var Zo=Yo[Jo],rr=Wn[Zo],nr=rr&&rr[0],ta=rr&&rr[1];Yo[Jo]=ta?{regex:nr,parser:ta}:Zo.replace(/^\[|\]$/g,"")}return function(oa){for(var ra={},ea=0,la=0;ea<qo;ea+=1){var ua=Yo[ea];if(typeof ua=="string")la+=ua.length;else{var ga=ua.regex,aa=ua.parser,ca=oa.slice(la),sa=ga.exec(ca)[0];aa.call(ra,sa),oa=oa.replace(sa,"")}}return function(ia){var fa=ia.afternoon;if(fa!==void 0){var ma=ia.hours;fa?ma<12&&(ia.hours+=12):ma===12&&(ia.hours=0),delete ia.afternoon}}(ra),ra}}return function(Gn,Go,Xn){Xn.p.customParseFormat=!0,Gn&&Gn.parseTwoDigitYear&&(Ln=Gn.parseTwoDigitYear);var Yo=Go.prototype,qo=Yo.parse;Yo.parse=function(Jo){var Zo=Jo.date,rr=Jo.utc,nr=Jo.args;this.$u=rr;var ta=nr[1];if(typeof ta=="string"){var oa=nr[2]===!0,ra=nr[3]===!0,ea=oa||ra,la=nr[2];ra&&(la=nr[2]),Dn=this.$locale(),!oa&&la&&(Dn=Xn.Ls[la]),this.$d=function(ca,sa,ia){try{if(["x","X"].indexOf(sa)>-1)return new Date((sa==="X"?1e3:1)*ca);var fa=Yn(sa)(ca),ma=fa.year,ya=fa.month,ba=fa.day,Ia=fa.hours,Ea=fa.minutes,xa=fa.seconds,Ta=fa.milliseconds,wa=fa.zone,La=new Date,Na=ba||(ma||ya?1:La.getDate()),$a=ma||La.getFullYear(),ka=0;ma&&!ya||(ka=ya>0?ya-1:La.getMonth());var Ha=Ia||0,da=Ea||0,pa=xa||0,Sa=Ta||0;return wa?new Date(Date.UTC($a,ka,Na,Ha,da,pa,Sa+60*wa.offset*1e3)):ia?new Date(Date.UTC($a,ka,Na,Ha,da,pa,Sa)):new Date($a,ka,Na,Ha,da,pa,Sa)}catch{return new Date("")}}(Zo,ta,rr),this.init(),la&&la!==!0&&(this.$L=this.locale(la).$L),ea&&Zo!=this.format(ta)&&(this.$d=new Date("")),Dn={}}else if(ta instanceof Array)for(var ua=ta.length,ga=1;ga<=ua;ga+=1){nr[1]=ta[ga-1];var aa=Xn.apply(this,nr);if(aa.isValid()){this.$d=aa.$d,this.$L=aa.$L,this.init();break}ga===ua&&(this.$d=new Date(""))}else qo.call(this,Jo)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports);dayjs$1.extend(customParseFormat);dayjs$1.extend(advancedFormat);dayjs$1.extend(weekday);dayjs$1.extend(localeData);dayjs$1.extend(weekOfYear);dayjs$1.extend(weekYear);dayjs$1.extend(quarterOfYear);dayjs$1.extend(($n,Cn)=>{const _n=Cn.prototype,Pn=_n.format;_n.format=function(Nn){const Rn=(Nn||"").replace("Wo","wo");return Pn.bind(this)(Rn)}});const localeMap={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},parseLocale=$n=>localeMap[$n]||$n.split("_")[0],parseNoMatchNotice=()=>{noteOnce(!1,"Not match any format. Please help to fire a issue about this.")},advancedFormatRegex=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function findTargetStr($n,Cn,_n){const Pn=[...new Set($n.split(_n))];let In=0;for(let Nn=0;Nn<Pn.length;Nn++){const Rn=Pn[Nn];if(In+=Rn.length,In>Cn)return Rn;In+=_n.length}}const toDateWithValueFormat=($n,Cn)=>{if(!$n)return null;if(dayjs$1.isDayjs($n))return $n;const _n=Cn.matchAll(advancedFormatRegex);let Pn=dayjs$1($n,Cn);if(_n===null)return Pn;for(const In of _n){const Nn=In[0],Rn=In.index;if(Nn==="Q"){const Dn=$n.slice(Rn-1,Rn),Ln=findTargetStr($n,Rn,Dn).match(/\d+/)[0];Pn=Pn.quarter(parseInt(Ln))}if(Nn.toLowerCase()==="wo"){const Dn=$n.slice(Rn-1,Rn),Ln=findTargetStr($n,Rn,Dn).match(/\d+/)[0];Pn=Pn.week(parseInt(Ln))}Nn.toLowerCase()==="ww"&&(Pn=Pn.week(parseInt($n.slice(Rn,Rn+Nn.length)))),Nn.toLowerCase()==="w"&&(Pn=Pn.week(parseInt($n.slice(Rn,Rn+Nn.length+1))))}return Pn},generateConfig={getNow:()=>dayjs$1(),getFixedDate:$n=>dayjs$1($n,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:$n=>$n.endOf("month"),getWeekDay:$n=>{const Cn=$n.locale("en");return Cn.weekday()+Cn.localeData().firstDayOfWeek()},getYear:$n=>$n.year(),getMonth:$n=>$n.month(),getDate:$n=>$n.date(),getHour:$n=>$n.hour(),getMinute:$n=>$n.minute(),getSecond:$n=>$n.second(),addYear:($n,Cn)=>$n.add(Cn,"year"),addMonth:($n,Cn)=>$n.add(Cn,"month"),addDate:($n,Cn)=>$n.add(Cn,"day"),setYear:($n,Cn)=>$n.year(Cn),setMonth:($n,Cn)=>$n.month(Cn),setDate:($n,Cn)=>$n.date(Cn),setHour:($n,Cn)=>$n.hour(Cn),setMinute:($n,Cn)=>$n.minute(Cn),setSecond:($n,Cn)=>$n.second(Cn),isAfter:($n,Cn)=>$n.isAfter(Cn),isValidate:$n=>$n.isValid(),locale:{getWeekFirstDay:$n=>dayjs$1().locale(parseLocale($n)).localeData().firstDayOfWeek(),getWeekFirstDate:($n,Cn)=>Cn.locale(parseLocale($n)).weekday(0),getWeek:($n,Cn)=>Cn.locale(parseLocale($n)).week(),getShortWeekDays:$n=>dayjs$1().locale(parseLocale($n)).localeData().weekdaysMin(),getShortMonths:$n=>dayjs$1().locale(parseLocale($n)).localeData().monthsShort(),format:($n,Cn,_n)=>Cn.locale(parseLocale($n)).format(_n),parse:($n,Cn,_n)=>{const Pn=parseLocale($n);for(let In=0;In<_n.length;In+=1){const Nn=_n[In],Rn=Cn;if(Nn.includes("wo")||Nn.includes("Wo")){const Ln=Rn.split("-")[0],Fn=Rn.split("-")[1],Bn=dayjs$1(Ln,"YYYY").startOf("year").locale(Pn);for(let Hn=0;Hn<=52;Hn+=1){const zn=Bn.add(Hn,"week");if(zn.format("Wo")===Fn)return zn}return parseNoMatchNotice(),null}const Dn=dayjs$1(Rn,Nn,!0).locale(Pn);if(Dn.isValid())return Dn}return Cn||parseNoMatchNotice(),null}},toDate:($n,Cn)=>Array.isArray($n)?$n.map(_n=>toDateWithValueFormat(_n,Cn)):toDateWithValueFormat($n,Cn),toString:($n,Cn)=>Array.isArray($n)?$n.map(_n=>dayjs$1.isDayjs(_n)?_n.format(Cn):_n):dayjs$1.isDayjs($n)?$n.format(Cn):$n},dayjsGenerateConfig=generateConfig;function useMergeProps($n){const Cn=useAttrs();return _extends$1(_extends$1({},$n),Cn)}const PanelContextKey=Symbol("PanelContextProps"),useProvidePanel=$n=>{provide(PanelContextKey,$n)},useInjectPanel=()=>inject(PanelContextKey,{}),HIDDEN_STYLE$2={visibility:"hidden"};function Header$2($n,Cn){let{slots:_n}=Cn;var Pn;const In=useMergeProps($n),{prefixCls:Nn,prevIcon:Rn="‹",nextIcon:Dn="›",superPrevIcon:Ln="«",superNextIcon:Fn="»",onSuperPrev:Bn,onSuperNext:Hn,onPrev:zn,onNext:Wn}=In,{hideNextBtn:Yn,hidePrevBtn:Gn}=useInjectPanel();return createVNode("div",{class:Nn},[Bn&&createVNode("button",{type:"button",onClick:Bn,tabindex:-1,class:`${Nn}-super-prev-btn`,style:Gn.value?HIDDEN_STYLE$2:{}},[Ln]),zn&&createVNode("button",{type:"button",onClick:zn,tabindex:-1,class:`${Nn}-prev-btn`,style:Gn.value?HIDDEN_STYLE$2:{}},[Rn]),createVNode("div",{class:`${Nn}-view`},[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)]),Wn&&createVNode("button",{type:"button",onClick:Wn,tabindex:-1,class:`${Nn}-next-btn`,style:Yn.value?HIDDEN_STYLE$2:{}},[Dn]),Hn&&createVNode("button",{type:"button",onClick:Hn,tabindex:-1,class:`${Nn}-super-next-btn`,style:Yn.value?HIDDEN_STYLE$2:{}},[Fn])])}Header$2.displayName="Header";Header$2.inheritAttrs=!1;function DecadeHeader($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,viewDate:In,onPrevDecades:Nn,onNextDecades:Rn}=Cn,{hideHeader:Dn}=useInjectPanel();if(Dn)return null;const Ln=`${_n}-header`,Fn=Pn.getYear(In),Bn=Math.floor(Fn/DECADE_DISTANCE_COUNT)*DECADE_DISTANCE_COUNT,Hn=Bn+DECADE_DISTANCE_COUNT-1;return createVNode(Header$2,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:Ln,onSuperPrev:Nn,onSuperNext:Rn}),{default:()=>[Bn,createTextVNode("-"),Hn]})}DecadeHeader.displayName="DecadeHeader";DecadeHeader.inheritAttrs=!1;function setTime($n,Cn,_n,Pn,In){let Nn=$n.setHour(Cn,_n);return Nn=$n.setMinute(Nn,Pn),Nn=$n.setSecond(Nn,In),Nn}function setDateTime($n,Cn,_n){if(!_n)return Cn;let Pn=Cn;return Pn=$n.setHour(Pn,$n.getHour(_n)),Pn=$n.setMinute(Pn,$n.getMinute(_n)),Pn=$n.setSecond(Pn,$n.getSecond(_n)),Pn}function getLowerBoundTime($n,Cn,_n,Pn,In,Nn){const Rn=Math.floor($n/Pn)*Pn;if(Rn<$n)return[Rn,60-In,60-Nn];const Dn=Math.floor(Cn/In)*In;if(Dn<Cn)return[Rn,Dn,60-Nn];const Ln=Math.floor(_n/Nn)*Nn;return[Rn,Dn,Ln]}function getLastDay($n,Cn){const _n=$n.getYear(Cn),Pn=$n.getMonth(Cn)+1,In=$n.getEndDate($n.getFixedDate(`${_n}-${Pn}-01`)),Nn=$n.getDate(In),Rn=Pn<10?`0${Pn}`:`${Pn}`;return`${_n}-${Rn}-${Nn}`}function PanelBody($n){const{prefixCls:Cn,disabledDate:_n,onSelect:Pn,picker:In,rowNum:Nn,colNum:Rn,prefixColumn:Dn,rowClassName:Ln,baseDate:Fn,getCellClassName:Bn,getCellText:Hn,getCellNode:zn,getCellDate:Wn,generateConfig:Yn,titleCell:Gn,headerCells:Go}=useMergeProps($n),{onDateMouseenter:Xn,onDateMouseleave:Yo,mode:qo}=useInjectPanel(),Jo=`${Cn}-cell`,Zo=[];for(let rr=0;rr<Nn;rr+=1){const nr=[];let ta;for(let oa=0;oa<Rn;oa+=1){const ra=rr*Rn+oa,ea=Wn(Fn,ra),la=getCellDateDisabled({cellDate:ea,mode:qo.value,disabledDate:_n,generateConfig:Yn});oa===0&&(ta=ea,Dn&&nr.push(Dn(ta)));const ua=Gn&&Gn(ea);nr.push(createVNode("td",{key:oa,title:ua,class:classNames(Jo,_extends$1({[`${Jo}-disabled`]:la,[`${Jo}-start`]:Hn(ea)===1||In==="year"&&Number(ua)%10===0,[`${Jo}-end`]:ua===getLastDay(Yn,ea)||In==="year"&&Number(ua)%10===9},Bn(ea))),onClick:ga=>{ga.stopPropagation(),la||Pn(ea)},onMouseenter:()=>{!la&&Xn&&Xn(ea)},onMouseleave:()=>{!la&&Yo&&Yo(ea)}},[zn?zn(ea):createVNode("div",{class:`${Jo}-inner`},[Hn(ea)])]))}Zo.push(createVNode("tr",{key:rr,class:Ln&&Ln(ta)},[nr]))}return createVNode("div",{class:`${Cn}-body`},[createVNode("table",{class:`${Cn}-content`},[Go&&createVNode("thead",null,[createVNode("tr",null,[Go])]),createVNode("tbody",null,[Zo])])])}PanelBody.displayName="PanelBody";PanelBody.inheritAttrs=!1;const DECADE_COL_COUNT=3,DECADE_ROW_COUNT=4;function DecadeBody($n){const Cn=useMergeProps($n),_n=DECADE_UNIT_DIFF-1,{prefixCls:Pn,viewDate:In,generateConfig:Nn}=Cn,Rn=`${Pn}-cell`,Dn=Nn.getYear(In),Ln=Math.floor(Dn/DECADE_UNIT_DIFF)*DECADE_UNIT_DIFF,Fn=Math.floor(Dn/DECADE_DISTANCE_COUNT)*DECADE_DISTANCE_COUNT,Bn=Fn+DECADE_DISTANCE_COUNT-1,Hn=Nn.setYear(In,Fn-Math.ceil((DECADE_COL_COUNT*DECADE_ROW_COUNT*DECADE_UNIT_DIFF-DECADE_DISTANCE_COUNT)/2)),zn=Wn=>{const Yn=Nn.getYear(Wn),Gn=Yn+_n;return{[`${Rn}-in-view`]:Fn<=Yn&&Gn<=Bn,[`${Rn}-selected`]:Yn===Ln}};return createVNode(PanelBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{rowNum:DECADE_ROW_COUNT,colNum:DECADE_COL_COUNT,baseDate:Hn,getCellText:Wn=>{const Yn=Nn.getYear(Wn);return`${Yn}-${Yn+_n}`},getCellClassName:zn,getCellDate:(Wn,Yn)=>Nn.addYear(Wn,Yn*DECADE_UNIT_DIFF)}),null)}DecadeBody.displayName="DecadeBody";DecadeBody.inheritAttrs=!1;const scrollIds=new Map;function waitElementReady($n,Cn){let _n;function Pn(){isVisible($n)?Cn():_n=wrapperRaf(()=>{Pn()})}return Pn(),()=>{wrapperRaf.cancel(_n)}}function scrollTo($n,Cn,_n){if(scrollIds.get($n)&&wrapperRaf.cancel(scrollIds.get($n)),_n<=0){scrollIds.set($n,wrapperRaf(()=>{$n.scrollTop=Cn}));return}const In=(Cn-$n.scrollTop)/_n*10;scrollIds.set($n,wrapperRaf(()=>{$n.scrollTop+=In,$n.scrollTop!==Cn&&scrollTo($n,Cn,_n-10)}))}function createKeydownHandler($n,Cn){let{onLeftRight:_n,onCtrlLeftRight:Pn,onUpDown:In,onPageUpDown:Nn,onEnter:Rn}=Cn;const{which:Dn,ctrlKey:Ln,metaKey:Fn}=$n;switch(Dn){case KeyCode$1.LEFT:if(Ln||Fn){if(Pn)return Pn(-1),!0}else if(_n)return _n(-1),!0;break;case KeyCode$1.RIGHT:if(Ln||Fn){if(Pn)return Pn(1),!0}else if(_n)return _n(1),!0;break;case KeyCode$1.UP:if(In)return In(-1),!0;break;case KeyCode$1.DOWN:if(In)return In(1),!0;break;case KeyCode$1.PAGE_UP:if(Nn)return Nn(-1),!0;break;case KeyCode$1.PAGE_DOWN:if(Nn)return Nn(1),!0;break;case KeyCode$1.ENTER:if(Rn)return Rn(),!0;break}return!1}function getDefaultFormat($n,Cn,_n,Pn){let In=$n;if(!In)switch(Cn){case"time":In=Pn?"hh:mm:ss a":"HH:mm:ss";break;case"week":In="gggg-wo";break;case"month":In="YYYY-MM";break;case"quarter":In="YYYY-[Q]Q";break;case"year":In="YYYY";break;default:In=_n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return In}function getInputSize($n,Cn,_n){const Pn=$n==="time"?8:10,In=typeof Cn=="function"?Cn(_n.getNow()).length:Cn.length;return Math.max(Pn,In)+2}let globalClickFunc=null;const clickCallbacks=new Set;function addGlobalMousedownEvent($n){return!globalClickFunc&&typeof window<"u"&&window.addEventListener&&(globalClickFunc=Cn=>{[...clickCallbacks].forEach(_n=>{_n(Cn)})},window.addEventListener("mousedown",globalClickFunc)),clickCallbacks.add($n),()=>{clickCallbacks.delete($n),clickCallbacks.size===0&&(window.removeEventListener("mousedown",globalClickFunc),globalClickFunc=null)}}function getTargetFromEvent($n){var Cn;const _n=$n.target;return $n.composed&&_n.shadowRoot&&((Cn=$n.composedPath)===null||Cn===void 0?void 0:Cn.call($n)[0])||_n}const getYearNextMode=$n=>$n==="month"||$n==="date"?"year":$n,getMonthNextMode=$n=>$n==="date"?"month":$n,getQuarterNextMode=$n=>$n==="month"||$n==="date"?"quarter":$n,getWeekNextMode=$n=>$n==="date"?"week":$n,PickerModeMap={year:getYearNextMode,month:getMonthNextMode,quarter:getQuarterNextMode,week:getWeekNextMode,time:null,date:null};function elementsContains($n,Cn){return $n.some(_n=>_n&&_n.contains(Cn))}const DECADE_UNIT_DIFF=10,DECADE_DISTANCE_COUNT=DECADE_UNIT_DIFF*10;function DecadePanel($n){const Cn=useMergeProps($n),{prefixCls:_n,onViewDateChange:Pn,generateConfig:In,viewDate:Nn,operationRef:Rn,onSelect:Dn,onPanelChange:Ln}=Cn,Fn=`${_n}-decade-panel`;Rn.value={onKeydown:zn=>createKeydownHandler(zn,{onLeftRight:Wn=>{Dn(In.addYear(Nn,Wn*DECADE_UNIT_DIFF),"key")},onCtrlLeftRight:Wn=>{Dn(In.addYear(Nn,Wn*DECADE_DISTANCE_COUNT),"key")},onUpDown:Wn=>{Dn(In.addYear(Nn,Wn*DECADE_UNIT_DIFF*DECADE_COL_COUNT),"key")},onEnter:()=>{Ln("year",Nn)}})};const Bn=zn=>{const Wn=In.addYear(Nn,zn*DECADE_DISTANCE_COUNT);Pn(Wn),Ln(null,Wn)},Hn=zn=>{Dn(zn,"mouse"),Ln("year",zn)};return createVNode("div",{class:Fn},[createVNode(DecadeHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onPrevDecades:()=>{Bn(-1)},onNextDecades:()=>{Bn(1)}}),null),createVNode(DecadeBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onSelect:Hn}),null)])}DecadePanel.displayName="DecadePanel";DecadePanel.inheritAttrs=!1;const WEEK_DAY_COUNT=7;function isNullEqual($n,Cn){if(!$n&&!Cn)return!0;if(!$n||!Cn)return!1}function isSameDecade($n,Cn,_n){const Pn=isNullEqual(Cn,_n);if(typeof Pn=="boolean")return Pn;const In=Math.floor($n.getYear(Cn)/10),Nn=Math.floor($n.getYear(_n)/10);return In===Nn}function isSameYear($n,Cn,_n){const Pn=isNullEqual(Cn,_n);return typeof Pn=="boolean"?Pn:$n.getYear(Cn)===$n.getYear(_n)}function getQuarter($n,Cn){return Math.floor($n.getMonth(Cn)/3)+1}function isSameQuarter($n,Cn,_n){const Pn=isNullEqual(Cn,_n);return typeof Pn=="boolean"?Pn:isSameYear($n,Cn,_n)&&getQuarter($n,Cn)===getQuarter($n,_n)}function isSameMonth($n,Cn,_n){const Pn=isNullEqual(Cn,_n);return typeof Pn=="boolean"?Pn:isSameYear($n,Cn,_n)&&$n.getMonth(Cn)===$n.getMonth(_n)}function isSameDate($n,Cn,_n){const Pn=isNullEqual(Cn,_n);return typeof Pn=="boolean"?Pn:$n.getYear(Cn)===$n.getYear(_n)&&$n.getMonth(Cn)===$n.getMonth(_n)&&$n.getDate(Cn)===$n.getDate(_n)}function isSameTime($n,Cn,_n){const Pn=isNullEqual(Cn,_n);return typeof Pn=="boolean"?Pn:$n.getHour(Cn)===$n.getHour(_n)&&$n.getMinute(Cn)===$n.getMinute(_n)&&$n.getSecond(Cn)===$n.getSecond(_n)}function isSameWeek($n,Cn,_n,Pn){const In=isNullEqual(_n,Pn);return typeof In=="boolean"?In:$n.locale.getWeek(Cn,_n)===$n.locale.getWeek(Cn,Pn)}function isEqual$1($n,Cn,_n){return isSameDate($n,Cn,_n)&&isSameTime($n,Cn,_n)}function isInRange($n,Cn,_n,Pn){return!Cn||!_n||!Pn?!1:!isSameDate($n,Cn,Pn)&&!isSameDate($n,_n,Pn)&&$n.isAfter(Pn,Cn)&&$n.isAfter(_n,Pn)}function getWeekStartDate($n,Cn,_n){const Pn=Cn.locale.getWeekFirstDay($n),In=Cn.setDate(_n,1),Nn=Cn.getWeekDay(In);let Rn=Cn.addDate(In,Pn-Nn);return Cn.getMonth(Rn)===Cn.getMonth(_n)&&Cn.getDate(Rn)>1&&(Rn=Cn.addDate(Rn,-7)),Rn}function getClosingViewDate($n,Cn,_n){let Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Cn){case"year":return _n.addYear($n,Pn*10);case"quarter":case"month":return _n.addYear($n,Pn);default:return _n.addMonth($n,Pn)}}function formatValue($n,Cn){let{generateConfig:_n,locale:Pn,format:In}=Cn;return typeof In=="function"?In($n):_n.locale.format(Pn.locale,$n,In)}function parseValue$1($n,Cn){let{generateConfig:_n,locale:Pn,formatList:In}=Cn;return!$n||typeof In[0]=="function"?null:_n.locale.parse(Pn.locale,$n,In)}function getCellDateDisabled($n){let{cellDate:Cn,mode:_n,disabledDate:Pn,generateConfig:In}=$n;if(!Pn)return!1;const Nn=(Rn,Dn,Ln)=>{let Fn=Dn;for(;Fn<=Ln;){let Bn;switch(Rn){case"date":{if(Bn=In.setDate(Cn,Fn),!Pn(Bn))return!1;break}case"month":{if(Bn=In.setMonth(Cn,Fn),!getCellDateDisabled({cellDate:Bn,mode:"month",generateConfig:In,disabledDate:Pn}))return!1;break}case"year":{if(Bn=In.setYear(Cn,Fn),!getCellDateDisabled({cellDate:Bn,mode:"year",generateConfig:In,disabledDate:Pn}))return!1;break}}Fn+=1}return!0};switch(_n){case"date":case"week":return Pn(Cn);case"month":{const Dn=In.getDate(In.getEndDate(Cn));return Nn("date",1,Dn)}case"quarter":{const Rn=Math.floor(In.getMonth(Cn)/3)*3,Dn=Rn+2;return Nn("month",Rn,Dn)}case"year":return Nn("month",0,11);case"decade":{const Rn=In.getYear(Cn),Dn=Math.floor(Rn/DECADE_UNIT_DIFF)*DECADE_UNIT_DIFF,Ln=Dn+DECADE_UNIT_DIFF-1;return Nn("year",Dn,Ln)}}}function TimeHeader($n){const Cn=useMergeProps($n),{hideHeader:_n}=useInjectPanel();if(_n.value)return null;const{prefixCls:Pn,generateConfig:In,locale:Nn,value:Rn,format:Dn}=Cn,Ln=`${Pn}-header`;return createVNode(Header$2,{prefixCls:Ln},{default:()=>[Rn?formatValue(Rn,{locale:Nn,format:Dn,generateConfig:In}):" "]})}TimeHeader.displayName="TimeHeader";TimeHeader.inheritAttrs=!1;const TimeUnitColumn=defineComponent({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup($n){const{open:Cn}=useInjectPanel(),_n=shallowRef(null),Pn=ref(new Map),In=ref();return watch(()=>$n.value,()=>{const Nn=Pn.value.get($n.value);Nn&&Cn.value!==!1&&scrollTo(_n.value,Nn.offsetTop,120)}),onBeforeUnmount(()=>{var Nn;(Nn=In.value)===null||Nn===void 0||Nn.call(In)}),watch(Cn,()=>{var Nn;(Nn=In.value)===null||Nn===void 0||Nn.call(In),nextTick(()=>{if(Cn.value){const Rn=Pn.value.get($n.value);Rn&&(In.value=waitElementReady(Rn,()=>{scrollTo(_n.value,Rn.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:Nn,units:Rn,onSelect:Dn,value:Ln,active:Fn,hideDisabledOptions:Bn}=$n,Hn=`${Nn}-cell`;return createVNode("ul",{class:classNames(`${Nn}-column`,{[`${Nn}-column-active`]:Fn}),ref:_n,style:{position:"relative"}},[Rn.map(zn=>Bn&&zn.disabled?null:createVNode("li",{key:zn.value,ref:Wn=>{Pn.value.set(zn.value,Wn)},class:classNames(Hn,{[`${Hn}-disabled`]:zn.disabled,[`${Hn}-selected`]:Ln===zn.value}),onClick:()=>{zn.disabled||Dn(zn.value)}},[createVNode("div",{class:`${Hn}-inner`},[zn.label])]))])}}});function leftPad($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Pn=String($n);for(;Pn.length<Cn;)Pn=`${_n}${$n}`;return Pn}const tuple=function(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];return Cn};function toArray$6($n){return $n==null?[]:Array.isArray($n)?$n:[$n]}function getDataOrAriaProps($n){const Cn={};return Object.keys($n).forEach(_n=>{(_n.startsWith("data-")||_n.startsWith("aria-")||_n==="role"||_n==="name")&&!_n.startsWith("data-__")&&(Cn[_n]=$n[_n])}),Cn}function getValue$2($n,Cn){return $n?$n[Cn]:null}function updateValues($n,Cn,_n){const Pn=[getValue$2($n,0),getValue$2($n,1)];return Pn[_n]=typeof Cn=="function"?Cn(Pn[_n]):Cn,!Pn[0]&&!Pn[1]?null:Pn}function generateUnits($n,Cn,_n,Pn){const In=[];for(let Nn=$n;Nn<=Cn;Nn+=_n)In.push({label:leftPad(Nn,2),value:Nn,disabled:(Pn||[]).includes(Nn)});return In}const TimeBody=defineComponent({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup($n){const Cn=computed(()=>$n.value?$n.generateConfig.getHour($n.value):-1),_n=computed(()=>$n.use12Hours?Cn.value>=12:!1),Pn=computed(()=>$n.use12Hours?Cn.value%12:Cn.value),In=computed(()=>$n.value?$n.generateConfig.getMinute($n.value):-1),Nn=computed(()=>$n.value?$n.generateConfig.getSecond($n.value):-1),Rn=ref($n.generateConfig.getNow()),Dn=ref(),Ln=ref(),Fn=ref();onBeforeUpdate(()=>{Rn.value=$n.generateConfig.getNow()}),watchEffect(()=>{if($n.disabledTime){const Go=$n.disabledTime(Rn);[Dn.value,Ln.value,Fn.value]=[Go.disabledHours,Go.disabledMinutes,Go.disabledSeconds]}else[Dn.value,Ln.value,Fn.value]=[$n.disabledHours,$n.disabledMinutes,$n.disabledSeconds]});const Bn=(Go,Xn,Yo,qo)=>{let Jo=$n.value||$n.generateConfig.getNow();const Zo=Math.max(0,Xn),rr=Math.max(0,Yo),nr=Math.max(0,qo);return Jo=setTime($n.generateConfig,Jo,!$n.use12Hours||!Go?Zo:Zo+12,rr,nr),Jo},Hn=computed(()=>{var Go;return generateUnits(0,23,(Go=$n.hourStep)!==null&&Go!==void 0?Go:1,Dn.value&&Dn.value())}),zn=computed(()=>{if(!$n.use12Hours)return[!1,!1];const Go=[!0,!0];return Hn.value.forEach(Xn=>{let{disabled:Yo,value:qo}=Xn;Yo||(qo>=12?Go[1]=!1:Go[0]=!1)}),Go}),Wn=computed(()=>$n.use12Hours?Hn.value.filter(_n.value?Go=>Go.value>=12:Go=>Go.value<12).map(Go=>{const Xn=Go.value%12,Yo=Xn===0?"12":leftPad(Xn,2);return _extends$1(_extends$1({},Go),{label:Yo,value:Xn})}):Hn.value),Yn=computed(()=>{var Go;return generateUnits(0,59,(Go=$n.minuteStep)!==null&&Go!==void 0?Go:1,Ln.value&&Ln.value(Cn.value))}),Gn=computed(()=>{var Go;return generateUnits(0,59,(Go=$n.secondStep)!==null&&Go!==void 0?Go:1,Fn.value&&Fn.value(Cn.value,In.value))});return()=>{const{prefixCls:Go,operationRef:Xn,activeColumnIndex:Yo,showHour:qo,showMinute:Jo,showSecond:Zo,use12Hours:rr,hideDisabledOptions:nr,onSelect:ta}=$n,oa=[],ra=`${Go}-content`,ea=`${Go}-time-panel`;Xn.value={onUpDown:ga=>{const aa=oa[Yo];if(aa){const ca=aa.units.findIndex(ia=>ia.value===aa.value),sa=aa.units.length;for(let ia=1;ia<sa;ia+=1){const fa=aa.units[(ca+ga*ia+sa)%sa];if(fa.disabled!==!0){aa.onSelect(fa.value);break}}}}};function la(ga,aa,ca,sa,ia){ga!==!1&&oa.push({node:cloneElement(aa,{prefixCls:ea,value:ca,active:Yo===oa.length,onSelect:ia,units:sa,hideDisabledOptions:nr}),onSelect:ia,value:ca,units:sa})}la(qo,createVNode(TimeUnitColumn,{key:"hour"},null),Pn.value,Wn.value,ga=>{ta(Bn(_n.value,ga,In.value,Nn.value),"mouse")}),la(Jo,createVNode(TimeUnitColumn,{key:"minute"},null),In.value,Yn.value,ga=>{ta(Bn(_n.value,Pn.value,ga,Nn.value),"mouse")}),la(Zo,createVNode(TimeUnitColumn,{key:"second"},null),Nn.value,Gn.value,ga=>{ta(Bn(_n.value,Pn.value,In.value,ga),"mouse")});let ua=-1;return typeof _n.value=="boolean"&&(ua=_n.value?1:0),la(rr===!0,createVNode(TimeUnitColumn,{key:"12hours"},null),ua,[{label:"AM",value:0,disabled:zn.value[0]},{label:"PM",value:1,disabled:zn.value[1]}],ga=>{ta(Bn(!!ga,Pn.value,In.value,Nn.value),"mouse")}),createVNode("div",{class:ra},[oa.map(ga=>{let{node:aa}=ga;return aa})])}}}),TimeBody$1=TimeBody,countBoolean=$n=>$n.filter(Cn=>Cn!==!1).length;function TimePanel($n){const Cn=useMergeProps($n),{generateConfig:_n,format:Pn="HH:mm:ss",prefixCls:In,active:Nn,operationRef:Rn,showHour:Dn,showMinute:Ln,showSecond:Fn,use12Hours:Bn=!1,onSelect:Hn,value:zn}=Cn,Wn=`${In}-time-panel`,Yn=ref(),Gn=ref(-1),Go=countBoolean([Dn,Ln,Fn,Bn]);return Rn.value={onKeydown:Xn=>createKeydownHandler(Xn,{onLeftRight:Yo=>{Gn.value=(Gn.value+Yo+Go)%Go},onUpDown:Yo=>{Gn.value===-1?Gn.value=0:Yn.value&&Yn.value.onUpDown(Yo)},onEnter:()=>{Hn(zn||_n.getNow(),"key"),Gn.value=-1}}),onBlur:()=>{Gn.value=-1}},createVNode("div",{class:classNames(Wn,{[`${Wn}-active`]:Nn})},[createVNode(TimeHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{format:Pn,prefixCls:In}),null),createVNode(TimeBody$1,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:In,activeColumnIndex:Gn.value,operationRef:Yn}),null)])}TimePanel.displayName="TimePanel";TimePanel.inheritAttrs=!1;function useCellClassName($n){let{cellPrefixCls:Cn,generateConfig:_n,rangedValue:Pn,hoverRangedValue:In,isInView:Nn,isSameCell:Rn,offsetCell:Dn,today:Ln,value:Fn}=$n;function Bn(Hn){const zn=Dn(Hn,-1),Wn=Dn(Hn,1),Yn=getValue$2(Pn,0),Gn=getValue$2(Pn,1),Go=getValue$2(In,0),Xn=getValue$2(In,1),Yo=isInRange(_n,Go,Xn,Hn);function qo(oa){return Rn(Yn,oa)}function Jo(oa){return Rn(Gn,oa)}const Zo=Rn(Go,Hn),rr=Rn(Xn,Hn),nr=(Yo||rr)&&(!Nn(zn)||Jo(zn)),ta=(Yo||Zo)&&(!Nn(Wn)||qo(Wn));return{[`${Cn}-in-view`]:Nn(Hn),[`${Cn}-in-range`]:isInRange(_n,Yn,Gn,Hn),[`${Cn}-range-start`]:qo(Hn),[`${Cn}-range-end`]:Jo(Hn),[`${Cn}-range-start-single`]:qo(Hn)&&!Gn,[`${Cn}-range-end-single`]:Jo(Hn)&&!Yn,[`${Cn}-range-start-near-hover`]:qo(Hn)&&(Rn(zn,Go)||isInRange(_n,Go,Xn,zn)),[`${Cn}-range-end-near-hover`]:Jo(Hn)&&(Rn(Wn,Xn)||isInRange(_n,Go,Xn,Wn)),[`${Cn}-range-hover`]:Yo,[`${Cn}-range-hover-start`]:Zo,[`${Cn}-range-hover-end`]:rr,[`${Cn}-range-hover-edge-start`]:nr,[`${Cn}-range-hover-edge-end`]:ta,[`${Cn}-range-hover-edge-start-near-range`]:nr&&Rn(zn,Gn),[`${Cn}-range-hover-edge-end-near-range`]:ta&&Rn(Wn,Yn),[`${Cn}-today`]:Rn(Ln,Hn),[`${Cn}-selected`]:Rn(Fn,Hn)}}return Bn}const RangeContextKey=Symbol("RangeContextProps"),useProvideRange=$n=>{provide(RangeContextKey,$n)},useInjectRange=()=>inject(RangeContextKey,{rangedValue:ref(),hoverRangedValue:ref(),inRange:ref(),panelPosition:ref()}),RangeContextProvider=defineComponent({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup($n,Cn){let{slots:_n}=Cn;const Pn={rangedValue:ref($n.value.rangedValue),hoverRangedValue:ref($n.value.hoverRangedValue),inRange:ref($n.value.inRange),panelPosition:ref($n.value.panelPosition)};return useProvideRange(Pn),watch(()=>$n.value,()=>{Object.keys($n.value).forEach(In=>{Pn[In]&&(Pn[In].value=$n.value[In])})}),()=>{var In;return(In=_n.default)===null||In===void 0?void 0:In.call(_n)}}});function DateBody($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,prefixColumn:In,locale:Nn,rowCount:Rn,viewDate:Dn,value:Ln,dateRender:Fn}=Cn,{rangedValue:Bn,hoverRangedValue:Hn}=useInjectRange(),zn=getWeekStartDate(Nn.locale,Pn,Dn),Wn=`${_n}-cell`,Yn=Pn.locale.getWeekFirstDay(Nn.locale),Gn=Pn.getNow(),Go=[],Xn=Nn.shortWeekDays||(Pn.locale.getShortWeekDays?Pn.locale.getShortWeekDays(Nn.locale):[]);In&&Go.push(createVNode("th",{key:"empty","aria-label":"empty cell"},null));for(let Jo=0;Jo<WEEK_DAY_COUNT;Jo+=1)Go.push(createVNode("th",{key:Jo},[Xn[(Jo+Yn)%WEEK_DAY_COUNT]]));const Yo=useCellClassName({cellPrefixCls:Wn,today:Gn,value:Ln,generateConfig:Pn,rangedValue:In?null:Bn.value,hoverRangedValue:In?null:Hn.value,isSameCell:(Jo,Zo)=>isSameDate(Pn,Jo,Zo),isInView:Jo=>isSameMonth(Pn,Jo,Dn),offsetCell:(Jo,Zo)=>Pn.addDate(Jo,Zo)}),qo=Fn?Jo=>Fn({current:Jo,today:Gn}):void 0;return createVNode(PanelBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{rowNum:Rn,colNum:WEEK_DAY_COUNT,baseDate:zn,getCellNode:qo,getCellText:Pn.getDate,getCellClassName:Yo,getCellDate:Pn.addDate,titleCell:Jo=>formatValue(Jo,{locale:Nn,format:"YYYY-MM-DD",generateConfig:Pn}),headerCells:Go}),null)}DateBody.displayName="DateBody";DateBody.inheritAttrs=!1;DateBody.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function DateHeader($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,locale:In,viewDate:Nn,onNextMonth:Rn,onPrevMonth:Dn,onNextYear:Ln,onPrevYear:Fn,onYearClick:Bn,onMonthClick:Hn}=Cn,{hideHeader:zn}=useInjectPanel();if(zn.value)return null;const Wn=`${_n}-header`,Yn=In.shortMonths||(Pn.locale.getShortMonths?Pn.locale.getShortMonths(In.locale):[]),Gn=Pn.getMonth(Nn),Go=createVNode("button",{type:"button",key:"year",onClick:Bn,tabindex:-1,class:`${_n}-year-btn`},[formatValue(Nn,{locale:In,format:In.yearFormat,generateConfig:Pn})]),Xn=createVNode("button",{type:"button",key:"month",onClick:Hn,tabindex:-1,class:`${_n}-month-btn`},[In.monthFormat?formatValue(Nn,{locale:In,format:In.monthFormat,generateConfig:Pn}):Yn[Gn]]),Yo=In.monthBeforeYear?[Xn,Go]:[Go,Xn];return createVNode(Header$2,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:Wn,onSuperPrev:Fn,onPrev:Dn,onNext:Rn,onSuperNext:Ln}),{default:()=>[Yo]})}DateHeader.displayName="DateHeader";DateHeader.inheritAttrs=!1;const DATE_ROW_COUNT=6;function DatePanel($n){const Cn=useMergeProps($n),{prefixCls:_n,panelName:Pn="date",keyboardConfig:In,active:Nn,operationRef:Rn,generateConfig:Dn,value:Ln,viewDate:Fn,onViewDateChange:Bn,onPanelChange:Hn,onSelect:zn}=Cn,Wn=`${_n}-${Pn}-panel`;Rn.value={onKeydown:Go=>createKeydownHandler(Go,_extends$1({onLeftRight:Xn=>{zn(Dn.addDate(Ln||Fn,Xn),"key")},onCtrlLeftRight:Xn=>{zn(Dn.addYear(Ln||Fn,Xn),"key")},onUpDown:Xn=>{zn(Dn.addDate(Ln||Fn,Xn*WEEK_DAY_COUNT),"key")},onPageUpDown:Xn=>{zn(Dn.addMonth(Ln||Fn,Xn),"key")}},In))};const Yn=Go=>{const Xn=Dn.addYear(Fn,Go);Bn(Xn),Hn(null,Xn)},Gn=Go=>{const Xn=Dn.addMonth(Fn,Go);Bn(Xn),Hn(null,Xn)};return createVNode("div",{class:classNames(Wn,{[`${Wn}-active`]:Nn})},[createVNode(DateHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,value:Ln,viewDate:Fn,onPrevYear:()=>{Yn(-1)},onNextYear:()=>{Yn(1)},onPrevMonth:()=>{Gn(-1)},onNextMonth:()=>{Gn(1)},onMonthClick:()=>{Hn("month",Fn)},onYearClick:()=>{Hn("year",Fn)}}),null),createVNode(DateBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{onSelect:Go=>zn(Go,"mouse"),prefixCls:_n,value:Ln,viewDate:Fn,rowCount:DATE_ROW_COUNT}),null)])}DatePanel.displayName="DatePanel";DatePanel.inheritAttrs=!1;const ACTIVE_PANEL=tuple("date","time");function DatetimePanel($n){const Cn=useMergeProps($n),{prefixCls:_n,operationRef:Pn,generateConfig:In,value:Nn,defaultValue:Rn,disabledTime:Dn,showTime:Ln,onSelect:Fn}=Cn,Bn=`${_n}-datetime-panel`,Hn=ref(null),zn=ref({}),Wn=ref({}),Yn=typeof Ln=="object"?_extends$1({},Ln):{};function Gn(qo){const Jo=ACTIVE_PANEL.indexOf(Hn.value)+qo;return ACTIVE_PANEL[Jo]||null}const Go=qo=>{Wn.value.onBlur&&Wn.value.onBlur(qo),Hn.value=null};Pn.value={onKeydown:qo=>{if(qo.which===KeyCode$1.TAB){const Jo=Gn(qo.shiftKey?-1:1);return Hn.value=Jo,Jo&&qo.preventDefault(),!0}if(Hn.value){const Jo=Hn.value==="date"?zn:Wn;return Jo.value&&Jo.value.onKeydown&&Jo.value.onKeydown(qo),!0}return[KeyCode$1.LEFT,KeyCode$1.RIGHT,KeyCode$1.UP,KeyCode$1.DOWN].includes(qo.which)?(Hn.value="date",!0):!1},onBlur:Go,onClose:Go};const Xn=(qo,Jo)=>{let Zo=qo;Jo==="date"&&!Nn&&Yn.defaultValue?(Zo=In.setHour(Zo,In.getHour(Yn.defaultValue)),Zo=In.setMinute(Zo,In.getMinute(Yn.defaultValue)),Zo=In.setSecond(Zo,In.getSecond(Yn.defaultValue))):Jo==="time"&&!Nn&&Rn&&(Zo=In.setYear(Zo,In.getYear(Rn)),Zo=In.setMonth(Zo,In.getMonth(Rn)),Zo=In.setDate(Zo,In.getDate(Rn))),Fn&&Fn(Zo,"mouse")},Yo=Dn?Dn(Nn||null):{};return createVNode("div",{class:classNames(Bn,{[`${Bn}-active`]:Hn.value})},[createVNode(DatePanel,_objectSpread2$1(_objectSpread2$1({},Cn),{},{operationRef:zn,active:Hn.value==="date",onSelect:qo=>{Xn(setDateTime(In,qo,!Nn&&typeof Ln=="object"?Ln.defaultValue:null),"date")}}),null),createVNode(TimePanel,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Cn),{},{format:void 0},Yn),Yo),{},{disabledTime:null,defaultValue:void 0,operationRef:Wn,active:Hn.value==="time",onSelect:qo=>{Xn(qo,"time")}}),null)])}DatetimePanel.displayName="DatetimePanel";DatetimePanel.inheritAttrs=!1;function WeekPanel($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,locale:In,value:Nn}=Cn,Rn=`${_n}-cell`,Dn=Bn=>createVNode("td",{key:"week",class:classNames(Rn,`${Rn}-week`)},[Pn.locale.getWeek(In.locale,Bn)]),Ln=`${_n}-week-panel-row`,Fn=Bn=>classNames(Ln,{[`${Ln}-selected`]:isSameWeek(Pn,In.locale,Nn,Bn)});return createVNode(DatePanel,_objectSpread2$1(_objectSpread2$1({},Cn),{},{panelName:"week",prefixColumn:Dn,rowClassName:Fn,keyboardConfig:{onLeftRight:null}}),null)}WeekPanel.displayName="WeekPanel";WeekPanel.inheritAttrs=!1;function MonthHeader($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,locale:In,viewDate:Nn,onNextYear:Rn,onPrevYear:Dn,onYearClick:Ln}=Cn,{hideHeader:Fn}=useInjectPanel();if(Fn.value)return null;const Bn=`${_n}-header`;return createVNode(Header$2,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:Bn,onSuperPrev:Dn,onSuperNext:Rn}),{default:()=>[createVNode("button",{type:"button",onClick:Ln,class:`${_n}-year-btn`},[formatValue(Nn,{locale:In,format:In.yearFormat,generateConfig:Pn})])]})}MonthHeader.displayName="MonthHeader";MonthHeader.inheritAttrs=!1;const MONTH_COL_COUNT=3,MONTH_ROW_COUNT=4;function MonthBody($n){const Cn=useMergeProps($n),{prefixCls:_n,locale:Pn,value:In,viewDate:Nn,generateConfig:Rn,monthCellRender:Dn}=Cn,{rangedValue:Ln,hoverRangedValue:Fn}=useInjectRange(),Bn=`${_n}-cell`,Hn=useCellClassName({cellPrefixCls:Bn,value:In,generateConfig:Rn,rangedValue:Ln.value,hoverRangedValue:Fn.value,isSameCell:(Gn,Go)=>isSameMonth(Rn,Gn,Go),isInView:()=>!0,offsetCell:(Gn,Go)=>Rn.addMonth(Gn,Go)}),zn=Pn.shortMonths||(Rn.locale.getShortMonths?Rn.locale.getShortMonths(Pn.locale):[]),Wn=Rn.setMonth(Nn,0),Yn=Dn?Gn=>Dn({current:Gn,locale:Pn}):void 0;return createVNode(PanelBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{rowNum:MONTH_ROW_COUNT,colNum:MONTH_COL_COUNT,baseDate:Wn,getCellNode:Yn,getCellText:Gn=>Pn.monthFormat?formatValue(Gn,{locale:Pn,format:Pn.monthFormat,generateConfig:Rn}):zn[Rn.getMonth(Gn)],getCellClassName:Hn,getCellDate:Rn.addMonth,titleCell:Gn=>formatValue(Gn,{locale:Pn,format:"YYYY-MM",generateConfig:Rn})}),null)}MonthBody.displayName="MonthBody";MonthBody.inheritAttrs=!1;function MonthPanel($n){const Cn=useMergeProps($n),{prefixCls:_n,operationRef:Pn,onViewDateChange:In,generateConfig:Nn,value:Rn,viewDate:Dn,onPanelChange:Ln,onSelect:Fn}=Cn,Bn=`${_n}-month-panel`;Pn.value={onKeydown:zn=>createKeydownHandler(zn,{onLeftRight:Wn=>{Fn(Nn.addMonth(Rn||Dn,Wn),"key")},onCtrlLeftRight:Wn=>{Fn(Nn.addYear(Rn||Dn,Wn),"key")},onUpDown:Wn=>{Fn(Nn.addMonth(Rn||Dn,Wn*MONTH_COL_COUNT),"key")},onEnter:()=>{Ln("date",Rn||Dn)}})};const Hn=zn=>{const Wn=Nn.addYear(Dn,zn);In(Wn),Ln(null,Wn)};return createVNode("div",{class:Bn},[createVNode(MonthHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onPrevYear:()=>{Hn(-1)},onNextYear:()=>{Hn(1)},onYearClick:()=>{Ln("year",Dn)}}),null),createVNode(MonthBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onSelect:zn=>{Fn(zn,"mouse"),Ln("date",zn)}}),null)])}MonthPanel.displayName="MonthPanel";MonthPanel.inheritAttrs=!1;function QuarterHeader($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,locale:In,viewDate:Nn,onNextYear:Rn,onPrevYear:Dn,onYearClick:Ln}=Cn,{hideHeader:Fn}=useInjectPanel();if(Fn.value)return null;const Bn=`${_n}-header`;return createVNode(Header$2,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:Bn,onSuperPrev:Dn,onSuperNext:Rn}),{default:()=>[createVNode("button",{type:"button",onClick:Ln,class:`${_n}-year-btn`},[formatValue(Nn,{locale:In,format:In.yearFormat,generateConfig:Pn})])]})}QuarterHeader.displayName="QuarterHeader";QuarterHeader.inheritAttrs=!1;const QUARTER_COL_COUNT=4,QUARTER_ROW_COUNT=1;function QuarterBody($n){const Cn=useMergeProps($n),{prefixCls:_n,locale:Pn,value:In,viewDate:Nn,generateConfig:Rn}=Cn,{rangedValue:Dn,hoverRangedValue:Ln}=useInjectRange(),Fn=`${_n}-cell`,Bn=useCellClassName({cellPrefixCls:Fn,value:In,generateConfig:Rn,rangedValue:Dn.value,hoverRangedValue:Ln.value,isSameCell:(zn,Wn)=>isSameQuarter(Rn,zn,Wn),isInView:()=>!0,offsetCell:(zn,Wn)=>Rn.addMonth(zn,Wn*3)}),Hn=Rn.setDate(Rn.setMonth(Nn,0),1);return createVNode(PanelBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{rowNum:QUARTER_ROW_COUNT,colNum:QUARTER_COL_COUNT,baseDate:Hn,getCellText:zn=>formatValue(zn,{locale:Pn,format:Pn.quarterFormat||"[Q]Q",generateConfig:Rn}),getCellClassName:Bn,getCellDate:(zn,Wn)=>Rn.addMonth(zn,Wn*3),titleCell:zn=>formatValue(zn,{locale:Pn,format:"YYYY-[Q]Q",generateConfig:Rn})}),null)}QuarterBody.displayName="QuarterBody";QuarterBody.inheritAttrs=!1;function QuarterPanel($n){const Cn=useMergeProps($n),{prefixCls:_n,operationRef:Pn,onViewDateChange:In,generateConfig:Nn,value:Rn,viewDate:Dn,onPanelChange:Ln,onSelect:Fn}=Cn,Bn=`${_n}-quarter-panel`;Pn.value={onKeydown:zn=>createKeydownHandler(zn,{onLeftRight:Wn=>{Fn(Nn.addMonth(Rn||Dn,Wn*3),"key")},onCtrlLeftRight:Wn=>{Fn(Nn.addYear(Rn||Dn,Wn),"key")},onUpDown:Wn=>{Fn(Nn.addYear(Rn||Dn,Wn),"key")}})};const Hn=zn=>{const Wn=Nn.addYear(Dn,zn);In(Wn),Ln(null,Wn)};return createVNode("div",{class:Bn},[createVNode(QuarterHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onPrevYear:()=>{Hn(-1)},onNextYear:()=>{Hn(1)},onYearClick:()=>{Ln("year",Dn)}}),null),createVNode(QuarterBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onSelect:zn=>{Fn(zn,"mouse")}}),null)])}QuarterPanel.displayName="QuarterPanel";QuarterPanel.inheritAttrs=!1;function YearHeader($n){const Cn=useMergeProps($n),{prefixCls:_n,generateConfig:Pn,viewDate:In,onPrevDecade:Nn,onNextDecade:Rn,onDecadeClick:Dn}=Cn,{hideHeader:Ln}=useInjectPanel();if(Ln.value)return null;const Fn=`${_n}-header`,Bn=Pn.getYear(In),Hn=Math.floor(Bn/YEAR_DECADE_COUNT)*YEAR_DECADE_COUNT,zn=Hn+YEAR_DECADE_COUNT-1;return createVNode(Header$2,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:Fn,onSuperPrev:Nn,onSuperNext:Rn}),{default:()=>[createVNode("button",{type:"button",onClick:Dn,class:`${_n}-decade-btn`},[Hn,createTextVNode("-"),zn])]})}YearHeader.displayName="YearHeader";YearHeader.inheritAttrs=!1;const YEAR_COL_COUNT=3,YEAR_ROW_COUNT=4;function YearBody($n){const Cn=useMergeProps($n),{prefixCls:_n,value:Pn,viewDate:In,locale:Nn,generateConfig:Rn}=Cn,{rangedValue:Dn,hoverRangedValue:Ln}=useInjectRange(),Fn=`${_n}-cell`,Bn=Rn.getYear(In),Hn=Math.floor(Bn/YEAR_DECADE_COUNT)*YEAR_DECADE_COUNT,zn=Hn+YEAR_DECADE_COUNT-1,Wn=Rn.setYear(In,Hn-Math.ceil((YEAR_COL_COUNT*YEAR_ROW_COUNT-YEAR_DECADE_COUNT)/2)),Yn=Go=>{const Xn=Rn.getYear(Go);return Hn<=Xn&&Xn<=zn},Gn=useCellClassName({cellPrefixCls:Fn,value:Pn,generateConfig:Rn,rangedValue:Dn.value,hoverRangedValue:Ln.value,isSameCell:(Go,Xn)=>isSameYear(Rn,Go,Xn),isInView:Yn,offsetCell:(Go,Xn)=>Rn.addYear(Go,Xn)});return createVNode(PanelBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{rowNum:YEAR_ROW_COUNT,colNum:YEAR_COL_COUNT,baseDate:Wn,getCellText:Rn.getYear,getCellClassName:Gn,getCellDate:Rn.addYear,titleCell:Go=>formatValue(Go,{locale:Nn,format:"YYYY",generateConfig:Rn})}),null)}YearBody.displayName="YearBody";YearBody.inheritAttrs=!1;const YEAR_DECADE_COUNT=10;function YearPanel($n){const Cn=useMergeProps($n),{prefixCls:_n,operationRef:Pn,onViewDateChange:In,generateConfig:Nn,value:Rn,viewDate:Dn,sourceMode:Ln,onSelect:Fn,onPanelChange:Bn}=Cn,Hn=`${_n}-year-panel`;Pn.value={onKeydown:Wn=>createKeydownHandler(Wn,{onLeftRight:Yn=>{Fn(Nn.addYear(Rn||Dn,Yn),"key")},onCtrlLeftRight:Yn=>{Fn(Nn.addYear(Rn||Dn,Yn*YEAR_DECADE_COUNT),"key")},onUpDown:Yn=>{Fn(Nn.addYear(Rn||Dn,Yn*YEAR_COL_COUNT),"key")},onEnter:()=>{Bn(Ln==="date"?"date":"month",Rn||Dn)}})};const zn=Wn=>{const Yn=Nn.addYear(Dn,Wn*10);In(Yn),Bn(null,Yn)};return createVNode("div",{class:Hn},[createVNode(YearHeader,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onPrevDecade:()=>{zn(-1)},onNextDecade:()=>{zn(1)},onDecadeClick:()=>{Bn("decade",Dn)}}),null),createVNode(YearBody,_objectSpread2$1(_objectSpread2$1({},Cn),{},{prefixCls:_n,onSelect:Wn=>{Bn(Ln==="date"?"date":"month",Wn),Fn(Wn,"mouse")}}),null)])}YearPanel.displayName="YearPanel";YearPanel.inheritAttrs=!1;function getExtraFooter($n,Cn,_n){return _n?createVNode("div",{class:`${$n}-footer-extra`},[_n(Cn)]):null}function getRanges($n){let{prefixCls:Cn,components:_n={},needConfirmButton:Pn,onNow:In,onOk:Nn,okDisabled:Rn,showNow:Dn,locale:Ln}=$n,Fn,Bn;if(Pn){const Hn=_n.button||"button";In&&Dn!==!1&&(Fn=createVNode("li",{class:`${Cn}-now`},[createVNode("a",{class:`${Cn}-now-btn`,onClick:In},[Ln.now])])),Bn=Pn&&createVNode("li",{class:`${Cn}-ok`},[createVNode(Hn,{disabled:Rn,onClick:zn=>{zn.stopPropagation(),Nn&&Nn()}},{default:()=>[Ln.ok]})])}return!Fn&&!Bn?null:createVNode("ul",{class:`${Cn}-ranges`},[Fn,Bn])}function PickerPanel(){return defineComponent({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup($n,Cn){let{attrs:_n}=Cn;const Pn=computed(()=>$n.picker==="date"&&!!$n.showTime||$n.picker==="time"),In=computed(()=>24%$n.hourStep===0),Nn=computed(()=>60%$n.minuteStep===0),Rn=computed(()=>60%$n.secondStep===0),Dn=useInjectPanel(),{operationRef:Ln,onSelect:Fn,hideRanges:Bn,defaultOpenValue:Hn}=Dn,{inRange:zn,panelPosition:Wn,rangedValue:Yn,hoverRangedValue:Gn}=useInjectRange(),Go=ref({}),[Xn,Yo]=useMergedState(null,{value:toRef($n,"value"),defaultValue:$n.defaultValue,postState:sa=>!sa&&(Hn!=null&&Hn.value)&&$n.picker==="time"?Hn.value:sa}),[qo,Jo]=useMergedState(null,{value:toRef($n,"pickerValue"),defaultValue:$n.defaultPickerValue||Xn.value,postState:sa=>{const{generateConfig:ia,showTime:fa,defaultValue:ma}=$n,ya=ia.getNow();return sa?!Xn.value&&$n.showTime?typeof fa=="object"?setDateTime(ia,Array.isArray(sa)?sa[0]:sa,fa.defaultValue||ya):ma?setDateTime(ia,Array.isArray(sa)?sa[0]:sa,ma):setDateTime(ia,Array.isArray(sa)?sa[0]:sa,ya):sa:ya}}),Zo=sa=>{Jo(sa),$n.onPickerValueChange&&$n.onPickerValueChange(sa)},rr=sa=>{const ia=PickerModeMap[$n.picker];return ia?ia(sa):sa},[nr,ta]=useMergedState(()=>$n.picker==="time"?"time":rr("date"),{value:toRef($n,"mode")});watch(()=>$n.picker,()=>{ta($n.picker)});const oa=ref(nr.value),ra=sa=>{oa.value=sa},ea=(sa,ia)=>{const{onPanelChange:fa,generateConfig:ma}=$n,ya=rr(sa||nr.value);ra(nr.value),ta(ya),fa&&(nr.value!==ya||isEqual$1(ma,qo.value,qo.value))&&fa(ia,ya)},la=function(sa,ia){let fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:ma,generateConfig:ya,onSelect:ba,onChange:Ia,disabledDate:Ea}=$n;(nr.value===ma||fa)&&(Yo(sa),ba&&ba(sa),Fn&&Fn(sa,ia),Ia&&!isEqual$1(ya,sa,Xn.value)&&!(Ea!=null&&Ea(sa))&&Ia(sa))},ua=sa=>Go.value&&Go.value.onKeydown?([KeyCode$1.LEFT,KeyCode$1.RIGHT,KeyCode$1.UP,KeyCode$1.DOWN,KeyCode$1.PAGE_UP,KeyCode$1.PAGE_DOWN,KeyCode$1.ENTER].includes(sa.which)&&sa.preventDefault(),Go.value.onKeydown(sa)):!1,ga=sa=>{Go.value&&Go.value.onBlur&&Go.value.onBlur(sa)},aa=()=>{const{generateConfig:sa,hourStep:ia,minuteStep:fa,secondStep:ma}=$n,ya=sa.getNow(),ba=getLowerBoundTime(sa.getHour(ya),sa.getMinute(ya),sa.getSecond(ya),In.value?ia:1,Nn.value?fa:1,Rn.value?ma:1),Ia=setTime(sa,ya,ba[0],ba[1],ba[2]);la(Ia,"submit")},ca=computed(()=>{const{prefixCls:sa,direction:ia}=$n;return classNames(`${sa}-panel`,{[`${sa}-panel-has-range`]:Yn&&Yn.value&&Yn.value[0]&&Yn.value[1],[`${sa}-panel-has-range-hover`]:Gn&&Gn.value&&Gn.value[0]&&Gn.value[1],[`${sa}-panel-rtl`]:ia==="rtl"})});return useProvidePanel(_extends$1(_extends$1({},Dn),{mode:nr,hideHeader:computed(()=>{var sa;return $n.hideHeader!==void 0?$n.hideHeader:(sa=Dn.hideHeader)===null||sa===void 0?void 0:sa.value}),hidePrevBtn:computed(()=>zn.value&&Wn.value==="right"),hideNextBtn:computed(()=>zn.value&&Wn.value==="left")})),watch(()=>$n.value,()=>{$n.value&&Jo($n.value)}),()=>{const{prefixCls:sa="ant-picker",locale:ia,generateConfig:fa,disabledDate:ma,picker:ya="date",tabindex:ba=0,showNow:Ia,showTime:Ea,showToday:xa,renderExtraFooter:Ta,onMousedown:wa,onOk:La,components:Na}=$n;Ln&&Wn.value!=="right"&&(Ln.value={onKeydown:ua,onClose:()=>{Go.value&&Go.value.onClose&&Go.value.onClose()}});let $a;const ka=_extends$1(_extends$1(_extends$1({},_n),$n),{operationRef:Go,prefixCls:sa,viewDate:qo.value,value:Xn.value,onViewDateChange:Zo,sourceMode:oa.value,onPanelChange:ea,disabledDate:ma});switch(delete ka.onChange,delete ka.onSelect,nr.value){case"decade":$a=createVNode(DecadePanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;case"year":$a=createVNode(YearPanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;case"month":$a=createVNode(MonthPanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;case"quarter":$a=createVNode(QuarterPanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;case"week":$a=createVNode(WeekPanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;case"time":delete ka.showTime,$a=createVNode(TimePanel,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},ka),typeof Ea=="object"?Ea:null),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null);break;default:Ea?$a=createVNode(DatetimePanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null):$a=createVNode(DatePanel,_objectSpread2$1(_objectSpread2$1({},ka),{},{onSelect:(Sa,Aa)=>{Zo(Sa),la(Sa,Aa)}}),null)}let Ha,da;Bn!=null&&Bn.value||(Ha=getExtraFooter(sa,nr.value,Ta),da=getRanges({prefixCls:sa,components:Na,needConfirmButton:Pn.value,okDisabled:!Xn.value||ma&&ma(Xn.value),locale:ia,showNow:Ia,onNow:Pn.value&&aa,onOk:()=>{Xn.value&&(la(Xn.value,"submit",!0),La&&La(Xn.value))}}));let pa;if(xa&&nr.value==="date"&&ya==="date"&&!Ea){const Sa=fa.getNow(),Aa=`${sa}-today-btn`,Ra=ma&&ma(Sa);pa=createVNode("a",{class:classNames(Aa,Ra&&`${Aa}-disabled`),"aria-disabled":Ra,onClick:()=>{Ra||la(Sa,"mouse",!0)}},[ia.today])}return createVNode("div",{tabindex:ba,class:classNames(ca.value,_n.class),style:_n.style,onKeydown:ua,onBlur:ga,onMousedown:wa},[$a,Ha||da||pa?createVNode("div",{class:`${sa}-footer`},[Ha,da,pa]):null])}}})}const InterPickerPanel=PickerPanel(),PickerPanel$1=$n=>createVNode(InterPickerPanel,$n),BUILT_IN_PLACEMENTS$1={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function PickerTrigger($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn,popupStyle:In,visible:Nn,dropdownClassName:Rn,dropdownAlign:Dn,transitionName:Ln,getPopupContainer:Fn,range:Bn,popupPlacement:Hn,direction:zn}=useMergeProps($n),Wn=`${Pn}-dropdown`;return createVNode(Trigger,{showAction:[],hideAction:[],popupPlacement:Hn!==void 0?Hn:zn==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:BUILT_IN_PLACEMENTS$1,prefixCls:Wn,popupTransitionName:Ln,popupAlign:Dn,popupVisible:Nn,popupClassName:classNames(Rn,{[`${Wn}-range`]:Bn,[`${Wn}-rtl`]:zn==="rtl"}),popupStyle:In,getPopupContainer:Fn},{default:_n.default,popup:_n.popupElement})}const PresetPanel=defineComponent({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup($n){return()=>$n.presets.length?createVNode("div",{class:`${$n.prefixCls}-presets`},[createVNode("ul",null,[$n.presets.map((Cn,_n)=>{let{label:Pn,value:In}=Cn;return createVNode("li",{key:_n,onClick:()=>{$n.onClick(In)},onMouseenter:()=>{var Nn;(Nn=$n.onHover)===null||Nn===void 0||Nn.call($n,In)},onMouseleave:()=>{var Nn;(Nn=$n.onHover)===null||Nn===void 0||Nn.call($n,null)}},[Pn])})])]):null}});function usePickerInput($n){let{open:Cn,value:_n,isClickOutside:Pn,triggerOpen:In,forwardKeydown:Nn,onKeydown:Rn,blurToCancel:Dn,onSubmit:Ln,onCancel:Fn,onFocus:Bn,onBlur:Hn}=$n;const zn=shallowRef(!1),Wn=shallowRef(!1),Yn=shallowRef(!1),Gn=shallowRef(!1),Go=shallowRef(!1),Xn=computed(()=>({onMousedown:()=>{zn.value=!0,In(!0)},onKeydown:qo=>{if(Rn(qo,()=>{Go.value=!0}),!Go.value){switch(qo.which){case KeyCode$1.ENTER:{Cn.value?Ln()!==!1&&(zn.value=!0):In(!0),qo.preventDefault();return}case KeyCode$1.TAB:{zn.value&&Cn.value&&!qo.shiftKey?(zn.value=!1,qo.preventDefault()):!zn.value&&Cn.value&&!Nn(qo)&&qo.shiftKey&&(zn.value=!0,qo.preventDefault());return}case KeyCode$1.ESC:{zn.value=!0,Fn();return}}!Cn.value&&![KeyCode$1.SHIFT].includes(qo.which)?In(!0):zn.value||Nn(qo)}},onFocus:qo=>{zn.value=!0,Wn.value=!0,Bn&&Bn(qo)},onBlur:qo=>{if(Yn.value||!Pn(document.activeElement)){Yn.value=!1;return}Dn.value?setTimeout(()=>{let{activeElement:Jo}=document;for(;Jo&&Jo.shadowRoot;)Jo=Jo.shadowRoot.activeElement;Pn(Jo)&&Fn()},0):Cn.value&&(In(!1),Gn.value&&Ln()),Wn.value=!1,Hn&&Hn(qo)}}));watch(Cn,()=>{Gn.value=!1}),watch(_n,()=>{Gn.value=!0});const Yo=shallowRef();return onMounted(()=>{Yo.value=addGlobalMousedownEvent(qo=>{const Jo=getTargetFromEvent(qo);if(Cn.value){const Zo=Pn(Jo);Zo?(!Wn.value||Zo)&&In(!1):(Yn.value=!0,wrapperRaf(()=>{Yn.value=!1}))}})}),onBeforeUnmount(()=>{Yo.value&&Yo.value()}),[Xn,{focused:Wn,typing:zn}]}function useTextValueMapping($n){let{valueTexts:Cn,onTextChange:_n}=$n;const Pn=ref("");function In(Rn){Pn.value=Rn,_n(Rn)}function Nn(){Pn.value=Cn.value[0]}return watch(()=>[...Cn.value],function(Rn){let Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];Rn.join("||")!==Dn.join("||")&&Cn.value.every(Ln=>Ln!==Pn.value)&&Nn()},{immediate:!0}),[Pn,In,Nn]}function useValueTexts($n,Cn){let{formatList:_n,generateConfig:Pn,locale:In}=Cn;const Nn=useMemo(()=>{if(!$n.value)return[[""],""];let Ln="";const Fn=[];for(let Bn=0;Bn<_n.value.length;Bn+=1){const Hn=_n.value[Bn],zn=formatValue($n.value,{generateConfig:Pn.value,locale:In.value,format:Hn});Fn.push(zn),Bn===0&&(Ln=zn)}return[Fn,Ln]},[$n,_n],(Ln,Fn)=>Fn[0]!==Ln[0]||!shallowequal(Fn[1],Ln[1])),Rn=computed(()=>Nn.value[0]),Dn=computed(()=>Nn.value[1]);return[Rn,Dn]}function useHoverValue($n,Cn){let{formatList:_n,generateConfig:Pn,locale:In}=Cn;const Nn=ref(null);let Rn;function Dn(Hn){let zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(wrapperRaf.cancel(Rn),zn){Nn.value=Hn;return}Rn=wrapperRaf(()=>{Nn.value=Hn})}const[,Ln]=useValueTexts(Nn,{formatList:_n,generateConfig:Pn,locale:In});function Fn(Hn){Dn(Hn)}function Bn(){let Hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Dn(null,Hn)}return watch($n,()=>{Bn(!0)}),onBeforeUnmount(()=>{wrapperRaf.cancel(Rn)}),[Ln,Fn,Bn]}function usePresets($n,Cn){return computed(()=>$n!=null&&$n.value?$n.value:Cn!=null&&Cn.value?(warningOnce(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(Cn.value).map(Pn=>{const In=Cn.value[Pn],Nn=typeof In=="function"?In():In;return{label:Pn,value:Nn}})):[])}function Picker(){return defineComponent({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup($n,Cn){let{attrs:_n,expose:Pn}=Cn;const In=ref(null),Nn=computed(()=>$n.presets),Rn=usePresets(Nn),Dn=computed(()=>{var ma;return(ma=$n.picker)!==null&&ma!==void 0?ma:"date"}),Ln=computed(()=>Dn.value==="date"&&!!$n.showTime||Dn.value==="time"),Fn=computed(()=>toArray$6(getDefaultFormat($n.format,Dn.value,$n.showTime,$n.use12Hours))),Bn=ref(null),Hn=ref(null),zn=ref(null),[Wn,Yn]=useMergedState(null,{value:toRef($n,"value"),defaultValue:$n.defaultValue}),Gn=ref(Wn.value),Go=ma=>{Gn.value=ma},Xn=ref(null),[Yo,qo]=useMergedState(!1,{value:toRef($n,"open"),defaultValue:$n.defaultOpen,postState:ma=>$n.disabled?!1:ma,onChange:ma=>{$n.onOpenChange&&$n.onOpenChange(ma),!ma&&Xn.value&&Xn.value.onClose&&Xn.value.onClose()}}),[Jo,Zo]=useValueTexts(Gn,{formatList:Fn,generateConfig:toRef($n,"generateConfig"),locale:toRef($n,"locale")}),[rr,nr,ta]=useTextValueMapping({valueTexts:Jo,onTextChange:ma=>{const ya=parseValue$1(ma,{locale:$n.locale,formatList:Fn.value,generateConfig:$n.generateConfig});ya&&(!$n.disabledDate||!$n.disabledDate(ya))&&Go(ya)}}),oa=ma=>{const{onChange:ya,generateConfig:ba,locale:Ia}=$n;Go(ma),Yn(ma),ya&&!isEqual$1(ba,Wn.value,ma)&&ya(ma,ma?formatValue(ma,{generateConfig:ba,locale:Ia,format:Fn.value[0]}):"")},ra=ma=>{$n.disabled&&ma||qo(ma)},ea=ma=>Yo.value&&Xn.value&&Xn.value.onKeydown?Xn.value.onKeydown(ma):!1,la=function(){$n.onMouseup&&$n.onMouseup(...arguments),In.value&&(In.value.focus(),ra(!0))},[ua,{focused:ga,typing:aa}]=usePickerInput({blurToCancel:Ln,open:Yo,value:rr,triggerOpen:ra,forwardKeydown:ea,isClickOutside:ma=>!elementsContains([Bn.value,Hn.value,zn.value],ma),onSubmit:()=>!Gn.value||$n.disabledDate&&$n.disabledDate(Gn.value)?!1:(oa(Gn.value),ra(!1),ta(),!0),onCancel:()=>{ra(!1),Go(Wn.value),ta()},onKeydown:(ma,ya)=>{var ba;(ba=$n.onKeydown)===null||ba===void 0||ba.call($n,ma,ya)},onFocus:ma=>{var ya;(ya=$n.onFocus)===null||ya===void 0||ya.call($n,ma)},onBlur:ma=>{var ya;(ya=$n.onBlur)===null||ya===void 0||ya.call($n,ma)}});watch([Yo,Jo],()=>{Yo.value||(Go(Wn.value),!Jo.value.length||Jo.value[0]===""?nr(""):Zo.value!==rr.value&&ta())}),watch(Dn,()=>{Yo.value||ta()}),watch(Wn,()=>{Go(Wn.value)});const[ca,sa,ia]=useHoverValue(rr,{formatList:Fn,generateConfig:toRef($n,"generateConfig"),locale:toRef($n,"locale")}),fa=(ma,ya)=>{(ya==="submit"||ya!=="key"&&!Ln.value)&&(oa(ma),ra(!1))};return useProvidePanel({operationRef:Xn,hideHeader:computed(()=>Dn.value==="time"),onSelect:fa,open:Yo,defaultOpenValue:toRef($n,"defaultOpenValue"),onDateMouseenter:sa,onDateMouseleave:ia}),Pn({focus:()=>{In.value&&In.value.focus()},blur:()=>{In.value&&In.value.blur()}}),()=>{const{prefixCls:ma="rc-picker",id:ya,tabindex:ba,dropdownClassName:Ia,dropdownAlign:Ea,popupStyle:xa,transitionName:Ta,generateConfig:wa,locale:La,inputReadOnly:Na,allowClear:$a,autofocus:ka,picker:Ha="date",defaultOpenValue:da,suffixIcon:pa,clearIcon:Sa,disabled:Aa,placeholder:Ra,getPopupContainer:Fa,panelRender:za,onMousedown:Wa,onMouseenter:Ya,onMouseleave:ja,onContextmenu:qa,onClick:Xa,onSelect:Oa,direction:Ma,autocomplete:Ua="off"}=$n,Qa=_extends$1(_extends$1(_extends$1({},$n),_n),{class:classNames({[`${ma}-panel-focused`]:!aa.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let ri=createVNode("div",{class:`${ma}-panel-layout`},[createVNode(PresetPanel,{prefixCls:ma,presets:Rn.value,onClick:di=>{oa(di),ra(!1)}},null),createVNode(PickerPanel$1,_objectSpread2$1(_objectSpread2$1({},Qa),{},{generateConfig:wa,value:Gn.value,locale:La,tabindex:-1,onSelect:di=>{Oa==null||Oa(di),Go(di)},direction:Ma,onPanelChange:(di,gi)=>{const{onPanelChange:wi}=$n;ia(!0),wi==null||wi(di,gi)}}),null)]);za&&(ri=za(ri));const fi=createVNode("div",{class:`${ma}-panel-container`,ref:Bn,onMousedown:di=>{di.preventDefault()}},[ri]);let ei;pa&&(ei=createVNode("span",{class:`${ma}-suffix`},[pa]));let ti;$a&&Wn.value&&!Aa&&(ti=createVNode("span",{onMousedown:di=>{di.preventDefault(),di.stopPropagation()},onMouseup:di=>{di.preventDefault(),di.stopPropagation(),oa(null),ra(!1)},class:`${ma}-clear`,role:"button"},[Sa||createVNode("span",{class:`${ma}-clear-btn`},null)]));const ni=_extends$1(_extends$1(_extends$1(_extends$1({id:ya,tabindex:ba,disabled:Aa,readonly:Na||typeof Fn.value[0]=="function"||!aa.value,value:ca.value||rr.value,onInput:di=>{nr(di.target.value)},autofocus:ka,placeholder:Ra,ref:In,title:rr.value},ua.value),{size:getInputSize(Ha,Fn.value[0],wa)}),getDataOrAriaProps($n)),{autocomplete:Ua}),ui=$n.inputRender?$n.inputRender(ni):createVNode("input",ni,null),mi=Ma==="rtl"?"bottomRight":"bottomLeft";return createVNode("div",{ref:zn,class:classNames(ma,_n.class,{[`${ma}-disabled`]:Aa,[`${ma}-focused`]:ga.value,[`${ma}-rtl`]:Ma==="rtl"}),style:_n.style,onMousedown:Wa,onMouseup:la,onMouseenter:Ya,onMouseleave:ja,onContextmenu:qa,onClick:Xa},[createVNode("div",{class:classNames(`${ma}-input`,{[`${ma}-input-placeholder`]:!!ca.value}),ref:Hn},[ui,ei,ti]),createVNode(PickerTrigger,{visible:Yo.value,popupStyle:xa,prefixCls:ma,dropdownClassName:Ia,dropdownAlign:Ea,getPopupContainer:Fa,transitionName:Ta,popupPlacement:mi,direction:Ma},{default:()=>[createVNode("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>fi})])}}})}const Picker$1=Picker();function useRangeDisabled($n,Cn){let{picker:_n,locale:Pn,selectedValue:In,disabledDate:Nn,disabled:Rn,generateConfig:Dn}=$n;const Ln=computed(()=>getValue$2(In.value,0)),Fn=computed(()=>getValue$2(In.value,1));function Bn(Gn){return Dn.value.locale.getWeekFirstDate(Pn.value.locale,Gn)}function Hn(Gn){const Go=Dn.value.getYear(Gn),Xn=Dn.value.getMonth(Gn);return Go*100+Xn}function zn(Gn){const Go=Dn.value.getYear(Gn),Xn=getQuarter(Dn.value,Gn);return Go*10+Xn}return[Gn=>{var Go;if(Nn&&(!((Go=Nn==null?void 0:Nn.value)===null||Go===void 0)&&Go.call(Nn,Gn)))return!0;if(Rn[1]&&Fn)return!isSameDate(Dn.value,Gn,Fn.value)&&Dn.value.isAfter(Gn,Fn.value);if(Cn.value[1]&&Fn.value)switch(_n.value){case"quarter":return zn(Gn)>zn(Fn.value);case"month":return Hn(Gn)>Hn(Fn.value);case"week":return Bn(Gn)>Bn(Fn.value);default:return!isSameDate(Dn.value,Gn,Fn.value)&&Dn.value.isAfter(Gn,Fn.value)}return!1},Gn=>{var Go;if(!((Go=Nn.value)===null||Go===void 0)&&Go.call(Nn,Gn))return!0;if(Rn[0]&&Ln)return!isSameDate(Dn.value,Gn,Fn.value)&&Dn.value.isAfter(Ln.value,Gn);if(Cn.value[0]&&Ln.value)switch(_n.value){case"quarter":return zn(Gn)<zn(Ln.value);case"month":return Hn(Gn)<Hn(Ln.value);case"week":return Bn(Gn)<Bn(Ln.value);default:return!isSameDate(Dn.value,Gn,Ln.value)&&Dn.value.isAfter(Ln.value,Gn)}return!1}]}function getStartEndDistance($n,Cn,_n,Pn){const In=getClosingViewDate($n,_n,Pn,1);function Nn(Rn){return Rn($n,Cn)?"same":Rn(In,Cn)?"closing":"far"}switch(_n){case"year":return Nn((Rn,Dn)=>isSameDecade(Pn,Rn,Dn));case"quarter":case"month":return Nn((Rn,Dn)=>isSameYear(Pn,Rn,Dn));default:return Nn((Rn,Dn)=>isSameMonth(Pn,Rn,Dn))}}function getRangeViewDate($n,Cn,_n,Pn){const In=getValue$2($n,0),Nn=getValue$2($n,1);if(Cn===0)return In;if(In&&Nn)switch(getStartEndDistance(In,Nn,_n,Pn)){case"same":return In;case"closing":return In;default:return getClosingViewDate(Nn,_n,Pn,-1)}return In}function useRangeViewDates($n){let{values:Cn,picker:_n,defaultDates:Pn,generateConfig:In}=$n;const Nn=ref([getValue$2(Pn,0),getValue$2(Pn,1)]),Rn=ref(null),Dn=computed(()=>getValue$2(Cn.value,0)),Ln=computed(()=>getValue$2(Cn.value,1)),Fn=Wn=>Nn.value[Wn]?Nn.value[Wn]:getValue$2(Rn.value,Wn)||getRangeViewDate(Cn.value,Wn,_n.value,In.value)||Dn.value||Ln.value||In.value.getNow(),Bn=ref(null),Hn=ref(null);watchEffect(()=>{Bn.value=Fn(0),Hn.value=Fn(1)});function zn(Wn,Yn){if(Wn){let Gn=updateValues(Rn.value,Wn,Yn);Nn.value=updateValues(Nn.value,null,Yn)||[null,null];const Go=(Yn+1)%2;getValue$2(Cn.value,Go)||(Gn=updateValues(Gn,Wn,Go)),Rn.value=Gn}else(Dn.value||Ln.value)&&(Rn.value=null)}return[Bn,Hn,zn]}function tryOnScopeDispose$1($n){return getCurrentScope()?(onScopeDispose($n),!0):!1}function resolveUnref($n){return typeof $n=="function"?$n():unref($n)}function unrefElement$1($n){var Cn;const _n=resolveUnref($n);return(Cn=_n==null?void 0:_n.$el)!==null&&Cn!==void 0?Cn:_n}function tryOnMounted$1($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;getCurrentInstance()?onMounted($n):Cn?$n():nextTick($n)}function useSupported($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const _n=shallowRef(),Pn=()=>_n.value=!!$n();return Pn(),tryOnMounted$1(Pn,Cn),_n}var _a;const isClient$1=typeof window<"u";isClient$1&&(!((_a=window==null?void 0:window.navigator)===null||_a===void 0)&&_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const defaultWindow$1=isClient$1?window:void 0;var __rest$Z=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function useResizeObserver($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:Pn=defaultWindow$1}=_n,In=__rest$Z(_n,["window"]);let Nn;const Rn=useSupported(()=>Pn&&"ResizeObserver"in Pn),Dn=()=>{Nn&&(Nn.disconnect(),Nn=void 0)},Ln=watch(()=>unrefElement$1($n),Bn=>{Dn(),Rn.value&&Pn&&Bn&&(Nn=new ResizeObserver(Cn),Nn.observe(Bn,In))},{immediate:!0,flush:"post"}),Fn=()=>{Dn(),Ln()};return tryOnScopeDispose$1(Fn),{isSupported:Rn,stop:Fn}}function useElementSize($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:Pn="content-box"}=_n,In=shallowRef(Cn.width),Nn=shallowRef(Cn.height);return useResizeObserver($n,Rn=>{let[Dn]=Rn;const Ln=Pn==="border-box"?Dn.borderBoxSize:Pn==="content-box"?Dn.contentBoxSize:Dn.devicePixelContentBoxSize;Ln?(In.value=Ln.reduce((Fn,Bn)=>{let{inlineSize:Hn}=Bn;return Fn+Hn},0),Nn.value=Ln.reduce((Fn,Bn)=>{let{blockSize:Hn}=Bn;return Fn+Hn},0)):(In.value=Dn.contentRect.width,Nn.value=Dn.contentRect.height)},_n),watch(()=>unrefElement$1($n),Rn=>{In.value=Rn?Cn.width:0,Nn.value=Rn?Cn.height:0}),{width:In,height:Nn}}function reorderValues($n,Cn){return $n&&$n[0]&&$n[1]&&Cn.isAfter($n[0],$n[1])?[$n[1],$n[0]]:$n}function canValueTrigger($n,Cn,_n,Pn){return!!($n||Pn&&Pn[Cn]||_n[(Cn+1)%2])}function RangerPicker(){return defineComponent({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup($n,Cn){let{attrs:_n,expose:Pn}=Cn;const In=computed(()=>$n.picker==="date"&&!!$n.showTime||$n.picker==="time"),Nn=computed(()=>$n.presets),Rn=computed(()=>$n.ranges),Dn=usePresets(Nn,Rn),Ln=ref({}),Fn=ref(null),Bn=ref(null),Hn=ref(null),zn=ref(null),Wn=ref(null),Yn=ref(null),Gn=ref(null),Go=ref(null),Xn=computed(()=>toArray$6(getDefaultFormat($n.format,$n.picker,$n.showTime,$n.use12Hours))),[Yo,qo]=useMergedState(0,{value:toRef($n,"activePickerIndex")}),Jo=ref(null),Zo=computed(()=>{const{disabled:ci}=$n;return Array.isArray(ci)?ci:[ci||!1,ci||!1]}),[rr,nr]=useMergedState(null,{value:toRef($n,"value"),defaultValue:$n.defaultValue,postState:ci=>$n.picker==="time"&&!$n.order?ci:reorderValues(ci,$n.generateConfig)}),[ta,oa,ra]=useRangeViewDates({values:rr,picker:toRef($n,"picker"),defaultDates:$n.defaultPickerValue,generateConfig:toRef($n,"generateConfig")}),[ea,la]=useMergedState(rr.value,{postState:ci=>{let Ci=ci;if(Zo.value[0]&&Zo.value[1])return Ci;for(let bi=0;bi<2;bi+=1)Zo.value[bi]&&!getValue$2(Ci,bi)&&!getValue$2($n.allowEmpty,bi)&&(Ci=updateValues(Ci,$n.generateConfig.getNow(),bi));return Ci}}),[ua,ga]=useMergedState([$n.picker,$n.picker],{value:toRef($n,"mode")});watch(()=>$n.picker,()=>{ga([$n.picker,$n.picker])});const aa=(ci,Ci)=>{var bi;ga(ci),(bi=$n.onPanelChange)===null||bi===void 0||bi.call($n,Ci,ci)},[ca,sa]=useRangeDisabled({picker:toRef($n,"picker"),selectedValue:ea,locale:toRef($n,"locale"),disabled:Zo,disabledDate:toRef($n,"disabledDate"),generateConfig:toRef($n,"generateConfig")},Ln),[ia,fa]=useMergedState(!1,{value:toRef($n,"open"),defaultValue:$n.defaultOpen,postState:ci=>Zo.value[Yo.value]?!1:ci,onChange:ci=>{var Ci;(Ci=$n.onOpenChange)===null||Ci===void 0||Ci.call($n,ci),!ci&&Jo.value&&Jo.value.onClose&&Jo.value.onClose()}}),ma=computed(()=>ia.value&&Yo.value===0),ya=computed(()=>ia.value&&Yo.value===1),ba=ref(0),Ia=ref(0),Ea=ref(0),{width:xa}=useElementSize(Fn);watch([ia,xa],()=>{!ia.value&&Fn.value&&(Ea.value=xa.value)});const{width:Ta}=useElementSize(Bn),{width:wa}=useElementSize(Go),{width:La}=useElementSize(Hn),{width:Na}=useElementSize(Wn);watch([Yo,ia,Ta,wa,La,Na,()=>$n.direction],()=>{Ia.value=0,Yo.value?Hn.value&&Wn.value&&(Ia.value=La.value+Na.value,Ta.value&&wa.value&&Ia.value>Ta.value-wa.value-($n.direction==="rtl"||Go.value.offsetLeft>Ia.value?0:Go.value.offsetLeft)&&(ba.value=Ia.value)):Yo.value===0&&(ba.value=0)},{immediate:!0});const $a=ref();function ka(ci,Ci){if(ci)clearTimeout($a.value),Ln.value[Ci]=!0,qo(Ci),fa(ci),ia.value||ra(null,Ci);else if(Yo.value===Ci){fa(ci);const bi=Ln.value;$a.value=setTimeout(()=>{bi===Ln.value&&(Ln.value={})})}}function Ha(ci){ka(!0,ci),setTimeout(()=>{const Ci=[Yn,Gn][ci];Ci.value&&Ci.value.focus()},0)}function da(ci,Ci){let bi=ci,Bi=getValue$2(bi,0),nl=getValue$2(bi,1);const{generateConfig:el,locale:gl,picker:ll,order:Rl,onCalendarChange:ml,allowEmpty:hl,onChange:zi,showTime:Pl}=$n;Bi&&nl&&el.isAfter(Bi,nl)&&(ll==="week"&&!isSameWeek(el,gl.locale,Bi,nl)||ll==="quarter"&&!isSameQuarter(el,Bi,nl)||ll!=="week"&&ll!=="quarter"&&ll!=="time"&&!(Pl?isEqual$1(el,Bi,nl):isSameDate(el,Bi,nl))?(Ci===0?(bi=[Bi,null],nl=null):(Bi=null,bi=[null,nl]),Ln.value={[Ci]:!0}):(ll!=="time"||Rl!==!1)&&(bi=reorderValues(bi,el))),la(bi);const Cl=bi&&bi[0]?formatValue(bi[0],{generateConfig:el,locale:gl,format:Xn.value[0]}):"",Fl=bi&&bi[1]?formatValue(bi[1],{generateConfig:el,locale:gl,format:Xn.value[0]}):"";ml&&ml(bi,[Cl,Fl],{range:Ci===0?"start":"end"});const Bl=canValueTrigger(Bi,0,Zo.value,hl),vl=canValueTrigger(nl,1,Zo.value,hl);(bi===null||Bl&&vl)&&(nr(bi),zi&&(!isEqual$1(el,getValue$2(rr.value,0),Bi)||!isEqual$1(el,getValue$2(rr.value,1),nl))&&zi(bi,[Cl,Fl]));let yl=null;Ci===0&&!Zo.value[1]?yl=1:Ci===1&&!Zo.value[0]&&(yl=0),yl!==null&&yl!==Yo.value&&(!Ln.value[yl]||!getValue$2(bi,yl))&&getValue$2(bi,Ci)?Ha(yl):ka(!1,Ci)}const pa=ci=>ia&&Jo.value&&Jo.value.onKeydown?Jo.value.onKeydown(ci):!1,Sa={formatList:Xn,generateConfig:toRef($n,"generateConfig"),locale:toRef($n,"locale")},[Aa,Ra]=useValueTexts(computed(()=>getValue$2(ea.value,0)),Sa),[Fa,za]=useValueTexts(computed(()=>getValue$2(ea.value,1)),Sa),Wa=(ci,Ci)=>{const bi=parseValue$1(ci,{locale:$n.locale,formatList:Xn.value,generateConfig:$n.generateConfig});bi&&!(Ci===0?ca:sa)(bi)&&(la(updateValues(ea.value,bi,Ci)),ra(bi,Ci))},[Ya,ja,qa]=useTextValueMapping({valueTexts:Aa,onTextChange:ci=>Wa(ci,0)}),[Xa,Oa,Ma]=useTextValueMapping({valueTexts:Fa,onTextChange:ci=>Wa(ci,1)}),[Ua,Qa]=useState(null),[ri,fi]=useState(null),[ei,ti,ni]=useHoverValue(Ya,Sa),[ui,mi,di]=useHoverValue(Xa,Sa),gi=ci=>{fi(updateValues(ea.value,ci,Yo.value)),Yo.value===0?ti(ci):mi(ci)},wi=()=>{fi(updateValues(ea.value,null,Yo.value)),Yo.value===0?ni():di()},Ti=(ci,Ci)=>({forwardKeydown:pa,onBlur:bi=>{var Bi;(Bi=$n.onBlur)===null||Bi===void 0||Bi.call($n,bi)},isClickOutside:bi=>!elementsContains([Bn.value,Hn.value,zn.value,Fn.value],bi),onFocus:bi=>{var Bi;qo(ci),(Bi=$n.onFocus)===null||Bi===void 0||Bi.call($n,bi)},triggerOpen:bi=>{ka(bi,ci)},onSubmit:()=>{if(!ea.value||$n.disabledDate&&$n.disabledDate(ea.value[ci]))return!1;da(ea.value,ci),Ci()},onCancel:()=>{ka(!1,ci),la(rr.value),Ci()}}),[Ei,{focused:Ni,typing:Ri}]=usePickerInput(_extends$1(_extends$1({},Ti(0,qa)),{blurToCancel:In,open:ma,value:Ya,onKeydown:(ci,Ci)=>{var bi;(bi=$n.onKeydown)===null||bi===void 0||bi.call($n,ci,Ci)}})),[Zi,{focused:Qi,typing:Ji}]=usePickerInput(_extends$1(_extends$1({},Ti(1,Ma)),{blurToCancel:In,open:ya,value:Xa,onKeydown:(ci,Ci)=>{var bi;(bi=$n.onKeydown)===null||bi===void 0||bi.call($n,ci,Ci)}})),Yi=ci=>{var Ci;(Ci=$n.onClick)===null||Ci===void 0||Ci.call($n,ci),!ia.value&&!Yn.value.contains(ci.target)&&!Gn.value.contains(ci.target)&&(Zo.value[0]?Zo.value[1]||Ha(1):Ha(0))},rl=ci=>{var Ci;(Ci=$n.onMousedown)===null||Ci===void 0||Ci.call($n,ci),ia.value&&(Ni.value||Qi.value)&&!Yn.value.contains(ci.target)&&!Gn.value.contains(ci.target)&&ci.preventDefault()},yi=computed(()=>{var ci;return!((ci=rr.value)===null||ci===void 0)&&ci[0]?formatValue(rr.value[0],{locale:$n.locale,format:"YYYYMMDDHHmmss",generateConfig:$n.generateConfig}):""}),il=computed(()=>{var ci;return!((ci=rr.value)===null||ci===void 0)&&ci[1]?formatValue(rr.value[1],{locale:$n.locale,format:"YYYYMMDDHHmmss",generateConfig:$n.generateConfig}):""});watch([ia,Aa,Fa],()=>{ia.value||(la(rr.value),!Aa.value.length||Aa.value[0]===""?ja(""):Ra.value!==Ya.value&&qa(),!Fa.value.length||Fa.value[0]===""?Oa(""):za.value!==Xa.value&&Ma())}),watch([yi,il],()=>{la(rr.value)}),Pn({focus:()=>{Yn.value&&Yn.value.focus()},blur:()=>{Yn.value&&Yn.value.blur(),Gn.value&&Gn.value.blur()}});const Tl=computed(()=>ia.value&&ri.value&&ri.value[0]&&ri.value[1]&&$n.generateConfig.isAfter(ri.value[1],ri.value[0])?ri.value:null);function ul(){let ci=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:bi,showTime:Bi,dateRender:nl,direction:el,disabledTime:gl,prefixCls:ll,locale:Rl}=$n;let ml=Bi;if(Bi&&typeof Bi=="object"&&Bi.defaultValue){const zi=Bi.defaultValue;ml=_extends$1(_extends$1({},Bi),{defaultValue:getValue$2(zi,Yo.value)||void 0})}let hl=null;return nl&&(hl=zi=>{let{current:Pl,today:Cl}=zi;return nl({current:Pl,today:Cl,info:{range:Yo.value?"end":"start"}})}),createVNode(RangeContextProvider,{value:{inRange:!0,panelPosition:ci,rangedValue:Ua.value||ea.value,hoverRangedValue:Tl.value}},{default:()=>[createVNode(PickerPanel$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},$n),Ci),{},{dateRender:hl,showTime:ml,mode:ua.value[Yo.value],generateConfig:bi,style:void 0,direction:el,disabledDate:Yo.value===0?ca:sa,disabledTime:zi=>gl?gl(zi,Yo.value===0?"start":"end"):!1,class:classNames({[`${ll}-panel-focused`]:Yo.value===0?!Ri.value:!Ji.value}),value:getValue$2(ea.value,Yo.value),locale:Rl,tabIndex:-1,onPanelChange:(zi,Pl)=>{Yo.value===0&&ni(!0),Yo.value===1&&di(!0),aa(updateValues(ua.value,Pl,Yo.value),updateValues(ea.value,zi,Yo.value));let Cl=zi;ci==="right"&&ua.value[Yo.value]===Pl&&(Cl=getClosingViewDate(Cl,Pl,bi,-1)),ra(Cl,Yo.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Yo.value===0?getValue$2(ea.value,1):getValue$2(ea.value,0)}),null)]})}const ts=(ci,Ci)=>{const bi=updateValues(ea.value,ci,Yo.value);Ci==="submit"||Ci!=="key"&&!In.value?(da(bi,Yo.value),Yo.value===0?ni():di()):la(bi)};return useProvidePanel({operationRef:Jo,hideHeader:computed(()=>$n.picker==="time"),onDateMouseenter:gi,onDateMouseleave:wi,hideRanges:computed(()=>!0),onSelect:ts,open:ia}),()=>{const{prefixCls:ci="rc-picker",id:Ci,popupStyle:bi,dropdownClassName:Bi,transitionName:nl,dropdownAlign:el,getPopupContainer:gl,generateConfig:ll,locale:Rl,placeholder:ml,autofocus:hl,picker:zi="date",showTime:Pl,separator:Cl="~",disabledDate:Fl,panelRender:Bl,allowClear:vl,suffixIcon:ns,clearIcon:yl,inputReadOnly:js,renderExtraFooter:Ac,onMouseenter:Mc,onMouseleave:rc,onMouseup:ac,onOk:Hs,components:Dc,direction:ps,autocomplete:zs="off"}=$n,ic=ps==="rtl"?{right:`${Ia.value}px`}:{left:`${Ia.value}px`};function lc(){let bl;const jl=getExtraFooter(ci,ua.value[Yo.value],Ac),Es=getRanges({prefixCls:ci,components:Dc,needConfirmButton:In.value,okDisabled:!getValue$2(ea.value,Yo.value)||Fl&&Fl(ea.value[Yo.value]),locale:Rl,onOk:()=>{getValue$2(ea.value,Yo.value)&&(da(ea.value,Yo.value),Hs&&Hs(ea.value))}});if(zi!=="time"&&!Pl){const Ul=Yo.value===0?ta.value:oa.value,Ks=getClosingViewDate(Ul,zi,ll),ms=ua.value[Yo.value]===zi,Gl=ul(ms?"left":!1,{pickerValue:Ul,onPickerValueChange:Ns=>{ra(Ns,Yo.value)}}),Us=ul("right",{pickerValue:Ks,onPickerValueChange:Ns=>{ra(getClosingViewDate(Ns,zi,ll,-1),Yo.value)}});ps==="rtl"?bl=createVNode(Fragment,null,[Us,ms&&Gl]):bl=createVNode(Fragment,null,[Gl,ms&&Us])}else bl=ul();let gs=createVNode("div",{class:`${ci}-panel-layout`},[createVNode(PresetPanel,{prefixCls:ci,presets:Dn.value,onClick:Ul=>{da(Ul,null),ka(!1,Yo.value)},onHover:Ul=>{Qa(Ul)}},null),createVNode("div",null,[createVNode("div",{class:`${ci}-panels`},[bl]),(jl||Es)&&createVNode("div",{class:`${ci}-footer`},[jl,Es])])]);return Bl&&(gs=Bl(gs)),createVNode("div",{class:`${ci}-panel-container`,style:{marginLeft:`${ba.value}px`},ref:Bn,onMousedown:Ul=>{Ul.preventDefault()}},[gs])}const Ws=createVNode("div",{class:classNames(`${ci}-range-wrapper`,`${ci}-${zi}-range-wrapper`),style:{minWidth:`${Ea.value}px`}},[createVNode("div",{ref:Go,class:`${ci}-range-arrow`,style:ic},null),lc()]);let Ps;ns&&(Ps=createVNode("span",{class:`${ci}-suffix`},[ns]));let Is;vl&&(getValue$2(rr.value,0)&&!Zo.value[0]||getValue$2(rr.value,1)&&!Zo.value[1])&&(Is=createVNode("span",{onMousedown:bl=>{bl.preventDefault(),bl.stopPropagation()},onMouseup:bl=>{bl.preventDefault(),bl.stopPropagation();let jl=rr.value;Zo.value[0]||(jl=updateValues(jl,null,0)),Zo.value[1]||(jl=updateValues(jl,null,1)),da(jl,null),ka(!1,Yo.value)},class:`${ci}-clear`},[yl||createVNode("span",{class:`${ci}-clear-btn`},null)]));const sc={size:getInputSize(zi,Xn.value[0],ll)};let Os=0,is=0;Hn.value&&zn.value&&Wn.value&&(Yo.value===0?is=Hn.value.offsetWidth:(Os=Ia.value,is=zn.value.offsetWidth));const cc=ps==="rtl"?{right:`${Os}px`}:{left:`${Os}px`};return createVNode("div",_objectSpread2$1({ref:Fn,class:classNames(ci,`${ci}-range`,_n.class,{[`${ci}-disabled`]:Zo.value[0]&&Zo.value[1],[`${ci}-focused`]:Yo.value===0?Ni.value:Qi.value,[`${ci}-rtl`]:ps==="rtl"}),style:_n.style,onClick:Yi,onMouseenter:Mc,onMouseleave:rc,onMousedown:rl,onMouseup:ac},getDataOrAriaProps($n)),[createVNode("div",{class:classNames(`${ci}-input`,{[`${ci}-input-active`]:Yo.value===0,[`${ci}-input-placeholder`]:!!ei.value}),ref:Hn},[createVNode("input",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({id:Ci,disabled:Zo.value[0],readonly:js||typeof Xn.value[0]=="function"||!Ri.value,value:ei.value||Ya.value,onInput:bl=>{ja(bl.target.value)},autofocus:hl,placeholder:getValue$2(ml,0)||"",ref:Yn},Ei.value),sc),{},{autocomplete:zs}),null)]),createVNode("div",{class:`${ci}-range-separator`,ref:Wn},[Cl]),createVNode("div",{class:classNames(`${ci}-input`,{[`${ci}-input-active`]:Yo.value===1,[`${ci}-input-placeholder`]:!!ui.value}),ref:zn},[createVNode("input",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({disabled:Zo.value[1],readonly:js||typeof Xn.value[0]=="function"||!Ji.value,value:ui.value||Xa.value,onInput:bl=>{Oa(bl.target.value)},placeholder:getValue$2(ml,1)||"",ref:Gn},Zi.value),sc),{},{autocomplete:zs}),null)]),createVNode("div",{class:`${ci}-active-bar`,style:_extends$1(_extends$1({},cc),{width:`${is}px`,position:"absolute"})},null),Ps,Is,createVNode(PickerTrigger,{visible:ia.value,popupStyle:bi,prefixCls:ci,dropdownClassName:Bi,dropdownAlign:el,getPopupContainer:gl,transitionName:nl,range:!0,direction:ps},{default:()=>[createVNode("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>Ws})])}}})}const InterRangerPicker=RangerPicker(),VCRangePicker=InterRangerPicker;var __rest$Y=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const checkboxProps$1={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:PropTypes.any,required:Boolean},VcCheckbox=defineComponent({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:initDefaultProps(checkboxProps$1,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup($n,Cn){let{attrs:_n,emit:Pn,expose:In}=Cn;const Nn=ref($n.checked===void 0?$n.defaultChecked:$n.checked),Rn=ref();watch(()=>$n.checked,()=>{Nn.value=$n.checked}),In({focus(){var Bn;(Bn=Rn.value)===null||Bn===void 0||Bn.focus()},blur(){var Bn;(Bn=Rn.value)===null||Bn===void 0||Bn.blur()}});const Dn=ref(),Ln=Bn=>{if($n.disabled)return;$n.checked===void 0&&(Nn.value=Bn.target.checked),Bn.shiftKey=Dn.value;const Hn={target:_extends$1(_extends$1({},$n),{checked:Bn.target.checked}),stopPropagation(){Bn.stopPropagation()},preventDefault(){Bn.preventDefault()},nativeEvent:Bn};$n.checked!==void 0&&(Rn.value.checked=!!$n.checked),Pn("change",Hn),Dn.value=!1},Fn=Bn=>{Pn("click",Bn),Dn.value=Bn.shiftKey};return()=>{const{prefixCls:Bn,name:Hn,id:zn,type:Wn,disabled:Yn,readonly:Gn,tabindex:Go,autofocus:Xn,value:Yo,required:qo}=$n,Jo=__rest$Y($n,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:Zo,onFocus:rr,onBlur:nr,onKeydown:ta,onKeypress:oa,onKeyup:ra}=_n,ea=_extends$1(_extends$1({},Jo),_n),la=Object.keys(ea).reduce((aa,ca)=>((ca.startsWith("data-")||ca.startsWith("aria-")||ca==="role")&&(aa[ca]=ea[ca]),aa),{}),ua=classNames(Bn,Zo,{[`${Bn}-checked`]:Nn.value,[`${Bn}-disabled`]:Yn}),ga=_extends$1(_extends$1({name:Hn,id:zn,type:Wn,readonly:Gn,disabled:Yn,tabindex:Go,class:`${Bn}-input`,checked:!!Nn.value,autofocus:Xn,value:Yo},la),{onChange:Ln,onClick:Fn,onFocus:rr,onBlur:nr,onKeydown:ta,onKeypress:oa,onKeyup:ra,required:qo});return createVNode("span",{class:ua},[createVNode("input",_objectSpread2$1({ref:Rn},ga),null),createVNode("span",{class:`${Bn}-inner`},null)])}}}),radioGroupContextKey=Symbol("radioGroupContextKey"),useProvideRadioGroupContext=$n=>{provide(radioGroupContextKey,$n)},useInjectRadioGroupContext=()=>inject(radioGroupContextKey,void 0),radioOptionTypeContextKey=Symbol("radioOptionTypeContextKey"),useProvideRadioOptionTypeContext=$n=>{provide(radioOptionTypeContextKey,$n)},useInjectRadioOptionTypeContext=()=>inject(radioOptionTypeContextKey,void 0),antRadioEffect=new Keyframes("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),getGroupRadioStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n,Pn=`${Cn}-group`;return{[Pn]:_extends$1(_extends$1({},resetComponent($n)),{display:"inline-block",fontSize:0,[`&${Pn}-rtl`]:{direction:"rtl"},[`${_n}-badge ${_n}-badge-count`]:{zIndex:1},[`> ${_n}-badge:not(:first-child) > ${_n}-button-wrapper`]:{borderInlineStart:"none"}})}},getRadioBasicStyle=$n=>{const{componentCls:Cn,radioWrapperMarginRight:_n,radioCheckedColor:Pn,radioSize:In,motionDurationSlow:Nn,motionDurationMid:Rn,motionEaseInOut:Dn,motionEaseInOutCirc:Ln,radioButtonBg:Fn,colorBorder:Bn,lineWidth:Hn,radioDotSize:zn,colorBgContainerDisabled:Wn,colorTextDisabled:Yn,paddingXS:Gn,radioDotDisabledColor:Go,lineType:Xn,radioDotDisabledSize:Yo,wireframe:qo,colorWhite:Jo}=$n,Zo=`${Cn}-inner`;return{[`${Cn}-wrapper`]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:_n,cursor:"pointer",[`&${Cn}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:$n.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${Cn}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Hn}px ${Xn} ${Pn}`,borderRadius:"50%",visibility:"hidden",animationName:antRadioEffect,animationDuration:Nn,animationTimingFunction:Dn,animationFillMode:"both",content:'""'},[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${Cn}-wrapper:hover &,
- &:hover ${Zo}`]:{borderColor:Pn},[`${Cn}-input:focus-visible + ${Zo}`]:_extends$1({},genFocusOutline($n)),[`${Cn}:hover::after, ${Cn}-wrapper:hover &::after`]:{visibility:"visible"},[`${Cn}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:In,height:In,marginBlockStart:In/-2,marginInlineStart:In/-2,backgroundColor:qo?Pn:Jo,borderBlockStart:0,borderInlineStart:0,borderRadius:In,transform:"scale(0)",opacity:0,transition:`all ${Nn} ${Ln}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:In,height:In,backgroundColor:Fn,borderColor:Bn,borderStyle:"solid",borderWidth:Hn,borderRadius:"50%",transition:`all ${Rn}`},[`${Cn}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${Cn}-checked`]:{[Zo]:{borderColor:Pn,backgroundColor:qo?Fn:Pn,"&::after":{transform:`scale(${zn/In})`,opacity:1,transition:`all ${Nn} ${Ln}`}}},[`${Cn}-disabled`]:{cursor:"not-allowed",[Zo]:{backgroundColor:Wn,borderColor:Bn,cursor:"not-allowed","&::after":{backgroundColor:Go}},[`${Cn}-input`]:{cursor:"not-allowed"},[`${Cn}-disabled + span`]:{color:Yn,cursor:"not-allowed"},[`&${Cn}-checked`]:{[Zo]:{"&::after":{transform:`scale(${Yo/In})`}}}},[`span${Cn} + *`]:{paddingInlineStart:Gn,paddingInlineEnd:Gn}})}},getRadioButtonStyle=$n=>{const{radioButtonColor:Cn,controlHeight:_n,componentCls:Pn,lineWidth:In,lineType:Nn,colorBorder:Rn,motionDurationSlow:Dn,motionDurationMid:Ln,radioButtonPaddingHorizontal:Fn,fontSize:Bn,radioButtonBg:Hn,fontSizeLG:zn,controlHeightLG:Wn,controlHeightSM:Yn,paddingXS:Gn,borderRadius:Go,borderRadiusSM:Xn,borderRadiusLG:Yo,radioCheckedColor:qo,radioButtonCheckedBg:Jo,radioButtonHoverColor:Zo,radioButtonActiveColor:rr,radioSolidCheckedColor:nr,colorTextDisabled:ta,colorBgContainerDisabled:oa,radioDisabledButtonCheckedColor:ra,radioDisabledButtonCheckedBg:ea}=$n;return{[`${Pn}-button-wrapper`]:{position:"relative",display:"inline-block",height:_n,margin:0,paddingInline:Fn,paddingBlock:0,color:Cn,fontSize:Bn,lineHeight:`${_n-In*2}px`,background:Hn,border:`${In}px ${Nn} ${Rn}`,borderBlockStartWidth:In+.02,borderInlineStartWidth:0,borderInlineEndWidth:In,cursor:"pointer",transition:[`color ${Ln}`,`background ${Ln}`,`border-color ${Ln}`,`box-shadow ${Ln}`].join(","),a:{color:Cn},[`> ${Pn}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-In,insetInlineStart:-In,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:In,paddingInline:0,backgroundColor:Rn,transition:`background-color ${Dn}`,content:'""'}},"&:first-child":{borderInlineStart:`${In}px ${Nn} ${Rn}`,borderStartStartRadius:Go,borderEndStartRadius:Go},"&:last-child":{borderStartEndRadius:Go,borderEndEndRadius:Go},"&:first-child:last-child":{borderRadius:Go},[`${Pn}-group-large &`]:{height:Wn,fontSize:zn,lineHeight:`${Wn-In*2}px`,"&:first-child":{borderStartStartRadius:Yo,borderEndStartRadius:Yo},"&:last-child":{borderStartEndRadius:Yo,borderEndEndRadius:Yo}},[`${Pn}-group-small &`]:{height:Yn,paddingInline:Gn-In,paddingBlock:0,lineHeight:`${Yn-In*2}px`,"&:first-child":{borderStartStartRadius:Xn,borderEndStartRadius:Xn},"&:last-child":{borderStartEndRadius:Xn,borderEndEndRadius:Xn}},"&:hover":{position:"relative",color:qo},"&:has(:focus-visible)":_extends$1({},genFocusOutline($n)),[`${Pn}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Pn}-button-wrapper-disabled)`]:{zIndex:1,color:qo,background:Jo,borderColor:qo,"&::before":{backgroundColor:qo},"&:first-child":{borderColor:qo},"&:hover":{color:Zo,borderColor:Zo,"&::before":{backgroundColor:Zo}},"&:active":{color:rr,borderColor:rr,"&::before":{backgroundColor:rr}}},[`${Pn}-group-solid &-checked:not(${Pn}-button-wrapper-disabled)`]:{color:nr,background:qo,borderColor:qo,"&:hover":{color:nr,background:Zo,borderColor:Zo},"&:active":{color:nr,background:rr,borderColor:rr}},"&-disabled":{color:ta,backgroundColor:oa,borderColor:Rn,cursor:"not-allowed","&:first-child, &:hover":{color:ta,backgroundColor:oa,borderColor:Rn}},[`&-disabled${Pn}-button-wrapper-checked`]:{color:ra,backgroundColor:ea,borderColor:Rn,boxShadow:"none"}}}},useStyle$L=genComponentStyleHook("Radio",$n=>{const{padding:Cn,lineWidth:_n,controlItemBgActiveDisabled:Pn,colorTextDisabled:In,colorBgContainer:Nn,fontSizeLG:Rn,controlOutline:Dn,colorPrimaryHover:Ln,colorPrimaryActive:Fn,colorText:Bn,colorPrimary:Hn,marginXS:zn,controlOutlineWidth:Wn,colorTextLightSolid:Yn,wireframe:Gn}=$n,Go=`0 0 0 ${Wn}px ${Dn}`,Xn=Go,Yo=Rn,qo=4,Jo=Yo-qo*2,Zo=Gn?Jo:Yo-(qo+_n)*2,rr=Hn,nr=Bn,ta=Ln,oa=Fn,ra=Cn-_n,ua=merge$1($n,{radioFocusShadow:Go,radioButtonFocusShadow:Xn,radioSize:Yo,radioDotSize:Zo,radioDotDisabledSize:Jo,radioCheckedColor:rr,radioDotDisabledColor:In,radioSolidCheckedColor:Yn,radioButtonBg:Nn,radioButtonCheckedBg:Nn,radioButtonColor:nr,radioButtonHoverColor:ta,radioButtonActiveColor:oa,radioButtonPaddingHorizontal:ra,radioDisabledButtonCheckedBg:Pn,radioDisabledButtonCheckedColor:In,radioWrapperMarginRight:zn});return[getGroupRadioStyle(ua),getRadioBasicStyle(ua),getRadioButtonStyle(ua)]});var __rest$X=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const radioProps=()=>({prefixCls:String,checked:booleanType(),disabled:booleanType(),isGroup:booleanType(),value:PropTypes.any,name:String,id:String,autofocus:booleanType(),onChange:functionType(),onFocus:functionType(),onBlur:functionType(),onClick:functionType(),"onUpdate:checked":functionType(),"onUpdate:value":functionType()}),Radio=defineComponent({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:radioProps(),setup($n,Cn){let{emit:_n,expose:Pn,slots:In,attrs:Nn}=Cn;const Rn=useInjectFormItemContext(),Dn=FormItemInputContext.useInject(),Ln=useInjectRadioOptionTypeContext(),Fn=useInjectRadioGroupContext(),Bn=useInjectDisabled(),Hn=computed(()=>{var ta;return(ta=Gn.value)!==null&&ta!==void 0?ta:Bn.value}),zn=ref(),{prefixCls:Wn,direction:Yn,disabled:Gn}=useConfigInject("radio",$n),Go=computed(()=>(Fn==null?void 0:Fn.optionType.value)==="button"||Ln==="button"?`${Wn.value}-button`:Wn.value),Xn=useInjectDisabled(),[Yo,qo]=useStyle$L(Wn);Pn({focus:()=>{zn.value.focus()},blur:()=>{zn.value.blur()}});const rr=ta=>{const oa=ta.target.checked;_n("update:checked",oa),_n("update:value",oa),_n("change",ta),Rn.onFieldChange()},nr=ta=>{_n("change",ta),Fn&&Fn.onChange&&Fn.onChange(ta)};return()=>{var ta;const oa=Fn,{prefixCls:ra,id:ea=Rn.id.value}=$n,la=__rest$X($n,["prefixCls","id"]),ua=_extends$1(_extends$1({prefixCls:Go.value,id:ea},omit$1(la,["onUpdate:checked","onUpdate:value"])),{disabled:(ta=Gn.value)!==null&&ta!==void 0?ta:Xn.value});oa?(ua.name=oa.name.value,ua.onChange=nr,ua.checked=$n.value===oa.value.value,ua.disabled=Hn.value||oa.disabled.value):ua.onChange=rr;const ga=classNames({[`${Go.value}-wrapper`]:!0,[`${Go.value}-wrapper-checked`]:ua.checked,[`${Go.value}-wrapper-disabled`]:ua.disabled,[`${Go.value}-wrapper-rtl`]:Yn.value==="rtl",[`${Go.value}-wrapper-in-form-item`]:Dn.isFormItemInput},Nn.class,qo.value);return Yo(createVNode("label",_objectSpread2$1(_objectSpread2$1({},Nn),{},{class:ga}),[createVNode(VcCheckbox,_objectSpread2$1(_objectSpread2$1({},ua),{},{type:"radio",ref:zn}),null),In.default&&createVNode("span",null,[In.default()])]))}}}),radioGroupProps=()=>({prefixCls:String,value:PropTypes.any,size:stringType(),options:arrayType(),disabled:booleanType(),name:String,buttonStyle:stringType("outline"),id:String,optionType:stringType("default"),onChange:functionType(),"onUpdate:value":functionType()}),Group$2=defineComponent({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:radioGroupProps(),setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const Nn=useInjectFormItemContext(),{prefixCls:Rn,direction:Dn,size:Ln}=useConfigInject("radio",$n),[Fn,Bn]=useStyle$L(Rn),Hn=ref($n.value),zn=ref(!1);return watch(()=>$n.value,Yn=>{Hn.value=Yn,zn.value=!1}),useProvideRadioGroupContext({onChange:Yn=>{const Gn=Hn.value,{value:Go}=Yn.target;"value"in $n||(Hn.value=Go),!zn.value&&Go!==Gn&&(zn.value=!0,Pn("update:value",Go),Pn("change",Yn),Nn.onFieldChange()),nextTick(()=>{zn.value=!1})},value:Hn,disabled:computed(()=>$n.disabled),name:computed(()=>$n.name),optionType:computed(()=>$n.optionType)}),()=>{var Yn;const{options:Gn,buttonStyle:Go,id:Xn=Nn.id.value}=$n,Yo=`${Rn.value}-group`,qo=classNames(Yo,`${Yo}-${Go}`,{[`${Yo}-${Ln.value}`]:Ln.value,[`${Yo}-rtl`]:Dn.value==="rtl"},In.class,Bn.value);let Jo=null;return Gn&&Gn.length>0?Jo=Gn.map(Zo=>{if(typeof Zo=="string"||typeof Zo=="number")return createVNode(Radio,{key:Zo,prefixCls:Rn.value,disabled:$n.disabled,value:Zo,checked:Hn.value===Zo},{default:()=>[Zo]});const{value:rr,disabled:nr,label:ta}=Zo;return createVNode(Radio,{key:`radio-group-value-options-${rr}`,prefixCls:Rn.value,disabled:nr||$n.disabled,value:rr,checked:Hn.value===rr},{default:()=>[ta]})}):Jo=(Yn=_n.default)===null||Yn===void 0?void 0:Yn.call(_n),Fn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{class:qo,id:Xn}),[Jo]))}}}),Button=defineComponent({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:radioProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In}=useConfigInject("radio",$n);return useProvideRadioOptionTypeContext("button"),()=>{var Nn;return createVNode(Radio,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Pn),$n),{},{prefixCls:In.value}),{default:()=>[(Nn=_n.default)===null||Nn===void 0?void 0:Nn.call(_n)]})}}});Radio.Group=Group$2;Radio.Button=Button;Radio.install=function($n){return $n.component(Radio.name,Radio),$n.component(Radio.Group.name,Radio.Group),$n.component(Radio.Button.name,Radio.Button),$n};const YearSelectOffset=10,YearSelectTotal=20;function YearSelect($n){const{fullscreen:Cn,validRange:_n,generateConfig:Pn,locale:In,prefixCls:Nn,value:Rn,onChange:Dn,divRef:Ln}=$n,Fn=Pn.getYear(Rn||Pn.getNow());let Bn=Fn-YearSelectOffset,Hn=Bn+YearSelectTotal;_n&&(Bn=Pn.getYear(_n[0]),Hn=Pn.getYear(_n[1])+1);const zn=In&&In.year==="年"?"年":"",Wn=[];for(let Yn=Bn;Yn<Hn;Yn++)Wn.push({label:`${Yn}${zn}`,value:Yn});return createVNode(VcSelect,{size:Cn?void 0:"small",options:Wn,value:Fn,class:`${Nn}-year-select`,onChange:Yn=>{let Gn=Pn.setYear(Rn,Yn);if(_n){const[Go,Xn]=_n,Yo=Pn.getYear(Gn),qo=Pn.getMonth(Gn);Yo===Pn.getYear(Xn)&&qo>Pn.getMonth(Xn)&&(Gn=Pn.setMonth(Gn,Pn.getMonth(Xn))),Yo===Pn.getYear(Go)&&qo<Pn.getMonth(Go)&&(Gn=Pn.setMonth(Gn,Pn.getMonth(Go)))}Dn(Gn)},getPopupContainer:()=>Ln.value},null)}YearSelect.inheritAttrs=!1;function MonthSelect($n){const{prefixCls:Cn,fullscreen:_n,validRange:Pn,value:In,generateConfig:Nn,locale:Rn,onChange:Dn,divRef:Ln}=$n,Fn=Nn.getMonth(In||Nn.getNow());let Bn=0,Hn=11;if(Pn){const[Yn,Gn]=Pn,Go=Nn.getYear(In);Nn.getYear(Gn)===Go&&(Hn=Nn.getMonth(Gn)),Nn.getYear(Yn)===Go&&(Bn=Nn.getMonth(Yn))}const zn=Rn.shortMonths||Nn.locale.getShortMonths(Rn.locale),Wn=[];for(let Yn=Bn;Yn<=Hn;Yn+=1)Wn.push({label:zn[Yn],value:Yn});return createVNode(VcSelect,{size:_n?void 0:"small",class:`${Cn}-month-select`,value:Fn,options:Wn,onChange:Yn=>{Dn(Nn.setMonth(In,Yn))},getPopupContainer:()=>Ln.value},null)}MonthSelect.inheritAttrs=!1;function ModeSwitch($n){const{prefixCls:Cn,locale:_n,mode:Pn,fullscreen:In,onModeChange:Nn}=$n;return createVNode(Group$2,{onChange:Rn=>{let{target:{value:Dn}}=Rn;Nn(Dn)},value:Pn,size:In?void 0:"small",class:`${Cn}-mode-switch`},{default:()=>[createVNode(Button,{value:"month"},{default:()=>[_n.month]}),createVNode(Button,{value:"year"},{default:()=>[_n.year]})]})}ModeSwitch.inheritAttrs=!1;const CalendarHeader=defineComponent({name:"CalendarHeader",inheritAttrs:!1,props:["mode","prefixCls","value","validRange","generateConfig","locale","mode","fullscreen"],setup($n,Cn){let{attrs:_n}=Cn;const Pn=ref(null),In=FormItemInputContext.useInject();return FormItemInputContext.useProvide(In,{isFormItemInput:!1}),()=>{const Nn=_extends$1(_extends$1({},$n),_n),{prefixCls:Rn,fullscreen:Dn,mode:Ln,onChange:Fn,onModeChange:Bn}=Nn,Hn=_extends$1(_extends$1({},Nn),{fullscreen:Dn,divRef:Pn});return createVNode("div",{class:`${Rn}-header`,ref:Pn},[createVNode(YearSelect,_objectSpread2$1(_objectSpread2$1({},Hn),{},{onChange:zn=>{Fn(zn,"year")}}),null),Ln==="month"&&createVNode(MonthSelect,_objectSpread2$1(_objectSpread2$1({},Hn),{},{onChange:zn=>{Fn(zn,"month")}}),null),createVNode(ModeSwitch,_objectSpread2$1(_objectSpread2$1({},Hn),{},{onModeChange:Bn}),null)])}}}),genPlaceholderStyle=$n=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:$n,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),genHoverStyle=$n=>({borderColor:$n.inputBorderHoverColor,borderInlineEndWidth:$n.lineWidth}),genActiveStyle=$n=>({borderColor:$n.inputBorderHoverColor,boxShadow:`0 0 0 ${$n.controlOutlineWidth}px ${$n.controlOutline}`,borderInlineEndWidth:$n.lineWidth,outline:0}),genDisabledStyle=$n=>({color:$n.colorTextDisabled,backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":_extends$1({},genHoverStyle(merge$1($n,{inputBorderHoverColor:$n.colorBorder})))}),genInputLargeStyle=$n=>{const{inputPaddingVerticalLG:Cn,fontSizeLG:_n,lineHeightLG:Pn,borderRadiusLG:In,inputPaddingHorizontalLG:Nn}=$n;return{padding:`${Cn}px ${Nn}px`,fontSize:_n,lineHeight:Pn,borderRadius:In}},genInputSmallStyle=$n=>({padding:`${$n.inputPaddingVerticalSM}px ${$n.controlPaddingHorizontalSM-1}px`,borderRadius:$n.borderRadiusSM}),genStatusStyle=($n,Cn)=>{const{componentCls:_n,colorError:Pn,colorWarning:In,colorErrorOutline:Nn,colorWarningOutline:Rn,colorErrorBorderHover:Dn,colorWarningBorderHover:Ln}=$n;return{[`&-status-error:not(${Cn}-disabled):not(${Cn}-borderless)${Cn}`]:{borderColor:Pn,"&:hover":{borderColor:Dn},"&:focus, &-focused":_extends$1({},genActiveStyle(merge$1($n,{inputBorderActiveColor:Pn,inputBorderHoverColor:Pn,controlOutline:Nn}))),[`${_n}-prefix`]:{color:Pn}},[`&-status-warning:not(${Cn}-disabled):not(${Cn}-borderless)${Cn}`]:{borderColor:In,"&:hover":{borderColor:Ln},"&:focus, &-focused":_extends$1({},genActiveStyle(merge$1($n,{inputBorderActiveColor:In,inputBorderHoverColor:In,controlOutline:Rn}))),[`${_n}-prefix`]:{color:In}}}},genBasicInputStyle=$n=>_extends$1(_extends$1({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${$n.inputPaddingVertical}px ${$n.inputPaddingHorizontal}px`,color:$n.colorText,fontSize:$n.fontSize,lineHeight:$n.lineHeight,backgroundColor:$n.colorBgContainer,backgroundImage:"none",borderWidth:$n.lineWidth,borderStyle:$n.lineType,borderColor:$n.colorBorder,borderRadius:$n.borderRadius,transition:`all ${$n.motionDurationMid}`},genPlaceholderStyle($n.colorTextPlaceholder)),{"&:hover":_extends$1({},genHoverStyle($n)),"&:focus, &-focused":_extends$1({},genActiveStyle($n)),"&-disabled, &[disabled]":_extends$1({},genDisabledStyle($n)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:$n.controlHeight,lineHeight:$n.lineHeight,verticalAlign:"bottom",transition:`all ${$n.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":_extends$1({},genInputLargeStyle($n)),"&-sm":_extends$1({},genInputSmallStyle($n)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),genInputGroupStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:$n.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Cn}, &-lg > ${Cn}-group-addon`]:_extends$1({},genInputLargeStyle($n)),[`&-sm ${Cn}, &-sm > ${Cn}-group-addon`]:_extends$1({},genInputSmallStyle($n)),[`> ${Cn}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Cn}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${$n.inputPaddingHorizontal}px`,color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize,textAlign:"center",backgroundColor:$n.colorFillAlter,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:$n.borderRadius,transition:`all ${$n.motionDurationSlow}`,lineHeight:1,[`${_n}-select`]:{margin:`-${$n.inputPaddingVertical+1}px -${$n.inputPaddingHorizontal}px`,[`&${_n}-select-single:not(${_n}-select-customize-input)`]:{[`${_n}-select-selector`]:{backgroundColor:"inherit",border:`${$n.lineWidth}px ${$n.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${_n}-select-selector`]:{color:$n.colorPrimary}}},[`${_n}-cascader-picker`]:{margin:`-9px -${$n.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${_n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${Cn}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Cn}-search-with-button &`]:{zIndex:0}}},[`> ${Cn}:first-child, ${Cn}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${_n}-select ${_n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Cn}-affix-wrapper`]:{[`&:not(:first-child) ${Cn}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Cn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Cn}:last-child, ${Cn}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${_n}-select ${_n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Cn}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Cn}-search &`]:{borderStartStartRadius:$n.borderRadius,borderEndStartRadius:$n.borderRadius}},[`&:not(:first-child), ${Cn}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Cn}-group-compact`]:_extends$1(_extends$1({display:"block"},clearFix()),{[`${Cn}-group-addon, ${Cn}-group-wrap, > ${Cn}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:$n.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${Cn}-affix-wrapper`]:{display:"inline-flex"},[`& > ${_n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-$n.lineWidth,borderInlineEndWidth:$n.lineWidth},[`${Cn}`]:{float:"none"},[`& > ${_n}-select > ${_n}-select-selector,
- & > ${_n}-select-auto-complete ${Cn},
- & > ${_n}-cascader-picker ${Cn},
- & > ${Cn}-group-wrapper ${Cn}`]:{borderInlineEndWidth:$n.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${_n}-select-focused`]:{zIndex:1},[`& > ${_n}-select > ${_n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
- & > ${_n}-select:first-child > ${_n}-select-selector,
- & > ${_n}-select-auto-complete:first-child ${Cn},
- & > ${_n}-cascader-picker:first-child ${Cn}`]:{borderStartStartRadius:$n.borderRadius,borderEndStartRadius:$n.borderRadius},[`& > *:last-child,
- & > ${_n}-select:last-child > ${_n}-select-selector,
- & > ${_n}-cascader-picker:last-child ${Cn},
- & > ${_n}-cascader-picker-focused:last-child ${Cn}`]:{borderInlineEndWidth:$n.lineWidth,borderStartEndRadius:$n.borderRadius,borderEndEndRadius:$n.borderRadius},[`& > ${_n}-select-auto-complete ${Cn}`]:{verticalAlign:"top"},[`${Cn}-group-wrapper + ${Cn}-group-wrapper`]:{marginInlineStart:-$n.lineWidth,[`${Cn}-affix-wrapper`]:{borderRadius:0}},[`${Cn}-group-wrapper:not(:last-child)`]:{[`&${Cn}-search > ${Cn}-group`]:{[`& > ${Cn}-group-addon > ${Cn}-search-button`]:{borderRadius:0},[`& > ${Cn}`]:{borderStartStartRadius:$n.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:$n.borderRadius}}}}),[`&&-sm ${_n}-btn`]:{fontSize:$n.fontSizeSM,height:$n.controlHeightSM,lineHeight:"normal"},[`&&-lg ${_n}-btn`]:{fontSize:$n.fontSizeLG,height:$n.controlHeightLG,lineHeight:"normal"},[`&&-lg ${_n}-select-single ${_n}-select-selector`]:{height:`${$n.controlHeightLG}px`,[`${_n}-select-selection-item, ${_n}-select-selection-placeholder`]:{lineHeight:`${$n.controlHeightLG-2}px`},[`${_n}-select-selection-search-input`]:{height:`${$n.controlHeightLG}px`}},[`&&-sm ${_n}-select-single ${_n}-select-selector`]:{height:`${$n.controlHeightSM}px`,[`${_n}-select-selection-item, ${_n}-select-selection-placeholder`]:{lineHeight:`${$n.controlHeightSM-2}px`},[`${_n}-select-selection-search-input`]:{height:`${$n.controlHeightSM}px`}}}},genInputStyle=$n=>{const{componentCls:Cn,controlHeightSM:_n,lineWidth:Pn}=$n,Nn=(_n-Pn*2-16)/2;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),genBasicInputStyle($n)),genStatusStyle($n,Cn)),{'&[type="color"]':{height:$n.controlHeight,[`&${Cn}-lg`]:{height:$n.controlHeightLG},[`&${Cn}-sm`]:{height:_n,paddingTop:Nn,paddingBottom:Nn}}})}},genAllowClearStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-clear-icon`]:{margin:0,color:$n.colorTextQuaternary,fontSize:$n.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${$n.motionDurationSlow}`,"&:hover":{color:$n.colorTextTertiary},"&:active":{color:$n.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${$n.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${Cn}-clear-icon`]:{position:"absolute",insetBlockStart:$n.paddingXS,insetInlineEnd:$n.paddingXS,zIndex:1}}}},genAffixStyle=$n=>{const{componentCls:Cn,inputAffixPadding:_n,colorTextDescription:Pn,motionDurationSlow:In,colorIcon:Nn,colorIconHover:Rn,iconCls:Dn}=$n;return{[`${Cn}-affix-wrapper`]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},genBasicInputStyle($n)),{display:"inline-flex",[`&:not(${Cn}-affix-wrapper-disabled):hover`]:_extends$1(_extends$1({},genHoverStyle($n)),{zIndex:1,[`${Cn}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Cn}[disabled]`]:{background:"transparent"}},[`> input${Cn}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${Cn}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:$n.paddingXS}},"&-show-count-suffix":{color:Pn},"&-show-count-has-suffix":{marginInlineEnd:$n.paddingXXS},"&-prefix":{marginInlineEnd:_n},"&-suffix":{marginInlineStart:_n}}}),genAllowClearStyle($n)),{[`${Dn}${Cn}-password-icon`]:{color:Nn,cursor:"pointer",transition:`all ${In}`,"&:hover":{color:Rn}}}),genStatusStyle($n,`${Cn}-affix-wrapper`))}},genGroupStyle=$n=>{const{componentCls:Cn,colorError:_n,colorSuccess:Pn,borderRadiusLG:In,borderRadiusSM:Nn}=$n;return{[`${Cn}-group`]:_extends$1(_extends$1(_extends$1({},resetComponent($n)),genInputGroupStyle($n)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Cn}-group-addon`]:{borderRadius:In}},"&-sm":{[`${Cn}-group-addon`]:{borderRadius:Nn}},"&-status-error":{[`${Cn}-group-addon`]:{color:_n,borderColor:_n}},"&-status-warning":{[`${Cn}-group-addon:last-child`]:{color:Pn,borderColor:Pn}}}})}},genSearchInputStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n,Pn=`${Cn}-search`;return{[Pn]:{[`${Cn}`]:{"&:hover, &:focus":{borderColor:$n.colorPrimaryHover,[`+ ${Cn}-group-addon ${Pn}-button:not(${_n}-btn-primary)`]:{borderInlineStartColor:$n.colorPrimaryHover}}},[`${Cn}-affix-wrapper`]:{borderRadius:0},[`${Cn}-lg`]:{lineHeight:$n.lineHeightLG-2e-4},[`> ${Cn}-group`]:{[`> ${Cn}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Pn}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:$n.borderRadius,borderEndEndRadius:$n.borderRadius,borderEndStartRadius:0},[`${Pn}-button:not(${_n}-btn-primary)`]:{color:$n.colorTextDescription,"&:hover":{color:$n.colorPrimaryHover},"&:active":{color:$n.colorPrimaryActive},[`&${_n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Pn}-button`]:{height:$n.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Pn}-button`]:{height:$n.controlHeightLG},[`&-small ${Pn}-button`]:{height:$n.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${Cn}-compact-item`]:{[`&:not(${Cn}-compact-last-item)`]:{[`${Cn}-group-addon`]:{[`${Cn}-search-button`]:{marginInlineEnd:-$n.lineWidth,borderRadius:0}}},[`&:not(${Cn}-compact-first-item)`]:{[`${Cn},${Cn}-affix-wrapper`]:{borderRadius:0}},[`> ${Cn}-group-addon ${Cn}-search-button,
- > ${Cn},
- ${Cn}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Cn}-affix-wrapper-focused`]:{zIndex:2}}}}};function initInputToken($n){return merge$1($n,{inputAffixPadding:$n.paddingXXS,inputPaddingVertical:Math.max(Math.round(($n.controlHeight-$n.fontSize*$n.lineHeight)/2*10)/10-$n.lineWidth,3),inputPaddingVerticalLG:Math.ceil(($n.controlHeightLG-$n.fontSizeLG*$n.lineHeightLG)/2*10)/10-$n.lineWidth,inputPaddingVerticalSM:Math.max(Math.round(($n.controlHeightSM-$n.fontSize*$n.lineHeight)/2*10)/10-$n.lineWidth,0),inputPaddingHorizontal:$n.paddingSM-$n.lineWidth,inputPaddingHorizontalSM:$n.paddingXS-$n.lineWidth,inputPaddingHorizontalLG:$n.controlPaddingHorizontal-$n.lineWidth,inputBorderHoverColor:$n.colorPrimaryHover,inputBorderActiveColor:$n.colorPrimaryHover})}const genTextAreaStyle=$n=>{const{componentCls:Cn,inputPaddingHorizontal:_n,paddingLG:Pn}=$n,In=`${Cn}-textarea`;return{[In]:{position:"relative",[`${In}-suffix`]:{position:"absolute",top:0,insetInlineEnd:_n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${In}-has-feedback`]:{[`${Cn}`]:{paddingInlineEnd:Pn}}},"&-show-count":{[`> ${Cn}`]:{height:"100%"},"&::after":{color:$n.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},useStyle$K=genComponentStyleHook("Input",$n=>{const Cn=initInputToken($n);return[genInputStyle(Cn),genTextAreaStyle(Cn),genAffixStyle(Cn),genGroupStyle(Cn),genSearchInputStyle(Cn),genCompactItemStyle(Cn)]}),genPikerPadding=($n,Cn,_n,Pn)=>{const{lineHeight:In}=$n,Nn=Math.floor(_n*In)+2,Rn=Math.max((Cn-Nn)/2,0),Dn=Math.max(Cn-Nn-Rn,0);return{padding:`${Rn}px ${Pn}px ${Dn}px`}},genPickerCellInnerStyle=$n=>{const{componentCls:Cn,pickerCellCls:_n,pickerCellInnerCls:Pn,pickerPanelCellHeight:In,motionDurationSlow:Nn,borderRadiusSM:Rn,motionDurationMid:Dn,controlItemBgHover:Ln,lineWidth:Fn,lineType:Bn,colorPrimary:Hn,controlItemBgActive:zn,colorTextLightSolid:Wn,controlHeightSM:Yn,pickerDateHoverRangeBorderColor:Gn,pickerCellBorderGap:Go,pickerBasicCellHoverWithRangeColor:Xn,pickerPanelCellWidth:Yo,colorTextDisabled:qo,colorBgContainerDisabled:Jo}=$n;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:In,transform:"translateY(-50%)",transition:`all ${Nn}`,content:'""'},[Pn]:{position:"relative",zIndex:2,display:"inline-block",minWidth:In,height:In,lineHeight:`${In}px`,borderRadius:Rn,transition:`background ${Dn}, border ${Dn}`},[`&:hover:not(${_n}-in-view),
- &:hover:not(${_n}-selected):not(${_n}-range-start):not(${_n}-range-end):not(${_n}-range-hover-start):not(${_n}-range-hover-end)`]:{[Pn]:{background:Ln}},[`&-in-view${_n}-today ${Pn}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Fn}px ${Bn} ${Hn}`,borderRadius:Rn,content:'""'}},[`&-in-view${_n}-in-range`]:{position:"relative","&::before":{background:zn}},[`&-in-view${_n}-selected ${Pn},
- &-in-view${_n}-range-start ${Pn},
- &-in-view${_n}-range-end ${Pn}`]:{color:Wn,background:Hn},[`&-in-view${_n}-range-start:not(${_n}-range-start-single),
- &-in-view${_n}-range-end:not(${_n}-range-end-single)`]:{"&::before":{background:zn}},[`&-in-view${_n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${_n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${_n}-range-hover-start:not(${_n}-in-range):not(${_n}-range-start):not(${_n}-range-end),
- &-in-view${_n}-range-hover-end:not(${_n}-in-range):not(${_n}-range-start):not(${_n}-range-end),
- &-in-view${_n}-range-hover-start${_n}-range-start-single,
- &-in-view${_n}-range-hover-start${_n}-range-start${_n}-range-end${_n}-range-end-near-hover,
- &-in-view${_n}-range-hover-end${_n}-range-start${_n}-range-end${_n}-range-start-near-hover,
- &-in-view${_n}-range-hover-end${_n}-range-end-single,
- &-in-view${_n}-range-hover:not(${_n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Yn,borderTop:`${Fn}px dashed ${Gn}`,borderBottom:`${Fn}px dashed ${Gn}`,transform:"translateY(-50%)",transition:`all ${Nn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Go},[`&-in-view${_n}-in-range${_n}-range-hover::before,
- &-in-view${_n}-range-start${_n}-range-hover::before,
- &-in-view${_n}-range-end${_n}-range-hover::before,
- &-in-view${_n}-range-start:not(${_n}-range-start-single)${_n}-range-hover-start::before,
- &-in-view${_n}-range-end:not(${_n}-range-end-single)${_n}-range-hover-end::before,
- ${Cn}-panel
- > :not(${Cn}-date-panel)
- &-in-view${_n}-in-range${_n}-range-hover-start::before,
- ${Cn}-panel
- > :not(${Cn}-date-panel)
- &-in-view${_n}-in-range${_n}-range-hover-end::before`]:{background:Xn},[`&-in-view${_n}-range-start:not(${_n}-range-start-single):not(${_n}-range-end) ${Pn}`]:{borderStartStartRadius:Rn,borderEndStartRadius:Rn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${_n}-range-end:not(${_n}-range-end-single):not(${_n}-range-start) ${Pn}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Rn,borderEndEndRadius:Rn},[`&-range-hover${_n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${_n}-range-hover:first-child::after,
- tr > &-in-view${_n}-range-hover-end:first-child::after,
- &-in-view${_n}-start${_n}-range-hover-edge-start${_n}-range-hover-edge-start-near-range::after,
- &-in-view${_n}-range-hover-edge-start:not(${_n}-range-hover-edge-start-near-range)::after,
- &-in-view${_n}-range-hover-start::after`]:{insetInlineStart:(Yo-In)/2,borderInlineStart:`${Fn}px dashed ${Gn}`,borderStartStartRadius:Fn,borderEndStartRadius:Fn},[`tr > &-in-view${_n}-range-hover:last-child::after,
- tr > &-in-view${_n}-range-hover-start:last-child::after,
- &-in-view${_n}-end${_n}-range-hover-edge-end${_n}-range-hover-edge-end-near-range::after,
- &-in-view${_n}-range-hover-edge-end:not(${_n}-range-hover-edge-end-near-range)::after,
- &-in-view${_n}-range-hover-end::after`]:{insetInlineEnd:(Yo-In)/2,borderInlineEnd:`${Fn}px dashed ${Gn}`,borderStartEndRadius:Fn,borderEndEndRadius:Fn},"&-disabled":{color:qo,pointerEvents:"none",[Pn]:{background:"transparent"},"&::before":{background:Jo}},[`&-disabled${_n}-today ${Pn}::before`]:{borderColor:qo}}},genPanelStyle=$n=>{const{componentCls:Cn,pickerCellInnerCls:_n,pickerYearMonthCellWidth:Pn,pickerControlIconSize:In,pickerPanelCellWidth:Nn,paddingSM:Rn,paddingXS:Dn,paddingXXS:Ln,colorBgContainer:Fn,lineWidth:Bn,lineType:Hn,borderRadiusLG:zn,colorPrimary:Wn,colorTextHeading:Yn,colorSplit:Gn,pickerControlIconBorderWidth:Go,colorIcon:Xn,pickerTextHeight:Yo,motionDurationMid:qo,colorIconHover:Jo,fontWeightStrong:Zo,pickerPanelCellHeight:rr,pickerCellPaddingVertical:nr,colorTextDisabled:ta,colorText:oa,fontSize:ra,pickerBasicCellHoverWithRangeColor:ea,motionDurationSlow:la,pickerPanelWithoutTimeCellHeight:ua,pickerQuarterPanelContentHeight:ga,colorLink:aa,colorLinkActive:ca,colorLinkHover:sa,pickerDateHoverRangeBorderColor:ia,borderRadiusSM:fa,colorTextLightSolid:ma,borderRadius:ya,controlItemBgHover:ba,pickerTimePanelColumnHeight:Ia,pickerTimePanelColumnWidth:Ea,pickerTimePanelCellHeight:xa,controlItemBgActive:Ta,marginXXS:wa}=$n,La=Nn*7+Rn*2+4,Na=(La-Dn*2)/3-Pn-Rn;return{[Cn]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Fn,border:`${Bn}px ${Hn} ${Gn}`,borderRadius:zn,outline:"none","&-focused":{borderColor:Wn},"&-rtl":{direction:"rtl",[`${Cn}-prev-icon,
- ${Cn}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Cn}-next-icon,
- ${Cn}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:La},"&-header":{display:"flex",padding:`0 ${Dn}px`,color:Yn,borderBottom:`${Bn}px ${Hn} ${Gn}`,"> *":{flex:"none"},button:{padding:0,color:Xn,lineHeight:`${Yo}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${qo}`},"> button":{minWidth:"1.6em",fontSize:ra,"&:hover":{color:Jo}},"&-view":{flex:"auto",fontWeight:Zo,lineHeight:`${Yo}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Dn},"&:hover":{color:Wn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:In,height:In,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:Go,borderBlockEndWidth:0,borderInlineStartWidth:Go,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(In/2),insetInlineStart:Math.ceil(In/2),display:"inline-block",width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:Go,borderBlockEndWidth:0,borderInlineStartWidth:Go,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:rr,fontWeight:"normal"},th:{height:rr+nr*2,color:oa,verticalAlign:"middle"}},"&-cell":_extends$1({padding:`${nr}px 0`,color:ta,cursor:"pointer","&-in-view":{color:oa}},genPickerCellInnerStyle($n)),[`&-date-panel ${Cn}-cell-in-view${Cn}-cell-in-range${Cn}-cell-range-hover-start ${_n},
- &-date-panel ${Cn}-cell-in-view${Cn}-cell-in-range${Cn}-cell-range-hover-end ${_n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ea,transition:`all ${la}`,content:'""'}},[`&-date-panel
- ${Cn}-cell-in-view${Cn}-cell-in-range${Cn}-cell-range-hover-start
- ${_n}::after`]:{insetInlineEnd:-(Nn-rr)/2,insetInlineStart:0},[`&-date-panel ${Cn}-cell-in-view${Cn}-cell-in-range${Cn}-cell-range-hover-end ${_n}::after`]:{insetInlineEnd:0,insetInlineStart:-(Nn-rr)/2},[`&-range-hover${Cn}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Cn}-content`]:{height:ua*4},[_n]:{padding:`0 ${Dn}px`}},"&-quarter-panel":{[`${Cn}-content`]:{height:ga}},[`&-panel ${Cn}-footer`]:{borderTop:`${Bn}px ${Hn} ${Gn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Yo-2*Bn}px`,textAlign:"center","&-extra":{padding:`0 ${Rn}`,lineHeight:`${Yo-2*Bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Bn}px ${Hn} ${Gn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:aa,"&:hover":{color:sa},"&:active":{color:ca},[`&${Cn}-today-btn-disabled`]:{color:ta,cursor:"not-allowed"}},"&-decade-panel":{[_n]:{padding:`0 ${Dn/2}px`},[`${Cn}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Cn}-body`]:{padding:`0 ${Dn}px`},[_n]:{width:Pn},[`${Cn}-cell-range-hover-start::after`]:{insetInlineStart:Na,borderInlineStart:`${Bn}px dashed ${ia}`,borderStartStartRadius:fa,borderBottomStartRadius:fa,borderStartEndRadius:0,borderBottomEndRadius:0,[`${Cn}-panel-rtl &`]:{insetInlineEnd:Na,borderInlineEnd:`${Bn}px dashed ${ia}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:fa,borderBottomEndRadius:fa}},[`${Cn}-cell-range-hover-end::after`]:{insetInlineEnd:Na,borderInlineEnd:`${Bn}px dashed ${ia}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ya,borderEndEndRadius:ya,[`${Cn}-panel-rtl &`]:{insetInlineStart:Na,borderInlineStart:`${Bn}px dashed ${ia}`,borderStartStartRadius:ya,borderEndStartRadius:ya,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${Cn}-body`]:{padding:`${Dn}px ${Rn}px`},[`${Cn}-cell`]:{[`&:hover ${_n},
- &-selected ${_n},
- ${_n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${qo}`,"&:first-child":{borderStartStartRadius:fa,borderEndStartRadius:fa},"&:last-child":{borderStartEndRadius:fa,borderEndEndRadius:fa}},"&:hover td":{background:ba},"&-selected td,\n &-selected:hover td":{background:Wn,[`&${Cn}-cell-week`]:{color:new TinyColor(ma).setAlpha(.5).toHexString()},[`&${Cn}-cell-today ${_n}::before`]:{borderColor:ma},[_n]:{color:ma}}}},"&-date-panel":{[`${Cn}-body`]:{padding:`${Dn}px ${Rn}px`},[`${Cn}-content`]:{width:Nn*7,th:{width:Nn}}},"&-datetime-panel":{display:"flex",[`${Cn}-time-panel`]:{borderInlineStart:`${Bn}px ${Hn} ${Gn}`},[`${Cn}-date-panel,
- ${Cn}-time-panel`]:{transition:`opacity ${la}`},"&-active":{[`${Cn}-date-panel,
- ${Cn}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Cn}-content`]:{display:"flex",flex:"auto",height:Ia},"&-column":{flex:"1 0 auto",width:Ea,margin:`${Ln}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${qo}`,overflowX:"hidden","&::after":{display:"block",height:Ia-xa,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Bn}px ${Hn} ${Gn}`},"&-active":{background:new TinyColor(Ta).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Cn}-time-panel-cell`]:{marginInline:wa,[`${Cn}-time-panel-cell-inner`]:{display:"block",width:Ea-2*wa,height:xa,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ea-xa)/2,color:oa,lineHeight:`${xa}px`,borderRadius:fa,cursor:"pointer",transition:`background ${qo}`,"&:hover":{background:ba}},"&-selected":{[`${Cn}-time-panel-cell-inner`]:{background:Ta}},"&-disabled":{[`${Cn}-time-panel-cell-inner`]:{color:ta,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Cn}-time-panel-column:after`]:{height:Ia-xa+Ln*2}}}},genPickerStatusStyle=$n=>{const{componentCls:Cn,colorBgContainer:_n,colorError:Pn,colorErrorOutline:In,colorWarning:Nn,colorWarningOutline:Rn}=$n;return{[Cn]:{[`&-status-error${Cn}`]:{"&, &:not([disabled]):hover":{backgroundColor:_n,borderColor:Pn},"&-focused, &:focus":_extends$1({},genActiveStyle(merge$1($n,{inputBorderActiveColor:Pn,inputBorderHoverColor:Pn,controlOutline:In}))),[`${Cn}-active-bar`]:{background:Pn}},[`&-status-warning${Cn}`]:{"&, &:not([disabled]):hover":{backgroundColor:_n,borderColor:Nn},"&-focused, &:focus":_extends$1({},genActiveStyle(merge$1($n,{inputBorderActiveColor:Nn,inputBorderHoverColor:Nn,controlOutline:Rn}))),[`${Cn}-active-bar`]:{background:Nn}}}}},genPickerStyle=$n=>{const{componentCls:Cn,antCls:_n,boxShadowPopoverArrow:Pn,controlHeight:In,fontSize:Nn,inputPaddingHorizontal:Rn,colorBgContainer:Dn,lineWidth:Ln,lineType:Fn,colorBorder:Bn,borderRadius:Hn,motionDurationMid:zn,colorBgContainerDisabled:Wn,colorTextDisabled:Yn,colorTextPlaceholder:Gn,controlHeightLG:Go,fontSizeLG:Xn,controlHeightSM:Yo,inputPaddingHorizontalSM:qo,paddingXS:Jo,marginXS:Zo,colorTextDescription:rr,lineWidthBold:nr,lineHeight:ta,colorPrimary:oa,motionDurationSlow:ra,zIndexPopup:ea,paddingXXS:la,paddingSM:ua,pickerTextHeight:ga,controlItemBgActive:aa,colorPrimaryBorder:ca,sizePopupArrow:sa,borderRadiusXS:ia,borderRadiusOuter:fa,colorBgElevated:ma,borderRadiusLG:ya,boxShadowSecondary:ba,borderRadiusSM:Ia,colorSplit:Ea,controlItemBgHover:xa,presetsWidth:Ta,presetsMaxWidth:wa}=$n;return[{[Cn]:_extends$1(_extends$1(_extends$1({},resetComponent($n)),genPikerPadding($n,In,Nn,Rn)),{position:"relative",display:"inline-flex",alignItems:"center",background:Dn,lineHeight:1,border:`${Ln}px ${Fn} ${Bn}`,borderRadius:Hn,transition:`border ${zn}, box-shadow ${zn}`,"&:hover, &-focused":_extends$1({},genHoverStyle($n)),"&-focused":_extends$1({},genActiveStyle($n)),[`&${Cn}-disabled`]:{background:Wn,borderColor:Bn,cursor:"not-allowed",[`${Cn}-suffix`]:{color:Yn}},[`&${Cn}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Cn}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":_extends$1(_extends$1({},genBasicInputStyle($n)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Cn}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Gn}}},"&-large":_extends$1(_extends$1({},genPikerPadding($n,Go,Xn,Rn)),{[`${Cn}-input > input`]:{fontSize:Xn}}),"&-small":_extends$1({},genPikerPadding($n,Yo,Nn,qo)),[`${Cn}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Jo/2,color:Yn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Zo}}},[`${Cn}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Yn,lineHeight:1,background:Dn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${zn}, color ${zn}`,"> *":{verticalAlign:"top"},"&:hover":{color:rr}},[`${Cn}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Xn,color:Yn,fontSize:Xn,verticalAlign:"top",cursor:"default",[`${Cn}-focused &`]:{color:rr},[`${Cn}-range-separator &`]:{[`${Cn}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Cn}-clear`]:{insetInlineEnd:Rn},"&:hover":{[`${Cn}-clear`]:{opacity:1}},[`${Cn}-active-bar`]:{bottom:-Ln,height:nr,marginInlineStart:Rn,background:oa,opacity:0,transition:`all ${ra} ease-out`,pointerEvents:"none"},[`&${Cn}-focused`]:{[`${Cn}-active-bar`]:{opacity:1}},[`${Cn}-range-separator`]:{alignItems:"center",padding:`0 ${Jo}px`,lineHeight:1},[`&${Cn}-small`]:{[`${Cn}-clear`]:{insetInlineEnd:qo},[`${Cn}-active-bar`]:{marginInlineStart:qo}}},"&-dropdown":_extends$1(_extends$1(_extends$1({},resetComponent($n)),genPanelStyle($n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ea,[`&${Cn}-dropdown-hidden`]:{display:"none"},[`&${Cn}-dropdown-placement-bottomLeft`]:{[`${Cn}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Cn}-dropdown-placement-topLeft`]:{[`${Cn}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${_n}-slide-up-enter${_n}-slide-up-enter-active${Cn}-dropdown-placement-topLeft,
- &${_n}-slide-up-enter${_n}-slide-up-enter-active${Cn}-dropdown-placement-topRight,
- &${_n}-slide-up-appear${_n}-slide-up-appear-active${Cn}-dropdown-placement-topLeft,
- &${_n}-slide-up-appear${_n}-slide-up-appear-active${Cn}-dropdown-placement-topRight`]:{animationName:slideDownIn},[`&${_n}-slide-up-enter${_n}-slide-up-enter-active${Cn}-dropdown-placement-bottomLeft,
- &${_n}-slide-up-enter${_n}-slide-up-enter-active${Cn}-dropdown-placement-bottomRight,
- &${_n}-slide-up-appear${_n}-slide-up-appear-active${Cn}-dropdown-placement-bottomLeft,
- &${_n}-slide-up-appear${_n}-slide-up-appear-active${Cn}-dropdown-placement-bottomRight`]:{animationName:slideUpIn},[`&${_n}-slide-up-leave${_n}-slide-up-leave-active${Cn}-dropdown-placement-topLeft,
- &${_n}-slide-up-leave${_n}-slide-up-leave-active${Cn}-dropdown-placement-topRight`]:{animationName:slideDownOut},[`&${_n}-slide-up-leave${_n}-slide-up-leave-active${Cn}-dropdown-placement-bottomLeft,
- &${_n}-slide-up-leave${_n}-slide-up-leave-active${Cn}-dropdown-placement-bottomRight`]:{animationName:slideUpOut},[`${Cn}-panel > ${Cn}-time-panel`]:{paddingTop:la},[`${Cn}-ranges`]:{marginBottom:0,padding:`${la}px ${ua}px`,overflow:"hidden",lineHeight:`${ga-2*Ln-Jo/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Cn}-preset > ${_n}-tag-blue`]:{color:oa,background:aa,borderColor:ca,cursor:"pointer"},[`${Cn}-ok`]:{marginInlineStart:"auto"}},[`${Cn}-range-wrapper`]:{display:"flex",position:"relative"},[`${Cn}-range-arrow`]:_extends$1({position:"absolute",zIndex:1,display:"none",marginInlineStart:Rn*1.5,transition:`left ${ra} ease-out`},roundedArrow(sa,ia,fa,ma,Pn)),[`${Cn}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ma,borderRadius:ya,boxShadow:ba,transition:`margin ${ra}`,[`${Cn}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Cn}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ta,maxWidth:wa,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Jo,borderInlineEnd:`${Ln}px ${Fn} ${Ea}`,li:_extends$1(_extends$1({},textEllipsis),{borderRadius:Ia,paddingInline:Jo,paddingBlock:(Yo-Math.round(Nn*ta))/2,cursor:"pointer",transition:`all ${ra}`,"+ li":{marginTop:Zo},"&:hover":{background:xa}})}},[`${Cn}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Cn}-panel`]:{borderWidth:`0 0 ${Ln}px`},"&:last-child":{[`${Cn}-panel`]:{borderWidth:0}}},[`${Cn}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Cn}-content,
- table`]:{textAlign:"center"},"&-focused":{borderColor:Bn}}}}),"&-dropdown-range":{padding:`${sa*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Cn}-separator`]:{transform:"rotate(180deg)"},[`${Cn}-footer`]:{"&-extra":{direction:"rtl"}}}})},initSlideMotion($n,"slide-up"),initSlideMotion($n,"slide-down"),initMoveMotion($n,"move-up"),initMoveMotion($n,"move-down")]},initPickerPanelToken=$n=>{const{componentCls:_n,controlHeightLG:Pn,controlHeightSM:In,colorPrimary:Nn,paddingXXS:Rn}=$n;return{pickerCellCls:`${_n}-cell`,pickerCellInnerCls:`${_n}-cell-inner`,pickerTextHeight:Pn,pickerPanelCellWidth:In*1.5,pickerPanelCellHeight:In,pickerDateHoverRangeBorderColor:new TinyColor(Nn).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new TinyColor(Nn).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:Pn*1.65,pickerYearMonthCellWidth:Pn*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:Pn*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:Pn*1.4,pickerCellPaddingVertical:Rn,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},useStyle$J=genComponentStyleHook("DatePicker",$n=>{const Cn=merge$1(initInputToken($n),initPickerPanelToken($n));return[genPickerStyle(Cn),genPickerStatusStyle(Cn),genCompactItemStyle($n,{focusElCls:`${$n.componentCls}-focused`})]},$n=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:$n.zIndexPopupBase+50})),genCalendarStyles=$n=>{const{calendarCls:Cn,componentCls:_n,calendarFullBg:Pn,calendarFullPanelBg:In,calendarItemActiveBg:Nn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1({},genPanelStyle($n)),resetComponent($n)),{background:Pn,"&-rtl":{direction:"rtl"},[`${Cn}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${$n.paddingSM}px 0`,[`${Cn}-year-select`]:{minWidth:$n.yearControlWidth},[`${Cn}-month-select`]:{minWidth:$n.monthControlWidth,marginInlineStart:$n.marginXS},[`${Cn}-mode-switch`]:{marginInlineStart:$n.marginXS}}}),[`${Cn} ${_n}-panel`]:{background:In,border:0,borderTop:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,borderRadius:0,[`${_n}-month-panel, ${_n}-date-panel`]:{width:"auto"},[`${_n}-body`]:{padding:`${$n.paddingXS}px 0`},[`${_n}-content`]:{width:"100%"}},[`${Cn}-mini`]:{borderRadius:$n.borderRadiusLG,[`${Cn}-header`]:{paddingInlineEnd:$n.paddingXS,paddingInlineStart:$n.paddingXS},[`${_n}-panel`]:{borderRadius:`0 0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px`},[`${_n}-content`]:{height:$n.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${$n.weekHeight}px`}},[`${_n}-cell::before`]:{pointerEvents:"none"}},[`${Cn}${Cn}-full`]:{[`${_n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:Pn,border:0,[`${_n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:$n.paddingSM,paddingBottom:$n.paddingXXS,lineHeight:`${$n.weekHeight}px`}}},[`${_n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${Cn}-date`]:{background:$n.controlItemBgHover}},[`${Cn}-date-today::before`]:{display:"none"},[`&-in-view${_n}-cell-selected`]:{[`${Cn}-date, ${Cn}-date-today`]:{background:Nn}},"&-selected, &-selected:hover":{[`${Cn}-date, ${Cn}-date-today`]:{[`${Cn}-date-value`]:{color:$n.colorPrimary}}}},[`${Cn}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${$n.marginXS/2}px`,padding:`${$n.paddingXS/2}px ${$n.paddingXS}px 0`,border:0,borderTop:`${$n.lineWidthBold}px ${$n.lineType} ${$n.colorSplit}`,borderRadius:0,transition:`background ${$n.motionDurationSlow}`,"&-value":{lineHeight:`${$n.dateValueHeight}px`,transition:`color ${$n.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:$n.dateContentHeight,overflowY:"auto",color:$n.colorText,lineHeight:$n.lineHeight,textAlign:"start"},"&-today":{borderColor:$n.colorPrimary,[`${Cn}-date-value`]:{color:$n.colorText}}}},[`@media only screen and (max-width: ${$n.screenXS}px) `]:{[`${Cn}`]:{[`${Cn}-header`]:{display:"block",[`${Cn}-year-select`]:{width:"50%"},[`${Cn}-month-select`]:{width:`calc(50% - ${$n.paddingXS}px)`},[`${Cn}-mode-switch`]:{width:"100%",marginTop:$n.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},useStyle$I=genComponentStyleHook("Calendar",$n=>{const Cn=`${$n.componentCls}-calendar`,_n=merge$1(initInputToken($n),initPickerPanelToken($n),{calendarCls:Cn,pickerCellInnerCls:`${$n.componentCls}-cell-inner`,calendarFullBg:$n.colorBgContainer,calendarFullPanelBg:$n.colorBgContainer,calendarItemActiveBg:$n.controlItemBgActive,dateValueHeight:$n.controlHeightSM,weekHeight:$n.controlHeightSM*.75,dateContentHeight:($n.fontSizeSM*$n.lineHeightSM+$n.marginXS)*3+$n.lineWidth*2});return[genCalendarStyles(_n)]},{yearControlWidth:80,monthControlWidth:70,miniContentHeight:256});function generateCalendar($n){function Cn(Nn,Rn){return Nn&&Rn&&$n.getYear(Nn)===$n.getYear(Rn)}function _n(Nn,Rn){return Cn(Nn,Rn)&&$n.getMonth(Nn)===$n.getMonth(Rn)}function Pn(Nn,Rn){return _n(Nn,Rn)&&$n.getDate(Nn)===$n.getDate(Rn)}const In=defineComponent({name:"ACalendar",inheritAttrs:!1,props:{prefixCls:String,locale:{type:Object,default:void 0},validRange:{type:Array,default:void 0},disabledDate:{type:Function,default:void 0},dateFullCellRender:{type:Function,default:void 0},dateCellRender:{type:Function,default:void 0},monthFullCellRender:{type:Function,default:void 0},monthCellRender:{type:Function,default:void 0},headerRender:{type:Function,default:void 0},value:{type:[Object,String],default:void 0},defaultValue:{type:[Object,String],default:void 0},mode:{type:String,default:void 0},fullscreen:{type:Boolean,default:void 0},onChange:{type:Function,default:void 0},"onUpdate:value":{type:Function,default:void 0},onPanelChange:{type:Function,default:void 0},onSelect:{type:Function,default:void 0},valueFormat:{type:String,default:void 0}},slots:Object,setup(Nn,Rn){let{emit:Dn,slots:Ln,attrs:Fn}=Rn;const Bn=Nn,{prefixCls:Hn,direction:zn}=useConfigInject("picker",Bn),[Wn,Yn]=useStyle$I(Hn),Gn=computed(()=>`${Hn.value}-calendar`),Go=aa=>Bn.valueFormat?$n.toString(aa,Bn.valueFormat):aa,Xn=computed(()=>Bn.value?Bn.valueFormat?$n.toDate(Bn.value,Bn.valueFormat):Bn.value:Bn.value===""?void 0:Bn.value),Yo=computed(()=>Bn.defaultValue?Bn.valueFormat?$n.toDate(Bn.defaultValue,Bn.valueFormat):Bn.defaultValue:Bn.defaultValue===""?void 0:Bn.defaultValue),[qo,Jo]=useMergedState(()=>Xn.value||$n.getNow(),{defaultValue:Yo.value,value:Xn}),[Zo,rr]=useMergedState("month",{value:toRef(Bn,"mode")}),nr=computed(()=>Zo.value==="year"?"month":"date"),ta=computed(()=>aa=>{var ca;return(Bn.validRange?$n.isAfter(Bn.validRange[0],aa)||$n.isAfter(aa,Bn.validRange[1]):!1)||!!(!((ca=Bn.disabledDate)===null||ca===void 0)&&ca.call(Bn,aa))}),oa=(aa,ca)=>{Dn("panelChange",Go(aa),ca)},ra=aa=>{if(Jo(aa),!Pn(aa,qo.value)){(nr.value==="date"&&!_n(aa,qo.value)||nr.value==="month"&&!Cn(aa,qo.value))&&oa(aa,Zo.value);const ca=Go(aa);Dn("update:value",ca),Dn("change",ca)}},ea=aa=>{rr(aa),oa(qo.value,aa)},la=(aa,ca)=>{ra(aa),Dn("select",Go(aa),{source:ca})},ua=computed(()=>{const{locale:aa}=Bn,ca=_extends$1(_extends$1({},enUS),aa);return ca.lang=_extends$1(_extends$1({},ca.lang),(aa||{}).lang),ca}),[ga]=useLocaleReceiver("Calendar",ua);return()=>{const aa=$n.getNow(),{dateFullCellRender:ca=Ln==null?void 0:Ln.dateFullCellRender,dateCellRender:sa=Ln==null?void 0:Ln.dateCellRender,monthFullCellRender:ia=Ln==null?void 0:Ln.monthFullCellRender,monthCellRender:fa=Ln==null?void 0:Ln.monthCellRender,headerRender:ma=Ln==null?void 0:Ln.headerRender,fullscreen:ya=!0,validRange:ba}=Bn,Ia=xa=>{let{current:Ta}=xa;return ca?ca({current:Ta}):createVNode("div",{class:classNames(`${Hn.value}-cell-inner`,`${Gn.value}-date`,{[`${Gn.value}-date-today`]:Pn(aa,Ta)})},[createVNode("div",{class:`${Gn.value}-date-value`},[String($n.getDate(Ta)).padStart(2,"0")]),createVNode("div",{class:`${Gn.value}-date-content`},[sa&&sa({current:Ta})])])},Ea=(xa,Ta)=>{let{current:wa}=xa;if(ia)return ia({current:wa});const La=Ta.shortMonths||$n.locale.getShortMonths(Ta.locale);return createVNode("div",{class:classNames(`${Hn.value}-cell-inner`,`${Gn.value}-date`,{[`${Gn.value}-date-today`]:_n(aa,wa)})},[createVNode("div",{class:`${Gn.value}-date-value`},[La[$n.getMonth(wa)]]),createVNode("div",{class:`${Gn.value}-date-content`},[fa&&fa({current:wa})])])};return Wn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Fn),{},{class:classNames(Gn.value,{[`${Gn.value}-full`]:ya,[`${Gn.value}-mini`]:!ya,[`${Gn.value}-rtl`]:zn.value==="rtl"},Fn.class,Yn.value)}),[ma?ma({value:qo.value,type:Zo.value,onChange:xa=>{la(xa,"customize")},onTypeChange:ea}):createVNode(CalendarHeader,{prefixCls:Gn.value,value:qo.value,generateConfig:$n,mode:Zo.value,fullscreen:ya,locale:ga.value.lang,validRange:ba,onChange:la,onModeChange:ea},null),createVNode(PickerPanel$1,{value:qo.value,prefixCls:Hn.value,locale:ga.value.lang,generateConfig:$n,dateRender:Ia,monthCellRender:xa=>Ea(xa,ga.value.lang),onSelect:xa=>{la(xa,nr.value)},mode:nr.value,picker:nr.value,disabledDate:ta.value,hideHeader:!0},null)]))}}});return In.install=function(Nn){return Nn.component(In.name,In),Nn},In}const Calendar=generateCalendar(dayjsGenerateConfig),Calendar$1=withInstall(Calendar);function useRaf($n){const Cn=shallowRef(),_n=shallowRef(!1);function Pn(){for(var In=arguments.length,Nn=new Array(In),Rn=0;Rn<In;Rn++)Nn[Rn]=arguments[Rn];_n.value||(wrapperRaf.cancel(Cn.value),Cn.value=wrapperRaf(()=>{$n(...Nn)}))}return onBeforeUnmount(()=>{_n.value=!0,wrapperRaf.cancel(Cn.value)}),Pn}function useRafState($n){const Cn=shallowRef([]),_n=shallowRef(typeof $n=="function"?$n():$n),Pn=useRaf(()=>{let Nn=_n.value;Cn.value.forEach(Rn=>{Nn=Rn(Nn)}),Cn.value=[],_n.value=Nn});function In(Nn){Cn.value.push(Nn),Pn()}return[_n,In]}const TabNode=defineComponent({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup($n,Cn){let{expose:_n,attrs:Pn}=Cn;const In=ref();function Nn(Ln){var Fn;!((Fn=$n.tab)===null||Fn===void 0)&&Fn.disabled||$n.onClick(Ln)}_n({domRef:In});function Rn(Ln){var Fn;Ln.preventDefault(),Ln.stopPropagation(),$n.editable.onEdit("remove",{key:(Fn=$n.tab)===null||Fn===void 0?void 0:Fn.key,event:Ln})}const Dn=computed(()=>{var Ln;return $n.editable&&$n.closable!==!1&&!(!((Ln=$n.tab)===null||Ln===void 0)&&Ln.disabled)});return()=>{var Ln;const{prefixCls:Fn,id:Bn,active:Hn,tab:{key:zn,tab:Wn,disabled:Yn,closeIcon:Gn},renderWrapper:Go,removeAriaLabel:Xn,editable:Yo,onFocus:qo}=$n,Jo=`${Fn}-tab`,Zo=createVNode("div",{key:zn,ref:In,class:classNames(Jo,{[`${Jo}-with-remove`]:Dn.value,[`${Jo}-active`]:Hn,[`${Jo}-disabled`]:Yn}),style:Pn.style,onClick:Nn},[createVNode("div",{role:"tab","aria-selected":Hn,id:Bn&&`${Bn}-tab-${zn}`,class:`${Jo}-btn`,"aria-controls":Bn&&`${Bn}-panel-${zn}`,"aria-disabled":Yn,tabindex:Yn?null:0,onClick:rr=>{rr.stopPropagation(),Nn(rr)},onKeydown:rr=>{[KeyCode$1.SPACE,KeyCode$1.ENTER].includes(rr.which)&&(rr.preventDefault(),Nn(rr))},onFocus:qo},[typeof Wn=="function"?Wn():Wn]),Dn.value&&createVNode("button",{type:"button","aria-label":Xn||"remove",tabindex:0,class:`${Jo}-remove`,onClick:rr=>{rr.stopPropagation(),Rn(rr)}},[(Gn==null?void 0:Gn())||((Ln=Yo.removeIcon)===null||Ln===void 0?void 0:Ln.call(Yo))||"×"])]);return Go?Go(Zo):Zo}}}),DEFAULT_SIZE$2={width:0,height:0,left:0,top:0};function useOffsets($n,Cn){const _n=ref(new Map);return watchEffect(()=>{var Pn,In;const Nn=new Map,Rn=$n.value,Dn=Cn.value.get((Pn=Rn[0])===null||Pn===void 0?void 0:Pn.key)||DEFAULT_SIZE$2,Ln=Dn.left+Dn.width;for(let Fn=0;Fn<Rn.length;Fn+=1){const{key:Bn}=Rn[Fn];let Hn=Cn.value.get(Bn);Hn||(Hn=Cn.value.get((In=Rn[Fn-1])===null||In===void 0?void 0:In.key)||DEFAULT_SIZE$2);const zn=Nn.get(Bn)||_extends$1({},Hn);zn.right=Ln-zn.left-zn.width,Nn.set(Bn,zn)}_n.value=new Map(Nn)}),_n}const AddButton=defineComponent({compatConfig:{MODE:3},name:"AddButton",inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup($n,Cn){let{expose:_n,attrs:Pn}=Cn;const In=ref();return _n({domRef:In}),()=>{const{prefixCls:Nn,editable:Rn,locale:Dn}=$n;return!Rn||Rn.showAdd===!1?null:createVNode("button",{ref:In,type:"button",class:`${Nn}-nav-add`,style:Pn.style,"aria-label":(Dn==null?void 0:Dn.addAriaLabel)||"Add tab",onClick:Ln=>{Rn.onEdit("add",{event:Ln})}},[Rn.addIcon?Rn.addIcon():"+"])}}}),operationNodeProps={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:PropTypes.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:functionType()},OperationNode=defineComponent({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:operationNodeProps,emits:["tabClick"],slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const[In,Nn]=useState(!1),[Rn,Dn]=useState(null),Ln=Wn=>{const Yn=$n.tabs.filter(Xn=>!Xn.disabled);let Gn=Yn.findIndex(Xn=>Xn.key===Rn.value)||0;const Go=Yn.length;for(let Xn=0;Xn<Go;Xn+=1){Gn=(Gn+Wn+Go)%Go;const Yo=Yn[Gn];if(!Yo.disabled){Dn(Yo.key);return}}},Fn=Wn=>{const{which:Yn}=Wn;if(!In.value){[KeyCode$1.DOWN,KeyCode$1.SPACE,KeyCode$1.ENTER].includes(Yn)&&(Nn(!0),Wn.preventDefault());return}switch(Yn){case KeyCode$1.UP:Ln(-1),Wn.preventDefault();break;case KeyCode$1.DOWN:Ln(1),Wn.preventDefault();break;case KeyCode$1.ESC:Nn(!1);break;case KeyCode$1.SPACE:case KeyCode$1.ENTER:Rn.value!==null&&$n.onTabClick(Rn.value,Wn);break}},Bn=computed(()=>`${$n.id}-more-popup`),Hn=computed(()=>Rn.value!==null?`${Bn.value}-${Rn.value}`:null),zn=(Wn,Yn)=>{Wn.preventDefault(),Wn.stopPropagation(),$n.editable.onEdit("remove",{key:Yn,event:Wn})};return onMounted(()=>{watch(Rn,()=>{const Wn=document.getElementById(Hn.value);Wn&&Wn.scrollIntoView&&Wn.scrollIntoView(!1)},{flush:"post",immediate:!0})}),watch(In,()=>{In.value||Dn(null)}),useProvideOverride({}),()=>{var Wn;const{prefixCls:Yn,id:Gn,tabs:Go,locale:Xn,mobile:Yo,moreIcon:qo=((Wn=Pn.moreIcon)===null||Wn===void 0?void 0:Wn.call(Pn))||createVNode(EllipsisOutlined$1,null,null),moreTransitionName:Jo,editable:Zo,tabBarGutter:rr,rtl:nr,onTabClick:ta,popupClassName:oa}=$n;if(!Go.length)return null;const ra=`${Yn}-dropdown`,ea=Xn==null?void 0:Xn.dropdownAriaLabel,la={[nr?"marginRight":"marginLeft"]:rr};Go.length||(la.visibility="hidden",la.order=1);const ua=classNames({[`${ra}-rtl`]:nr,[`${oa}`]:!0}),ga=Yo?null:createVNode(Dropdown$2,{prefixCls:ra,trigger:["hover"],visible:In.value,transitionName:Jo,onVisibleChange:Nn,overlayClassName:ua,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:$n.getPopupContainer},{overlay:()=>createVNode(Menu,{onClick:aa=>{let{key:ca,domEvent:sa}=aa;ta(ca,sa),Nn(!1)},id:Bn.value,tabindex:-1,role:"listbox","aria-activedescendant":Hn.value,selectedKeys:[Rn.value],"aria-label":ea!==void 0?ea:"expanded dropdown"},{default:()=>[Go.map(aa=>{var ca,sa;const ia=Zo&&aa.closable!==!1&&!aa.disabled;return createVNode(MenuItem$1,{key:aa.key,id:`${Bn.value}-${aa.key}`,role:"option","aria-controls":Gn&&`${Gn}-panel-${aa.key}`,disabled:aa.disabled},{default:()=>[createVNode("span",null,[typeof aa.tab=="function"?aa.tab():aa.tab]),ia&&createVNode("button",{type:"button","aria-label":$n.removeAriaLabel||"remove",tabindex:0,class:`${ra}-menu-item-remove`,onClick:fa=>{fa.stopPropagation(),zn(fa,aa.key)}},[((ca=aa.closeIcon)===null||ca===void 0?void 0:ca.call(aa))||((sa=Zo.removeIcon)===null||sa===void 0?void 0:sa.call(Zo))||"×"])]})})]}),default:()=>createVNode("button",{type:"button",class:`${Yn}-nav-more`,style:la,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Bn.value,id:`${Gn}-more`,"aria-expanded":In.value,onKeydown:Fn},[qo])});return createVNode("div",{class:classNames(`${Yn}-nav-operations`,_n.class),style:_n.style},[ga,createVNode(AddButton,{prefixCls:Yn,locale:Xn,editable:Zo},null)])}}}),TabsContextKey=Symbol("tabsContextKey"),useProvideTabs=$n=>{provide(TabsContextKey,$n)},useInjectTabs=()=>inject(TabsContextKey,{tabs:ref([]),prefixCls:ref()}),MIN_SWIPE_DISTANCE=.1,STOP_SWIPE_DISTANCE=.01,REFRESH_INTERVAL$1=20,SPEED_OFF_MULTIPLE=Math.pow(.995,REFRESH_INTERVAL$1);function useTouchMove($n,Cn){const[_n,Pn]=useState(),[In,Nn]=useState(0),[Rn,Dn]=useState(0),[Ln,Fn]=useState(),Bn=ref();function Hn(Zo){const{screenX:rr,screenY:nr}=Zo.touches[0];Pn({x:rr,y:nr}),clearInterval(Bn.value)}function zn(Zo){if(!_n.value)return;Zo.preventDefault();const{screenX:rr,screenY:nr}=Zo.touches[0],ta=rr-_n.value.x,oa=nr-_n.value.y;Cn(ta,oa),Pn({x:rr,y:nr});const ra=Date.now();Dn(ra-In.value),Nn(ra),Fn({x:ta,y:oa})}function Wn(){if(!_n.value)return;const Zo=Ln.value;if(Pn(null),Fn(null),Zo){const rr=Zo.x/Rn.value,nr=Zo.y/Rn.value,ta=Math.abs(rr),oa=Math.abs(nr);if(Math.max(ta,oa)<MIN_SWIPE_DISTANCE)return;let ra=rr,ea=nr;Bn.value=setInterval(()=>{if(Math.abs(ra)<STOP_SWIPE_DISTANCE&&Math.abs(ea)<STOP_SWIPE_DISTANCE){clearInterval(Bn.value);return}ra*=SPEED_OFF_MULTIPLE,ea*=SPEED_OFF_MULTIPLE,Cn(ra*REFRESH_INTERVAL$1,ea*REFRESH_INTERVAL$1)},REFRESH_INTERVAL$1)}}const Yn=ref();function Gn(Zo){const{deltaX:rr,deltaY:nr}=Zo;let ta=0;const oa=Math.abs(rr),ra=Math.abs(nr);oa===ra?ta=Yn.value==="x"?rr:nr:oa>ra?(ta=rr,Yn.value="x"):(ta=nr,Yn.value="y"),Cn(-ta,-ta)&&Zo.preventDefault()}const Go=ref({onTouchStart:Hn,onTouchMove:zn,onTouchEnd:Wn,onWheel:Gn});function Xn(Zo){Go.value.onTouchStart(Zo)}function Yo(Zo){Go.value.onTouchMove(Zo)}function qo(Zo){Go.value.onTouchEnd(Zo)}function Jo(Zo){Go.value.onWheel(Zo)}onMounted(()=>{var Zo,rr;document.addEventListener("touchmove",Yo,{passive:!1}),document.addEventListener("touchend",qo,{passive:!1}),(Zo=$n.value)===null||Zo===void 0||Zo.addEventListener("touchstart",Xn,{passive:!1}),(rr=$n.value)===null||rr===void 0||rr.addEventListener("wheel",Jo,{passive:!1})}),onBeforeUnmount(()=>{document.removeEventListener("touchmove",Yo),document.removeEventListener("touchend",qo)})}function useSyncState($n,Cn){const _n=ref($n);function Pn(In){const Nn=typeof In=="function"?In(_n.value):In;Nn!==_n.value&&Cn(Nn,_n.value),_n.value=Nn}return[_n,Pn]}const useRefs=()=>{const $n=ref(new Map),Cn=_n=>Pn=>{$n.value.set(_n,Pn)};return onBeforeUpdate(()=>{$n.value=new Map}),[Cn,$n]},DEFAULT_SIZE$1={width:0,height:0,left:0,top:0,right:0},tabNavListProps=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:objectType(),editable:objectType(),moreIcon:PropTypes.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:objectType(),popupClassName:String,getPopupContainer:functionType(),onTabClick:{type:Function},onTabScroll:{type:Function}}),TabNavList=defineComponent({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:tabNavListProps(),slots:Object,emits:["tabClick","tabScroll"],setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{tabs:In,prefixCls:Nn}=useInjectTabs(),Rn=shallowRef(),Dn=shallowRef(),Ln=shallowRef(),Fn=shallowRef(),[Bn,Hn]=useRefs(),zn=computed(()=>$n.tabPosition==="top"||$n.tabPosition==="bottom"),[Wn,Yn]=useSyncState(0,(Ra,Fa)=>{zn.value&&$n.onTabScroll&&$n.onTabScroll({direction:Ra>Fa?"left":"right"})}),[Gn,Go]=useSyncState(0,(Ra,Fa)=>{!zn.value&&$n.onTabScroll&&$n.onTabScroll({direction:Ra>Fa?"top":"bottom"})}),[Xn,Yo]=useState(0),[qo,Jo]=useState(0),[Zo,rr]=useState(null),[nr,ta]=useState(null),[oa,ra]=useState(0),[ea,la]=useState(0),[ua,ga]=useRafState(new Map),aa=useOffsets(In,ua),ca=computed(()=>`${Nn.value}-nav-operations-hidden`),sa=shallowRef(0),ia=shallowRef(0);watchEffect(()=>{zn.value?$n.rtl?(sa.value=0,ia.value=Math.max(0,Xn.value-Zo.value)):(sa.value=Math.min(0,Zo.value-Xn.value),ia.value=0):(sa.value=Math.min(0,nr.value-qo.value),ia.value=0)});const fa=Ra=>Ra<sa.value?sa.value:Ra>ia.value?ia.value:Ra,ma=shallowRef(),[ya,ba]=useState(),Ia=()=>{ba(Date.now())},Ea=()=>{clearTimeout(ma.value)},xa=(Ra,Fa)=>{Ra(za=>fa(za+Fa))};useTouchMove(Rn,(Ra,Fa)=>{if(zn.value){if(Zo.value>=Xn.value)return!1;xa(Yn,Ra)}else{if(nr.value>=qo.value)return!1;xa(Go,Fa)}return Ea(),Ia(),!0}),watch(ya,()=>{Ea(),ya.value&&(ma.value=setTimeout(()=>{ba(0)},100))});const Ta=function(){let Ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$n.activeKey;const Fa=aa.value.get(Ra)||{width:0,height:0,left:0,right:0,top:0};if(zn.value){let za=Wn.value;$n.rtl?Fa.right<Wn.value?za=Fa.right:Fa.right+Fa.width>Wn.value+Zo.value&&(za=Fa.right+Fa.width-Zo.value):Fa.left<-Wn.value?za=-Fa.left:Fa.left+Fa.width>-Wn.value+Zo.value&&(za=-(Fa.left+Fa.width-Zo.value)),Go(0),Yn(fa(za))}else{let za=Gn.value;Fa.top<-Gn.value?za=-Fa.top:Fa.top+Fa.height>-Gn.value+nr.value&&(za=-(Fa.top+Fa.height-nr.value)),Yn(0),Go(fa(za))}},wa=shallowRef(0),La=shallowRef(0);watchEffect(()=>{let Ra,Fa,za,Wa,Ya,ja;const qa=aa.value;["top","bottom"].includes($n.tabPosition)?(Ra="width",Wa=Zo.value,Ya=Xn.value,ja=oa.value,Fa=$n.rtl?"right":"left",za=Math.abs(Wn.value)):(Ra="height",Wa=nr.value,Ya=Xn.value,ja=ea.value,Fa="top",za=-Gn.value);let Xa=Wa;Ya+ja>Wa&&Ya<Wa&&(Xa=Wa-ja);const Oa=In.value;if(!Oa.length)return[wa.value,La.value]=[0,0];const Ma=Oa.length;let Ua=Ma;for(let ri=0;ri<Ma;ri+=1){const fi=qa.get(Oa[ri].key)||DEFAULT_SIZE$1;if(fi[Fa]+fi[Ra]>za+Xa){Ua=ri-1;break}}let Qa=0;for(let ri=Ma-1;ri>=0;ri-=1)if((qa.get(Oa[ri].key)||DEFAULT_SIZE$1)[Fa]<za){Qa=ri+1;break}return[wa.value,La.value]=[Qa,Ua]});const Na=()=>{var Ra,Fa,za,Wa,Ya;const ja=((Ra=Rn.value)===null||Ra===void 0?void 0:Ra.offsetWidth)||0,qa=((Fa=Rn.value)===null||Fa===void 0?void 0:Fa.offsetHeight)||0,Xa=((za=Fn.value)===null||za===void 0?void 0:za.$el)||{},Oa=Xa.offsetWidth||0,Ma=Xa.offsetHeight||0;rr(ja),ta(qa),ra(Oa),la(Ma);const Ua=(((Wa=Dn.value)===null||Wa===void 0?void 0:Wa.offsetWidth)||0)-Oa,Qa=(((Ya=Dn.value)===null||Ya===void 0?void 0:Ya.offsetHeight)||0)-Ma;Yo(Ua),Jo(Qa),ga(()=>{const ri=new Map;return In.value.forEach(fi=>{let{key:ei}=fi;const ti=Hn.value.get(ei),ni=(ti==null?void 0:ti.$el)||ti;ni&&ri.set(ei,{width:ni.offsetWidth,height:ni.offsetHeight,left:ni.offsetLeft,top:ni.offsetTop})}),ri})},$a=computed(()=>[...In.value.slice(0,wa.value),...In.value.slice(La.value+1)]),[ka,Ha]=useState(),da=computed(()=>aa.value.get($n.activeKey)),pa=shallowRef(),Sa=()=>{wrapperRaf.cancel(pa.value)};watch([da,zn,()=>$n.rtl],()=>{const Ra={};da.value&&(zn.value?($n.rtl?Ra.right=toPx(da.value.right):Ra.left=toPx(da.value.left),Ra.width=toPx(da.value.width)):(Ra.top=toPx(da.value.top),Ra.height=toPx(da.value.height))),Sa(),pa.value=wrapperRaf(()=>{Ha(Ra)})}),watch([()=>$n.activeKey,da,aa,zn],()=>{Ta()},{flush:"post"}),watch([()=>$n.rtl,()=>$n.tabBarGutter,()=>$n.activeKey,()=>In.value],()=>{Na()},{flush:"post"});const Aa=Ra=>{let{position:Fa,prefixCls:za,extra:Wa}=Ra;if(!Wa)return null;const Ya=Wa==null?void 0:Wa({position:Fa});return Ya?createVNode("div",{class:`${za}-extra-content`},[Ya]):null};return onBeforeUnmount(()=>{Ea(),Sa()}),()=>{const{id:Ra,animated:Fa,activeKey:za,rtl:Wa,editable:Ya,locale:ja,tabPosition:qa,tabBarGutter:Xa,onTabClick:Oa}=$n,{class:Ma,style:Ua}=_n,Qa=Nn.value,ri=!!$a.value.length,fi=`${Qa}-nav-wrap`;let ei,ti,ni,ui;zn.value?Wa?(ti=Wn.value>0,ei=Wn.value+Zo.value<Xn.value):(ei=Wn.value<0,ti=-Wn.value+Zo.value<Xn.value):(ni=Gn.value<0,ui=-Gn.value+nr.value<qo.value);const mi={};qa==="top"||qa==="bottom"?mi[Wa?"marginRight":"marginLeft"]=typeof Xa=="number"?`${Xa}px`:Xa:mi.marginTop=typeof Xa=="number"?`${Xa}px`:Xa;const di=In.value.map((gi,wi)=>{const{key:Ti}=gi;return createVNode(TabNode,{id:Ra,prefixCls:Qa,key:Ti,tab:gi,style:wi===0?void 0:mi,closable:gi.closable,editable:Ya,active:Ti===za,removeAriaLabel:ja==null?void 0:ja.removeAriaLabel,ref:Bn(Ti),onClick:Ei=>{Oa(Ti,Ei)},onFocus:()=>{Ta(Ti),Ia(),Rn.value&&(Wa||(Rn.value.scrollLeft=0),Rn.value.scrollTop=0)}},Pn)});return createVNode("div",{role:"tablist",class:classNames(`${Qa}-nav`,Ma),style:Ua,onKeydown:()=>{Ia()}},[createVNode(Aa,{position:"left",prefixCls:Qa,extra:Pn.leftExtra},null),createVNode(ResizeObserver$1,{onResize:Na},{default:()=>[createVNode("div",{class:classNames(fi,{[`${fi}-ping-left`]:ei,[`${fi}-ping-right`]:ti,[`${fi}-ping-top`]:ni,[`${fi}-ping-bottom`]:ui}),ref:Rn},[createVNode(ResizeObserver$1,{onResize:Na},{default:()=>[createVNode("div",{ref:Dn,class:`${Qa}-nav-list`,style:{transform:`translate(${Wn.value}px, ${Gn.value}px)`,transition:ya.value?"none":void 0}},[di,createVNode(AddButton,{ref:Fn,prefixCls:Qa,locale:ja,editable:Ya,style:_extends$1(_extends$1({},di.length===0?void 0:mi),{visibility:ri?"hidden":null})},null),createVNode("div",{class:classNames(`${Qa}-ink-bar`,{[`${Qa}-ink-bar-animated`]:Fa.inkBar}),style:ka.value},null)])]})])]}),createVNode(OperationNode,_objectSpread2$1(_objectSpread2$1({},$n),{},{removeAriaLabel:ja==null?void 0:ja.removeAriaLabel,ref:Ln,prefixCls:Qa,tabs:$a.value,class:!ri&&ca.value}),pick(Pn,["moreIcon"])),createVNode(Aa,{position:"right",prefixCls:Qa,extra:Pn.rightExtra},null),createVNode(Aa,{position:"right",prefixCls:Qa,extra:Pn.tabBarExtraContent},null)])}}}),TabPanelList=defineComponent({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup($n){const{tabs:Cn,prefixCls:_n}=useInjectTabs();return()=>{const{id:Pn,activeKey:In,animated:Nn,tabPosition:Rn,rtl:Dn,destroyInactiveTabPane:Ln}=$n,Fn=Nn.tabPane,Bn=_n.value,Hn=Cn.value.findIndex(zn=>zn.key===In);return createVNode("div",{class:`${Bn}-content-holder`},[createVNode("div",{class:[`${Bn}-content`,`${Bn}-content-${Rn}`,{[`${Bn}-content-animated`]:Fn}],style:Hn&&Fn?{[Dn?"marginRight":"marginLeft"]:`-${Hn}00%`}:null},[Cn.value.map(zn=>cloneElement(zn.node,{key:zn.key,prefixCls:Bn,tabKey:zn.key,id:Pn,animated:Fn,active:zn.key===In,destroyInactiveTabPane:Ln}))])])}}});var PlusOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const PlusOutlinedSvg=PlusOutlined$2;function _objectSpread$E($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$E($n,In,_n[In])})}return $n}function _defineProperty$E($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var PlusOutlined=function(Cn,_n){var Pn=_objectSpread$E({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$E({},Pn,{icon:PlusOutlinedSvg}),null)};PlusOutlined.displayName="PlusOutlined";PlusOutlined.inheritAttrs=!1;const PlusOutlined$1=PlusOutlined,genMotionStyle$4=$n=>{const{componentCls:Cn,motionDurationSlow:_n}=$n;return[{[Cn]:{[`${Cn}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${_n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${_n}`}}}}},[initSlideMotion($n,"slide-up"),initSlideMotion($n,"slide-down")]]},genMotionStyle$5=genMotionStyle$4,genCardStyle$1=$n=>{const{componentCls:Cn,tabsCardHorizontalPadding:_n,tabsCardHeadBackground:Pn,tabsCardGutter:In,colorSplit:Nn}=$n;return{[`${Cn}-card`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab`]:{margin:0,padding:_n,background:Pn,border:`${$n.lineWidth}px ${$n.lineType} ${Nn}`,transition:`all ${$n.motionDurationSlow} ${$n.motionEaseInOut}`},[`${Cn}-tab-active`]:{color:$n.colorPrimary,background:$n.colorBgContainer},[`${Cn}-ink-bar`]:{visibility:"hidden"}},[`&${Cn}-top, &${Cn}-bottom`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab + ${Cn}-tab`]:{marginLeft:{_skip_check_:!0,value:`${In}px`}}}},[`&${Cn}-top`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab`]:{borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`},[`${Cn}-tab-active`]:{borderBottomColor:$n.colorBgContainer}}},[`&${Cn}-bottom`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab`]:{borderRadius:`0 0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px`},[`${Cn}-tab-active`]:{borderTopColor:$n.colorBgContainer}}},[`&${Cn}-left, &${Cn}-right`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab + ${Cn}-tab`]:{marginTop:`${In}px`}}},[`&${Cn}-left`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab`]:{borderRadius:{_skip_check_:!0,value:`${$n.borderRadiusLG}px 0 0 ${$n.borderRadiusLG}px`}},[`${Cn}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:$n.colorBgContainer}}}},[`&${Cn}-right`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0`}},[`${Cn}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:$n.colorBgContainer}}}}}}},genDropdownStyle=$n=>{const{componentCls:Cn,tabsHoverColor:_n,dropdownEdgeChildVerticalPadding:Pn}=$n;return{[`${Cn}-dropdown`]:_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:$n.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Cn}-dropdown-menu`]:{maxHeight:$n.tabsDropdownHeight,margin:0,padding:`${Pn}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:$n.colorBgContainer,backgroundClip:"padding-box",borderRadius:$n.borderRadiusLG,outline:"none",boxShadow:$n.boxShadowSecondary,"&-item":_extends$1(_extends$1({},textEllipsis),{display:"flex",alignItems:"center",minWidth:$n.tabsDropdownWidth,margin:0,padding:`${$n.paddingXXS}px ${$n.paddingSM}px`,color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize,lineHeight:$n.lineHeight,cursor:"pointer",transition:`all ${$n.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:$n.marginSM},color:$n.colorTextDescription,fontSize:$n.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:_n}},"&:hover":{background:$n.controlItemBgHover},"&-disabled":{"&, &:hover":{color:$n.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},genPositionStyle=$n=>{const{componentCls:Cn,margin:_n,colorSplit:Pn}=$n;return{[`${Cn}-top, ${Cn}-bottom`]:{flexDirection:"column",[`> ${Cn}-nav, > div > ${Cn}-nav`]:{margin:`0 0 ${_n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${$n.lineWidth}px ${$n.lineType} ${Pn}`,content:"''"},[`${Cn}-ink-bar`]:{height:$n.lineWidthBold,"&-animated":{transition:`width ${$n.motionDurationSlow}, left ${$n.motionDurationSlow},
- right ${$n.motionDurationSlow}`}},[`${Cn}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:$n.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:$n.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:$n.boxShadowTabsOverflowRight},[`&${Cn}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Cn}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Cn}-top`]:{[`> ${Cn}-nav,
- > div > ${Cn}-nav`]:{"&::before":{bottom:0},[`${Cn}-ink-bar`]:{bottom:0}}},[`${Cn}-bottom`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{order:1,marginTop:`${_n}px`,marginBottom:0,"&::before":{top:0},[`${Cn}-ink-bar`]:{top:0}},[`> ${Cn}-content-holder, > div > ${Cn}-content-holder`]:{order:0}},[`${Cn}-left, ${Cn}-right`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{flexDirection:"column",minWidth:$n.controlHeight*1.25,[`${Cn}-tab`]:{padding:`${$n.paddingXS}px ${$n.paddingLG}px`,textAlign:"center"},[`${Cn}-tab + ${Cn}-tab`]:{margin:`${$n.margin}px 0 0 0`},[`${Cn}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:$n.controlHeight},"&::before":{top:0,boxShadow:$n.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:$n.boxShadowTabsOverflowBottom},[`&${Cn}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Cn}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Cn}-ink-bar`]:{width:$n.lineWidthBold,"&-animated":{transition:`height ${$n.motionDurationSlow}, top ${$n.motionDurationSlow}`}},[`${Cn}-nav-list, ${Cn}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Cn}-left`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Cn}-content-holder, > div > ${Cn}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${$n.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`},[`> ${Cn}-content > ${Cn}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:$n.paddingLG}}}},[`${Cn}-right`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{order:1,[`${Cn}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Cn}-content-holder, > div > ${Cn}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-$n.lineWidth},borderRight:{_skip_check_:!0,value:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`},[`> ${Cn}-content > ${Cn}-tabpane`]:{paddingRight:{_skip_check_:!0,value:$n.paddingLG}}}}}},genSizeStyle$2=$n=>{const{componentCls:Cn,padding:_n}=$n;return{[Cn]:{"&-small":{[`> ${Cn}-nav`]:{[`${Cn}-tab`]:{padding:`${$n.paddingXS}px 0`,fontSize:$n.fontSize}}},"&-large":{[`> ${Cn}-nav`]:{[`${Cn}-tab`]:{padding:`${_n}px 0`,fontSize:$n.fontSizeLG}}}},[`${Cn}-card`]:{[`&${Cn}-small`]:{[`> ${Cn}-nav`]:{[`${Cn}-tab`]:{padding:`${$n.paddingXXS*1.5}px ${_n}px`}},[`&${Cn}-bottom`]:{[`> ${Cn}-nav ${Cn}-tab`]:{borderRadius:`0 0 ${$n.borderRadius}px ${$n.borderRadius}px`}},[`&${Cn}-top`]:{[`> ${Cn}-nav ${Cn}-tab`]:{borderRadius:`${$n.borderRadius}px ${$n.borderRadius}px 0 0`}},[`&${Cn}-right`]:{[`> ${Cn}-nav ${Cn}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${$n.borderRadius}px ${$n.borderRadius}px 0`}}},[`&${Cn}-left`]:{[`> ${Cn}-nav ${Cn}-tab`]:{borderRadius:{_skip_check_:!0,value:`${$n.borderRadius}px 0 0 ${$n.borderRadius}px`}}}},[`&${Cn}-large`]:{[`> ${Cn}-nav`]:{[`${Cn}-tab`]:{padding:`${$n.paddingXS}px ${_n}px ${$n.paddingXXS*1.5}px`}}}}}},genTabStyle=$n=>{const{componentCls:Cn,tabsActiveColor:_n,tabsHoverColor:Pn,iconCls:In,tabsHorizontalGutter:Nn}=$n,Rn=`${Cn}-tab`;return{[Rn]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${$n.paddingSM}px 0`,fontSize:`${$n.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":_extends$1({"&:focus:not(:focus-visible), &:active":{color:_n}},genFocusStyle($n)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-$n.marginXXS},marginLeft:{_skip_check_:!0,value:$n.marginXS},color:$n.colorTextDescription,fontSize:$n.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${$n.motionDurationSlow}`,"&:hover":{color:$n.colorTextHeading}},"&:hover":{color:Pn},[`&${Rn}-active ${Rn}-btn`]:{color:$n.colorPrimary,textShadow:$n.tabsActiveTextShadow},[`&${Rn}-disabled`]:{color:$n.colorTextDisabled,cursor:"not-allowed"},[`&${Rn}-disabled ${Rn}-btn, &${Rn}-disabled ${Cn}-remove`]:{"&:focus, &:active":{color:$n.colorTextDisabled}},[`& ${Rn}-remove ${In}`]:{margin:0},[In]:{marginRight:{_skip_check_:!0,value:$n.marginSM}}},[`${Rn} + ${Rn}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${Nn}px`}}}},genRtlStyle$3=$n=>{const{componentCls:Cn,tabsHorizontalGutter:_n,iconCls:Pn,tabsCardGutter:In}=$n;return{[`${Cn}-rtl`]:{direction:"rtl",[`${Cn}-nav`]:{[`${Cn}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${_n}px`},[`${Cn}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Pn]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${$n.marginSM}px`}},[`${Cn}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${$n.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${$n.marginXXS}px`},[Pn]:{margin:0}}}},[`&${Cn}-left`]:{[`> ${Cn}-nav`]:{order:1},[`> ${Cn}-content-holder`]:{order:0}},[`&${Cn}-right`]:{[`> ${Cn}-nav`]:{order:0},[`> ${Cn}-content-holder`]:{order:1}},[`&${Cn}-card${Cn}-top, &${Cn}-card${Cn}-bottom`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-tab + ${Cn}-tab`]:{marginRight:{_skip_check_:!0,value:`${In}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Cn}-dropdown-rtl`]:{direction:"rtl"},[`${Cn}-menu-item`]:{[`${Cn}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},genTabsStyle=$n=>{const{componentCls:Cn,tabsCardHorizontalPadding:_n,tabsCardHeight:Pn,tabsCardGutter:In,tabsHoverColor:Nn,tabsActiveColor:Rn,colorSplit:Dn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{display:"flex",[`> ${Cn}-nav, > div > ${Cn}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Cn}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${$n.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Cn}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${$n.motionDurationSlow}`},[`${Cn}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Cn}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Cn}-nav-more`]:{position:"relative",padding:_n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:$n.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Cn}-nav-add`]:_extends$1({minWidth:`${Pn}px`,marginLeft:{_skip_check_:!0,value:`${In}px`},padding:`0 ${$n.paddingXS}px`,background:"transparent",border:`${$n.lineWidth}px ${$n.lineType} ${Dn}`,borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:$n.colorText,transition:`all ${$n.motionDurationSlow} ${$n.motionEaseInOut}`,"&:hover":{color:Nn},"&:active, &:focus:not(:focus-visible)":{color:Rn}},genFocusStyle($n))},[`${Cn}-extra-content`]:{flex:"none"},[`${Cn}-ink-bar`]:{position:"absolute",background:$n.colorPrimary,pointerEvents:"none"}}),genTabStyle($n)),{[`${Cn}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${Cn}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Cn}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${Cn}-centered`]:{[`> ${Cn}-nav, > div > ${Cn}-nav`]:{[`${Cn}-nav-wrap`]:{[`&:not([class*='${Cn}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},useStyle$H=genComponentStyleHook("Tabs",$n=>{const Cn=$n.controlHeightLG,_n=merge$1($n,{tabsHoverColor:$n.colorPrimaryHover,tabsActiveColor:$n.colorPrimaryActive,tabsCardHorizontalPadding:`${(Cn-Math.round($n.fontSize*$n.lineHeight))/2-$n.lineWidth}px ${$n.padding}px`,tabsCardHeight:Cn,tabsCardGutter:$n.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:$n.colorFillAlter,dropdownEdgeChildVerticalPadding:$n.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[genSizeStyle$2(_n),genRtlStyle$3(_n),genPositionStyle(_n),genDropdownStyle(_n),genCardStyle$1(_n),genTabsStyle(_n),genMotionStyle$5(_n)]},$n=>({zIndexPopup:$n.zIndexPopupBase+50}));let uuid$4=0;const tabsProps=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:functionType(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:stringType(),animated:someType([Boolean,Object]),renderTabBar:functionType(),tabBarGutter:{type:Number},tabBarStyle:objectType(),tabPosition:stringType(),destroyInactiveTabPane:booleanType(),hideAdd:Boolean,type:stringType(),size:stringType(),centered:Boolean,onEdit:functionType(),onChange:functionType(),onTabClick:functionType(),onTabScroll:functionType(),"onUpdate:activeKey":functionType(),locale:objectType(),onPrevClick:functionType(),onNextClick:functionType(),tabBarExtraContent:PropTypes.any});function parseTabList($n){return $n.map(Cn=>{if(isValidElement(Cn)){const _n=_extends$1({},Cn.props||{});for(const[zn,Wn]of Object.entries(_n))delete _n[zn],_n[camelize(zn)]=Wn;const Pn=Cn.children||{},In=Cn.key!==void 0?Cn.key:void 0,{tab:Nn=Pn.tab,disabled:Rn,forceRender:Dn,closable:Ln,animated:Fn,active:Bn,destroyInactiveTabPane:Hn}=_n;return _extends$1(_extends$1({key:In},_n),{node:Cn,closeIcon:Pn.closeIcon,tab:Nn,disabled:Rn===""||Rn,forceRender:Dn===""||Dn,closable:Ln===""||Ln,animated:Fn===""||Fn,active:Bn===""||Bn,destroyInactiveTabPane:Hn===""||Hn})}return null}).filter(Cn=>Cn)}const InternalTabs=defineComponent({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:_extends$1(_extends$1({},initDefaultProps(tabsProps(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:arrayType()}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;devWarning($n.onPrevClick===void 0&&$n.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),devWarning($n.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),devWarning(Pn.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:In,direction:Nn,size:Rn,rootPrefixCls:Dn,getPopupContainer:Ln}=useConfigInject("tabs",$n),[Fn,Bn]=useStyle$H(In),Hn=computed(()=>Nn.value==="rtl"),zn=computed(()=>{const{animated:nr,tabPosition:ta}=$n;return nr===!1||["left","right"].includes(ta)?{inkBar:!1,tabPane:!1}:nr===!0?{inkBar:!0,tabPane:!0}:_extends$1({inkBar:!0,tabPane:!1},typeof nr=="object"?nr:{})}),[Wn,Yn]=useState(!1);onMounted(()=>{Yn(isMobile())});const[Gn,Go]=useMergedState(()=>{var nr;return(nr=$n.tabs[0])===null||nr===void 0?void 0:nr.key},{value:computed(()=>$n.activeKey),defaultValue:$n.defaultActiveKey}),[Xn,Yo]=useState(()=>$n.tabs.findIndex(nr=>nr.key===Gn.value));watchEffect(()=>{var nr;let ta=$n.tabs.findIndex(oa=>oa.key===Gn.value);ta===-1&&(ta=Math.max(0,Math.min(Xn.value,$n.tabs.length-1)),Go((nr=$n.tabs[ta])===null||nr===void 0?void 0:nr.key)),Yo(ta)});const[qo,Jo]=useMergedState(null,{value:computed(()=>$n.id)}),Zo=computed(()=>Wn.value&&!["left","right"].includes($n.tabPosition)?"top":$n.tabPosition);onMounted(()=>{$n.id||(Jo(`rc-tabs-${uuid$4}`),uuid$4+=1)});const rr=(nr,ta)=>{var oa,ra;(oa=$n.onTabClick)===null||oa===void 0||oa.call($n,nr,ta);const ea=nr!==Gn.value;Go(nr),ea&&((ra=$n.onChange)===null||ra===void 0||ra.call($n,nr))};return useProvideTabs({tabs:computed(()=>$n.tabs),prefixCls:In}),()=>{const{id:nr,type:ta,tabBarGutter:oa,tabBarStyle:ra,locale:ea,destroyInactiveTabPane:la,renderTabBar:ua=Pn.renderTabBar,onTabScroll:ga,hideAdd:aa,centered:ca}=$n,sa={id:qo.value,activeKey:Gn.value,animated:zn.value,tabPosition:Zo.value,rtl:Hn.value,mobile:Wn.value};let ia;ta==="editable-card"&&(ia={onEdit:(ba,Ia)=>{let{key:Ea,event:xa}=Ia;var Ta;(Ta=$n.onEdit)===null||Ta===void 0||Ta.call($n,ba==="add"?xa:Ea,ba)},removeIcon:()=>createVNode(CloseOutlined$1,null,null),addIcon:Pn.addIcon?Pn.addIcon:()=>createVNode(PlusOutlined$1,null,null),showAdd:aa!==!0});let fa;const ma=_extends$1(_extends$1({},sa),{moreTransitionName:`${Dn.value}-slide-up`,editable:ia,locale:ea,tabBarGutter:oa,onTabClick:rr,onTabScroll:ga,style:ra,getPopupContainer:Ln.value,popupClassName:classNames($n.popupClassName,Bn.value)});ua?fa=ua(_extends$1(_extends$1({},ma),{DefaultTabBar:TabNavList})):fa=createVNode(TabNavList,ma,pick(Pn,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const ya=In.value;return Fn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{id:nr,class:classNames(ya,`${ya}-${Zo.value}`,{[Bn.value]:!0,[`${ya}-${Rn.value}`]:Rn.value,[`${ya}-card`]:["card","editable-card"].includes(ta),[`${ya}-editable-card`]:ta==="editable-card",[`${ya}-centered`]:ca,[`${ya}-mobile`]:Wn.value,[`${ya}-editable`]:ta==="editable-card",[`${ya}-rtl`]:Hn.value},_n.class)}),[fa,createVNode(TabPanelList,_objectSpread2$1(_objectSpread2$1({destroyInactiveTabPane:la},sa),{},{animated:zn.value}),null)]))}}}),Tabs=defineComponent({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:initDefaultProps(tabsProps(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const Nn=Rn=>{In("update:activeKey",Rn),In("change",Rn)};return()=>{var Rn;const Dn=parseTabList(flattenChildren((Rn=Pn.default)===null||Rn===void 0?void 0:Rn.call(Pn)));return createVNode(InternalTabs,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},omit$1($n,["onUpdate:activeKey"])),_n),{},{onChange:Nn,tabs:Dn}),Pn)}}}),tabPaneProps=()=>({tab:PropTypes.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),TabPane$1=defineComponent({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:tabPaneProps(),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=ref($n.forceRender);watch([()=>$n.active,()=>$n.destroyInactiveTabPane],()=>{$n.active?In.value=!0:$n.destroyInactiveTabPane&&(In.value=!1)},{immediate:!0});const Nn=computed(()=>$n.active?{}:$n.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var Rn;const{prefixCls:Dn,forceRender:Ln,id:Fn,active:Bn,tabKey:Hn}=$n;return createVNode("div",{id:Fn&&`${Fn}-panel-${Hn}`,role:"tabpanel",tabindex:Bn?0:-1,"aria-labelledby":Fn&&`${Fn}-tab-${Hn}`,"aria-hidden":!Bn,style:[Nn.value,_n.style],class:[`${Dn}-tabpane`,Bn&&`${Dn}-tabpane-active`,_n.class]},[(Bn||In.value||Ln)&&((Rn=Pn.default)===null||Rn===void 0?void 0:Rn.call(Pn))])}}});Tabs.TabPane=TabPane$1;Tabs.install=function($n){return $n.component(Tabs.name,Tabs),$n.component(TabPane$1.name,TabPane$1),$n};const genCardHeadStyle=$n=>{const{antCls:Cn,componentCls:_n,cardHeadHeight:Pn,cardPaddingBase:In,cardHeadTabsMarginBottom:Nn}=$n;return _extends$1(_extends$1({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:Pn,marginBottom:-1,padding:`0 ${In}px`,color:$n.colorTextHeading,fontWeight:$n.fontWeightStrong,fontSize:$n.fontSizeLG,background:"transparent",borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorderSecondary}`,borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`},clearFix()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":_extends$1(_extends$1({display:"inline-block",flex:1},textEllipsis),{[`
- > ${_n}-typography,
- > ${_n}-typography-edit-content
- `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${Cn}-tabs-top`]:{clear:"both",marginBottom:Nn,color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize,"&-bar":{borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorderSecondary}`}}})},genCardGridStyle=$n=>{const{cardPaddingBase:Cn,colorBorderSecondary:_n,cardShadow:Pn,lineWidth:In}=$n;return{width:"33.33%",padding:Cn,border:0,borderRadius:0,boxShadow:`
- ${In}px 0 0 0 ${_n},
- 0 ${In}px 0 0 ${_n},
- ${In}px ${In}px 0 0 ${_n},
- ${In}px 0 0 0 ${_n} inset,
- 0 ${In}px 0 0 ${_n} inset;
- `,transition:`all ${$n.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:Pn}}},genCardActionsStyle=$n=>{const{componentCls:Cn,iconCls:_n,cardActionsLiMargin:Pn,cardActionsIconSize:In,colorBorderSecondary:Nn}=$n;return _extends$1(_extends$1({margin:0,padding:0,listStyle:"none",background:$n.colorBgContainer,borderTop:`${$n.lineWidth}px ${$n.lineType} ${Nn}`,display:"flex",borderRadius:`0 0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px `},clearFix()),{"& > li":{margin:Pn,color:$n.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:$n.cardActionsIconSize*2,fontSize:$n.fontSize,lineHeight:$n.lineHeight,cursor:"pointer","&:hover":{color:$n.colorPrimary,transition:`color ${$n.motionDurationMid}`},[`a:not(${Cn}-btn), > ${_n}`]:{display:"inline-block",width:"100%",color:$n.colorTextDescription,lineHeight:`${$n.fontSize*$n.lineHeight}px`,transition:`color ${$n.motionDurationMid}`,"&:hover":{color:$n.colorPrimary}},[`> ${_n}`]:{fontSize:In,lineHeight:`${In*$n.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${$n.lineWidth}px ${$n.lineType} ${Nn}`}}})},genCardMetaStyle=$n=>_extends$1(_extends$1({margin:`-${$n.marginXXS}px 0`,display:"flex"},clearFix()),{"&-avatar":{paddingInlineEnd:$n.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:$n.marginXS}},"&-title":_extends$1({color:$n.colorTextHeading,fontWeight:$n.fontWeightStrong,fontSize:$n.fontSizeLG},textEllipsis),"&-description":{color:$n.colorTextDescription}}),genCardTypeInnerStyle=$n=>{const{componentCls:Cn,cardPaddingBase:_n,colorFillAlter:Pn}=$n;return{[`${Cn}-head`]:{padding:`0 ${_n}px`,background:Pn,"&-title":{fontSize:$n.fontSize}},[`${Cn}-body`]:{padding:`${$n.padding}px ${_n}px`}}},genCardLoadingStyle=$n=>{const{componentCls:Cn}=$n;return{overflow:"hidden",[`${Cn}-body`]:{userSelect:"none"}}},genCardStyle=$n=>{const{componentCls:Cn,cardShadow:_n,cardHeadPadding:Pn,colorBorderSecondary:In,boxShadow:Nn,cardPaddingBase:Rn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",background:$n.colorBgContainer,borderRadius:$n.borderRadiusLG,[`&:not(${Cn}-bordered)`]:{boxShadow:Nn},[`${Cn}-head`]:genCardHeadStyle($n),[`${Cn}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:$n.fontSize},[`${Cn}-body`]:_extends$1({padding:Rn,borderRadius:` 0 0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px`},clearFix()),[`${Cn}-grid`]:genCardGridStyle($n),[`${Cn}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`}},[`${Cn}-actions`]:genCardActionsStyle($n),[`${Cn}-meta`]:genCardMetaStyle($n)}),[`${Cn}-bordered`]:{border:`${$n.lineWidth}px ${$n.lineType} ${In}`,[`${Cn}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${Cn}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${$n.motionDurationMid}, border-color ${$n.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:_n}},[`${Cn}-contain-grid`]:{[`${Cn}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${Cn}-loading) ${Cn}-body`]:{marginBlockStart:-$n.lineWidth,marginInlineStart:-$n.lineWidth,padding:0}},[`${Cn}-contain-tabs`]:{[`> ${Cn}-head`]:{[`${Cn}-head-title, ${Cn}-extra`]:{paddingTop:Pn}}},[`${Cn}-type-inner`]:genCardTypeInnerStyle($n),[`${Cn}-loading`]:genCardLoadingStyle($n),[`${Cn}-rtl`]:{direction:"rtl"}}},genCardSizeStyle=$n=>{const{componentCls:Cn,cardPaddingSM:_n,cardHeadHeightSM:Pn}=$n;return{[`${Cn}-small`]:{[`> ${Cn}-head`]:{minHeight:Pn,padding:`0 ${_n}px`,fontSize:$n.fontSize,[`> ${Cn}-head-wrapper`]:{[`> ${Cn}-extra`]:{fontSize:$n.fontSize}}},[`> ${Cn}-body`]:{padding:_n}},[`${Cn}-small${Cn}-contain-tabs`]:{[`> ${Cn}-head`]:{[`${Cn}-head-title, ${Cn}-extra`]:{minHeight:Pn,paddingTop:0,display:"flex",alignItems:"center"}}}}},useStyle$G=genComponentStyleHook("Card",$n=>{const Cn=merge$1($n,{cardShadow:$n.boxShadowCard,cardHeadHeight:$n.fontSizeLG*$n.lineHeightLG+$n.padding*2,cardHeadHeightSM:$n.fontSize*$n.lineHeight+$n.paddingXS*2,cardHeadPadding:$n.padding,cardPaddingBase:$n.paddingLG,cardHeadTabsMarginBottom:-$n.padding-$n.lineWidth,cardActionsLiMargin:`${$n.paddingSM}px 0`,cardActionsIconSize:$n.fontSize,cardPaddingSM:12});return[genCardStyle(Cn),genCardSizeStyle(Cn)]}),skeletonTitleProps=()=>({prefixCls:String,width:{type:[Number,String]}}),SkeletonTitle=defineComponent({compatConfig:{MODE:3},name:"SkeletonTitle",props:skeletonTitleProps(),setup($n){return()=>{const{prefixCls:Cn,width:_n}=$n,Pn=typeof _n=="number"?`${_n}px`:_n;return createVNode("h3",{class:Cn,style:{width:Pn}},null)}}}),SkeletonTitle$1=SkeletonTitle,skeletonParagraphProps=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),SkeletonParagraph=defineComponent({compatConfig:{MODE:3},name:"SkeletonParagraph",props:skeletonParagraphProps(),setup($n){const Cn=_n=>{const{width:Pn,rows:In=2}=$n;if(Array.isArray(Pn))return Pn[_n];if(In-1===_n)return Pn};return()=>{const{prefixCls:_n,rows:Pn}=$n,In=[...Array(Pn)].map((Nn,Rn)=>{const Dn=Cn(Rn);return createVNode("li",{key:Rn,style:{width:typeof Dn=="number"?`${Dn}px`:Dn}},null)});return createVNode("ul",{class:_n},[In])}}}),Paragraph$2=SkeletonParagraph,skeletonElementProps=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),Element$1=$n=>{const{prefixCls:Cn,size:_n,shape:Pn}=$n,In=classNames({[`${Cn}-lg`]:_n==="large",[`${Cn}-sm`]:_n==="small"}),Nn=classNames({[`${Cn}-circle`]:Pn==="circle",[`${Cn}-square`]:Pn==="square",[`${Cn}-round`]:Pn==="round"}),Rn=typeof _n=="number"?{width:`${_n}px`,height:`${_n}px`,lineHeight:`${_n}px`}:{};return createVNode("span",{class:classNames(Cn,In,Nn),style:Rn},null)};Element$1.displayName="SkeletonElement";const Element$2=Element$1,skeletonClsLoading=new Keyframes("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),genSkeletonElementCommonSize=$n=>({height:$n,lineHeight:`${$n}px`}),genSkeletonElementAvatarSize=$n=>_extends$1({width:$n},genSkeletonElementCommonSize($n)),genSkeletonColor=$n=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:$n.skeletonLoadingBackground,animationName:skeletonClsLoading,animationDuration:$n.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),genSkeletonElementInputSize=$n=>_extends$1({width:$n*5,minWidth:$n*5},genSkeletonElementCommonSize($n)),genSkeletonElementAvatar=$n=>{const{skeletonAvatarCls:Cn,color:_n,controlHeight:Pn,controlHeightLG:In,controlHeightSM:Nn}=$n;return{[`${Cn}`]:_extends$1({display:"inline-block",verticalAlign:"top",background:_n},genSkeletonElementAvatarSize(Pn)),[`${Cn}${Cn}-circle`]:{borderRadius:"50%"},[`${Cn}${Cn}-lg`]:_extends$1({},genSkeletonElementAvatarSize(In)),[`${Cn}${Cn}-sm`]:_extends$1({},genSkeletonElementAvatarSize(Nn))}},genSkeletonElementInput=$n=>{const{controlHeight:Cn,borderRadiusSM:_n,skeletonInputCls:Pn,controlHeightLG:In,controlHeightSM:Nn,color:Rn}=$n;return{[`${Pn}`]:_extends$1({display:"inline-block",verticalAlign:"top",background:Rn,borderRadius:_n},genSkeletonElementInputSize(Cn)),[`${Pn}-lg`]:_extends$1({},genSkeletonElementInputSize(In)),[`${Pn}-sm`]:_extends$1({},genSkeletonElementInputSize(Nn))}},genSkeletonElementImageSize=$n=>_extends$1({width:$n},genSkeletonElementCommonSize($n)),genSkeletonElementImage=$n=>{const{skeletonImageCls:Cn,imageSizeBase:_n,color:Pn,borderRadiusSM:In}=$n;return{[`${Cn}`]:_extends$1(_extends$1({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Pn,borderRadius:In},genSkeletonElementImageSize(_n*2)),{[`${Cn}-path`]:{fill:"#bfbfbf"},[`${Cn}-svg`]:_extends$1(_extends$1({},genSkeletonElementImageSize(_n)),{maxWidth:_n*4,maxHeight:_n*4}),[`${Cn}-svg${Cn}-svg-circle`]:{borderRadius:"50%"}}),[`${Cn}${Cn}-circle`]:{borderRadius:"50%"}}},genSkeletonElementButtonShape=($n,Cn,_n)=>{const{skeletonButtonCls:Pn}=$n;return{[`${_n}${Pn}-circle`]:{width:Cn,minWidth:Cn,borderRadius:"50%"},[`${_n}${Pn}-round`]:{borderRadius:Cn}}},genSkeletonElementButtonSize=$n=>_extends$1({width:$n*2,minWidth:$n*2},genSkeletonElementCommonSize($n)),genSkeletonElementButton=$n=>{const{borderRadiusSM:Cn,skeletonButtonCls:_n,controlHeight:Pn,controlHeightLG:In,controlHeightSM:Nn,color:Rn}=$n;return _extends$1(_extends$1(_extends$1(_extends$1(_extends$1({[`${_n}`]:_extends$1({display:"inline-block",verticalAlign:"top",background:Rn,borderRadius:Cn,width:Pn*2,minWidth:Pn*2},genSkeletonElementButtonSize(Pn))},genSkeletonElementButtonShape($n,Pn,_n)),{[`${_n}-lg`]:_extends$1({},genSkeletonElementButtonSize(In))}),genSkeletonElementButtonShape($n,In,`${_n}-lg`)),{[`${_n}-sm`]:_extends$1({},genSkeletonElementButtonSize(Nn))}),genSkeletonElementButtonShape($n,Nn,`${_n}-sm`))},genBaseStyle$e=$n=>{const{componentCls:Cn,skeletonAvatarCls:_n,skeletonTitleCls:Pn,skeletonParagraphCls:In,skeletonButtonCls:Nn,skeletonInputCls:Rn,skeletonImageCls:Dn,controlHeight:Ln,controlHeightLG:Fn,controlHeightSM:Bn,color:Hn,padding:zn,marginSM:Wn,borderRadius:Yn,skeletonTitleHeight:Gn,skeletonBlockRadius:Go,skeletonParagraphLineHeight:Xn,controlHeightXS:Yo,skeletonParagraphMarginTop:qo}=$n;return{[`${Cn}`]:{display:"table",width:"100%",[`${Cn}-header`]:{display:"table-cell",paddingInlineEnd:zn,verticalAlign:"top",[`${_n}`]:_extends$1({display:"inline-block",verticalAlign:"top",background:Hn},genSkeletonElementAvatarSize(Ln)),[`${_n}-circle`]:{borderRadius:"50%"},[`${_n}-lg`]:_extends$1({},genSkeletonElementAvatarSize(Fn)),[`${_n}-sm`]:_extends$1({},genSkeletonElementAvatarSize(Bn))},[`${Cn}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Pn}`]:{width:"100%",height:Gn,background:Hn,borderRadius:Go,[`+ ${In}`]:{marginBlockStart:Bn}},[`${In}`]:{padding:0,"> li":{width:"100%",height:Xn,listStyle:"none",background:Hn,borderRadius:Go,"+ li":{marginBlockStart:Yo}}},[`${In}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Cn}-content`]:{[`${Pn}, ${In} > li`]:{borderRadius:Yn}}},[`${Cn}-with-avatar ${Cn}-content`]:{[`${Pn}`]:{marginBlockStart:Wn,[`+ ${In}`]:{marginBlockStart:qo}}},[`${Cn}${Cn}-element`]:_extends$1(_extends$1(_extends$1(_extends$1({display:"inline-block",width:"auto"},genSkeletonElementButton($n)),genSkeletonElementAvatar($n)),genSkeletonElementInput($n)),genSkeletonElementImage($n)),[`${Cn}${Cn}-block`]:{width:"100%",[`${Nn}`]:{width:"100%"},[`${Rn}`]:{width:"100%"}},[`${Cn}${Cn}-active`]:{[`
- ${Pn},
- ${In} > li,
- ${_n},
- ${Nn},
- ${Rn},
- ${Dn}
- `]:_extends$1({},genSkeletonColor($n))}}},useStyle$F=genComponentStyleHook("Skeleton",$n=>{const{componentCls:Cn}=$n,_n=merge$1($n,{skeletonAvatarCls:`${Cn}-avatar`,skeletonTitleCls:`${Cn}-title`,skeletonParagraphCls:`${Cn}-paragraph`,skeletonButtonCls:`${Cn}-button`,skeletonInputCls:`${Cn}-input`,skeletonImageCls:`${Cn}-image`,imageSizeBase:$n.controlHeight*1.5,skeletonTitleHeight:$n.controlHeight/2,skeletonBlockRadius:$n.borderRadiusSM,skeletonParagraphLineHeight:$n.controlHeight/2,skeletonParagraphMarginTop:$n.marginLG+$n.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${$n.color} 25%, ${$n.colorGradientEnd} 37%, ${$n.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[genBaseStyle$e(_n)]},$n=>{const{colorFillContent:Cn,colorFill:_n}=$n;return{color:Cn,colorGradientEnd:_n}}),skeletonProps=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function getComponentProps($n){return $n&&typeof $n=="object"?$n:{}}function getAvatarBasicProps($n,Cn){return $n&&!Cn?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function getTitleBasicProps($n,Cn){return!$n&&Cn?{width:"38%"}:$n&&Cn?{width:"50%"}:{}}function getParagraphBasicProps($n,Cn){const _n={};return(!$n||!Cn)&&(_n.width="61%"),!$n&&Cn?_n.rows=3:_n.rows=2,_n}const Skeleton=defineComponent({compatConfig:{MODE:3},name:"ASkeleton",props:initDefaultProps(skeletonProps(),{avatar:!1,title:!0,paragraph:!0}),setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn,direction:In}=useConfigInject("skeleton",$n),[Nn,Rn]=useStyle$F(Pn);return()=>{var Dn;const{loading:Ln,avatar:Fn,title:Bn,paragraph:Hn,active:zn,round:Wn}=$n,Yn=Pn.value;if(Ln||$n.loading===void 0){const Gn=!!Fn||Fn==="",Go=!!Bn||Bn==="",Xn=!!Hn||Hn==="";let Yo;if(Gn){const Zo=_extends$1(_extends$1({prefixCls:`${Yn}-avatar`},getAvatarBasicProps(Go,Xn)),getComponentProps(Fn));Yo=createVNode("div",{class:`${Yn}-header`},[createVNode(Element$2,Zo,null)])}let qo;if(Go||Xn){let Zo;if(Go){const nr=_extends$1(_extends$1({prefixCls:`${Yn}-title`},getTitleBasicProps(Gn,Xn)),getComponentProps(Bn));Zo=createVNode(SkeletonTitle$1,nr,null)}let rr;if(Xn){const nr=_extends$1(_extends$1({prefixCls:`${Yn}-paragraph`},getParagraphBasicProps(Gn,Go)),getComponentProps(Hn));rr=createVNode(Paragraph$2,nr,null)}qo=createVNode("div",{class:`${Yn}-content`},[Zo,rr])}const Jo=classNames(Yn,{[`${Yn}-with-avatar`]:Gn,[`${Yn}-active`]:zn,[`${Yn}-rtl`]:In.value==="rtl",[`${Yn}-round`]:Wn,[Rn.value]:!0});return Nn(createVNode("div",{class:Jo},[Yo,qo]))}return(Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n)}}}),Skeleton$1=Skeleton,skeletonButtonProps=()=>_extends$1(_extends$1({},skeletonElementProps()),{size:String,block:Boolean}),SkeletonButton=defineComponent({compatConfig:{MODE:3},name:"ASkeletonButton",props:initDefaultProps(skeletonButtonProps(),{size:"default"}),setup($n){const{prefixCls:Cn}=useConfigInject("skeleton",$n),[_n,Pn]=useStyle$F(Cn),In=computed(()=>classNames(Cn.value,`${Cn.value}-element`,{[`${Cn.value}-active`]:$n.active,[`${Cn.value}-block`]:$n.block},Pn.value));return()=>_n(createVNode("div",{class:In.value},[createVNode(Element$2,_objectSpread2$1(_objectSpread2$1({},$n),{},{prefixCls:`${Cn.value}-button`}),null)]))}}),SkeletonButton$1=SkeletonButton,SkeletonInput=defineComponent({compatConfig:{MODE:3},name:"ASkeletonInput",props:_extends$1(_extends$1({},omit$1(skeletonElementProps(),["shape"])),{size:String,block:Boolean}),setup($n){const{prefixCls:Cn}=useConfigInject("skeleton",$n),[_n,Pn]=useStyle$F(Cn),In=computed(()=>classNames(Cn.value,`${Cn.value}-element`,{[`${Cn.value}-active`]:$n.active,[`${Cn.value}-block`]:$n.block},Pn.value));return()=>_n(createVNode("div",{class:In.value},[createVNode(Element$2,_objectSpread2$1(_objectSpread2$1({},$n),{},{prefixCls:`${Cn.value}-input`}),null)]))}}),SkeletonInput$1=SkeletonInput,path="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",SkeletonImage=defineComponent({compatConfig:{MODE:3},name:"ASkeletonImage",props:omit$1(skeletonElementProps(),["size","shape","active"]),setup($n){const{prefixCls:Cn}=useConfigInject("skeleton",$n),[_n,Pn]=useStyle$F(Cn),In=computed(()=>classNames(Cn.value,`${Cn.value}-element`,Pn.value));return()=>_n(createVNode("div",{class:In.value},[createVNode("div",{class:`${Cn.value}-image`},[createVNode("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${Cn.value}-image-svg`},[createVNode("path",{d:path,class:`${Cn.value}-image-path`},null)])])]))}}),SkeletonImage$1=SkeletonImage,avatarProps=()=>_extends$1(_extends$1({},skeletonElementProps()),{shape:String}),SkeletonAvatar=defineComponent({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:initDefaultProps(avatarProps(),{size:"default",shape:"circle"}),setup($n){const{prefixCls:Cn}=useConfigInject("skeleton",$n),[_n,Pn]=useStyle$F(Cn),In=computed(()=>classNames(Cn.value,`${Cn.value}-element`,{[`${Cn.value}-active`]:$n.active},Pn.value));return()=>_n(createVNode("div",{class:In.value},[createVNode(Element$2,_objectSpread2$1(_objectSpread2$1({},$n),{},{prefixCls:`${Cn.value}-avatar`}),null)]))}}),SkeletonAvatar$1=SkeletonAvatar;Skeleton$1.Button=SkeletonButton$1;Skeleton$1.Avatar=SkeletonAvatar$1;Skeleton$1.Input=SkeletonInput$1;Skeleton$1.Image=SkeletonImage$1;Skeleton$1.Title=SkeletonTitle$1;Skeleton$1.install=function($n){return $n.component(Skeleton$1.name,Skeleton$1),$n.component(Skeleton$1.Button.name,SkeletonButton$1),$n.component(Skeleton$1.Avatar.name,SkeletonAvatar$1),$n.component(Skeleton$1.Input.name,SkeletonInput$1),$n.component(Skeleton$1.Image.name,SkeletonImage$1),$n.component(Skeleton$1.Title.name,SkeletonTitle$1),$n};const{TabPane}=Tabs,cardProps=()=>({prefixCls:String,title:PropTypes.any,extra:PropTypes.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:PropTypes.any,tabList:{type:Array},tabBarExtraContent:PropTypes.any,activeTabKey:String,defaultActiveTabKey:String,cover:PropTypes.any,onTabChange:{type:Function}}),Card=defineComponent({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:cardProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn,size:Rn}=useConfigInject("card",$n),[Dn,Ln]=useStyle$G(In),Fn=zn=>zn.map((Yn,Gn)=>isVNode$1(Yn)&&!isEmptyElement(Yn)||!isVNode$1(Yn)?createVNode("li",{style:{width:`${100/zn.length}%`},key:`action-${Gn}`},[createVNode("span",null,[Yn])]):null),Bn=zn=>{var Wn;(Wn=$n.onTabChange)===null||Wn===void 0||Wn.call($n,zn)},Hn=function(){let zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Wn;return zn.forEach(Yn=>{Yn&&isPlainObject$2(Yn.type)&&Yn.type.__ANT_CARD_GRID&&(Wn=!0)}),Wn};return()=>{var zn,Wn,Yn,Gn,Go,Xn;const{headStyle:Yo={},bodyStyle:qo={},loading:Jo,bordered:Zo=!0,type:rr,tabList:nr,hoverable:ta,activeTabKey:oa,defaultActiveTabKey:ra,tabBarExtraContent:ea=filterEmptyWithUndefined((zn=_n.tabBarExtraContent)===null||zn===void 0?void 0:zn.call(_n)),title:la=filterEmptyWithUndefined((Wn=_n.title)===null||Wn===void 0?void 0:Wn.call(_n)),extra:ua=filterEmptyWithUndefined((Yn=_n.extra)===null||Yn===void 0?void 0:Yn.call(_n)),actions:ga=filterEmptyWithUndefined((Gn=_n.actions)===null||Gn===void 0?void 0:Gn.call(_n)),cover:aa=filterEmptyWithUndefined((Go=_n.cover)===null||Go===void 0?void 0:Go.call(_n))}=$n,ca=flattenChildren((Xn=_n.default)===null||Xn===void 0?void 0:Xn.call(_n)),sa=In.value,ia={[`${sa}`]:!0,[Ln.value]:!0,[`${sa}-loading`]:Jo,[`${sa}-bordered`]:Zo,[`${sa}-hoverable`]:!!ta,[`${sa}-contain-grid`]:Hn(ca),[`${sa}-contain-tabs`]:nr&&nr.length,[`${sa}-${Rn.value}`]:Rn.value,[`${sa}-type-${rr}`]:!!rr,[`${sa}-rtl`]:Nn.value==="rtl"},fa=createVNode(Skeleton$1,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[ca]}),ma=oa!==void 0,ya={size:"large",[ma?"activeKey":"defaultActiveKey"]:ma?oa:ra,onChange:Bn,class:`${sa}-head-tabs`};let ba;const Ia=nr&&nr.length?createVNode(Tabs,ya,{default:()=>[nr.map(wa=>{const{tab:La,slots:Na}=wa,$a=Na==null?void 0:Na.tab;devWarning(!Na,"Card","tabList slots is deprecated, Please use `customTab` instead.");let ka=La!==void 0?La:_n[$a]?_n[$a](wa):null;return ka=customRenderSlot(_n,"customTab",wa,()=>[ka]),createVNode(TabPane,{tab:ka,key:wa.key,disabled:wa.disabled},null)})],rightExtra:ea?()=>ea:null}):null;(la||ua||Ia)&&(ba=createVNode("div",{class:`${sa}-head`,style:Yo},[createVNode("div",{class:`${sa}-head-wrapper`},[la&&createVNode("div",{class:`${sa}-head-title`},[la]),ua&&createVNode("div",{class:`${sa}-extra`},[ua])]),Ia]));const Ea=aa?createVNode("div",{class:`${sa}-cover`},[aa]):null,xa=createVNode("div",{class:`${sa}-body`,style:qo},[Jo?fa:ca]),Ta=ga&&ga.length?createVNode("ul",{class:`${sa}-actions`},[Fn(ga)]):null;return Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({ref:"cardContainerRef"},Pn),{},{class:[ia,Pn.class]}),[ba,Ea,ca&&ca.length?xa:null,Ta]))}}}),Card$1=Card,cardMetaProps=()=>({prefixCls:String,title:vNodeType(),description:vNodeType(),avatar:vNodeType()}),Meta=defineComponent({compatConfig:{MODE:3},name:"ACardMeta",props:cardMetaProps(),slots:Object,setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn}=useConfigInject("card",$n);return()=>{const In={[`${Pn.value}-meta`]:!0},Nn=getPropsSlot(_n,$n,"avatar"),Rn=getPropsSlot(_n,$n,"title"),Dn=getPropsSlot(_n,$n,"description"),Ln=Nn?createVNode("div",{class:`${Pn.value}-meta-avatar`},[Nn]):null,Fn=Rn?createVNode("div",{class:`${Pn.value}-meta-title`},[Rn]):null,Bn=Dn?createVNode("div",{class:`${Pn.value}-meta-description`},[Dn]):null,Hn=Fn||Bn?createVNode("div",{class:`${Pn.value}-meta-detail`},[Fn,Bn]):null;return createVNode("div",{class:In},[Ln,Hn])}}}),cardGridProps=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),Grid=defineComponent({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:cardGridProps(),setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn}=useConfigInject("card",$n),In=computed(()=>({[`${Pn.value}-grid`]:!0,[`${Pn.value}-grid-hoverable`]:$n.hoverable}));return()=>{var Nn;return createVNode("div",{class:In.value},[(Nn=_n.default)===null||Nn===void 0?void 0:Nn.call(_n)])}}});Card$1.Meta=Meta;Card$1.Grid=Grid;Card$1.install=function($n){return $n.component(Card$1.name,Card$1),$n.component(Meta.name,Meta),$n.component(Grid.name,Grid),$n};const collapseProps=()=>({prefixCls:String,activeKey:someType([Array,Number,String]),defaultActiveKey:someType([Array,Number,String]),accordion:booleanType(),destroyInactivePanel:booleanType(),bordered:booleanType(),expandIcon:functionType(),openAnimation:PropTypes.object,expandIconPosition:stringType(),collapsible:stringType(),ghost:booleanType(),onChange:functionType(),"onUpdate:activeKey":functionType()}),collapsePanelProps=()=>({openAnimation:PropTypes.object,prefixCls:String,header:PropTypes.any,headerClass:String,showArrow:booleanType(),isActive:booleanType(),destroyInactivePanel:booleanType(),disabled:booleanType(),accordion:booleanType(),forceRender:booleanType(),expandIcon:functionType(),extra:PropTypes.any,panelKey:someType(),collapsible:stringType(),role:String,onItemClick:functionType()}),genBaseStyle$d=$n=>{const{componentCls:Cn,collapseContentBg:_n,padding:Pn,collapseContentPaddingHorizontal:In,collapseHeaderBg:Nn,collapseHeaderPadding:Rn,collapsePanelBorderRadius:Dn,lineWidth:Ln,lineType:Fn,colorBorder:Bn,colorText:Hn,colorTextHeading:zn,colorTextDisabled:Wn,fontSize:Yn,lineHeight:Gn,marginSM:Go,paddingSM:Xn,motionDurationSlow:Yo,fontSizeIcon:qo}=$n,Jo=`${Ln}px ${Fn} ${Bn}`;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{backgroundColor:Nn,border:Jo,borderBottom:0,borderRadius:`${Dn}px`,"&-rtl":{direction:"rtl"},[`& > ${Cn}-item`]:{borderBottom:Jo,"&:last-child":{[`
- &,
- & > ${Cn}-header`]:{borderRadius:`0 0 ${Dn}px ${Dn}px`}},[`> ${Cn}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Rn,color:zn,lineHeight:Gn,cursor:"pointer",transition:`all ${Yo}, visibility 0s`,[`> ${Cn}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Cn}-expand-icon`]:{height:Yn*Gn,display:"flex",alignItems:"center",paddingInlineEnd:Go},[`${Cn}-arrow`]:_extends$1(_extends$1({},resetIcon()),{fontSize:qo,svg:{transition:`transform ${Yo}`}}),[`${Cn}-header-text`]:{marginInlineEnd:"auto"}},[`${Cn}-header-collapsible-only`]:{cursor:"default",[`${Cn}-header-text`]:{flex:"none",cursor:"pointer"},[`${Cn}-expand-icon`]:{cursor:"pointer"}},[`${Cn}-icon-collapsible-only`]:{cursor:"default",[`${Cn}-expand-icon`]:{cursor:"pointer"}},[`&${Cn}-no-arrow`]:{[`> ${Cn}-header`]:{paddingInlineStart:Xn}}},[`${Cn}-content`]:{color:Hn,backgroundColor:_n,borderTop:Jo,[`& > ${Cn}-content-box`]:{padding:`${Pn}px ${In}px`},"&-hidden":{display:"none"}},[`${Cn}-item:last-child`]:{[`> ${Cn}-content`]:{borderRadius:`0 0 ${Dn}px ${Dn}px`}},[`& ${Cn}-item-disabled > ${Cn}-header`]:{"\n &,\n & > .arrow\n ":{color:Wn,cursor:"not-allowed"}},[`&${Cn}-icon-position-end`]:{[`& > ${Cn}-item`]:{[`> ${Cn}-header`]:{[`${Cn}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Go}}}}})}},genArrowStyle=$n=>{const{componentCls:Cn}=$n,_n=`> ${Cn}-item > ${Cn}-header ${Cn}-arrow svg`;return{[`${Cn}-rtl`]:{[_n]:{transform:"rotate(180deg)"}}}},genBorderlessStyle=$n=>{const{componentCls:Cn,collapseHeaderBg:_n,paddingXXS:Pn,colorBorder:In}=$n;return{[`${Cn}-borderless`]:{backgroundColor:_n,border:0,[`> ${Cn}-item`]:{borderBottom:`1px solid ${In}`},[`
- > ${Cn}-item:last-child,
- > ${Cn}-item:last-child ${Cn}-header
- `]:{borderRadius:0},[`> ${Cn}-item:last-child`]:{borderBottom:0},[`> ${Cn}-item > ${Cn}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Cn}-item > ${Cn}-content > ${Cn}-content-box`]:{paddingTop:Pn}}}},genGhostStyle=$n=>{const{componentCls:Cn,paddingSM:_n}=$n;return{[`${Cn}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Cn}-item`]:{borderBottom:0,[`> ${Cn}-content`]:{backgroundColor:"transparent",border:0,[`> ${Cn}-content-box`]:{paddingBlock:_n}}}}}},useStyle$E=genComponentStyleHook("Collapse",$n=>{const Cn=merge$1($n,{collapseContentBg:$n.colorBgContainer,collapseHeaderBg:$n.colorFillAlter,collapseHeaderPadding:`${$n.paddingSM}px ${$n.padding}px`,collapsePanelBorderRadius:$n.borderRadiusLG,collapseContentPaddingHorizontal:16});return[genBaseStyle$d(Cn),genBorderlessStyle(Cn),genGhostStyle(Cn),genArrowStyle(Cn),genCollapseMotion$1(Cn)]});function getActiveKeysArray($n){let Cn=$n;if(!Array.isArray(Cn)){const _n=typeof Cn;Cn=_n==="number"||_n==="string"?[Cn]:[]}return Cn.map(_n=>String(_n))}const Collapse=defineComponent({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:initDefaultProps(collapseProps(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const Nn=ref(getActiveKeysArray(firstNotUndefined([$n.activeKey,$n.defaultActiveKey])));watch(()=>$n.activeKey,()=>{Nn.value=getActiveKeysArray($n.activeKey)},{deep:!0});const{prefixCls:Rn,direction:Dn,rootPrefixCls:Ln}=useConfigInject("collapse",$n),[Fn,Bn]=useStyle$E(Rn),Hn=computed(()=>{const{expandIconPosition:Xn}=$n;return Xn!==void 0?Xn:Dn.value==="rtl"?"end":"start"}),zn=Xn=>{const{expandIcon:Yo=Pn.expandIcon}=$n,qo=Yo?Yo(Xn):createVNode(RightOutlined$1,{rotate:Xn.isActive?90:void 0},null);return createVNode("div",{class:[`${Rn.value}-expand-icon`,Bn.value],onClick:()=>["header","icon"].includes($n.collapsible)&&Yn(Xn.panelKey)},[isValidElement(Array.isArray(Yo)?qo[0]:qo)?cloneElement(qo,{class:`${Rn.value}-arrow`},!1):qo])},Wn=Xn=>{$n.activeKey===void 0&&(Nn.value=Xn);const Yo=$n.accordion?Xn[0]:Xn;In("update:activeKey",Yo),In("change",Yo)},Yn=Xn=>{let Yo=Nn.value;if($n.accordion)Yo=Yo[0]===Xn?[]:[Xn];else{Yo=[...Yo];const qo=Yo.indexOf(Xn);qo>-1?Yo.splice(qo,1):Yo.push(Xn)}Wn(Yo)},Gn=(Xn,Yo)=>{var qo,Jo,Zo;if(isEmptyElement(Xn))return;const rr=Nn.value,{accordion:nr,destroyInactivePanel:ta,collapsible:oa,openAnimation:ra}=$n,ea=ra||collapseMotion$1(`${Ln.value}-motion-collapse`),la=String((qo=Xn.key)!==null&&qo!==void 0?qo:Yo),{header:ua=(Zo=(Jo=Xn.children)===null||Jo===void 0?void 0:Jo.header)===null||Zo===void 0?void 0:Zo.call(Jo),headerClass:ga,collapsible:aa,disabled:ca}=Xn.props||{};let sa=!1;nr?sa=rr[0]===la:sa=rr.indexOf(la)>-1;let ia=aa??oa;(ca||ca==="")&&(ia="disabled");const fa={key:la,panelKey:la,header:ua,headerClass:ga,isActive:sa,prefixCls:Rn.value,destroyInactivePanel:ta,openAnimation:ea,accordion:nr,onItemClick:ia==="disabled"?null:Yn,expandIcon:zn,collapsible:ia};return cloneElement(Xn,fa)},Go=()=>{var Xn;return flattenChildren((Xn=Pn.default)===null||Xn===void 0?void 0:Xn.call(Pn)).map(Gn)};return()=>{const{accordion:Xn,bordered:Yo,ghost:qo}=$n,Jo=classNames(Rn.value,{[`${Rn.value}-borderless`]:!Yo,[`${Rn.value}-icon-position-${Hn.value}`]:!0,[`${Rn.value}-rtl`]:Dn.value==="rtl",[`${Rn.value}-ghost`]:!!qo,[_n.class]:!!_n.class},Bn.value);return Fn(createVNode("div",_objectSpread2$1(_objectSpread2$1({class:Jo},getDataAndAriaProps(_n)),{},{style:_n.style,role:Xn?"tablist":null}),[Go()]))}}}),PanelContent=defineComponent({compatConfig:{MODE:3},name:"PanelContent",props:collapsePanelProps(),setup($n,Cn){let{slots:_n}=Cn;const Pn=shallowRef(!1);return watchEffect(()=>{($n.isActive||$n.forceRender)&&(Pn.value=!0)}),()=>{var In;if(!Pn.value)return null;const{prefixCls:Nn,isActive:Rn,role:Dn}=$n;return createVNode("div",{class:classNames(`${Nn}-content`,{[`${Nn}-content-active`]:Rn,[`${Nn}-content-inactive`]:!Rn}),role:Dn},[createVNode("div",{class:`${Nn}-content-box`},[(In=_n.default)===null||In===void 0?void 0:In.call(_n)])])}}}),CollapsePanel=defineComponent({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:initDefaultProps(collapsePanelProps(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;devWarning($n.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:Nn}=useConfigInject("collapse",$n),Rn=()=>{Pn("itemClick",$n.panelKey)},Dn=Ln=>{(Ln.key==="Enter"||Ln.keyCode===13||Ln.which===13)&&Rn()};return()=>{var Ln,Fn;const{header:Bn=(Ln=_n.header)===null||Ln===void 0?void 0:Ln.call(_n),headerClass:Hn,isActive:zn,showArrow:Wn,destroyInactivePanel:Yn,accordion:Gn,forceRender:Go,openAnimation:Xn,expandIcon:Yo=_n.expandIcon,extra:qo=(Fn=_n.extra)===null||Fn===void 0?void 0:Fn.call(_n),collapsible:Jo}=$n,Zo=Jo==="disabled",rr=Nn.value,nr=classNames(`${rr}-header`,{[Hn]:Hn,[`${rr}-header-collapsible-only`]:Jo==="header",[`${rr}-icon-collapsible-only`]:Jo==="icon"}),ta=classNames({[`${rr}-item`]:!0,[`${rr}-item-active`]:zn,[`${rr}-item-disabled`]:Zo,[`${rr}-no-arrow`]:!Wn,[`${In.class}`]:!!In.class});let oa=createVNode("i",{class:"arrow"},null);Wn&&typeof Yo=="function"&&(oa=Yo($n));const ra=withDirectives(createVNode(PanelContent,{prefixCls:rr,isActive:zn,forceRender:Go,role:Gn?"tabpanel":null},{default:_n.default}),[[vShow,zn]]),ea=_extends$1({appear:!1,css:!1},Xn);return createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{class:ta}),[createVNode("div",{class:nr,onClick:()=>!["header","icon"].includes(Jo)&&Rn(),role:Gn?"tab":"button",tabindex:Zo?-1:0,"aria-expanded":zn,onKeypress:Dn},[Wn&&oa,createVNode("span",{onClick:()=>Jo==="header"&&Rn(),class:`${rr}-header-text`},[Bn]),qo&&createVNode("div",{class:`${rr}-extra`},[qo])]),createVNode(Transition,ea,{default:()=>[!Yn||zn?ra:null]})])}}});Collapse.Panel=CollapsePanel;Collapse.install=function($n){return $n.component(Collapse.name,Collapse),$n.component(CollapsePanel.name,CollapsePanel),$n};const camel2hyphen=function($n){return $n.replace(/[A-Z]/g,function(Cn){return"-"+Cn.toLowerCase()}).toLowerCase()},isDimension=function($n){return/[height|width]$/.test($n)},obj2mq=function($n){let Cn="";const _n=Object.keys($n);return _n.forEach(function(Pn,In){let Nn=$n[Pn];Pn=camel2hyphen(Pn),isDimension(Pn)&&typeof Nn=="number"&&(Nn=Nn+"px"),Nn===!0?Cn+=Pn:Nn===!1?Cn+="not "+Pn:Cn+="("+Pn+": "+Nn+")",In<_n.length-1&&(Cn+=" and ")}),Cn};function json2mq($n){let Cn="";return typeof $n=="string"?$n:$n instanceof Array?($n.forEach(function(_n,Pn){Cn+=obj2mq(_n),Pn<$n.length-1&&(Cn+=", ")}),Cn):obj2mq($n)}const defaultProps$2={accessibility:{type:Boolean,default:!0},adaptiveHeight:{type:Boolean,default:!1},afterChange:PropTypes.any.def(null),arrows:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!1},autoplaySpeed:PropTypes.number.def(3e3),beforeChange:PropTypes.any.def(null),centerMode:{type:Boolean,default:!1},centerPadding:PropTypes.string.def("50px"),cssEase:PropTypes.string.def("ease"),dots:{type:Boolean,default:!1},dotsClass:PropTypes.string.def("slick-dots"),draggable:{type:Boolean,default:!0},unslick:{type:Boolean,default:!1},easing:PropTypes.string.def("linear"),edgeFriction:PropTypes.number.def(.35),fade:{type:Boolean,default:!1},focusOnSelect:{type:Boolean,default:!1},infinite:{type:Boolean,default:!0},initialSlide:PropTypes.number.def(0),lazyLoad:PropTypes.any.def(null),verticalSwiping:{type:Boolean,default:!1},asNavFor:PropTypes.any.def(null),pauseOnDotsHover:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},responsive:PropTypes.array,rows:PropTypes.number.def(1),rtl:{type:Boolean,default:!1},slide:PropTypes.string.def("div"),slidesPerRow:PropTypes.number.def(1),slidesToScroll:PropTypes.number.def(1),slidesToShow:PropTypes.number.def(1),speed:PropTypes.number.def(500),swipe:{type:Boolean,default:!0},swipeEvent:PropTypes.any.def(null),swipeToSlide:{type:Boolean,default:!1},touchMove:{type:Boolean,default:!0},touchThreshold:PropTypes.number.def(5),useCSS:{type:Boolean,default:!0},useTransform:{type:Boolean,default:!0},variableWidth:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},waitForAnimate:{type:Boolean,default:!0},children:PropTypes.array,__propsSymbol__:PropTypes.any},defaultProps$3=defaultProps$2,initialState={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},initialState$1=initialState;function clamp($n,Cn,_n){return Math.max(Cn,Math.min($n,_n))}const safePreventDefault=$n=>{["touchstart","touchmove","wheel"].includes($n.type)||$n.preventDefault()},getOnDemandLazySlides=$n=>{const Cn=[],_n=lazyStartIndex($n),Pn=lazyEndIndex($n);for(let In=_n;In<Pn;In++)$n.lazyLoadedList.indexOf(In)<0&&Cn.push(In);return Cn},lazyStartIndex=$n=>$n.currentSlide-lazySlidesOnLeft($n),lazyEndIndex=$n=>$n.currentSlide+lazySlidesOnRight($n),lazySlidesOnLeft=$n=>$n.centerMode?Math.floor($n.slidesToShow/2)+(parseInt($n.centerPadding)>0?1:0):0,lazySlidesOnRight=$n=>$n.centerMode?Math.floor(($n.slidesToShow-1)/2)+1+(parseInt($n.centerPadding)>0?1:0):$n.slidesToShow,getWidth=$n=>$n&&$n.offsetWidth||0,getHeight=$n=>$n&&$n.offsetHeight||0,getSwipeDirection=function($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_n;const Pn=$n.startX-$n.curX,In=$n.startY-$n.curY,Nn=Math.atan2(In,Pn);return _n=Math.round(Nn*180/Math.PI),_n<0&&(_n=360-Math.abs(_n)),_n<=45&&_n>=0||_n<=360&&_n>=315?"left":_n>=135&&_n<=225?"right":Cn===!0?_n>=35&&_n<=135?"up":"down":"vertical"},canGoNext=$n=>{let Cn=!0;return $n.infinite||($n.centerMode&&$n.currentSlide>=$n.slideCount-1||$n.slideCount<=$n.slidesToShow||$n.currentSlide>=$n.slideCount-$n.slidesToShow)&&(Cn=!1),Cn},extractObject=($n,Cn)=>{const _n={};return Cn.forEach(Pn=>_n[Pn]=$n[Pn]),_n},initializedState=$n=>{const Cn=$n.children.length,_n=$n.listRef,Pn=Math.ceil(getWidth(_n)),In=$n.trackRef,Nn=Math.ceil(getWidth(In));let Rn;if($n.vertical)Rn=Pn;else{let Wn=$n.centerMode&&parseInt($n.centerPadding)*2;typeof $n.centerPadding=="string"&&$n.centerPadding.slice(-1)==="%"&&(Wn*=Pn/100),Rn=Math.ceil((Pn-Wn)/$n.slidesToShow)}const Dn=_n&&getHeight(_n.querySelector('[data-index="0"]')),Ln=Dn*$n.slidesToShow;let Fn=$n.currentSlide===void 0?$n.initialSlide:$n.currentSlide;$n.rtl&&$n.currentSlide===void 0&&(Fn=Cn-1-$n.initialSlide);let Bn=$n.lazyLoadedList||[];const Hn=getOnDemandLazySlides(_extends$1(_extends$1({},$n),{currentSlide:Fn,lazyLoadedList:Bn}));Bn=Bn.concat(Hn);const zn={slideCount:Cn,slideWidth:Rn,listWidth:Pn,trackWidth:Nn,currentSlide:Fn,slideHeight:Dn,listHeight:Ln,lazyLoadedList:Bn};return $n.autoplaying===null&&$n.autoplay&&(zn.autoplaying="playing"),zn},slideHandler=$n=>{const{waitForAnimate:Cn,animating:_n,fade:Pn,infinite:In,index:Nn,slideCount:Rn,lazyLoad:Dn,currentSlide:Ln,centerMode:Fn,slidesToScroll:Bn,slidesToShow:Hn,useCSS:zn}=$n;let{lazyLoadedList:Wn}=$n;if(Cn&&_n)return{};let Yn=Nn,Gn,Go,Xn,Yo={},qo={};const Jo=In?Nn:clamp(Nn,0,Rn-1);if(Pn){if(!In&&(Nn<0||Nn>=Rn))return{};Nn<0?Yn=Nn+Rn:Nn>=Rn&&(Yn=Nn-Rn),Dn&&Wn.indexOf(Yn)<0&&(Wn=Wn.concat(Yn)),Yo={animating:!0,currentSlide:Yn,lazyLoadedList:Wn,targetSlide:Yn},qo={animating:!1,targetSlide:Yn}}else Gn=Yn,Yn<0?(Gn=Yn+Rn,In?Rn%Bn!==0&&(Gn=Rn-Rn%Bn):Gn=0):!canGoNext($n)&&Yn>Ln?Yn=Gn=Ln:Fn&&Yn>=Rn?(Yn=In?Rn:Rn-1,Gn=In?0:Rn-1):Yn>=Rn&&(Gn=Yn-Rn,In?Rn%Bn!==0&&(Gn=0):Gn=Rn-Hn),!In&&Yn+Hn>=Rn&&(Gn=Rn-Hn),Go=getTrackLeft(_extends$1(_extends$1({},$n),{slideIndex:Yn})),Xn=getTrackLeft(_extends$1(_extends$1({},$n),{slideIndex:Gn})),In||(Go===Xn&&(Yn=Gn),Go=Xn),Dn&&(Wn=Wn.concat(getOnDemandLazySlides(_extends$1(_extends$1({},$n),{currentSlide:Yn})))),zn?(Yo={animating:!0,currentSlide:Gn,trackStyle:getTrackAnimateCSS(_extends$1(_extends$1({},$n),{left:Go})),lazyLoadedList:Wn,targetSlide:Jo},qo={animating:!1,currentSlide:Gn,trackStyle:getTrackCSS(_extends$1(_extends$1({},$n),{left:Xn})),swipeLeft:null,targetSlide:Jo}):Yo={currentSlide:Gn,trackStyle:getTrackCSS(_extends$1(_extends$1({},$n),{left:Xn})),lazyLoadedList:Wn,targetSlide:Jo};return{state:Yo,nextState:qo}},changeSlide=($n,Cn)=>{let _n,Pn,In;const{slidesToScroll:Nn,slidesToShow:Rn,slideCount:Dn,currentSlide:Ln,targetSlide:Fn,lazyLoad:Bn,infinite:Hn}=$n,Wn=Dn%Nn!==0?0:(Dn-Ln)%Nn;if(Cn.message==="previous")Pn=Wn===0?Nn:Rn-Wn,In=Ln-Pn,Bn&&!Hn&&(_n=Ln-Pn,In=_n===-1?Dn-1:_n),Hn||(In=Fn-Nn);else if(Cn.message==="next")Pn=Wn===0?Nn:Wn,In=Ln+Pn,Bn&&!Hn&&(In=(Ln+Nn)%Dn+Wn),Hn||(In=Fn+Nn);else if(Cn.message==="dots")In=Cn.index*Cn.slidesToScroll;else if(Cn.message==="children"){if(In=Cn.index,Hn){const Yn=siblingDirection(_extends$1(_extends$1({},$n),{targetSlide:In}));In>Cn.currentSlide&&Yn==="left"?In=In-Dn:In<Cn.currentSlide&&Yn==="right"&&(In=In+Dn)}}else Cn.message==="index"&&(In=Number(Cn.index));return In},keyHandler=($n,Cn,_n)=>$n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!Cn?"":$n.keyCode===37?_n?"next":"previous":$n.keyCode===39?_n?"previous":"next":"",swipeStart=($n,Cn,_n)=>($n.target.tagName==="IMG"&&safePreventDefault($n),!Cn||!_n&&$n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:$n.touches?$n.touches[0].pageX:$n.clientX,startY:$n.touches?$n.touches[0].pageY:$n.clientY,curX:$n.touches?$n.touches[0].pageX:$n.clientX,curY:$n.touches?$n.touches[0].pageY:$n.clientY}}),swipeMove=($n,Cn)=>{const{scrolling:_n,animating:Pn,vertical:In,swipeToSlide:Nn,verticalSwiping:Rn,rtl:Dn,currentSlide:Ln,edgeFriction:Fn,edgeDragged:Bn,onEdge:Hn,swiped:zn,swiping:Wn,slideCount:Yn,slidesToScroll:Gn,infinite:Go,touchObject:Xn,swipeEvent:Yo,listHeight:qo,listWidth:Jo}=Cn;if(_n)return;if(Pn)return safePreventDefault($n);In&&Nn&&Rn&&safePreventDefault($n);let Zo,rr={};const nr=getTrackLeft(Cn);Xn.curX=$n.touches?$n.touches[0].pageX:$n.clientX,Xn.curY=$n.touches?$n.touches[0].pageY:$n.clientY,Xn.swipeLength=Math.round(Math.sqrt(Math.pow(Xn.curX-Xn.startX,2)));const ta=Math.round(Math.sqrt(Math.pow(Xn.curY-Xn.startY,2)));if(!Rn&&!Wn&&ta>10)return{scrolling:!0};Rn&&(Xn.swipeLength=ta);let oa=(Dn?-1:1)*(Xn.curX>Xn.startX?1:-1);Rn&&(oa=Xn.curY>Xn.startY?1:-1);const ra=Math.ceil(Yn/Gn),ea=getSwipeDirection(Cn.touchObject,Rn);let la=Xn.swipeLength;return Go||(Ln===0&&(ea==="right"||ea==="down")||Ln+1>=ra&&(ea==="left"||ea==="up")||!canGoNext(Cn)&&(ea==="left"||ea==="up"))&&(la=Xn.swipeLength*Fn,Bn===!1&&Hn&&(Hn(ea),rr.edgeDragged=!0)),!zn&&Yo&&(Yo(ea),rr.swiped=!0),In?Zo=nr+la*(qo/Jo)*oa:Dn?Zo=nr-la*oa:Zo=nr+la*oa,Rn&&(Zo=nr+la*oa),rr=_extends$1(_extends$1({},rr),{touchObject:Xn,swipeLeft:Zo,trackStyle:getTrackCSS(_extends$1(_extends$1({},Cn),{left:Zo}))}),Math.abs(Xn.curX-Xn.startX)<Math.abs(Xn.curY-Xn.startY)*.8||Xn.swipeLength>10&&(rr.swiping=!0,safePreventDefault($n)),rr},swipeEnd=($n,Cn)=>{const{dragging:_n,swipe:Pn,touchObject:In,listWidth:Nn,touchThreshold:Rn,verticalSwiping:Dn,listHeight:Ln,swipeToSlide:Fn,scrolling:Bn,onSwipe:Hn,targetSlide:zn,currentSlide:Wn,infinite:Yn}=Cn;if(!_n)return Pn&&safePreventDefault($n),{};const Gn=Dn?Ln/Rn:Nn/Rn,Go=getSwipeDirection(In,Dn),Xn={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(Bn||!In.swipeLength)return Xn;if(In.swipeLength>Gn){safePreventDefault($n),Hn&&Hn(Go);let Yo,qo;const Jo=Yn?Wn:zn;switch(Go){case"left":case"up":qo=Jo+getSlideCount(Cn),Yo=Fn?checkNavigable(Cn,qo):qo,Xn.currentDirection=0;break;case"right":case"down":qo=Jo-getSlideCount(Cn),Yo=Fn?checkNavigable(Cn,qo):qo,Xn.currentDirection=1;break;default:Yo=Jo}Xn.triggerSlideHandler=Yo}else{const Yo=getTrackLeft(Cn);Xn.trackStyle=getTrackAnimateCSS(_extends$1(_extends$1({},Cn),{left:Yo}))}return Xn},getNavigableIndexes=$n=>{const Cn=$n.infinite?$n.slideCount*2:$n.slideCount;let _n=$n.infinite?$n.slidesToShow*-1:0,Pn=$n.infinite?$n.slidesToShow*-1:0;const In=[];for(;_n<Cn;)In.push(_n),_n=Pn+$n.slidesToScroll,Pn+=Math.min($n.slidesToScroll,$n.slidesToShow);return In},checkNavigable=($n,Cn)=>{const _n=getNavigableIndexes($n);let Pn=0;if(Cn>_n[_n.length-1])Cn=_n[_n.length-1];else for(const In in _n){if(Cn<_n[In]){Cn=Pn;break}Pn=_n[In]}return Cn},getSlideCount=$n=>{const Cn=$n.centerMode?$n.slideWidth*Math.floor($n.slidesToShow/2):0;if($n.swipeToSlide){let _n;const Pn=$n.listRef,In=Pn.querySelectorAll&&Pn.querySelectorAll(".slick-slide")||[];if(Array.from(In).every(Dn=>{if($n.vertical){if(Dn.offsetTop+getHeight(Dn)/2>$n.swipeLeft*-1)return _n=Dn,!1}else if(Dn.offsetLeft-Cn+getWidth(Dn)/2>$n.swipeLeft*-1)return _n=Dn,!1;return!0}),!_n)return 0;const Nn=$n.rtl===!0?$n.slideCount-$n.currentSlide:$n.currentSlide;return Math.abs(_n.dataset.index-Nn)||1}else return $n.slidesToScroll},checkSpecKeys=($n,Cn)=>Cn.reduce((_n,Pn)=>_n&&$n.hasOwnProperty(Pn),!0)?null:console.error("Keys Missing:",$n),getTrackCSS=$n=>{checkSpecKeys($n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let Cn,_n;const Pn=$n.slideCount+2*$n.slidesToShow;$n.vertical?_n=Pn*$n.slideHeight:Cn=getTotalSlides($n)*$n.slideWidth;let In={opacity:1,transition:"",WebkitTransition:""};if($n.useTransform){const Nn=$n.vertical?"translate3d(0px, "+$n.left+"px, 0px)":"translate3d("+$n.left+"px, 0px, 0px)",Rn=$n.vertical?"translate3d(0px, "+$n.left+"px, 0px)":"translate3d("+$n.left+"px, 0px, 0px)",Dn=$n.vertical?"translateY("+$n.left+"px)":"translateX("+$n.left+"px)";In=_extends$1(_extends$1({},In),{WebkitTransform:Nn,transform:Rn,msTransform:Dn})}else $n.vertical?In.top=$n.left:In.left=$n.left;return $n.fade&&(In={opacity:1}),Cn&&(In.width=Cn+"px"),_n&&(In.height=_n+"px"),window&&!window.addEventListener&&window.attachEvent&&($n.vertical?In.marginTop=$n.left+"px":In.marginLeft=$n.left+"px"),In},getTrackAnimateCSS=$n=>{checkSpecKeys($n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const Cn=getTrackCSS($n);return $n.useTransform?(Cn.WebkitTransition="-webkit-transform "+$n.speed+"ms "+$n.cssEase,Cn.transition="transform "+$n.speed+"ms "+$n.cssEase):$n.vertical?Cn.transition="top "+$n.speed+"ms "+$n.cssEase:Cn.transition="left "+$n.speed+"ms "+$n.cssEase,Cn},getTrackLeft=$n=>{if($n.unslick)return 0;checkSpecKeys($n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:Cn,trackRef:_n,infinite:Pn,centerMode:In,slideCount:Nn,slidesToShow:Rn,slidesToScroll:Dn,slideWidth:Ln,listWidth:Fn,variableWidth:Bn,slideHeight:Hn,fade:zn,vertical:Wn}=$n;let Yn=0,Gn,Go,Xn=0;if(zn||$n.slideCount===1)return 0;let Yo=0;if(Pn?(Yo=-getPreClones($n),Nn%Dn!==0&&Cn+Dn>Nn&&(Yo=-(Cn>Nn?Rn-(Cn-Nn):Nn%Dn)),In&&(Yo+=parseInt(Rn/2))):(Nn%Dn!==0&&Cn+Dn>Nn&&(Yo=Rn-Nn%Dn),In&&(Yo=parseInt(Rn/2))),Yn=Yo*Ln,Xn=Yo*Hn,Wn?Gn=Cn*Hn*-1+Xn:Gn=Cn*Ln*-1+Yn,Bn===!0){let qo;const Jo=_n;if(qo=Cn+getPreClones($n),Go=Jo&&Jo.childNodes[qo],Gn=Go?Go.offsetLeft*-1:0,In===!0){qo=Pn?Cn+getPreClones($n):Cn,Go=Jo&&Jo.children[qo],Gn=0;for(let Zo=0;Zo<qo;Zo++)Gn-=Jo&&Jo.children[Zo]&&Jo.children[Zo].offsetWidth;Gn-=parseInt($n.centerPadding),Gn+=Go&&(Fn-Go.offsetWidth)/2}}return Gn},getPreClones=$n=>$n.unslick||!$n.infinite?0:$n.variableWidth?$n.slideCount:$n.slidesToShow+($n.centerMode?1:0),getPostClones=$n=>$n.unslick||!$n.infinite?0:$n.slideCount,getTotalSlides=$n=>$n.slideCount===1?1:getPreClones($n)+$n.slideCount+getPostClones($n),siblingDirection=$n=>$n.targetSlide>$n.currentSlide?$n.targetSlide>$n.currentSlide+slidesOnRight($n)?"left":"right":$n.targetSlide<$n.currentSlide-slidesOnLeft($n)?"right":"left",slidesOnRight=$n=>{let{slidesToShow:Cn,centerMode:_n,rtl:Pn,centerPadding:In}=$n;if(_n){let Nn=(Cn-1)/2+1;return parseInt(In)>0&&(Nn+=1),Pn&&Cn%2===0&&(Nn+=1),Nn}return Pn?0:Cn-1},slidesOnLeft=$n=>{let{slidesToShow:Cn,centerMode:_n,rtl:Pn,centerPadding:In}=$n;if(_n){let Nn=(Cn-1)/2+1;return parseInt(In)>0&&(Nn+=1),!Pn&&Cn%2===0&&(Nn+=1),Nn}return Pn?Cn-1:0},canUseDOM=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),getSlideClasses=$n=>{let Cn,_n,Pn,In;$n.rtl?In=$n.slideCount-1-$n.index:In=$n.index;const Nn=In<0||In>=$n.slideCount;$n.centerMode?(Pn=Math.floor($n.slidesToShow/2),_n=(In-$n.currentSlide)%$n.slideCount===0,In>$n.currentSlide-Pn-1&&In<=$n.currentSlide+Pn&&(Cn=!0)):Cn=$n.currentSlide<=In&&In<$n.currentSlide+$n.slidesToShow;let Rn;return $n.targetSlide<0?Rn=$n.targetSlide+$n.slideCount:$n.targetSlide>=$n.slideCount?Rn=$n.targetSlide-$n.slideCount:Rn=$n.targetSlide,{"slick-slide":!0,"slick-active":Cn,"slick-center":_n,"slick-cloned":Nn,"slick-current":In===Rn}},getSlideStyle=function($n){const Cn={};return($n.variableWidth===void 0||$n.variableWidth===!1)&&(Cn.width=$n.slideWidth+(typeof $n.slideWidth=="number"?"px":"")),$n.fade&&(Cn.position="relative",$n.vertical?Cn.top=-$n.index*parseInt($n.slideHeight)+"px":Cn.left=-$n.index*parseInt($n.slideWidth)+"px",Cn.opacity=$n.currentSlide===$n.index?1:0,$n.useCSS&&(Cn.transition="opacity "+$n.speed+"ms "+$n.cssEase+", visibility "+$n.speed+"ms "+$n.cssEase)),Cn},getKey$1=($n,Cn)=>$n.key+"-"+Cn,renderSlides=function($n,Cn){let _n;const Pn=[],In=[],Nn=[],Rn=Cn.length,Dn=lazyStartIndex($n),Ln=lazyEndIndex($n);return Cn.forEach((Fn,Bn)=>{let Hn;const zn={message:"children",index:Bn,slidesToScroll:$n.slidesToScroll,currentSlide:$n.currentSlide};!$n.lazyLoad||$n.lazyLoad&&$n.lazyLoadedList.indexOf(Bn)>=0?Hn=Fn:Hn=createVNode("div");const Wn=getSlideStyle(_extends$1(_extends$1({},$n),{index:Bn})),Yn=Hn.props.class||"";let Gn=getSlideClasses(_extends$1(_extends$1({},$n),{index:Bn}));if(Pn.push(deepCloneElement(Hn,{key:"original"+getKey$1(Hn,Bn),tabindex:"-1","data-index":Bn,"aria-hidden":!Gn["slick-active"],class:classNames(Gn,Yn),style:_extends$1(_extends$1({outline:"none"},Hn.props.style||{}),Wn),onClick:()=>{$n.focusOnSelect&&$n.focusOnSelect(zn)}})),$n.infinite&&$n.fade===!1){const Go=Rn-Bn;Go<=getPreClones($n)&&Rn!==$n.slidesToShow&&(_n=-Go,_n>=Dn&&(Hn=Fn),Gn=getSlideClasses(_extends$1(_extends$1({},$n),{index:_n})),In.push(deepCloneElement(Hn,{key:"precloned"+getKey$1(Hn,_n),class:classNames(Gn,Yn),tabindex:"-1","data-index":_n,"aria-hidden":!Gn["slick-active"],style:_extends$1(_extends$1({},Hn.props.style||{}),Wn),onClick:()=>{$n.focusOnSelect&&$n.focusOnSelect(zn)}}))),Rn!==$n.slidesToShow&&(_n=Rn+Bn,_n<Ln&&(Hn=Fn),Gn=getSlideClasses(_extends$1(_extends$1({},$n),{index:_n})),Nn.push(deepCloneElement(Hn,{key:"postcloned"+getKey$1(Hn,_n),tabindex:"-1","data-index":_n,"aria-hidden":!Gn["slick-active"],class:classNames(Gn,Yn),style:_extends$1(_extends$1({},Hn.props.style||{}),Wn),onClick:()=>{$n.focusOnSelect&&$n.focusOnSelect(zn)}})))}}),$n.rtl?In.concat(Pn,Nn).reverse():In.concat(Pn,Nn)},Track$2=($n,Cn)=>{let{attrs:_n,slots:Pn}=Cn;const In=renderSlides(_n,flattenChildren(Pn==null?void 0:Pn.default())),{onMouseenter:Nn,onMouseover:Rn,onMouseleave:Dn}=_n,Ln={onMouseenter:Nn,onMouseover:Rn,onMouseleave:Dn},Fn=_extends$1({class:"slick-track",style:_n.trackStyle},Ln);return createVNode("div",Fn,[In])};Track$2.inheritAttrs=!1;const Track$3=Track$2,getDotCount=function($n){let Cn;return $n.infinite?Cn=Math.ceil($n.slideCount/$n.slidesToScroll):Cn=Math.ceil(($n.slideCount-$n.slidesToShow)/$n.slidesToScroll)+1,Cn},Dots=($n,Cn)=>{let{attrs:_n}=Cn;const{slideCount:Pn,slidesToScroll:In,slidesToShow:Nn,infinite:Rn,currentSlide:Dn,appendDots:Ln,customPaging:Fn,clickHandler:Bn,dotsClass:Hn,onMouseenter:zn,onMouseover:Wn,onMouseleave:Yn}=_n,Gn=getDotCount({slideCount:Pn,slidesToScroll:In,slidesToShow:Nn,infinite:Rn}),Go={onMouseenter:zn,onMouseover:Wn,onMouseleave:Yn};let Xn=[];for(let Yo=0;Yo<Gn;Yo++){let oa=function(ra){ra&&ra.preventDefault(),Bn(ta)};const qo=(Yo+1)*In-1,Jo=Rn?qo:clamp(qo,0,Pn-1),Zo=Jo-(In-1),rr=Rn?Zo:clamp(Zo,0,Pn-1),nr=classNames({"slick-active":Rn?Dn>=rr&&Dn<=Jo:Dn===rr}),ta={message:"dots",index:Yo,slidesToScroll:In,currentSlide:Dn};Xn=Xn.concat(createVNode("li",{key:Yo,class:nr},[cloneElement(Fn({i:Yo}),{onClick:oa})]))}return cloneElement(Ln({dots:Xn}),_extends$1({class:Hn},Go))};Dots.inheritAttrs=!1;const Dots$1=Dots;function noop$a(){}function handler($n,Cn,_n){_n&&_n.preventDefault(),Cn($n,_n)}const PrevArrow=($n,Cn)=>{let{attrs:_n}=Cn;const{clickHandler:Pn,infinite:In,currentSlide:Nn,slideCount:Rn,slidesToShow:Dn}=_n,Ln={"slick-arrow":!0,"slick-prev":!0};let Fn=function(Wn){handler({message:"previous"},Pn,Wn)};!In&&(Nn===0||Rn<=Dn)&&(Ln["slick-disabled"]=!0,Fn=noop$a);const Bn={key:"0","data-role":"none",class:Ln,style:{display:"block"},onClick:Fn},Hn={currentSlide:Nn,slideCount:Rn};let zn;return _n.prevArrow?zn=cloneElement(_n.prevArrow(_extends$1(_extends$1({},Bn),Hn)),{key:"0",class:Ln,style:{display:"block"},onClick:Fn},!1):zn=createVNode("button",_objectSpread2$1({key:"0",type:"button"},Bn),[" ",createTextVNode("Previous")]),zn};PrevArrow.inheritAttrs=!1;const NextArrow=($n,Cn)=>{let{attrs:_n}=Cn;const{clickHandler:Pn,currentSlide:In,slideCount:Nn}=_n,Rn={"slick-arrow":!0,"slick-next":!0};let Dn=function(Hn){handler({message:"next"},Pn,Hn)};canGoNext(_n)||(Rn["slick-disabled"]=!0,Dn=noop$a);const Ln={key:"1","data-role":"none",class:classNames(Rn),style:{display:"block"},onClick:Dn},Fn={currentSlide:In,slideCount:Nn};let Bn;return _n.nextArrow?Bn=cloneElement(_n.nextArrow(_extends$1(_extends$1({},Ln),Fn)),{key:"1",class:classNames(Rn),style:{display:"block"},onClick:Dn},!1):Bn=createVNode("button",_objectSpread2$1({key:"1",type:"button"},Ln),[" ",createTextVNode("Next")]),Bn};NextArrow.inheritAttrs=!1;var __rest$W=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function noop$9(){}const InnerSlider={name:"InnerSlider",mixins:[BaseMixin],inheritAttrs:!1,props:_extends$1({},defaultProps$3),data(){this.preProps=_extends$1({},this.$props),this.list=null,this.track=null,this.callbackTimers=[],this.clickable=!0,this.debouncedResize=null;const $n=this.ssrInit();return _extends$1(_extends$1(_extends$1({},initialState$1),{currentSlide:this.initialSlide,slideCount:this.children.length}),$n)},watch:{autoplay($n,Cn){!Cn&&$n?this.handleAutoPlay("playing"):$n?this.handleAutoPlay("update"):this.pause("paused")},__propsSymbol__(){const $n=this.$props,Cn=_extends$1(_extends$1({listRef:this.list,trackRef:this.track},$n),this.$data);let _n=!1;for(const Pn of Object.keys(this.preProps)){if(!$n.hasOwnProperty(Pn)){_n=!0;break}if(!(typeof $n[Pn]=="object"||typeof $n[Pn]=="function"||typeof $n[Pn]=="symbol")&&$n[Pn]!==this.preProps[Pn]){_n=!0;break}}this.updateState(Cn,_n,()=>{this.currentSlide>=$n.children.length&&this.changeSlide({message:"index",index:$n.children.length-$n.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&$n.autoplay?this.handleAutoPlay("playing"):$n.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=_extends$1({},$n)}},mounted(){if(this.__emit("init"),this.lazyLoad){const $n=getOnDemandLazySlides(_extends$1(_extends$1({},this.$props),this.$data));$n.length>0&&(this.setState(Cn=>({lazyLoadedList:Cn.lazyLoadedList.concat($n)})),this.__emit("lazyLoad",$n))}this.$nextTick(()=>{const $n=_extends$1({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState($n,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new ResizeObserver$3(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),Cn=>{Cn.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,Cn.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var $n;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(Cn=>clearTimeout(Cn)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),($n=this.ro)===null||$n===void 0||$n.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const $n=getOnDemandLazySlides(_extends$1(_extends$1({},this.$props),this.$data));$n.length>0&&(this.setState(Cn=>({lazyLoadedList:Cn.lazyLoadedList.concat($n)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler($n){this.list=$n},trackRefHandler($n){this.track=$n},adaptHeight(){if(this.adaptiveHeight&&this.list){const $n=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=getHeight($n)+"px"}},onWindowResized($n){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=debounce$2(()=>this.resizeWindow($n),50),this.debouncedResize()},resizeWindow(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!!this.track)return;const _n=_extends$1(_extends$1({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(_n,$n,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState($n,Cn,_n){const Pn=initializedState($n);$n=_extends$1(_extends$1(_extends$1({},$n),Pn),{slideIndex:Pn.currentSlide});const In=getTrackLeft($n);$n=_extends$1(_extends$1({},$n),{left:In});const Nn=getTrackCSS($n);(Cn||this.children.length!==$n.children.length)&&(Pn.trackStyle=Nn),this.setState(Pn,_n)},ssrInit(){const $n=this.children;if(this.variableWidth){let Ln=0,Fn=0;const Bn=[],Hn=getPreClones(_extends$1(_extends$1(_extends$1({},this.$props),this.$data),{slideCount:$n.length})),zn=getPostClones(_extends$1(_extends$1(_extends$1({},this.$props),this.$data),{slideCount:$n.length}));$n.forEach(Yn=>{var Gn,Go;const Xn=((Go=(Gn=Yn.props.style)===null||Gn===void 0?void 0:Gn.width)===null||Go===void 0?void 0:Go.split("px")[0])||0;Bn.push(Xn),Ln+=Xn});for(let Yn=0;Yn<Hn;Yn++)Fn+=Bn[Bn.length-1-Yn],Ln+=Bn[Bn.length-1-Yn];for(let Yn=0;Yn<zn;Yn++)Ln+=Bn[Yn];for(let Yn=0;Yn<this.currentSlide;Yn++)Fn+=Bn[Yn];const Wn={width:Ln+"px",left:-Fn+"px"};if(this.centerMode){const Yn=`${Bn[this.currentSlide]}px`;Wn.left=`calc(${Wn.left} + (100% - ${Yn}) / 2 ) `}return{trackStyle:Wn}}const Cn=$n.length,_n=_extends$1(_extends$1(_extends$1({},this.$props),this.$data),{slideCount:Cn}),Pn=getPreClones(_n)+getPostClones(_n)+Cn,In=100/this.slidesToShow*Pn,Nn=100/Pn;let Rn=-Nn*(getPreClones(_n)+this.currentSlide)*In/100;this.centerMode&&(Rn+=(100-Nn*In/100)/2);const Dn={width:In+"%",left:Rn+"%"};return{slideWidth:Nn+"%",trackStyle:Dn}},checkImagesLoad(){const $n=this.list&&this.list.querySelectorAll&&this.list.querySelectorAll(".slick-slide img")||[],Cn=$n.length;let _n=0;Array.prototype.forEach.call($n,Pn=>{const In=()=>++_n&&_n>=Cn&&this.onWindowResized();if(!Pn.onclick)Pn.onclick=()=>Pn.parentNode.focus();else{const Nn=Pn.onclick;Pn.onclick=()=>{Nn(),Pn.parentNode.focus()}}Pn.onload||(this.$props.lazyLoad?Pn.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(Pn.onload=In,Pn.onerror=()=>{In(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const $n=[],Cn=_extends$1(_extends$1({},this.$props),this.$data);for(let _n=this.currentSlide;_n<this.slideCount+getPostClones(Cn);_n++)if(this.lazyLoadedList.indexOf(_n)<0){$n.push(_n);break}for(let _n=this.currentSlide-1;_n>=-getPreClones(Cn);_n--)if(this.lazyLoadedList.indexOf(_n)<0){$n.push(_n);break}$n.length>0?(this.setState(_n=>({lazyLoadedList:_n.lazyLoadedList.concat($n)})),this.__emit("lazyLoad",$n)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:_n,currentSlide:Pn,beforeChange:In,speed:Nn,afterChange:Rn}=this.$props,{state:Dn,nextState:Ln}=slideHandler(_extends$1(_extends$1(_extends$1({index:$n},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!Cn}));if(!Dn)return;In&&In(Pn,Dn.currentSlide);const Fn=Dn.lazyLoadedList.filter(Bn=>this.lazyLoadedList.indexOf(Bn)<0);this.$attrs.onLazyLoad&&Fn.length>0&&this.__emit("lazyLoad",Fn),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),Rn&&Rn(Pn),delete this.animationEndCallback),this.setState(Dn,()=>{_n&&this.asNavForIndex!==$n&&(this.asNavForIndex=$n,_n.innerSlider.slideHandler($n)),Ln&&(this.animationEndCallback=setTimeout(()=>{const{animating:Bn}=Ln,Hn=__rest$W(Ln,["animating"]);this.setState(Hn,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:Bn}),10)),Rn&&Rn(Dn.currentSlide),delete this.animationEndCallback})},Nn))})},changeSlide($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const _n=_extends$1(_extends$1({},this.$props),this.$data),Pn=changeSlide(_n,$n);if(!(Pn!==0&&!Pn)&&(Cn===!0?this.slideHandler(Pn,Cn):this.slideHandler(Pn),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const In=this.list.querySelectorAll(".slick-current");In[0]&&In[0].focus()}},clickHandler($n){this.clickable===!1&&($n.stopPropagation(),$n.preventDefault()),this.clickable=!0},keyHandler($n){const Cn=keyHandler($n,this.accessibility,this.rtl);Cn!==""&&this.changeSlide({message:Cn})},selectHandler($n){this.changeSlide($n)},disableBodyScroll(){const $n=Cn=>{Cn=Cn||window.event,Cn.preventDefault&&Cn.preventDefault(),Cn.returnValue=!1};window.ontouchmove=$n},enableBodyScroll(){window.ontouchmove=null},swipeStart($n){this.verticalSwiping&&this.disableBodyScroll();const Cn=swipeStart($n,this.swipe,this.draggable);Cn!==""&&this.setState(Cn)},swipeMove($n){const Cn=swipeMove($n,_extends$1(_extends$1(_extends$1({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));Cn&&(Cn.swiping&&(this.clickable=!1),this.setState(Cn))},swipeEnd($n){const Cn=swipeEnd($n,_extends$1(_extends$1(_extends$1({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!Cn)return;const _n=Cn.triggerSlideHandler;delete Cn.triggerSlideHandler,this.setState(Cn),_n!==void 0&&(this.slideHandler(_n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd($n){this.swipeEnd($n),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if($n=Number($n),isNaN($n))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:$n,currentSlide:this.currentSlide},Cn),0))},play(){let $n;if(this.rtl)$n=this.currentSlide-this.slidesToScroll;else if(canGoNext(_extends$1(_extends$1({},this.$props),this.$data)))$n=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler($n)},handleAutoPlay($n){this.autoplayTimer&&clearInterval(this.autoplayTimer);const Cn=this.autoplaying;if($n==="update"){if(Cn==="hovered"||Cn==="focused"||Cn==="paused")return}else if($n==="leave"){if(Cn==="paused"||Cn==="focused")return}else if($n==="blur"&&(Cn==="paused"||Cn==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause($n){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const Cn=this.autoplaying;$n==="paused"?this.setState({autoplaying:"paused"}):$n==="focused"?(Cn==="hovered"||Cn==="playing")&&this.setState({autoplaying:"focused"}):Cn==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging($n){let{i:Cn}=$n;return createVNode("button",null,[Cn+1])},appendDots($n){let{dots:Cn}=$n;return createVNode("ul",{style:{display:"block"}},[Cn])}},render(){const $n=classNames("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),Cn=_extends$1(_extends$1({},this.$props),this.$data);let _n=extractObject(Cn,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:Pn}=this.$props;_n=_extends$1(_extends$1({},_n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:Pn?this.onTrackLeave:noop$9,onMouseover:Pn?this.onTrackOver:noop$9});let In;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let Go=extractObject(Cn,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);Go.customPaging=this.customPaging,Go.appendDots=this.appendDots;const{customPaging:Xn,appendDots:Yo}=this.$slots;Xn&&(Go.customPaging=Xn),Yo&&(Go.appendDots=Yo);const{pauseOnDotsHover:qo}=this.$props;Go=_extends$1(_extends$1({},Go),{clickHandler:this.changeSlide,onMouseover:qo?this.onDotsOver:noop$9,onMouseleave:qo?this.onDotsLeave:noop$9}),In=createVNode(Dots$1,Go,null)}let Nn,Rn;const Dn=extractObject(Cn,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);Dn.clickHandler=this.changeSlide;const{prevArrow:Ln,nextArrow:Fn}=this.$slots;Ln&&(Dn.prevArrow=Ln),Fn&&(Dn.nextArrow=Fn),this.arrows&&(Nn=createVNode(PrevArrow,Dn,null),Rn=createVNode(NextArrow,Dn,null));let Bn=null;this.vertical&&(Bn={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let Hn=null;this.vertical===!1?this.centerMode===!0&&(Hn={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(Hn={padding:this.centerPadding+" 0px"});const zn=_extends$1(_extends$1({},Bn),Hn),Wn=this.touchMove;let Yn={ref:this.listRefHandler,class:"slick-list",style:zn,onClick:this.clickHandler,onMousedown:Wn?this.swipeStart:noop$9,onMousemove:this.dragging&&Wn?this.swipeMove:noop$9,onMouseup:Wn?this.swipeEnd:noop$9,onMouseleave:this.dragging&&Wn?this.swipeEnd:noop$9,[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]:Wn?this.swipeStart:noop$9,[supportsPassive$1?"onTouchmovePassive":"onTouchmove"]:this.dragging&&Wn?this.swipeMove:noop$9,onTouchend:Wn?this.touchEnd:noop$9,onTouchcancel:this.dragging&&Wn?this.swipeEnd:noop$9,onKeydown:this.accessibility?this.keyHandler:noop$9},Gn={class:$n,dir:"ltr",style:this.$attrs.style};return this.unslick&&(Yn={class:"slick-list",ref:this.listRefHandler},Gn={class:$n}),createVNode("div",Gn,[this.unslick?"":Nn,createVNode("div",Yn,[createVNode(Track$3,_n,{default:()=>[this.children]})]),this.unslick?"":Rn,this.unslick?"":In])}},Slider$2=defineComponent({name:"Slider",mixins:[BaseMixin],inheritAttrs:!1,props:_extends$1({},defaultProps$3),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const $n=this.responsive.map(_n=>_n.breakpoint);$n.sort((_n,Pn)=>_n-Pn),$n.forEach((_n,Pn)=>{let In;Pn===0?In=json2mq({minWidth:0,maxWidth:_n}):In=json2mq({minWidth:$n[Pn-1]+1,maxWidth:_n}),canUseDOM()&&this.media(In,()=>{this.setState({breakpoint:_n})})});const Cn=json2mq({minWidth:$n.slice(-1)[0]});canUseDOM()&&this.media(Cn,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function($n){$n.mql.removeListener($n.listener)})},methods:{innerSliderRefHandler($n){this.innerSlider=$n},media($n,Cn){const _n=window.matchMedia($n),Pn=In=>{let{matches:Nn}=In;Nn&&Cn()};_n.addListener(Pn),Pn(_n),this._responsiveMediaHandlers.push({mql:_n,query:$n,listener:Pn})},slickPrev(){var $n;($n=this.innerSlider)===null||$n===void 0||$n.slickPrev()},slickNext(){var $n;($n=this.innerSlider)===null||$n===void 0||$n.slickNext()},slickGoTo($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var _n;(_n=this.innerSlider)===null||_n===void 0||_n.slickGoTo($n,Cn)},slickPause(){var $n;($n=this.innerSlider)===null||$n===void 0||$n.pause("paused")},slickPlay(){var $n;($n=this.innerSlider)===null||$n===void 0||$n.handleAutoPlay("play")}},render(){var $n;let Cn,_n;this.breakpoint?(_n=this.responsive.filter(Dn=>Dn.breakpoint===this.breakpoint),Cn=_n[0].settings==="unslick"?"unslick":_extends$1(_extends$1({},this.$props),_n[0].settings)):Cn=_extends$1({},this.$props),Cn.centerMode&&(Cn.slidesToScroll>1,Cn.slidesToScroll=1),Cn.fade&&(Cn.slidesToShow>1,Cn.slidesToScroll>1,Cn.slidesToShow=1,Cn.slidesToScroll=1);let Pn=getSlot(this)||[];Pn=Pn.filter(Dn=>typeof Dn=="string"?!!Dn.trim():!!Dn),Cn.variableWidth&&(Cn.rows>1||Cn.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),Cn.variableWidth=!1);const In=[];let Nn=null;for(let Dn=0;Dn<Pn.length;Dn+=Cn.rows*Cn.slidesPerRow){const Ln=[];for(let Fn=Dn;Fn<Dn+Cn.rows*Cn.slidesPerRow;Fn+=Cn.slidesPerRow){const Bn=[];for(let Hn=Fn;Hn<Fn+Cn.slidesPerRow&&(Cn.variableWidth&&(!(($n=Pn[Hn].props)===null||$n===void 0)&&$n.style)&&(Nn=Pn[Hn].props.style.width),!(Hn>=Pn.length));Hn+=1)Bn.push(cloneElement(Pn[Hn],{key:100*Dn+10*Fn+Hn,tabindex:-1,style:{width:`${100/Cn.slidesPerRow}%`,display:"inline-block"}}));Ln.push(createVNode("div",{key:10*Dn+Fn},[Bn]))}Cn.variableWidth?In.push(createVNode("div",{key:Dn,style:{width:Nn}},[Ln])):In.push(createVNode("div",{key:Dn},[Ln]))}if(Cn==="unslick"){const Dn="regular slider "+(this.className||"");return createVNode("div",{class:Dn},[Pn])}else In.length<=Cn.slidesToShow&&(Cn.unslick=!0);const Rn=_extends$1(_extends$1(_extends$1({},this.$attrs),Cn),{children:In,ref:this.innerSliderRefHandler});return createVNode(InnerSlider,_objectSpread2$1(_objectSpread2$1({},Rn),{},{__propsSymbol__:[]}),this.$slots)}}),genCarouselStyle=$n=>{const{componentCls:Cn,antCls:_n,carouselArrowSize:Pn,carouselDotOffset:In,marginXXS:Nn}=$n,Rn=-Pn*1.25,Dn=Nn;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${_n}-radio-input, input${_n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${_n}-radio-input, input${_n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:Pn,height:Pn,marginTop:-Pn/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:Rn,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:Rn,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:In},"&-top":{top:In,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:$n.dotWidth,height:$n.dotHeight,marginInline:Dn,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${$n.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:$n.dotHeight,padding:0,color:"transparent",fontSize:0,background:$n.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${$n.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-Dn,content:'""'}},"&.slick-active":{width:$n.dotWidthActive,"& button":{background:$n.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},genCarouselVerticalStyle=$n=>{const{componentCls:Cn,carouselDotOffset:_n,marginXXS:Pn}=$n,In={width:$n.dotHeight,height:$n.dotWidth};return{[`${Cn}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:$n.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:_n},"&-right":{insetInlineEnd:_n,insetInlineStart:"auto"},li:_extends$1(_extends$1({},In),{margin:`${Pn}px 0`,verticalAlign:"baseline",button:In,"&.slick-active":_extends$1(_extends$1({},In),{button:In})})}}}},genCarouselRtlStyle=$n=>{const{componentCls:Cn}=$n;return[{[`${Cn}-rtl`]:{direction:"rtl",".slick-dots":{[`${Cn}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${Cn}-vertical`]:{".slick-dots":{[`${Cn}-rtl&`]:{flexDirection:"column"}}}}]},useStyle$D=genComponentStyleHook("Carousel",$n=>{const{controlHeightLG:Cn,controlHeightSM:_n}=$n,Pn=merge$1($n,{carouselArrowSize:Cn/2,carouselDotOffset:_n/2});return[genCarouselStyle(Pn),genCarouselVerticalStyle(Pn),genCarouselRtlStyle(Pn)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var __rest$V=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const carouselProps=()=>({effect:stringType(),dots:booleanType(!0),vertical:booleanType(),autoplay:booleanType(),easing:String,beforeChange:functionType(),afterChange:functionType(),prefixCls:String,accessibility:booleanType(),nextArrow:PropTypes.any,prevArrow:PropTypes.any,pauseOnHover:booleanType(),adaptiveHeight:booleanType(),arrows:booleanType(!1),autoplaySpeed:Number,centerMode:booleanType(),centerPadding:String,cssEase:String,dotsClass:String,draggable:booleanType(!1),fade:booleanType(),focusOnSelect:booleanType(),infinite:booleanType(),initialSlide:Number,lazyLoad:stringType(),rtl:booleanType(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:booleanType(),swipeToSlide:booleanType(),swipeEvent:functionType(),touchMove:booleanType(),touchThreshold:Number,variableWidth:booleanType(),useCSS:booleanType(),slickGoTo:Number,responsive:Array,dotPosition:stringType(),verticalSwiping:booleanType(!1)}),Carousel=defineComponent({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:carouselProps(),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=ref();In({goTo:function(Yn){let Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var Go;(Go=Nn.value)===null||Go===void 0||Go.slickGoTo(Yn,Gn)},autoplay:Yn=>{var Gn,Go;(Go=(Gn=Nn.value)===null||Gn===void 0?void 0:Gn.innerSlider)===null||Go===void 0||Go.handleAutoPlay(Yn)},prev:()=>{var Yn;(Yn=Nn.value)===null||Yn===void 0||Yn.slickPrev()},next:()=>{var Yn;(Yn=Nn.value)===null||Yn===void 0||Yn.slickNext()},innerSlider:computed(()=>{var Yn;return(Yn=Nn.value)===null||Yn===void 0?void 0:Yn.innerSlider})}),watchEffect(()=>{warning$3($n.vertical===void 0)});const{prefixCls:Dn,direction:Ln}=useConfigInject("carousel",$n),[Fn,Bn]=useStyle$D(Dn),Hn=computed(()=>$n.dotPosition?$n.dotPosition:$n.vertical!==void 0&&$n.vertical?"right":"bottom"),zn=computed(()=>Hn.value==="left"||Hn.value==="right"),Wn=computed(()=>{const Yn="slick-dots";return classNames({[Yn]:!0,[`${Yn}-${Hn.value}`]:!0,[`${$n.dotsClass}`]:!!$n.dotsClass})});return()=>{const{dots:Yn,arrows:Gn,draggable:Go,effect:Xn}=$n,{class:Yo,style:qo}=Pn,Jo=__rest$V(Pn,["class","style"]),Zo=Xn==="fade"?!0:$n.fade,rr=classNames(Dn.value,{[`${Dn.value}-rtl`]:Ln.value==="rtl",[`${Dn.value}-vertical`]:zn.value,[`${Yo}`]:!!Yo},Bn.value);return Fn(createVNode("div",{class:rr,style:qo},[createVNode(Slider$2,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Nn},$n),Jo),{},{dots:!!Yn,dotsClass:Wn.value,arrows:Gn,draggable:Go,fade:Zo,vertical:zn.value}),_n)]))}}}),index$q=withInstall(Carousel),VALUE_SPLIT="__RC_CASCADER_SPLIT__",SHOW_PARENT$1="SHOW_PARENT",SHOW_CHILD$1="SHOW_CHILD";function toPathKey($n){return $n.join(VALUE_SPLIT)}function toPathKeys($n){return $n.map(toPathKey)}function toPathValueStr($n){return $n.split(VALUE_SPLIT)}function fillFieldNames$2($n){const{label:Cn,value:_n,children:Pn}=$n||{},In=_n||"value";return{label:Cn||"label",value:In,key:In,children:Pn||"children"}}function isLeaf($n,Cn){var _n,Pn;return(_n=$n.isLeaf)!==null&&_n!==void 0?_n:!(!((Pn=$n[Cn.children])===null||Pn===void 0)&&Pn.length)}function scrollIntoParentView($n){const Cn=$n.parentElement;if(!Cn)return;const _n=$n.offsetTop-Cn.offsetTop;_n-Cn.scrollTop<0?Cn.scrollTo({top:_n}):_n+$n.offsetHeight-Cn.scrollTop>Cn.offsetHeight&&Cn.scrollTo({top:_n+$n.offsetHeight-Cn.offsetHeight})}const TreeContextKey=Symbol("TreeContextKey"),TreeContext=defineComponent({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup($n,Cn){let{slots:_n}=Cn;return provide(TreeContextKey,computed(()=>$n.value)),()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),useInjectTreeContext=()=>inject(TreeContextKey,computed(()=>({}))),KeysStateKey=Symbol("KeysStateKey"),useProvideKeysState=$n=>{provide(KeysStateKey,$n)},useInjectKeysState=()=>inject(KeysStateKey,{expandedKeys:shallowRef([]),selectedKeys:shallowRef([]),loadedKeys:shallowRef([]),loadingKeys:shallowRef([]),checkedKeys:shallowRef([]),halfCheckedKeys:shallowRef([]),expandedKeysSet:computed(()=>new Set),selectedKeysSet:computed(()=>new Set),loadedKeysSet:computed(()=>new Set),loadingKeysSet:computed(()=>new Set),checkedKeysSet:computed(()=>new Set),halfCheckedKeysSet:computed(()=>new Set),flattenNodes:shallowRef([])}),Indent=$n=>{let{prefixCls:Cn,level:_n,isStart:Pn,isEnd:In}=$n;const Nn=`${Cn}-indent-unit`,Rn=[];for(let Dn=0;Dn<_n;Dn+=1)Rn.push(createVNode("span",{key:Dn,class:{[Nn]:!0,[`${Nn}-start`]:Pn[Dn],[`${Nn}-end`]:In[Dn]}},null));return createVNode("span",{"aria-hidden":"true",class:`${Cn}-indent`},[Rn])},Indent$1=Indent,treeNodeProps={eventKey:[String,Number],prefixCls:String,title:PropTypes.any,data:{type:Object,default:void 0},parent:{type:Object,default:void 0},isStart:{type:Array},isEnd:{type:Array},active:{type:Boolean,default:void 0},onMousemove:{type:Function},isLeaf:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},selectable:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},disableCheckbox:{type:Boolean,default:void 0},icon:PropTypes.any,switcherIcon:PropTypes.any,domRef:{type:Function}},nodeListProps={prefixCls:{type:String},motion:{type:Object},focusable:{type:Boolean},activeItem:{type:Object},focused:{type:Boolean},tabindex:{type:Number},checkable:{type:Boolean},selectable:{type:Boolean},disabled:{type:Boolean},height:{type:Number},itemHeight:{type:Number},virtual:{type:Boolean},onScroll:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onActiveChange:{type:Function},onContextmenu:{type:Function},onListChangeStart:{type:Function},onListChangeEnd:{type:Function}},treeProps$1=()=>({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:PropTypes.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:PropTypes.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:PropTypes.any,switcherIcon:PropTypes.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var __rest$U=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const ICON_OPEN="open",ICON_CLOSE="close",defaultTitle="---",VcTreeNode=defineComponent({compatConfig:{MODE:3},name:"ATreeNode",inheritAttrs:!1,props:treeNodeProps,isTreeNode:1,setup($n,Cn){let{attrs:_n,slots:Pn,expose:In}=Cn;"slots"in $n.data,`${Object.keys($n.data.slots||{}).map(Oa=>"`v-slot:"+Oa+"` ")}`;const Nn=shallowRef(!1),Rn=useInjectTreeContext(),{expandedKeysSet:Dn,selectedKeysSet:Ln,loadedKeysSet:Fn,loadingKeysSet:Bn,checkedKeysSet:Hn,halfCheckedKeysSet:zn}=useInjectKeysState(),{dragOverNodeKey:Wn,dropPosition:Yn,keyEntities:Gn}=Rn.value,Go=computed(()=>getTreeNodeProps($n.eventKey,{expandedKeysSet:Dn.value,selectedKeysSet:Ln.value,loadedKeysSet:Fn.value,loadingKeysSet:Bn.value,checkedKeysSet:Hn.value,halfCheckedKeysSet:zn.value,dragOverNodeKey:Wn,dropPosition:Yn,keyEntities:Gn})),Xn=eagerComputed(()=>Go.value.expanded),Yo=eagerComputed(()=>Go.value.selected),qo=eagerComputed(()=>Go.value.checked),Jo=eagerComputed(()=>Go.value.loaded),Zo=eagerComputed(()=>Go.value.loading),rr=eagerComputed(()=>Go.value.halfChecked),nr=eagerComputed(()=>Go.value.dragOver),ta=eagerComputed(()=>Go.value.dragOverGapTop),oa=eagerComputed(()=>Go.value.dragOverGapBottom),ra=eagerComputed(()=>Go.value.pos),ea=shallowRef(),la=computed(()=>{const{eventKey:Oa}=$n,{keyEntities:Ma}=Rn.value,{children:Ua}=Ma[Oa]||{};return!!(Ua||[]).length}),ua=computed(()=>{const{isLeaf:Oa}=$n,{loadData:Ma}=Rn.value,Ua=la.value;return Oa===!1?!1:Oa||!Ma&&!Ua||Ma&&Jo.value&&!Ua}),ga=computed(()=>ua.value?null:Xn.value?ICON_OPEN:ICON_CLOSE),aa=computed(()=>{const{disabled:Oa}=$n,{disabled:Ma}=Rn.value;return!!(Ma||Oa)}),ca=computed(()=>{const{checkable:Oa}=$n,{checkable:Ma}=Rn.value;return!Ma||Oa===!1?!1:Ma}),sa=computed(()=>{const{selectable:Oa}=$n,{selectable:Ma}=Rn.value;return typeof Oa=="boolean"?Oa:Ma}),ia=computed(()=>{const{data:Oa,active:Ma,checkable:Ua,disableCheckbox:Qa,disabled:ri,selectable:fi}=$n;return _extends$1(_extends$1({active:Ma,checkable:Ua,disableCheckbox:Qa,disabled:ri,selectable:fi},Oa),{dataRef:Oa,data:Oa,isLeaf:ua.value,checked:qo.value,expanded:Xn.value,loading:Zo.value,selected:Yo.value,halfChecked:rr.value})}),fa=getCurrentInstance(),ma=computed(()=>{const{eventKey:Oa}=$n,{keyEntities:Ma}=Rn.value,{parent:Ua}=Ma[Oa]||{};return _extends$1(_extends$1({},convertNodePropsToEventData(_extends$1({},$n,Go.value))),{parent:Ua})}),ya=reactive({eventData:ma,eventKey:computed(()=>$n.eventKey),selectHandle:ea,pos:ra,key:fa.vnode.key});In(ya);const ba=Oa=>{const{onNodeDoubleClick:Ma}=Rn.value;Ma(Oa,ma.value)},Ia=Oa=>{if(aa.value)return;const{onNodeSelect:Ma}=Rn.value;Oa.preventDefault(),Ma(Oa,ma.value)},Ea=Oa=>{if(aa.value)return;const{disableCheckbox:Ma}=$n,{onNodeCheck:Ua}=Rn.value;if(!ca.value||Ma)return;Oa.preventDefault();const Qa=!qo.value;Ua(Oa,ma.value,Qa)},xa=Oa=>{const{onNodeClick:Ma}=Rn.value;Ma(Oa,ma.value),sa.value?Ia(Oa):Ea(Oa)},Ta=Oa=>{const{onNodeMouseEnter:Ma}=Rn.value;Ma(Oa,ma.value)},wa=Oa=>{const{onNodeMouseLeave:Ma}=Rn.value;Ma(Oa,ma.value)},La=Oa=>{const{onNodeContextMenu:Ma}=Rn.value;Ma(Oa,ma.value)},Na=Oa=>{const{onNodeDragStart:Ma}=Rn.value;Oa.stopPropagation(),Nn.value=!0,Ma(Oa,ya);try{Oa.dataTransfer.setData("text/plain","")}catch{}},$a=Oa=>{const{onNodeDragEnter:Ma}=Rn.value;Oa.preventDefault(),Oa.stopPropagation(),Ma(Oa,ya)},ka=Oa=>{const{onNodeDragOver:Ma}=Rn.value;Oa.preventDefault(),Oa.stopPropagation(),Ma(Oa,ya)},Ha=Oa=>{const{onNodeDragLeave:Ma}=Rn.value;Oa.stopPropagation(),Ma(Oa,ya)},da=Oa=>{const{onNodeDragEnd:Ma}=Rn.value;Oa.stopPropagation(),Nn.value=!1,Ma(Oa,ya)},pa=Oa=>{const{onNodeDrop:Ma}=Rn.value;Oa.preventDefault(),Oa.stopPropagation(),Nn.value=!1,Ma(Oa,ya)},Sa=Oa=>{const{onNodeExpand:Ma}=Rn.value;Zo.value||Ma(Oa,ma.value)},Aa=()=>{const{data:Oa}=$n,{draggable:Ma}=Rn.value;return!!(Ma&&(!Ma.nodeDraggable||Ma.nodeDraggable(Oa)))},Ra=()=>{const{draggable:Oa,prefixCls:Ma}=Rn.value;return Oa&&(Oa!=null&&Oa.icon)?createVNode("span",{class:`${Ma}-draggable-icon`},[Oa.icon]):null},Fa=()=>{var Oa,Ma,Ua;const{switcherIcon:Qa=Pn.switcherIcon||((Oa=Rn.value.slots)===null||Oa===void 0?void 0:Oa[(Ua=(Ma=$n.data)===null||Ma===void 0?void 0:Ma.slots)===null||Ua===void 0?void 0:Ua.switcherIcon])}=$n,{switcherIcon:ri}=Rn.value,fi=Qa||ri;return typeof fi=="function"?fi(ia.value):fi},za=()=>{const{loadData:Oa,onNodeLoad:Ma}=Rn.value;Zo.value||Oa&&Xn.value&&!ua.value&&!la.value&&!Jo.value&&Ma(ma.value)};onMounted(()=>{za()}),onUpdated(()=>{za()});const Wa=()=>{const{prefixCls:Oa}=Rn.value,Ma=Fa();if(ua.value)return Ma!==!1?createVNode("span",{class:classNames(`${Oa}-switcher`,`${Oa}-switcher-noop`)},[Ma]):null;const Ua=classNames(`${Oa}-switcher`,`${Oa}-switcher_${Xn.value?ICON_OPEN:ICON_CLOSE}`);return Ma!==!1?createVNode("span",{onClick:Sa,class:Ua},[Ma]):null},Ya=()=>{var Oa,Ma;const{disableCheckbox:Ua}=$n,{prefixCls:Qa}=Rn.value,ri=aa.value;return ca.value?createVNode("span",{class:classNames(`${Qa}-checkbox`,qo.value&&`${Qa}-checkbox-checked`,!qo.value&&rr.value&&`${Qa}-checkbox-indeterminate`,(ri||Ua)&&`${Qa}-checkbox-disabled`),onClick:Ea},[(Ma=(Oa=Rn.value).customCheckable)===null||Ma===void 0?void 0:Ma.call(Oa)]):null},ja=()=>{const{prefixCls:Oa}=Rn.value;return createVNode("span",{class:classNames(`${Oa}-iconEle`,`${Oa}-icon__${ga.value||"docu"}`,Zo.value&&`${Oa}-icon_loading`)},null)},qa=()=>{const{disabled:Oa,eventKey:Ma}=$n,{draggable:Ua,dropLevelOffset:Qa,dropPosition:ri,prefixCls:fi,indent:ei,dropIndicatorRender:ti,dragOverNodeKey:ni,direction:ui}=Rn.value;return!Oa&&Ua!==!1&&ni===Ma?ti({dropPosition:ri,dropLevelOffset:Qa,indent:ei,prefixCls:fi,direction:ui}):null},Xa=()=>{var Oa,Ma,Ua,Qa,ri,fi;const{icon:ei=Pn.icon,data:ti}=$n,ni=Pn.title||((Oa=Rn.value.slots)===null||Oa===void 0?void 0:Oa[(Ua=(Ma=$n.data)===null||Ma===void 0?void 0:Ma.slots)===null||Ua===void 0?void 0:Ua.title])||((Qa=Rn.value.slots)===null||Qa===void 0?void 0:Qa.title)||$n.title,{prefixCls:ui,showIcon:mi,icon:di,loadData:gi}=Rn.value,wi=aa.value,Ti=`${ui}-node-content-wrapper`;let Ei;if(mi){const Zi=ei||((ri=Rn.value.slots)===null||ri===void 0?void 0:ri[(fi=ti==null?void 0:ti.slots)===null||fi===void 0?void 0:fi.icon])||di;Ei=Zi?createVNode("span",{class:classNames(`${ui}-iconEle`,`${ui}-icon__customize`)},[typeof Zi=="function"?Zi(ia.value):Zi]):ja()}else gi&&Zo.value&&(Ei=ja());let Ni;typeof ni=="function"?Ni=ni(ia.value):Ni=ni,Ni=Ni===void 0?defaultTitle:Ni;const Ri=createVNode("span",{class:`${ui}-title`},[Ni]);return createVNode("span",{ref:ea,title:typeof ni=="string"?ni:"",class:classNames(`${Ti}`,`${Ti}-${ga.value||"normal"}`,!wi&&(Yo.value||Nn.value)&&`${ui}-node-selected`),onMouseenter:Ta,onMouseleave:wa,onContextmenu:La,onClick:xa,onDblclick:ba},[Ei,Ri,qa()])};return()=>{const Oa=_extends$1(_extends$1({},$n),_n),{eventKey:Ma,isLeaf:Ua,isStart:Qa,isEnd:ri,domRef:fi,active:ei,data:ti,onMousemove:ni,selectable:ui}=Oa,mi=__rest$U(Oa,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:di,filterTreeNode:gi,keyEntities:wi,dropContainerKey:Ti,dropTargetKey:Ei,draggingNodeKey:Ni}=Rn.value,Ri=aa.value,Zi=pickAttrs(mi,{aria:!0,data:!0}),{level:Qi}=wi[Ma]||{},Ji=ri[ri.length-1],Yi=Aa(),rl=!Ri&&Yi,yi=Ni===Ma,il=ui!==void 0?{"aria-selected":!!ui}:void 0;return createVNode("div",_objectSpread2$1(_objectSpread2$1({ref:fi,class:classNames(_n.class,`${di}-treenode`,{[`${di}-treenode-disabled`]:Ri,[`${di}-treenode-switcher-${Xn.value?"open":"close"}`]:!Ua,[`${di}-treenode-checkbox-checked`]:qo.value,[`${di}-treenode-checkbox-indeterminate`]:rr.value,[`${di}-treenode-selected`]:Yo.value,[`${di}-treenode-loading`]:Zo.value,[`${di}-treenode-active`]:ei,[`${di}-treenode-leaf-last`]:Ji,[`${di}-treenode-draggable`]:rl,dragging:yi,"drop-target":Ei===Ma,"drop-container":Ti===Ma,"drag-over":!Ri&&nr.value,"drag-over-gap-top":!Ri&&ta.value,"drag-over-gap-bottom":!Ri&&oa.value,"filter-node":gi&&gi(ma.value)}),style:_n.style,draggable:rl,"aria-grabbed":yi,onDragstart:rl?Na:void 0,onDragenter:Yi?$a:void 0,onDragover:Yi?ka:void 0,onDragleave:Yi?Ha:void 0,onDrop:Yi?pa:void 0,onDragend:Yi?da:void 0,onMousemove:ni},il),Zi),[createVNode(Indent$1,{prefixCls:di,level:Qi,isStart:Qa,isEnd:ri},null),Ra(),Wa(),Ya(),Xa()])}}});function arrDel($n,Cn){if(!$n)return[];const _n=$n.slice(),Pn=_n.indexOf(Cn);return Pn>=0&&_n.splice(Pn,1),_n}function arrAdd($n,Cn){const _n=($n||[]).slice();return _n.indexOf(Cn)===-1&&_n.push(Cn),_n}function posToArr($n){return $n.split("-")}function getPosition($n,Cn){return`${$n}-${Cn}`}function isTreeNode($n){return $n&&$n.type&&$n.type.isTreeNode}function getDragChildrenKeys($n,Cn){const _n=[],Pn=Cn[$n];function In(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(Rn=>{let{key:Dn,children:Ln}=Rn;_n.push(Dn),In(Ln)})}return In(Pn.children),_n}function isLastChild($n){if($n.parent){const Cn=posToArr($n.pos);return Number(Cn[Cn.length-1])===$n.parent.children.length-1}return!1}function isFirstChild($n){const Cn=posToArr($n.pos);return Number(Cn[Cn.length-1])===0}function calcDropPosition($n,Cn,_n,Pn,In,Nn,Rn,Dn,Ln,Fn){var Bn;const{clientX:Hn,clientY:zn}=$n,{top:Wn,height:Yn}=$n.target.getBoundingClientRect(),Go=((Fn==="rtl"?-1:1)*(((In==null?void 0:In.x)||0)-Hn)-12)/Pn;let Xn=Dn[_n.eventKey];if(zn<Wn+Yn/2){const ra=Rn.findIndex(ua=>ua.key===Xn.key),ea=ra<=0?0:ra-1,la=Rn[ea].key;Xn=Dn[la]}const Yo=Xn.key,qo=Xn,Jo=Xn.key;let Zo=0,rr=0;if(!Ln.has(Yo))for(let ra=0;ra<Go&&isLastChild(Xn);ra+=1)Xn=Xn.parent,rr+=1;const nr=Cn.eventData,ta=Xn.node;let oa=!0;return isFirstChild(Xn)&&Xn.level===0&&zn<Wn+Yn/2&&Nn({dragNode:nr,dropNode:ta,dropPosition:-1})&&Xn.key===_n.eventKey?Zo=-1:(qo.children||[]).length&&Ln.has(Jo)?Nn({dragNode:nr,dropNode:ta,dropPosition:0})?Zo=0:oa=!1:rr===0?Go>-1.5?Nn({dragNode:nr,dropNode:ta,dropPosition:1})?Zo=1:oa=!1:Nn({dragNode:nr,dropNode:ta,dropPosition:0})?Zo=0:Nn({dragNode:nr,dropNode:ta,dropPosition:1})?Zo=1:oa=!1:Nn({dragNode:nr,dropNode:ta,dropPosition:1})?Zo=1:oa=!1,{dropPosition:Zo,dropLevelOffset:rr,dropTargetKey:Xn.key,dropTargetPos:Xn.pos,dragOverNodeKey:Jo,dropContainerKey:Zo===0?null:((Bn=Xn.parent)===null||Bn===void 0?void 0:Bn.key)||null,dropAllowed:oa}}function calcSelectedKeys($n,Cn){if(!$n)return;const{multiple:_n}=Cn;return _n?$n.slice():$n.length?[$n[0]]:$n}function parseCheckedKeys($n){if(!$n)return null;let Cn;if(Array.isArray($n))Cn={checkedKeys:$n,halfCheckedKeys:void 0};else if(typeof $n=="object")Cn={checkedKeys:$n.checked||void 0,halfCheckedKeys:$n.halfChecked||void 0};else return null;return Cn}function conductExpandParent($n,Cn){const _n=new Set;function Pn(In){if(_n.has(In))return;const Nn=Cn[In];if(!Nn)return;_n.add(In);const{parent:Rn,node:Dn}=Nn;Dn.disabled||Rn&&Pn(Rn.key)}return($n||[]).forEach(In=>{Pn(In)}),[..._n]}var __rest$T=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function getKey($n,Cn){return $n??Cn}function fillFieldNames$1($n){const{title:Cn,_title:_n,key:Pn,children:In}=$n||{},Nn=Cn||"title";return{title:Nn,_title:_n||[Nn],key:Pn||"key",children:In||"children"}}function convertTreeToData($n){function Cn(){let _n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return filterEmpty(_n).map(In=>{var Nn,Rn,Dn,Ln;if(!isTreeNode(In))return null;const Fn=In.children||{},Bn=In.key,Hn={};for(const[ra,ea]of Object.entries(In.props))Hn[camelize(ra)]=ea;const{isLeaf:zn,checkable:Wn,selectable:Yn,disabled:Gn,disableCheckbox:Go}=Hn,Xn={isLeaf:zn||zn===""||void 0,checkable:Wn||Wn===""||void 0,selectable:Yn||Yn===""||void 0,disabled:Gn||Gn===""||void 0,disableCheckbox:Go||Go===""||void 0},Yo=_extends$1(_extends$1({},Hn),Xn),{title:qo=(Nn=Fn.title)===null||Nn===void 0?void 0:Nn.call(Fn,Yo),icon:Jo=(Rn=Fn.icon)===null||Rn===void 0?void 0:Rn.call(Fn,Yo),switcherIcon:Zo=(Dn=Fn.switcherIcon)===null||Dn===void 0?void 0:Dn.call(Fn,Yo)}=Hn,rr=__rest$T(Hn,["title","icon","switcherIcon"]),nr=(Ln=Fn.default)===null||Ln===void 0?void 0:Ln.call(Fn),ta=_extends$1(_extends$1(_extends$1({},rr),{title:qo,icon:Jo,switcherIcon:Zo,key:Bn,isLeaf:zn}),Xn),oa=Cn(nr);return oa.length&&(ta.children=oa),ta})}return Cn($n)}function flattenTreeData($n,Cn,_n){const{_title:Pn,key:In,children:Nn}=fillFieldNames$1(_n),Rn=new Set(Cn===!0?[]:Cn),Dn=[];function Ln(Fn){let Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Fn.map((Hn,zn)=>{const Wn=getPosition(Bn?Bn.pos:"0",zn),Yn=getKey(Hn[In],Wn);let Gn;for(let Xn=0;Xn<Pn.length;Xn+=1){const Yo=Pn[Xn];if(Hn[Yo]!==void 0){Gn=Hn[Yo];break}}const Go=_extends$1(_extends$1({},omit$1(Hn,[...Pn,In,Nn])),{title:Gn,key:Yn,parent:Bn,pos:Wn,children:null,data:Hn,isStart:[...Bn?Bn.isStart:[],zn===0],isEnd:[...Bn?Bn.isEnd:[],zn===Fn.length-1]});return Dn.push(Go),Cn===!0||Rn.has(Yn)?Go.children=Ln(Hn[Nn]||[],Go):Go.children=[],Go})}return Ln($n),Dn}function traverseDataNodes($n,Cn,_n){let Pn={};typeof _n=="object"?Pn=_n:Pn={externalGetKey:_n},Pn=Pn||{};const{childrenPropName:In,externalGetKey:Nn,fieldNames:Rn}=Pn,{key:Dn,children:Ln}=fillFieldNames$1(Rn),Fn=In||Ln;let Bn;Nn?typeof Nn=="string"?Bn=zn=>zn[Nn]:typeof Nn=="function"&&(Bn=zn=>Nn(zn)):Bn=(zn,Wn)=>getKey(zn[Dn],Wn);function Hn(zn,Wn,Yn,Gn){const Go=zn?zn[Fn]:$n,Xn=zn?getPosition(Yn.pos,Wn):"0",Yo=zn?[...Gn,zn]:[];if(zn){const qo=Bn(zn,Xn),Jo={node:zn,index:Wn,pos:Xn,key:qo,parentPos:Yn.node?Yn.pos:null,level:Yn.level+1,nodes:Yo};Cn(Jo)}Go&&Go.forEach((qo,Jo)=>{Hn(qo,Jo,{node:zn,pos:Xn,level:Yn?Yn.level+1:-1},Yo)})}Hn(null)}function convertDataToEntities($n){let{initWrapper:Cn,processEntity:_n,onProcessFinished:Pn,externalGetKey:In,childrenPropName:Nn,fieldNames:Rn}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Dn=arguments.length>2?arguments[2]:void 0;const Ln=In||Dn,Fn={},Bn={};let Hn={posEntities:Fn,keyEntities:Bn};return Cn&&(Hn=Cn(Hn)||Hn),traverseDataNodes($n,zn=>{const{node:Wn,index:Yn,pos:Gn,key:Go,parentPos:Xn,level:Yo,nodes:qo}=zn,Jo={node:Wn,nodes:qo,index:Yn,key:Go,pos:Gn,level:Yo},Zo=getKey(Go,Gn);Fn[Gn]=Jo,Bn[Zo]=Jo,Jo.parent=Fn[Xn],Jo.parent&&(Jo.parent.children=Jo.parent.children||[],Jo.parent.children.push(Jo)),_n&&_n(Jo,Hn)},{externalGetKey:Ln,childrenPropName:Nn,fieldNames:Rn}),Pn&&Pn(Hn),Hn}function getTreeNodeProps($n,Cn){let{expandedKeysSet:_n,selectedKeysSet:Pn,loadedKeysSet:In,loadingKeysSet:Nn,checkedKeysSet:Rn,halfCheckedKeysSet:Dn,dragOverNodeKey:Ln,dropPosition:Fn,keyEntities:Bn}=Cn;const Hn=Bn[$n];return{eventKey:$n,expanded:_n.has($n),selected:Pn.has($n),loaded:In.has($n),loading:Nn.has($n),checked:Rn.has($n),halfChecked:Dn.has($n),pos:String(Hn?Hn.pos:""),parent:Hn.parent,dragOver:Ln===$n&&Fn===0,dragOverGapTop:Ln===$n&&Fn===-1,dragOverGapBottom:Ln===$n&&Fn===1}}function convertNodePropsToEventData($n){const{data:Cn,expanded:_n,selected:Pn,checked:In,loaded:Nn,loading:Rn,halfChecked:Dn,dragOver:Ln,dragOverGapTop:Fn,dragOverGapBottom:Bn,pos:Hn,active:zn,eventKey:Wn}=$n,Yn=_extends$1(_extends$1({dataRef:Cn},Cn),{expanded:_n,selected:Pn,checked:In,loaded:Nn,loading:Rn,halfChecked:Dn,dragOver:Ln,dragOverGapTop:Fn,dragOverGapBottom:Bn,pos:Hn,active:zn,eventKey:Wn,key:Wn});return"props"in Yn||Object.defineProperty(Yn,"props",{get(){return $n}}),Yn}const useEntities=($n,Cn)=>computed(()=>convertDataToEntities($n.value,{fieldNames:Cn.value,initWrapper:Pn=>_extends$1(_extends$1({},Pn),{pathKeyEntities:{}}),processEntity:(Pn,In)=>{const Nn=Pn.nodes.map(Rn=>Rn[Cn.value.value]).join(VALUE_SPLIT);In.pathKeyEntities[Nn]=Pn,Pn.key=Nn}}).pathKeyEntities);function useSearchConfig($n){const Cn=shallowRef(!1),_n=ref({});return watchEffect(()=>{if(!$n.value){Cn.value=!1,_n.value={};return}let Pn={matchInputWidth:!0,limit:50};$n.value&&typeof $n.value=="object"&&(Pn=_extends$1(_extends$1({},Pn),$n.value)),Pn.limit<=0&&delete Pn.limit,Cn.value=!0,_n.value=Pn}),{showSearch:Cn,searchConfig:_n}}const SEARCH_MARK="__rc_cascader_search_mark__",defaultFilter=($n,Cn,_n)=>{let{label:Pn}=_n;return Cn.some(In=>String(In[Pn]).toLowerCase().includes($n.toLowerCase()))},defaultRender$1=$n=>{let{path:Cn,fieldNames:_n}=$n;return Cn.map(Pn=>Pn[_n.label]).join(" / ")},useSearchOptions=($n,Cn,_n,Pn,In,Nn)=>computed(()=>{const{filter:Rn=defaultFilter,render:Dn=defaultRender$1,limit:Ln=50,sort:Fn}=In.value,Bn=[];if(!$n.value)return[];function Hn(zn,Wn){zn.forEach(Yn=>{if(!Fn&&Ln>0&&Bn.length>=Ln)return;const Gn=[...Wn,Yn],Go=Yn[_n.value.children];(!Go||Go.length===0||Nn.value)&&Rn($n.value,Gn,{label:_n.value.label})&&Bn.push(_extends$1(_extends$1({},Yn),{[_n.value.label]:Dn({inputValue:$n.value,path:Gn,prefixCls:Pn.value,fieldNames:_n.value}),[SEARCH_MARK]:Gn})),Go&&Hn(Yn[_n.value.children],Gn)})}return Hn(Cn.value,[]),Fn&&Bn.sort((zn,Wn)=>Fn(zn[SEARCH_MARK],Wn[SEARCH_MARK],$n.value,_n.value)),Ln>0?Bn.slice(0,Ln):Bn});function formatStrategyValues$1($n,Cn,_n){const Pn=new Set($n);return $n.filter(In=>{const Nn=Cn[In],Rn=Nn?Nn.parent:null,Dn=Nn?Nn.children:null;return _n===SHOW_CHILD$1?!(Dn&&Dn.some(Ln=>Ln.key&&Pn.has(Ln.key))):!(Rn&&!Rn.node.disabled&&Pn.has(Rn.key))})}function toPathOptions($n,Cn,_n){let Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var In;let Nn=Cn;const Rn=[];for(let Dn=0;Dn<$n.length;Dn+=1){const Ln=$n[Dn],Fn=Nn==null?void 0:Nn.findIndex(Hn=>{const zn=Hn[_n.value];return Pn?String(zn)===String(Ln):zn===Ln}),Bn=Fn!==-1?Nn==null?void 0:Nn[Fn]:null;Rn.push({value:(In=Bn==null?void 0:Bn[_n.value])!==null&&In!==void 0?In:Ln,index:Fn,option:Bn}),Nn=Bn==null?void 0:Bn[_n.children]}return Rn}const useMissingValues=($n,Cn,_n)=>computed(()=>{const Pn=[],In=[];return _n.value.forEach(Nn=>{toPathOptions(Nn,$n.value,Cn.value).every(Dn=>Dn.option)?In.push(Nn):Pn.push(Nn)}),[In,Pn]});function removeFromCheckedKeys($n,Cn){const _n=new Set;return $n.forEach(Pn=>{Cn.has(Pn)||_n.add(Pn)}),_n}function isCheckDisabled$1($n){const{disabled:Cn,disableCheckbox:_n,checkable:Pn}=$n||{};return!!(Cn||_n)||Pn===!1}function fillConductCheck($n,Cn,_n,Pn){const In=new Set($n),Nn=new Set;for(let Dn=0;Dn<=_n;Dn+=1)(Cn.get(Dn)||new Set).forEach(Fn=>{const{key:Bn,node:Hn,children:zn=[]}=Fn;In.has(Bn)&&!Pn(Hn)&&zn.filter(Wn=>!Pn(Wn.node)).forEach(Wn=>{In.add(Wn.key)})});const Rn=new Set;for(let Dn=_n;Dn>=0;Dn-=1)(Cn.get(Dn)||new Set).forEach(Fn=>{const{parent:Bn,node:Hn}=Fn;if(Pn(Hn)||!Fn.parent||Rn.has(Fn.parent.key))return;if(Pn(Fn.parent.node)){Rn.add(Bn.key);return}let zn=!0,Wn=!1;(Bn.children||[]).filter(Yn=>!Pn(Yn.node)).forEach(Yn=>{let{key:Gn}=Yn;const Go=In.has(Gn);zn&&!Go&&(zn=!1),!Wn&&(Go||Nn.has(Gn))&&(Wn=!0)}),zn&&In.add(Bn.key),Wn&&Nn.add(Bn.key),Rn.add(Bn.key)});return{checkedKeys:Array.from(In),halfCheckedKeys:Array.from(removeFromCheckedKeys(Nn,In))}}function cleanConductCheck($n,Cn,_n,Pn,In){const Nn=new Set($n);let Rn=new Set(Cn);for(let Ln=0;Ln<=Pn;Ln+=1)(_n.get(Ln)||new Set).forEach(Bn=>{const{key:Hn,node:zn,children:Wn=[]}=Bn;!Nn.has(Hn)&&!Rn.has(Hn)&&!In(zn)&&Wn.filter(Yn=>!In(Yn.node)).forEach(Yn=>{Nn.delete(Yn.key)})});Rn=new Set;const Dn=new Set;for(let Ln=Pn;Ln>=0;Ln-=1)(_n.get(Ln)||new Set).forEach(Bn=>{const{parent:Hn,node:zn}=Bn;if(In(zn)||!Bn.parent||Dn.has(Bn.parent.key))return;if(In(Bn.parent.node)){Dn.add(Hn.key);return}let Wn=!0,Yn=!1;(Hn.children||[]).filter(Gn=>!In(Gn.node)).forEach(Gn=>{let{key:Go}=Gn;const Xn=Nn.has(Go);Wn&&!Xn&&(Wn=!1),!Yn&&(Xn||Rn.has(Go))&&(Yn=!0)}),Wn||Nn.delete(Hn.key),Yn&&Rn.add(Hn.key),Dn.add(Hn.key)});return{checkedKeys:Array.from(Nn),halfCheckedKeys:Array.from(removeFromCheckedKeys(Rn,Nn))}}function conductCheck($n,Cn,_n,Pn,In,Nn){let Rn;Nn?Rn=Nn:Rn=isCheckDisabled$1;const Dn=new Set($n.filter(Fn=>!!_n[Fn]));let Ln;return Cn===!0?Ln=fillConductCheck(Dn,In,Pn,Rn):Ln=cleanConductCheck(Dn,Cn.halfCheckedKeys,In,Pn,Rn),Ln}const useDisplayValues=($n,Cn,_n,Pn,In)=>computed(()=>{const Nn=In.value||(Rn=>{let{labels:Dn}=Rn;const Ln=Pn.value?Dn.slice(-1):Dn,Fn=" / ";return Ln.every(Bn=>["string","number"].includes(typeof Bn))?Ln.join(Fn):Ln.reduce((Bn,Hn,zn)=>{const Wn=isValidElement(Hn)?cloneElement(Hn,{key:zn}):Hn;return zn===0?[Wn]:[...Bn,Fn,Wn]},[])});return $n.value.map(Rn=>{const Dn=toPathOptions(Rn,Cn.value,_n.value),Ln=Nn({labels:Dn.map(Bn=>{let{option:Hn,value:zn}=Bn;var Wn;return(Wn=Hn==null?void 0:Hn[_n.value.label])!==null&&Wn!==void 0?Wn:zn}),selectedOptions:Dn.map(Bn=>{let{option:Hn}=Bn;return Hn})}),Fn=toPathKey(Rn);return{label:Ln,value:Fn,key:Fn,valueCells:Rn}})}),CascaderContextKey=Symbol("CascaderContextKey"),useProvideCascader=$n=>{provide(CascaderContextKey,$n)},useInjectCascader=()=>inject(CascaderContextKey),useActive=()=>{const $n=useBaseProps(),{values:Cn}=useInjectCascader(),[_n,Pn]=useState([]);return watch(()=>$n.open,()=>{if($n.open&&!$n.multiple){const In=Cn.value[0];Pn(In||[])}},{immediate:!0}),[_n,Pn]},useKeyboard=($n,Cn,_n,Pn,In,Nn)=>{const Rn=useBaseProps(),Dn=computed(()=>Rn.direction==="rtl"),[Ln,Fn,Bn]=[ref([]),ref(),ref([])];watchEffect(()=>{let Gn=-1,Go=Cn.value;const Xn=[],Yo=[],qo=Pn.value.length;for(let Zo=0;Zo<qo&&Go;Zo+=1){const rr=Go.findIndex(nr=>nr[_n.value.value]===Pn.value[Zo]);if(rr===-1)break;Gn=rr,Xn.push(Gn),Yo.push(Pn.value[Zo]),Go=Go[Gn][_n.value.children]}let Jo=Cn.value;for(let Zo=0;Zo<Xn.length-1;Zo+=1)Jo=Jo[Xn[Zo]][_n.value.children];[Ln.value,Fn.value,Bn.value]=[Yo,Gn,Jo]});const Hn=Gn=>{In(Gn)},zn=Gn=>{const Go=Bn.value.length;let Xn=Fn.value;Xn===-1&&Gn<0&&(Xn=Go);for(let Yo=0;Yo<Go;Yo+=1){Xn=(Xn+Gn+Go)%Go;const qo=Bn.value[Xn];if(qo&&!qo.disabled){const Jo=qo[_n.value.value],Zo=Ln.value.slice(0,-1).concat(Jo);Hn(Zo);return}}},Wn=()=>{if(Ln.value.length>1){const Gn=Ln.value.slice(0,-1);Hn(Gn)}else Rn.toggleOpen(!1)},Yn=()=>{var Gn;const Xn=(((Gn=Bn.value[Fn.value])===null||Gn===void 0?void 0:Gn[_n.value.children])||[]).find(Yo=>!Yo.disabled);if(Xn){const Yo=[...Ln.value,Xn[_n.value.value]];Hn(Yo)}};$n.expose({onKeydown:Gn=>{const{which:Go}=Gn;switch(Go){case KeyCode$1.UP:case KeyCode$1.DOWN:{let Xn=0;Go===KeyCode$1.UP?Xn=-1:Go===KeyCode$1.DOWN&&(Xn=1),Xn!==0&&zn(Xn);break}case KeyCode$1.LEFT:{Dn.value?Yn():Wn();break}case KeyCode$1.RIGHT:{Dn.value?Wn():Yn();break}case KeyCode$1.BACKSPACE:{Rn.searchValue||Wn();break}case KeyCode$1.ENTER:{if(Ln.value.length){const Xn=Bn.value[Fn.value],Yo=(Xn==null?void 0:Xn[SEARCH_MARK])||[];Yo.length?Nn(Yo.map(qo=>qo[_n.value.value]),Yo[Yo.length-1]):Nn(Ln.value,Xn)}break}case KeyCode$1.ESC:Rn.toggleOpen(!1),open&&Gn.stopPropagation()}},onKeyup:()=>{}})};function Checkbox$1($n){let{prefixCls:Cn,checked:_n,halfChecked:Pn,disabled:In,onClick:Nn}=$n;const{customSlots:Rn,checkable:Dn}=useInjectCascader(),Ln=Dn.value!==!1?Rn.value.checkable:Dn.value,Fn=typeof Ln=="function"?Ln():typeof Ln=="boolean"?null:Ln;return createVNode("span",{class:{[Cn]:!0,[`${Cn}-checked`]:_n,[`${Cn}-indeterminate`]:!_n&&Pn,[`${Cn}-disabled`]:In},onClick:Nn},[Fn])}Checkbox$1.props=["prefixCls","checked","halfChecked","disabled","onClick"];Checkbox$1.displayName="Checkbox";Checkbox$1.inheritAttrs=!1;const FIX_LABEL="__cascader_fix_label__";function Column$1($n){let{prefixCls:Cn,multiple:_n,options:Pn,activeValue:In,prevValuePath:Nn,onToggleOpen:Rn,onSelect:Dn,onActive:Ln,checkedSet:Fn,halfCheckedSet:Bn,loadingKeys:Hn,isSelectable:zn}=$n;var Wn,Yn,Gn,Go,Xn,Yo;const qo=`${Cn}-menu`,Jo=`${Cn}-menu-item`,{fieldNames:Zo,changeOnSelect:rr,expandTrigger:nr,expandIcon:ta,loadingIcon:oa,dropdownMenuColumnStyle:ra,customSlots:ea}=useInjectCascader(),la=(Wn=ta.value)!==null&&Wn!==void 0?Wn:(Gn=(Yn=ea.value).expandIcon)===null||Gn===void 0?void 0:Gn.call(Yn),ua=(Go=oa.value)!==null&&Go!==void 0?Go:(Yo=(Xn=ea.value).loadingIcon)===null||Yo===void 0?void 0:Yo.call(Xn),ga=nr.value==="hover";return createVNode("ul",{class:qo,role:"menu"},[Pn.map(aa=>{var ca;const{disabled:sa}=aa,ia=aa[SEARCH_MARK],fa=(ca=aa[FIX_LABEL])!==null&&ca!==void 0?ca:aa[Zo.value.label],ma=aa[Zo.value.value],ya=isLeaf(aa,Zo.value),ba=ia?ia.map($a=>$a[Zo.value.value]):[...Nn,ma],Ia=toPathKey(ba),Ea=Hn.includes(Ia),xa=Fn.has(Ia),Ta=Bn.has(Ia),wa=()=>{!sa&&(!ga||!ya)&&Ln(ba)},La=()=>{zn(aa)&&Dn(ba,ya)};let Na;return typeof aa.title=="string"?Na=aa.title:typeof fa=="string"&&(Na=fa),createVNode("li",{key:Ia,class:[Jo,{[`${Jo}-expand`]:!ya,[`${Jo}-active`]:In===ma,[`${Jo}-disabled`]:sa,[`${Jo}-loading`]:Ea}],style:ra.value,role:"menuitemcheckbox",title:Na,"aria-checked":xa,"data-path-key":Ia,onClick:()=>{wa(),(!_n||ya)&&La()},onDblclick:()=>{rr.value&&Rn(!1)},onMouseenter:()=>{ga&&wa()},onMousedown:$a=>{$a.preventDefault()}},[_n&&createVNode(Checkbox$1,{prefixCls:`${Cn}-checkbox`,checked:xa,halfChecked:Ta,disabled:sa,onClick:$a=>{$a.stopPropagation(),La()}},null),createVNode("div",{class:`${Jo}-content`},[fa]),!Ea&&la&&!ya&&createVNode("div",{class:`${Jo}-expand-icon`},[la]),Ea&&ua&&createVNode("div",{class:`${Jo}-loading-icon`},[ua])])})])}Column$1.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];Column$1.displayName="Column";Column$1.inheritAttrs=!1;const OptionList$1=defineComponent({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup($n,Cn){const{attrs:_n,slots:Pn}=Cn,In=useBaseProps(),Nn=ref(),Rn=computed(()=>In.direction==="rtl"),{options:Dn,values:Ln,halfValues:Fn,fieldNames:Bn,changeOnSelect:Hn,onSelect:zn,searchOptions:Wn,dropdownPrefixCls:Yn,loadData:Gn,expandTrigger:Go,customSlots:Xn}=useInjectCascader(),Yo=computed(()=>Yn.value||In.prefixCls),qo=shallowRef([]),Jo=ca=>{if(!Gn.value||In.searchValue)return;const ia=toPathOptions(ca,Dn.value,Bn.value).map(ma=>{let{option:ya}=ma;return ya}),fa=ia[ia.length-1];if(fa&&!isLeaf(fa,Bn.value)){const ma=toPathKey(ca);qo.value=[...qo.value,ma],Gn.value(ia)}};watchEffect(()=>{qo.value.length&&qo.value.forEach(ca=>{const sa=toPathValueStr(ca),ia=toPathOptions(sa,Dn.value,Bn.value,!0).map(ma=>{let{option:ya}=ma;return ya}),fa=ia[ia.length-1];(!fa||fa[Bn.value.children]||isLeaf(fa,Bn.value))&&(qo.value=qo.value.filter(ma=>ma!==ca))})});const Zo=computed(()=>new Set(toPathKeys(Ln.value))),rr=computed(()=>new Set(toPathKeys(Fn.value))),[nr,ta]=useActive(),oa=ca=>{ta(ca),Jo(ca)},ra=ca=>{const{disabled:sa}=ca,ia=isLeaf(ca,Bn.value);return!sa&&(ia||Hn.value||In.multiple)},ea=function(ca,sa){let ia=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;zn(ca),!In.multiple&&(sa||Hn.value&&(Go.value==="hover"||ia))&&In.toggleOpen(!1)},la=computed(()=>In.searchValue?Wn.value:Dn.value),ua=computed(()=>{const ca=[{options:la.value}];let sa=la.value;for(let ia=0;ia<nr.value.length;ia+=1){const fa=nr.value[ia],ma=sa.find(ba=>ba[Bn.value.value]===fa),ya=ma==null?void 0:ma[Bn.value.children];if(!(ya!=null&&ya.length))break;sa=ya,ca.push({options:ya})}return ca});useKeyboard(Cn,la,Bn,nr,oa,(ca,sa)=>{ra(sa)&&ea(ca,isLeaf(sa,Bn.value),!0)});const aa=ca=>{ca.preventDefault()};return onMounted(()=>{watch(nr,ca=>{var sa;for(let ia=0;ia<ca.length;ia+=1){const fa=ca.slice(0,ia+1),ma=toPathKey(fa),ya=(sa=Nn.value)===null||sa===void 0?void 0:sa.querySelector(`li[data-path-key="${ma.replace(/\\{0,2}"/g,'\\"')}"]`);ya&&scrollIntoParentView(ya)}},{flush:"post",immediate:!0})}),()=>{var ca,sa,ia,fa,ma;const{notFoundContent:ya=((ca=Pn.notFoundContent)===null||ca===void 0?void 0:ca.call(Pn))||((ia=(sa=Xn.value).notFoundContent)===null||ia===void 0?void 0:ia.call(sa)),multiple:ba,toggleOpen:Ia}=In,Ea=!(!((ma=(fa=ua.value[0])===null||fa===void 0?void 0:fa.options)===null||ma===void 0)&&ma.length),xa=[{[Bn.value.value]:"__EMPTY__",[FIX_LABEL]:ya,disabled:!0}],Ta=_extends$1(_extends$1({},_n),{multiple:!Ea&&ba,onSelect:ea,onActive:oa,onToggleOpen:Ia,checkedSet:Zo.value,halfCheckedSet:rr.value,loadingKeys:qo.value,isSelectable:ra}),La=(Ea?[{options:xa}]:ua.value).map((Na,$a)=>{const ka=nr.value.slice(0,$a),Ha=nr.value[$a];return createVNode(Column$1,_objectSpread2$1(_objectSpread2$1({key:$a},Ta),{},{prefixCls:Yo.value,options:Na.options,prevValuePath:ka,activeValue:Ha}),null)});return createVNode("div",{class:[`${Yo.value}-menus`,{[`${Yo.value}-menu-empty`]:Ea,[`${Yo.value}-rtl`]:Rn.value}],onMousedown:aa,ref:Nn},[La])}}});function useMaxLevel($n){const Cn=ref(0),_n=shallowRef();return watchEffect(()=>{const Pn=new Map;let In=0;const Nn=$n.value||{};for(const Rn in Nn)if(Object.prototype.hasOwnProperty.call(Nn,Rn)){const Dn=Nn[Rn],{level:Ln}=Dn;let Fn=Pn.get(Ln);Fn||(Fn=new Set,Pn.set(Ln,Fn)),Fn.add(Dn),In=Math.max(In,Ln)}Cn.value=In,_n.value=Pn}),{maxLevel:Cn,levelEntities:_n}}function baseCascaderProps(){return _extends$1(_extends$1({},omit$1(baseSelectPropsWithoutPrivate(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:objectType(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:SHOW_PARENT$1},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:PropTypes.any,loadingIcon:PropTypes.any})}function internalCascaderProps(){return _extends$1(_extends$1({},baseCascaderProps()),{onChange:Function,customSlots:Object})}function isMultipleValue($n){return Array.isArray($n)&&Array.isArray($n[0])}function toRawValues($n){return $n?isMultipleValue($n)?$n:($n.length===0?[]:[$n]).map(Cn=>Array.isArray(Cn)?Cn:[Cn]):[]}const Cascader$1=defineComponent({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:initDefaultProps(internalCascaderProps(),{}),setup($n,Cn){let{attrs:_n,expose:Pn,slots:In}=Cn;const Nn=useId$1(toRef($n,"id")),Rn=computed(()=>!!$n.checkable),[Dn,Ln]=useMergedState($n.defaultValue,{value:computed(()=>$n.value),postState:toRawValues}),Fn=computed(()=>fillFieldNames$2($n.fieldNames)),Bn=computed(()=>$n.options||[]),Hn=useEntities(Bn,Fn),zn=$a=>{const ka=Hn.value;return $a.map(Ha=>{const{nodes:da}=ka[Ha];return da.map(pa=>pa[Fn.value.value])})},[Wn,Yn]=useMergedState("",{value:computed(()=>$n.searchValue),postState:$a=>$a||""}),Gn=($a,ka)=>{Yn($a),ka.source!=="blur"&&$n.onSearch&&$n.onSearch($a)},{showSearch:Go,searchConfig:Xn}=useSearchConfig(toRef($n,"showSearch")),Yo=useSearchOptions(Wn,Bn,Fn,computed(()=>$n.dropdownPrefixCls||$n.prefixCls),Xn,toRef($n,"changeOnSelect")),qo=useMissingValues(Bn,Fn,Dn),[Jo,Zo,rr]=[ref([]),ref([]),ref([])],{maxLevel:nr,levelEntities:ta}=useMaxLevel(Hn);watchEffect(()=>{const[$a,ka]=qo.value;if(!Rn.value||!Dn.value.length){[Jo.value,Zo.value,rr.value]=[$a,[],ka];return}const Ha=toPathKeys($a),da=Hn.value,{checkedKeys:pa,halfCheckedKeys:Sa}=conductCheck(Ha,!0,da,nr.value,ta.value);[Jo.value,Zo.value,rr.value]=[zn(pa),zn(Sa),ka]});const oa=computed(()=>{const $a=toPathKeys(Jo.value),ka=formatStrategyValues$1($a,Hn.value,$n.showCheckedStrategy);return[...rr.value,...zn(ka)]}),ra=useDisplayValues(oa,Bn,Fn,Rn,toRef($n,"displayRender")),ea=$a=>{if(Ln($a),$n.onChange){const ka=toRawValues($a),Ha=ka.map(Sa=>toPathOptions(Sa,Bn.value,Fn.value).map(Aa=>Aa.option)),da=Rn.value?ka:ka[0],pa=Rn.value?Ha:Ha[0];$n.onChange(da,pa)}},la=$a=>{if(Yn(""),!Rn.value)ea($a);else{const ka=toPathKey($a),Ha=toPathKeys(Jo.value),da=toPathKeys(Zo.value),pa=Ha.includes(ka),Sa=rr.value.some(Fa=>toPathKey(Fa)===ka);let Aa=Jo.value,Ra=rr.value;if(Sa&&!pa)Ra=rr.value.filter(Fa=>toPathKey(Fa)!==ka);else{const Fa=pa?Ha.filter(Ya=>Ya!==ka):[...Ha,ka];let za;pa?{checkedKeys:za}=conductCheck(Fa,{checked:!1,halfCheckedKeys:da},Hn.value,nr.value,ta.value):{checkedKeys:za}=conductCheck(Fa,!0,Hn.value,nr.value,ta.value);const Wa=formatStrategyValues$1(za,Hn.value,$n.showCheckedStrategy);Aa=zn(Wa)}ea([...Ra,...Aa])}},ua=($a,ka)=>{if(ka.type==="clear"){ea([]);return}const{valueCells:Ha}=ka.values[0];la(Ha)},ga=computed(()=>$n.open!==void 0?$n.open:$n.popupVisible),aa=computed(()=>$n.dropdownClassName||$n.popupClassName),ca=computed(()=>$n.dropdownStyle||$n.popupStyle||{}),sa=computed(()=>$n.placement||$n.popupPlacement),ia=$a=>{var ka,Ha;(ka=$n.onDropdownVisibleChange)===null||ka===void 0||ka.call($n,$a),(Ha=$n.onPopupVisibleChange)===null||Ha===void 0||Ha.call($n,$a)},{changeOnSelect:fa,checkable:ma,dropdownPrefixCls:ya,loadData:ba,expandTrigger:Ia,expandIcon:Ea,loadingIcon:xa,dropdownMenuColumnStyle:Ta,customSlots:wa}=toRefs($n);useProvideCascader({options:Bn,fieldNames:Fn,values:Jo,halfValues:Zo,changeOnSelect:fa,onSelect:la,checkable:ma,searchOptions:Yo,dropdownPrefixCls:ya,loadData:ba,expandTrigger:Ia,expandIcon:Ea,loadingIcon:xa,dropdownMenuColumnStyle:Ta,customSlots:wa});const La=ref();Pn({focus(){var $a;($a=La.value)===null||$a===void 0||$a.focus()},blur(){var $a;($a=La.value)===null||$a===void 0||$a.blur()},scrollTo($a){var ka;(ka=La.value)===null||ka===void 0||ka.scrollTo($a)}});const Na=computed(()=>omit$1($n,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const $a=!(Wn.value?Yo.value:Bn.value).length,{dropdownMatchSelectWidth:ka=!1}=$n,Ha=Wn.value&&Xn.value.matchInputWidth||$a?{}:{minWidth:"auto"};return createVNode(BaseSelect,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Na.value),_n),{},{ref:La,id:Nn,prefixCls:$n.prefixCls,dropdownMatchSelectWidth:ka,dropdownStyle:_extends$1(_extends$1({},ca.value),Ha),displayValues:ra.value,onDisplayValuesChange:ua,mode:Rn.value?"multiple":void 0,searchValue:Wn.value,onSearch:Gn,showSearch:Go.value,OptionList:OptionList$1,emptyOptions:$a,open:ga.value,dropdownClassName:aa.value,placement:sa.value,onDropdownVisibleChange:ia,getRawInputElement:()=>{var da;return(da=In.default)===null||da===void 0?void 0:da.call(In)}}),In)}}});var LeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const LeftOutlinedSvg=LeftOutlined$2;function _objectSpread$D($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$D($n,In,_n[In])})}return $n}function _defineProperty$D($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var LeftOutlined=function(Cn,_n){var Pn=_objectSpread$D({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$D({},Pn,{icon:LeftOutlinedSvg}),null)};LeftOutlined.displayName="LeftOutlined";LeftOutlined.inheritAttrs=!1;const LeftOutlined$1=LeftOutlined,canUseDocElement=()=>canUseDom$1()&&window.document.documentElement,isStyleNameSupport=$n=>{if(canUseDom$1()&&window.document.documentElement){const Cn=Array.isArray($n)?$n:[$n],{documentElement:_n}=window.document;return Cn.some(Pn=>Pn in _n.style)}return!1},isStyleValueSupport=($n,Cn)=>{if(!isStyleNameSupport($n))return!1;const _n=document.createElement("div"),Pn=_n.style[$n];return _n.style[$n]=Cn,_n.style[$n]!==Pn};function isStyleSupport($n,Cn){return!Array.isArray($n)&&Cn!==void 0?isStyleValueSupport($n,Cn):isStyleNameSupport($n)}let flexGapSupported;const detectFlexGapSupported=()=>{if(!canUseDocElement())return!1;if(flexGapSupported!==void 0)return flexGapSupported;const $n=document.createElement("div");return $n.style.display="flex",$n.style.flexDirection="column",$n.style.rowGap="1px",$n.appendChild(document.createElement("div")),$n.appendChild(document.createElement("div")),document.body.appendChild($n),flexGapSupported=$n.scrollHeight===1,document.body.removeChild($n),flexGapSupported},useFlexGapSupport=()=>{const $n=shallowRef(!1);return onMounted(()=>{$n.value=detectFlexGapSupported()}),$n},RowContextKey=Symbol("rowContextKey"),useProvideRow=$n=>{provide(RowContextKey,$n)},useInjectRow=()=>inject(RowContextKey,{gutter:computed(()=>{}),wrap:computed(()=>{}),supportFlexGap:computed(()=>{})}),genGridRowStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},genGridColStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{position:"relative",maxWidth:"100%",minHeight:1}}},genLoopGridColumnsStyle=($n,Cn)=>{const{componentCls:_n,gridColumns:Pn}=$n,In={};for(let Nn=Pn;Nn>=0;Nn--)Nn===0?(In[`${_n}${Cn}-${Nn}`]={display:"none"},In[`${_n}-push-${Nn}`]={insetInlineStart:"auto"},In[`${_n}-pull-${Nn}`]={insetInlineEnd:"auto"},In[`${_n}${Cn}-push-${Nn}`]={insetInlineStart:"auto"},In[`${_n}${Cn}-pull-${Nn}`]={insetInlineEnd:"auto"},In[`${_n}${Cn}-offset-${Nn}`]={marginInlineEnd:0},In[`${_n}${Cn}-order-${Nn}`]={order:0}):(In[`${_n}${Cn}-${Nn}`]={display:"block",flex:`0 0 ${Nn/Pn*100}%`,maxWidth:`${Nn/Pn*100}%`},In[`${_n}${Cn}-push-${Nn}`]={insetInlineStart:`${Nn/Pn*100}%`},In[`${_n}${Cn}-pull-${Nn}`]={insetInlineEnd:`${Nn/Pn*100}%`},In[`${_n}${Cn}-offset-${Nn}`]={marginInlineStart:`${Nn/Pn*100}%`},In[`${_n}${Cn}-order-${Nn}`]={order:Nn});return In},genGridStyle=($n,Cn)=>genLoopGridColumnsStyle($n,Cn),genGridMediaStyle=($n,Cn,_n)=>({[`@media (min-width: ${Cn}px)`]:_extends$1({},genGridStyle($n,_n))}),useRowStyle=genComponentStyleHook("Grid",$n=>[genGridRowStyle($n)]),useColStyle=genComponentStyleHook("Grid",$n=>{const Cn=merge$1($n,{gridColumns:24}),_n={"-sm":Cn.screenSMMin,"-md":Cn.screenMDMin,"-lg":Cn.screenLGMin,"-xl":Cn.screenXLMin,"-xxl":Cn.screenXXLMin};return[genGridColStyle(Cn),genGridStyle(Cn,""),genGridStyle(Cn,"-xs"),Object.keys(_n).map(Pn=>genGridMediaStyle(Cn,_n[Pn],Pn)).reduce((Pn,In)=>_extends$1(_extends$1({},Pn),In),{})]}),rowProps=()=>({align:someType([String,Object]),justify:someType([String,Object]),prefixCls:String,gutter:someType([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),ARow=defineComponent({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:rowProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("row",$n),[Rn,Dn]=useRowStyle(In);let Ln;const Fn=useResponsiveObserver(),Bn=ref({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),Hn=ref({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),zn=qo=>computed(()=>{if(typeof $n[qo]=="string")return $n[qo];if(typeof $n[qo]!="object")return"";for(let Jo=0;Jo<responsiveArray.length;Jo++){const Zo=responsiveArray[Jo];if(!Hn.value[Zo])continue;const rr=$n[qo][Zo];if(rr!==void 0)return rr}return""}),Wn=zn("align"),Yn=zn("justify"),Gn=useFlexGapSupport();onMounted(()=>{Ln=Fn.value.subscribe(qo=>{Hn.value=qo;const Jo=$n.gutter||0;(!Array.isArray(Jo)&&typeof Jo=="object"||Array.isArray(Jo)&&(typeof Jo[0]=="object"||typeof Jo[1]=="object"))&&(Bn.value=qo)})}),onBeforeUnmount(()=>{Fn.value.unsubscribe(Ln)});const Go=computed(()=>{const qo=[void 0,void 0],{gutter:Jo=0}=$n;return(Array.isArray(Jo)?Jo:[Jo,void 0]).forEach((rr,nr)=>{if(typeof rr=="object")for(let ta=0;ta<responsiveArray.length;ta++){const oa=responsiveArray[ta];if(Bn.value[oa]&&rr[oa]!==void 0){qo[nr]=rr[oa];break}}else qo[nr]=rr}),qo});useProvideRow({gutter:Go,supportFlexGap:Gn,wrap:computed(()=>$n.wrap)});const Xn=computed(()=>classNames(In.value,{[`${In.value}-no-wrap`]:$n.wrap===!1,[`${In.value}-${Yn.value}`]:Yn.value,[`${In.value}-${Wn.value}`]:Wn.value,[`${In.value}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value)),Yo=computed(()=>{const qo=Go.value,Jo={},Zo=qo[0]!=null&&qo[0]>0?`${qo[0]/-2}px`:void 0,rr=qo[1]!=null&&qo[1]>0?`${qo[1]/-2}px`:void 0;return Zo&&(Jo.marginLeft=Zo,Jo.marginRight=Zo),Gn.value?Jo.rowGap=`${qo[1]}px`:rr&&(Jo.marginTop=rr,Jo.marginBottom=rr),Jo});return()=>{var qo;return Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Xn.value,style:_extends$1(_extends$1({},Yo.value),Pn.style)}),[(qo=_n.default)===null||qo===void 0?void 0:qo.call(_n)]))}}}),Row$2=ARow;var define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn];for(var Pn in _n)Object.prototype.hasOwnProperty.call(_n,Pn)&&($n[Pn]=_n[Pn])}return $n},_extends.apply(this,arguments)}function _inheritsLoose($n,Cn){$n.prototype=Object.create(Cn.prototype),$n.prototype.constructor=$n,_setPrototypeOf($n,Cn)}function _getPrototypeOf($n){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_n){return _n.__proto__||Object.getPrototypeOf(_n)},_getPrototypeOf($n)}function _setPrototypeOf($n,Cn){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Pn,In){return Pn.__proto__=In,Pn},_setPrototypeOf($n,Cn)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct($n,Cn,_n){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(In,Nn,Rn){var Dn=[null];Dn.push.apply(Dn,Nn);var Ln=Function.bind.apply(In,Dn),Fn=new Ln;return Rn&&_setPrototypeOf(Fn,Rn.prototype),Fn},_construct.apply(null,arguments)}function _isNativeFunction($n){return Function.toString.call($n).indexOf("[native code]")!==-1}function _wrapNativeSuper($n){var Cn=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Pn){if(Pn===null||!_isNativeFunction(Pn))return Pn;if(typeof Pn!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Cn<"u"){if(Cn.has(Pn))return Cn.get(Pn);Cn.set(Pn,In)}function In(){return _construct(Pn,arguments,_getPrototypeOf(this).constructor)}return In.prototype=Object.create(Pn.prototype,{constructor:{value:In,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(In,Pn)},_wrapNativeSuper($n)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof process<"u";function convertFieldsError($n){if(!$n||!$n.length)return null;var Cn={};return $n.forEach(function(_n){var Pn=_n.field;Cn[Pn]=Cn[Pn]||[],Cn[Pn].push(_n)}),Cn}function format$3($n){for(var Cn=arguments.length,_n=new Array(Cn>1?Cn-1:0),Pn=1;Pn<Cn;Pn++)_n[Pn-1]=arguments[Pn];var In=0,Nn=_n.length;if(typeof $n=="function")return $n.apply(null,_n);if(typeof $n=="string"){var Rn=$n.replace(formatRegExp,function(Dn){if(Dn==="%%")return"%";if(In>=Nn)return Dn;switch(Dn){case"%s":return String(_n[In++]);case"%d":return Number(_n[In++]);case"%j":try{return JSON.stringify(_n[In++])}catch{return"[Circular]"}break;default:return Dn}});return Rn}return $n}function isNativeStringType($n){return $n==="string"||$n==="url"||$n==="hex"||$n==="email"||$n==="date"||$n==="pattern"}function isEmptyValue($n,Cn){return!!($n==null||Cn==="array"&&Array.isArray($n)&&!$n.length||isNativeStringType(Cn)&&typeof $n=="string"&&!$n)}function asyncParallelArray($n,Cn,_n){var Pn=[],In=0,Nn=$n.length;function Rn(Dn){Pn.push.apply(Pn,Dn||[]),In++,In===Nn&&_n(Pn)}$n.forEach(function(Dn){Cn(Dn,Rn)})}function asyncSerialArray($n,Cn,_n){var Pn=0,In=$n.length;function Nn(Rn){if(Rn&&Rn.length){_n(Rn);return}var Dn=Pn;Pn=Pn+1,Dn<In?Cn($n[Dn],Nn):_n([])}Nn([])}function flattenObjArr($n){var Cn=[];return Object.keys($n).forEach(function(_n){Cn.push.apply(Cn,$n[_n]||[])}),Cn}var AsyncValidationError=function($n){_inheritsLoose(Cn,$n);function Cn(_n,Pn){var In;return In=$n.call(this,"Async Validation Error")||this,In.errors=_n,In.fields=Pn,In}return Cn}(_wrapNativeSuper(Error));function asyncMap($n,Cn,_n,Pn,In){if(Cn.first){var Nn=new Promise(function(zn,Wn){var Yn=function(Xn){return Pn(Xn),Xn.length?Wn(new AsyncValidationError(Xn,convertFieldsError(Xn))):zn(In)},Gn=flattenObjArr($n);asyncSerialArray(Gn,_n,Yn)});return Nn.catch(function(zn){return zn}),Nn}var Rn=Cn.firstFields===!0?Object.keys($n):Cn.firstFields||[],Dn=Object.keys($n),Ln=Dn.length,Fn=0,Bn=[],Hn=new Promise(function(zn,Wn){var Yn=function(Go){if(Bn.push.apply(Bn,Go),Fn++,Fn===Ln)return Pn(Bn),Bn.length?Wn(new AsyncValidationError(Bn,convertFieldsError(Bn))):zn(In)};Dn.length||(Pn(Bn),zn(In)),Dn.forEach(function(Gn){var Go=$n[Gn];Rn.indexOf(Gn)!==-1?asyncSerialArray(Go,_n,Yn):asyncParallelArray(Go,_n,Yn)})});return Hn.catch(function(zn){return zn}),Hn}function isErrorObj($n){return!!($n&&$n.message!==void 0)}function getValue$1($n,Cn){for(var _n=$n,Pn=0;Pn<Cn.length;Pn++){if(_n==null)return _n;_n=_n[Cn[Pn]]}return _n}function complementError($n,Cn){return function(_n){var Pn;return $n.fullFields?Pn=getValue$1(Cn,$n.fullFields):Pn=Cn[_n.field||$n.fullField],isErrorObj(_n)?(_n.field=_n.field||$n.fullField,_n.fieldValue=Pn,_n):{message:typeof _n=="function"?_n():_n,fieldValue:Pn,field:_n.field||$n.fullField}}}function deepMerge($n,Cn){if(Cn){for(var _n in Cn)if(Cn.hasOwnProperty(_n)){var Pn=Cn[_n];typeof Pn=="object"&&typeof $n[_n]=="object"?$n[_n]=_extends({},$n[_n],Pn):$n[_n]=Pn}}return $n}var required$1=function(Cn,_n,Pn,In,Nn,Rn){Cn.required&&(!Pn.hasOwnProperty(Cn.field)||isEmptyValue(_n,Rn||Cn.type))&&In.push(format$3(Nn.messages.required,Cn.fullField))},whitespace=function(Cn,_n,Pn,In,Nn){(/^\s+$/.test(_n)||_n==="")&&In.push(format$3(Nn.messages.whitespace,Cn.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var $n="[a-fA-F\\d:]",Cn=function(Jo){return Jo&&Jo.includeBoundaries?"(?:(?<=\\s|^)(?="+$n+")|(?<="+$n+")(?=\\s|$))":""},_n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Pn="[a-fA-F\\d]{1,4}",In=(`
-(?:
-(?:`+Pn+":){7}(?:"+Pn+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
-(?:`+Pn+":){6}(?:"+_n+"|:"+Pn+`|:)| // 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
-(?:`+Pn+":){5}(?::"+_n+"|(?::"+Pn+`){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
-(?:`+Pn+":){4}(?:(?::"+Pn+"){0,1}:"+_n+"|(?::"+Pn+`){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
-(?:`+Pn+":){3}(?:(?::"+Pn+"){0,2}:"+_n+"|(?::"+Pn+`){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
-(?:`+Pn+":){2}(?:(?::"+Pn+"){0,3}:"+_n+"|(?::"+Pn+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
-(?:`+Pn+":){1}(?:(?::"+Pn+"){0,4}:"+_n+"|(?::"+Pn+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
-(?::(?:(?::`+Pn+"){0,5}:"+_n+"|(?::"+Pn+`){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(),Nn=new RegExp("(?:^"+_n+"$)|(?:^"+In+"$)"),Rn=new RegExp("^"+_n+"$"),Dn=new RegExp("^"+In+"$"),Ln=function(Jo){return Jo&&Jo.exact?Nn:new RegExp("(?:"+Cn(Jo)+_n+Cn(Jo)+")|(?:"+Cn(Jo)+In+Cn(Jo)+")","g")};Ln.v4=function(qo){return qo&&qo.exact?Rn:new RegExp(""+Cn(qo)+_n+Cn(qo),"g")},Ln.v6=function(qo){return qo&&qo.exact?Dn:new RegExp(""+Cn(qo)+In+Cn(qo),"g")};var Fn="(?:(?:[a-z]+:)?//)",Bn="(?:\\S+(?::\\S*)?@)?",Hn=Ln.v4().source,zn=Ln.v6().source,Wn="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Yn="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Gn="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Go="(?::\\d{2,5})?",Xn='(?:[/?#][^\\s"]*)?',Yo="(?:"+Fn+"|www\\.)"+Bn+"(?:localhost|"+Hn+"|"+zn+"|"+Wn+Yn+Gn+")"+Go+Xn;return urlReg=new RegExp("(?:^"+Yo+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function(Cn){return types.number(Cn)&&parseInt(Cn,10)===Cn},float:function(Cn){return types.number(Cn)&&!types.integer(Cn)},array:function(Cn){return Array.isArray(Cn)},regexp:function(Cn){if(Cn instanceof RegExp)return!0;try{return!!new RegExp(Cn)}catch{return!1}},date:function(Cn){return typeof Cn.getTime=="function"&&typeof Cn.getMonth=="function"&&typeof Cn.getYear=="function"&&!isNaN(Cn.getTime())},number:function(Cn){return isNaN(Cn)?!1:typeof Cn=="number"},object:function(Cn){return typeof Cn=="object"&&!types.array(Cn)},method:function(Cn){return typeof Cn=="function"},email:function(Cn){return typeof Cn=="string"&&Cn.length<=320&&!!Cn.match(pattern$2.email)},url:function(Cn){return typeof Cn=="string"&&Cn.length<=2048&&!!Cn.match(getUrlRegex())},hex:function(Cn){return typeof Cn=="string"&&!!Cn.match(pattern$2.hex)}},type$1=function(Cn,_n,Pn,In,Nn){if(Cn.required&&_n===void 0){required$1(Cn,_n,Pn,In,Nn);return}var Rn=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Dn=Cn.type;Rn.indexOf(Dn)>-1?types[Dn](_n)||In.push(format$3(Nn.messages.types[Dn],Cn.fullField,Cn.type)):Dn&&typeof _n!==Cn.type&&In.push(format$3(Nn.messages.types[Dn],Cn.fullField,Cn.type))},range=function(Cn,_n,Pn,In,Nn){var Rn=typeof Cn.len=="number",Dn=typeof Cn.min=="number",Ln=typeof Cn.max=="number",Fn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bn=_n,Hn=null,zn=typeof _n=="number",Wn=typeof _n=="string",Yn=Array.isArray(_n);if(zn?Hn="number":Wn?Hn="string":Yn&&(Hn="array"),!Hn)return!1;Yn&&(Bn=_n.length),Wn&&(Bn=_n.replace(Fn,"_").length),Rn?Bn!==Cn.len&&In.push(format$3(Nn.messages[Hn].len,Cn.fullField,Cn.len)):Dn&&!Ln&&Bn<Cn.min?In.push(format$3(Nn.messages[Hn].min,Cn.fullField,Cn.min)):Ln&&!Dn&&Bn>Cn.max?In.push(format$3(Nn.messages[Hn].max,Cn.fullField,Cn.max)):Dn&&Ln&&(Bn<Cn.min||Bn>Cn.max)&&In.push(format$3(Nn.messages[Hn].range,Cn.fullField,Cn.min,Cn.max))},ENUM$1="enum",enumerable$1=function(Cn,_n,Pn,In,Nn){Cn[ENUM$1]=Array.isArray(Cn[ENUM$1])?Cn[ENUM$1]:[],Cn[ENUM$1].indexOf(_n)===-1&&In.push(format$3(Nn.messages[ENUM$1],Cn.fullField,Cn[ENUM$1].join(", ")))},pattern$1=function(Cn,_n,Pn,In,Nn){if(Cn.pattern){if(Cn.pattern instanceof RegExp)Cn.pattern.lastIndex=0,Cn.pattern.test(_n)||In.push(format$3(Nn.messages.pattern.mismatch,Cn.fullField,_n,Cn.pattern));else if(typeof Cn.pattern=="string"){var Rn=new RegExp(Cn.pattern);Rn.test(_n)||In.push(format$3(Nn.messages.pattern.mismatch,Cn.fullField,_n,Cn.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n,"string")&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn,"string"),isEmptyValue(_n,"string")||(rules.type(Cn,_n,In,Rn,Nn),rules.range(Cn,_n,In,Rn,Nn),rules.pattern(Cn,_n,In,Rn,Nn),Cn.whitespace===!0&&rules.whitespace(Cn,_n,In,Rn,Nn))}Pn(Rn)},method2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&rules.type(Cn,_n,In,Rn,Nn)}Pn(Rn)},number2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(_n===""&&(_n=void 0),isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&(rules.type(Cn,_n,In,Rn,Nn),rules.range(Cn,_n,In,Rn,Nn))}Pn(Rn)},_boolean=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&rules.type(Cn,_n,In,Rn,Nn)}Pn(Rn)},regexp2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),isEmptyValue(_n)||rules.type(Cn,_n,In,Rn,Nn)}Pn(Rn)},integer2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&(rules.type(Cn,_n,In,Rn,Nn),rules.range(Cn,_n,In,Rn,Nn))}Pn(Rn)},floatFn=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&(rules.type(Cn,_n,In,Rn,Nn),rules.range(Cn,_n,In,Rn,Nn))}Pn(Rn)},array2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(_n==null&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn,"array"),_n!=null&&(rules.type(Cn,_n,In,Rn,Nn),rules.range(Cn,_n,In,Rn,Nn))}Pn(Rn)},object2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&rules.type(Cn,_n,In,Rn,Nn)}Pn(Rn)},ENUM="enum",enumerable2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),_n!==void 0&&rules[ENUM](Cn,_n,In,Rn,Nn)}Pn(Rn)},pattern2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n,"string")&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn),isEmptyValue(_n,"string")||rules.pattern(Cn,_n,In,Rn,Nn)}Pn(Rn)},date2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n,"date")&&!Cn.required)return Pn();if(rules.required(Cn,_n,In,Rn,Nn),!isEmptyValue(_n,"date")){var Ln;_n instanceof Date?Ln=_n:Ln=new Date(_n),rules.type(Cn,Ln,In,Rn,Nn),Ln&&rules.range(Cn,Ln.getTime(),In,Rn,Nn)}}Pn(Rn)},required2=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Array.isArray(_n)?"array":typeof _n;rules.required(Cn,_n,In,Rn,Nn,Dn),Pn(Rn)},type2=function(Cn,_n,Pn,In,Nn){var Rn=Cn.type,Dn=[],Ln=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Ln){if(isEmptyValue(_n,Rn)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Dn,Nn,Rn),isEmptyValue(_n,Rn)||rules.type(Cn,_n,In,Dn,Nn)}Pn(Dn)},any=function(Cn,_n,Pn,In,Nn){var Rn=[],Dn=Cn.required||!Cn.required&&In.hasOwnProperty(Cn.field);if(Dn){if(isEmptyValue(_n)&&!Cn.required)return Pn();rules.required(Cn,_n,In,Rn,Nn)}Pn(Rn)},validators={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var Cn=JSON.parse(JSON.stringify(this));return Cn.clone=this.clone,Cn}}}var messages$1=newMessages(),Schema=function(){function $n(_n){this.rules=null,this._messages=messages$1,this.define(_n)}var Cn=$n.prototype;return Cn.define=function(Pn){var In=this;if(!Pn)throw new Error("Cannot configure a schema with no rules");if(typeof Pn!="object"||Array.isArray(Pn))throw new Error("Rules must be an object");this.rules={},Object.keys(Pn).forEach(function(Nn){var Rn=Pn[Nn];In.rules[Nn]=Array.isArray(Rn)?Rn:[Rn]})},Cn.messages=function(Pn){return Pn&&(this._messages=deepMerge(newMessages(),Pn)),this._messages},Cn.validate=function(Pn,In,Nn){var Rn=this;In===void 0&&(In={}),Nn===void 0&&(Nn=function(){});var Dn=Pn,Ln=In,Fn=Nn;if(typeof Ln=="function"&&(Fn=Ln,Ln={}),!this.rules||Object.keys(this.rules).length===0)return Fn&&Fn(null,Dn),Promise.resolve(Dn);function Bn(Gn){var Go=[],Xn={};function Yo(Jo){if(Array.isArray(Jo)){var Zo;Go=(Zo=Go).concat.apply(Zo,Jo)}else Go.push(Jo)}for(var qo=0;qo<Gn.length;qo++)Yo(Gn[qo]);Go.length?(Xn=convertFieldsError(Go),Fn(Go,Xn)):Fn(null,Dn)}if(Ln.messages){var Hn=this.messages();Hn===messages$1&&(Hn=newMessages()),deepMerge(Hn,Ln.messages),Ln.messages=Hn}else Ln.messages=this.messages();var zn={},Wn=Ln.keys||Object.keys(this.rules);Wn.forEach(function(Gn){var Go=Rn.rules[Gn],Xn=Dn[Gn];Go.forEach(function(Yo){var qo=Yo;typeof qo.transform=="function"&&(Dn===Pn&&(Dn=_extends({},Dn)),Xn=Dn[Gn]=qo.transform(Xn)),typeof qo=="function"?qo={validator:qo}:qo=_extends({},qo),qo.validator=Rn.getValidationMethod(qo),qo.validator&&(qo.field=Gn,qo.fullField=qo.fullField||Gn,qo.type=Rn.getType(qo),zn[Gn]=zn[Gn]||[],zn[Gn].push({rule:qo,value:Xn,source:Dn,field:Gn}))})});var Yn={};return asyncMap(zn,Ln,function(Gn,Go){var Xn=Gn.rule,Yo=(Xn.type==="object"||Xn.type==="array")&&(typeof Xn.fields=="object"||typeof Xn.defaultField=="object");Yo=Yo&&(Xn.required||!Xn.required&&Gn.value),Xn.field=Gn.field;function qo(rr,nr){return _extends({},nr,{fullField:Xn.fullField+"."+rr,fullFields:Xn.fullFields?[].concat(Xn.fullFields,[rr]):[rr]})}function Jo(rr){rr===void 0&&(rr=[]);var nr=Array.isArray(rr)?rr:[rr];!Ln.suppressWarning&&nr.length&&$n.warning("async-validator:",nr),nr.length&&Xn.message!==void 0&&(nr=[].concat(Xn.message));var ta=nr.map(complementError(Xn,Dn));if(Ln.first&&ta.length)return Yn[Xn.field]=1,Go(ta);if(!Yo)Go(ta);else{if(Xn.required&&!Gn.value)return Xn.message!==void 0?ta=[].concat(Xn.message).map(complementError(Xn,Dn)):Ln.error&&(ta=[Ln.error(Xn,format$3(Ln.messages.required,Xn.field))]),Go(ta);var oa={};Xn.defaultField&&Object.keys(Gn.value).map(function(la){oa[la]=Xn.defaultField}),oa=_extends({},oa,Gn.rule.fields);var ra={};Object.keys(oa).forEach(function(la){var ua=oa[la],ga=Array.isArray(ua)?ua:[ua];ra[la]=ga.map(qo.bind(null,la))});var ea=new $n(ra);ea.messages(Ln.messages),Gn.rule.options&&(Gn.rule.options.messages=Ln.messages,Gn.rule.options.error=Ln.error),ea.validate(Gn.value,Gn.rule.options||Ln,function(la){var ua=[];ta&&ta.length&&ua.push.apply(ua,ta),la&&la.length&&ua.push.apply(ua,la),Go(ua.length?ua:null)})}}var Zo;if(Xn.asyncValidator)Zo=Xn.asyncValidator(Xn,Gn.value,Jo,Gn.source,Ln);else if(Xn.validator){try{Zo=Xn.validator(Xn,Gn.value,Jo,Gn.source,Ln)}catch(rr){console.error==null||console.error(rr),Ln.suppressValidatorError||setTimeout(function(){throw rr},0),Jo(rr.message)}Zo===!0?Jo():Zo===!1?Jo(typeof Xn.message=="function"?Xn.message(Xn.fullField||Xn.field):Xn.message||(Xn.fullField||Xn.field)+" fails"):Zo instanceof Array?Jo(Zo):Zo instanceof Error&&Jo(Zo.message)}Zo&&Zo.then&&Zo.then(function(){return Jo()},function(rr){return Jo(rr)})},function(Gn){Bn(Gn)},Dn)},Cn.getType=function(Pn){if(Pn.type===void 0&&Pn.pattern instanceof RegExp&&(Pn.type="pattern"),typeof Pn.validator!="function"&&Pn.type&&!validators.hasOwnProperty(Pn.type))throw new Error(format$3("Unknown rule type %s",Pn.type));return Pn.type||"string"},Cn.getValidationMethod=function(Pn){if(typeof Pn.validator=="function")return Pn.validator;var In=Object.keys(Pn),Nn=In.indexOf("message");return Nn!==-1&&In.splice(Nn,1),In.length===1&&In[0]==="required"?validators.required:validators[this.getType(Pn)]||void 0},$n}();Schema.register=function(Cn,_n){if(typeof _n!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators[Cn]=_n};Schema.warning=warning;Schema.messages=messages$1;Schema.validators=validators;function toArray$5($n){return $n==null?[]:Array.isArray($n)?$n:[$n]}function get($n,Cn){let _n=$n;for(let Pn=0;Pn<Cn.length;Pn+=1){if(_n==null)return;_n=_n[Cn[Pn]]}return _n}function internalSet($n,Cn,_n,Pn){if(!Cn.length)return _n;const[In,...Nn]=Cn;let Rn;return!$n&&typeof In=="number"?Rn=[]:Array.isArray($n)?Rn=[...$n]:Rn=_extends$1({},$n),Pn&&_n===void 0&&Nn.length===1?delete Rn[In][Nn[0]]:Rn[In]=internalSet(Rn[In],Nn,_n,Pn),Rn}function set($n,Cn,_n){let Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Cn.length&&Pn&&_n===void 0&&!get($n,Cn.slice(0,-1))?$n:internalSet($n,Cn,_n,Pn)}function getNamePath($n){return toArray$5($n)}function getValue($n,Cn){return get($n,Cn)}function setValue($n,Cn,_n){let Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return set($n,Cn,_n,Pn)}function containsNamePath($n,Cn){return $n&&$n.some(_n=>matchNamePath(_n,Cn))}function isObject$4($n){return typeof $n=="object"&&$n!==null&&Object.getPrototypeOf($n)===Object.prototype}function internalSetValues($n,Cn){const _n=Array.isArray($n)?[...$n]:_extends$1({},$n);return Cn&&Object.keys(Cn).forEach(Pn=>{const In=_n[Pn],Nn=Cn[Pn],Rn=isObject$4(In)&&isObject$4(Nn);_n[Pn]=Rn?internalSetValues(In,Nn||{}):Nn}),_n}function setValues($n){for(var Cn=arguments.length,_n=new Array(Cn>1?Cn-1:0),Pn=1;Pn<Cn;Pn++)_n[Pn-1]=arguments[Pn];return _n.reduce((In,Nn)=>internalSetValues(In,Nn),$n)}function cloneByNamePathList($n,Cn){let _n={};return Cn.forEach(Pn=>{const In=getValue($n,Pn);_n=setValue(_n,Pn,In)}),_n}function matchNamePath($n,Cn){return!$n||!Cn||$n.length!==Cn.length?!1:$n.every((_n,Pn)=>Cn[Pn]===_n)}const typeTemplate$1="'${name}' is not a valid ${type}",defaultValidateMessages={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:typeTemplate$1,method:typeTemplate$1,array:typeTemplate$1,object:typeTemplate$1,number:typeTemplate$1,date:typeTemplate$1,boolean:typeTemplate$1,integer:typeTemplate$1,float:typeTemplate$1,regexp:typeTemplate$1,email:typeTemplate$1,url:typeTemplate$1,hex:typeTemplate$1},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var __awaiter$2=function($n,Cn,_n,Pn){function In(Nn){return Nn instanceof _n?Nn:new _n(function(Rn){Rn(Nn)})}return new(_n||(_n=Promise))(function(Nn,Rn){function Dn(Bn){try{Fn(Pn.next(Bn))}catch(Hn){Rn(Hn)}}function Ln(Bn){try{Fn(Pn.throw(Bn))}catch(Hn){Rn(Hn)}}function Fn(Bn){Bn.done?Nn(Bn.value):In(Bn.value).then(Dn,Ln)}Fn((Pn=Pn.apply($n,Cn||[])).next())})};const AsyncValidator=Schema;function replaceMessage($n,Cn){return $n.replace(/\$\{\w+\}/g,_n=>{const Pn=_n.slice(2,-1);return Cn[Pn]})}function validateRule($n,Cn,_n,Pn,In){return __awaiter$2(this,void 0,void 0,function*(){const Nn=_extends$1({},_n);delete Nn.ruleIndex,delete Nn.trigger;let Rn=null;Nn&&Nn.type==="array"&&Nn.defaultField&&(Rn=Nn.defaultField,delete Nn.defaultField);const Dn=new AsyncValidator({[$n]:[Nn]}),Ln=setValues({},defaultValidateMessages,Pn.validateMessages);Dn.messages(Ln);let Fn=[];try{yield Promise.resolve(Dn.validate({[$n]:Cn},_extends$1({},Pn)))}catch(zn){zn.errors?Fn=zn.errors.map((Wn,Yn)=>{let{message:Gn}=Wn;return isValidElement(Gn)?cloneVNode(Gn,{key:`error_${Yn}`}):Gn}):(console.error(zn),Fn=[Ln.default()])}if(!Fn.length&&Rn)return(yield Promise.all(Cn.map((Wn,Yn)=>validateRule(`${$n}.${Yn}`,Wn,Rn,Pn,In)))).reduce((Wn,Yn)=>[...Wn,...Yn],[]);const Bn=_extends$1(_extends$1(_extends$1({},_n),{name:$n,enum:(_n.enum||[]).join(", ")}),In);return Fn.map(zn=>typeof zn=="string"?replaceMessage(zn,Bn):zn)})}function validateRules($n,Cn,_n,Pn,In,Nn){const Rn=$n.join("."),Dn=_n.map((Fn,Bn)=>{const Hn=Fn.validator,zn=_extends$1(_extends$1({},Fn),{ruleIndex:Bn});return Hn&&(zn.validator=(Wn,Yn,Gn)=>{let Go=!1;const Yo=Hn(Wn,Yn,function(){for(var qo=arguments.length,Jo=new Array(qo),Zo=0;Zo<qo;Zo++)Jo[Zo]=arguments[Zo];Promise.resolve().then(()=>{Go||Gn(...Jo)})});Go=Yo&&typeof Yo.then=="function"&&typeof Yo.catch=="function",Go&&Yo.then(()=>{Gn()}).catch(qo=>{Gn(qo||" ")})}),zn}).sort((Fn,Bn)=>{let{warningOnly:Hn,ruleIndex:zn}=Fn,{warningOnly:Wn,ruleIndex:Yn}=Bn;return!!Hn==!!Wn?zn-Yn:Hn?1:-1});let Ln;if(In===!0)Ln=new Promise((Fn,Bn)=>__awaiter$2(this,void 0,void 0,function*(){for(let Hn=0;Hn<Dn.length;Hn+=1){const zn=Dn[Hn],Wn=yield validateRule(Rn,Cn,zn,Pn,Nn);if(Wn.length){Bn([{errors:Wn,rule:zn}]);return}}Fn([])}));else{const Fn=Dn.map(Bn=>validateRule(Rn,Cn,Bn,Pn,Nn).then(Hn=>({errors:Hn,rule:Bn})));Ln=(In?finishOnFirstFailed(Fn):finishOnAllFailed(Fn)).then(Bn=>Promise.reject(Bn))}return Ln.catch(Fn=>Fn),Ln}function finishOnAllFailed($n){return __awaiter$2(this,void 0,void 0,function*(){return Promise.all($n).then(Cn=>[].concat(...Cn))})}function finishOnFirstFailed($n){return __awaiter$2(this,void 0,void 0,function*(){let Cn=0;return new Promise(_n=>{$n.forEach(Pn=>{Pn.then(In=>{In.errors.length&&_n([In]),Cn+=1,Cn===$n.length&&_n([])})})})})}const FormContextKey=Symbol("formContextKey"),useProvideForm=$n=>{provide(FormContextKey,$n)},useInjectForm=()=>inject(FormContextKey,{name:computed(()=>{}),labelAlign:computed(()=>"right"),vertical:computed(()=>!1),addField:($n,Cn)=>{},removeField:$n=>{},model:computed(()=>{}),rules:computed(()=>{}),colon:computed(()=>{}),labelWrap:computed(()=>{}),labelCol:computed(()=>{}),requiredMark:computed(()=>!1),validateTrigger:computed(()=>{}),onValidate:()=>{},validateMessages:computed(()=>defaultValidateMessages)}),FormItemPrefixContextKey=Symbol("formItemPrefixContextKey"),useProvideFormItemPrefix=$n=>{provide(FormItemPrefixContextKey,$n)},useInjectFormItemPrefix=()=>inject(FormItemPrefixContextKey,{prefixCls:computed(()=>"")});function parseFlex($n){return typeof $n=="number"?`${$n} ${$n} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test($n)?`0 0 ${$n}`:$n}const colProps=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),sizes=["xs","sm","md","lg","xl","xxl"],Col=defineComponent({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:colProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{gutter:In,supportFlexGap:Nn,wrap:Rn}=useInjectRow(),{prefixCls:Dn,direction:Ln}=useConfigInject("col",$n),[Fn,Bn]=useColStyle(Dn),Hn=computed(()=>{const{span:Wn,order:Yn,offset:Gn,push:Go,pull:Xn}=$n,Yo=Dn.value;let qo={};return sizes.forEach(Jo=>{let Zo={};const rr=$n[Jo];typeof rr=="number"?Zo.span=rr:typeof rr=="object"&&(Zo=rr||{}),qo=_extends$1(_extends$1({},qo),{[`${Yo}-${Jo}-${Zo.span}`]:Zo.span!==void 0,[`${Yo}-${Jo}-order-${Zo.order}`]:Zo.order||Zo.order===0,[`${Yo}-${Jo}-offset-${Zo.offset}`]:Zo.offset||Zo.offset===0,[`${Yo}-${Jo}-push-${Zo.push}`]:Zo.push||Zo.push===0,[`${Yo}-${Jo}-pull-${Zo.pull}`]:Zo.pull||Zo.pull===0,[`${Yo}-rtl`]:Ln.value==="rtl"})}),classNames(Yo,{[`${Yo}-${Wn}`]:Wn!==void 0,[`${Yo}-order-${Yn}`]:Yn,[`${Yo}-offset-${Gn}`]:Gn,[`${Yo}-push-${Go}`]:Go,[`${Yo}-pull-${Xn}`]:Xn},qo,Pn.class,Bn.value)}),zn=computed(()=>{const{flex:Wn}=$n,Yn=In.value,Gn={};if(Yn&&Yn[0]>0){const Go=`${Yn[0]/2}px`;Gn.paddingLeft=Go,Gn.paddingRight=Go}if(Yn&&Yn[1]>0&&!Nn.value){const Go=`${Yn[1]/2}px`;Gn.paddingTop=Go,Gn.paddingBottom=Go}return Wn&&(Gn.flex=parseFlex(Wn),Rn.value===!1&&!Gn.minWidth&&(Gn.minWidth=0)),Gn});return()=>{var Wn;return Fn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Hn.value,style:[zn.value,Pn.style]}),[(Wn=_n.default)===null||Wn===void 0?void 0:Wn.call(_n)]))}}});var QuestionCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const QuestionCircleOutlinedSvg=QuestionCircleOutlined$2;function _objectSpread$C($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$C($n,In,_n[In])})}return $n}function _defineProperty$C($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var QuestionCircleOutlined=function(Cn,_n){var Pn=_objectSpread$C({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$C({},Pn,{icon:QuestionCircleOutlinedSvg}),null)};QuestionCircleOutlined.displayName="QuestionCircleOutlined";QuestionCircleOutlined.inheritAttrs=!1;const QuestionCircleOutlined$1=QuestionCircleOutlined,FormItemLabel=($n,Cn)=>{let{slots:_n,emit:Pn,attrs:In}=Cn;var Nn,Rn,Dn,Ln,Fn;const{prefixCls:Bn,htmlFor:Hn,labelCol:zn,labelAlign:Wn,colon:Yn,required:Gn,requiredMark:Go}=_extends$1(_extends$1({},$n),In),[Xn]=useLocaleReceiver("Form"),Yo=(Nn=$n.label)!==null&&Nn!==void 0?Nn:(Rn=_n.label)===null||Rn===void 0?void 0:Rn.call(_n);if(!Yo)return null;const{vertical:qo,labelAlign:Jo,labelCol:Zo,labelWrap:rr,colon:nr}=useInjectForm(),ta=zn||(Zo==null?void 0:Zo.value)||{},oa=Wn||(Jo==null?void 0:Jo.value),ra=`${Bn}-item-label`,ea=classNames(ra,oa==="left"&&`${ra}-left`,ta.class,{[`${ra}-wrap`]:!!rr.value});let la=Yo;const ua=Yn===!0||(nr==null?void 0:nr.value)!==!1&&Yn!==!1;if(ua&&!qo.value&&typeof Yo=="string"&&Yo.trim()!==""&&(la=Yo.replace(/[:|:]\s*$/,"")),$n.tooltip||_n.tooltip){const ca=createVNode("span",{class:`${Bn}-item-tooltip`},[createVNode(Tooltip,{title:$n.tooltip},{default:()=>[createVNode(QuestionCircleOutlined$1,null,null)]})]);la=createVNode(Fragment,null,[la,_n.tooltip?(Dn=_n.tooltip)===null||Dn===void 0?void 0:Dn.call(_n,{class:`${Bn}-item-tooltip`}):ca])}Go==="optional"&&!Gn&&(la=createVNode(Fragment,null,[la,createVNode("span",{class:`${Bn}-item-optional`},[((Ln=Xn.value)===null||Ln===void 0?void 0:Ln.optional)||((Fn=localeValues$1.Form)===null||Fn===void 0?void 0:Fn.optional)])]));const aa=classNames({[`${Bn}-item-required`]:Gn,[`${Bn}-item-required-mark-optional`]:Go==="optional",[`${Bn}-item-no-colon`]:!ua});return createVNode(Col,_objectSpread2$1(_objectSpread2$1({},ta),{},{class:ea}),{default:()=>[createVNode("label",{for:Hn,class:aa,title:typeof Yo=="string"?Yo:"",onClick:ca=>Pn("click",ca)},[la])]})};FormItemLabel.displayName="FormItemLabel";FormItemLabel.inheritAttrs=!1;const FormItemLabel$1=FormItemLabel,genFormValidateMotionStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-show-help`,Pn=`${Cn}-show-help-item`;return{[_n]:{transition:`opacity ${$n.motionDurationSlow} ${$n.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Pn]:{overflow:"hidden",transition:`height ${$n.motionDurationSlow} ${$n.motionEaseInOut},
- opacity ${$n.motionDurationSlow} ${$n.motionEaseInOut},
- transform ${$n.motionDurationSlow} ${$n.motionEaseInOut} !important`,[`&${Pn}-appear, &${Pn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Pn}-leave-active`]:{transform:"translateY(-5px)"}}}}},genFormValidateMotionStyle$1=genFormValidateMotionStyle,resetForm=$n=>({legend:{display:"block",width:"100%",marginBottom:$n.marginLG,padding:0,color:$n.colorTextDescription,fontSize:$n.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`},label:{fontSize:$n.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${$n.controlOutlineWidth}px ${$n.controlOutline}`},output:{display:"block",paddingTop:15,color:$n.colorText,fontSize:$n.fontSize,lineHeight:$n.lineHeight}}),genFormSize=($n,Cn)=>{const{formItemCls:_n}=$n;return{[_n]:{[`${_n}-label > label`]:{height:Cn},[`${_n}-control-input`]:{minHeight:Cn}}}},genFormStyle=$n=>{const{componentCls:Cn}=$n;return{[$n.componentCls]:_extends$1(_extends$1(_extends$1({},resetComponent($n)),resetForm($n)),{[`${Cn}-text`]:{display:"inline-block",paddingInlineEnd:$n.paddingSM},"&-small":_extends$1({},genFormSize($n,$n.controlHeightSM)),"&-large":_extends$1({},genFormSize($n,$n.controlHeightLG))})}},genFormItemStyle=$n=>{const{formItemCls:Cn,iconCls:_n,componentCls:Pn,rootPrefixCls:In}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{marginBottom:$n.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
- &-hidden.${In}-row`]:{display:"none"},"&-has-warning":{[`${Cn}-split`]:{color:$n.colorError}},"&-has-error":{[`${Cn}-split`]:{color:$n.colorWarning}},[`${Cn}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${$n.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:$n.controlHeight,color:$n.colorTextHeading,fontSize:$n.fontSize,[`> ${_n}`]:{fontSize:$n.fontSize,verticalAlign:"top"},[`&${Cn}-required:not(${Cn}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:$n.marginXXS,color:$n.colorError,fontSize:$n.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Pn}-hide-required-mark &`]:{display:"none"}},[`${Cn}-optional`]:{display:"inline-block",marginInlineStart:$n.marginXXS,color:$n.colorTextDescription,[`${Pn}-hide-required-mark &`]:{display:"none"}},[`${Cn}-tooltip`]:{color:$n.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:$n.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:$n.marginXXS/2,marginInlineEnd:$n.marginXS},[`&${Cn}-no-colon::after`]:{content:'" "'}}},[`${Cn}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${In}-col-'"]):not([class*="' ${In}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:$n.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Cn]:{"&-explain, &-extra":{clear:"both",color:$n.colorTextDescription,fontSize:$n.fontSize,lineHeight:$n.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:$n.controlHeightSM,transition:`color ${$n.motionDurationMid} ${$n.motionEaseOut}`},"&-explain":{"&-error":{color:$n.colorError},"&-warning":{color:$n.colorWarning}}},[`&-with-help ${Cn}-explain`]:{height:"auto",opacity:1},[`${Cn}-feedback-icon`]:{fontSize:$n.fontSize,textAlign:"center",visibility:"visible",animationName:zoomIn,animationDuration:$n.motionDurationMid,animationTimingFunction:$n.motionEaseOutBack,pointerEvents:"none","&-success":{color:$n.colorSuccess},"&-error":{color:$n.colorError},"&-warning":{color:$n.colorWarning},"&-validating":{color:$n.colorPrimary}}})}},genHorizontalStyle$1=$n=>{const{componentCls:Cn,formItemCls:_n,rootPrefixCls:Pn}=$n;return{[`${Cn}-horizontal`]:{[`${_n}-label`]:{flexGrow:0},[`${_n}-control`]:{flex:"1 1 0",minWidth:0},[`${_n}-label.${Pn}-col-24 + ${_n}-control`]:{minWidth:"unset"}}}},genInlineStyle=$n=>{const{componentCls:Cn,formItemCls:_n}=$n;return{[`${Cn}-inline`]:{display:"flex",flexWrap:"wrap",[_n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:$n.margin,marginBottom:0,"&-with-help":{marginBottom:$n.marginLG},[`> ${_n}-label,
- > ${_n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${_n}-label`]:{flex:"none"},[`${Cn}-text`]:{display:"inline-block"},[`${_n}-has-feedback`]:{display:"inline-block"}}}}},makeVerticalLayoutLabel=$n=>({margin:0,padding:`0 0 ${$n.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),makeVerticalLayout=$n=>{const{componentCls:Cn,formItemCls:_n}=$n;return{[`${_n} ${_n}-label`]:makeVerticalLayoutLabel($n),[Cn]:{[_n]:{flexWrap:"wrap",[`${_n}-label,
- ${_n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},genVerticalStyle$1=$n=>{const{componentCls:Cn,formItemCls:_n,rootPrefixCls:Pn}=$n;return{[`${Cn}-vertical`]:{[_n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Cn}-item-control`]:{width:"100%"}}},[`${Cn}-vertical ${_n}-label,
- .${Pn}-col-24${_n}-label,
- .${Pn}-col-xl-24${_n}-label`]:makeVerticalLayoutLabel($n),[`@media (max-width: ${$n.screenXSMax}px)`]:[makeVerticalLayout($n),{[Cn]:{[`.${Pn}-col-xs-24${_n}-label`]:makeVerticalLayoutLabel($n)}}],[`@media (max-width: ${$n.screenSMMax}px)`]:{[Cn]:{[`.${Pn}-col-sm-24${_n}-label`]:makeVerticalLayoutLabel($n)}},[`@media (max-width: ${$n.screenMDMax}px)`]:{[Cn]:{[`.${Pn}-col-md-24${_n}-label`]:makeVerticalLayoutLabel($n)}},[`@media (max-width: ${$n.screenLGMax}px)`]:{[Cn]:{[`.${Pn}-col-lg-24${_n}-label`]:makeVerticalLayoutLabel($n)}}}},useStyle$C=genComponentStyleHook("Form",($n,Cn)=>{let{rootPrefixCls:_n}=Cn;const Pn=merge$1($n,{formItemCls:`${$n.componentCls}-item`,rootPrefixCls:_n});return[genFormStyle(Pn),genFormItemStyle(Pn),genFormValidateMotionStyle$1(Pn),genHorizontalStyle$1(Pn),genInlineStyle(Pn),genVerticalStyle$1(Pn),genCollapseMotion$1(Pn),zoomIn]}),ErrorList=defineComponent({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup($n,Cn){let{attrs:_n}=Cn;const{prefixCls:Pn,status:In}=useInjectFormItemPrefix(),Nn=computed(()=>`${Pn.value}-item-explain`),Rn=computed(()=>!!($n.errors&&$n.errors.length)),Dn=ref(In.value),[,Ln]=useStyle$C(Pn);return watch([Rn,In],()=>{Rn.value&&(Dn.value=In.value)}),()=>{var Fn,Bn;const Hn=collapseMotion$1(`${Pn.value}-show-help-item`),zn=getTransitionGroupProps(`${Pn.value}-show-help-item`,Hn);return zn.role="alert",zn.class=[Ln.value,Nn.value,_n.class,`${Pn.value}-show-help`],createVNode(Transition,_objectSpread2$1(_objectSpread2$1({},getTransitionProps(`${Pn.value}-show-help`)),{},{onAfterEnter:()=>$n.onErrorVisibleChanged(!0),onAfterLeave:()=>$n.onErrorVisibleChanged(!1)}),{default:()=>[withDirectives(createVNode(TransitionGroup,_objectSpread2$1(_objectSpread2$1({},zn),{},{tag:"div"}),{default:()=>[(Bn=$n.errors)===null||Bn===void 0?void 0:Bn.map((Wn,Yn)=>createVNode("div",{key:Yn,class:Dn.value?`${Nn.value}-${Dn.value}`:""},[Wn]))]}),[[vShow,!!(!((Fn=$n.errors)===null||Fn===void 0)&&Fn.length)]])]})}}}),FormItemInput=defineComponent({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectForm(),{wrapperCol:In}=Pn,Nn=_extends$1({},Pn);return delete Nn.labelCol,delete Nn.wrapperCol,useProvideForm(Nn),useProvideFormItemPrefix({prefixCls:computed(()=>$n.prefixCls),status:computed(()=>$n.status)}),()=>{var Rn,Dn,Ln;const{prefixCls:Fn,wrapperCol:Bn,marginBottom:Hn,onErrorVisibleChanged:zn,help:Wn=(Rn=_n.help)===null||Rn===void 0?void 0:Rn.call(_n),errors:Yn=filterEmpty((Dn=_n.errors)===null||Dn===void 0?void 0:Dn.call(_n)),extra:Gn=(Ln=_n.extra)===null||Ln===void 0?void 0:Ln.call(_n)}=$n,Go=`${Fn}-item`,Xn=Bn||(In==null?void 0:In.value)||{},Yo=classNames(`${Go}-control`,Xn.class);return createVNode(Col,_objectSpread2$1(_objectSpread2$1({},Xn),{},{class:Yo}),{default:()=>{var qo;return createVNode(Fragment,null,[createVNode("div",{class:`${Go}-control-input`},[createVNode("div",{class:`${Go}-control-input-content`},[(qo=_n.default)===null||qo===void 0?void 0:qo.call(_n)])]),Hn!==null||Yn.length?createVNode("div",{style:{display:"flex",flexWrap:"nowrap"}},[createVNode(ErrorList,{errors:Yn,help:Wn,class:`${Go}-explain-connected`,onErrorVisibleChanged:zn},null),!!Hn&&createVNode("div",{style:{width:0,height:`${Hn}px`}},null)]):null,Gn?createVNode("div",{class:`${Go}-extra`},[Gn]):null])}})}}}),FormItemInput$1=FormItemInput;function useDebounce($n){const Cn=shallowRef($n.value.slice());let _n=null;return watchEffect(()=>{clearTimeout(_n),_n=setTimeout(()=>{Cn.value=$n.value},$n.value.length?0:10)}),Cn}tuple$1("success","warning","error","validating","");const iconMap={success:CheckCircleFilled$1,warning:ExclamationCircleFilled$1,error:CloseCircleFilled$1,validating:LoadingOutlined$1};function getPropByPath$1($n,Cn,_n){let Pn=$n;const In=Cn;let Nn=0;try{for(let Rn=In.length;Nn<Rn-1&&!(!Pn&&!_n);++Nn){const Dn=In[Nn];if(Dn in Pn)Pn=Pn[Dn];else{if(_n)throw Error("please transfer a valid name path to form item!");break}}if(_n&&!Pn)throw Error("please transfer a valid name path to form item!")}catch{console.error("please transfer a valid name path to form item!")}return{o:Pn,k:In[Nn],v:Pn?Pn[In[Nn]]:void 0}}const formItemProps=()=>({htmlFor:String,prefixCls:String,label:PropTypes.any,help:PropTypes.any,extra:PropTypes.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:PropTypes.oneOf(tuple$1("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let indexGuid$1=0;const defaultItemNamePrefixCls="form_item",FormItem=defineComponent({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:formItemProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;$n.prop;const Nn=`form-item-${++indexGuid$1}`,{prefixCls:Rn}=useConfigInject("form",$n),[Dn,Ln]=useStyle$C(Rn),Fn=shallowRef(),Bn=useInjectForm(),Hn=computed(()=>$n.name||$n.prop),zn=shallowRef([]),Wn=shallowRef(!1),Yn=shallowRef(),Gn=computed(()=>{const xa=Hn.value;return getNamePath(xa)}),Go=computed(()=>{if(Gn.value.length){const xa=Bn.name.value,Ta=Gn.value.join("_");return xa?`${xa}_${Ta}`:`${defaultItemNamePrefixCls}_${Ta}`}else return}),Xn=()=>{const xa=Bn.model.value;if(!(!xa||!Hn.value))return getPropByPath$1(xa,Gn.value,!0).v},Yo=computed(()=>Xn()),qo=shallowRef(cloneDeep(Yo.value)),Jo=computed(()=>{let xa=$n.validateTrigger!==void 0?$n.validateTrigger:Bn.validateTrigger.value;return xa=xa===void 0?"change":xa,toArray$5(xa)}),Zo=computed(()=>{let xa=Bn.rules.value;const Ta=$n.rules,wa=$n.required!==void 0?{required:!!$n.required,trigger:Jo.value}:[],La=getPropByPath$1(xa,Gn.value);xa=xa?La.o[La.k]||La.v:[];const Na=[].concat(Ta||xa||[]);return find(Na,$a=>$a.required)?Na:Na.concat(wa)}),rr=computed(()=>{const xa=Zo.value;let Ta=!1;return xa&&xa.length&&xa.every(wa=>wa.required?(Ta=!0,!1):!0),Ta||$n.required}),nr=shallowRef();watchEffect(()=>{nr.value=$n.validateStatus});const ta=computed(()=>{let xa={};return typeof $n.label=="string"?xa.label=$n.label:$n.name&&(xa.label=String($n.name)),$n.messageVariables&&(xa=_extends$1(_extends$1({},xa),$n.messageVariables)),xa}),oa=xa=>{if(Gn.value.length===0)return;const{validateFirst:Ta=!1}=$n,{triggerName:wa}=xa||{};let La=Zo.value;if(wa&&(La=La.filter($a=>{const{trigger:ka}=$a;return!ka&&!Jo.value.length?!0:toArray$5(ka||Jo.value).includes(wa)})),!La.length)return Promise.resolve();const Na=validateRules(Gn.value,Yo.value,La,_extends$1({validateMessages:Bn.validateMessages.value},xa),Ta,ta.value);return nr.value="validating",zn.value=[],Na.catch($a=>$a).then(function(){let $a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(nr.value==="validating"){const ka=$a.filter(Ha=>Ha&&Ha.errors.length);nr.value=ka.length?"error":"success",zn.value=ka.map(Ha=>Ha.errors),Bn.onValidate(Hn.value,!zn.value.length,zn.value.length?toRaw(zn.value[0]):null)}}),Na},ra=()=>{oa({triggerName:"blur"})},ea=()=>{if(Wn.value){Wn.value=!1;return}oa({triggerName:"change"})},la=()=>{nr.value=$n.validateStatus,Wn.value=!1,zn.value=[]},ua=()=>{var xa;nr.value=$n.validateStatus,Wn.value=!0,zn.value=[];const Ta=Bn.model.value||{},wa=Yo.value,La=getPropByPath$1(Ta,Gn.value,!0);Array.isArray(wa)?La.o[La.k]=[].concat((xa=qo.value)!==null&&xa!==void 0?xa:[]):La.o[La.k]=qo.value,nextTick(()=>{Wn.value=!1})},ga=computed(()=>$n.htmlFor===void 0?Go.value:$n.htmlFor),aa=()=>{const xa=ga.value;if(!xa||!Yn.value)return;const Ta=Yn.value.$el.querySelector(`[id="${xa}"]`);Ta&&Ta.focus&&Ta.focus()};In({onFieldBlur:ra,onFieldChange:ea,clearValidate:la,resetField:ua}),useProvideFormItemContext({id:Go,onFieldBlur:()=>{$n.autoLink&&ra()},onFieldChange:()=>{$n.autoLink&&ea()},clearValidate:la},computed(()=>!!($n.autoLink&&Bn.model.value&&Hn.value)));let ca=!1;watch(Hn,xa=>{xa?ca||(ca=!0,Bn.addField(Nn,{fieldValue:Yo,fieldId:Go,fieldName:Hn,resetField:ua,clearValidate:la,namePath:Gn,validateRules:oa,rules:Zo})):(ca=!1,Bn.removeField(Nn))},{immediate:!0}),onBeforeUnmount(()=>{Bn.removeField(Nn)});const sa=useDebounce(zn),ia=computed(()=>$n.validateStatus!==void 0?$n.validateStatus:sa.value.length?"error":nr.value),fa=computed(()=>({[`${Rn.value}-item`]:!0,[Ln.value]:!0,[`${Rn.value}-item-has-feedback`]:ia.value&&$n.hasFeedback,[`${Rn.value}-item-has-success`]:ia.value==="success",[`${Rn.value}-item-has-warning`]:ia.value==="warning",[`${Rn.value}-item-has-error`]:ia.value==="error",[`${Rn.value}-item-is-validating`]:ia.value==="validating",[`${Rn.value}-item-hidden`]:$n.hidden})),ma=reactive({});FormItemInputContext.useProvide(ma),watchEffect(()=>{let xa;if($n.hasFeedback){const Ta=ia.value&&iconMap[ia.value];xa=Ta?createVNode("span",{class:classNames(`${Rn.value}-item-feedback-icon`,`${Rn.value}-item-feedback-icon-${ia.value}`)},[createVNode(Ta,null,null)]):null}_extends$1(ma,{status:ia.value,hasFeedback:$n.hasFeedback,feedbackIcon:xa,isFormItemInput:!0})});const ya=shallowRef(null),ba=shallowRef(!1),Ia=()=>{if(Fn.value){const xa=getComputedStyle(Fn.value);ya.value=parseInt(xa.marginBottom,10)}};onMounted(()=>{watch(ba,()=>{ba.value&&Ia()},{flush:"post",immediate:!0})});const Ea=xa=>{xa||(ya.value=null)};return()=>{var xa,Ta;if($n.noStyle)return(xa=_n.default)===null||xa===void 0?void 0:xa.call(_n);const wa=(Ta=$n.help)!==null&&Ta!==void 0?Ta:_n.help?filterEmpty(_n.help()):null,La=!!(wa!=null&&Array.isArray(wa)&&wa.length||sa.value.length);return ba.value=La,Dn(createVNode("div",{class:[fa.value,La?`${Rn.value}-item-with-help`:"",Pn.class],ref:Fn},[createVNode(Row$2,_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:`${Rn.value}-row`,key:"row"}),{default:()=>{var Na,$a;return createVNode(Fragment,null,[createVNode(FormItemLabel$1,_objectSpread2$1(_objectSpread2$1({},$n),{},{htmlFor:ga.value,required:rr.value,requiredMark:Bn.requiredMark.value,prefixCls:Rn.value,onClick:aa,label:$n.label}),{label:_n.label,tooltip:_n.tooltip}),createVNode(FormItemInput$1,_objectSpread2$1(_objectSpread2$1({},$n),{},{errors:wa!=null?toArray$5(wa):sa.value,marginBottom:ya.value,prefixCls:Rn.value,status:ia.value,ref:Yn,help:wa,extra:(Na=$n.extra)!==null&&Na!==void 0?Na:($a=_n.extra)===null||$a===void 0?void 0:$a.call(_n),onErrorVisibleChanged:Ea}),{default:_n.default})])}}),!!ya.value&&createVNode("div",{class:`${Rn.value}-margin-offset`,style:{marginBottom:`-${ya.value}px`}},null)]))}}});function allPromiseFinish($n){let Cn=!1,_n=$n.length;const Pn=[];return $n.length?new Promise((In,Nn)=>{$n.forEach((Rn,Dn)=>{Rn.catch(Ln=>(Cn=!0,Ln)).then(Ln=>{_n-=1,Pn[Dn]=Ln,!(_n>0)&&(Cn&&Nn(Pn),In(Pn))})})}):Promise.resolve([])}function isRequired($n){let Cn=!1;return $n&&$n.length&&$n.every(_n=>_n.required?(Cn=!0,!1):!0),Cn}function toArray$4($n){return $n==null?[]:Array.isArray($n)?$n:[$n]}function getPropByPath($n,Cn,_n){let Pn=$n;Cn=Cn.replace(/\[(\w+)\]/g,".$1"),Cn=Cn.replace(/^\./,"");const In=Cn.split(".");let Nn=0;for(let Rn=In.length;Nn<Rn-1&&!(!Pn&&!_n);++Nn){const Dn=In[Nn];if(Dn in Pn)Pn=Pn[Dn];else{if(_n)throw new Error("please transfer a valid name path to validate!");break}}return{o:Pn,k:In[Nn],v:Pn?Pn[In[Nn]]:null,isValid:Pn&&In[Nn]in Pn}}function useForm($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ref({}),_n=arguments.length>2?arguments[2]:void 0;const Pn=cloneDeep(unref($n)),In=reactive({}),Nn=shallowRef([]),Rn=qo=>{_extends$1(unref($n),_extends$1(_extends$1({},cloneDeep(Pn)),qo)),nextTick(()=>{Object.keys(In).forEach(Jo=>{In[Jo]={autoLink:!1,required:isRequired(unref(Cn)[Jo])}})})},Dn=function(){let qo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Jo=arguments.length>1?arguments[1]:void 0;return Jo.length?qo.filter(Zo=>{const rr=toArray$4(Zo.trigger||"change");return intersection(rr,Jo).length}):qo};let Ln=null;const Fn=function(qo){let Jo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zo=arguments.length>2?arguments[2]:void 0;const rr=[],nr={};for(let ra=0;ra<qo.length;ra++){const ea=qo[ra],la=getPropByPath(unref($n),ea,Zo);if(!la.isValid)continue;nr[ea]=la.v;const ua=Dn(unref(Cn)[ea],toArray$4(Jo&&Jo.trigger));ua.length&&rr.push(Bn(ea,la.v,ua,Jo||{}).then(()=>({name:ea,errors:[],warnings:[]})).catch(ga=>{const aa=[],ca=[];return ga.forEach(sa=>{let{rule:{warningOnly:ia},errors:fa}=sa;ia?ca.push(...fa):aa.push(...fa)}),aa.length?Promise.reject({name:ea,errors:aa,warnings:ca}):{name:ea,errors:aa,warnings:ca}}))}const ta=allPromiseFinish(rr);Ln=ta;const oa=ta.then(()=>Ln===ta?Promise.resolve(nr):Promise.reject([])).catch(ra=>{const ea=ra.filter(la=>la&&la.errors.length);return Promise.reject({values:nr,errorFields:ea,outOfDate:Ln!==ta})});return oa.catch(ra=>ra),oa},Bn=function(qo,Jo,Zo){let rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const nr=validateRules([qo],Jo,Zo,_extends$1({validateMessages:defaultValidateMessages},rr),!!rr.validateFirst);return In[qo]?(In[qo].validateStatus="validating",nr.catch(ta=>ta).then(function(){let ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var oa;if(In[qo].validateStatus==="validating"){const ra=ta.filter(ea=>ea&&ea.errors.length);In[qo].validateStatus=ra.length?"error":"success",In[qo].help=ra.length?ra.map(ea=>ea.errors):null,(oa=_n==null?void 0:_n.onValidate)===null||oa===void 0||oa.call(_n,qo,!ra.length,ra.length?toRaw(In[qo].help[0]):null)}}),nr):nr.catch(ta=>ta)},Hn=(qo,Jo)=>{let Zo=[],rr=!0;qo?Array.isArray(qo)?Zo=qo:Zo=[qo]:(rr=!1,Zo=Nn.value);const nr=Fn(Zo,Jo||{},rr);return nr.catch(ta=>ta),nr},zn=qo=>{let Jo=[];qo?Array.isArray(qo)?Jo=qo:Jo=[qo]:Jo=Nn.value,Jo.forEach(Zo=>{In[Zo]&&_extends$1(In[Zo],{validateStatus:"",help:null})})},Wn=qo=>{const Jo={autoLink:!1},Zo=[],rr=Array.isArray(qo)?qo:[qo];for(let nr=0;nr<rr.length;nr++){const ta=rr[nr];(ta==null?void 0:ta.validateStatus)==="error"&&(Jo.validateStatus="error",ta.help&&Zo.push(ta.help)),Jo.required=Jo.required||(ta==null?void 0:ta.required)}return Jo.help=Zo,Jo};let Yn=Pn,Gn=!0;const Go=qo=>{const Jo=[];Nn.value.forEach(Zo=>{const rr=getPropByPath(qo,Zo,!1),nr=getPropByPath(Yn,Zo,!1);(Gn&&(_n==null?void 0:_n.immediate)&&rr.isValid||!isEqual$2(rr.v,nr.v))&&Jo.push(Zo)}),Hn(Jo,{trigger:"change"}),Gn=!1,Yn=cloneDeep(toRaw(qo))},Xn=_n==null?void 0:_n.debounce;let Yo=!0;return watch(Cn,()=>{Nn.value=Cn?Object.keys(unref(Cn)):[],!Yo&&_n&&_n.validateOnRuleChange&&Hn(),Yo=!1},{deep:!0,immediate:!0}),watch(Nn,()=>{const qo={};Nn.value.forEach(Jo=>{qo[Jo]=_extends$1({},In[Jo],{autoLink:!1,required:isRequired(unref(Cn)[Jo])}),delete In[Jo]});for(const Jo in In)Object.prototype.hasOwnProperty.call(In,Jo)&&delete In[Jo];_extends$1(In,qo)},{immediate:!0}),watch($n,Xn&&Xn.wait?debounce$2(Go,Xn.wait,omit(Xn,["wait"])):Go,{immediate:_n&&!!_n.immediate,deep:!0}),{modelRef:$n,rulesRef:Cn,initialModel:Pn,validateInfos:In,resetFields:Rn,validate:Hn,validateField:Bn,mergeValidateInfo:Wn,clearValidate:zn}}const formProps=()=>({layout:PropTypes.oneOf(tuple$1("horizontal","inline","vertical")),labelCol:objectType(),wrapperCol:objectType(),colon:booleanType(),labelAlign:stringType(),labelWrap:booleanType(),prefixCls:String,requiredMark:someType([String,Boolean]),hideRequiredMark:booleanType(),model:PropTypes.object,rules:objectType(),validateMessages:objectType(),validateOnRuleChange:booleanType(),scrollToFirstError:anyType(),onSubmit:functionType(),name:String,validateTrigger:someType([String,Array]),size:stringType(),disabled:booleanType(),onValuesChange:functionType(),onFieldsChange:functionType(),onFinish:functionType(),onFinishFailed:functionType(),onValidate:functionType()});function isEqualName($n,Cn){return isEqual$2(toArray$5($n),toArray$5(Cn))}const Form=defineComponent({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:initDefaultProps(formProps(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:FormItem,useForm,setup($n,Cn){let{emit:_n,slots:Pn,expose:In,attrs:Nn}=Cn;const{prefixCls:Rn,direction:Dn,form:Ln,size:Fn,disabled:Bn}=useConfigInject("form",$n),Hn=computed(()=>$n.requiredMark===""||$n.requiredMark),zn=computed(()=>{var sa;return Hn.value!==void 0?Hn.value:Ln&&((sa=Ln.value)===null||sa===void 0?void 0:sa.requiredMark)!==void 0?Ln.value.requiredMark:!$n.hideRequiredMark});useProviderSize(Fn),useProviderDisabled(Bn);const Wn=computed(()=>{var sa,ia;return(sa=$n.colon)!==null&&sa!==void 0?sa:(ia=Ln.value)===null||ia===void 0?void 0:ia.colon}),{validateMessages:Yn}=useInjectGlobalForm(),Gn=computed(()=>_extends$1(_extends$1(_extends$1({},defaultValidateMessages),Yn.value),$n.validateMessages)),[Go,Xn]=useStyle$C(Rn),Yo=computed(()=>classNames(Rn.value,{[`${Rn.value}-${$n.layout}`]:!0,[`${Rn.value}-hide-required-mark`]:zn.value===!1,[`${Rn.value}-rtl`]:Dn.value==="rtl",[`${Rn.value}-${Fn.value}`]:Fn.value},Xn.value)),qo=ref(),Jo={},Zo=(sa,ia)=>{Jo[sa]=ia},rr=sa=>{delete Jo[sa]},nr=sa=>{const ia=!!sa,fa=ia?toArray$5(sa).map(getNamePath):[];return ia?Object.values(Jo).filter(ma=>fa.findIndex(ya=>isEqualName(ya,ma.fieldName.value))>-1):Object.values(Jo)},ta=sa=>{if(!$n.model){warning$3();return}nr(sa).forEach(ia=>{ia.resetField()})},oa=sa=>{nr(sa).forEach(ia=>{ia.clearValidate()})},ra=sa=>{const{scrollToFirstError:ia}=$n;if(_n("finishFailed",sa),ia&&sa.errorFields.length){let fa={};typeof ia=="object"&&(fa=ia),la(sa.errorFields[0].name,fa)}},ea=function(){return aa(...arguments)},la=function(sa){let ia=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const fa=nr(sa?[sa]:void 0);if(fa.length){const ma=fa[0].fieldId.value,ya=ma?document.getElementById(ma):null;ya&&scrollIntoView(ya,_extends$1({scrollMode:"if-needed",block:"nearest"},ia))}},ua=function(){let sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(sa===!0){const ia=[];return Object.values(Jo).forEach(fa=>{let{namePath:ma}=fa;ia.push(ma.value)}),cloneByNamePathList($n.model,ia)}else return cloneByNamePathList($n.model,sa)},ga=(sa,ia)=>{if(warning$3(),!$n.model)return warning$3(),Promise.reject("Form `model` is required for validateFields to work.");const fa=!!sa,ma=fa?toArray$5(sa).map(getNamePath):[],ya=[];Object.values(Jo).forEach(Ea=>{var xa;if(fa||ma.push(Ea.namePath.value),!(!((xa=Ea.rules)===null||xa===void 0)&&xa.value.length))return;const Ta=Ea.namePath.value;if(!fa||containsNamePath(ma,Ta)){const wa=Ea.validateRules(_extends$1({validateMessages:Gn.value},ia));ya.push(wa.then(()=>({name:Ta,errors:[],warnings:[]})).catch(La=>{const Na=[],$a=[];return La.forEach(ka=>{let{rule:{warningOnly:Ha},errors:da}=ka;Ha?$a.push(...da):Na.push(...da)}),Na.length?Promise.reject({name:Ta,errors:Na,warnings:$a}):{name:Ta,errors:Na,warnings:$a}}))}});const ba=allPromiseFinish(ya);qo.value=ba;const Ia=ba.then(()=>qo.value===ba?Promise.resolve(ua(ma)):Promise.reject([])).catch(Ea=>{const xa=Ea.filter(Ta=>Ta&&Ta.errors.length);return Promise.reject({values:ua(ma),errorFields:xa,outOfDate:qo.value!==ba})});return Ia.catch(Ea=>Ea),Ia},aa=function(){return ga(...arguments)},ca=sa=>{sa.preventDefault(),sa.stopPropagation(),_n("submit",sa),$n.model&&ga().then(fa=>{_n("finish",fa)}).catch(fa=>{ra(fa)})};return In({resetFields:ta,clearValidate:oa,validateFields:ga,getFieldsValue:ua,validate:ea,scrollToField:la}),useProvideForm({model:computed(()=>$n.model),name:computed(()=>$n.name),labelAlign:computed(()=>$n.labelAlign),labelCol:computed(()=>$n.labelCol),labelWrap:computed(()=>$n.labelWrap),wrapperCol:computed(()=>$n.wrapperCol),vertical:computed(()=>$n.layout==="vertical"),colon:Wn,requiredMark:zn,validateTrigger:computed(()=>$n.validateTrigger),rules:computed(()=>$n.rules),addField:Zo,removeField:rr,onValidate:(sa,ia,fa)=>{_n("validate",sa,ia,fa)},validateMessages:Gn}),watch(()=>$n.rules,()=>{$n.validateOnRuleChange&&ga()}),()=>{var sa;return Go(createVNode("form",_objectSpread2$1(_objectSpread2$1({},Nn),{},{onSubmit:ca,class:[Yo.value,Nn.class]}),[(sa=Pn.default)===null||sa===void 0?void 0:sa.call(Pn)]))}}}),Form$1=Form;Form$1.useInjectFormItemContext=useInjectFormItemContext;Form$1.ItemRest=FormItemRest;Form$1.install=function($n){return $n.component(Form$1.name,Form$1),$n.component(Form$1.Item.name,Form$1.Item),$n.component(FormItemRest.name,FormItemRest),$n};const antCheckboxEffect=new Keyframes("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),genCheckboxStyle=$n=>{const{checkboxCls:Cn}=$n,_n=`${Cn}-wrapper`;return[{[`${Cn}-group`]:_extends$1(_extends$1({},resetComponent($n)),{display:"inline-flex",flexWrap:"wrap",columnGap:$n.marginXS,[`> ${$n.antCls}-row`]:{flex:1}}),[_n]:_extends$1(_extends$1({},resetComponent($n)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${_n}`]:{marginInlineStart:0},[`&${_n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${Cn}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Cn}-inner`]:_extends$1({},genFocusOutline($n))},[`${Cn}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:$n.checkboxSize,height:$n.checkboxSize,direction:"ltr",backgroundColor:$n.colorBgContainer,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:$n.borderRadiusSM,borderCollapse:"separate",transition:`all ${$n.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:$n.checkboxSize/14*5,height:$n.checkboxSize/14*8,border:`${$n.lineWidthBold}px solid ${$n.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${$n.motionDurationFast} ${$n.motionEaseInBack}, opacity ${$n.motionDurationFast}`}},"& + span":{paddingInlineStart:$n.paddingXS,paddingInlineEnd:$n.paddingXS}})},{[Cn]:{"&-indeterminate":{[`${Cn}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:$n.fontSizeLG/2,height:$n.fontSizeLG/2,backgroundColor:$n.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${_n}:hover ${Cn}:after`]:{visibility:"visible"},[`
- ${_n}:not(${_n}-disabled),
- ${Cn}:not(${Cn}-disabled)
- `]:{[`&:hover ${Cn}-inner`]:{borderColor:$n.colorPrimary}},[`${_n}:not(${_n}-disabled)`]:{[`&:hover ${Cn}-checked:not(${Cn}-disabled) ${Cn}-inner`]:{backgroundColor:$n.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Cn}-checked:not(${Cn}-disabled):after`]:{borderColor:$n.colorPrimaryHover}}},{[`${Cn}-checked`]:{[`${Cn}-inner`]:{backgroundColor:$n.colorPrimary,borderColor:$n.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${$n.motionDurationMid} ${$n.motionEaseOutBack} ${$n.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:$n.borderRadiusSM,visibility:"hidden",border:`${$n.lineWidthBold}px solid ${$n.colorPrimary}`,animationName:antCheckboxEffect,animationDuration:$n.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${$n.motionDurationSlow}`}},[`
- ${_n}-checked:not(${_n}-disabled),
- ${Cn}-checked:not(${Cn}-disabled)
- `]:{[`&:hover ${Cn}-inner`]:{backgroundColor:$n.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Cn}:after`]:{borderColor:$n.colorPrimaryHover}}},{[`${_n}-disabled`]:{cursor:"not-allowed"},[`${Cn}-disabled`]:{[`&, ${Cn}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Cn}-inner`]:{background:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,"&:after":{borderColor:$n.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:$n.colorTextDisabled},[`&${Cn}-indeterminate ${Cn}-inner::after`]:{background:$n.colorTextDisabled}}}]};function getStyle$2($n,Cn){const _n=merge$1(Cn,{checkboxCls:`.${$n}`,checkboxSize:Cn.controlInteractiveSize});return[genCheckboxStyle(_n)]}const useStyle$B=genComponentStyleHook("Checkbox",($n,Cn)=>{let{prefixCls:_n}=Cn;return[getStyle$2(_n,$n)]}),genBaseStyle$c=$n=>{const{prefixCls:Cn,componentCls:_n,antCls:Pn}=$n,In=`${_n}-menu-item`,Nn=`
- &${In}-expand ${In}-expand-icon,
- ${In}-loading-icon
- `,Rn=Math.round(($n.controlHeight-$n.fontSize*$n.lineHeight)/2);return[{[_n]:{width:$n.controlWidth}},{[`${_n}-dropdown`]:[getStyle$2(`${Cn}-checkbox`,$n),{[`&${Pn}-select-dropdown`]:{padding:0}},{[_n]:{"&-checkbox":{top:0,marginInlineEnd:$n.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_n}-menu-empty`]:{[`${_n}-menu`]:{width:"100%",height:"auto",[In]:{color:$n.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:$n.controlItemWidth,height:$n.dropdownHeight,margin:0,padding:$n.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},"&-item":_extends$1(_extends$1({},textEllipsis),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${Rn}px ${$n.paddingSM}px`,lineHeight:$n.lineHeight,cursor:"pointer",transition:`all ${$n.motionDurationMid}`,borderRadius:$n.borderRadiusSM,"&:hover":{background:$n.controlItemBgHover},"&-disabled":{color:$n.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Nn]:{color:$n.colorTextDisabled}},[`&-active:not(${In}-disabled)`]:{"&, &:hover":{fontWeight:$n.fontWeightStrong,backgroundColor:$n.controlItemBgActive}},"&-content":{flex:"auto"},[Nn]:{marginInlineStart:$n.paddingXXS,color:$n.colorTextDescription,fontSize:$n.fontSizeIcon},"&-keyword":{color:$n.colorHighlight}})}}}]},{[`${_n}-dropdown-rtl`]:{direction:"rtl"}},genCompactItemStyle($n)]},useStyle$A=genComponentStyleHook("Cascader",$n=>[genBaseStyle$c($n)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var __rest$S=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function highlightKeyword($n,Cn,_n){const Pn=$n.toLowerCase().split(Cn).reduce((Rn,Dn,Ln)=>Ln===0?[Dn]:[...Rn,Cn,Dn],[]),In=[];let Nn=0;return Pn.forEach((Rn,Dn)=>{const Ln=Nn+Rn.length;let Fn=$n.slice(Nn,Ln);Nn=Ln,Dn%2===1&&(Fn=createVNode("span",{class:`${_n}-menu-item-keyword`,key:"seperator"},[Fn])),In.push(Fn)}),In}const defaultSearchRender=$n=>{let{inputValue:Cn,path:_n,prefixCls:Pn,fieldNames:In}=$n;const Nn=[],Rn=Cn.toLowerCase();return _n.forEach((Dn,Ln)=>{Ln!==0&&Nn.push(" / ");let Fn=Dn[In.label];const Bn=typeof Fn;(Bn==="string"||Bn==="number")&&(Fn=highlightKeyword(String(Fn),Rn,Pn)),Nn.push(Fn)}),Nn};function cascaderProps(){return _extends$1(_extends$1({},omit$1(internalCascaderProps(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:PropTypes.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const Cascader=defineComponent({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:initDefaultProps(cascaderProps(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup($n,Cn){let{attrs:_n,expose:Pn,slots:In,emit:Nn}=Cn;const Rn=useInjectFormItemContext(),Dn=FormItemInputContext.useInject(),Ln=computed(()=>getMergedStatus(Dn.status,$n.status)),{prefixCls:Fn,rootPrefixCls:Bn,getPrefixCls:Hn,direction:zn,getPopupContainer:Wn,renderEmpty:Yn,size:Gn,disabled:Go}=useConfigInject("cascader",$n),Xn=computed(()=>Hn("select",$n.prefixCls)),{compactSize:Yo,compactItemClassnames:qo}=useCompactItemContext(Xn,zn),Jo=computed(()=>Yo.value||Gn.value),Zo=useInjectDisabled(),rr=computed(()=>{var ia;return(ia=Go.value)!==null&&ia!==void 0?ia:Zo.value}),[nr,ta]=useSelectStyle(Xn),[oa]=useStyle$A(Fn),ra=computed(()=>zn.value==="rtl"),ea=computed(()=>{if(!$n.showSearch)return $n.showSearch;let ia={render:defaultSearchRender};return typeof $n.showSearch=="object"&&(ia=_extends$1(_extends$1({},ia),$n.showSearch)),ia}),la=computed(()=>classNames($n.popupClassName||$n.dropdownClassName,`${Fn.value}-dropdown`,{[`${Fn.value}-dropdown-rtl`]:ra.value},ta.value)),ua=ref();Pn({focus(){var ia;(ia=ua.value)===null||ia===void 0||ia.focus()},blur(){var ia;(ia=ua.value)===null||ia===void 0||ia.blur()}});const ga=function(){for(var ia=arguments.length,fa=new Array(ia),ma=0;ma<ia;ma++)fa[ma]=arguments[ma];Nn("update:value",fa[0]),Nn("change",...fa),Rn.onFieldChange()},aa=function(){for(var ia=arguments.length,fa=new Array(ia),ma=0;ma<ia;ma++)fa[ma]=arguments[ma];Nn("blur",...fa),Rn.onFieldBlur()},ca=computed(()=>$n.showArrow!==void 0?$n.showArrow:$n.loading||!$n.multiple),sa=computed(()=>$n.placement!==void 0?$n.placement:zn.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var ia,fa;const{notFoundContent:ma=(ia=In.notFoundContent)===null||ia===void 0?void 0:ia.call(In),expandIcon:ya=(fa=In.expandIcon)===null||fa===void 0?void 0:fa.call(In),multiple:ba,bordered:Ia,allowClear:Ea,choiceTransitionName:xa,transitionName:Ta,id:wa=Rn.id.value}=$n,La=__rest$S($n,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),Na=ma||Yn("Cascader");let $a=ya;ya||($a=ra.value?createVNode(LeftOutlined$1,null,null):createVNode(RightOutlined$1,null,null));const ka=createVNode("span",{class:`${Xn.value}-menu-item-loading-icon`},[createVNode(LoadingOutlined$1,{spin:!0},null)]),{suffixIcon:Ha,removeIcon:da,clearIcon:pa}=getIcons(_extends$1(_extends$1({},$n),{hasFeedback:Dn.hasFeedback,feedbackIcon:Dn.feedbackIcon,multiple:ba,prefixCls:Xn.value,showArrow:ca.value}),In);return oa(nr(createVNode(Cascader$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},La),_n),{},{id:wa,prefixCls:Xn.value,class:[Fn.value,{[`${Xn.value}-lg`]:Jo.value==="large",[`${Xn.value}-sm`]:Jo.value==="small",[`${Xn.value}-rtl`]:ra.value,[`${Xn.value}-borderless`]:!Ia,[`${Xn.value}-in-form-item`]:Dn.isFormItemInput},getStatusClassNames(Xn.value,Ln.value,Dn.hasFeedback),qo.value,_n.class,ta.value],disabled:rr.value,direction:zn.value,placement:sa.value,notFoundContent:Na,allowClear:Ea,showSearch:ea.value,expandIcon:$a,inputIcon:Ha,removeIcon:da,clearIcon:pa,loadingIcon:ka,checkable:!!ba,dropdownClassName:la.value,dropdownPrefixCls:Fn.value,choiceTransitionName:getTransitionName$1(Bn.value,"",xa),transitionName:getTransitionName$1(Bn.value,getTransitionDirection(sa.value),Ta),getPopupContainer:Wn==null?void 0:Wn.value,customSlots:_extends$1(_extends$1({},In),{checkable:()=>createVNode("span",{class:`${Fn.value}-checkbox-inner`},null)}),tagRender:$n.tagRender||In.tagRender,displayRender:$n.displayRender||In.displayRender,maxTagPlaceholder:$n.maxTagPlaceholder||In.maxTagPlaceholder,showArrow:Dn.hasFeedback||$n.showArrow,onChange:ga,onBlur:aa,ref:ua}),In)))}}}),index$p=withInstall(_extends$1(Cascader,{SHOW_CHILD:SHOW_CHILD$1,SHOW_PARENT:SHOW_PARENT$1})),abstractCheckboxGroupProps=()=>({name:String,prefixCls:String,options:arrayType([]),disabled:Boolean,id:String}),checkboxGroupProps=()=>_extends$1(_extends$1({},abstractCheckboxGroupProps()),{defaultValue:arrayType(),value:arrayType(),onChange:functionType(),"onUpdate:value":functionType()}),abstractCheckboxProps=()=>({prefixCls:String,defaultChecked:booleanType(),checked:booleanType(),disabled:booleanType(),isGroup:booleanType(),value:PropTypes.any,name:String,id:String,indeterminate:booleanType(),type:stringType("checkbox"),autofocus:booleanType(),onChange:functionType(),"onUpdate:checked":functionType(),onClick:functionType(),skipGroup:booleanType(!1)}),checkboxProps=()=>_extends$1(_extends$1({},abstractCheckboxProps()),{indeterminate:booleanType(!1)}),CheckboxGroupContextKey=Symbol("CheckboxGroupContext");var __rest$R=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Checkbox=defineComponent({compatConfig:{MODE:3},name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,props:checkboxProps(),setup($n,Cn){let{emit:_n,attrs:Pn,slots:In,expose:Nn}=Cn;const Rn=useInjectFormItemContext(),Dn=FormItemInputContext.useInject(),{prefixCls:Ln,direction:Fn,disabled:Bn}=useConfigInject("checkbox",$n),Hn=useInjectDisabled(),[zn,Wn]=useStyle$B(Ln),Yn=inject(CheckboxGroupContextKey,void 0),Gn=Symbol("checkboxUniId"),Go=computed(()=>(Yn==null?void 0:Yn.disabled.value)||Bn.value);watchEffect(()=>{!$n.skipGroup&&Yn&&Yn.registerValue(Gn,$n.value)}),onBeforeUnmount(()=>{Yn&&Yn.cancelValue(Gn)}),onMounted(()=>{warning$3(!!($n.checked!==void 0||Yn||$n.value===void 0))});const Xn=Zo=>{const rr=Zo.target.checked;_n("update:checked",rr),_n("change",Zo),Rn.onFieldChange()},Yo=ref();return Nn({focus:()=>{var Zo;(Zo=Yo.value)===null||Zo===void 0||Zo.focus()},blur:()=>{var Zo;(Zo=Yo.value)===null||Zo===void 0||Zo.blur()}}),()=>{var Zo;const rr=flattenChildren((Zo=In.default)===null||Zo===void 0?void 0:Zo.call(In)),{indeterminate:nr,skipGroup:ta,id:oa=Rn.id.value}=$n,ra=__rest$R($n,["indeterminate","skipGroup","id"]),{onMouseenter:ea,onMouseleave:la,onInput:ua,class:ga,style:aa}=Pn,ca=__rest$R(Pn,["onMouseenter","onMouseleave","onInput","class","style"]),sa=_extends$1(_extends$1(_extends$1(_extends$1({},ra),{id:oa,prefixCls:Ln.value}),ca),{disabled:Go.value});Yn&&!ta?(sa.onChange=function(){for(var ya=arguments.length,ba=new Array(ya),Ia=0;Ia<ya;Ia++)ba[Ia]=arguments[Ia];_n("change",...ba),Yn.toggleOption({label:rr,value:$n.value})},sa.name=Yn.name.value,sa.checked=Yn.mergedValue.value.includes($n.value),sa.disabled=Go.value||Hn.value,sa.indeterminate=nr):sa.onChange=Xn;const ia=classNames({[`${Ln.value}-wrapper`]:!0,[`${Ln.value}-rtl`]:Fn.value==="rtl",[`${Ln.value}-wrapper-checked`]:sa.checked,[`${Ln.value}-wrapper-disabled`]:sa.disabled,[`${Ln.value}-wrapper-in-form-item`]:Dn.isFormItemInput},ga,Wn.value),fa=classNames({[`${Ln.value}-indeterminate`]:nr},Wn.value);return zn(createVNode("label",{class:ia,style:aa,onMouseenter:ea,onMouseleave:la},[createVNode(VcCheckbox,_objectSpread2$1(_objectSpread2$1({"aria-checked":nr?"mixed":void 0},sa),{},{class:fa,ref:Yo}),null),rr.length?createVNode("span",null,[rr]):null]))}}}),CheckboxGroup=defineComponent({compatConfig:{MODE:3},name:"ACheckboxGroup",inheritAttrs:!1,props:checkboxGroupProps(),setup($n,Cn){let{slots:_n,attrs:Pn,emit:In,expose:Nn}=Cn;const Rn=useInjectFormItemContext(),{prefixCls:Dn,direction:Ln}=useConfigInject("checkbox",$n),Fn=computed(()=>`${Dn.value}-group`),[Bn,Hn]=useStyle$B(Fn),zn=ref(($n.value===void 0?$n.defaultValue:$n.value)||[]);watch(()=>$n.value,()=>{zn.value=$n.value||[]});const Wn=computed(()=>$n.options.map(Jo=>typeof Jo=="string"||typeof Jo=="number"?{label:Jo,value:Jo}:Jo)),Yn=ref(Symbol()),Gn=ref(new Map),Go=Jo=>{Gn.value.delete(Jo),Yn.value=Symbol()},Xn=(Jo,Zo)=>{Gn.value.set(Jo,Zo),Yn.value=Symbol()},Yo=ref(new Map);return watch(Yn,()=>{const Jo=new Map;for(const Zo of Gn.value.values())Jo.set(Zo,!0);Yo.value=Jo}),provide(CheckboxGroupContextKey,{cancelValue:Go,registerValue:Xn,toggleOption:Jo=>{const Zo=zn.value.indexOf(Jo.value),rr=[...zn.value];Zo===-1?rr.push(Jo.value):rr.splice(Zo,1),$n.value===void 0&&(zn.value=rr);const nr=rr.filter(ta=>Yo.value.has(ta)).sort((ta,oa)=>{const ra=Wn.value.findIndex(la=>la.value===ta),ea=Wn.value.findIndex(la=>la.value===oa);return ra-ea});In("update:value",nr),In("change",nr),Rn.onFieldChange()},mergedValue:zn,name:computed(()=>$n.name),disabled:computed(()=>$n.disabled)}),Nn({mergedValue:zn}),()=>{var Jo;const{id:Zo=Rn.id.value}=$n;let rr=null;return Wn.value&&Wn.value.length>0&&(rr=Wn.value.map(nr=>{var ta;return createVNode(Checkbox,{prefixCls:Dn.value,key:nr.value.toString(),disabled:"disabled"in nr?nr.disabled:$n.disabled,indeterminate:nr.indeterminate,value:nr.value,checked:zn.value.indexOf(nr.value)!==-1,onChange:nr.onChange,class:`${Fn.value}-item`},{default:()=>[_n.label!==void 0?(ta=_n.label)===null||ta===void 0?void 0:ta.call(_n,nr):nr.label]})})),Bn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Fn.value,{[`${Fn.value}-rtl`]:Ln.value==="rtl"},Pn.class,Hn.value],id:Zo}),[rr||((Jo=_n.default)===null||Jo===void 0?void 0:Jo.call(_n))]))}}});Checkbox.Group=CheckboxGroup;Checkbox.install=function($n){return $n.component(Checkbox.name,Checkbox),$n.component(CheckboxGroup.name,CheckboxGroup),$n};const index$o={useBreakpoint},index$n=withInstall(Col),genBaseStyle$b=$n=>{const{componentCls:Cn,commentBg:_n,commentPaddingBase:Pn,commentNestIndent:In,commentFontSizeBase:Nn,commentFontSizeSm:Rn,commentAuthorNameColor:Dn,commentAuthorTimeColor:Ln,commentActionColor:Fn,commentActionHoverColor:Bn,commentActionsMarginBottom:Hn,commentActionsMarginTop:zn,commentContentDetailPMarginBottom:Wn}=$n;return{[Cn]:{position:"relative",backgroundColor:_n,[`${Cn}-inner`]:{display:"flex",padding:Pn},[`${Cn}-avatar`]:{position:"relative",flexShrink:0,marginRight:$n.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${Cn}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:Nn,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:$n.marginXXS,fontSize:Nn,"& > a,& > span":{paddingRight:$n.paddingXS,fontSize:Rn,lineHeight:"18px"},"&-name":{color:Dn,fontSize:Nn,transition:`color ${$n.motionDurationSlow}`,"> *":{color:Dn,"&:hover":{color:Dn}}},"&-time":{color:Ln,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{marginBottom:Wn,whiteSpace:"pre-wrap"}},[`${Cn}-actions`]:{marginTop:zn,marginBottom:Hn,paddingLeft:0,"> li":{display:"inline-block",color:Fn,"> span":{marginRight:"10px",color:Fn,fontSize:Rn,cursor:"pointer",transition:`color ${$n.motionDurationSlow}`,userSelect:"none","&:hover":{color:Bn}}}},[`${Cn}-nested`]:{marginLeft:In},"&-rtl":{direction:"rtl"}}}},useStyle$z=genComponentStyleHook("Comment",$n=>{const Cn=merge$1($n,{commentBg:"inherit",commentPaddingBase:`${$n.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:$n.fontSize,commentFontSizeSm:$n.fontSizeSM,commentAuthorNameColor:$n.colorTextTertiary,commentAuthorTimeColor:$n.colorTextPlaceholder,commentActionColor:$n.colorTextTertiary,commentActionHoverColor:$n.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:$n.marginSM,commentContentDetailPMarginBottom:"inherit"});return[genBaseStyle$b(Cn)]}),commentProps=()=>({actions:Array,author:PropTypes.any,avatar:PropTypes.any,content:PropTypes.any,prefixCls:String,datetime:PropTypes.any}),Comment=defineComponent({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:commentProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("comment",$n),[Rn,Dn]=useStyle$z(In),Ln=(Bn,Hn)=>createVNode("div",{class:`${Bn}-nested`},[Hn]),Fn=Bn=>!Bn||!Bn.length?null:Bn.map((zn,Wn)=>createVNode("li",{key:`action-${Wn}`},[zn]));return()=>{var Bn,Hn,zn,Wn,Yn,Gn,Go,Xn,Yo,qo,Jo;const Zo=In.value,rr=(Bn=$n.actions)!==null&&Bn!==void 0?Bn:(Hn=_n.actions)===null||Hn===void 0?void 0:Hn.call(_n),nr=(zn=$n.author)!==null&&zn!==void 0?zn:(Wn=_n.author)===null||Wn===void 0?void 0:Wn.call(_n),ta=(Yn=$n.avatar)!==null&&Yn!==void 0?Yn:(Gn=_n.avatar)===null||Gn===void 0?void 0:Gn.call(_n),oa=(Go=$n.content)!==null&&Go!==void 0?Go:(Xn=_n.content)===null||Xn===void 0?void 0:Xn.call(_n),ra=(Yo=$n.datetime)!==null&&Yo!==void 0?Yo:(qo=_n.datetime)===null||qo===void 0?void 0:qo.call(_n),ea=createVNode("div",{class:`${Zo}-avatar`},[typeof ta=="string"?createVNode("img",{src:ta,alt:"comment-avatar"},null):ta]),la=rr?createVNode("ul",{class:`${Zo}-actions`},[Fn(Array.isArray(rr)?rr:[rr])]):null,ua=createVNode("div",{class:`${Zo}-content-author`},[nr&&createVNode("span",{class:`${Zo}-content-author-name`},[nr]),ra&&createVNode("span",{class:`${Zo}-content-author-time`},[ra])]),ga=createVNode("div",{class:`${Zo}-content`},[ua,createVNode("div",{class:`${Zo}-content-detail`},[oa]),la]),aa=createVNode("div",{class:`${Zo}-inner`},[ea,ga]),ca=flattenChildren((Jo=_n.default)===null||Jo===void 0?void 0:Jo.call(_n));return Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Zo,{[`${Zo}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value]}),[aa,ca&&ca.length?Ln(Zo,ca):null]))}}}),index$m=withInstall(Comment);let runtimeLocale=_extends$1({},localeValues$1.Modal);function changeConfirmLocale($n){$n?runtimeLocale=_extends$1(_extends$1({},runtimeLocale),$n):runtimeLocale=_extends$1({},localeValues$1.Modal)}function getConfirmLocale(){return runtimeLocale}const ANT_MARK="internalMark",LocaleProvider=defineComponent({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup($n,Cn){let{slots:_n}=Cn;warning$3($n.ANT_MARK__===ANT_MARK);const Pn=reactive({antLocale:_extends$1(_extends$1({},$n.locale),{exist:!0}),ANT_MARK__:ANT_MARK});return provide("localeData",Pn),watch(()=>$n.locale,In=>{changeConfirmLocale(In&&In.Modal),Pn.antLocale=_extends$1(_extends$1({},In),{exist:!0})},{immediate:!0}),()=>{var In;return(In=_n.default)===null||In===void 0?void 0:In.call(_n)}}});LocaleProvider.install=function($n){return $n.component(LocaleProvider.name,LocaleProvider),$n};const locale$3=withInstall(LocaleProvider),Notice=defineComponent({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup($n,Cn){let{attrs:_n,slots:Pn}=Cn,In,Nn=!1;const Rn=computed(()=>$n.duration===void 0?4.5:$n.duration),Dn=()=>{Rn.value&&!Nn&&(In=setTimeout(()=>{Fn()},Rn.value*1e3))},Ln=()=>{In&&(clearTimeout(In),In=null)},Fn=Hn=>{Hn&&Hn.stopPropagation(),Ln();const{onClose:zn,noticeKey:Wn}=$n;zn&&zn(Wn)},Bn=()=>{Ln(),Dn()};return onMounted(()=>{Dn()}),onUnmounted(()=>{Nn=!0,Ln()}),watch([Rn,()=>$n.updateMark,()=>$n.visible],(Hn,zn)=>{let[Wn,Yn,Gn]=Hn,[Go,Xn,Yo]=zn;(Wn!==Go||Yn!==Xn||Gn!==Yo&&Yo)&&Bn()},{flush:"post"}),()=>{var Hn,zn;const{prefixCls:Wn,closable:Yn,closeIcon:Gn=(Hn=Pn.closeIcon)===null||Hn===void 0?void 0:Hn.call(Pn),onClick:Go,holder:Xn}=$n,{class:Yo,style:qo}=_n,Jo=`${Wn}-notice`,Zo=Object.keys(_n).reduce((nr,ta)=>((ta.startsWith("data-")||ta.startsWith("aria-")||ta==="role")&&(nr[ta]=_n[ta]),nr),{}),rr=createVNode("div",_objectSpread2$1({class:classNames(Jo,Yo,{[`${Jo}-closable`]:Yn}),style:qo,onMouseenter:Ln,onMouseleave:Dn,onClick:Go},Zo),[createVNode("div",{class:`${Jo}-content`},[(zn=Pn.default)===null||zn===void 0?void 0:zn.call(Pn)]),Yn?createVNode("a",{tabindex:0,onClick:Fn,class:`${Jo}-close`},[Gn||createVNode("span",{class:`${Jo}-close-x`},null)]):null]);return Xn?createVNode(Teleport,{to:Xn},{default:()=>rr}):rr}}});var __rest$Q=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};let seed$1=0;const now$2=Date.now();function getUuid$1(){const $n=seed$1;return seed$1+=1,`rcNotification_${now$2}_${$n}`}const Notification$1=defineComponent({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup($n,Cn){let{attrs:_n,expose:Pn,slots:In}=Cn;const Nn=new Map,Rn=ref([]),Dn=computed(()=>{const{prefixCls:Bn,animation:Hn="fade"}=$n;let zn=$n.transitionName;return!zn&&Hn&&(zn=`${Bn}-${Hn}`),getTransitionGroupProps(zn)}),Ln=(Bn,Hn)=>{const zn=Bn.key||getUuid$1(),Wn=_extends$1(_extends$1({},Bn),{key:zn}),{maxCount:Yn}=$n,Gn=Rn.value.map(Xn=>Xn.notice.key).indexOf(zn),Go=Rn.value.concat();Gn!==-1?Go.splice(Gn,1,{notice:Wn,holderCallback:Hn}):(Yn&&Rn.value.length>=Yn&&(Wn.key=Go[0].notice.key,Wn.updateMark=getUuid$1(),Wn.userPassKey=zn,Go.shift()),Go.push({notice:Wn,holderCallback:Hn})),Rn.value=Go},Fn=Bn=>{Rn.value=Rn.value.filter(Hn=>{let{notice:{key:zn,userPassKey:Wn}}=Hn;return(Wn||zn)!==Bn})};return Pn({add:Ln,remove:Fn,notices:Rn}),()=>{var Bn;const{prefixCls:Hn,closeIcon:zn=(Bn=In.closeIcon)===null||Bn===void 0?void 0:Bn.call(In,{prefixCls:Hn})}=$n,Wn=Rn.value.map((Gn,Go)=>{let{notice:Xn,holderCallback:Yo}=Gn;const qo=Go===Rn.value.length-1?Xn.updateMark:void 0,{key:Jo,userPassKey:Zo}=Xn,{content:rr}=Xn,nr=_extends$1(_extends$1(_extends$1({prefixCls:Hn,closeIcon:typeof zn=="function"?zn({prefixCls:Hn}):zn},Xn),Xn.props),{key:Jo,noticeKey:Zo||Jo,updateMark:qo,onClose:ta=>{var oa;Fn(ta),(oa=Xn.onClose)===null||oa===void 0||oa.call(Xn)},onClick:Xn.onClick});return Yo?createVNode("div",{key:Jo,class:`${Hn}-hook-holder`,ref:ta=>{typeof Jo>"u"||(ta?(Nn.set(Jo,ta),Yo(ta,nr)):Nn.delete(Jo))}},null):createVNode(Notice,_objectSpread2$1(_objectSpread2$1({},nr),{},{class:classNames(nr.class,$n.hashId)}),{default:()=>[typeof rr=="function"?rr({prefixCls:Hn}):rr]})}),Yn={[Hn]:1,[_n.class]:!!_n.class,[$n.hashId]:!0};return createVNode("div",{class:Yn,style:_n.style||{top:"65px",left:"50%"}},[createVNode(TransitionGroup,_objectSpread2$1({tag:"div"},Dn.value),{default:()=>[Wn]})])}}});Notification$1.newInstance=function(Cn,_n){const Pn=Cn||{},{name:In="notification",getContainer:Nn,appContext:Rn,prefixCls:Dn,rootPrefixCls:Ln,transitionName:Fn,hasTransitionName:Bn,useStyle:Hn}=Pn,zn=__rest$Q(Pn,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),Wn=document.createElement("div");Nn?Nn().appendChild(Wn):document.body.appendChild(Wn);const Gn=createVNode(defineComponent({compatConfig:{MODE:3},name:"NotificationWrapper",setup(Go,Xn){let{attrs:Yo}=Xn;const qo=shallowRef(),Jo=computed(()=>globalConfigForApi.getPrefixCls(In,Dn)),[,Zo]=Hn(Jo);return onMounted(()=>{_n({notice(rr){var nr;(nr=qo.value)===null||nr===void 0||nr.add(rr)},removeNotice(rr){var nr;(nr=qo.value)===null||nr===void 0||nr.remove(rr)},destroy(){render$1(null,Wn),Wn.parentNode&&Wn.parentNode.removeChild(Wn)},component:qo})}),()=>{const rr=globalConfigForApi,nr=rr.getRootPrefixCls(Ln,Jo.value),ta=Bn?Fn:`${Jo.value}-${Fn}`;return createVNode(ConfigProvider$1,_objectSpread2$1(_objectSpread2$1({},rr),{},{prefixCls:nr}),{default:()=>[createVNode(Notification$1,_objectSpread2$1(_objectSpread2$1({ref:qo},Yo),{},{prefixCls:Jo.value,transitionName:ta,hashId:Zo.value}),null)]})}}}),zn);Gn.appContext=Rn||Gn.appContext,render$1(Gn,Wn)};const Notification$2=Notification$1;let seed=0;const now$1=Date.now();function getUuid(){const $n=seed;return seed+=1,`rcNotification_${now$1}_${$n}`}const Notification=defineComponent({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=new Map,Nn=computed(()=>$n.notices),Rn=computed(()=>{let Bn=$n.transitionName;if(!Bn&&$n.animation)switch(typeof $n.animation){case"string":Bn=$n.animation;break;case"function":Bn=$n.animation().name;break;case"object":Bn=$n.animation.name;break;default:Bn=`${$n.prefixCls}-fade`;break}return getTransitionGroupProps(Bn)}),Dn=Bn=>$n.remove(Bn),Ln=ref({});watch(Nn,()=>{const Bn={};Object.keys(Ln.value).forEach(Hn=>{Bn[Hn]=[]}),$n.notices.forEach(Hn=>{const{placement:zn="topRight"}=Hn.notice;zn&&(Bn[zn]=Bn[zn]||[],Bn[zn].push(Hn))}),Ln.value=Bn});const Fn=computed(()=>Object.keys(Ln.value));return()=>{var Bn;const{prefixCls:Hn,closeIcon:zn=(Bn=Pn.closeIcon)===null||Bn===void 0?void 0:Bn.call(Pn,{prefixCls:Hn})}=$n,Wn=Fn.value.map(Yn=>{var Gn,Go;const Xn=Ln.value[Yn],Yo=(Gn=$n.getClassName)===null||Gn===void 0?void 0:Gn.call($n,Yn),qo=(Go=$n.getStyles)===null||Go===void 0?void 0:Go.call($n,Yn),Jo=Xn.map((nr,ta)=>{let{notice:oa,holderCallback:ra}=nr;const ea=ta===Nn.value.length-1?oa.updateMark:void 0,{key:la,userPassKey:ua}=oa,{content:ga}=oa,aa=_extends$1(_extends$1(_extends$1({prefixCls:Hn,closeIcon:typeof zn=="function"?zn({prefixCls:Hn}):zn},oa),oa.props),{key:la,noticeKey:ua||la,updateMark:ea,onClose:ca=>{var sa;Dn(ca),(sa=oa.onClose)===null||sa===void 0||sa.call(oa)},onClick:oa.onClick});return ra?createVNode("div",{key:la,class:`${Hn}-hook-holder`,ref:ca=>{typeof la>"u"||(ca?(In.set(la,ca),ra(ca,aa)):In.delete(la))}},null):createVNode(Notice,_objectSpread2$1(_objectSpread2$1({},aa),{},{class:classNames(aa.class,$n.hashId)}),{default:()=>[typeof ga=="function"?ga({prefixCls:Hn}):ga]})}),Zo={[Hn]:1,[`${Hn}-${Yn}`]:1,[_n.class]:!!_n.class,[$n.hashId]:!0,[Yo]:!!Yo};function rr(){var nr;Xn.length>0||(Reflect.deleteProperty(Ln.value,Yn),(nr=$n.onAllRemoved)===null||nr===void 0||nr.call($n))}return createVNode("div",{key:Yn,class:Zo,style:_n.style||qo||{top:"65px",left:"50%"}},[createVNode(TransitionGroup,_objectSpread2$1(_objectSpread2$1({tag:"div"},Rn.value),{},{onAfterLeave:rr}),{default:()=>[Jo]})])});return createVNode(Portal$1,{getContainer:$n.getContainer},{default:()=>[Wn]})}}}),HookNotification=Notification;var __rest$P=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const defaultGetContainer$1=()=>document.body;let uniqueKey=0;function mergeConfig(){const $n={};for(var Cn=arguments.length,_n=new Array(Cn),Pn=0;Pn<Cn;Pn++)_n[Pn]=arguments[Pn];return _n.forEach(In=>{In&&Object.keys(In).forEach(Nn=>{const Rn=In[Nn];Rn!==void 0&&($n[Nn]=Rn)})}),$n}function useNotification$1(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:Cn=defaultGetContainer$1,motion:_n,prefixCls:Pn,maxCount:In,getClassName:Nn,getStyles:Rn,onAllRemoved:Dn}=$n,Ln=__rest$P($n,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),Fn=shallowRef([]),Bn=shallowRef(),Hn=(Xn,Yo)=>{const qo=Xn.key||getUuid(),Jo=_extends$1(_extends$1({},Xn),{key:qo}),Zo=Fn.value.map(nr=>nr.notice.key).indexOf(qo),rr=Fn.value.concat();Zo!==-1?rr.splice(Zo,1,{notice:Jo,holderCallback:Yo}):(In&&Fn.value.length>=In&&(Jo.key=rr[0].notice.key,Jo.updateMark=getUuid(),Jo.userPassKey=qo,rr.shift()),rr.push({notice:Jo,holderCallback:Yo})),Fn.value=rr},zn=Xn=>{Fn.value=Fn.value.filter(Yo=>{let{notice:{key:qo,userPassKey:Jo}}=Yo;return(Jo||qo)!==Xn})},Wn=()=>{Fn.value=[]},Yn=()=>createVNode(HookNotification,{ref:Bn,prefixCls:Pn,maxCount:In,notices:Fn.value,remove:zn,getClassName:Nn,getStyles:Rn,animation:_n,hashId:$n.hashId,onAllRemoved:Dn,getContainer:Cn},null),Gn=shallowRef([]),Go={open:Xn=>{const Yo=mergeConfig(Ln,Xn);(Yo.key===null||Yo.key===void 0)&&(Yo.key=`vc-notification-${uniqueKey}`,uniqueKey+=1),Gn.value=[...Gn.value,{type:"open",config:Yo}]},close:Xn=>{Gn.value=[...Gn.value,{type:"close",key:Xn}]},destroy:()=>{Gn.value=[...Gn.value,{type:"destroy"}]}};return watch(Gn,()=>{Gn.value.length&&(Gn.value.forEach(Xn=>{switch(Xn.type){case"open":Hn(Xn.config);break;case"close":zn(Xn.key);break;case"destroy":Wn();break}}),Gn.value=[])}),[Go,Yn]}const genMessageStyle=$n=>{const{componentCls:Cn,iconCls:_n,boxShadowSecondary:Pn,colorBgElevated:In,colorSuccess:Nn,colorError:Rn,colorWarning:Dn,colorInfo:Ln,fontSizeLG:Fn,motionEaseInOutCirc:Bn,motionDurationSlow:Hn,marginXS:zn,paddingXS:Wn,borderRadiusLG:Yn,zIndexPopup:Gn,messageNoticeContentPadding:Go}=$n,Xn=new Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Wn,transform:"translateY(0)",opacity:1}}),Yo=new Keyframes("MessageMoveOut",{"0%":{maxHeight:$n.height,padding:Wn,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"fixed",top:zn,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:Gn,[`${Cn}-move-up`]:{animationFillMode:"forwards"},[`
- ${Cn}-move-up-appear,
- ${Cn}-move-up-enter
- `]:{animationName:Xn,animationDuration:Hn,animationPlayState:"paused",animationTimingFunction:Bn},[`
- ${Cn}-move-up-appear${Cn}-move-up-appear-active,
- ${Cn}-move-up-enter${Cn}-move-up-enter-active
- `]:{animationPlayState:"running"},[`${Cn}-move-up-leave`]:{animationName:Yo,animationDuration:Hn,animationPlayState:"paused",animationTimingFunction:Bn},[`${Cn}-move-up-leave${Cn}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${Cn}-notice`]:{padding:Wn,textAlign:"center",[_n]:{verticalAlign:"text-bottom",marginInlineEnd:zn,fontSize:Fn},[`${Cn}-notice-content`]:{display:"inline-block",padding:Go,background:In,borderRadius:Yn,boxShadow:Pn,pointerEvents:"all"},[`${Cn}-success ${_n}`]:{color:Nn},[`${Cn}-error ${_n}`]:{color:Rn},[`${Cn}-warning ${_n}`]:{color:Dn},[`
- ${Cn}-info ${_n},
- ${Cn}-loading ${_n}`]:{color:Ln}}},{[`${Cn}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},useStyle$y=genComponentStyleHook("Message",$n=>{const Cn=merge$1($n,{messageNoticeContentPadding:`${($n.controlHeightLG-$n.fontSize*$n.lineHeight)/2}px ${$n.paddingSM}px`});return[genMessageStyle(Cn)]},$n=>({height:150,zIndexPopup:$n.zIndexPopupBase+10})),TypeIcon={info:createVNode(InfoCircleFilled$1,null,null),success:createVNode(CheckCircleFilled$1,null,null),error:createVNode(CloseCircleFilled$1,null,null),warning:createVNode(ExclamationCircleFilled$1,null,null),loading:createVNode(LoadingOutlined$1,null,null)},PureContent$1=defineComponent({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup($n,Cn){let{slots:_n}=Cn;return()=>{var Pn;return createVNode("div",{class:classNames(`${$n.prefixCls}-custom-content`,`${$n.prefixCls}-${$n.type}`)},[$n.icon||TypeIcon[$n.type],createVNode("span",null,[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)])])}}});var __rest$O=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const DEFAULT_OFFSET$1=8,DEFAULT_DURATION$1=3,Holder$1=defineComponent({name:"Holder",inheritAttrs:!1,props:["top","prefixCls","getContainer","maxCount","duration","rtl","transitionName","onAllRemoved"],setup($n,Cn){let{expose:_n}=Cn;var Pn,In;const{getPrefixCls:Nn,getPopupContainer:Rn}=useConfigInject("message",$n),Dn=computed(()=>Nn("message",$n.prefixCls)),[,Ln]=useStyle$y(Dn),Fn=()=>{var Gn;const Go=(Gn=$n.top)!==null&&Gn!==void 0?Gn:DEFAULT_OFFSET$1;return{left:"50%",transform:"translateX(-50%)",top:typeof Go=="number"?`${Go}px`:Go}},Bn=()=>classNames(Ln.value,$n.rtl?`${Dn.value}-rtl`:""),Hn=()=>{var Gn;return getMotion$1({prefixCls:Dn.value,animation:(Gn=$n.animation)!==null&&Gn!==void 0?Gn:"move-up",transitionName:$n.transitionName})},zn=createVNode("span",{class:`${Dn.value}-close-x`},[createVNode(CloseOutlined$1,{class:`${Dn.value}-close-icon`},null)]),[Wn,Yn]=useNotification$1({getStyles:Fn,prefixCls:Dn.value,getClassName:Bn,motion:Hn,closable:!1,closeIcon:zn,duration:(Pn=$n.duration)!==null&&Pn!==void 0?Pn:DEFAULT_DURATION$1,getContainer:(In=$n.staticGetContainer)!==null&&In!==void 0?In:Rn.value,maxCount:$n.maxCount,onAllRemoved:$n.onAllRemoved});return _n(_extends$1(_extends$1({},Wn),{prefixCls:Dn,hashId:Ln})),Yn}});let keyIndex=0;function useInternalMessage($n){const Cn=shallowRef(null),_n=Symbol("messageHolderKey"),Pn=Ln=>{var Fn;(Fn=Cn.value)===null||Fn===void 0||Fn.close(Ln)},In=Ln=>{if(!Cn.value){const Zo=()=>{};return Zo.then=()=>{},Zo}const{open:Fn,prefixCls:Bn,hashId:Hn}=Cn.value,zn=`${Bn}-notice`,{content:Wn,icon:Yn,type:Gn,key:Go,class:Xn,onClose:Yo}=Ln,qo=__rest$O(Ln,["content","icon","type","key","class","onClose"]);let Jo=Go;return Jo==null&&(keyIndex+=1,Jo=`antd-message-${keyIndex}`),wrapPromiseFn(Zo=>(Fn(_extends$1(_extends$1({},qo),{key:Jo,content:()=>createVNode(PureContent$1,{prefixCls:Bn,type:Gn,icon:typeof Yn=="function"?Yn():Yn},{default:()=>[typeof Wn=="function"?Wn():Wn]}),placement:"top",class:classNames(Gn&&`${zn}-${Gn}`,Hn,Xn),onClose:()=>{Yo==null||Yo(),Zo()}})),()=>{Pn(Jo)}))},Rn={open:In,destroy:Ln=>{var Fn;Ln!==void 0?Pn(Ln):(Fn=Cn.value)===null||Fn===void 0||Fn.destroy()}};return["info","success","warning","error","loading"].forEach(Ln=>{const Fn=(Bn,Hn,zn)=>{let Wn;Bn&&typeof Bn=="object"&&"content"in Bn?Wn=Bn:Wn={content:Bn};let Yn,Gn;typeof Hn=="function"?Gn=Hn:(Yn=Hn,Gn=zn);const Go=_extends$1(_extends$1({onClose:Gn,duration:Yn},Wn),{type:Ln});return In(Go)};Rn[Ln]=Fn}),[Rn,()=>createVNode(Holder$1,_objectSpread2$1(_objectSpread2$1({key:_n},$n),{},{ref:Cn}),null)]}function useMessage($n){return useInternalMessage($n)}let defaultDuration$1=3,defaultTop$1,messageInstance,key=1,localPrefixCls="",transitionName="move-up",hasTransitionName=!1,getContainer=()=>document.body,maxCount$1,rtl$1=!1;function getKeyThenIncreaseKey(){return key++}function setMessageConfig($n){$n.top!==void 0&&(defaultTop$1=$n.top,messageInstance=null),$n.duration!==void 0&&(defaultDuration$1=$n.duration),$n.prefixCls!==void 0&&(localPrefixCls=$n.prefixCls),$n.getContainer!==void 0&&(getContainer=$n.getContainer,messageInstance=null),$n.transitionName!==void 0&&(transitionName=$n.transitionName,messageInstance=null,hasTransitionName=!0),$n.maxCount!==void 0&&(maxCount$1=$n.maxCount,messageInstance=null),$n.rtl!==void 0&&(rtl$1=$n.rtl)}function getMessageInstance($n,Cn){if(messageInstance){Cn(messageInstance);return}Notification$2.newInstance({appContext:$n.appContext,prefixCls:$n.prefixCls||localPrefixCls,rootPrefixCls:$n.rootPrefixCls,transitionName,hasTransitionName,style:{top:defaultTop$1},getContainer:getContainer||$n.getPopupContainer,maxCount:maxCount$1,name:"message",useStyle:useStyle$y},_n=>{if(messageInstance){Cn(messageInstance);return}messageInstance=_n,Cn(_n)})}const typeToIcon$2={info:InfoCircleFilled$1,success:CheckCircleFilled$1,error:CloseCircleFilled$1,warning:ExclamationCircleFilled$1,loading:LoadingOutlined$1},typeList=Object.keys(typeToIcon$2);function notice$1($n){const Cn=$n.duration!==void 0?$n.duration:defaultDuration$1,_n=$n.key||getKeyThenIncreaseKey(),Pn=new Promise(Nn=>{const Rn=()=>(typeof $n.onClose=="function"&&$n.onClose(),Nn(!0));getMessageInstance($n,Dn=>{Dn.notice({key:_n,duration:Cn,style:$n.style||{},class:$n.class,content:Ln=>{let{prefixCls:Fn}=Ln;const Bn=typeToIcon$2[$n.type],Hn=Bn?createVNode(Bn,null,null):"",zn=classNames(`${Fn}-custom-content`,{[`${Fn}-${$n.type}`]:$n.type,[`${Fn}-rtl`]:rtl$1===!0});return createVNode("div",{class:zn},[typeof $n.icon=="function"?$n.icon():$n.icon||Hn,createVNode("span",null,[typeof $n.content=="function"?$n.content():$n.content])])},onClose:Rn,onClick:$n.onClick})})}),In=()=>{messageInstance&&messageInstance.removeNotice(_n)};return In.then=(Nn,Rn)=>Pn.then(Nn,Rn),In.promise=Pn,In}function isArgsProps($n){return Object.prototype.toString.call($n)==="[object Object]"&&!!$n.content}const api$2={open:notice$1,config:setMessageConfig,destroy($n){if(messageInstance)if($n){const{removeNotice:Cn}=messageInstance;Cn($n)}else{const{destroy:Cn}=messageInstance;Cn(),messageInstance=null}}};function attachTypeApi($n,Cn){$n[Cn]=(_n,Pn,In)=>isArgsProps(_n)?$n.open(_extends$1(_extends$1({},_n),{type:Cn})):(typeof Pn=="function"&&(In=Pn,Pn=void 0),$n.open({content:_n,duration:Pn,type:Cn,onClose:In}))}typeList.forEach($n=>attachTypeApi(api$2,$n));api$2.warn=api$2.warning;api$2.useMessage=useMessage;const message=api$2,genNotificationPlacementStyle=$n=>{const{componentCls:Cn,width:_n,notificationMarginEdge:Pn}=$n,In=new Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),Nn=new Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),Rn=new Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:_n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Cn}-top, &${Cn}-bottom`]:{marginInline:0},[`&${Cn}-top`]:{[`${Cn}-fade-enter${Cn}-fade-enter-active, ${Cn}-fade-appear${Cn}-fade-appear-active`]:{animationName:In}},[`&${Cn}-bottom`]:{[`${Cn}-fade-enter${Cn}-fade-enter-active, ${Cn}-fade-appear${Cn}-fade-appear-active`]:{animationName:Nn}},[`&${Cn}-topLeft, &${Cn}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Pn,[`${Cn}-fade-enter${Cn}-fade-enter-active, ${Cn}-fade-appear${Cn}-fade-appear-active`]:{animationName:Rn}}}},genNotificationStyle=$n=>{const{iconCls:Cn,componentCls:_n,boxShadowSecondary:Pn,fontSizeLG:In,notificationMarginBottom:Nn,borderRadiusLG:Rn,colorSuccess:Dn,colorInfo:Ln,colorWarning:Fn,colorError:Bn,colorTextHeading:Hn,notificationBg:zn,notificationPadding:Wn,notificationMarginEdge:Yn,motionDurationMid:Gn,motionEaseInOut:Go,fontSize:Xn,lineHeight:Yo,width:qo,notificationIconSize:Jo}=$n,Zo=`${_n}-notice`,rr=new Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:qo},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),nr=new Keyframes("antNotificationFadeOut",{"0%":{maxHeight:$n.animationMaxHeight,marginBottom:Nn,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[_n]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"fixed",zIndex:$n.zIndexPopup,marginInlineEnd:Yn,[`${_n}-hook-holder`]:{position:"relative"},[`&${_n}-top, &${_n}-bottom`]:{[`${_n}-notice`]:{marginInline:"auto auto"}},[`&${_n}-topLeft, &${_n}-bottomLeft`]:{[`${_n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${_n}-fade-enter, ${_n}-fade-appear`]:{animationDuration:$n.motionDurationMid,animationTimingFunction:Go,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${_n}-fade-leave`]:{animationTimingFunction:Go,animationFillMode:"both",animationDuration:Gn,animationPlayState:"paused"},[`${_n}-fade-enter${_n}-fade-enter-active, ${_n}-fade-appear${_n}-fade-appear-active`]:{animationName:rr,animationPlayState:"running"},[`${_n}-fade-leave${_n}-fade-leave-active`]:{animationName:nr,animationPlayState:"running"}}),genNotificationPlacementStyle($n)),{"&-rtl":{direction:"rtl",[`${_n}-notice-btn`]:{float:"left"}}})},{[Zo]:{position:"relative",width:qo,maxWidth:`calc(100vw - ${Yn*2}px)`,marginBottom:Nn,marginInlineStart:"auto",padding:Wn,overflow:"hidden",lineHeight:Yo,wordWrap:"break-word",background:zn,borderRadius:Rn,boxShadow:Pn,[`${_n}-close-icon`]:{fontSize:Xn,cursor:"pointer"},[`${Zo}-message`]:{marginBottom:$n.marginXS,color:Hn,fontSize:In,lineHeight:$n.lineHeightLG},[`${Zo}-description`]:{fontSize:Xn},[`&${Zo}-closable ${Zo}-message`]:{paddingInlineEnd:$n.paddingLG},[`${Zo}-with-icon ${Zo}-message`]:{marginBottom:$n.marginXS,marginInlineStart:$n.marginSM+Jo,fontSize:In},[`${Zo}-with-icon ${Zo}-description`]:{marginInlineStart:$n.marginSM+Jo,fontSize:Xn},[`${Zo}-icon`]:{position:"absolute",fontSize:Jo,lineHeight:0,[`&-success${Cn}`]:{color:Dn},[`&-info${Cn}`]:{color:Ln},[`&-warning${Cn}`]:{color:Fn},[`&-error${Cn}`]:{color:Bn}},[`${Zo}-close`]:{position:"absolute",top:$n.notificationPaddingVertical,insetInlineEnd:$n.notificationPaddingHorizontal,color:$n.colorIcon,outline:"none",width:$n.notificationCloseButtonSize,height:$n.notificationCloseButtonSize,borderRadius:$n.borderRadiusSM,transition:`background-color ${$n.motionDurationMid}, color ${$n.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:$n.colorIconHover,backgroundColor:$n.wireframe?"transparent":$n.colorFillContent}},[`${Zo}-btn`]:{float:"right",marginTop:$n.marginSM}}},{[`${Zo}-pure-panel`]:{margin:0}}]},useStyle$x=genComponentStyleHook("Notification",$n=>{const Cn=$n.paddingMD,_n=$n.paddingLG,Pn=merge$1($n,{notificationBg:$n.colorBgElevated,notificationPaddingVertical:Cn,notificationPaddingHorizontal:_n,notificationPadding:`${$n.paddingMD}px ${$n.paddingContentHorizontalLG}px`,notificationMarginBottom:$n.margin,notificationMarginEdge:$n.marginLG,animationMaxHeight:150,notificationIconSize:$n.fontSizeLG*$n.lineHeightLG,notificationCloseButtonSize:$n.controlHeightLG*.55});return[genNotificationStyle(Pn)]},$n=>({zIndexPopup:$n.zIndexPopupBase+50,width:384}));function getCloseIcon($n,Cn){return Cn||createVNode("span",{class:`${$n}-close-x`},[createVNode(CloseOutlined$1,{class:`${$n}-close-icon`},null)])}createVNode(InfoCircleFilled$1,null,null),createVNode(CheckCircleFilled$1,null,null),createVNode(CloseCircleFilled$1,null,null),createVNode(ExclamationCircleFilled$1,null,null),createVNode(LoadingOutlined$1,null,null);const typeToIcon$1={success:CheckCircleFilled$1,info:InfoCircleFilled$1,error:CloseCircleFilled$1,warning:ExclamationCircleFilled$1};function PureContent($n){let{prefixCls:Cn,icon:_n,type:Pn,message:In,description:Nn,btn:Rn}=$n,Dn=null;if(_n)Dn=createVNode("span",{class:`${Cn}-icon`},[renderHelper(_n)]);else if(Pn){const Ln=typeToIcon$1[Pn];Dn=createVNode(Ln,{class:`${Cn}-icon ${Cn}-icon-${Pn}`},null)}return createVNode("div",{class:classNames({[`${Cn}-with-icon`]:Dn}),role:"alert"},[Dn,createVNode("div",{class:`${Cn}-message`},[In]),createVNode("div",{class:`${Cn}-description`},[Nn]),Rn&&createVNode("div",{class:`${Cn}-btn`},[Rn])])}function getPlacementStyle($n,Cn,_n){let Pn;switch(Cn=typeof Cn=="number"?`${Cn}px`:Cn,_n=typeof _n=="number"?`${_n}px`:_n,$n){case"top":Pn={left:"50%",transform:"translateX(-50%)",right:"auto",top:Cn,bottom:"auto"};break;case"topLeft":Pn={left:0,top:Cn,bottom:"auto"};break;case"topRight":Pn={right:0,top:Cn,bottom:"auto"};break;case"bottom":Pn={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:_n};break;case"bottomLeft":Pn={left:0,top:"auto",bottom:_n};break;default:Pn={right:0,top:"auto",bottom:_n};break}return Pn}function getMotion($n){return{name:`${$n}-fade`}}var __rest$N=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const DEFAULT_OFFSET=24,DEFAULT_DURATION=4.5,Holder=defineComponent({name:"Holder",inheritAttrs:!1,props:["prefixCls","class","type","icon","content","onAllRemoved"],setup($n,Cn){let{expose:_n}=Cn;const{getPrefixCls:Pn,getPopupContainer:In}=useConfigInject("notification",$n),Nn=computed(()=>$n.prefixCls||Pn("notification")),Rn=zn=>{var Wn,Yn;return getPlacementStyle(zn,(Wn=$n.top)!==null&&Wn!==void 0?Wn:DEFAULT_OFFSET,(Yn=$n.bottom)!==null&&Yn!==void 0?Yn:DEFAULT_OFFSET)},[,Dn]=useStyle$x(Nn),Ln=()=>classNames(Dn.value,{[`${Nn.value}-rtl`]:$n.rtl}),Fn=()=>getMotion(Nn.value),[Bn,Hn]=useNotification$1({prefixCls:Nn.value,getStyles:Rn,getClassName:Ln,motion:Fn,closable:!0,closeIcon:getCloseIcon(Nn.value),duration:DEFAULT_DURATION,getContainer:()=>{var zn,Wn;return((zn=$n.getPopupContainer)===null||zn===void 0?void 0:zn.call($n))||((Wn=In.value)===null||Wn===void 0?void 0:Wn.call(In))||document.body},maxCount:$n.maxCount,hashId:Dn.value,onAllRemoved:$n.onAllRemoved});return _n(_extends$1(_extends$1({},Bn),{prefixCls:Nn.value,hashId:Dn})),Hn}});function useInternalNotification($n){const Cn=shallowRef(null),_n=Symbol("notificationHolderKey"),Pn=Dn=>{if(!Cn.value)return;const{open:Ln,prefixCls:Fn,hashId:Bn}=Cn.value,Hn=`${Fn}-notice`,{message:zn,description:Wn,icon:Yn,type:Gn,btn:Go,class:Xn}=Dn,Yo=__rest$N(Dn,["message","description","icon","type","btn","class"]);return Ln(_extends$1(_extends$1({placement:"topRight"},Yo),{content:()=>createVNode(PureContent,{prefixCls:Hn,icon:typeof Yn=="function"?Yn():Yn,type:Gn,message:typeof zn=="function"?zn():zn,description:typeof Wn=="function"?Wn():Wn,btn:typeof Go=="function"?Go():Go},null),class:classNames(Gn&&`${Hn}-${Gn}`,Bn,Xn)}))},Nn={open:Pn,destroy:Dn=>{var Ln,Fn;Dn!==void 0?(Ln=Cn.value)===null||Ln===void 0||Ln.close(Dn):(Fn=Cn.value)===null||Fn===void 0||Fn.destroy()}};return["success","info","warning","error"].forEach(Dn=>{Nn[Dn]=Ln=>Pn(_extends$1(_extends$1({},Ln),{type:Dn}))}),[Nn,()=>createVNode(Holder,_objectSpread2$1(_objectSpread2$1({key:_n},$n),{},{ref:Cn}),null)]}function useNotification($n){return useInternalNotification($n)}const notificationInstance={};let defaultDuration=4.5,defaultTop="24px",defaultBottom="24px",defaultPrefixCls$1="",defaultPlacement="topRight",defaultGetContainer=()=>document.body,defaultCloseIcon=null,rtl=!1,maxCount;function setNotificationConfig($n){const{duration:Cn,placement:_n,bottom:Pn,top:In,getContainer:Nn,closeIcon:Rn,prefixCls:Dn}=$n;Dn!==void 0&&(defaultPrefixCls$1=Dn),Cn!==void 0&&(defaultDuration=Cn),_n!==void 0&&(defaultPlacement=_n),Pn!==void 0&&(defaultBottom=typeof Pn=="number"?`${Pn}px`:Pn),In!==void 0&&(defaultTop=typeof In=="number"?`${In}px`:In),Nn!==void 0&&(defaultGetContainer=Nn),Rn!==void 0&&(defaultCloseIcon=Rn),$n.rtl!==void 0&&(rtl=$n.rtl),$n.maxCount!==void 0&&(maxCount=$n.maxCount)}function getNotificationInstance($n,Cn){let{prefixCls:_n,placement:Pn=defaultPlacement,getContainer:In=defaultGetContainer,top:Nn,bottom:Rn,closeIcon:Dn=defaultCloseIcon,appContext:Ln}=$n;const{getPrefixCls:Fn}=globalConfig(),Bn=Fn("notification",_n||defaultPrefixCls$1),Hn=`${Bn}-${Pn}-${rtl}`,zn=notificationInstance[Hn];if(zn){Promise.resolve(zn).then(Yn=>{Cn(Yn)});return}const Wn=classNames(`${Bn}-${Pn}`,{[`${Bn}-rtl`]:rtl===!0});Notification$2.newInstance({name:"notification",prefixCls:_n||defaultPrefixCls$1,useStyle:useStyle$x,class:Wn,style:getPlacementStyle(Pn,Nn??defaultTop,Rn??defaultBottom),appContext:Ln,getContainer:In,closeIcon:Yn=>{let{prefixCls:Gn}=Yn;return createVNode("span",{class:`${Gn}-close-x`},[renderHelper(Dn,{},createVNode(CloseOutlined$1,{class:`${Gn}-close-icon`},null))])},maxCount,hasTransitionName:!0},Yn=>{notificationInstance[Hn]=Yn,Cn(Yn)})}const typeToIcon={success:CheckCircleOutlined$1,info:InfoCircleOutlined$1,error:CloseCircleOutlined$1,warning:ExclamationCircleOutlined$1};function notice($n){const{icon:Cn,type:_n,description:Pn,message:In,btn:Nn}=$n,Rn=$n.duration===void 0?defaultDuration:$n.duration;getNotificationInstance($n,Dn=>{Dn.notice({content:Ln=>{let{prefixCls:Fn}=Ln;const Bn=`${Fn}-notice`;let Hn=null;if(Cn)Hn=()=>createVNode("span",{class:`${Bn}-icon`},[renderHelper(Cn)]);else if(_n){const zn=typeToIcon[_n];Hn=()=>createVNode(zn,{class:`${Bn}-icon ${Bn}-icon-${_n}`},null)}return createVNode("div",{class:Hn?`${Bn}-with-icon`:""},[Hn&&Hn(),createVNode("div",{class:`${Bn}-message`},[!Pn&&Hn?createVNode("span",{class:`${Bn}-message-single-line-auto-margin`},null):null,renderHelper(In)]),createVNode("div",{class:`${Bn}-description`},[renderHelper(Pn)]),Nn?createVNode("span",{class:`${Bn}-btn`},[renderHelper(Nn)]):null])},duration:Rn,closable:!0,onClose:$n.onClose,onClick:$n.onClick,key:$n.key,style:$n.style||{},class:$n.class})})}const api$1={open:notice,close($n){Object.keys(notificationInstance).forEach(Cn=>Promise.resolve(notificationInstance[Cn]).then(_n=>{_n.removeNotice($n)}))},config:setNotificationConfig,destroy(){Object.keys(notificationInstance).forEach($n=>{Promise.resolve(notificationInstance[$n]).then(Cn=>{Cn.destroy()}),delete notificationInstance[$n]})}},iconTypes=["success","info","warning","error"];iconTypes.forEach($n=>{api$1[$n]=Cn=>api$1.open(_extends$1(_extends$1({},Cn),{type:$n}))});api$1.warn=api$1.warning;api$1.useNotification=useNotification;const notification=api$1,dynamicStyleMark=`-ant-${Date.now()}-${Math.random()}`;function getStyle$1($n,Cn){const _n={},Pn=(Rn,Dn)=>{let Ln=Rn.clone();return Ln=(Dn==null?void 0:Dn(Ln))||Ln,Ln.toRgbString()},In=(Rn,Dn)=>{const Ln=new TinyColor(Rn),Fn=generate$2(Ln.toRgbString());_n[`${Dn}-color`]=Pn(Ln),_n[`${Dn}-color-disabled`]=Fn[1],_n[`${Dn}-color-hover`]=Fn[4],_n[`${Dn}-color-active`]=Fn[6],_n[`${Dn}-color-outline`]=Ln.clone().setAlpha(.2).toRgbString(),_n[`${Dn}-color-deprecated-bg`]=Fn[0],_n[`${Dn}-color-deprecated-border`]=Fn[2]};if(Cn.primaryColor){In(Cn.primaryColor,"primary");const Rn=new TinyColor(Cn.primaryColor),Dn=generate$2(Rn.toRgbString());Dn.forEach((Fn,Bn)=>{_n[`primary-${Bn+1}`]=Fn}),_n["primary-color-deprecated-l-35"]=Pn(Rn,Fn=>Fn.lighten(35)),_n["primary-color-deprecated-l-20"]=Pn(Rn,Fn=>Fn.lighten(20)),_n["primary-color-deprecated-t-20"]=Pn(Rn,Fn=>Fn.tint(20)),_n["primary-color-deprecated-t-50"]=Pn(Rn,Fn=>Fn.tint(50)),_n["primary-color-deprecated-f-12"]=Pn(Rn,Fn=>Fn.setAlpha(Fn.getAlpha()*.12));const Ln=new TinyColor(Dn[0]);_n["primary-color-active-deprecated-f-30"]=Pn(Ln,Fn=>Fn.setAlpha(Fn.getAlpha()*.3)),_n["primary-color-active-deprecated-d-02"]=Pn(Ln,Fn=>Fn.darken(2))}return Cn.successColor&&In(Cn.successColor,"success"),Cn.warningColor&&In(Cn.warningColor,"warning"),Cn.errorColor&&In(Cn.errorColor,"error"),Cn.infoColor&&In(Cn.infoColor,"info"),`
- :root {
- ${Object.keys(_n).map(Rn=>`--${$n}-${Rn}: ${_n[Rn]};`).join(`
-`)}
- }
- `.trim()}function registerTheme($n,Cn){const _n=getStyle$1($n,Cn);canUseDom$1()?updateCSS$1(_n,`${dynamicStyleMark}-dynamic-theme`):warning$3()}const useStyle$w=$n=>{const[Cn,_n]=useToken();return useStyleRegister(computed(()=>({theme:Cn.value,token:_n.value,hashId:"",path:["ant-design-icons",$n.value]})),()=>[{[`.${$n.value}`]:_extends$1(_extends$1({},resetIcon()),{[`.${$n.value} .${$n.value}-icon`]:{display:"block"}})}])};function useTheme($n,Cn){const _n=computed(()=>($n==null?void 0:$n.value)||{}),Pn=computed(()=>_n.value.inherit===!1||!(Cn!=null&&Cn.value)?defaultConfig$1:Cn.value);return computed(()=>{if(!($n!=null&&$n.value))return Cn==null?void 0:Cn.value;const Nn=_extends$1({},Pn.value.components);return Object.keys($n.value.components||{}).forEach(Rn=>{Nn[Rn]=_extends$1(_extends$1({},Nn[Rn]),$n.value.components[Rn])}),_extends$1(_extends$1(_extends$1({},Pn.value),_n.value),{token:_extends$1(_extends$1({},Pn.value.token),_n.value.token),components:Nn})})}var __rest$M=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const defaultPrefixCls="ant";function getGlobalPrefixCls(){return globalConfigForApi.prefixCls||defaultPrefixCls}function getGlobalIconPrefixCls(){return globalConfigForApi.iconPrefixCls||defaultIconPrefixCls}const globalConfigBySet=reactive({}),globalConfigForApi=reactive({});watchEffect(()=>{_extends$1(globalConfigForApi,globalConfigBySet),globalConfigForApi.prefixCls=getGlobalPrefixCls(),globalConfigForApi.iconPrefixCls=getGlobalIconPrefixCls(),globalConfigForApi.getPrefixCls=($n,Cn)=>Cn||($n?`${globalConfigForApi.prefixCls}-${$n}`:globalConfigForApi.prefixCls),globalConfigForApi.getRootPrefixCls=()=>globalConfigForApi.prefixCls?globalConfigForApi.prefixCls:getGlobalPrefixCls()});let stopWatchEffect;const setGlobalConfig=$n=>{stopWatchEffect&&stopWatchEffect(),stopWatchEffect=watchEffect(()=>{_extends$1(globalConfigBySet,reactive($n)),_extends$1(globalConfigForApi,reactive($n))}),$n.theme&®isterTheme(getGlobalPrefixCls(),$n.theme)},globalConfig=()=>({getPrefixCls:($n,Cn)=>Cn||($n?`${getGlobalPrefixCls()}-${$n}`:getGlobalPrefixCls()),getIconPrefixCls:getGlobalIconPrefixCls,getRootPrefixCls:()=>globalConfigForApi.prefixCls?globalConfigForApi.prefixCls:getGlobalPrefixCls()}),ConfigProvider=defineComponent({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:configProviderProps(),setup($n,Cn){let{slots:_n}=Cn;const Pn=useConfigContextInject(),In=(aa,ca)=>{const{prefixCls:sa="ant"}=$n;if(ca)return ca;const ia=sa||Pn.getPrefixCls("");return aa?`${ia}-${aa}`:ia},Nn=computed(()=>$n.iconPrefixCls||Pn.iconPrefixCls.value||defaultIconPrefixCls),Rn=computed(()=>Nn.value!==Pn.iconPrefixCls.value),Dn=computed(()=>{var aa;return $n.csp||((aa=Pn.csp)===null||aa===void 0?void 0:aa.value)}),Ln=useStyle$w(Nn),Fn=useTheme(computed(()=>$n.theme),computed(()=>{var aa;return(aa=Pn.theme)===null||aa===void 0?void 0:aa.value})),Bn=aa=>($n.renderEmpty||_n.renderEmpty||Pn.renderEmpty||renderEmpty)(aa),Hn=computed(()=>{var aa,ca;return(aa=$n.autoInsertSpaceInButton)!==null&&aa!==void 0?aa:(ca=Pn.autoInsertSpaceInButton)===null||ca===void 0?void 0:ca.value}),zn=computed(()=>{var aa;return $n.locale||((aa=Pn.locale)===null||aa===void 0?void 0:aa.value)});watch(zn,()=>{globalConfigBySet.locale=zn.value},{immediate:!0});const Wn=computed(()=>{var aa;return $n.direction||((aa=Pn.direction)===null||aa===void 0?void 0:aa.value)}),Yn=computed(()=>{var aa,ca;return(aa=$n.space)!==null&&aa!==void 0?aa:(ca=Pn.space)===null||ca===void 0?void 0:ca.value}),Gn=computed(()=>{var aa,ca;return(aa=$n.virtual)!==null&&aa!==void 0?aa:(ca=Pn.virtual)===null||ca===void 0?void 0:ca.value}),Go=computed(()=>{var aa,ca;return(aa=$n.dropdownMatchSelectWidth)!==null&&aa!==void 0?aa:(ca=Pn.dropdownMatchSelectWidth)===null||ca===void 0?void 0:ca.value}),Xn=computed(()=>{var aa;return $n.getTargetContainer!==void 0?$n.getTargetContainer:(aa=Pn.getTargetContainer)===null||aa===void 0?void 0:aa.value}),Yo=computed(()=>{var aa;return $n.getPopupContainer!==void 0?$n.getPopupContainer:(aa=Pn.getPopupContainer)===null||aa===void 0?void 0:aa.value}),qo=computed(()=>{var aa;return $n.pageHeader!==void 0?$n.pageHeader:(aa=Pn.pageHeader)===null||aa===void 0?void 0:aa.value}),Jo=computed(()=>{var aa;return $n.input!==void 0?$n.input:(aa=Pn.input)===null||aa===void 0?void 0:aa.value}),Zo=computed(()=>{var aa;return $n.pagination!==void 0?$n.pagination:(aa=Pn.pagination)===null||aa===void 0?void 0:aa.value}),rr=computed(()=>{var aa;return $n.form!==void 0?$n.form:(aa=Pn.form)===null||aa===void 0?void 0:aa.value}),nr=computed(()=>{var aa;return $n.select!==void 0?$n.select:(aa=Pn.select)===null||aa===void 0?void 0:aa.value}),ta=computed(()=>$n.componentSize),oa=computed(()=>$n.componentDisabled),ra=computed(()=>{var aa,ca;return(aa=$n.wave)!==null&&aa!==void 0?aa:(ca=Pn.wave)===null||ca===void 0?void 0:ca.value}),ea={csp:Dn,autoInsertSpaceInButton:Hn,locale:zn,direction:Wn,space:Yn,virtual:Gn,dropdownMatchSelectWidth:Go,getPrefixCls:In,iconPrefixCls:Nn,theme:computed(()=>{var aa,ca;return(aa=Fn.value)!==null&&aa!==void 0?aa:(ca=Pn.theme)===null||ca===void 0?void 0:ca.value}),renderEmpty:Bn,getTargetContainer:Xn,getPopupContainer:Yo,pageHeader:qo,input:Jo,pagination:Zo,form:rr,select:nr,componentSize:ta,componentDisabled:oa,transformCellText:computed(()=>$n.transformCellText),wave:ra},la=computed(()=>{const aa=Fn.value||{},{algorithm:ca,token:sa}=aa,ia=__rest$M(aa,["algorithm","token"]),fa=ca&&(!Array.isArray(ca)||ca.length>0)?createTheme(ca):void 0;return _extends$1(_extends$1({},ia),{theme:fa,token:_extends$1(_extends$1({},defaultSeedToken),sa)})}),ua=computed(()=>{var aa,ca;let sa={};return zn.value&&(sa=((aa=zn.value.Form)===null||aa===void 0?void 0:aa.defaultValidateMessages)||((ca=localeValues$1.Form)===null||ca===void 0?void 0:ca.defaultValidateMessages)||{}),$n.form&&$n.form.validateMessages&&(sa=_extends$1(_extends$1({},sa),$n.form.validateMessages)),sa});useConfigContextProvider(ea),useProvideGlobalForm({validateMessages:ua}),useProviderSize(ta),useProviderDisabled(oa);const ga=aa=>{var ca,sa;let ia=Rn.value?Ln((ca=_n.default)===null||ca===void 0?void 0:ca.call(_n)):(sa=_n.default)===null||sa===void 0?void 0:sa.call(_n);if($n.theme){const fa=function(){return ia}();ia=createVNode(DesignTokenProvider,{value:la.value},{default:()=>[fa]})}return createVNode(locale$3,{locale:zn.value||aa,ANT_MARK__:ANT_MARK},{default:()=>[ia]})};return watchEffect(()=>{Wn.value&&(message.config({rtl:Wn.value==="rtl"}),notification.config({rtl:Wn.value==="rtl"}))}),()=>createVNode(LocaleReceiver,{children:(aa,ca,sa)=>ga(sa)},null)}});ConfigProvider.config=setGlobalConfig;ConfigProvider.install=function($n){$n.component(ConfigProvider.name,ConfigProvider)};const ConfigProvider$1=ConfigProvider,PickerButton=($n,Cn)=>{let{attrs:_n,slots:Pn}=Cn;return createVNode(Button$1,_objectSpread2$1(_objectSpread2$1({size:"small",type:"primary"},$n),_n),Pn)},PickerButton$1=PickerButton,genTagStatusStyle=($n,Cn,_n)=>{const Pn=capitalize$1(_n);return{[`${$n.componentCls}-${Cn}`]:{color:$n[`color${_n}`],background:$n[`color${Pn}Bg`],borderColor:$n[`color${Pn}Border`],[`&${$n.componentCls}-borderless`]:{borderColor:"transparent"}}}},genPresetStyle=$n=>genPresetColor($n,(Cn,_n)=>{let{textColor:Pn,lightBorderColor:In,lightColor:Nn,darkColor:Rn}=_n;return{[`${$n.componentCls}-${Cn}`]:{color:Pn,background:Nn,borderColor:In,"&-inverse":{color:$n.colorTextLightSolid,background:Rn,borderColor:Rn},[`&${$n.componentCls}-borderless`]:{borderColor:"transparent"}}}}),genBaseStyle$a=$n=>{const{paddingXXS:Cn,lineWidth:_n,tagPaddingHorizontal:Pn,componentCls:In}=$n,Nn=Pn-_n,Rn=Cn-_n;return{[In]:_extends$1(_extends$1({},resetComponent($n)),{display:"inline-block",height:"auto",marginInlineEnd:$n.marginXS,paddingInline:Nn,fontSize:$n.tagFontSize,lineHeight:`${$n.tagLineHeight}px`,whiteSpace:"nowrap",background:$n.tagDefaultBg,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:$n.borderRadiusSM,opacity:1,transition:`all ${$n.motionDurationMid}`,textAlign:"start",[`&${In}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:$n.tagDefaultColor},[`${In}-close-icon`]:{marginInlineStart:Rn,color:$n.colorTextDescription,fontSize:$n.tagIconSize,cursor:"pointer",transition:`all ${$n.motionDurationMid}`,"&:hover":{color:$n.colorTextHeading}},[`&${In}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${$n.iconCls}-close, ${$n.iconCls}-close:hover`]:{color:$n.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${In}-checkable-checked):hover`]:{color:$n.colorPrimary,backgroundColor:$n.colorFillSecondary},"&:active, &-checked":{color:$n.colorTextLightSolid},"&-checked":{backgroundColor:$n.colorPrimary,"&:hover":{backgroundColor:$n.colorPrimaryHover}},"&:active":{backgroundColor:$n.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${$n.iconCls} + span, > span + ${$n.iconCls}`]:{marginInlineStart:Nn}}),[`${In}-borderless`]:{borderColor:"transparent",background:$n.tagBorderlessBg}}},useStyle$v=genComponentStyleHook("Tag",$n=>{const{fontSize:Cn,lineHeight:_n,lineWidth:Pn,fontSizeIcon:In}=$n,Nn=Math.round(Cn*_n),Rn=$n.fontSizeSM,Dn=Nn-Pn*2,Ln=$n.colorFillAlter,Fn=$n.colorText,Bn=merge$1($n,{tagFontSize:Rn,tagLineHeight:Dn,tagDefaultBg:Ln,tagDefaultColor:Fn,tagIconSize:In-2*Pn,tagPaddingHorizontal:8,tagBorderlessBg:$n.colorFillTertiary});return[genBaseStyle$a(Bn),genPresetStyle(Bn),genTagStatusStyle(Bn,"success","Success"),genTagStatusStyle(Bn,"processing","Info"),genTagStatusStyle(Bn,"error","Error"),genTagStatusStyle(Bn,"warning","Warning")]}),checkableTagProps=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),CheckableTag=defineComponent({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:checkableTagProps(),setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const{prefixCls:Nn}=useConfigInject("tag",$n),[Rn,Dn]=useStyle$v(Nn),Ln=Bn=>{const{checked:Hn}=$n;Pn("update:checked",!Hn),Pn("change",!Hn),Pn("click",Bn)},Fn=computed(()=>classNames(Nn.value,Dn.value,{[`${Nn.value}-checkable`]:!0,[`${Nn.value}-checkable-checked`]:$n.checked}));return()=>{var Bn;return Rn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},In),{},{class:[Fn.value,In.class],onClick:Ln}),[(Bn=_n.default)===null||Bn===void 0?void 0:Bn.call(_n)]))}}}),CheckableTag$1=CheckableTag,tagProps=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:PropTypes.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:eventType(),"onUpdate:visible":Function,icon:PropTypes.any,bordered:{type:Boolean,default:!0}}),Tag=defineComponent({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:tagProps(),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const{prefixCls:Nn,direction:Rn}=useConfigInject("tag",$n),[Dn,Ln]=useStyle$v(Nn),Fn=shallowRef(!0);watchEffect(()=>{$n.visible!==void 0&&(Fn.value=$n.visible)});const Bn=Yn=>{Yn.stopPropagation(),Pn("update:visible",!1),Pn("close",Yn),!Yn.defaultPrevented&&$n.visible===void 0&&(Fn.value=!1)},Hn=computed(()=>isPresetColor($n.color)||isPresetStatusColor($n.color)),zn=computed(()=>classNames(Nn.value,Ln.value,{[`${Nn.value}-${$n.color}`]:Hn.value,[`${Nn.value}-has-color`]:$n.color&&!Hn.value,[`${Nn.value}-hidden`]:!Fn.value,[`${Nn.value}-rtl`]:Rn.value==="rtl",[`${Nn.value}-borderless`]:!$n.bordered})),Wn=Yn=>{Pn("click",Yn)};return()=>{var Yn,Gn,Go;const{icon:Xn=(Yn=_n.icon)===null||Yn===void 0?void 0:Yn.call(_n),color:Yo,closeIcon:qo=(Gn=_n.closeIcon)===null||Gn===void 0?void 0:Gn.call(_n),closable:Jo=!1}=$n,Zo=()=>Jo?qo?createVNode("span",{class:`${Nn.value}-close-icon`,onClick:Bn},[qo]):createVNode(CloseOutlined$1,{class:`${Nn.value}-close-icon`,onClick:Bn},null):null,rr={backgroundColor:Yo&&!Hn.value?Yo:void 0},nr=Xn||null,ta=(Go=_n.default)===null||Go===void 0?void 0:Go.call(_n),oa=nr?createVNode(Fragment,null,[nr,createVNode("span",null,[ta])]):ta,ra=$n.onClick!==void 0,ea=createVNode("span",_objectSpread2$1(_objectSpread2$1({},In),{},{onClick:Wn,class:[zn.value,In.class],style:[rr,In.style]}),[oa,Zo()]);return Dn(ra?createVNode(Wave,null,{default:()=>[ea]}):ea)}}});Tag.CheckableTag=CheckableTag$1;Tag.install=function($n){return $n.component(Tag.name,Tag),$n.component(CheckableTag$1.name,CheckableTag$1),$n};const Tag$1=Tag;function PickerTag($n,Cn){let{slots:_n,attrs:Pn}=Cn;return createVNode(Tag$1,_objectSpread2$1(_objectSpread2$1({color:"blue"},$n),Pn),_n)}var CalendarOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const CalendarOutlinedSvg=CalendarOutlined$2;function _objectSpread$B($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$B($n,In,_n[In])})}return $n}function _defineProperty$B($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CalendarOutlined=function(Cn,_n){var Pn=_objectSpread$B({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$B({},Pn,{icon:CalendarOutlinedSvg}),null)};CalendarOutlined.displayName="CalendarOutlined";CalendarOutlined.inheritAttrs=!1;const CalendarOutlined$1=CalendarOutlined;var ClockCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const ClockCircleOutlinedSvg=ClockCircleOutlined$2;function _objectSpread$A($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$A($n,In,_n[In])})}return $n}function _defineProperty$A($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ClockCircleOutlined=function(Cn,_n){var Pn=_objectSpread$A({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$A({},Pn,{icon:ClockCircleOutlinedSvg}),null)};ClockCircleOutlined.displayName="ClockCircleOutlined";ClockCircleOutlined.inheritAttrs=!1;const ClockCircleOutlined$1=ClockCircleOutlined;function getPlaceholder($n,Cn,_n){return _n!==void 0?_n:Cn==="year"&&$n.lang.yearPlaceholder?$n.lang.yearPlaceholder:Cn==="quarter"&&$n.lang.quarterPlaceholder?$n.lang.quarterPlaceholder:Cn==="month"&&$n.lang.monthPlaceholder?$n.lang.monthPlaceholder:Cn==="week"&&$n.lang.weekPlaceholder?$n.lang.weekPlaceholder:Cn==="time"&&$n.timePickerLocale.placeholder?$n.timePickerLocale.placeholder:$n.lang.placeholder}function getRangePlaceholder($n,Cn,_n){return _n!==void 0?_n:Cn==="year"&&$n.lang.yearPlaceholder?$n.lang.rangeYearPlaceholder:Cn==="month"&&$n.lang.monthPlaceholder?$n.lang.rangeMonthPlaceholder:Cn==="week"&&$n.lang.weekPlaceholder?$n.lang.rangeWeekPlaceholder:Cn==="time"&&$n.timePickerLocale.placeholder?$n.timePickerLocale.rangePlaceholder:$n.lang.rangePlaceholder}function transPlacement2DropdownAlign($n,Cn){const _n={adjustX:1,adjustY:1};switch(Cn){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:_n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:_n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:_n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:_n};default:return{points:$n==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:_n}}}function commonProps$1(){return{id:String,dropdownClassName:String,popupClassName:String,popupStyle:objectType(),transitionName:String,placeholder:String,allowClear:booleanType(),autofocus:booleanType(),disabled:booleanType(),tabindex:Number,open:booleanType(),defaultOpen:booleanType(),inputReadOnly:booleanType(),format:someType([String,Function,Array]),getPopupContainer:functionType(),panelRender:functionType(),onChange:functionType(),"onUpdate:value":functionType(),onOk:functionType(),onOpenChange:functionType(),"onUpdate:open":functionType(),onFocus:functionType(),onBlur:functionType(),onMousedown:functionType(),onMouseup:functionType(),onMouseenter:functionType(),onMouseleave:functionType(),onClick:functionType(),onContextmenu:functionType(),onKeydown:functionType(),role:String,name:String,autocomplete:String,direction:stringType(),showToday:booleanType(),showTime:someType([Boolean,Object]),locale:objectType(),size:stringType(),bordered:booleanType(),dateRender:functionType(),disabledDate:functionType(),mode:stringType(),picker:stringType(),valueFormat:String,placement:stringType(),status:stringType(),disabledHours:functionType(),disabledMinutes:functionType(),disabledSeconds:functionType()}}function datePickerProps(){return{defaultPickerValue:someType([Object,String]),defaultValue:someType([Object,String]),value:someType([Object,String]),presets:arrayType(),disabledTime:functionType(),renderExtraFooter:functionType(),showNow:booleanType(),monthCellRender:functionType(),monthCellContentRender:functionType()}}function rangePickerProps(){return{allowEmpty:arrayType(),dateRender:functionType(),defaultPickerValue:arrayType(),defaultValue:arrayType(),value:arrayType(),presets:arrayType(),disabledTime:functionType(),disabled:someType([Boolean,Array]),renderExtraFooter:functionType(),separator:{type:String},showTime:someType([Boolean,Object]),ranges:objectType(),placeholder:arrayType(),mode:arrayType(),onChange:functionType(),"onUpdate:value":functionType(),onCalendarChange:functionType(),onPanelChange:functionType(),onOk:functionType()}}var __rest$L=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function generateSinglePicker($n,Cn){function _n(Fn,Bn){const Hn=_extends$1(_extends$1(_extends$1({},commonProps$1()),datePickerProps()),Cn);return defineComponent({compatConfig:{MODE:3},name:Bn,inheritAttrs:!1,props:Hn,slots:Object,setup(zn,Wn){let{slots:Yn,expose:Gn,attrs:Go,emit:Xn}=Wn;const Yo=zn,qo=useInjectFormItemContext(),Jo=FormItemInputContext.useInject(),{prefixCls:Zo,direction:rr,getPopupContainer:nr,size:ta,rootPrefixCls:oa,disabled:ra}=useConfigInject("picker",Yo),{compactSize:ea,compactItemClassnames:la}=useCompactItemContext(Zo,rr),ua=computed(()=>ea.value||ta.value),[ga,aa]=useStyle$J(Zo),ca=ref();Gn({focus:()=>{var La;(La=ca.value)===null||La===void 0||La.focus()},blur:()=>{var La;(La=ca.value)===null||La===void 0||La.blur()}});const sa=La=>Yo.valueFormat?$n.toString(La,Yo.valueFormat):La,ia=(La,Na)=>{const $a=sa(La);Xn("update:value",$a),Xn("change",$a,Na),qo.onFieldChange()},fa=La=>{Xn("update:open",La),Xn("openChange",La)},ma=La=>{Xn("focus",La)},ya=La=>{Xn("blur",La),qo.onFieldBlur()},ba=(La,Na)=>{const $a=sa(La);Xn("panelChange",$a,Na)},Ia=La=>{const Na=sa(La);Xn("ok",Na)},[Ea]=useLocaleReceiver("DatePicker",enUS),xa=computed(()=>Yo.value?Yo.valueFormat?$n.toDate(Yo.value,Yo.valueFormat):Yo.value:Yo.value===""?void 0:Yo.value),Ta=computed(()=>Yo.defaultValue?Yo.valueFormat?$n.toDate(Yo.defaultValue,Yo.valueFormat):Yo.defaultValue:Yo.defaultValue===""?void 0:Yo.defaultValue),wa=computed(()=>Yo.defaultPickerValue?Yo.valueFormat?$n.toDate(Yo.defaultPickerValue,Yo.valueFormat):Yo.defaultPickerValue:Yo.defaultPickerValue===""?void 0:Yo.defaultPickerValue);return()=>{var La,Na,$a,ka,Ha,da;const pa=_extends$1(_extends$1({},Ea.value),Yo.locale),Sa=_extends$1(_extends$1({},Yo),Go),{bordered:Aa=!0,placeholder:Ra,suffixIcon:Fa=(La=Yn.suffixIcon)===null||La===void 0?void 0:La.call(Yn),showToday:za=!0,transitionName:Wa,allowClear:Ya=!0,dateRender:ja=Yn.dateRender,renderExtraFooter:qa=Yn.renderExtraFooter,monthCellRender:Xa=Yn.monthCellRender||Yo.monthCellContentRender||Yn.monthCellContentRender,clearIcon:Oa=(Na=Yn.clearIcon)===null||Na===void 0?void 0:Na.call(Yn),id:Ma=qo.id.value}=Sa,Ua=__rest$L(Sa,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),Qa=Sa.showTime===""?!0:Sa.showTime,{format:ri}=Sa;let fi={};Fn&&(fi.picker=Fn);const ei=Fn||Sa.picker||"date";fi=_extends$1(_extends$1(_extends$1({},fi),Qa?getTimeProps(_extends$1({format:ri,picker:ei},typeof Qa=="object"?Qa:{})):{}),ei==="time"?getTimeProps(_extends$1(_extends$1({format:ri},Ua),{picker:ei})):{});const ti=Zo.value,ni=createVNode(Fragment,null,[Fa||createVNode(Fn==="time"?ClockCircleOutlined$1:CalendarOutlined$1,null,null),Jo.hasFeedback&&Jo.feedbackIcon]);return ga(createVNode(Picker$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({monthCellRender:Xa,dateRender:ja,renderExtraFooter:qa,ref:ca,placeholder:getPlaceholder(pa,ei,Ra),suffixIcon:ni,dropdownAlign:transPlacement2DropdownAlign(rr.value,Yo.placement),clearIcon:Oa||createVNode(CloseCircleFilled$1,null,null),allowClear:Ya,transitionName:Wa||`${oa.value}-slide-up`},Ua),fi),{},{id:Ma,picker:ei,value:xa.value,defaultValue:Ta.value,defaultPickerValue:wa.value,showToday:za,locale:pa.lang,class:classNames({[`${ti}-${ua.value}`]:ua.value,[`${ti}-borderless`]:!Aa},getStatusClassNames(ti,getMergedStatus(Jo.status,Yo.status),Jo.hasFeedback),Go.class,aa.value,la.value),disabled:ra.value,prefixCls:ti,getPopupContainer:Go.getCalendarContainer||nr.value,generateConfig:$n,prevIcon:(($a=Yn.prevIcon)===null||$a===void 0?void 0:$a.call(Yn))||createVNode("span",{class:`${ti}-prev-icon`},null),nextIcon:((ka=Yn.nextIcon)===null||ka===void 0?void 0:ka.call(Yn))||createVNode("span",{class:`${ti}-next-icon`},null),superPrevIcon:((Ha=Yn.superPrevIcon)===null||Ha===void 0?void 0:Ha.call(Yn))||createVNode("span",{class:`${ti}-super-prev-icon`},null),superNextIcon:((da=Yn.superNextIcon)===null||da===void 0?void 0:da.call(Yn))||createVNode("span",{class:`${ti}-super-next-icon`},null),components:Components,direction:rr.value,dropdownClassName:classNames(aa.value,Yo.popupClassName,Yo.dropdownClassName),onChange:ia,onOpenChange:fa,onFocus:ma,onBlur:ya,onPanelChange:ba,onOk:Ia}),null))}}})}const Pn=_n(void 0,"ADatePicker"),In=_n("week","AWeekPicker"),Nn=_n("month","AMonthPicker"),Rn=_n("year","AYearPicker"),Dn=_n("time","TimePicker"),Ln=_n("quarter","AQuarterPicker");return{DatePicker:Pn,WeekPicker:In,MonthPicker:Nn,YearPicker:Rn,TimePicker:Dn,QuarterPicker:Ln}}var SwapRightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const SwapRightOutlinedSvg=SwapRightOutlined$2;function _objectSpread$z($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$z($n,In,_n[In])})}return $n}function _defineProperty$z($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var SwapRightOutlined=function(Cn,_n){var Pn=_objectSpread$z({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$z({},Pn,{icon:SwapRightOutlinedSvg}),null)};SwapRightOutlined.displayName="SwapRightOutlined";SwapRightOutlined.inheritAttrs=!1;const SwapRightOutlined$1=SwapRightOutlined;var __rest$K=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function generateRangePicker($n,Cn){return defineComponent({compatConfig:{MODE:3},name:"ARangePicker",inheritAttrs:!1,props:_extends$1(_extends$1(_extends$1({},commonProps$1()),rangePickerProps()),Cn),slots:Object,setup(Pn,In){let{expose:Nn,slots:Rn,attrs:Dn,emit:Ln}=In;const Fn=Pn,Bn=useInjectFormItemContext(),Hn=FormItemInputContext.useInject(),{prefixCls:zn,direction:Wn,getPopupContainer:Yn,size:Gn,rootPrefixCls:Go,disabled:Xn}=useConfigInject("picker",Fn),{compactSize:Yo,compactItemClassnames:qo}=useCompactItemContext(zn,Wn),Jo=computed(()=>Yo.value||Gn.value),[Zo,rr]=useStyle$J(zn),nr=ref();Nn({focus:()=>{var ma;(ma=nr.value)===null||ma===void 0||ma.focus()},blur:()=>{var ma;(ma=nr.value)===null||ma===void 0||ma.blur()}});const ta=ma=>Fn.valueFormat?$n.toString(ma,Fn.valueFormat):ma,oa=(ma,ya)=>{const ba=ta(ma);Ln("update:value",ba),Ln("change",ba,ya),Bn.onFieldChange()},ra=ma=>{Ln("update:open",ma),Ln("openChange",ma)},ea=ma=>{Ln("focus",ma)},la=ma=>{Ln("blur",ma),Bn.onFieldBlur()},ua=(ma,ya)=>{const ba=ta(ma);Ln("panelChange",ba,ya)},ga=ma=>{const ya=ta(ma);Ln("ok",ya)},aa=(ma,ya,ba)=>{const Ia=ta(ma);Ln("calendarChange",Ia,ya,ba)},[ca]=useLocaleReceiver("DatePicker",enUS),sa=computed(()=>Fn.value&&Fn.valueFormat?$n.toDate(Fn.value,Fn.valueFormat):Fn.value),ia=computed(()=>Fn.defaultValue&&Fn.valueFormat?$n.toDate(Fn.defaultValue,Fn.valueFormat):Fn.defaultValue),fa=computed(()=>Fn.defaultPickerValue&&Fn.valueFormat?$n.toDate(Fn.defaultPickerValue,Fn.valueFormat):Fn.defaultPickerValue);return()=>{var ma,ya,ba,Ia,Ea,xa,Ta;const wa=_extends$1(_extends$1({},ca.value),Fn.locale),La=_extends$1(_extends$1({},Fn),Dn),{prefixCls:Na,bordered:$a=!0,placeholder:ka,suffixIcon:Ha=(ma=Rn.suffixIcon)===null||ma===void 0?void 0:ma.call(Rn),picker:da="date",transitionName:pa,allowClear:Sa=!0,dateRender:Aa=Rn.dateRender,renderExtraFooter:Ra=Rn.renderExtraFooter,separator:Fa=(ya=Rn.separator)===null||ya===void 0?void 0:ya.call(Rn),clearIcon:za=(ba=Rn.clearIcon)===null||ba===void 0?void 0:ba.call(Rn),id:Wa=Bn.id.value}=La,Ya=__rest$K(La,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete Ya["onUpdate:value"],delete Ya["onUpdate:open"];const{format:ja,showTime:qa}=La;let Xa={};Xa=_extends$1(_extends$1(_extends$1({},Xa),qa?getTimeProps(_extends$1({format:ja,picker:da},qa)):{}),da==="time"?getTimeProps(_extends$1(_extends$1({format:ja},omit$1(Ya,["disabledTime"])),{picker:da})):{});const Oa=zn.value,Ma=createVNode(Fragment,null,[Ha||createVNode(da==="time"?ClockCircleOutlined$1:CalendarOutlined$1,null,null),Hn.hasFeedback&&Hn.feedbackIcon]);return Zo(createVNode(VCRangePicker,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({dateRender:Aa,renderExtraFooter:Ra,separator:Fa||createVNode("span",{"aria-label":"to",class:`${Oa}-separator`},[createVNode(SwapRightOutlined$1,null,null)]),ref:nr,dropdownAlign:transPlacement2DropdownAlign(Wn.value,Fn.placement),placeholder:getRangePlaceholder(wa,da,ka),suffixIcon:Ma,clearIcon:za||createVNode(CloseCircleFilled$1,null,null),allowClear:Sa,transitionName:pa||`${Go.value}-slide-up`},Ya),Xa),{},{disabled:Xn.value,id:Wa,value:sa.value,defaultValue:ia.value,defaultPickerValue:fa.value,picker:da,class:classNames({[`${Oa}-${Jo.value}`]:Jo.value,[`${Oa}-borderless`]:!$a},getStatusClassNames(Oa,getMergedStatus(Hn.status,Fn.status),Hn.hasFeedback),Dn.class,rr.value,qo.value),locale:wa.lang,prefixCls:Oa,getPopupContainer:Dn.getCalendarContainer||Yn.value,generateConfig:$n,prevIcon:((Ia=Rn.prevIcon)===null||Ia===void 0?void 0:Ia.call(Rn))||createVNode("span",{class:`${Oa}-prev-icon`},null),nextIcon:((Ea=Rn.nextIcon)===null||Ea===void 0?void 0:Ea.call(Rn))||createVNode("span",{class:`${Oa}-next-icon`},null),superPrevIcon:((xa=Rn.superPrevIcon)===null||xa===void 0?void 0:xa.call(Rn))||createVNode("span",{class:`${Oa}-super-prev-icon`},null),superNextIcon:((Ta=Rn.superNextIcon)===null||Ta===void 0?void 0:Ta.call(Rn))||createVNode("span",{class:`${Oa}-super-next-icon`},null),components:Components,direction:Wn.value,dropdownClassName:classNames(rr.value,Fn.popupClassName,Fn.dropdownClassName),onChange:oa,onOpenChange:ra,onFocus:ea,onBlur:la,onPanelChange:ua,onOk:ga,onCalendarChange:aa}),null))}}})}const Components={button:PickerButton$1,rangeItem:PickerTag};function toArray$3($n){return $n?Array.isArray($n)?$n:[$n]:[]}function getTimeProps($n){const{format:Cn,picker:_n,showHour:Pn,showMinute:In,showSecond:Nn,use12Hours:Rn}=$n,Dn=toArray$3(Cn)[0],Ln=_extends$1({},$n);return Dn&&typeof Dn=="string"&&(!Dn.includes("s")&&Nn===void 0&&(Ln.showSecond=!1),!Dn.includes("m")&&In===void 0&&(Ln.showMinute=!1),!Dn.includes("H")&&!Dn.includes("h")&&Pn===void 0&&(Ln.showHour=!1),(Dn.includes("a")||Dn.includes("A"))&&Rn===void 0&&(Ln.use12Hours=!0)),_n==="time"?Ln:(typeof Dn=="function"&&delete Ln.format,{showTime:Ln})}function generatePicker($n,Cn){const{DatePicker:_n,WeekPicker:Pn,MonthPicker:In,YearPicker:Nn,TimePicker:Rn,QuarterPicker:Dn}=generateSinglePicker($n,Cn),Ln=generateRangePicker($n,Cn);return{DatePicker:_n,WeekPicker:Pn,MonthPicker:In,YearPicker:Nn,TimePicker:Rn,QuarterPicker:Dn,RangePicker:Ln}}const{DatePicker:DatePicker$1,WeekPicker,MonthPicker,YearPicker,TimePicker:TimePicker$3,QuarterPicker,RangePicker}=generatePicker(dayjsGenerateConfig),DatePicker$2=_extends$1(DatePicker$1,{WeekPicker,MonthPicker,YearPicker,RangePicker,TimePicker:TimePicker$3,QuarterPicker,install:$n=>($n.component(DatePicker$1.name,DatePicker$1),$n.component(RangePicker.name,RangePicker),$n.component(MonthPicker.name,MonthPicker),$n.component(WeekPicker.name,WeekPicker),$n.component(QuarterPicker.name,QuarterPicker),$n)});function notEmpty($n){return $n!=null}const Cell$1=$n=>{const{itemPrefixCls:Cn,component:_n,span:Pn,labelStyle:In,contentStyle:Nn,bordered:Rn,label:Dn,content:Ln,colon:Fn}=$n,Bn=_n;return Rn?createVNode(Bn,{class:[{[`${Cn}-item-label`]:notEmpty(Dn),[`${Cn}-item-content`]:notEmpty(Ln)}],colSpan:Pn},{default:()=>[notEmpty(Dn)&&createVNode("span",{style:In},[Dn]),notEmpty(Ln)&&createVNode("span",{style:Nn},[Ln])]}):createVNode(Bn,{class:[`${Cn}-item`],colSpan:Pn},{default:()=>[createVNode("div",{class:`${Cn}-item-container`},[(Dn||Dn===0)&&createVNode("span",{class:[`${Cn}-item-label`,{[`${Cn}-item-no-colon`]:!Fn}],style:In},[Dn]),(Ln||Ln===0)&&createVNode("span",{class:`${Cn}-item-content`,style:Nn},[Ln])])]})},Cell$2=Cell$1,Row=$n=>{const Cn=(Fn,Bn,Hn)=>{let{colon:zn,prefixCls:Wn,bordered:Yn}=Bn,{component:Gn,type:Go,showLabel:Xn,showContent:Yo,labelStyle:qo,contentStyle:Jo}=Hn;return Fn.map((Zo,rr)=>{var nr,ta;const oa=Zo.props||{},{prefixCls:ra=Wn,span:ea=1,labelStyle:la=oa["label-style"],contentStyle:ua=oa["content-style"],label:ga=(ta=(nr=Zo.children)===null||nr===void 0?void 0:nr.label)===null||ta===void 0?void 0:ta.call(nr)}=oa,aa=getSlot(Zo),ca=getClass(Zo),sa=getStyle$3(Zo),{key:ia}=Zo;return typeof Gn=="string"?createVNode(Cell$2,{key:`${Go}-${String(ia)||rr}`,class:ca,style:sa,labelStyle:_extends$1(_extends$1({},qo),la),contentStyle:_extends$1(_extends$1({},Jo),ua),span:ea,colon:zn,component:Gn,itemPrefixCls:ra,bordered:Yn,label:Xn?ga:null,content:Yo?aa:null},null):[createVNode(Cell$2,{key:`label-${String(ia)||rr}`,class:ca,style:_extends$1(_extends$1(_extends$1({},qo),sa),la),span:1,colon:zn,component:Gn[0],itemPrefixCls:ra,bordered:Yn,label:ga},null),createVNode(Cell$2,{key:`content-${String(ia)||rr}`,class:ca,style:_extends$1(_extends$1(_extends$1({},Jo),sa),ua),span:ea*2-1,component:Gn[1],itemPrefixCls:ra,bordered:Yn,content:aa},null)]})},{prefixCls:_n,vertical:Pn,row:In,index:Nn,bordered:Rn}=$n,{labelStyle:Dn,contentStyle:Ln}=inject(descriptionsContext,{labelStyle:ref({}),contentStyle:ref({})});return Pn?createVNode(Fragment,null,[createVNode("tr",{key:`label-${Nn}`,class:`${_n}-row`},[Cn(In,$n,{component:"th",type:"label",showLabel:!0,labelStyle:Dn.value,contentStyle:Ln.value})]),createVNode("tr",{key:`content-${Nn}`,class:`${_n}-row`},[Cn(In,$n,{component:"td",type:"content",showContent:!0,labelStyle:Dn.value,contentStyle:Ln.value})])]):createVNode("tr",{key:Nn,class:`${_n}-row`},[Cn(In,$n,{component:Rn?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:Dn.value,contentStyle:Ln.value})])},Row$1=Row,genBorderedStyle$4=$n=>{const{componentCls:Cn,descriptionsSmallPadding:_n,descriptionsDefaultPadding:Pn,descriptionsMiddlePadding:In,descriptionsBg:Nn}=$n;return{[`&${Cn}-bordered`]:{[`${Cn}-view`]:{border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${Cn}-item-label, ${Cn}-item-content`]:{padding:Pn,borderInlineEnd:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${Cn}-item-label`]:{backgroundColor:Nn,"&::after":{display:"none"}},[`${Cn}-row`]:{borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${Cn}-middle`]:{[`${Cn}-item-label, ${Cn}-item-content`]:{padding:In}},[`&${Cn}-small`]:{[`${Cn}-item-label, ${Cn}-item-content`]:{padding:_n}}}}},genDescriptionStyles=$n=>{const{componentCls:Cn,descriptionsExtraColor:_n,descriptionItemPaddingBottom:Pn,descriptionsItemLabelColonMarginRight:In,descriptionsItemLabelColonMarginLeft:Nn,descriptionsTitleMarginBottom:Rn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1({},resetComponent($n)),genBorderedStyle$4($n)),{"&-rtl":{direction:"rtl"},[`${Cn}-header`]:{display:"flex",alignItems:"center",marginBottom:Rn},[`${Cn}-title`]:_extends$1(_extends$1({},textEllipsis),{flex:"auto",color:$n.colorText,fontWeight:$n.fontWeightStrong,fontSize:$n.fontSizeLG,lineHeight:$n.lineHeightLG}),[`${Cn}-extra`]:{marginInlineStart:"auto",color:_n,fontSize:$n.fontSize},[`${Cn}-view`]:{width:"100%",borderRadius:$n.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${Cn}-row`]:{"> th, > td":{paddingBottom:Pn},"&:last-child":{borderBottom:"none"}},[`${Cn}-item-label`]:{color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize,lineHeight:$n.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${Nn}px ${In}px`},[`&${Cn}-item-no-colon::after`]:{content:'""'}},[`${Cn}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${Cn}-item-content`]:{display:"table-cell",flex:1,color:$n.colorText,fontSize:$n.fontSize,lineHeight:$n.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${Cn}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${Cn}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${Cn}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${Cn}-row`]:{"> th, > td":{paddingBottom:$n.paddingSM}}},"&-small":{[`${Cn}-row`]:{"> th, > td":{paddingBottom:$n.paddingXS}}}})}},useStyle$u=genComponentStyleHook("Descriptions",$n=>{const Cn=$n.colorFillAlter,_n=$n.fontSizeSM*$n.lineHeightSM,Pn=$n.colorText,In=`${$n.paddingXS}px ${$n.padding}px`,Nn=`${$n.padding}px ${$n.paddingLG}px`,Rn=`${$n.paddingSM}px ${$n.paddingLG}px`,Dn=$n.padding,Ln=$n.marginXS,Fn=$n.marginXXS/2,Bn=merge$1($n,{descriptionsBg:Cn,descriptionsTitleMarginBottom:_n,descriptionsExtraColor:Pn,descriptionItemPaddingBottom:Dn,descriptionsSmallPadding:In,descriptionsDefaultPadding:Nn,descriptionsMiddlePadding:Rn,descriptionsItemLabelColonMarginRight:Ln,descriptionsItemLabelColonMarginLeft:Fn});return[genDescriptionStyles(Bn)]});PropTypes.any;const descriptionsItemProp=()=>({prefixCls:String,label:PropTypes.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),DescriptionsItem=defineComponent({compatConfig:{MODE:3},name:"ADescriptionsItem",props:descriptionsItemProp(),setup($n,Cn){let{slots:_n}=Cn;return()=>{var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}}}),DEFAULT_COLUMN_MAP={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function getColumn($n,Cn){if(typeof $n=="number")return $n;if(typeof $n=="object")for(let _n=0;_n<responsiveArray.length;_n++){const Pn=responsiveArray[_n];if(Cn[Pn]&&$n[Pn]!==void 0)return $n[Pn]||DEFAULT_COLUMN_MAP[Pn]}return 3}function getFilledItem($n,Cn,_n){let Pn=$n;return(_n===void 0||_n>Cn)&&(Pn=cloneElement($n,{span:Cn}),warning$3()),Pn}function getRows($n,Cn){const _n=flattenChildren($n),Pn=[];let In=[],Nn=Cn;return _n.forEach((Rn,Dn)=>{var Ln;const Fn=(Ln=Rn.props)===null||Ln===void 0?void 0:Ln.span,Bn=Fn||1;if(Dn===_n.length-1){In.push(getFilledItem(Rn,Nn,Fn)),Pn.push(In);return}Bn<Nn?(Nn-=Bn,In.push(Rn)):(In.push(getFilledItem(Rn,Nn,Bn)),Pn.push(In),Nn=Cn,In=[])}),Pn}const descriptionsProps=()=>({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:PropTypes.any,extra:PropTypes.any,column:{type:[Number,Object],default:()=>DEFAULT_COLUMN_MAP},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),descriptionsContext=Symbol("descriptionsContext"),Descriptions=defineComponent({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:descriptionsProps(),slots:Object,Item:DescriptionsItem,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("descriptions",$n);let Rn;const Dn=ref({}),[Ln,Fn]=useStyle$u(In),Bn=useResponsiveObserver();onBeforeMount(()=>{Rn=Bn.value.subscribe(zn=>{typeof $n.column=="object"&&(Dn.value=zn)})}),onBeforeUnmount(()=>{Bn.value.unsubscribe(Rn)}),provide(descriptionsContext,{labelStyle:toRef($n,"labelStyle"),contentStyle:toRef($n,"contentStyle")});const Hn=computed(()=>getColumn($n.column,Dn.value));return()=>{var zn,Wn,Yn;const{size:Gn,bordered:Go=!1,layout:Xn="horizontal",colon:Yo=!0,title:qo=(zn=_n.title)===null||zn===void 0?void 0:zn.call(_n),extra:Jo=(Wn=_n.extra)===null||Wn===void 0?void 0:Wn.call(_n)}=$n,Zo=(Yn=_n.default)===null||Yn===void 0?void 0:Yn.call(_n),rr=getRows(Zo,Hn.value);return Ln(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[In.value,{[`${In.value}-${Gn}`]:Gn!=="default",[`${In.value}-bordered`]:!!Go,[`${In.value}-rtl`]:Nn.value==="rtl"},Pn.class,Fn.value]}),[(qo||Jo)&&createVNode("div",{class:`${In.value}-header`},[qo&&createVNode("div",{class:`${In.value}-title`},[qo]),Jo&&createVNode("div",{class:`${In.value}-extra`},[Jo])]),createVNode("div",{class:`${In.value}-view`},[createVNode("table",null,[createVNode("tbody",null,[rr.map((nr,ta)=>createVNode(Row$1,{key:ta,index:ta,colon:Yo,prefixCls:In.value,vertical:Xn==="vertical",bordered:Go,row:nr},null))])])])]))}}});Descriptions.install=function($n){return $n.component(Descriptions.name,Descriptions),$n.component(Descriptions.Item.name,Descriptions.Item),$n};const Descriptions$1=Descriptions,genSharedDividerStyle=$n=>{const{componentCls:Cn,sizePaddingEdgeHorizontal:_n,colorSplit:Pn,lineWidth:In}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{borderBlockStart:`${In}px solid ${Pn}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${$n.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${In}px solid ${Pn}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${$n.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Cn}-with-text`]:{display:"flex",alignItems:"center",margin:`${$n.dividerHorizontalWithTextGutterMargin}px 0`,color:$n.colorTextHeading,fontWeight:500,fontSize:$n.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Pn}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${In}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Cn}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${Cn}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${Cn}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:Pn,borderStyle:"dashed",borderWidth:`${In}px 0 0`},[`&-horizontal${Cn}-with-text${Cn}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Cn}-dashed`]:{borderInlineStartWidth:In,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Cn}-with-text`]:{color:$n.colorText,fontWeight:"normal",fontSize:$n.fontSize},[`&-horizontal${Cn}-with-text-left${Cn}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Cn}-inner-text`]:{paddingInlineStart:_n}},[`&-horizontal${Cn}-with-text-right${Cn}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Cn}-inner-text`]:{paddingInlineEnd:_n}}})}},useStyle$t=genComponentStyleHook("Divider",$n=>{const Cn=merge$1($n,{dividerVerticalGutterMargin:$n.marginXS,dividerHorizontalWithTextGutterMargin:$n.margin,dividerHorizontalGutterMargin:$n.marginLG});return[genSharedDividerStyle(Cn)]},{sizePaddingEdgeHorizontal:0}),dividerProps=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),Divider=defineComponent({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:dividerProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("divider",$n),[Rn,Dn]=useStyle$t(In),Ln=computed(()=>$n.orientation==="left"&&$n.orientationMargin!=null),Fn=computed(()=>$n.orientation==="right"&&$n.orientationMargin!=null),Bn=computed(()=>{const{type:Wn,dashed:Yn,plain:Gn}=$n,Go=In.value;return{[Go]:!0,[Dn.value]:!!Dn.value,[`${Go}-${Wn}`]:!0,[`${Go}-dashed`]:!!Yn,[`${Go}-plain`]:!!Gn,[`${Go}-rtl`]:Nn.value==="rtl",[`${Go}-no-default-orientation-margin-left`]:Ln.value,[`${Go}-no-default-orientation-margin-right`]:Fn.value}}),Hn=computed(()=>{const Wn=typeof $n.orientationMargin=="number"?`${$n.orientationMargin}px`:$n.orientationMargin;return _extends$1(_extends$1({},Ln.value&&{marginLeft:Wn}),Fn.value&&{marginRight:Wn})}),zn=computed(()=>$n.orientation.length>0?"-"+$n.orientation:$n.orientation);return()=>{var Wn;const Yn=flattenChildren((Wn=_n.default)===null||Wn===void 0?void 0:Wn.call(_n));return Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Bn.value,Yn.length?`${In.value}-with-text ${In.value}-with-text${zn.value}`:"",Pn.class],role:"separator"}),[Yn.length?createVNode("span",{class:`${In.value}-inner-text`,style:Hn.value},[Yn]):null]))}}}),index$l=withInstall(Divider);Dropdown$1.Button=DropdownButton;Dropdown$1.install=function($n){return $n.component(Dropdown$1.name,Dropdown$1),$n.component(DropdownButton.name,DropdownButton),$n};const props=()=>({prefixCls:String,width:PropTypes.oneOfType([PropTypes.string,PropTypes.number]),height:PropTypes.oneOfType([PropTypes.string,PropTypes.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:objectType(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:arrayType(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:functionType(),maskMotion:objectType()}),drawerProps$1=()=>_extends$1(_extends$1({},props()),{forceRender:{type:Boolean,default:void 0},getContainer:PropTypes.oneOfType([PropTypes.string,PropTypes.func,PropTypes.object,PropTypes.looseBool])}),drawerChildProps=()=>_extends$1(_extends$1({},props()),{getContainer:Function,getOpenCount:Function,scrollLocker:PropTypes.any,inline:Boolean});function dataToArray($n){return Array.isArray($n)?$n:[$n]}const transitionEndObject={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(transitionEndObject).filter($n=>{if(typeof document>"u")return!1;const Cn=document.getElementsByTagName("html")[0];return $n in(Cn?Cn.style:{})})[0];const windowIsUndefined=!(typeof window<"u"&&window.document&&window.document.createElement);var __rest$J=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const DrawerChild=defineComponent({compatConfig:{MODE:3},inheritAttrs:!1,props:drawerChildProps(),emits:["close","handleClick","change"],setup($n,Cn){let{emit:_n,slots:Pn}=Cn;const In=shallowRef(),Nn=shallowRef(),Rn=shallowRef(),Dn=shallowRef(),Ln=shallowRef();let Fn=[];`${Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)}`,onMounted(()=>{nextTick(()=>{var Xn;const{open:Yo,getContainer:qo,showMask:Jo,autofocus:Zo}=$n,rr=qo==null?void 0:qo();Yn($n),Yo&&(rr&&(rr.parentNode,document.body),nextTick(()=>{Zo&&Bn()}),Jo&&((Xn=$n.scrollLocker)===null||Xn===void 0||Xn.lock()))})}),watch(()=>$n.level,()=>{Yn($n)},{flush:"post"}),watch(()=>$n.open,()=>{const{open:Xn,getContainer:Yo,scrollLocker:qo,showMask:Jo,autofocus:Zo}=$n,rr=Yo==null?void 0:Yo();rr&&(rr.parentNode,document.body),Xn?(Zo&&Bn(),Jo&&(qo==null||qo.lock())):qo==null||qo.unLock()},{flush:"post"}),onUnmounted(()=>{var Xn;const{open:Yo}=$n;Yo&&(document.body.style.touchAction=""),(Xn=$n.scrollLocker)===null||Xn===void 0||Xn.unLock()}),watch(()=>$n.placement,Xn=>{Xn&&(Ln.value=null)});const Bn=()=>{var Xn,Yo;(Yo=(Xn=Nn.value)===null||Xn===void 0?void 0:Xn.focus)===null||Yo===void 0||Yo.call(Xn)},Hn=Xn=>{_n("close",Xn)},zn=Xn=>{Xn.keyCode===KeyCode$1.ESC&&(Xn.stopPropagation(),Hn(Xn))},Wn=()=>{const{open:Xn,afterVisibleChange:Yo}=$n;Yo&&Yo(!!Xn)},Yn=Xn=>{let{level:Yo,getContainer:qo}=Xn;if(windowIsUndefined)return;const Jo=qo==null?void 0:qo(),Zo=Jo?Jo.parentNode:null;Fn=[],Yo==="all"?(Zo?Array.prototype.slice.call(Zo.children):[]).forEach(nr=>{nr.nodeName!=="SCRIPT"&&nr.nodeName!=="STYLE"&&nr.nodeName!=="LINK"&&nr!==Jo&&Fn.push(nr)}):Yo&&dataToArray(Yo).forEach(rr=>{document.querySelectorAll(rr).forEach(nr=>{Fn.push(nr)})})},Gn=Xn=>{_n("handleClick",Xn)},Go=shallowRef(!1);return watch(Nn,()=>{nextTick(()=>{Go.value=!0})}),()=>{var Xn,Yo;const{width:qo,height:Jo,open:Zo,prefixCls:rr,placement:nr,level:ta,levelMove:oa,ease:ra,duration:ea,getContainer:la,onChange:ua,afterVisibleChange:ga,showMask:aa,maskClosable:ca,maskStyle:sa,keyboard:ia,getOpenCount:fa,scrollLocker:ma,contentWrapperStyle:ya,style:ba,class:Ia,rootClassName:Ea,rootStyle:xa,maskMotion:Ta,motion:wa,inline:La}=$n,Na=__rest$J($n,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),$a=Zo&&Go.value,ka=classNames(rr,{[`${rr}-${nr}`]:!0,[`${rr}-open`]:$a,[`${rr}-inline`]:La,"no-mask":!aa,[Ea]:!0}),Ha=typeof wa=="function"?wa(nr):wa;return createVNode("div",_objectSpread2$1(_objectSpread2$1({},omit$1(Na,["autofocus"])),{},{tabindex:-1,class:ka,style:xa,ref:Nn,onKeydown:$a&&ia?zn:void 0}),[createVNode(Transition,Ta,{default:()=>[aa&&withDirectives(createVNode("div",{class:`${rr}-mask`,onClick:ca?Hn:void 0,style:sa,ref:Rn},null),[[vShow,$a]])]}),createVNode(Transition,_objectSpread2$1(_objectSpread2$1({},Ha),{},{onAfterEnter:Wn,onAfterLeave:Wn}),{default:()=>[withDirectives(createVNode("div",{class:`${rr}-content-wrapper`,style:[ya],ref:In},[createVNode("div",{class:[`${rr}-content`,Ia],style:ba,ref:Ln},[(Xn=Pn.default)===null||Xn===void 0?void 0:Xn.call(Pn)]),Pn.handler?createVNode("div",{onClick:Gn,ref:Dn},[(Yo=Pn.handler)===null||Yo===void 0?void 0:Yo.call(Pn)]):null]),[[vShow,$a]])]})])}}}),Child=DrawerChild;var __rest$I=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const DrawerWrapper=defineComponent({compatConfig:{MODE:3},inheritAttrs:!1,props:initDefaultProps(drawerProps$1(),{prefixCls:"drawer",placement:"left",getContainer:"body",level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",afterVisibleChange:()=>{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup($n,Cn){let{emit:_n,slots:Pn}=Cn;const In=ref(null),Nn=Dn=>{_n("handleClick",Dn)},Rn=Dn=>{_n("close",Dn)};return()=>{const{getContainer:Dn,wrapperClassName:Ln,rootClassName:Fn,rootStyle:Bn,forceRender:Hn}=$n,zn=__rest$I($n,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let Wn=null;if(!Dn)return createVNode(Child,_objectSpread2$1(_objectSpread2$1({},zn),{},{rootClassName:Fn,rootStyle:Bn,open:$n.open,onClose:Rn,onHandleClick:Nn,inline:!0}),Pn);const Yn=!!Pn.handler||Hn;return(Yn||$n.open||In.value)&&(Wn=createVNode(Portal,{autoLock:!0,visible:$n.open,forceRender:Yn,getContainer:Dn,wrapperClassName:Ln},{default:Gn=>{var{visible:Go,afterClose:Xn}=Gn,Yo=__rest$I(Gn,["visible","afterClose"]);return createVNode(Child,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:In},zn),Yo),{},{rootClassName:Fn,rootStyle:Bn,open:Go!==void 0?Go:$n.open,afterVisibleChange:Xn!==void 0?Xn:$n.afterVisibleChange,onClose:Rn,onHandleClick:Nn}),Pn)}})),Wn}}}),Drawer$1=DrawerWrapper,genMotionStyle$2=$n=>{const{componentCls:Cn,motionDurationSlow:_n}=$n,Pn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${_n}`}}};return{[Cn]:{[`${Cn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${_n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Cn}-panel-motion`]:{"&-left":[Pn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Pn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Pn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Pn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},genMotionStyle$3=genMotionStyle$2,genDrawerStyle=$n=>{const{componentCls:Cn,zIndexPopup:_n,colorBgMask:Pn,colorBgElevated:In,motionDurationSlow:Nn,motionDurationMid:Rn,padding:Dn,paddingLG:Ln,fontSizeLG:Fn,lineHeightLG:Bn,lineWidth:Hn,lineType:zn,colorSplit:Wn,marginSM:Yn,colorIcon:Gn,colorIconHover:Go,colorText:Xn,fontWeightStrong:Yo,drawerFooterPaddingVertical:qo,drawerFooterPaddingHorizontal:Jo}=$n,Zo=`${Cn}-content-wrapper`;return{[Cn]:{position:"fixed",inset:0,zIndex:_n,pointerEvents:"none","&-pure":{position:"relative",background:In,[`&${Cn}-left`]:{boxShadow:$n.boxShadowDrawerLeft},[`&${Cn}-right`]:{boxShadow:$n.boxShadowDrawerRight},[`&${Cn}-top`]:{boxShadow:$n.boxShadowDrawerUp},[`&${Cn}-bottom`]:{boxShadow:$n.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Cn}-mask`]:{position:"absolute",inset:0,zIndex:_n,background:Pn,pointerEvents:"auto"},[Zo]:{position:"absolute",zIndex:_n,transition:`all ${Nn}`,"&-hidden":{display:"none"}},[`&-left > ${Zo}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:$n.boxShadowDrawerLeft},[`&-right > ${Zo}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:$n.boxShadowDrawerRight},[`&-top > ${Zo}`]:{top:0,insetInline:0,boxShadow:$n.boxShadowDrawerUp},[`&-bottom > ${Zo}`]:{bottom:0,insetInline:0,boxShadow:$n.boxShadowDrawerDown},[`${Cn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:In,pointerEvents:"auto"},[`${Cn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Cn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Dn}px ${Ln}px`,fontSize:Fn,lineHeight:Bn,borderBottom:`${Hn}px ${zn} ${Wn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Cn}-extra`]:{flex:"none"},[`${Cn}-close`]:{display:"inline-block",marginInlineEnd:Yn,color:Gn,fontWeight:Yo,fontSize:Fn,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Rn}`,textRendering:"auto","&:focus, &:hover":{color:Go,textDecoration:"none"}},[`${Cn}-title`]:{flex:1,margin:0,color:Xn,fontWeight:$n.fontWeightStrong,fontSize:Fn,lineHeight:Bn},[`${Cn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ln,overflow:"auto"},[`${Cn}-footer`]:{flexShrink:0,padding:`${qo}px ${Jo}px`,borderTop:`${Hn}px ${zn} ${Wn}`},"&-rtl":{direction:"rtl"}}}},useStyle$s=genComponentStyleHook("Drawer",$n=>{const Cn=merge$1($n,{drawerFooterPaddingVertical:$n.paddingXS,drawerFooterPaddingHorizontal:$n.padding});return[genDrawerStyle(Cn),genMotionStyle$3(Cn)]},$n=>({zIndexPopup:$n.zIndexPopupBase}));var __rest$H=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const PlacementTypes=["top","right","bottom","left"],defaultPushState={distance:180},drawerProps=()=>({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:PropTypes.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:objectType(),rootClassName:String,rootStyle:objectType(),size:{type:String},drawerStyle:objectType(),headerStyle:objectType(),bodyStyle:objectType(),contentWrapperStyle:{type:Object,default:void 0},title:PropTypes.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:PropTypes.oneOfType([PropTypes.string,PropTypes.number]),height:PropTypes.oneOfType([PropTypes.string,PropTypes.number]),zIndex:Number,prefixCls:String,push:PropTypes.oneOfType([PropTypes.looseBool,{type:Object}]),placement:PropTypes.oneOf(PlacementTypes),keyboard:{type:Boolean,default:void 0},extra:PropTypes.any,footer:PropTypes.any,footerStyle:objectType(),level:PropTypes.any,levelMove:{type:[Number,Array,Function]},handle:PropTypes.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),Drawer=defineComponent({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:initDefaultProps(drawerProps(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:defaultPushState}),slots:Object,setup($n,Cn){let{emit:_n,slots:Pn,attrs:In}=Cn;const Nn=shallowRef(!1),Rn=shallowRef(!1),Dn=shallowRef(null),Ln=shallowRef(!1),Fn=shallowRef(!1),Bn=computed(()=>{var fa;return(fa=$n.open)!==null&&fa!==void 0?fa:$n.visible});watch(Bn,()=>{Bn.value?Ln.value=!0:Fn.value=!1},{immediate:!0}),watch([Bn,Ln],()=>{Bn.value&&Ln.value&&(Fn.value=!0)},{immediate:!0});const Hn=inject("parentDrawerOpts",null),{prefixCls:zn,getPopupContainer:Wn,direction:Yn}=useConfigInject("drawer",$n),[Gn,Go]=useStyle$s(zn),Xn=computed(()=>$n.getContainer===void 0&&(Wn!=null&&Wn.value)?()=>Wn.value(document.body):$n.getContainer);devWarning(!$n.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),provide("parentDrawerOpts",{setPush:()=>{Nn.value=!0},setPull:()=>{Nn.value=!1,nextTick(()=>{Jo()})}}),onMounted(()=>{Bn.value&&Hn&&Hn.setPush()}),onUnmounted(()=>{Hn&&Hn.setPull()}),watch(Fn,()=>{Hn&&(Fn.value?Hn.setPush():Hn.setPull())},{flush:"post"});const Jo=()=>{var fa,ma;(ma=(fa=Dn.value)===null||fa===void 0?void 0:fa.domFocus)===null||ma===void 0||ma.call(fa)},Zo=fa=>{_n("update:visible",!1),_n("update:open",!1),_n("close",fa)},rr=fa=>{var ma;fa||(Rn.value===!1&&(Rn.value=!0),$n.destroyOnClose&&(Ln.value=!1)),(ma=$n.afterVisibleChange)===null||ma===void 0||ma.call($n,fa),_n("afterVisibleChange",fa),_n("afterOpenChange",fa)},nr=computed(()=>{const{push:fa,placement:ma}=$n;let ya;return typeof fa=="boolean"?ya=fa?defaultPushState.distance:0:ya=fa.distance,ya=parseFloat(String(ya||0)),ma==="left"||ma==="right"?`translateX(${ma==="left"?ya:-ya}px)`:ma==="top"||ma==="bottom"?`translateY(${ma==="top"?ya:-ya}px)`:null}),ta=computed(()=>{var fa;return(fa=$n.width)!==null&&fa!==void 0?fa:$n.size==="large"?736:378}),oa=computed(()=>{var fa;return(fa=$n.height)!==null&&fa!==void 0?fa:$n.size==="large"?736:378}),ra=computed(()=>{const{mask:fa,placement:ma}=$n;if(!Fn.value&&!fa)return{};const ya={};return ma==="left"||ma==="right"?ya.width=isNumeric(ta.value)?`${ta.value}px`:ta.value:ya.height=isNumeric(oa.value)?`${oa.value}px`:oa.value,ya}),ea=computed(()=>{const{zIndex:fa,contentWrapperStyle:ma}=$n,ya=ra.value;return[{zIndex:fa,transform:Nn.value?nr.value:void 0},_extends$1({},ma),ya]}),la=fa=>{const{closable:ma,headerStyle:ya}=$n,ba=getPropsSlot(Pn,$n,"extra"),Ia=getPropsSlot(Pn,$n,"title");return!Ia&&!ma?null:createVNode("div",{class:classNames(`${fa}-header`,{[`${fa}-header-close-only`]:ma&&!Ia&&!ba}),style:ya},[createVNode("div",{class:`${fa}-header-title`},[ua(fa),Ia&&createVNode("div",{class:`${fa}-title`},[Ia])]),ba&&createVNode("div",{class:`${fa}-extra`},[ba])])},ua=fa=>{var ma;const{closable:ya}=$n,ba=Pn.closeIcon?(ma=Pn.closeIcon)===null||ma===void 0?void 0:ma.call(Pn):$n.closeIcon;return ya&&createVNode("button",{key:"closer",onClick:Zo,"aria-label":"Close",class:`${fa}-close`},[ba===void 0?createVNode(CloseOutlined$1,null,null):ba])},ga=fa=>{var ma;if(Rn.value&&!$n.forceRender&&!Ln.value)return null;const{bodyStyle:ya,drawerStyle:ba}=$n;return createVNode("div",{class:`${fa}-wrapper-body`,style:ba},[la(fa),createVNode("div",{key:"body",class:`${fa}-body`,style:ya},[(ma=Pn.default)===null||ma===void 0?void 0:ma.call(Pn)]),aa(fa)])},aa=fa=>{const ma=getPropsSlot(Pn,$n,"footer");if(!ma)return null;const ya=`${fa}-footer`;return createVNode("div",{class:ya,style:$n.footerStyle},[ma])},ca=computed(()=>classNames({"no-mask":!$n.mask,[`${zn.value}-rtl`]:Yn.value==="rtl"},$n.rootClassName,Go.value)),sa=computed(()=>getTransitionProps(getTransitionName$1(zn.value,"mask-motion"))),ia=fa=>getTransitionProps(getTransitionName$1(zn.value,`panel-motion-${fa}`));return()=>{const{width:fa,height:ma,placement:ya,mask:ba,forceRender:Ia}=$n,Ea=__rest$H($n,["width","height","placement","mask","forceRender"]),xa=_extends$1(_extends$1(_extends$1({},In),omit$1(Ea,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:Ia,onClose:Zo,afterVisibleChange:rr,handler:!1,prefixCls:zn.value,open:Fn.value,showMask:ba,placement:ya,ref:Dn});return Gn(createVNode(NoCompactStyle,null,{default:()=>[createVNode(Drawer$1,_objectSpread2$1(_objectSpread2$1({},xa),{},{maskMotion:sa.value,motion:ia,width:ta.value,height:oa.value,getContainer:Xn.value,rootClassName:ca.value,rootStyle:$n.rootStyle,contentWrapperStyle:ea.value}),{handler:$n.handle?()=>$n.handle:Pn.handle,default:()=>ga(zn.value)})]}))}}}),index$k=withInstall(Drawer);var FileTextOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const FileTextOutlinedSvg=FileTextOutlined$2;function _objectSpread$y($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$y($n,In,_n[In])})}return $n}function _defineProperty$y($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FileTextOutlined=function(Cn,_n){var Pn=_objectSpread$y({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$y({},Pn,{icon:FileTextOutlinedSvg}),null)};FileTextOutlined.displayName="FileTextOutlined";FileTextOutlined.inheritAttrs=!1;const FileTextOutlined$1=FileTextOutlined,floatButtonProps=()=>({prefixCls:String,description:PropTypes.any,type:stringType("default"),shape:stringType("circle"),tooltip:PropTypes.any,href:String,target:functionType(),badge:objectType(),onClick:functionType()}),floatButtonContentProps=()=>({prefixCls:stringType()}),floatButtonGroupProps=()=>_extends$1(_extends$1({},floatButtonProps()),{trigger:stringType(),open:booleanType(),onOpenChange:functionType(),"onUpdate:open":functionType()}),backTopProps=()=>_extends$1(_extends$1({},floatButtonProps()),{prefixCls:String,duration:Number,target:functionType(),visibilityHeight:Number,onClick:functionType()}),FloatButtonContent=defineComponent({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:floatButtonContentProps(),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;return()=>{var In;const{prefixCls:Nn}=$n,Rn=filterEmpty((In=Pn.description)===null||In===void 0?void 0:In.call(Pn));return createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{class:[_n.class,`${Nn}-content`]}),[Pn.icon||Rn.length?createVNode(Fragment,null,[Pn.icon&&createVNode("div",{class:`${Nn}-icon`},[Pn.icon()]),Rn.length?createVNode("div",{class:`${Nn}-description`},[Rn]):null]):createVNode("div",{class:`${Nn}-icon`},[createVNode(FileTextOutlined$1,null,null)])])}}}),Content$2=FloatButtonContent,contextKey=Symbol("floatButtonGroupContext"),useProvideFloatButtonGroupContext=$n=>(provide(contextKey,$n),$n),useInjectFloatButtonGroupContext=()=>inject(contextKey,{shape:ref()}),getOffset$1=$n=>$n===0?0:$n-Math.sqrt(Math.pow($n,2)/2),initFloatButtonGroupMotion=$n=>{const{componentCls:Cn,floatButtonSize:_n,motionDurationSlow:Pn,motionEaseInOutCirc:In}=$n,Nn=`${Cn}-group`,Rn=new Keyframes("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${_n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Dn=new Keyframes("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${_n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${Nn}-wrap`]:_extends$1({},initMotion(`${Nn}-wrap`,Rn,Dn,Pn,!0))},{[`${Nn}-wrap`]:{[`
- &${Nn}-wrap-enter,
- &${Nn}-wrap-appear
- `]:{opacity:0,animationTimingFunction:In},[`&${Nn}-wrap-leave`]:{animationTimingFunction:In}}}]},floatButtonGroupStyle=$n=>{const{antCls:Cn,componentCls:_n,floatButtonSize:Pn,margin:In,borderRadiusLG:Nn,borderRadiusSM:Rn,badgeOffset:Dn,floatButtonBodyPadding:Ln}=$n,Fn=`${_n}-group`;return{[Fn]:_extends$1(_extends$1({},resetComponent($n)),{zIndex:99,display:"block",border:"none",position:"fixed",width:Pn,height:"auto",boxShadow:"none",minHeight:Pn,insetInlineEnd:$n.floatButtonInsetInlineEnd,insetBlockEnd:$n.floatButtonInsetBlockEnd,borderRadius:Nn,[`${Fn}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:In},[`&${Fn}-rtl`]:{direction:"rtl"},[_n]:{position:"static"}}),[`${Fn}-circle`]:{[`${_n}-circle:not(:last-child)`]:{marginBottom:$n.margin,[`${_n}-body`]:{width:Pn,height:Pn,borderRadius:"50%"}}},[`${Fn}-square`]:{[`${_n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:Nn,borderStartEndRadius:Nn},"&:last-child":{borderEndStartRadius:Nn,borderEndEndRadius:Nn},"&:not(:last-child)":{borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},[`${Cn}-badge`]:{[`${Cn}-badge-count`]:{top:-(Ln+Dn),insetInlineEnd:-(Ln+Dn)}}},[`${Fn}-wrap`]:{display:"block",borderRadius:Nn,boxShadow:$n.boxShadowSecondary,[`${_n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:Ln,"&:first-child":{borderStartStartRadius:Nn,borderStartEndRadius:Nn},"&:last-child":{borderEndStartRadius:Nn,borderEndEndRadius:Nn},"&:not(:last-child)":{borderBottom:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},[`${_n}-body`]:{width:$n.floatButtonBodySize,height:$n.floatButtonBodySize}}}},[`${Fn}-circle-shadow`]:{boxShadow:"none"},[`${Fn}-square-shadow`]:{boxShadow:$n.boxShadowSecondary,[`${_n}-square`]:{boxShadow:"none",padding:Ln,[`${_n}-body`]:{width:$n.floatButtonBodySize,height:$n.floatButtonBodySize,borderRadius:Rn}}}}},sharedFloatButtonStyle=$n=>{const{antCls:Cn,componentCls:_n,floatButtonBodyPadding:Pn,floatButtonIconSize:In,floatButtonSize:Nn,borderRadiusLG:Rn,badgeOffset:Dn,dotOffsetInSquare:Ln,dotOffsetInCircle:Fn}=$n;return{[_n]:_extends$1(_extends$1({},resetComponent($n)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:Nn,height:Nn,insetInlineEnd:$n.floatButtonInsetInlineEnd,insetBlockEnd:$n.floatButtonInsetBlockEnd,boxShadow:$n.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${Cn}-badge`]:{width:"100%",height:"100%",[`${Cn}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-Dn,insetInlineEnd:-Dn}},[`${_n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${$n.motionDurationMid}`,[`${_n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:Nn,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${Pn/2}px ${Pn}px`,[`${_n}-icon`]:{textAlign:"center",margin:"auto",width:In,fontSize:In,lineHeight:1}}}}),[`${_n}-rtl`]:{direction:"rtl"},[`${_n}-circle`]:{height:Nn,borderRadius:"50%",[`${Cn}-badge`]:{[`${Cn}-badge-dot`]:{top:Fn,insetInlineEnd:Fn}},[`${_n}-body`]:{borderRadius:"50%"}},[`${_n}-square`]:{height:"auto",minHeight:Nn,borderRadius:Rn,[`${Cn}-badge`]:{[`${Cn}-badge-dot`]:{top:Ln,insetInlineEnd:Ln}},[`${_n}-body`]:{height:"auto",borderRadius:Rn}},[`${_n}-default`]:{backgroundColor:$n.floatButtonBackgroundColor,transition:`background-color ${$n.motionDurationMid}`,[`${_n}-body`]:{backgroundColor:$n.floatButtonBackgroundColor,transition:`background-color ${$n.motionDurationMid}`,"&:hover":{backgroundColor:$n.colorFillContent},[`${_n}-content`]:{[`${_n}-icon`]:{color:$n.colorText},[`${_n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${$n.fontSizeLG}px`,color:$n.colorText,fontSize:$n.fontSizeSM}}}},[`${_n}-primary`]:{backgroundColor:$n.colorPrimary,[`${_n}-body`]:{backgroundColor:$n.colorPrimary,transition:`background-color ${$n.motionDurationMid}`,"&:hover":{backgroundColor:$n.colorPrimaryHover},[`${_n}-content`]:{[`${_n}-icon`]:{color:$n.colorTextLightSolid},[`${_n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${$n.fontSizeLG}px`,color:$n.colorTextLightSolid,fontSize:$n.fontSizeSM}}}}}},useStyle$r=genComponentStyleHook("FloatButton",$n=>{const{colorTextLightSolid:Cn,colorBgElevated:_n,controlHeightLG:Pn,marginXXL:In,marginLG:Nn,fontSize:Rn,fontSizeIcon:Dn,controlItemBgHover:Ln,paddingXXS:Fn,borderRadiusLG:Bn}=$n,Hn=merge$1($n,{floatButtonBackgroundColor:_n,floatButtonColor:Cn,floatButtonHoverBackgroundColor:Ln,floatButtonFontSize:Rn,floatButtonIconSize:Dn*1.5,floatButtonSize:Pn,floatButtonInsetBlockEnd:In,floatButtonInsetInlineEnd:Nn,floatButtonBodySize:Pn-Fn*2,floatButtonBodyPadding:Fn,badgeOffset:Fn*1.5,dotOffsetInCircle:getOffset$1(Pn/2),dotOffsetInSquare:getOffset$1(Bn)});return[floatButtonGroupStyle(Hn),sharedFloatButtonStyle(Hn),initFadeMotion($n),initFloatButtonGroupMotion(Hn)]});var __rest$G=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const floatButtonPrefixCls="float-btn",FloatButton=defineComponent({compatConfig:{MODE:3},name:"AFloatButton",inheritAttrs:!1,props:initDefaultProps(floatButtonProps(),{type:"default",shape:"circle"}),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject(floatButtonPrefixCls,$n),[Rn,Dn]=useStyle$r(In),{shape:Ln}=useInjectFloatButtonGroupContext(),Fn=ref(null),Bn=computed(()=>(Ln==null?void 0:Ln.value)||$n.shape);return()=>{var Hn;const{prefixCls:zn,type:Wn="default",shape:Yn="circle",description:Gn=(Hn=Pn.description)===null||Hn===void 0?void 0:Hn.call(Pn),tooltip:Go,badge:Xn={}}=$n,Yo=__rest$G($n,["prefixCls","type","shape","description","tooltip","badge"]),qo=classNames(In.value,`${In.value}-${Wn}`,`${In.value}-${Bn.value}`,{[`${In.value}-rtl`]:Nn.value==="rtl"},_n.class,Dn.value),Jo=createVNode(Tooltip,{placement:"left"},{title:Pn.tooltip||Go?()=>Pn.tooltip&&Pn.tooltip()||Go:void 0,default:()=>createVNode(Badge,Xn,{default:()=>[createVNode("div",{class:`${In.value}-body`},[createVNode(Content$2,{prefixCls:In.value},{icon:Pn.icon,description:()=>Gn})])]})});return Rn($n.href?createVNode("a",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Fn},_n),Yo),{},{class:qo}),[Jo]):createVNode("button",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Fn},_n),Yo),{},{class:qo,type:"button"}),[Jo]))}}}),FloatButton$1=FloatButton,FloatButtonGroup=defineComponent({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:initDefaultProps(floatButtonGroupProps(),{type:"default",shape:"circle"}),setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const{prefixCls:Nn,direction:Rn}=useConfigInject(floatButtonPrefixCls,$n),[Dn,Ln]=useStyle$r(Nn),[Fn,Bn]=useMergedState(!1,{value:computed(()=>$n.open)}),Hn=ref(null),zn=ref(null);useProvideFloatButtonGroupContext({shape:computed(()=>$n.shape)});const Wn={onMouseenter(){var Xn;Bn(!0),In("update:open",!0),(Xn=$n.onOpenChange)===null||Xn===void 0||Xn.call($n,!0)},onMouseleave(){var Xn;Bn(!1),In("update:open",!1),(Xn=$n.onOpenChange)===null||Xn===void 0||Xn.call($n,!1)}},Yn=computed(()=>$n.trigger==="hover"?Wn:{}),Gn=()=>{var Xn;const Yo=!Fn.value;In("update:open",Yo),(Xn=$n.onOpenChange)===null||Xn===void 0||Xn.call($n,Yo),Bn(Yo)},Go=Xn=>{var Yo,qo,Jo;if(!((Yo=Hn.value)===null||Yo===void 0)&&Yo.contains(Xn.target)){!((qo=findDOMNode(zn.value))===null||qo===void 0)&&qo.contains(Xn.target)&&Gn();return}Bn(!1),In("update:open",!1),(Jo=$n.onOpenChange)===null||Jo===void 0||Jo.call($n,!1)};return watch(computed(()=>$n.trigger),Xn=>{canUseDom$1()&&(document.removeEventListener("click",Go),Xn==="click"&&document.addEventListener("click",Go))},{immediate:!0}),onBeforeUnmount(()=>{document.removeEventListener("click",Go)}),()=>{var Xn;const{shape:Yo="circle",type:qo="default",tooltip:Jo,description:Zo,trigger:rr}=$n,nr=`${Nn.value}-group`,ta=classNames(nr,Ln.value,_n.class,{[`${nr}-rtl`]:Rn.value==="rtl",[`${nr}-${Yo}`]:Yo,[`${nr}-${Yo}-shadow`]:!rr}),oa=classNames(Ln.value,`${nr}-wrap`),ra=getTransitionProps(`${nr}-wrap`);return Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({ref:Hn},_n),{},{class:ta},Yn.value),[rr&&["click","hover"].includes(rr)?createVNode(Fragment,null,[createVNode(Transition,ra,{default:()=>[withDirectives(createVNode("div",{class:oa},[Pn.default&&Pn.default()]),[[vShow,Fn.value]])]}),createVNode(FloatButton$1,{ref:zn,type:qo,shape:Yo,tooltip:Jo,description:Zo},{icon:()=>{var ea,la;return Fn.value?((ea=Pn.closeIcon)===null||ea===void 0?void 0:ea.call(Pn))||createVNode(CloseOutlined$1,null,null):((la=Pn.icon)===null||la===void 0?void 0:la.call(Pn))||createVNode(FileTextOutlined$1,null,null)},tooltip:Pn.tooltip,description:Pn.description})]):(Xn=Pn.default)===null||Xn===void 0?void 0:Xn.call(Pn)]))}}}),FloatButtonGroup$1=FloatButtonGroup;var VerticalAlignTopOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const VerticalAlignTopOutlinedSvg=VerticalAlignTopOutlined$2;function _objectSpread$x($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$x($n,In,_n[In])})}return $n}function _defineProperty$x($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var VerticalAlignTopOutlined=function(Cn,_n){var Pn=_objectSpread$x({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$x({},Pn,{icon:VerticalAlignTopOutlinedSvg}),null)};VerticalAlignTopOutlined.displayName="VerticalAlignTopOutlined";VerticalAlignTopOutlined.inheritAttrs=!1;const VerticalAlignTopOutlined$1=VerticalAlignTopOutlined,BackTop=defineComponent({compatConfig:{MODE:3},name:"ABackTop",inheritAttrs:!1,props:initDefaultProps(backTopProps(),{visibilityHeight:400,target:()=>window,duration:450,type:"default",shape:"circle"}),setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;const{prefixCls:Nn,direction:Rn}=useConfigInject(floatButtonPrefixCls,$n),[Dn]=useStyle$r(Nn),Ln=ref(),Fn=reactive({visible:$n.visibilityHeight===0,scrollEvent:null}),Bn=()=>Ln.value&&Ln.value.ownerDocument?Ln.value.ownerDocument:window,Hn=Go=>{const{target:Xn=Bn,duration:Yo}=$n;scrollTo$1(0,{getContainer:Xn,duration:Yo}),In("click",Go)},zn=throttleByAnimationFrame(Go=>{const{visibilityHeight:Xn}=$n,Yo=getScroll$3(Go.target,!0);Fn.visible=Yo>=Xn}),Wn=()=>{const{target:Go}=$n,Yo=(Go||Bn)();zn({target:Yo}),Yo==null||Yo.addEventListener("scroll",zn)},Yn=()=>{const{target:Go}=$n,Yo=(Go||Bn)();zn.cancel(),Yo==null||Yo.removeEventListener("scroll",zn)};watch(()=>$n.target,()=>{Yn(),nextTick(()=>{Wn()})}),onMounted(()=>{nextTick(()=>{Wn()})}),onActivated(()=>{nextTick(()=>{Wn()})}),onDeactivated(()=>{Yn()}),onBeforeUnmount(()=>{Yn()});const Gn=useInjectFloatButtonGroupContext();return()=>{const{description:Go,type:Xn,shape:Yo,tooltip:qo,badge:Jo}=$n,Zo=_extends$1(_extends$1({},Pn),{shape:(Gn==null?void 0:Gn.shape.value)||Yo,onClick:Hn,class:{[`${Nn.value}`]:!0,[`${Pn.class}`]:Pn.class,[`${Nn.value}-rtl`]:Rn.value==="rtl"},description:Go,type:Xn,tooltip:qo,badge:Jo}),rr=getTransitionProps("fade");return Dn(createVNode(Transition,rr,{default:()=>[withDirectives(createVNode(FloatButton$1,_objectSpread2$1(_objectSpread2$1({},Zo),{},{ref:Ln}),{icon:()=>{var nr;return((nr=_n.icon)===null||nr===void 0?void 0:nr.call(_n))||createVNode(VerticalAlignTopOutlined$1,null,null)}}),[[vShow,Fn.visible]])]}))}}}),BackTop$1=BackTop;FloatButton$1.Group=FloatButtonGroup$1;FloatButton$1.BackTop=BackTop$1;FloatButton$1.install=function($n){return $n.component(FloatButton$1.name,FloatButton$1),$n.component(FloatButtonGroup$1.name,FloatButtonGroup$1),$n.component(BackTop$1.name,BackTop$1),$n};const isValid$1=$n=>$n!=null&&(Array.isArray($n)?filterEmpty($n).length:!0);function hasPrefixSuffix($n){return isValid$1($n.prefix)||isValid$1($n.suffix)||isValid$1($n.allowClear)}function hasAddon$1($n){return isValid$1($n.addonBefore)||isValid$1($n.addonAfter)}function fixControlledValue($n){return typeof $n>"u"||$n===null?"":String($n)}function resolveOnChange($n,Cn,_n,Pn){if(!_n)return;const In=Cn;if(Cn.type==="click"){Object.defineProperty(In,"target",{writable:!0}),Object.defineProperty(In,"currentTarget",{writable:!0});const Nn=$n.cloneNode(!0);In.target=Nn,In.currentTarget=Nn,Nn.value="",_n(In);return}if(Pn!==void 0){Object.defineProperty(In,"target",{writable:!0}),Object.defineProperty(In,"currentTarget",{writable:!0}),In.target=$n,In.currentTarget=$n,$n.value=Pn,_n(In);return}_n(In)}function triggerFocus($n,Cn){if(!$n)return;$n.focus(Cn);const{cursor:_n}=Cn||{};if(_n){const Pn=$n.value.length;switch(_n){case"start":$n.setSelectionRange(0,0);break;case"end":$n.setSelectionRange(Pn,Pn);break;default:$n.setSelectionRange(0,Pn)}}}const commonInputProps=()=>({addonBefore:PropTypes.any,addonAfter:PropTypes.any,prefix:PropTypes.any,suffix:PropTypes.any,clearIcon:PropTypes.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),baseInputProps=()=>_extends$1(_extends$1({},commonInputProps()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:PropTypes.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),inputProps$1=()=>_extends$1(_extends$1({},baseInputProps()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:stringType("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),BaseInput=defineComponent({name:"BaseInput",inheritAttrs:!1,props:baseInputProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=ref(),Nn=Dn=>{var Ln;if(!((Ln=In.value)===null||Ln===void 0)&&Ln.contains(Dn.target)){const{triggerFocus:Fn}=$n;Fn==null||Fn()}},Rn=()=>{var Dn;const{allowClear:Ln,value:Fn,disabled:Bn,readonly:Hn,handleReset:zn,suffix:Wn=_n.suffix,prefixCls:Yn}=$n;if(!Ln)return null;const Gn=!Bn&&!Hn&&Fn,Go=`${Yn}-clear-icon`,Xn=((Dn=_n.clearIcon)===null||Dn===void 0?void 0:Dn.call(_n))||"*";return createVNode("span",{onClick:zn,onMousedown:Yo=>Yo.preventDefault(),class:classNames({[`${Go}-hidden`]:!Gn,[`${Go}-has-suffix`]:!!Wn},Go),role:"button",tabindex:-1},[Xn])};return()=>{var Dn,Ln;const{focused:Fn,value:Bn,disabled:Hn,allowClear:zn,readonly:Wn,hidden:Yn,prefixCls:Gn,prefix:Go=(Dn=_n.prefix)===null||Dn===void 0?void 0:Dn.call(_n),suffix:Xn=(Ln=_n.suffix)===null||Ln===void 0?void 0:Ln.call(_n),addonAfter:Yo=_n.addonAfter,addonBefore:qo=_n.addonBefore,inputElement:Jo,affixWrapperClassName:Zo,wrapperClassName:rr,groupClassName:nr}=$n;let ta=cloneElement(Jo,{value:Bn,hidden:Yn});if(hasPrefixSuffix({prefix:Go,suffix:Xn,allowClear:zn})){const oa=`${Gn}-affix-wrapper`,ra=classNames(oa,{[`${oa}-disabled`]:Hn,[`${oa}-focused`]:Fn,[`${oa}-readonly`]:Wn,[`${oa}-input-with-clear-btn`]:Xn&&zn&&Bn},!hasAddon$1({addonAfter:Yo,addonBefore:qo})&&Pn.class,Zo),ea=(Xn||zn)&&createVNode("span",{class:`${Gn}-suffix`},[Rn(),Xn]);ta=createVNode("span",{class:ra,style:Pn.style,hidden:!hasAddon$1({addonAfter:Yo,addonBefore:qo})&&Yn,onMousedown:Nn,ref:In},[Go&&createVNode("span",{class:`${Gn}-prefix`},[Go]),cloneElement(Jo,{style:null,value:Bn,hidden:null}),ea])}if(hasAddon$1({addonAfter:Yo,addonBefore:qo})){const oa=`${Gn}-group`,ra=`${oa}-addon`,ea=classNames(`${Gn}-wrapper`,oa,rr),la=classNames(`${Gn}-group-wrapper`,Pn.class,nr);return createVNode("span",{class:la,style:Pn.style,hidden:Yn},[createVNode("span",{class:ea},[qo&&createVNode("span",{class:ra},[qo]),cloneElement(ta,{style:null,hidden:null}),Yo&&createVNode("span",{class:ra},[Yo])])])}return ta}}});var __rest$F=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const VcInput=defineComponent({name:"VCInput",inheritAttrs:!1,props:inputProps$1(),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In,emit:Nn}=Cn;const Rn=shallowRef($n.value===void 0?$n.defaultValue:$n.value),Dn=shallowRef(!1),Ln=shallowRef(),Fn=shallowRef();watch(()=>$n.value,()=>{Rn.value=$n.value}),watch(()=>$n.disabled,()=>{$n.disabled&&(Dn.value=!1)});const Bn=nr=>{Ln.value&&triggerFocus(Ln.value,nr)};In({focus:Bn,blur:()=>{var nr;(nr=Ln.value)===null||nr===void 0||nr.blur()},input:Ln,stateValue:Rn,setSelectionRange:(nr,ta,oa)=>{var ra;(ra=Ln.value)===null||ra===void 0||ra.setSelectionRange(nr,ta,oa)},select:()=>{var nr;(nr=Ln.value)===null||nr===void 0||nr.select()}});const Yn=nr=>{Nn("change",nr)},Gn=(nr,ta)=>{Rn.value!==nr&&($n.value===void 0?Rn.value=nr:nextTick(()=>{var oa;Ln.value.value!==Rn.value&&((oa=Fn.value)===null||oa===void 0||oa.$forceUpdate())}),nextTick(()=>{ta&&ta()}))},Go=nr=>{const{value:ta,composing:oa}=nr.target;if((nr.isComposing||oa)&&$n.lazy||Rn.value===ta)return;const ra=nr.target.value;resolveOnChange(Ln.value,nr,Yn),Gn(ra)},Xn=nr=>{nr.keyCode===13&&Nn("pressEnter",nr),Nn("keydown",nr)},Yo=nr=>{Dn.value=!0,Nn("focus",nr)},qo=nr=>{Dn.value=!1,Nn("blur",nr)},Jo=nr=>{resolveOnChange(Ln.value,nr,Yn),Gn("",()=>{Bn()})},Zo=()=>{var nr,ta;const{addonBefore:oa=_n.addonBefore,addonAfter:ra=_n.addonAfter,disabled:ea,valueModifiers:la={},htmlSize:ua,autocomplete:ga,prefixCls:aa,inputClassName:ca,prefix:sa=(nr=_n.prefix)===null||nr===void 0?void 0:nr.call(_n),suffix:ia=(ta=_n.suffix)===null||ta===void 0?void 0:ta.call(_n),allowClear:fa,type:ma="text"}=$n,ya=omit$1($n,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),ba=_extends$1(_extends$1(_extends$1({},ya),Pn),{autocomplete:ga,onChange:Go,onInput:Go,onFocus:Yo,onBlur:qo,onKeydown:Xn,class:classNames(aa,{[`${aa}-disabled`]:ea},ca,!hasAddon$1({addonAfter:ra,addonBefore:oa})&&!hasPrefixSuffix({prefix:sa,suffix:ia,allowClear:fa})&&Pn.class),ref:Ln,key:"ant-input",size:ua,type:ma});la.lazy&&delete ba.onInput,ba.autofocus||delete ba.autofocus;const Ia=createVNode("input",omit$1(ba,["size"]),null);return withDirectives(Ia,[[antInputDirective]])},rr=()=>{var nr;const{maxlength:ta,suffix:oa=(nr=_n.suffix)===null||nr===void 0?void 0:nr.call(_n),showCount:ra,prefixCls:ea}=$n,la=Number(ta)>0;if(oa||ra){const ua=[...fixControlledValue(Rn.value)].length,ga=typeof ra=="object"?ra.formatter({count:ua,maxlength:ta}):`${ua}${la?` / ${ta}`:""}`;return createVNode(Fragment,null,[!!ra&&createVNode("span",{class:classNames(`${ea}-show-count-suffix`,{[`${ea}-show-count-has-suffix`]:!!oa})},[ga]),oa])}return null};return onMounted(()=>{}),()=>{const{prefixCls:nr,disabled:ta}=$n,oa=__rest$F($n,["prefixCls","disabled"]);return createVNode(BaseInput,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},oa),Pn),{},{ref:Fn,prefixCls:nr,inputElement:Zo(),handleReset:Jo,value:fixControlledValue(Rn.value),focused:Dn.value,triggerFocus:Bn,suffix:rr(),disabled:ta}),_n)}}}),inputProps=()=>omit$1(inputProps$1(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),textAreaProps=()=>_extends$1(_extends$1({},omit$1(inputProps(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:eventType(),onCompositionend:eventType(),valueModifiers:Object});var __rest$E=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Input=defineComponent({compatConfig:{MODE:3},name:"AInput",inheritAttrs:!1,props:inputProps(),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In,emit:Nn}=Cn;const Rn=ref(),Dn=useInjectFormItemContext(),Ln=FormItemInputContext.useInject(),Fn=computed(()=>getMergedStatus(Ln.status,$n.status)),{direction:Bn,prefixCls:Hn,size:zn,autocomplete:Wn}=useConfigInject("input",$n),{compactSize:Yn,compactItemClassnames:Gn}=useCompactItemContext(Hn,Bn),Go=computed(()=>Yn.value||zn.value),[Xn,Yo]=useStyle$K(Hn),qo=useInjectDisabled();In({focus:ua=>{var ga;(ga=Rn.value)===null||ga===void 0||ga.focus(ua)},blur:()=>{var ua;(ua=Rn.value)===null||ua===void 0||ua.blur()},input:Rn,setSelectionRange:(ua,ga,aa)=>{var ca;(ca=Rn.value)===null||ca===void 0||ca.setSelectionRange(ua,ga,aa)},select:()=>{var ua;(ua=Rn.value)===null||ua===void 0||ua.select()}});const ta=ref([]),oa=()=>{ta.value.push(setTimeout(()=>{var ua,ga,aa,ca;!((ua=Rn.value)===null||ua===void 0)&&ua.input&&((ga=Rn.value)===null||ga===void 0?void 0:ga.input.getAttribute("type"))==="password"&&(!((aa=Rn.value)===null||aa===void 0)&&aa.input.hasAttribute("value"))&&((ca=Rn.value)===null||ca===void 0||ca.input.removeAttribute("value"))}))};onMounted(()=>{oa()}),onBeforeUpdate(()=>{ta.value.forEach(ua=>clearTimeout(ua))}),onBeforeUnmount(()=>{ta.value.forEach(ua=>clearTimeout(ua))});const ra=ua=>{oa(),Nn("blur",ua),Dn.onFieldBlur()},ea=ua=>{oa(),Nn("focus",ua)},la=ua=>{Nn("update:value",ua.target.value),Nn("change",ua),Nn("input",ua),Dn.onFieldChange()};return()=>{var ua,ga,aa,ca,sa,ia;const{hasFeedback:fa,feedbackIcon:ma}=Ln,{allowClear:ya,bordered:ba=!0,prefix:Ia=(ua=_n.prefix)===null||ua===void 0?void 0:ua.call(_n),suffix:Ea=(ga=_n.suffix)===null||ga===void 0?void 0:ga.call(_n),addonAfter:xa=(aa=_n.addonAfter)===null||aa===void 0?void 0:aa.call(_n),addonBefore:Ta=(ca=_n.addonBefore)===null||ca===void 0?void 0:ca.call(_n),id:wa=(sa=Dn.id)===null||sa===void 0?void 0:sa.value}=$n,La=__rest$E($n,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),Na=(fa||Ea)&&createVNode(Fragment,null,[Ea,fa&&ma]),$a=Hn.value,ka=hasPrefixSuffix({prefix:Ia,suffix:Ea})||!!fa,Ha=_n.clearIcon||(()=>createVNode(CloseCircleFilled$1,null,null));return Xn(createVNode(VcInput,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Pn),omit$1(La,["onUpdate:value","onChange","onInput"])),{},{onChange:la,id:wa,disabled:(ia=$n.disabled)!==null&&ia!==void 0?ia:qo.value,ref:Rn,prefixCls:$a,autocomplete:Wn.value,onBlur:ra,onFocus:ea,prefix:Ia,suffix:Na,allowClear:ya,addonAfter:xa&&createVNode(NoCompactStyle,null,{default:()=>[createVNode(NoFormStatus,null,{default:()=>[xa]})]}),addonBefore:Ta&&createVNode(NoCompactStyle,null,{default:()=>[createVNode(NoFormStatus,null,{default:()=>[Ta]})]}),class:[Pn.class,Gn.value],inputClassName:classNames({[`${$a}-sm`]:Go.value==="small",[`${$a}-lg`]:Go.value==="large",[`${$a}-rtl`]:Bn.value==="rtl",[`${$a}-borderless`]:!ba},!ka&&getStatusClassNames($a,Fn.value),Yo.value),affixWrapperClassName:classNames({[`${$a}-affix-wrapper-sm`]:Go.value==="small",[`${$a}-affix-wrapper-lg`]:Go.value==="large",[`${$a}-affix-wrapper-rtl`]:Bn.value==="rtl",[`${$a}-affix-wrapper-borderless`]:!ba},getStatusClassNames(`${$a}-affix-wrapper`,Fn.value,fa),Yo.value),wrapperClassName:classNames({[`${$a}-group-rtl`]:Bn.value==="rtl"},Yo.value),groupClassName:classNames({[`${$a}-group-wrapper-sm`]:Go.value==="small",[`${$a}-group-wrapper-lg`]:Go.value==="large",[`${$a}-group-wrapper-rtl`]:Bn.value==="rtl"},getStatusClassNames(`${$a}-group-wrapper`,Fn.value,fa),Yo.value)}),_extends$1(_extends$1({},_n),{clearIcon:Ha})))}}}),Group$1=defineComponent({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn,getPrefixCls:Rn}=useConfigInject("input-group",$n),Dn=FormItemInputContext.useInject();FormItemInputContext.useProvide(Dn,{isFormItemInput:!1});const Ln=computed(()=>Rn("input")),[Fn,Bn]=useStyle$K(Ln),Hn=computed(()=>{const zn=In.value;return{[`${zn}`]:!0,[Bn.value]:!0,[`${zn}-lg`]:$n.size==="large",[`${zn}-sm`]:$n.size==="small",[`${zn}-compact`]:$n.compact,[`${zn}-rtl`]:Nn.value==="rtl"}});return()=>{var zn;return Fn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:classNames(Hn.value,Pn.class)}),[(zn=_n.default)===null||zn===void 0?void 0:zn.call(_n)]))}}});var __rest$D=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Search$1=defineComponent({compatConfig:{MODE:3},name:"AInputSearch",inheritAttrs:!1,props:_extends$1(_extends$1({},inputProps()),{inputPrefixCls:String,enterButton:PropTypes.any,onSearch:{type:Function}}),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In,emit:Nn}=Cn;const Rn=shallowRef(),Dn=shallowRef(!1);In({focus:()=>{var Zo;(Zo=Rn.value)===null||Zo===void 0||Zo.focus()},blur:()=>{var Zo;(Zo=Rn.value)===null||Zo===void 0||Zo.blur()}});const Bn=Zo=>{Nn("update:value",Zo.target.value),Zo&&Zo.target&&Zo.type==="click"&&Nn("search",Zo.target.value,Zo),Nn("change",Zo)},Hn=Zo=>{var rr;document.activeElement===((rr=Rn.value)===null||rr===void 0?void 0:rr.input)&&Zo.preventDefault()},zn=Zo=>{var rr,nr;Nn("search",(nr=(rr=Rn.value)===null||rr===void 0?void 0:rr.input)===null||nr===void 0?void 0:nr.stateValue,Zo)},Wn=Zo=>{Dn.value||$n.loading||zn(Zo)},Yn=Zo=>{Dn.value=!0,Nn("compositionstart",Zo)},Gn=Zo=>{Dn.value=!1,Nn("compositionend",Zo)},{prefixCls:Go,getPrefixCls:Xn,direction:Yo,size:qo}=useConfigInject("input-search",$n),Jo=computed(()=>Xn("input",$n.inputPrefixCls));return()=>{var Zo,rr,nr,ta;const{disabled:oa,loading:ra,addonAfter:ea=(Zo=_n.addonAfter)===null||Zo===void 0?void 0:Zo.call(_n),suffix:la=(rr=_n.suffix)===null||rr===void 0?void 0:rr.call(_n)}=$n,ua=__rest$D($n,["disabled","loading","addonAfter","suffix"]);let{enterButton:ga=(ta=(nr=_n.enterButton)===null||nr===void 0?void 0:nr.call(_n))!==null&&ta!==void 0?ta:!1}=$n;ga=ga||ga==="";const aa=typeof ga=="boolean"?createVNode(SearchOutlined$1,null,null):null,ca=`${Go.value}-button`,sa=Array.isArray(ga)?ga[0]:ga;let ia;const fa=sa.type&&isPlainObject$2(sa.type)&&sa.type.__ANT_BUTTON;if(fa||sa.tagName==="button")ia=cloneElement(sa,_extends$1({onMousedown:Hn,onClick:zn,key:"enterButton"},fa?{class:ca,size:qo.value}:{}),!1);else{const ya=aa&&!ga;ia=createVNode(Button$1,{class:ca,type:ga?"primary":void 0,size:qo.value,disabled:oa,key:"enterButton",onMousedown:Hn,onClick:zn,loading:ra,icon:ya?aa:null},{default:()=>[ya?null:aa||ga]})}ea&&(ia=[ia,ea]);const ma=classNames(Go.value,{[`${Go.value}-rtl`]:Yo.value==="rtl",[`${Go.value}-${qo.value}`]:!!qo.value,[`${Go.value}-with-button`]:!!ga},Pn.class);return createVNode(Input,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Rn},omit$1(ua,["onUpdate:value","onSearch","enterButton"])),Pn),{},{onPressEnter:Wn,onCompositionstart:Yn,onCompositionend:Gn,size:qo.value,prefixCls:Jo.value,addonAfter:ia,suffix:la,onChange:Bn,class:ma,disabled:oa}),_n)}}}),isValid=$n=>$n!=null&&(Array.isArray($n)?filterEmpty($n).length:!0);function hasAddon($n){return isValid($n.addonBefore)||isValid($n.addonAfter)}const ClearableInputType=["text","input"],ClearableLabeledInput=defineComponent({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:PropTypes.oneOf(tuple$1("text","input")),value:anyType(),defaultValue:anyType(),allowClear:{type:Boolean,default:void 0},element:anyType(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:anyType(),prefix:anyType(),addonBefore:anyType(),addonAfter:anyType(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=FormItemInputContext.useInject(),Nn=Dn=>{const{value:Ln,disabled:Fn,readonly:Bn,handleReset:Hn,suffix:zn=_n.suffix}=$n,Wn=!Fn&&!Bn&&Ln,Yn=`${Dn}-clear-icon`;return createVNode(CloseCircleFilled$1,{onClick:Hn,onMousedown:Gn=>Gn.preventDefault(),class:classNames({[`${Yn}-hidden`]:!Wn,[`${Yn}-has-suffix`]:!!zn},Yn),role:"button"},null)},Rn=(Dn,Ln)=>{const{value:Fn,allowClear:Bn,direction:Hn,bordered:zn,hidden:Wn,status:Yn,addonAfter:Gn=_n.addonAfter,addonBefore:Go=_n.addonBefore,hashId:Xn}=$n,{status:Yo,hasFeedback:qo}=In;if(!Bn)return cloneElement(Ln,{value:Fn,disabled:$n.disabled});const Jo=classNames(`${Dn}-affix-wrapper`,`${Dn}-affix-wrapper-textarea-with-clear-btn`,getStatusClassNames(`${Dn}-affix-wrapper`,getMergedStatus(Yo,Yn),qo),{[`${Dn}-affix-wrapper-rtl`]:Hn==="rtl",[`${Dn}-affix-wrapper-borderless`]:!zn,[`${Pn.class}`]:!hasAddon({addonAfter:Gn,addonBefore:Go})&&Pn.class},Xn);return createVNode("span",{class:Jo,style:Pn.style,hidden:Wn},[cloneElement(Ln,{style:null,value:Fn,disabled:$n.disabled}),Nn(Dn)])};return()=>{var Dn;const{prefixCls:Ln,inputType:Fn,element:Bn=(Dn=_n.element)===null||Dn===void 0?void 0:Dn.call(_n)}=$n;return Fn===ClearableInputType[0]?Rn(Ln,Bn):null}}}),HIDDEN_TEXTAREA_STYLE=`
- min-height:0 !important;
- max-height:none !important;
- height:0 !important;
- visibility:hidden !important;
- overflow:hidden !important;
- position:absolute !important;
- z-index:-1000 !important;
- top:0 !important;
- right:0 !important;
- pointer-events: none !important;
-`,SIZING_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],computedStyleCache={};let hiddenTextarea;function calculateNodeStyling($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const _n=$n.getAttribute("id")||$n.getAttribute("data-reactid")||$n.getAttribute("name");if(Cn&&computedStyleCache[_n])return computedStyleCache[_n];const Pn=window.getComputedStyle($n),In=Pn.getPropertyValue("box-sizing")||Pn.getPropertyValue("-moz-box-sizing")||Pn.getPropertyValue("-webkit-box-sizing"),Nn=parseFloat(Pn.getPropertyValue("padding-bottom"))+parseFloat(Pn.getPropertyValue("padding-top")),Rn=parseFloat(Pn.getPropertyValue("border-bottom-width"))+parseFloat(Pn.getPropertyValue("border-top-width")),Ln={sizingStyle:SIZING_STYLE.map(Fn=>`${Fn}:${Pn.getPropertyValue(Fn)}`).join(";"),paddingSize:Nn,borderSize:Rn,boxSizing:In};return Cn&&_n&&(computedStyleCache[_n]=Ln),Ln}function calculateAutoSizeStyle($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),hiddenTextarea.setAttribute("tab-index","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),document.body.appendChild(hiddenTextarea)),$n.getAttribute("wrap")?hiddenTextarea.setAttribute("wrap",$n.getAttribute("wrap")):hiddenTextarea.removeAttribute("wrap");const{paddingSize:In,borderSize:Nn,boxSizing:Rn,sizingStyle:Dn}=calculateNodeStyling($n,Cn);hiddenTextarea.setAttribute("style",`${Dn};${HIDDEN_TEXTAREA_STYLE}`),hiddenTextarea.value=$n.value||$n.placeholder||"";let Ln,Fn,Bn,Hn=hiddenTextarea.scrollHeight;if(Rn==="border-box"?Hn+=Nn:Rn==="content-box"&&(Hn-=In),_n!==null||Pn!==null){hiddenTextarea.value=" ";const Wn=hiddenTextarea.scrollHeight-In;_n!==null&&(Ln=Wn*_n,Rn==="border-box"&&(Ln=Ln+In+Nn),Hn=Math.max(Ln,Hn)),Pn!==null&&(Fn=Wn*Pn,Rn==="border-box"&&(Fn=Fn+In+Nn),Bn=Hn>Fn?"":"hidden",Hn=Math.min(Fn,Hn))}const zn={height:`${Hn}px`,overflowY:Bn,resize:"none"};return Ln&&(zn.minHeight=`${Ln}px`),Fn&&(zn.maxHeight=`${Fn}px`),zn}const RESIZE_START=0,RESIZE_MEASURING=1,RESIZE_STABLE=2,ResizableTextArea=defineComponent({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:textAreaProps(),setup($n,Cn){let{attrs:_n,emit:Pn,expose:In}=Cn,Nn,Rn;const Dn=ref(),Ln=ref({}),Fn=ref(RESIZE_STABLE);onBeforeUnmount(()=>{wrapperRaf.cancel(Nn),wrapperRaf.cancel(Rn)});const Bn=()=>{try{if(document.activeElement===Dn.value){const rr=Dn.value.selectionStart,nr=Dn.value.selectionEnd,ta=Dn.value.scrollTop;Dn.value.setSelectionRange(rr,nr),Dn.value.scrollTop=ta}}catch{}},Hn=ref(),zn=ref();watchEffect(()=>{const rr=$n.autoSize||$n.autosize;rr?(Hn.value=rr.minRows,zn.value=rr.maxRows):(Hn.value=void 0,zn.value=void 0)});const Wn=computed(()=>!!($n.autoSize||$n.autosize)),Yn=()=>{Fn.value=RESIZE_START};watch([()=>$n.value,Hn,zn,Wn],()=>{Wn.value&&Yn()},{immediate:!0,flush:"post"});const Gn=ref();watch([Fn,Dn],()=>{if(Dn.value)if(Fn.value===RESIZE_START)Fn.value=RESIZE_MEASURING;else if(Fn.value===RESIZE_MEASURING){const rr=calculateAutoSizeStyle(Dn.value,!1,Hn.value,zn.value);Fn.value=RESIZE_STABLE,Gn.value=rr}else Bn()},{immediate:!0,flush:"post"});const Go=getCurrentInstance(),Xn=ref(),Yo=()=>{wrapperRaf.cancel(Xn.value)},qo=rr=>{Fn.value===RESIZE_STABLE&&(Pn("resize",rr),Wn.value&&(Yo(),Xn.value=wrapperRaf(()=>{Yn()})))};onBeforeUnmount(()=>{Yo()}),In({resizeTextarea:()=>{Yn()},textArea:Dn,instance:Go}),warning$3($n.autosize===void 0);const Zo=()=>{const{prefixCls:rr,disabled:nr}=$n,ta=omit$1($n,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","lazy","maxlength","valueModifiers"]),oa=classNames(rr,_n.class,{[`${rr}-disabled`]:nr}),ra=Wn.value?Gn.value:null,ea=[_n.style,Ln.value,ra],la=_extends$1(_extends$1(_extends$1({},ta),_n),{style:ea,class:oa});return(Fn.value===RESIZE_START||Fn.value===RESIZE_MEASURING)&&ea.push({overflowX:"hidden",overflowY:"hidden"}),la.autofocus||delete la.autofocus,la.rows===0&&delete la.rows,createVNode(ResizeObserver$1,{onResize:qo,disabled:!Wn.value},{default:()=>[withDirectives(createVNode("textarea",_objectSpread2$1(_objectSpread2$1({},la),{},{ref:Dn}),null),[[antInputDirective]])]})};return()=>Zo()}}),ResizableTextArea$1=ResizableTextArea;function fixEmojiLength($n,Cn){return[...$n||""].slice(0,Cn).join("")}function setTriggerValue($n,Cn,_n,Pn){let In=_n;return $n?In=fixEmojiLength(_n,Pn):[...Cn||""].length<_n.length&&[..._n||""].length>Pn&&(In=Cn),In}const TextArea=defineComponent({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:textAreaProps(),setup($n,Cn){let{attrs:_n,expose:Pn,emit:In}=Cn;const Nn=useInjectFormItemContext(),Rn=FormItemInputContext.useInject(),Dn=computed(()=>getMergedStatus(Rn.status,$n.status)),Ln=shallowRef($n.value===void 0?$n.defaultValue:$n.value),Fn=shallowRef(),Bn=shallowRef(""),{prefixCls:Hn,size:zn,direction:Wn}=useConfigInject("input",$n),[Yn,Gn]=useStyle$K(Hn),Go=useInjectDisabled(),Xn=computed(()=>$n.showCount===""||$n.showCount||!1),Yo=computed(()=>Number($n.maxlength)>0),qo=shallowRef(!1),Jo=shallowRef(),Zo=shallowRef(0),rr=ia=>{qo.value=!0,Jo.value=Bn.value,Zo.value=ia.currentTarget.selectionStart,In("compositionstart",ia)},nr=ia=>{var fa;qo.value=!1;let ma=ia.currentTarget.value;if(Yo.value){const ya=Zo.value>=$n.maxlength+1||Zo.value===((fa=Jo.value)===null||fa===void 0?void 0:fa.length);ma=setTriggerValue(ya,Jo.value,ma,$n.maxlength)}ma!==Bn.value&&(ea(ma),resolveOnChange(ia.currentTarget,ia,ga,ma)),In("compositionend",ia)},ta=getCurrentInstance();watch(()=>$n.value,()=>{var ia;"value"in ta.vnode.props,Ln.value=(ia=$n.value)!==null&&ia!==void 0?ia:""});const oa=ia=>{var fa;triggerFocus((fa=Fn.value)===null||fa===void 0?void 0:fa.textArea,ia)},ra=()=>{var ia,fa;(fa=(ia=Fn.value)===null||ia===void 0?void 0:ia.textArea)===null||fa===void 0||fa.blur()},ea=(ia,fa)=>{Ln.value!==ia&&($n.value===void 0?Ln.value=ia:nextTick(()=>{var ma,ya,ba;Fn.value.textArea.value!==Bn.value&&((ba=(ma=Fn.value)===null||ma===void 0?void 0:(ya=ma.instance).update)===null||ba===void 0||ba.call(ya))}),nextTick(()=>{fa&&fa()}))},la=ia=>{ia.keyCode===13&&In("pressEnter",ia),In("keydown",ia)},ua=ia=>{const{onBlur:fa}=$n;fa==null||fa(ia),Nn.onFieldBlur()},ga=ia=>{In("update:value",ia.target.value),In("change",ia),In("input",ia),Nn.onFieldChange()},aa=ia=>{resolveOnChange(Fn.value.textArea,ia,ga),ea("",()=>{oa()})},ca=ia=>{const{composing:fa}=ia.target;let ma=ia.target.value;if(qo.value=!!(ia.isComposing||fa),!(qo.value&&$n.lazy||Ln.value===ma)){if(Yo.value){const ya=ia.target,ba=ya.selectionStart>=$n.maxlength+1||ya.selectionStart===ma.length||!ya.selectionStart;ma=setTriggerValue(ba,Bn.value,ma,$n.maxlength)}resolveOnChange(ia.currentTarget,ia,ga,ma),ea(ma)}},sa=()=>{var ia,fa;const{class:ma}=_n,{bordered:ya=!0}=$n,ba=_extends$1(_extends$1(_extends$1({},omit$1($n,["allowClear"])),_n),{class:[{[`${Hn.value}-borderless`]:!ya,[`${ma}`]:ma&&!Xn.value,[`${Hn.value}-sm`]:zn.value==="small",[`${Hn.value}-lg`]:zn.value==="large"},getStatusClassNames(Hn.value,Dn.value),Gn.value],disabled:Go.value,showCount:null,prefixCls:Hn.value,onInput:ca,onChange:ca,onBlur:ua,onKeydown:la,onCompositionstart:rr,onCompositionend:nr});return!((ia=$n.valueModifiers)===null||ia===void 0)&&ia.lazy&&delete ba.onInput,createVNode(ResizableTextArea$1,_objectSpread2$1(_objectSpread2$1({},ba),{},{id:(fa=ba==null?void 0:ba.id)!==null&&fa!==void 0?fa:Nn.id.value,ref:Fn,maxlength:$n.maxlength}),null)};return Pn({focus:oa,blur:ra,resizableTextArea:Fn}),watchEffect(()=>{let ia=fixControlledValue(Ln.value);!qo.value&&Yo.value&&($n.value===null||$n.value===void 0)&&(ia=fixEmojiLength(ia,$n.maxlength)),Bn.value=ia}),()=>{var ia;const{maxlength:fa,bordered:ma=!0,hidden:ya}=$n,{style:ba,class:Ia}=_n,Ea=_extends$1(_extends$1(_extends$1({},$n),_n),{prefixCls:Hn.value,inputType:"text",handleReset:aa,direction:Wn.value,bordered:ma,style:Xn.value?void 0:ba,hashId:Gn.value,disabled:(ia=$n.disabled)!==null&&ia!==void 0?ia:Go.value});let xa=createVNode(ClearableLabeledInput,_objectSpread2$1(_objectSpread2$1({},Ea),{},{value:Bn.value,status:$n.status}),{element:sa});if(Xn.value||Rn.hasFeedback){const Ta=[...Bn.value].length;let wa="";typeof Xn.value=="object"?wa=Xn.value.formatter({value:Bn.value,count:Ta,maxlength:fa}):wa=`${Ta}${Yo.value?` / ${fa}`:""}`,xa=createVNode("div",{hidden:ya,class:classNames(`${Hn.value}-textarea`,{[`${Hn.value}-textarea-rtl`]:Wn.value==="rtl",[`${Hn.value}-textarea-show-count`]:Xn.value,[`${Hn.value}-textarea-in-form-item`]:Rn.isFormItemInput},`${Hn.value}-textarea-show-count`,Ia,Gn.value),style:ba,"data-count":typeof wa!="object"?wa:void 0},[xa,Rn.hasFeedback&&createVNode("span",{class:`${Hn.value}-textarea-suffix`},[Rn.feedbackIcon])])}return Yn(xa)}}});var EyeOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const EyeOutlinedSvg=EyeOutlined$2;function _objectSpread$w($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$w($n,In,_n[In])})}return $n}function _defineProperty$w($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var EyeOutlined=function(Cn,_n){var Pn=_objectSpread$w({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$w({},Pn,{icon:EyeOutlinedSvg}),null)};EyeOutlined.displayName="EyeOutlined";EyeOutlined.inheritAttrs=!1;const EyeOutlined$1=EyeOutlined;var EyeInvisibleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const EyeInvisibleOutlinedSvg=EyeInvisibleOutlined$2;function _objectSpread$v($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$v($n,In,_n[In])})}return $n}function _defineProperty$v($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var EyeInvisibleOutlined=function(Cn,_n){var Pn=_objectSpread$v({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$v({},Pn,{icon:EyeInvisibleOutlinedSvg}),null)};EyeInvisibleOutlined.displayName="EyeInvisibleOutlined";EyeInvisibleOutlined.inheritAttrs=!1;const EyeInvisibleOutlined$1=EyeInvisibleOutlined;var __rest$C=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const ActionMap={click:"onClick",hover:"onMouseover"},defaultIconRender=$n=>createVNode($n?EyeOutlined$1:EyeInvisibleOutlined$1,null,null),Password=defineComponent({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:_extends$1(_extends$1({},inputProps()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In,emit:Nn}=Cn;const Rn=shallowRef(!1),Dn=()=>{const{disabled:Go}=$n;Go||(Rn.value=!Rn.value,Nn("update:visible",Rn.value))};watchEffect(()=>{$n.visible!==void 0&&(Rn.value=!!$n.visible)});const Ln=shallowRef();In({focus:()=>{var Go;(Go=Ln.value)===null||Go===void 0||Go.focus()},blur:()=>{var Go;(Go=Ln.value)===null||Go===void 0||Go.blur()}});const Hn=Go=>{const{action:Xn,iconRender:Yo=_n.iconRender||defaultIconRender}=$n,qo=ActionMap[Xn]||"",Jo=Yo(Rn.value),Zo={[qo]:Dn,class:`${Go}-icon`,key:"passwordIcon",onMousedown:rr=>{rr.preventDefault()},onMouseup:rr=>{rr.preventDefault()}};return cloneElement(isValidElement(Jo)?Jo:createVNode("span",null,[Jo]),Zo)},{prefixCls:zn,getPrefixCls:Wn}=useConfigInject("input-password",$n),Yn=computed(()=>Wn("input",$n.inputPrefixCls)),Gn=()=>{const{size:Go,visibilityToggle:Xn}=$n,Yo=__rest$C($n,["size","visibilityToggle"]),qo=Xn&&Hn(zn.value),Jo=classNames(zn.value,Pn.class,{[`${zn.value}-${Go}`]:!!Go}),Zo=_extends$1(_extends$1(_extends$1({},omit$1(Yo,["suffix","iconRender","action"])),Pn),{type:Rn.value?"text":"password",class:Jo,prefixCls:Yn.value,suffix:qo});return Go&&(Zo.size=Go),createVNode(Input,_objectSpread2$1({ref:Ln},Zo),_n)};return()=>Gn()}});Input.Group=Group$1;Input.Search=Search$1;Input.TextArea=TextArea;Input.Password=Password;Input.install=function($n){return $n.component(Input.name,Input),$n.component(Input.Group.name,Input.Group),$n.component(Input.Search.name,Input.Search),$n.component(Input.TextArea.name,Input.TextArea),$n.component(Input.Password.name,Input.Password),$n};function getClientSize(){const $n=document.documentElement.clientWidth,Cn=window.innerHeight||document.documentElement.clientHeight;return{width:$n,height:Cn}}function getOffset($n){const Cn=$n.getBoundingClientRect(),_n=document.documentElement;return{left:Cn.left+(window.pageXOffset||_n.scrollLeft)-(_n.clientLeft||document.body.clientLeft||0),top:Cn.top+(window.pageYOffset||_n.scrollTop)-(_n.clientTop||document.body.clientTop||0)}}function dialogPropTypes(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:PropTypes.shape({x:Number,y:Number}).loose,title:PropTypes.any,footer:PropTypes.any,transitionName:String,maskTransitionName:String,animation:PropTypes.any,maskAnimation:PropTypes.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:PropTypes.any,maskProps:PropTypes.any,wrapProps:PropTypes.any,getContainer:PropTypes.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:PropTypes.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function getMotionName($n,Cn,_n){let Pn=Cn;return!Pn&&_n&&(Pn=`${$n}-${_n}`),Pn}let uuid$3=-1;function getUUID$1(){return uuid$3+=1,uuid$3}function getScroll$1($n,Cn){let _n=$n[`page${Cn?"Y":"X"}Offset`];const Pn=`scroll${Cn?"Top":"Left"}`;if(typeof _n!="number"){const In=$n.document;_n=In.documentElement[Pn],typeof _n!="number"&&(_n=In.body[Pn])}return _n}function offset$3($n){const Cn=$n.getBoundingClientRect(),_n={left:Cn.left,top:Cn.top},Pn=$n.ownerDocument,In=Pn.defaultView||Pn.parentWindow;return _n.left+=getScroll$1(In),_n.top+=getScroll$1(In,!0),_n}const sentinelStyle={width:0,height:0,overflow:"hidden",outline:"none"},Content$1=defineComponent({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:_extends$1(_extends$1({},dialogPropTypes()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup($n,Cn){let{expose:_n,slots:Pn,attrs:In}=Cn;const Nn=ref(),Rn=ref(),Dn=ref();_n({focus:()=>{var zn;(zn=Nn.value)===null||zn===void 0||zn.focus()},changeActive:zn=>{const{activeElement:Wn}=document;zn&&Wn===Rn.value?Nn.value.focus():!zn&&Wn===Nn.value&&Rn.value.focus()}});const Ln=ref(),Fn=computed(()=>{const{width:zn,height:Wn}=$n,Yn={};return zn!==void 0&&(Yn.width=typeof zn=="number"?`${zn}px`:zn),Wn!==void 0&&(Yn.height=typeof Wn=="number"?`${Wn}px`:Wn),Ln.value&&(Yn.transformOrigin=Ln.value),Yn}),Bn=()=>{nextTick(()=>{if(Dn.value){const zn=offset$3(Dn.value);Ln.value=$n.mousePosition?`${$n.mousePosition.x-zn.left}px ${$n.mousePosition.y-zn.top}px`:""}})},Hn=zn=>{$n.onVisibleChanged(zn)};return()=>{var zn,Wn,Yn,Gn;const{prefixCls:Go,footer:Xn=(zn=Pn.footer)===null||zn===void 0?void 0:zn.call(Pn),title:Yo=(Wn=Pn.title)===null||Wn===void 0?void 0:Wn.call(Pn),ariaId:qo,closable:Jo,closeIcon:Zo=(Yn=Pn.closeIcon)===null||Yn===void 0?void 0:Yn.call(Pn),onClose:rr,bodyStyle:nr,bodyProps:ta,onMousedown:oa,onMouseup:ra,visible:ea,modalRender:la=Pn.modalRender,destroyOnClose:ua,motionName:ga}=$n;let aa;Xn&&(aa=createVNode("div",{class:`${Go}-footer`},[Xn]));let ca;Yo&&(ca=createVNode("div",{class:`${Go}-header`},[createVNode("div",{class:`${Go}-title`,id:qo},[Yo])]));let sa;Jo&&(sa=createVNode("button",{type:"button",onClick:rr,"aria-label":"Close",class:`${Go}-close`},[Zo||createVNode("span",{class:`${Go}-close-x`},null)]));const ia=createVNode("div",{class:`${Go}-content`},[sa,ca,createVNode("div",_objectSpread2$1({class:`${Go}-body`,style:nr},ta),[(Gn=Pn.default)===null||Gn===void 0?void 0:Gn.call(Pn)]),aa]),fa=getTransitionProps(ga);return createVNode(Transition,_objectSpread2$1(_objectSpread2$1({},fa),{},{onBeforeEnter:Bn,onAfterEnter:()=>Hn(!0),onAfterLeave:()=>Hn(!1)}),{default:()=>[ea||!ua?withDirectives(createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{ref:Dn,key:"dialog-element",role:"document",style:[Fn.value,In.style],class:[Go,In.class],onMousedown:oa,onMouseup:ra}),[createVNode("div",{tabindex:0,ref:Nn,style:sentinelStyle,"aria-hidden":"true"},null),la?la({originVNode:ia}):ia,createVNode("div",{tabindex:0,ref:Rn,style:sentinelStyle,"aria-hidden":"true"},null)]),[[vShow,ea]]):null]})}}}),Mask$2=defineComponent({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup($n,Cn){return()=>{const{prefixCls:_n,visible:Pn,maskProps:In,motionName:Nn}=$n,Rn=getTransitionProps(Nn);return createVNode(Transition,Rn,{default:()=>[withDirectives(createVNode("div",_objectSpread2$1({class:`${_n}-mask`},In),null),[[vShow,Pn]])]})}}}),Dialog=defineComponent({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:initDefaultProps(_extends$1(_extends$1({},dialogPropTypes()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=shallowRef(),Nn=shallowRef(),Rn=shallowRef(),Dn=shallowRef($n.visible),Ln=shallowRef(`vcDialogTitle${getUUID$1()}`),Fn=Xn=>{var Yo,qo;if(Xn)contains$2(Nn.value,document.activeElement)||(In.value=document.activeElement,(Yo=Rn.value)===null||Yo===void 0||Yo.focus());else{const Jo=Dn.value;if(Dn.value=!1,$n.mask&&In.value&&$n.focusTriggerAfterClose){try{In.value.focus({preventScroll:!0})}catch{}In.value=null}Jo&&((qo=$n.afterClose)===null||qo===void 0||qo.call($n))}},Bn=Xn=>{var Yo;(Yo=$n.onClose)===null||Yo===void 0||Yo.call($n,Xn)},Hn=shallowRef(!1),zn=shallowRef(),Wn=()=>{clearTimeout(zn.value),Hn.value=!0},Yn=()=>{zn.value=setTimeout(()=>{Hn.value=!1})},Gn=Xn=>{if(!$n.maskClosable)return null;Hn.value?Hn.value=!1:Nn.value===Xn.target&&Bn(Xn)},Go=Xn=>{if($n.keyboard&&Xn.keyCode===KeyCode$1.ESC){Xn.stopPropagation(),Bn(Xn);return}$n.visible&&Xn.keyCode===KeyCode$1.TAB&&Rn.value.changeActive(!Xn.shiftKey)};return watch(()=>$n.visible,()=>{$n.visible&&(Dn.value=!0)},{flush:"post"}),onBeforeUnmount(()=>{var Xn;clearTimeout(zn.value),(Xn=$n.scrollLocker)===null||Xn===void 0||Xn.unLock()}),watchEffect(()=>{var Xn,Yo;(Xn=$n.scrollLocker)===null||Xn===void 0||Xn.unLock(),Dn.value&&((Yo=$n.scrollLocker)===null||Yo===void 0||Yo.lock())}),()=>{const{prefixCls:Xn,mask:Yo,visible:qo,maskTransitionName:Jo,maskAnimation:Zo,zIndex:rr,wrapClassName:nr,rootClassName:ta,wrapStyle:oa,closable:ra,maskProps:ea,maskStyle:la,transitionName:ua,animation:ga,wrapProps:aa,title:ca=Pn.title}=$n,{style:sa,class:ia}=_n;return createVNode("div",_objectSpread2$1({class:[`${Xn}-root`,ta]},pickAttrs($n,{data:!0})),[createVNode(Mask$2,{prefixCls:Xn,visible:Yo&&qo,motionName:getMotionName(Xn,Jo,Zo),style:_extends$1({zIndex:rr},la),maskProps:ea},null),createVNode("div",_objectSpread2$1({tabIndex:-1,onKeydown:Go,class:classNames(`${Xn}-wrap`,nr),ref:Nn,onClick:Gn,role:"dialog","aria-labelledby":ca?Ln.value:null,style:_extends$1(_extends$1({zIndex:rr},oa),{display:Dn.value?null:"none"})},aa),[createVNode(Content$1,_objectSpread2$1(_objectSpread2$1({},omit$1($n,["scrollLocker"])),{},{style:sa,class:ia,onMousedown:Wn,onMouseup:Yn,ref:Rn,closable:ra,ariaId:Ln.value,prefixCls:Xn,visible:qo,onClose:Bn,onVisibleChanged:Fn,motionName:getMotionName(Xn,ua,ga)}),Pn)])])}}}),IDialogPropTypes=dialogPropTypes(),DialogWrap=defineComponent({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:initDefaultProps(IDialogPropTypes,{visible:!1}),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=ref($n.visible);return useProvidePortal({},{inTriggerContext:!1}),watch(()=>$n.visible,()=>{$n.visible&&(In.value=!0)},{flush:"post"}),()=>{const{visible:Nn,getContainer:Rn,forceRender:Dn,destroyOnClose:Ln=!1,afterClose:Fn}=$n;let Bn=_extends$1(_extends$1(_extends$1({},$n),_n),{ref:"_component",key:"dialog"});return Rn===!1?createVNode(Dialog,_objectSpread2$1(_objectSpread2$1({},Bn),{},{getOpenCount:()=>2}),Pn):!Dn&&Ln&&!In.value?null:createVNode(Portal,{autoLock:!0,visible:Nn,forceRender:Dn,getContainer:Rn},{default:Hn=>(Bn=_extends$1(_extends$1(_extends$1({},Bn),Hn),{afterClose:()=>{Fn==null||Fn(),In.value=!1}}),createVNode(Dialog,Bn,Pn))})}}}),DialogWrap$1=DialogWrap;function useFrameSetState($n){const Cn=ref(null),_n=reactive(_extends$1({},$n)),Pn=ref([]),In=Nn=>{Cn.value===null&&(Pn.value=[],Cn.value=wrapperRaf(()=>{let Rn;Pn.value.forEach(Dn=>{Rn=_extends$1(_extends$1({},Rn),Dn)}),_extends$1(_n,Rn),Cn.value=null})),Pn.value.push(Nn)};return onMounted(()=>{Cn.value&&wrapperRaf.cancel(Cn.value)}),[_n,In]}function fixPoint($n,Cn,_n,Pn){const In=Cn+_n,Nn=(_n-Pn)/2;if(_n>Pn){if(Cn>0)return{[$n]:Nn};if(Cn<0&&In<Pn)return{[$n]:-Nn}}else if(Cn<0||In>Pn)return{[$n]:Cn<0?Nn:-Nn};return{}}function getFixScaleEleTransPosition($n,Cn,_n,Pn){const{width:In,height:Nn}=getClientSize();let Rn=null;return $n<=In&&Cn<=Nn?Rn={x:0,y:0}:($n>In||Cn>Nn)&&(Rn=_extends$1(_extends$1({},fixPoint("x",_n,$n,In)),fixPoint("y",Pn,Cn,Nn))),Rn}var __rest$B=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const previewGroupContext=Symbol("previewGroupContext"),context={provide:$n=>{provide(previewGroupContext,$n)},inject:()=>inject(previewGroupContext,{isPreviewGroup:shallowRef(!1),previewUrls:computed(()=>new Map),setPreviewUrls:()=>{},current:ref(null),setCurrent:()=>{},setShowPreview:()=>{},setMousePosition:()=>{},registerImage:null,rootClassName:""})},imageGroupProps=()=>({previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:()=>({})}}),Group=defineComponent({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:imageGroupProps(),setup($n,Cn){let{slots:_n}=Cn;const Pn=computed(()=>{const Zo={visible:void 0,onVisibleChange:()=>{},getContainer:void 0,current:0};return typeof $n.preview=="object"?mergeDefaultValue($n.preview,Zo):Zo}),In=reactive(new Map),Nn=ref(),Rn=computed(()=>Pn.value.visible),Dn=computed(()=>Pn.value.getContainer),Ln=(Zo,rr)=>{var nr,ta;(ta=(nr=Pn.value).onVisibleChange)===null||ta===void 0||ta.call(nr,Zo,rr)},[Fn,Bn]=useMergedState(!!Rn.value,{value:Rn,onChange:Ln}),Hn=ref(null),zn=computed(()=>Rn.value!==void 0),Wn=computed(()=>Array.from(In.keys())),Yn=computed(()=>Wn.value[Pn.value.current]),Gn=computed(()=>new Map(Array.from(In).filter(Zo=>{let[,{canPreview:rr}]=Zo;return!!rr}).map(Zo=>{let[rr,{url:nr}]=Zo;return[rr,nr]}))),Go=function(Zo,rr){let nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;In.set(Zo,{url:rr,canPreview:nr})},Xn=Zo=>{Nn.value=Zo},Yo=Zo=>{Hn.value=Zo},qo=function(Zo,rr){let nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const ta=()=>{In.delete(Zo)};return In.set(Zo,{url:rr,canPreview:nr}),ta},Jo=Zo=>{Zo==null||Zo.stopPropagation(),Bn(!1),Yo(null)};return watch(Yn,Zo=>{Xn(Zo)},{immediate:!0,flush:"post"}),watchEffect(()=>{Fn.value&&zn.value&&Xn(Yn.value)},{flush:"post"}),context.provide({isPreviewGroup:shallowRef(!0),previewUrls:Gn,setPreviewUrls:Go,current:Nn,setCurrent:Xn,setShowPreview:Bn,setMousePosition:Yo,registerImage:qo}),()=>{const Zo=__rest$B(Pn.value,[]);return createVNode(Fragment,null,[_n.default&&_n.default(),createVNode(Preview$1,_objectSpread2$1(_objectSpread2$1({},Zo),{},{"ria-hidden":!Fn.value,visible:Fn.value,prefixCls:$n.previewPrefixCls,onClose:Jo,mousePosition:Hn.value,src:Gn.value.get(Nn.value),icons:$n.icons,getContainer:Dn.value}),null)])}}}),PreviewGroup$1=Group,initialPosition={x:0,y:0},previewProps=_extends$1(_extends$1({},dialogPropTypes()),{src:String,alt:String,rootClassName:String,icons:{type:Object,default:()=>({})}}),Preview=defineComponent({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:previewProps,emits:["close","afterClose"],setup($n,Cn){let{emit:_n,attrs:Pn}=Cn;const{rotateLeft:In,rotateRight:Nn,zoomIn:Rn,zoomOut:Dn,close:Ln,left:Fn,right:Bn,flipX:Hn,flipY:zn}=reactive($n.icons),Wn=shallowRef(1),Yn=shallowRef(0),Gn=reactive({x:1,y:1}),[Go,Xn]=useFrameSetState(initialPosition),Yo=()=>_n("close"),qo=shallowRef(),Jo=reactive({originX:0,originY:0,deltaX:0,deltaY:0}),Zo=shallowRef(!1),rr=context.inject(),{previewUrls:nr,current:ta,isPreviewGroup:oa,setCurrent:ra}=rr,ea=computed(()=>nr.value.size),la=computed(()=>Array.from(nr.value.keys())),ua=computed(()=>la.value.indexOf(ta.value)),ga=computed(()=>oa.value?nr.value.get(ta.value):$n.src),aa=computed(()=>oa.value&&ea.value>1),ca=shallowRef({wheelDirection:0}),sa=()=>{Wn.value=1,Yn.value=0,Gn.x=1,Gn.y=1,Xn(initialPosition),_n("afterClose")},ia=Ra=>{Ra?Wn.value+=.5:Wn.value++,Xn(initialPosition)},fa=Ra=>{Wn.value>1&&(Ra?Wn.value-=.5:Wn.value--),Xn(initialPosition)},ma=()=>{Yn.value+=90},ya=()=>{Yn.value-=90},ba=()=>{Gn.x=-Gn.x},Ia=()=>{Gn.y=-Gn.y},Ea=Ra=>{Ra.preventDefault(),Ra.stopPropagation(),ua.value>0&&ra(la.value[ua.value-1])},xa=Ra=>{Ra.preventDefault(),Ra.stopPropagation(),ua.value<ea.value-1&&ra(la.value[ua.value+1])},Ta=classNames({[`${$n.prefixCls}-moving`]:Zo.value}),wa=`${$n.prefixCls}-operations-operation`,La=`${$n.prefixCls}-operations-icon`,Na=[{icon:Ln,onClick:Yo,type:"close"},{icon:Rn,onClick:()=>ia(),type:"zoomIn"},{icon:Dn,onClick:()=>fa(),type:"zoomOut",disabled:computed(()=>Wn.value===1)},{icon:Nn,onClick:ma,type:"rotateRight"},{icon:In,onClick:ya,type:"rotateLeft"},{icon:Hn,onClick:ba,type:"flipX"},{icon:zn,onClick:Ia,type:"flipY"}],$a=()=>{if($n.visible&&Zo.value){const Ra=qo.value.offsetWidth*Wn.value,Fa=qo.value.offsetHeight*Wn.value,{left:za,top:Wa}=getOffset(qo.value),Ya=Yn.value%180!==0;Zo.value=!1;const ja=getFixScaleEleTransPosition(Ya?Fa:Ra,Ya?Ra:Fa,za,Wa);ja&&Xn(_extends$1({},ja))}},ka=Ra=>{Ra.button===0&&(Ra.preventDefault(),Ra.stopPropagation(),Jo.deltaX=Ra.pageX-Go.x,Jo.deltaY=Ra.pageY-Go.y,Jo.originX=Go.x,Jo.originY=Go.y,Zo.value=!0)},Ha=Ra=>{$n.visible&&Zo.value&&Xn({x:Ra.pageX-Jo.deltaX,y:Ra.pageY-Jo.deltaY})},da=Ra=>{if(!$n.visible)return;Ra.preventDefault();const Fa=Ra.deltaY;ca.value={wheelDirection:Fa}},pa=Ra=>{!$n.visible||!aa.value||(Ra.preventDefault(),Ra.keyCode===KeyCode$1.LEFT?ua.value>0&&ra(la.value[ua.value-1]):Ra.keyCode===KeyCode$1.RIGHT&&ua.value<ea.value-1&&ra(la.value[ua.value+1]))},Sa=()=>{$n.visible&&(Wn.value!==1&&(Wn.value=1),(Go.x!==initialPosition.x||Go.y!==initialPosition.y)&&Xn(initialPosition))};let Aa=()=>{};return onMounted(()=>{watch([()=>$n.visible,Zo],()=>{Aa();let Ra,Fa;const za=addEventListenerWrap(window,"mouseup",$a,!1),Wa=addEventListenerWrap(window,"mousemove",Ha,!1),Ya=addEventListenerWrap(window,"wheel",da,{passive:!1}),ja=addEventListenerWrap(window,"keydown",pa,!1);try{window.top!==window.self&&(Ra=addEventListenerWrap(window.top,"mouseup",$a,!1),Fa=addEventListenerWrap(window.top,"mousemove",Ha,!1))}catch{}Aa=()=>{za.remove(),Wa.remove(),Ya.remove(),ja.remove(),Ra&&Ra.remove(),Fa&&Fa.remove()}},{flush:"post",immediate:!0}),watch([ca],()=>{const{wheelDirection:Ra}=ca.value;Ra>0?fa(!0):Ra<0&&ia(!0)})}),onUnmounted(()=>{Aa()}),()=>{const{visible:Ra,prefixCls:Fa,rootClassName:za}=$n;return createVNode(DialogWrap$1,_objectSpread2$1(_objectSpread2$1({},Pn),{},{transitionName:$n.transitionName,maskTransitionName:$n.maskTransitionName,closable:!1,keyboard:!0,prefixCls:Fa,onClose:Yo,afterClose:sa,visible:Ra,wrapClassName:Ta,rootClassName:za,getContainer:$n.getContainer}),{default:()=>[createVNode("div",{class:[`${$n.prefixCls}-operations-wrapper`,za]},[createVNode("ul",{class:`${$n.prefixCls}-operations`},[Na.map(Wa=>{let{icon:Ya,onClick:ja,type:qa,disabled:Xa}=Wa;return createVNode("li",{class:classNames(wa,{[`${$n.prefixCls}-operations-operation-disabled`]:Xa&&(Xa==null?void 0:Xa.value)}),onClick:ja,key:qa},[cloneVNode(Ya,{class:La})])})])]),createVNode("div",{class:`${$n.prefixCls}-img-wrapper`,style:{transform:`translate3d(${Go.x}px, ${Go.y}px, 0)`}},[createVNode("img",{onMousedown:ka,onDblclick:Sa,ref:qo,class:`${$n.prefixCls}-img`,src:ga.value,alt:$n.alt,style:{transform:`scale3d(${Gn.x*Wn.value}, ${Gn.y*Wn.value}, 1) rotate(${Yn.value}deg)`}},null)]),aa.value&&createVNode("div",{class:classNames(`${$n.prefixCls}-switch-left`,{[`${$n.prefixCls}-switch-left-disabled`]:ua.value<=0}),onClick:Ea},[Fn]),aa.value&&createVNode("div",{class:classNames(`${$n.prefixCls}-switch-right`,{[`${$n.prefixCls}-switch-right-disabled`]:ua.value>=ea.value-1}),onClick:xa},[Bn])]})}}}),Preview$1=Preview;var __rest$A=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const imageProps=()=>({src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,previewMask:{type:[Boolean,Function],default:void 0},placeholder:PropTypes.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}),mergeDefaultValue=($n,Cn)=>{const _n=_extends$1({},$n);return Object.keys(Cn).forEach(Pn=>{$n[Pn]===void 0&&(_n[Pn]=Cn[Pn])}),_n};let uuid$2=0;const ImageInternal=defineComponent({compatConfig:{MODE:3},name:"VcImage",inheritAttrs:!1,props:imageProps(),emits:["click","error"],setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const Nn=computed(()=>$n.prefixCls),Rn=computed(()=>`${Nn.value}-preview`),Dn=computed(()=>{const ia={visible:void 0,onVisibleChange:()=>{},getContainer:void 0};return typeof $n.preview=="object"?mergeDefaultValue($n.preview,ia):ia}),Ln=computed(()=>{var ia;return(ia=Dn.value.src)!==null&&ia!==void 0?ia:$n.src}),Fn=computed(()=>$n.placeholder&&$n.placeholder!==!0||Pn.placeholder),Bn=computed(()=>Dn.value.visible),Hn=computed(()=>Dn.value.getContainer),zn=computed(()=>Bn.value!==void 0),Wn=(ia,fa)=>{var ma,ya;(ya=(ma=Dn.value).onVisibleChange)===null||ya===void 0||ya.call(ma,ia,fa)},[Yn,Gn]=useMergedState(!!Bn.value,{value:Bn,onChange:Wn}),Go=ref(Fn.value?"loading":"normal");watch(()=>$n.src,()=>{Go.value=Fn.value?"loading":"normal"});const Xn=ref(null),Yo=computed(()=>Go.value==="error"),qo=context.inject(),{isPreviewGroup:Jo,setCurrent:Zo,setShowPreview:rr,setMousePosition:nr,registerImage:ta}=qo,oa=ref(uuid$2++),ra=computed(()=>$n.preview&&!Yo.value),ea=()=>{Go.value="normal"},la=ia=>{Go.value="error",In("error",ia)},ua=ia=>{if(!zn.value){const{left:fa,top:ma}=getOffset(ia.target);Jo.value?(Zo(oa.value),nr({x:fa,y:ma})):Xn.value={x:fa,y:ma}}Jo.value?rr(!0):Gn(!0),In("click",ia)},ga=()=>{Gn(!1),zn.value||(Xn.value=null)},aa=ref(null);watch(()=>aa,()=>{Go.value==="loading"&&aa.value.complete&&(aa.value.naturalWidth||aa.value.naturalHeight)&&ea()});let ca=()=>{};onMounted(()=>{watch([Ln,ra],()=>{if(ca(),!Jo.value)return()=>{};ca=ta(oa.value,Ln.value,ra.value),ra.value||ca()},{flush:"post",immediate:!0})}),onUnmounted(()=>{ca()});const sa=ia=>isNumber$1(ia)?ia+"px":ia;return()=>{const{prefixCls:ia,wrapperClassName:fa,fallback:ma,src:ya,placeholder:ba,wrapperStyle:Ia,rootClassName:Ea}=$n,{width:xa,height:Ta,crossorigin:wa,decoding:La,alt:Na,sizes:$a,srcset:ka,usemap:Ha,class:da,style:pa}=_n,Sa=Dn.value,{icons:Aa,maskClassName:Ra}=Sa,Fa=__rest$A(Sa,["icons","maskClassName"]),za=classNames(ia,fa,Ea,{[`${ia}-error`]:Yo.value}),Wa=Yo.value&&ma?ma:Ln.value,Ya={crossorigin:wa,decoding:La,alt:Na,sizes:$a,srcset:ka,usemap:Ha,width:xa,height:Ta,class:classNames(`${ia}-img`,{[`${ia}-img-placeholder`]:ba===!0},da),style:_extends$1({height:sa(Ta)},pa)};return createVNode(Fragment,null,[createVNode("div",{class:za,onClick:ra.value?ua:ja=>{In("click",ja)},style:_extends$1({width:sa(xa),height:sa(Ta)},Ia)},[createVNode("img",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Ya),Yo.value&&ma?{src:ma}:{onLoad:ea,onError:la,src:ya}),{},{ref:aa}),null),Go.value==="loading"&&createVNode("div",{"aria-hidden":"true",class:`${ia}-placeholder`},[ba||Pn.placeholder&&Pn.placeholder()]),Pn.previewMask&&ra.value&&createVNode("div",{class:[`${ia}-mask`,Ra]},[Pn.previewMask()])]),!Jo.value&&ra.value&&createVNode(Preview$1,_objectSpread2$1(_objectSpread2$1({},Fa),{},{"aria-hidden":!Yn.value,visible:Yn.value,prefixCls:Rn.value,onClose:ga,mousePosition:Xn.value,src:Wa,alt:Na,getContainer:Hn.value,icons:Aa,rootClassName:Ea}),null)])}}});ImageInternal.PreviewGroup=PreviewGroup$1;const Image$3=ImageInternal;var RotateLeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const RotateLeftOutlinedSvg=RotateLeftOutlined$2;function _objectSpread$u($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$u($n,In,_n[In])})}return $n}function _defineProperty$u($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var RotateLeftOutlined=function(Cn,_n){var Pn=_objectSpread$u({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$u({},Pn,{icon:RotateLeftOutlinedSvg}),null)};RotateLeftOutlined.displayName="RotateLeftOutlined";RotateLeftOutlined.inheritAttrs=!1;const RotateLeftOutlined$1=RotateLeftOutlined;var RotateRightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};const RotateRightOutlinedSvg=RotateRightOutlined$2;function _objectSpread$t($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$t($n,In,_n[In])})}return $n}function _defineProperty$t($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var RotateRightOutlined=function(Cn,_n){var Pn=_objectSpread$t({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$t({},Pn,{icon:RotateRightOutlinedSvg}),null)};RotateRightOutlined.displayName="RotateRightOutlined";RotateRightOutlined.inheritAttrs=!1;const RotateRightOutlined$1=RotateRightOutlined;var ZoomInOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};const ZoomInOutlinedSvg=ZoomInOutlined$2;function _objectSpread$s($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$s($n,In,_n[In])})}return $n}function _defineProperty$s($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ZoomInOutlined=function(Cn,_n){var Pn=_objectSpread$s({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$s({},Pn,{icon:ZoomInOutlinedSvg}),null)};ZoomInOutlined.displayName="ZoomInOutlined";ZoomInOutlined.inheritAttrs=!1;const ZoomInOutlined$1=ZoomInOutlined;var ZoomOutOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};const ZoomOutOutlinedSvg=ZoomOutOutlined$2;function _objectSpread$r($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$r($n,In,_n[In])})}return $n}function _defineProperty$r($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ZoomOutOutlined=function(Cn,_n){var Pn=_objectSpread$r({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$r({},Pn,{icon:ZoomOutOutlinedSvg}),null)};ZoomOutOutlined.displayName="ZoomOutOutlined";ZoomOutOutlined.inheritAttrs=!1;const ZoomOutOutlined$1=ZoomOutOutlined;var SwapOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};const SwapOutlinedSvg=SwapOutlined$2;function _objectSpread$q($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$q($n,In,_n[In])})}return $n}function _defineProperty$q($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var SwapOutlined=function(Cn,_n){var Pn=_objectSpread$q({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$q({},Pn,{icon:SwapOutlinedSvg}),null)};SwapOutlined.displayName="SwapOutlined";SwapOutlined.inheritAttrs=!1;const SwapOutlined$1=SwapOutlined;function box($n){return{position:$n,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const genModalMaskStyle=$n=>{const{componentCls:Cn}=$n;return[{[`${Cn}-root`]:{[`${Cn}${$n.antCls}-zoom-enter, ${Cn}${$n.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:$n.motionDurationSlow,userSelect:"none"},[`${Cn}${$n.antCls}-zoom-leave ${Cn}-content`]:{pointerEvents:"none"},[`${Cn}-mask`]:_extends$1(_extends$1({},box("fixed")),{zIndex:$n.zIndexPopupBase,height:"100%",backgroundColor:$n.colorBgMask,[`${Cn}-hidden`]:{display:"none"}}),[`${Cn}-wrap`]:_extends$1(_extends$1({},box("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${Cn}-root`]:initFadeMotion($n)}]},genModalStyle=$n=>{const{componentCls:Cn}=$n;return[{[`${Cn}-root`]:{[`${Cn}-wrap`]:{zIndex:$n.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${Cn}-wrap-rtl`]:{direction:"rtl"},[`${Cn}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[Cn]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${$n.screenSMMax})`]:{[Cn]:{maxWidth:"calc(100vw - 16px)",margin:`${$n.marginXS} auto`},[`${Cn}-centered`]:{[Cn]:{flex:1}}}}},{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${$n.margin*2}px)`,margin:"0 auto",paddingBottom:$n.paddingLG,[`${Cn}-title`]:{margin:0,color:$n.modalHeadingColor,fontWeight:$n.fontWeightStrong,fontSize:$n.modalHeaderTitleFontSize,lineHeight:$n.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${Cn}-content`]:{position:"relative",backgroundColor:$n.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:$n.borderRadiusLG,boxShadow:$n.boxShadowSecondary,pointerEvents:"auto",padding:`${$n.paddingMD}px ${$n.paddingContentHorizontalLG}px`},[`${Cn}-close`]:_extends$1({position:"absolute",top:($n.modalHeaderCloseSize-$n.modalCloseBtnSize)/2,insetInlineEnd:($n.modalHeaderCloseSize-$n.modalCloseBtnSize)/2,zIndex:$n.zIndexPopupBase+10,padding:0,color:$n.modalCloseColor,fontWeight:$n.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:$n.borderRadiusSM,width:$n.modalConfirmIconSize,height:$n.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${$n.motionDurationMid}, background-color ${$n.motionDurationMid}`,"&-x":{display:"block",fontSize:$n.fontSizeLG,fontStyle:"normal",lineHeight:`${$n.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:$n.modalIconHoverColor,backgroundColor:$n.wireframe?"transparent":$n.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:$n.wireframe?"transparent":$n.colorFillContentHover}},genFocusStyle($n)),[`${Cn}-header`]:{color:$n.colorText,background:$n.modalHeaderBg,borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`,marginBottom:$n.marginXS},[`${Cn}-body`]:{fontSize:$n.fontSize,lineHeight:$n.lineHeight,wordWrap:"break-word"},[`${Cn}-footer`]:{textAlign:"end",background:$n.modalFooterBg,marginTop:$n.marginSM,[`${$n.antCls}-btn + ${$n.antCls}-btn:not(${$n.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:$n.marginXS}},[`${Cn}-open`]:{overflow:"hidden"}})},{[`${Cn}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${Cn}-content,
- ${Cn}-body,
- ${Cn}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${Cn}-confirm-body`]:{marginBottom:"auto"}}}]},genModalConfirmStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-confirm`;return{[_n]:{"&-rtl":{direction:"rtl"},[`${$n.antCls}-modal-header`]:{display:"none"},[`${_n}-body-wrapper`]:_extends$1({},clearFix()),[`${_n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${_n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:$n.colorTextHeading,fontWeight:$n.fontWeightStrong,fontSize:$n.modalHeaderTitleFontSize,lineHeight:$n.modalHeaderTitleLineHeight,[`+ ${_n}-content`]:{marginBlockStart:$n.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${$n.modalConfirmIconSize+$n.marginSM}px)`}},[`${_n}-content`]:{color:$n.colorText,fontSize:$n.fontSize},[`> ${$n.iconCls}`]:{flex:"none",marginInlineEnd:$n.marginSM,fontSize:$n.modalConfirmIconSize,[`+ ${_n}-title`]:{flex:1},[`+ ${_n}-title + ${_n}-content`]:{marginInlineStart:$n.modalConfirmIconSize+$n.marginSM}}},[`${_n}-btns`]:{textAlign:"end",marginTop:$n.marginSM,[`${$n.antCls}-btn + ${$n.antCls}-btn`]:{marginBottom:0,marginInlineStart:$n.marginXS}}},[`${_n}-error ${_n}-body > ${$n.iconCls}`]:{color:$n.colorError},[`${_n}-warning ${_n}-body > ${$n.iconCls},
- ${_n}-confirm ${_n}-body > ${$n.iconCls}`]:{color:$n.colorWarning},[`${_n}-info ${_n}-body > ${$n.iconCls}`]:{color:$n.colorInfo},[`${_n}-success ${_n}-body > ${$n.iconCls}`]:{color:$n.colorSuccess},[`${Cn}-zoom-leave ${Cn}-btns`]:{pointerEvents:"none"}}},genRTLStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-root`]:{[`${Cn}-wrap-rtl`]:{direction:"rtl",[`${Cn}-confirm-body`]:{direction:"rtl"}}}}},genWireframeStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n,Pn=`${Cn}-confirm`;return{[Cn]:{[`${Cn}-content`]:{padding:0},[`${Cn}-header`]:{padding:$n.modalHeaderPadding,borderBottom:`${$n.modalHeaderBorderWidth}px ${$n.modalHeaderBorderStyle} ${$n.modalHeaderBorderColorSplit}`,marginBottom:0},[`${Cn}-body`]:{padding:$n.modalBodyPadding},[`${Cn}-footer`]:{padding:`${$n.modalFooterPaddingVertical}px ${$n.modalFooterPaddingHorizontal}px`,borderTop:`${$n.modalFooterBorderWidth}px ${$n.modalFooterBorderStyle} ${$n.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${$n.borderRadiusLG}px ${$n.borderRadiusLG}px`,marginTop:0}},[Pn]:{[`${_n}-modal-body`]:{padding:`${$n.padding*2}px ${$n.padding*2}px ${$n.paddingLG}px`},[`${Pn}-body`]:{[`> ${$n.iconCls}`]:{marginInlineEnd:$n.margin,[`+ ${Pn}-title + ${Pn}-content`]:{marginInlineStart:$n.modalConfirmIconSize+$n.margin}}},[`${Pn}-btns`]:{marginTop:$n.marginLG}}}},useStyle$q=genComponentStyleHook("Modal",$n=>{const Cn=$n.padding,_n=$n.fontSizeHeading5,Pn=$n.lineHeightHeading5,In=merge$1($n,{modalBodyPadding:$n.paddingLG,modalHeaderBg:$n.colorBgElevated,modalHeaderPadding:`${Cn}px ${$n.paddingLG}px`,modalHeaderBorderWidth:$n.lineWidth,modalHeaderBorderStyle:$n.lineType,modalHeaderTitleLineHeight:Pn,modalHeaderTitleFontSize:_n,modalHeaderBorderColorSplit:$n.colorSplit,modalHeaderCloseSize:Pn*_n+Cn*2,modalContentBg:$n.colorBgElevated,modalHeadingColor:$n.colorTextHeading,modalCloseColor:$n.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:$n.colorSplit,modalFooterBorderStyle:$n.lineType,modalFooterPaddingVertical:$n.paddingXS,modalFooterPaddingHorizontal:$n.padding,modalFooterBorderWidth:$n.lineWidth,modalConfirmTitleFontSize:$n.fontSizeLG,modalIconHoverColor:$n.colorIconHover,modalConfirmIconSize:$n.fontSize*$n.lineHeight,modalCloseBtnSize:$n.controlHeightLG*.55});return[genModalStyle(In),genModalConfirmStyle(In),genRTLStyle(In),genModalMaskStyle(In),$n.wireframe&&genWireframeStyle(In),initZoomMotion(In,"zoom")]}),genBoxStyle=$n=>({position:$n||"absolute",inset:0}),genImageMaskStyle=$n=>{const{iconCls:Cn,motionDurationSlow:_n,paddingXXS:Pn,marginXXS:In,prefixCls:Nn}=$n;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new TinyColor("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${_n}`,[`.${Nn}-mask-info`]:_extends$1(_extends$1({},textEllipsis),{padding:`0 ${Pn}px`,[Cn]:{marginInlineEnd:In,svg:{verticalAlign:"baseline"}}})}},genPreviewOperationsStyle=$n=>{const{previewCls:Cn,modalMaskBg:_n,paddingSM:Pn,previewOperationColorDisabled:In,motionDurationSlow:Nn}=$n,Rn=new TinyColor(_n).setAlpha(.1),Dn=Rn.clone().setAlpha(.2);return{[`${Cn}-operations`]:_extends$1(_extends$1({},resetComponent($n)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:$n.previewOperationColor,listStyle:"none",background:Rn.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:Pn,padding:Pn,cursor:"pointer",transition:`all ${Nn}`,userSelect:"none","&:hover":{background:Dn.toRgbString()},"&-disabled":{color:In,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:$n.previewOperationSize}})}},genPreviewSwitchStyle=$n=>{const{modalMaskBg:Cn,iconCls:_n,previewOperationColorDisabled:Pn,previewCls:In,zIndexPopup:Nn,motionDurationSlow:Rn}=$n,Dn=new TinyColor(Cn).setAlpha(.1),Ln=Dn.clone().setAlpha(.2);return{[`${In}-switch-left, ${In}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Nn+1,display:"flex",alignItems:"center",justifyContent:"center",width:$n.imagePreviewSwitchSize,height:$n.imagePreviewSwitchSize,marginTop:-$n.imagePreviewSwitchSize/2,color:$n.previewOperationColor,background:Dn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Rn}`,pointerEvents:"auto",userSelect:"none","&:hover":{background:Ln.toRgbString()},"&-disabled":{"&, &:hover":{color:Pn,background:"transparent",cursor:"not-allowed",[`> ${_n}`]:{cursor:"not-allowed"}}},[`> ${_n}`]:{fontSize:$n.previewOperationSize}},[`${In}-switch-left`]:{insetInlineStart:$n.marginSM},[`${In}-switch-right`]:{insetInlineEnd:$n.marginSM}}},genImagePreviewStyle=$n=>{const{motionEaseOut:Cn,previewCls:_n,motionDurationSlow:Pn,componentCls:In}=$n;return[{[`${In}-preview-root`]:{[_n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${_n}-body`]:_extends$1(_extends$1({},genBoxStyle()),{overflow:"hidden"}),[`${_n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pn} ${Cn} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":_extends$1(_extends$1({},genBoxStyle()),{transition:`transform ${Pn} ${Cn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${_n}-moving`]:{[`${_n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${In}-preview-root`]:{[`${_n}-wrap`]:{zIndex:$n.zIndexPopup}}},{[`${In}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:$n.zIndexPopup+1,width:"100%"},"&":[genPreviewOperationsStyle($n),genPreviewSwitchStyle($n)]}]},genImageStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{position:"relative",display:"inline-block",[`${Cn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Cn}-img-placeholder`]:{backgroundColor:$n.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Cn}-mask`]:_extends$1({},genImageMaskStyle($n)),[`${Cn}-mask:hover`]:{opacity:1},[`${Cn}-placeholder`]:_extends$1({},genBoxStyle())}}},genPreviewMotion=$n=>{const{previewCls:Cn}=$n;return{[`${Cn}-root`]:initZoomMotion($n,"zoom"),"&":initFadeMotion($n,!0)}},useStyle$p=genComponentStyleHook("Image",$n=>{const Cn=`${$n.componentCls}-preview`,_n=merge$1($n,{previewCls:Cn,modalMaskBg:new TinyColor("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:$n.controlHeightLG});return[genImageStyle(_n),genImagePreviewStyle(_n),genModalMaskStyle(merge$1(_n,{componentCls:Cn})),genPreviewMotion(_n)]},$n=>({zIndexPopup:$n.zIndexPopupBase+80,previewOperationColor:new TinyColor($n.colorTextLightSolid).toRgbString(),previewOperationColorDisabled:new TinyColor($n.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:$n.fontSizeIcon*1.5})),icons={rotateLeft:createVNode(RotateLeftOutlined$1,null,null),rotateRight:createVNode(RotateRightOutlined$1,null,null),zoomIn:createVNode(ZoomInOutlined$1,null,null),zoomOut:createVNode(ZoomOutOutlined$1,null,null),close:createVNode(CloseOutlined$1,null,null),left:createVNode(LeftOutlined$1,null,null),right:createVNode(RightOutlined$1,null,null),flipX:createVNode(SwapOutlined$1,null,null),flipY:createVNode(SwapOutlined$1,{rotate:90},null)},previewGroupProps=()=>({previewPrefixCls:String,preview:anyType()}),InternalPreviewGroup=defineComponent({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:previewGroupProps(),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In,rootPrefixCls:Nn}=useConfigInject("image",$n),Rn=computed(()=>`${In.value}-preview`),[Dn,Ln]=useStyle$p(In),Fn=computed(()=>{const{preview:Bn}=$n;if(Bn===!1)return Bn;const Hn=typeof Bn=="object"?Bn:{};return _extends$1(_extends$1({},Hn),{rootClassName:Ln.value,transitionName:getTransitionName$1(Nn.value,"zoom",Hn.transitionName),maskTransitionName:getTransitionName$1(Nn.value,"fade",Hn.maskTransitionName)})});return()=>Dn(createVNode(PreviewGroup$1,_objectSpread2$1(_objectSpread2$1({},_extends$1(_extends$1({},_n),$n)),{},{preview:Fn.value,icons,previewPrefixCls:Rn.value}),Pn))}}),PreviewGroup=InternalPreviewGroup,Image$1=defineComponent({name:"AImage",inheritAttrs:!1,props:imageProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,rootPrefixCls:Nn,configProvider:Rn}=useConfigInject("image",$n),[Dn,Ln]=useStyle$p(In),Fn=computed(()=>{const{preview:Bn}=$n;if(Bn===!1)return Bn;const Hn=typeof Bn=="object"?Bn:{};return _extends$1(_extends$1({icons},Hn),{transitionName:getTransitionName$1(Nn.value,"zoom",Hn.transitionName),maskTransitionName:getTransitionName$1(Nn.value,"fade",Hn.maskTransitionName)})});return()=>{var Bn,Hn;const zn=((Hn=(Bn=Rn.locale)===null||Bn===void 0?void 0:Bn.value)===null||Hn===void 0?void 0:Hn.Image)||localeValues$1.Image,Wn=()=>createVNode("div",{class:`${In.value}-mask-info`},[createVNode(EyeOutlined$1,null,null),zn==null?void 0:zn.preview]),{previewMask:Yn=_n.previewMask||Wn}=$n;return Dn(createVNode(Image$3,_objectSpread2$1(_objectSpread2$1({},_extends$1(_extends$1(_extends$1({},Pn),$n),{prefixCls:In.value})),{},{preview:Fn.value,rootClassName:classNames($n.rootClassName,Ln.value)}),_extends$1(_extends$1({},_n),{previewMask:typeof Yn=="function"?Yn:null})))}}});Image$1.PreviewGroup=PreviewGroup;Image$1.install=function($n){return $n.component(Image$1.name,Image$1),$n.component(Image$1.PreviewGroup.name,Image$1.PreviewGroup),$n};const Image$2=Image$1;var UpOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const UpOutlinedSvg=UpOutlined$2;function _objectSpread$p($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$p($n,In,_n[In])})}return $n}function _defineProperty$p($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var UpOutlined=function(Cn,_n){var Pn=_objectSpread$p({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$p({},Pn,{icon:UpOutlinedSvg}),null)};UpOutlined.displayName="UpOutlined";UpOutlined.inheritAttrs=!1;const UpOutlined$1=UpOutlined;function supportBigInt(){return typeof BigInt=="function"}function trimNumber($n){let Cn=$n.trim(),_n=Cn.startsWith("-");_n&&(Cn=Cn.slice(1)),Cn=Cn.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Cn.startsWith(".")&&(Cn=`0${Cn}`);const Pn=Cn||"0",In=Pn.split("."),Nn=In[0]||"0",Rn=In[1]||"0";Nn==="0"&&Rn==="0"&&(_n=!1);const Dn=_n?"-":"";return{negative:_n,negativeStr:Dn,trimStr:Pn,integerStr:Nn,decimalStr:Rn,fullStr:`${Dn}${Pn}`}}function isE($n){const Cn=String($n);return!Number.isNaN(Number(Cn))&&Cn.includes("e")}function getNumberPrecision($n){const Cn=String($n);if(isE($n)){let _n=Number(Cn.slice(Cn.indexOf("e-")+2));const Pn=Cn.match(/\.(\d+)/);return Pn!=null&&Pn[1]&&(_n+=Pn[1].length),_n}return Cn.includes(".")&&validateNumber(Cn)?Cn.length-Cn.indexOf(".")-1:0}function num2str($n){let Cn=String($n);if(isE($n)){if($n>Number.MAX_SAFE_INTEGER)return String(supportBigInt()?BigInt($n).toString():Number.MAX_SAFE_INTEGER);if($n<Number.MIN_SAFE_INTEGER)return String(supportBigInt()?BigInt($n).toString():Number.MIN_SAFE_INTEGER);Cn=$n.toFixed(getNumberPrecision(Cn))}return trimNumber(Cn).fullStr}function validateNumber($n){return typeof $n=="number"?!Number.isNaN($n):$n?/^\s*-?\d+(\.\d+)?\s*$/.test($n)||/^\s*-?\d+\.\s*$/.test($n)||/^\s*-?\.\d+\s*$/.test($n):!1}function isEmpty($n){return!$n&&$n!==0&&!Number.isNaN($n)||!String($n).trim()}class NumberDecimal{constructor(Cn){if(this.origin="",isEmpty(Cn)){this.empty=!0;return}this.origin=String(Cn),this.number=Number(Cn)}negate(){return new NumberDecimal(-this.toNumber())}add(Cn){if(this.isInvalidate())return new NumberDecimal(Cn);const _n=Number(Cn);if(Number.isNaN(_n))return this;const Pn=this.number+_n;if(Pn>Number.MAX_SAFE_INTEGER)return new NumberDecimal(Number.MAX_SAFE_INTEGER);if(Pn<Number.MIN_SAFE_INTEGER)return new NumberDecimal(Number.MIN_SAFE_INTEGER);const In=Math.max(getNumberPrecision(this.number),getNumberPrecision(_n));return new NumberDecimal(Pn.toFixed(In))}isEmpty(){return this.empty}isNaN(){return Number.isNaN(this.number)}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(Cn){return this.toNumber()===(Cn==null?void 0:Cn.toNumber())}lessEquals(Cn){return this.add(Cn.negate().toString()).toNumber()<=0}toNumber(){return this.number}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":num2str(this.number):this.origin}}class BigIntDecimal{constructor(Cn){if(this.origin="",isEmpty(Cn)){this.empty=!0;return}if(this.origin=String(Cn),Cn==="-"||Number.isNaN(Cn)){this.nan=!0;return}let _n=Cn;if(isE(_n)&&(_n=Number(_n)),_n=typeof _n=="string"?_n:num2str(_n),validateNumber(_n)){const Pn=trimNumber(_n);this.negative=Pn.negative;const In=Pn.trimStr.split(".");this.integer=BigInt(In[0]);const Nn=In[1]||"0";this.decimal=BigInt(Nn),this.decimalLen=Nn.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(Cn){const _n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(Cn,"0")}`;return BigInt(_n)}negate(){const Cn=new BigIntDecimal(this.toString());return Cn.negative=!Cn.negative,Cn}add(Cn){if(this.isInvalidate())return new BigIntDecimal(Cn);const _n=new BigIntDecimal(Cn);if(_n.isInvalidate())return this;const Pn=Math.max(this.getDecimalStr().length,_n.getDecimalStr().length),In=this.alignDecimal(Pn),Nn=_n.alignDecimal(Pn),Rn=(In+Nn).toString(),{negativeStr:Dn,trimStr:Ln}=trimNumber(Rn),Fn=`${Dn}${Ln.padStart(Pn+1,"0")}`;return new BigIntDecimal(`${Fn.slice(0,-Pn)}.${Fn.slice(-Pn)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(Cn){return this.toString()===(Cn==null?void 0:Cn.toString())}lessEquals(Cn){return this.add(Cn.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":trimNumber(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function getMiniDecimal($n){return supportBigInt()?new BigIntDecimal($n):new NumberDecimal($n)}function toFixed($n,Cn,_n){let Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if($n==="")return"";const{negativeStr:In,integerStr:Nn,decimalStr:Rn}=trimNumber($n),Dn=`${Cn}${Rn}`,Ln=`${In}${Nn}`;if(_n>=0){const Fn=Number(Rn[_n]);if(Fn>=5&&!Pn){const Bn=getMiniDecimal($n).add(`${In}0.${"0".repeat(_n)}${10-Fn}`);return toFixed(Bn.toString(),Cn,_n,Pn)}return _n===0?Ln:`${Ln}${Cn}${Rn.padEnd(_n,"0").slice(0,_n)}`}return Dn===".0"?Ln:`${Ln}${Dn}`}const STEP_INTERVAL=200,STEP_DELAY=600,StepHandler=defineComponent({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:functionType()},slots:Object,setup($n,Cn){let{slots:_n,emit:Pn}=Cn;const In=ref(),Nn=(Dn,Ln)=>{Dn.preventDefault(),Pn("step",Ln);function Fn(){Pn("step",Ln),In.value=setTimeout(Fn,STEP_INTERVAL)}In.value=setTimeout(Fn,STEP_DELAY)},Rn=()=>{clearTimeout(In.value)};return onBeforeUnmount(()=>{Rn()}),()=>{if(isMobile())return null;const{prefixCls:Dn,upDisabled:Ln,downDisabled:Fn}=$n,Bn=`${Dn}-handler`,Hn=classNames(Bn,`${Bn}-up`,{[`${Bn}-up-disabled`]:Ln}),zn=classNames(Bn,`${Bn}-down`,{[`${Bn}-down-disabled`]:Fn}),Wn={unselectable:"on",role:"button",onMouseup:Rn,onMouseleave:Rn},{upNode:Yn,downNode:Gn}=_n;return createVNode("div",{class:`${Bn}-wrap`},[createVNode("span",_objectSpread2$1(_objectSpread2$1({},Wn),{},{onMousedown:Go=>{Nn(Go,!0)},"aria-label":"Increase Value","aria-disabled":Ln,class:Hn}),[(Yn==null?void 0:Yn())||createVNode("span",{unselectable:"on",class:`${Dn}-handler-up-inner`},null)]),createVNode("span",_objectSpread2$1(_objectSpread2$1({},Wn),{},{onMousedown:Go=>{Nn(Go,!1)},"aria-label":"Decrease Value","aria-disabled":Fn,class:zn}),[(Gn==null?void 0:Gn())||createVNode("span",{unselectable:"on",class:`${Dn}-handler-down-inner`},null)])])}}});function useCursor($n,Cn){const _n=ref(null);function Pn(){try{const{selectionStart:Nn,selectionEnd:Rn,value:Dn}=$n.value,Ln=Dn.substring(0,Nn),Fn=Dn.substring(Rn);_n.value={start:Nn,end:Rn,value:Dn,beforeTxt:Ln,afterTxt:Fn}}catch{}}function In(){if($n.value&&_n.value&&Cn.value)try{const{value:Nn}=$n.value,{beforeTxt:Rn,afterTxt:Dn,start:Ln}=_n.value;let Fn=Nn.length;if(Nn.endsWith(Dn))Fn=Nn.length-_n.value.afterTxt.length;else if(Nn.startsWith(Rn))Fn=Rn.length;else{const Bn=Rn[Ln-1],Hn=Nn.indexOf(Bn,Ln-1);Hn!==-1&&(Fn=Hn+1)}$n.value.setSelectionRange(Fn,Fn)}catch(Nn){`${Nn.message}`}}return[Pn,In]}const useFrame=()=>{const $n=shallowRef(0),Cn=()=>{wrapperRaf.cancel($n.value)};return onBeforeUnmount(()=>{Cn()}),_n=>{Cn(),$n.value=wrapperRaf(()=>{_n()})}};var __rest$z=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const getDecimalValue=($n,Cn)=>$n||Cn.isEmpty()?Cn.toString():Cn.toNumber(),getDecimalIfValidate=$n=>{const Cn=getMiniDecimal($n);return Cn.isInvalidate()?null:Cn},inputNumberProps$1=()=>({stringMode:booleanType(),defaultValue:someType([String,Number]),value:someType([String,Number]),prefixCls:stringType(),min:someType([String,Number]),max:someType([String,Number]),step:someType([String,Number],1),tabindex:Number,controls:booleanType(!0),readonly:booleanType(),disabled:booleanType(),autofocus:booleanType(),keyboard:booleanType(!0),parser:functionType(),formatter:functionType(),precision:Number,decimalSeparator:String,onInput:functionType(),onChange:functionType(),onPressEnter:functionType(),onStep:functionType(),onBlur:functionType(),onFocus:functionType()}),VcInputNumber=defineComponent({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:_extends$1(_extends$1({},inputNumberProps$1()),{lazy:Boolean}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In,expose:Nn}=Cn;const Rn=shallowRef(),Dn=shallowRef(!1),Ln=shallowRef(!1),Fn=shallowRef(!1),Bn=shallowRef(getMiniDecimal($n.value));function Hn(ya){$n.value===void 0&&(Bn.value=ya)}const zn=(ya,ba)=>{if(!ba)return $n.precision>=0?$n.precision:Math.max(getNumberPrecision(ya),getNumberPrecision($n.step))},Wn=ya=>{const ba=String(ya);if($n.parser)return $n.parser(ba);let Ia=ba;return $n.decimalSeparator&&(Ia=Ia.replace($n.decimalSeparator,".")),Ia.replace(/[^\w.-]+/g,"")},Yn=shallowRef(""),Gn=(ya,ba)=>{if($n.formatter)return $n.formatter(ya,{userTyping:ba,input:String(Yn.value)});let Ia=typeof ya=="number"?num2str(ya):ya;if(!ba){const Ea=zn(Ia,ba);if(validateNumber(Ia)&&($n.decimalSeparator||Ea>=0)){const xa=$n.decimalSeparator||".";Ia=toFixed(Ia,xa,Ea)}}return Ia},Go=(()=>{const ya=$n.value;return Bn.value.isInvalidate()&&["string","number"].includes(typeof ya)?Number.isNaN(ya)?"":ya:Gn(Bn.value.toString(),!1)})();Yn.value=Go;function Xn(ya,ba){Yn.value=Gn(ya.isInvalidate()?ya.toString(!1):ya.toString(!ba),ba)}const Yo=computed(()=>getDecimalIfValidate($n.max)),qo=computed(()=>getDecimalIfValidate($n.min)),Jo=computed(()=>!Yo.value||!Bn.value||Bn.value.isInvalidate()?!1:Yo.value.lessEquals(Bn.value)),Zo=computed(()=>!qo.value||!Bn.value||Bn.value.isInvalidate()?!1:Bn.value.lessEquals(qo.value)),[rr,nr]=useCursor(Rn,Dn),ta=ya=>Yo.value&&!ya.lessEquals(Yo.value)?Yo.value:qo.value&&!qo.value.lessEquals(ya)?qo.value:null,oa=ya=>!ta(ya),ra=(ya,ba)=>{var Ia;let Ea=ya,xa=oa(Ea)||Ea.isEmpty();if(!Ea.isEmpty()&&!ba&&(Ea=ta(Ea)||Ea,xa=!0),!$n.readonly&&!$n.disabled&&xa){const Ta=Ea.toString(),wa=zn(Ta,ba);return wa>=0&&(Ea=getMiniDecimal(toFixed(Ta,".",wa))),Ea.equals(Bn.value)||(Hn(Ea),(Ia=$n.onChange)===null||Ia===void 0||Ia.call($n,Ea.isEmpty()?null:getDecimalValue($n.stringMode,Ea)),$n.value===void 0&&Xn(Ea,ba)),Ea}return Bn.value},ea=useFrame(),la=ya=>{var ba;if(rr(),Yn.value=ya,!Fn.value){const Ia=Wn(ya),Ea=getMiniDecimal(Ia);Ea.isNaN()||ra(Ea,!0)}(ba=$n.onInput)===null||ba===void 0||ba.call($n,ya),ea(()=>{let Ia=ya;$n.parser||(Ia=ya.replace(/。/g,".")),Ia!==ya&&la(Ia)})},ua=()=>{Fn.value=!0},ga=()=>{Fn.value=!1,la(Rn.value.value)},aa=ya=>{la(ya.target.value)},ca=ya=>{var ba,Ia;if(ya&&Jo.value||!ya&&Zo.value)return;Ln.value=!1;let Ea=getMiniDecimal($n.step);ya||(Ea=Ea.negate());const xa=(Bn.value||getMiniDecimal(0)).add(Ea.toString()),Ta=ra(xa,!1);(ba=$n.onStep)===null||ba===void 0||ba.call($n,getDecimalValue($n.stringMode,Ta),{offset:$n.step,type:ya?"up":"down"}),(Ia=Rn.value)===null||Ia===void 0||Ia.focus()},sa=ya=>{const ba=getMiniDecimal(Wn(Yn.value));let Ia=ba;ba.isNaN()?Ia=Bn.value:Ia=ra(ba,ya),$n.value!==void 0?Xn(Bn.value,!1):Ia.isNaN()||Xn(Ia,!1)},ia=ya=>{var ba;const{which:Ia}=ya;Ln.value=!0,Ia===KeyCode$1.ENTER&&(Fn.value||(Ln.value=!1),sa(!1),(ba=$n.onPressEnter)===null||ba===void 0||ba.call($n,ya)),$n.keyboard!==!1&&!Fn.value&&[KeyCode$1.UP,KeyCode$1.DOWN].includes(Ia)&&(ca(KeyCode$1.UP===Ia),ya.preventDefault())},fa=()=>{Ln.value=!1},ma=ya=>{sa(!1),Dn.value=!1,Ln.value=!1,In("blur",ya)};return watch(()=>$n.precision,()=>{Bn.value.isInvalidate()||Xn(Bn.value,!1)},{flush:"post"}),watch(()=>$n.value,()=>{const ya=getMiniDecimal($n.value);Bn.value=ya;const ba=getMiniDecimal(Wn(Yn.value));(!ya.equals(ba)||!Ln.value||$n.formatter)&&Xn(ya,Ln.value)},{flush:"post"}),watch(Yn,()=>{$n.formatter&&nr()},{flush:"post"}),watch(()=>$n.disabled,ya=>{ya&&(Dn.value=!1)}),Nn({focus:()=>{var ya;(ya=Rn.value)===null||ya===void 0||ya.focus()},blur:()=>{var ya;(ya=Rn.value)===null||ya===void 0||ya.blur()}}),()=>{const ya=_extends$1(_extends$1({},_n),$n),{prefixCls:ba="rc-input-number",min:Ia,max:Ea,step:xa=1,defaultValue:Ta,value:wa,disabled:La,readonly:Na,keyboard:$a,controls:ka=!0,autofocus:Ha,stringMode:da,parser:pa,formatter:Sa,precision:Aa,decimalSeparator:Ra,onChange:Fa,onInput:za,onPressEnter:Wa,onStep:Ya,lazy:ja,class:qa,style:Xa}=ya,Oa=__rest$z(ya,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:Ma,downHandler:Ua}=Pn,Qa=`${ba}-input`,ri={};return ja?ri.onChange=aa:ri.onInput=aa,createVNode("div",{class:classNames(ba,qa,{[`${ba}-focused`]:Dn.value,[`${ba}-disabled`]:La,[`${ba}-readonly`]:Na,[`${ba}-not-a-number`]:Bn.value.isNaN(),[`${ba}-out-of-range`]:!Bn.value.isInvalidate()&&!oa(Bn.value)}),style:Xa,onKeydown:ia,onKeyup:fa},[ka&&createVNode(StepHandler,{prefixCls:ba,upDisabled:Jo.value,downDisabled:Zo.value,onStep:ca},{upNode:Ma,downNode:Ua}),createVNode("div",{class:`${Qa}-wrap`},[createVNode("input",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({autofocus:Ha,autocomplete:"off",role:"spinbutton","aria-valuemin":Ia,"aria-valuemax":Ea,"aria-valuenow":Bn.value.isInvalidate()?null:Bn.value.toString(),step:xa},Oa),{},{ref:Rn,class:Qa,value:Yn.value,disabled:La,readonly:Na,onFocus:fi=>{Dn.value=!0,In("focus",fi)}},ri),{},{onBlur:ma,onCompositionstart:ua,onCompositionend:ga}),null)])])}}});function isValidValue($n){return $n!=null}const genInputNumberStyles=$n=>{const{componentCls:Cn,lineWidth:_n,lineType:Pn,colorBorder:In,borderRadius:Nn,fontSizeLG:Rn,controlHeightLG:Dn,controlHeightSM:Ln,colorError:Fn,inputPaddingHorizontalSM:Bn,colorTextDescription:Hn,motionDurationMid:zn,colorPrimary:Wn,controlHeight:Yn,inputPaddingHorizontal:Gn,colorBgContainer:Go,colorTextDisabled:Xn,borderRadiusSM:Yo,borderRadiusLG:qo,controlWidth:Jo,handleVisible:Zo}=$n;return[{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),genBasicInputStyle($n)),genStatusStyle($n,Cn)),{display:"inline-block",width:Jo,margin:0,padding:0,border:`${_n}px ${Pn} ${In}`,borderRadius:Nn,"&-rtl":{direction:"rtl",[`${Cn}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Rn,borderRadius:qo,[`input${Cn}-input`]:{height:Dn-2*_n}},"&-sm":{padding:0,borderRadius:Yo,[`input${Cn}-input`]:{height:Ln-2*_n,padding:`0 ${Bn}px`}},"&:hover":_extends$1({},genHoverStyle($n)),"&-focused":_extends$1({},genActiveStyle($n)),"&-disabled":_extends$1(_extends$1({},genDisabledStyle($n)),{[`${Cn}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:Fn}},"&-group":_extends$1(_extends$1(_extends$1({},resetComponent($n)),genInputGroupStyle($n)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Cn}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Cn}-group-addon`]:{borderRadius:qo}},"&-sm":{[`${Cn}-group-addon`]:{borderRadius:Yo}}}}),[Cn]:{"&-input":_extends$1(_extends$1({width:"100%",height:Yn-2*_n,padding:`0 ${Gn}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Nn,outline:0,transition:`all ${zn} linear`,appearance:"textfield",color:$n.colorText,fontSize:"inherit",verticalAlign:"top"},genPlaceholderStyle($n.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[Cn]:{[`&:hover ${Cn}-handler-wrap, &-focused ${Cn}-handler-wrap`]:{opacity:1},[`${Cn}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:$n.handleWidth,height:"100%",background:Go,borderStartStartRadius:0,borderStartEndRadius:Nn,borderEndEndRadius:Nn,borderEndStartRadius:0,opacity:Zo===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${zn} linear ${zn}`,[`${Cn}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
- ${Cn}-handler-up-inner,
- ${Cn}-handler-down-inner
- `]:{marginInlineEnd:0,fontSize:$n.handleFontSize}}},[`${Cn}-handler`]:{height:"50%",overflow:"hidden",color:Hn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${_n}px ${Pn} ${In}`,transition:`all ${zn} linear`,"&:active":{background:$n.colorFillAlter},"&:hover":{height:"60%",[`
- ${Cn}-handler-up-inner,
- ${Cn}-handler-down-inner
- `]:{color:Wn}},"&-up-inner, &-down-inner":_extends$1(_extends$1({},resetIcon()),{color:Hn,transition:`all ${zn} linear`,userSelect:"none"})},[`${Cn}-handler-up`]:{borderStartEndRadius:Nn},[`${Cn}-handler-down`]:{borderBlockStart:`${_n}px ${Pn} ${In}`,borderEndEndRadius:Nn},"&-disabled, &-readonly":{[`${Cn}-handler-wrap`]:{display:"none"}},[`
- ${Cn}-handler-up-disabled,
- ${Cn}-handler-down-disabled
- `]:{cursor:"not-allowed"},[`
- ${Cn}-handler-up-disabled:hover &-handler-up-inner,
- ${Cn}-handler-down-disabled:hover &-handler-down-inner
- `]:{color:Xn}}},{[`${Cn}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${Cn}-handler-down`]:{borderBlockStartWidth:0}}}]},genAffixWrapperStyles=$n=>{const{componentCls:Cn,inputPaddingHorizontal:_n,inputAffixPadding:Pn,controlWidth:In,borderRadiusLG:Nn,borderRadiusSM:Rn}=$n;return{[`${Cn}-affix-wrapper`]:_extends$1(_extends$1(_extends$1({},genBasicInputStyle($n)),genStatusStyle($n,`${Cn}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:In,padding:0,paddingInlineStart:_n,"&-lg":{borderRadius:Nn},"&-sm":{borderRadius:Rn},[`&:not(${Cn}-affix-wrapper-disabled):hover`]:_extends$1(_extends$1({},genHoverStyle($n)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Cn}[disabled]`]:{background:"transparent"}},[`> div${Cn}`]:{width:"100%",border:"none",outline:"none",[`&${Cn}-focused`]:{boxShadow:"none !important"}},[`input${Cn}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${Cn}-handler-wrap`]:{zIndex:2},[Cn]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Pn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:_n,marginInlineStart:Pn}}})}},useStyle$o=genComponentStyleHook("InputNumber",$n=>{const Cn=initInputToken($n);return[genInputNumberStyles(Cn),genAffixWrapperStyles(Cn),genCompactItemStyle(Cn)]},$n=>({controlWidth:90,handleWidth:$n.controlHeightSM-$n.lineWidth*2,handleFontSize:$n.fontSize/2,handleVisible:"auto"}));var __rest$y=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const baseProps$1=inputNumberProps$1(),inputNumberProps=()=>_extends$1(_extends$1({},baseProps$1),{size:stringType(),bordered:booleanType(!0),placeholder:String,name:String,id:String,type:String,addonBefore:PropTypes.any,addonAfter:PropTypes.any,prefix:PropTypes.any,"onUpdate:value":baseProps$1.onChange,valueModifiers:Object,status:stringType()}),InputNumber=defineComponent({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:inputNumberProps(),slots:Object,setup($n,Cn){let{emit:_n,expose:Pn,attrs:In,slots:Nn}=Cn;const Rn=useInjectFormItemContext(),Dn=FormItemInputContext.useInject(),Ln=computed(()=>getMergedStatus(Dn.status,$n.status)),{prefixCls:Fn,size:Bn,direction:Hn,disabled:zn}=useConfigInject("input-number",$n),{compactSize:Wn,compactItemClassnames:Yn}=useCompactItemContext(Fn,Hn),Gn=useInjectDisabled(),Go=computed(()=>{var la;return(la=zn.value)!==null&&la!==void 0?la:Gn.value}),[Xn,Yo]=useStyle$o(Fn),qo=computed(()=>Wn.value||Bn.value),Jo=shallowRef($n.value===void 0?$n.defaultValue:$n.value),Zo=shallowRef(!1);watch(()=>$n.value,()=>{Jo.value=$n.value});const rr=shallowRef(null),nr=()=>{var la;(la=rr.value)===null||la===void 0||la.focus()};Pn({focus:nr,blur:()=>{var la;(la=rr.value)===null||la===void 0||la.blur()}});const oa=la=>{$n.value===void 0&&(Jo.value=la),_n("update:value",la),_n("change",la),Rn.onFieldChange()},ra=la=>{Zo.value=!1,_n("blur",la),Rn.onFieldBlur()},ea=la=>{Zo.value=!0,_n("focus",la)};return()=>{var la,ua,ga,aa;const{hasFeedback:ca,isFormItemInput:sa,feedbackIcon:ia}=Dn,fa=(la=$n.id)!==null&&la!==void 0?la:Rn.id.value,ma=_extends$1(_extends$1(_extends$1({},In),$n),{id:fa,disabled:Go.value}),{class:ya,bordered:ba,readonly:Ia,style:Ea,addonBefore:xa=(ua=Nn.addonBefore)===null||ua===void 0?void 0:ua.call(Nn),addonAfter:Ta=(ga=Nn.addonAfter)===null||ga===void 0?void 0:ga.call(Nn),prefix:wa=(aa=Nn.prefix)===null||aa===void 0?void 0:aa.call(Nn),valueModifiers:La={}}=ma,Na=__rest$y(ma,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),$a=Fn.value,ka=classNames({[`${$a}-lg`]:qo.value==="large",[`${$a}-sm`]:qo.value==="small",[`${$a}-rtl`]:Hn.value==="rtl",[`${$a}-readonly`]:Ia,[`${$a}-borderless`]:!ba,[`${$a}-in-form-item`]:sa},getStatusClassNames($a,Ln.value),ya,Yn.value,Yo.value);let Ha=createVNode(VcInputNumber,_objectSpread2$1(_objectSpread2$1({},omit$1(Na,["size","defaultValue"])),{},{ref:rr,lazy:!!La.lazy,value:Jo.value,class:ka,prefixCls:$a,readonly:Ia,onChange:oa,onBlur:ra,onFocus:ea}),{upHandler:Nn.upIcon?()=>createVNode("span",{class:`${$a}-handler-up-inner`},[Nn.upIcon()]):()=>createVNode(UpOutlined$1,{class:`${$a}-handler-up-inner`},null),downHandler:Nn.downIcon?()=>createVNode("span",{class:`${$a}-handler-down-inner`},[Nn.downIcon()]):()=>createVNode(DownOutlined$1,{class:`${$a}-handler-down-inner`},null)});const da=isValidValue(xa)||isValidValue(Ta),pa=isValidValue(wa);if(pa||ca){const Sa=classNames(`${$a}-affix-wrapper`,getStatusClassNames(`${$a}-affix-wrapper`,Ln.value,ca),{[`${$a}-affix-wrapper-focused`]:Zo.value,[`${$a}-affix-wrapper-disabled`]:Go.value,[`${$a}-affix-wrapper-sm`]:qo.value==="small",[`${$a}-affix-wrapper-lg`]:qo.value==="large",[`${$a}-affix-wrapper-rtl`]:Hn.value==="rtl",[`${$a}-affix-wrapper-readonly`]:Ia,[`${$a}-affix-wrapper-borderless`]:!ba,[`${ya}`]:!da&&ya},Yo.value);Ha=createVNode("div",{class:Sa,style:Ea,onClick:nr},[pa&&createVNode("span",{class:`${$a}-prefix`},[wa]),Ha,ca&&createVNode("span",{class:`${$a}-suffix`},[ia])])}if(da){const Sa=`${$a}-group`,Aa=`${Sa}-addon`,Ra=xa?createVNode("div",{class:Aa},[xa]):null,Fa=Ta?createVNode("div",{class:Aa},[Ta]):null,za=classNames(`${$a}-wrapper`,Sa,{[`${Sa}-rtl`]:Hn.value==="rtl"},Yo.value),Wa=classNames(`${$a}-group-wrapper`,{[`${$a}-group-wrapper-sm`]:qo.value==="small",[`${$a}-group-wrapper-lg`]:qo.value==="large",[`${$a}-group-wrapper-rtl`]:Hn.value==="rtl"},getStatusClassNames(`${Fn}-group-wrapper`,Ln.value,ca),ya,Yo.value);Ha=createVNode("div",{class:Wa,style:Ea},[createVNode("div",{class:za},[Ra&&createVNode(NoCompactStyle,null,{default:()=>[createVNode(NoFormStatus,null,{default:()=>[Ra]})]}),Ha,Fa&&createVNode(NoCompactStyle,null,{default:()=>[createVNode(NoFormStatus,null,{default:()=>[Fa]})]})])])}return Xn(cloneElement(Ha,{style:Ea}))}}}),index$j=_extends$1(InputNumber,{install:$n=>($n.component(InputNumber.name,InputNumber),$n)}),genLayoutLightStyle=$n=>{const{componentCls:Cn,colorBgContainer:_n,colorBgBody:Pn,colorText:In}=$n;return{[`${Cn}-sider-light`]:{background:_n,[`${Cn}-sider-trigger`]:{color:In,background:_n},[`${Cn}-sider-zero-width-trigger`]:{color:In,background:_n,border:`1px solid ${Pn}`,borderInlineStart:0}}}},genLayoutStyle=$n=>{const{antCls:Cn,componentCls:_n,colorText:Pn,colorTextLightSolid:In,colorBgHeader:Nn,colorBgBody:Rn,colorBgTrigger:Dn,layoutHeaderHeight:Ln,layoutHeaderPaddingInline:Fn,layoutHeaderColor:Bn,layoutFooterPadding:Hn,layoutTriggerHeight:zn,layoutZeroTriggerSize:Wn,motionDurationMid:Yn,motionDurationSlow:Gn,fontSize:Go,borderRadius:Xn}=$n;return{[_n]:_extends$1(_extends$1({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rn,"&, *":{boxSizing:"border-box"},[`&${_n}-has-sider`]:{flexDirection:"row",[`> ${_n}, > ${_n}-content`]:{width:0}},[`${_n}-header, &${_n}-footer`]:{flex:"0 0 auto"},[`${_n}-header`]:{height:Ln,paddingInline:Fn,color:Bn,lineHeight:`${Ln}px`,background:Nn,[`${Cn}-menu`]:{lineHeight:"inherit"}},[`${_n}-footer`]:{padding:Hn,color:Pn,fontSize:Go,background:Rn},[`${_n}-content`]:{flex:"auto",minHeight:0},[`${_n}-sider`]:{position:"relative",minWidth:0,background:Nn,transition:`all ${Yn}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Cn}-menu${Cn}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:zn},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:zn,color:In,lineHeight:`${zn}px`,textAlign:"center",background:Dn,cursor:"pointer",transition:`all ${Yn}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ln,insetInlineEnd:-Wn,zIndex:1,width:Wn,height:Wn,color:In,fontSize:$n.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Nn,borderStartStartRadius:0,borderStartEndRadius:Xn,borderEndEndRadius:Xn,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Gn} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Gn}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Wn,borderStartStartRadius:Xn,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Xn}}}}},genLayoutLightStyle($n)),{"&-rtl":{direction:"rtl"}})}},useStyle$n=genComponentStyleHook("Layout",$n=>{const{colorText:Cn,controlHeightSM:_n,controlHeight:Pn,controlHeightLG:In,marginXXS:Nn}=$n,Rn=In*1.25,Dn=merge$1($n,{layoutHeaderHeight:Pn*2,layoutHeaderPaddingInline:Rn,layoutHeaderColor:Cn,layoutFooterPadding:`${_n}px ${Rn}px`,layoutTriggerHeight:In+Nn*2,layoutZeroTriggerSize:In});return[genLayoutStyle(Dn)]},$n=>{const{colorBgLayout:Cn}=$n;return{colorBgHeader:"#001529",colorBgBody:Cn,colorBgTrigger:"#002140"}}),basicProps=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function generator($n){let{suffixCls:Cn,tagName:_n,name:Pn}=$n;return In=>defineComponent({compatConfig:{MODE:3},name:Pn,props:basicProps(),setup(Rn,Dn){let{slots:Ln}=Dn;const{prefixCls:Fn}=useConfigInject(Cn,Rn);return()=>{const Bn=_extends$1(_extends$1({},Rn),{prefixCls:Fn.value,tagName:_n});return createVNode(In,Bn,Ln)}}})}const Basic=defineComponent({compatConfig:{MODE:3},props:basicProps(),setup($n,Cn){let{slots:_n}=Cn;return()=>createVNode($n.tagName,{class:$n.prefixCls},_n)}}),BasicLayout=defineComponent({compatConfig:{MODE:3},inheritAttrs:!1,props:basicProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("",$n),[Rn,Dn]=useStyle$n(In),Ln=ref([]);provide(SiderHookProviderKey,{addSider:Hn=>{Ln.value=[...Ln.value,Hn]},removeSider:Hn=>{Ln.value=Ln.value.filter(zn=>zn!==Hn)}});const Bn=computed(()=>{const{prefixCls:Hn,hasSider:zn}=$n;return{[Dn.value]:!0,[`${Hn}`]:!0,[`${Hn}-has-sider`]:typeof zn=="boolean"?zn:Ln.value.length>0,[`${Hn}-rtl`]:Nn.value==="rtl"}});return()=>{const{tagName:Hn}=$n;return Rn(createVNode(Hn,_extends$1(_extends$1({},Pn),{class:[Bn.value,Pn.class]}),_n))}}}),Layout=generator({suffixCls:"layout",tagName:"section",name:"ALayout"})(BasicLayout),Header$1=generator({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(Basic),Footer$1=generator({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(Basic),Content=generator({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(Basic),Layout$1=Layout;var BarsOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const BarsOutlinedSvg=BarsOutlined$2;function _objectSpread$o($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$o($n,In,_n[In])})}return $n}function _defineProperty$o($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var BarsOutlined=function(Cn,_n){var Pn=_objectSpread$o({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$o({},Pn,{icon:BarsOutlinedSvg}),null)};BarsOutlined.displayName="BarsOutlined";BarsOutlined.inheritAttrs=!1;const BarsOutlined$1=BarsOutlined,dimensionMaxMap={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px",xxxl:"1999.98px"},siderProps=()=>({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:PropTypes.any,width:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),collapsedWidth:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),breakpoint:PropTypes.oneOf(tuple$1("xs","sm","md","lg","xl","xxl","xxxl")),theme:PropTypes.oneOf(tuple$1("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),generateId=(()=>{let $n=0;return function(){let Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $n+=1,`${Cn}${$n}`}})(),Sider=defineComponent({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:initDefaultProps(siderProps(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup($n,Cn){let{emit:_n,attrs:Pn,slots:In}=Cn;const{prefixCls:Nn}=useConfigInject("layout-sider",$n),Rn=inject(SiderHookProviderKey,void 0),Dn=shallowRef(!!($n.collapsed!==void 0?$n.collapsed:$n.defaultCollapsed)),Ln=shallowRef(!1);watch(()=>$n.collapsed,()=>{Dn.value=!!$n.collapsed}),provide(SiderCollapsedKey,Dn);const Fn=(Gn,Go)=>{$n.collapsed===void 0&&(Dn.value=Gn),_n("update:collapsed",Gn),_n("collapse",Gn,Go)},Bn=shallowRef(Gn=>{Ln.value=Gn.matches,_n("breakpoint",Gn.matches),Dn.value!==Gn.matches&&Fn(Gn.matches,"responsive")});let Hn;function zn(Gn){return Bn.value(Gn)}const Wn=generateId("ant-sider-");Rn&&Rn.addSider(Wn),onMounted(()=>{watch(()=>$n.breakpoint,()=>{try{Hn==null||Hn.removeEventListener("change",zn)}catch{Hn==null||Hn.removeListener(zn)}if(typeof window<"u"){const{matchMedia:Gn}=window;if(Gn&&$n.breakpoint&&$n.breakpoint in dimensionMaxMap){Hn=Gn(`(max-width: ${dimensionMaxMap[$n.breakpoint]})`);try{Hn.addEventListener("change",zn)}catch{Hn.addListener(zn)}zn(Hn)}}},{immediate:!0})}),onBeforeUnmount(()=>{try{Hn==null||Hn.removeEventListener("change",zn)}catch{Hn==null||Hn.removeListener(zn)}Rn&&Rn.removeSider(Wn)});const Yn=()=>{Fn(!Dn.value,"clickTrigger")};return()=>{var Gn,Go;const Xn=Nn.value,{collapsedWidth:Yo,width:qo,reverseArrow:Jo,zeroWidthTriggerStyle:Zo,trigger:rr=(Gn=In.trigger)===null||Gn===void 0?void 0:Gn.call(In),collapsible:nr,theme:ta}=$n,oa=Dn.value?Yo:qo,ra=isNumeric(oa)?`${oa}px`:String(oa),ea=parseFloat(String(Yo||0))===0?createVNode("span",{onClick:Yn,class:classNames(`${Xn}-zero-width-trigger`,`${Xn}-zero-width-trigger-${Jo?"right":"left"}`),style:Zo},[rr||createVNode(BarsOutlined$1,null,null)]):null,la={expanded:createVNode(Jo?RightOutlined$1:LeftOutlined$1,null,null),collapsed:createVNode(Jo?LeftOutlined$1:RightOutlined$1,null,null)},ua=Dn.value?"collapsed":"expanded",ga=la[ua],aa=rr!==null?ea||createVNode("div",{class:`${Xn}-trigger`,onClick:Yn,style:{width:ra}},[rr||ga]):null,ca=[Pn.style,{flex:`0 0 ${ra}`,maxWidth:ra,minWidth:ra,width:ra}],sa=classNames(Xn,`${Xn}-${ta}`,{[`${Xn}-collapsed`]:!!Dn.value,[`${Xn}-has-trigger`]:nr&&rr!==null&&!ea,[`${Xn}-below`]:!!Ln.value,[`${Xn}-zero-width`]:parseFloat(ra)===0},Pn.class);return createVNode("aside",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:sa,style:ca}),[createVNode("div",{class:`${Xn}-children`},[(Go=In.default)===null||Go===void 0?void 0:Go.call(In)]),nr||Ln.value&&ea?aa:null])}}}),LayoutHeader=Header$1,LayoutFooter=Footer$1,LayoutSider=Sider,LayoutContent=Content,index$i=_extends$1(Layout$1,{Header:Header$1,Footer:Footer$1,Content,Sider,install:$n=>($n.component(Layout$1.name,Layout$1),$n.component(Header$1.name,Header$1),$n.component(Footer$1.name,Footer$1),$n.component(Sider.name,Sider),$n.component(Content.name,Content),$n)});function throttle($n,Cn,_n){var Pn=_n||{},In=Pn.noTrailing,Nn=In===void 0?!1:In,Rn=Pn.noLeading,Dn=Rn===void 0?!1:Rn,Ln=Pn.debounceMode,Fn=Ln===void 0?void 0:Ln,Bn,Hn=!1,zn=0;function Wn(){Bn&&clearTimeout(Bn)}function Yn(Go){var Xn=Go||{},Yo=Xn.upcomingOnly,qo=Yo===void 0?!1:Yo;Wn(),Hn=!qo}function Gn(){for(var Go=arguments.length,Xn=new Array(Go),Yo=0;Yo<Go;Yo++)Xn[Yo]=arguments[Yo];var qo=this,Jo=Date.now()-zn;if(Hn)return;function Zo(){zn=Date.now(),Cn.apply(qo,Xn)}function rr(){Bn=void 0}!Dn&&Fn&&!Bn&&Zo(),Wn(),Fn===void 0&&Jo>$n?Dn?(zn=Date.now(),Nn||(Bn=setTimeout(Fn?rr:Zo,$n))):Zo():Nn!==!0&&(Bn=setTimeout(Fn?rr:Zo,Fn===void 0?$n-Jo:$n))}return Gn.cancel=Yn,Gn}function debounce$1($n,Cn,_n){var Pn=_n||{},In=Pn.atBegin,Nn=In===void 0?!1:In;return throttle($n,Cn,{debounceMode:Nn!==!1})}const antSpinMove=new Keyframes("antSpinMove",{to:{opacity:1}}),antRotate=new Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),genSpinStyle=$n=>({[`${$n.componentCls}`]:_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",display:"none",color:$n.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${$n.motionDurationSlow} ${$n.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${$n.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:$n.contentHeight,[`${$n.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-$n.spinDotSize/2},[`${$n.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:($n.spinDotSize-$n.fontSize)/2+2,textShadow:`0 1px 2px ${$n.colorBgContainer}`},[`&${$n.componentCls}-show-text ${$n.componentCls}-dot`]:{marginTop:-($n.spinDotSize/2)-10},"&-sm":{[`${$n.componentCls}-dot`]:{margin:-$n.spinDotSizeSM/2},[`${$n.componentCls}-text`]:{paddingTop:($n.spinDotSizeSM-$n.fontSize)/2+2},[`&${$n.componentCls}-show-text ${$n.componentCls}-dot`]:{marginTop:-($n.spinDotSizeSM/2)-10}},"&-lg":{[`${$n.componentCls}-dot`]:{margin:-($n.spinDotSizeLG/2)},[`${$n.componentCls}-text`]:{paddingTop:($n.spinDotSizeLG-$n.fontSize)/2+2},[`&${$n.componentCls}-show-text ${$n.componentCls}-dot`]:{marginTop:-($n.spinDotSizeLG/2)-10}}},[`${$n.componentCls}-container`]:{position:"relative",transition:`opacity ${$n.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:$n.colorBgContainer,opacity:0,transition:`all ${$n.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${$n.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:$n.spinDotDefault},[`${$n.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:$n.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:($n.spinDotSize-$n.marginXXS/2)/2,height:($n.spinDotSize-$n.marginXXS/2)/2,backgroundColor:$n.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:antSpinMove,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:antRotate,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${$n.componentCls}-dot`]:{fontSize:$n.spinDotSizeSM,i:{width:($n.spinDotSizeSM-$n.marginXXS/2)/2,height:($n.spinDotSizeSM-$n.marginXXS/2)/2}},[`&-lg ${$n.componentCls}-dot`]:{fontSize:$n.spinDotSizeLG,i:{width:($n.spinDotSizeLG-$n.marginXXS)/2,height:($n.spinDotSizeLG-$n.marginXXS)/2}},[`&${$n.componentCls}-show-text ${$n.componentCls}-text`]:{display:"block"}})}),useStyle$m=genComponentStyleHook("Spin",$n=>{const Cn=merge$1($n,{spinDotDefault:$n.colorTextDescription,spinDotSize:$n.controlHeightLG/2,spinDotSizeSM:$n.controlHeightLG*.35,spinDotSizeLG:$n.controlHeight});return[genSpinStyle(Cn)]},{contentHeight:400});var __rest$x=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const spinProps=()=>({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:PropTypes.any,delay:Number,indicator:PropTypes.any});let defaultIndicator=null;function shouldDelay($n,Cn){return!!$n&&!!Cn&&!isNaN(Number(Cn))}function setDefaultIndicator($n){const Cn=$n.indicator;defaultIndicator=typeof Cn=="function"?Cn:()=>createVNode(Cn,null,null)}const Spin=defineComponent({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:initDefaultProps(spinProps(),{size:"default",spinning:!0,wrapperClassName:""}),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{prefixCls:In,size:Nn,direction:Rn}=useConfigInject("spin",$n),[Dn,Ln]=useStyle$m(In),Fn=shallowRef($n.spinning&&!shouldDelay($n.spinning,$n.delay));let Bn;return watch([()=>$n.spinning,()=>$n.delay],()=>{Bn==null||Bn.cancel(),Bn=debounce$1($n.delay,()=>{Fn.value=$n.spinning}),Bn==null||Bn()},{immediate:!0,flush:"post"}),onBeforeUnmount(()=>{Bn==null||Bn.cancel()}),()=>{var Hn,zn;const{class:Wn}=_n,Yn=__rest$x(_n,["class"]),{tip:Gn=(Hn=Pn.tip)===null||Hn===void 0?void 0:Hn.call(Pn)}=$n,Go=(zn=Pn.default)===null||zn===void 0?void 0:zn.call(Pn),Xn={[Ln.value]:!0,[In.value]:!0,[`${In.value}-sm`]:Nn.value==="small",[`${In.value}-lg`]:Nn.value==="large",[`${In.value}-spinning`]:Fn.value,[`${In.value}-show-text`]:!!Gn,[`${In.value}-rtl`]:Rn.value==="rtl",[Wn]:!!Wn};function Yo(Jo){const Zo=`${Jo}-dot`;let rr=getPropsSlot(Pn,$n,"indicator");return rr===null?null:(Array.isArray(rr)&&(rr=rr.length===1?rr[0]:rr),isVNode$1(rr)?cloneVNode(rr,{class:Zo}):defaultIndicator&&isVNode$1(defaultIndicator())?cloneVNode(defaultIndicator(),{class:Zo}):createVNode("span",{class:`${Zo} ${Jo}-dot-spin`},[createVNode("i",{class:`${Jo}-dot-item`},null),createVNode("i",{class:`${Jo}-dot-item`},null),createVNode("i",{class:`${Jo}-dot-item`},null),createVNode("i",{class:`${Jo}-dot-item`},null)]))}const qo=createVNode("div",_objectSpread2$1(_objectSpread2$1({},Yn),{},{class:Xn,"aria-live":"polite","aria-busy":Fn.value}),[Yo(In.value),Gn?createVNode("div",{class:`${In.value}-text`},[Gn]):null]);if(Go&&filterEmpty(Go).length){const Jo={[`${In.value}-container`]:!0,[`${In.value}-blur`]:Fn.value};return Dn(createVNode("div",{class:[`${In.value}-nested-loading`,$n.wrapperClassName,Ln.value]},[Fn.value&&createVNode("div",{key:"loading"},[qo]),createVNode("div",{class:Jo,key:"container"},[Go])]))}return Dn(qo)}}});Spin.setDefaultIndicator=setDefaultIndicator;Spin.install=function($n){return $n.component(Spin.name,Spin),$n};var DoubleLeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const DoubleLeftOutlinedSvg=DoubleLeftOutlined$2;function _objectSpread$n($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$n($n,In,_n[In])})}return $n}function _defineProperty$n($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var DoubleLeftOutlined=function(Cn,_n){var Pn=_objectSpread$n({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$n({},Pn,{icon:DoubleLeftOutlinedSvg}),null)};DoubleLeftOutlined.displayName="DoubleLeftOutlined";DoubleLeftOutlined.inheritAttrs=!1;const DoubleLeftOutlined$1=DoubleLeftOutlined;var DoubleRightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const DoubleRightOutlinedSvg=DoubleRightOutlined$2;function _objectSpread$m($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$m($n,In,_n[In])})}return $n}function _defineProperty$m($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var DoubleRightOutlined=function(Cn,_n){var Pn=_objectSpread$m({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$m({},Pn,{icon:DoubleRightOutlinedSvg}),null)};DoubleRightOutlined.displayName="DoubleRightOutlined";DoubleRightOutlined.inheritAttrs=!1;const DoubleRightOutlined$1=DoubleRightOutlined,MiniSelect=defineComponent({name:"MiniSelect",compatConfig:{MODE:3},inheritAttrs:!1,props:selectProps(),Option:VcSelect.Option,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;return()=>{const In=_extends$1(_extends$1(_extends$1({},$n),{size:"small"}),_n);return createVNode(VcSelect,In,Pn)}}}),MiddleSelect=defineComponent({name:"MiddleSelect",inheritAttrs:!1,props:selectProps(),Option:VcSelect.Option,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;return()=>{const In=_extends$1(_extends$1(_extends$1({},$n),{size:"middle"}),_n);return createVNode(VcSelect,In,Pn)}}}),Pager=defineComponent({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:PropTypes.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup($n,Cn){let{emit:_n,attrs:Pn}=Cn;const In=()=>{_n("click",$n.page)},Nn=Rn=>{_n("keypress",Rn,In,$n.page)};return()=>{const{showTitle:Rn,page:Dn,itemRender:Ln}=$n,{class:Fn,style:Bn}=Pn,Hn=`${$n.rootPrefixCls}-item`,zn=classNames(Hn,`${Hn}-${$n.page}`,{[`${Hn}-active`]:$n.active,[`${Hn}-disabled`]:!$n.page},Fn);return createVNode("li",{onClick:In,onKeypress:Nn,title:Rn?String(Dn):null,tabindex:"0",class:zn,style:Bn},[Ln({page:Dn,type:"page",originalElement:createVNode("a",{rel:"nofollow"},[Dn])})])}}}),KEYCODE={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Options=defineComponent({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:PropTypes.any,current:Number,pageSizeOptions:PropTypes.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:PropTypes.object,rootPrefixCls:String,selectPrefixCls:String,goButton:PropTypes.any},setup($n){const Cn=ref(""),_n=computed(()=>!Cn.value||isNaN(Cn.value)?void 0:Number(Cn.value)),Pn=Ln=>`${Ln.value} ${$n.locale.items_per_page}`,In=Ln=>{const{value:Fn,composing:Bn}=Ln.target;Ln.isComposing||Bn||Cn.value===Fn||(Cn.value=Fn)},Nn=Ln=>{const{goButton:Fn,quickGo:Bn,rootPrefixCls:Hn}=$n;if(!(Fn||Cn.value===""))if(Ln.relatedTarget&&(Ln.relatedTarget.className.indexOf(`${Hn}-item-link`)>=0||Ln.relatedTarget.className.indexOf(`${Hn}-item`)>=0)){Cn.value="";return}else Bn(_n.value),Cn.value=""},Rn=Ln=>{Cn.value!==""&&(Ln.keyCode===KEYCODE.ENTER||Ln.type==="click")&&($n.quickGo(_n.value),Cn.value="")},Dn=computed(()=>{const{pageSize:Ln,pageSizeOptions:Fn}=$n;return Fn.some(Bn=>Bn.toString()===Ln.toString())?Fn:Fn.concat([Ln.toString()]).sort((Bn,Hn)=>{const zn=isNaN(Number(Bn))?0:Number(Bn),Wn=isNaN(Number(Hn))?0:Number(Hn);return zn-Wn})});return()=>{const{rootPrefixCls:Ln,locale:Fn,changeSize:Bn,quickGo:Hn,goButton:zn,selectComponentClass:Wn,selectPrefixCls:Yn,pageSize:Gn,disabled:Go}=$n,Xn=`${Ln}-options`;let Yo=null,qo=null,Jo=null;if(!Bn&&!Hn)return null;if(Bn&&Wn){const Zo=$n.buildOptionText||Pn,rr=Dn.value.map((nr,ta)=>createVNode(Wn.Option,{key:ta,value:nr},{default:()=>[Zo({value:nr})]}));Yo=createVNode(Wn,{disabled:Go,prefixCls:Yn,showSearch:!1,class:`${Xn}-size-changer`,optionLabelProp:"children",value:(Gn||Dn.value[0]).toString(),onChange:nr=>Bn(Number(nr)),getPopupContainer:nr=>nr.parentNode},{default:()=>[rr]})}return Hn&&(zn&&(Jo=typeof zn=="boolean"?createVNode("button",{type:"button",onClick:Rn,onKeyup:Rn,disabled:Go,class:`${Xn}-quick-jumper-button`},[Fn.jump_to_confirm]):createVNode("span",{onClick:Rn,onKeyup:Rn},[zn])),qo=createVNode("div",{class:`${Xn}-quick-jumper`},[Fn.jump_to,withDirectives(createVNode("input",{disabled:Go,type:"text",value:Cn.value,onInput:In,onChange:In,onKeyup:Rn,onBlur:Nn},null),[[antInputDirective]]),Fn.page,Jo])),createVNode("li",{class:`${Xn}`},[Yo,qo])}}}),Pagination$2={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};var __rest$w=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function isInteger($n){return typeof $n=="number"&&isFinite($n)&&Math.floor($n)===$n}function defaultItemRender($n){let{originalElement:Cn}=$n;return Cn}function calculatePage($n,Cn,_n){const Pn=typeof $n>"u"?Cn.statePageSize:$n;return Math.floor((_n.total-1)/Pn)+1}const VcPagination=defineComponent({compatConfig:{MODE:3},name:"Pagination",mixins:[BaseMixin],inheritAttrs:!1,props:{disabled:{type:Boolean,default:void 0},prefixCls:PropTypes.string.def("rc-pagination"),selectPrefixCls:PropTypes.string.def("rc-select"),current:Number,defaultCurrent:PropTypes.number.def(1),total:PropTypes.number.def(0),pageSize:Number,defaultPageSize:PropTypes.number.def(10),hideOnSinglePage:{type:Boolean,default:!1},showSizeChanger:{type:Boolean,default:void 0},showLessItems:{type:Boolean,default:!1},selectComponentClass:PropTypes.any,showPrevNextJumpers:{type:Boolean,default:!0},showQuickJumper:PropTypes.oneOfType([PropTypes.looseBool,PropTypes.object]).def(!1),showTitle:{type:Boolean,default:!0},pageSizeOptions:PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number,PropTypes.string])),buildOptionText:Function,showTotal:Function,simple:{type:Boolean,default:void 0},locale:PropTypes.object.def(Pagination$2),itemRender:PropTypes.func.def(defaultItemRender),prevIcon:PropTypes.any,nextIcon:PropTypes.any,jumpPrevIcon:PropTypes.any,jumpNextIcon:PropTypes.any,totalBoundaryShowSizeChanger:PropTypes.number.def(50)},data(){const $n=this.$props;let Cn=firstNotUndefined([this.current,this.defaultCurrent]);const _n=firstNotUndefined([this.pageSize,this.defaultPageSize]);return Cn=Math.min(Cn,calculatePage(_n,void 0,$n)),{stateCurrent:Cn,stateCurrentInputValue:Cn,statePageSize:_n}},watch:{current($n){this.setState({stateCurrent:$n,stateCurrentInputValue:$n})},pageSize($n){const Cn={};let _n=this.stateCurrent;const Pn=calculatePage($n,this.$data,this.$props);_n=_n>Pn?Pn:_n,hasProp(this,"current")||(Cn.stateCurrent=_n,Cn.stateCurrentInputValue=_n),Cn.statePageSize=$n,this.setState(Cn)},stateCurrent($n,Cn){this.$nextTick(()=>{if(this.$refs.paginationNode){const _n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${Cn}`);_n&&document.activeElement===_n&&_n.blur()}})},total(){const $n={},Cn=calculatePage(this.pageSize,this.$data,this.$props);if(hasProp(this,"current")){const _n=Math.min(this.current,Cn);$n.stateCurrent=_n,$n.stateCurrentInputValue=_n}else{let _n=this.stateCurrent;_n===0&&Cn>0?_n=1:_n=Math.min(this.stateCurrent,Cn),$n.stateCurrent=_n}this.setState($n)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(calculatePage(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon($n,Cn){const{prefixCls:_n}=this.$props;return getComponent(this,$n,this.$props)||createVNode("button",{type:"button","aria-label":Cn,class:`${_n}-item-link`},null)},getValidValue($n){const Cn=$n.target.value,_n=calculatePage(void 0,this.$data,this.$props),{stateCurrentInputValue:Pn}=this.$data;let In;return Cn===""?In=Cn:isNaN(Number(Cn))?In=Pn:Cn>=_n?In=_n:In=Number(Cn),In},isValid($n){return isInteger($n)&&$n!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:$n,pageSize:Cn,total:_n}=this.$props;return _n<=Cn?!1:$n},handleKeyDown($n){($n.keyCode===KEYCODE.ARROW_UP||$n.keyCode===KEYCODE.ARROW_DOWN)&&$n.preventDefault()},handleKeyUp($n){if($n.isComposing||$n.target.composing)return;const Cn=this.getValidValue($n),_n=this.stateCurrentInputValue;Cn!==_n&&this.setState({stateCurrentInputValue:Cn}),$n.keyCode===KEYCODE.ENTER?this.handleChange(Cn):$n.keyCode===KEYCODE.ARROW_UP?this.handleChange(Cn-1):$n.keyCode===KEYCODE.ARROW_DOWN&&this.handleChange(Cn+1)},changePageSize($n){let Cn=this.stateCurrent;const _n=Cn,Pn=calculatePage($n,this.$data,this.$props);Cn=Cn>Pn?Pn:Cn,Pn===0&&(Cn=this.stateCurrent),typeof $n=="number"&&(hasProp(this,"pageSize")||this.setState({statePageSize:$n}),hasProp(this,"current")||this.setState({stateCurrent:Cn,stateCurrentInputValue:Cn})),this.__emit("update:pageSize",$n),Cn!==_n&&this.__emit("update:current",Cn),this.__emit("showSizeChange",Cn,$n),this.__emit("change",Cn,$n)},handleChange($n){const{disabled:Cn}=this.$props;let _n=$n;if(this.isValid(_n)&&!Cn){const Pn=calculatePage(void 0,this.$data,this.$props);return _n>Pn?_n=Pn:_n<1&&(_n=1),hasProp(this,"current")||this.setState({stateCurrent:_n,stateCurrentInputValue:_n}),this.__emit("update:current",_n),this.__emit("change",_n,this.statePageSize),_n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrent<calculatePage(void 0,this.$data,this.$props)},getShowSizeChanger(){const{showSizeChanger:$n,total:Cn,totalBoundaryShowSizeChanger:_n}=this.$props;return typeof $n<"u"?$n:Cn>_n},runIfEnter($n,Cn){if($n.key==="Enter"||$n.charCode===13){for(var _n=arguments.length,Pn=new Array(_n>2?_n-2:0),In=2;In<_n;In++)Pn[In-2]=arguments[In];Cn(...Pn)}},runIfEnterPrev($n){this.runIfEnter($n,this.prev)},runIfEnterNext($n){this.runIfEnter($n,this.next)},runIfEnterJumpPrev($n){this.runIfEnter($n,this.jumpPrev)},runIfEnterJumpNext($n){this.runIfEnter($n,this.jumpNext)},handleGoTO($n){($n.keyCode===KEYCODE.ENTER||$n.type==="click")&&this.handleChange(this.stateCurrentInputValue)},renderPrev($n){const{itemRender:Cn}=this.$props,_n=Cn({page:$n,type:"prev",originalElement:this.getItemIcon("prevIcon","prev page")}),Pn=!this.hasPrev();return isValidElement(_n)?cloneElement(_n,Pn?{disabled:Pn}:{}):_n},renderNext($n){const{itemRender:Cn}=this.$props,_n=Cn({page:$n,type:"next",originalElement:this.getItemIcon("nextIcon","next page")}),Pn=!this.hasNext();return isValidElement(_n)?cloneElement(_n,Pn?{disabled:Pn}:{}):_n}},render(){const{prefixCls:$n,disabled:Cn,hideOnSinglePage:_n,total:Pn,locale:In,showQuickJumper:Nn,showLessItems:Rn,showTitle:Dn,showTotal:Ln,simple:Fn,itemRender:Bn,showPrevNextJumpers:Hn,jumpPrevIcon:zn,jumpNextIcon:Wn,selectComponentClass:Yn,selectPrefixCls:Gn,pageSizeOptions:Go}=this.$props,{stateCurrent:Xn,statePageSize:Yo}=this,qo=splitAttrs(this.$attrs).extraAttrs,{class:Jo}=qo,Zo=__rest$w(qo,["class"]);if(_n===!0&&this.total<=Yo)return null;const rr=calculatePage(void 0,this.$data,this.$props),nr=[];let ta=null,oa=null,ra=null,ea=null,la=null;const ua=Nn&&Nn.goButton,ga=Rn?1:2,aa=Xn-1>0?Xn-1:0,ca=Xn+1<rr?Xn+1:rr,sa=this.hasPrev(),ia=this.hasNext();if(Fn)return ua&&(typeof ua=="boolean"?la=createVNode("button",{type:"button",onClick:this.handleGoTO,onKeyup:this.handleGoTO},[In.jump_to_confirm]):la=createVNode("span",{onClick:this.handleGoTO,onKeyup:this.handleGoTO},[ua]),la=createVNode("li",{title:Dn?`${In.jump_to}${Xn}/${rr}`:null,class:`${$n}-simple-pager`},[la])),createVNode("ul",_objectSpread2$1({class:classNames(`${$n} ${$n}-simple`,{[`${$n}-disabled`]:Cn},Jo)},Zo),[createVNode("li",{title:Dn?In.prev_page:null,onClick:this.prev,tabindex:sa?0:null,onKeypress:this.runIfEnterPrev,class:classNames(`${$n}-prev`,{[`${$n}-disabled`]:!sa}),"aria-disabled":!sa},[this.renderPrev(aa)]),createVNode("li",{title:Dn?`${Xn}/${rr}`:null,class:`${$n}-simple-pager`},[withDirectives(createVNode("input",{type:"text",value:this.stateCurrentInputValue,disabled:Cn,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onInput:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"},null),[[antInputDirective]]),createVNode("span",{class:`${$n}-slash`},[createTextVNode("/")]),rr]),createVNode("li",{title:Dn?In.next_page:null,onClick:this.next,tabindex:ia?0:null,onKeypress:this.runIfEnterNext,class:classNames(`${$n}-next`,{[`${$n}-disabled`]:!ia}),"aria-disabled":!ia},[this.renderNext(ca)]),la]);if(rr<=3+ga*2){const Ia={locale:In,rootPrefixCls:$n,showTitle:Dn,itemRender:Bn,onClick:this.handleChange,onKeypress:this.runIfEnter};rr||nr.push(createVNode(Pager,_objectSpread2$1(_objectSpread2$1({},Ia),{},{key:"noPager",page:1,class:`${$n}-item-disabled`}),null));for(let Ea=1;Ea<=rr;Ea+=1){const xa=Xn===Ea;nr.push(createVNode(Pager,_objectSpread2$1(_objectSpread2$1({},Ia),{},{key:Ea,page:Ea,active:xa}),null))}}else{const Ia=Rn?In.prev_3:In.prev_5,Ea=Rn?In.next_3:In.next_5;Hn&&(ta=createVNode("li",{title:this.showTitle?Ia:null,key:"prev",onClick:this.jumpPrev,tabindex:"0",onKeypress:this.runIfEnterJumpPrev,class:classNames(`${$n}-jump-prev`,{[`${$n}-jump-prev-custom-icon`]:!!zn})},[Bn({page:this.getJumpPrevPage(),type:"jump-prev",originalElement:this.getItemIcon("jumpPrevIcon","prev page")})]),oa=createVNode("li",{title:this.showTitle?Ea:null,key:"next",tabindex:"0",onClick:this.jumpNext,onKeypress:this.runIfEnterJumpNext,class:classNames(`${$n}-jump-next`,{[`${$n}-jump-next-custom-icon`]:!!Wn})},[Bn({page:this.getJumpNextPage(),type:"jump-next",originalElement:this.getItemIcon("jumpNextIcon","next page")})])),ea=createVNode(Pager,{locale:In,last:!0,rootPrefixCls:$n,onClick:this.handleChange,onKeypress:this.runIfEnter,key:rr,page:rr,active:!1,showTitle:Dn,itemRender:Bn},null),ra=createVNode(Pager,{locale:In,rootPrefixCls:$n,onClick:this.handleChange,onKeypress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Dn,itemRender:Bn},null);let xa=Math.max(1,Xn-ga),Ta=Math.min(Xn+ga,rr);Xn-1<=ga&&(Ta=1+ga*2),rr-Xn<=ga&&(xa=rr-ga*2);for(let wa=xa;wa<=Ta;wa+=1){const La=Xn===wa;nr.push(createVNode(Pager,{locale:In,rootPrefixCls:$n,onClick:this.handleChange,onKeypress:this.runIfEnter,key:wa,page:wa,active:La,showTitle:Dn,itemRender:Bn},null))}Xn-1>=ga*2&&Xn!==3&&(nr[0]=createVNode(Pager,{locale:In,rootPrefixCls:$n,onClick:this.handleChange,onKeypress:this.runIfEnter,key:xa,page:xa,class:`${$n}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:Bn},null),nr.unshift(ta)),rr-Xn>=ga*2&&Xn!==rr-2&&(nr[nr.length-1]=createVNode(Pager,{locale:In,rootPrefixCls:$n,onClick:this.handleChange,onKeypress:this.runIfEnter,key:Ta,page:Ta,class:`${$n}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:Bn},null),nr.push(oa)),xa!==1&&nr.unshift(ra),Ta!==rr&&nr.push(ea)}let fa=null;Ln&&(fa=createVNode("li",{class:`${$n}-total-text`},[Ln(Pn,[Pn===0?0:(Xn-1)*Yo+1,Xn*Yo>Pn?Pn:Xn*Yo])]));const ma=!sa||!rr,ya=!ia||!rr,ba=this.buildOptionText||this.$slots.buildOptionText;return createVNode("ul",_objectSpread2$1(_objectSpread2$1({unselectable:"on",ref:"paginationNode"},Zo),{},{class:classNames({[`${$n}`]:!0,[`${$n}-disabled`]:Cn},Jo)}),[fa,createVNode("li",{title:Dn?In.prev_page:null,onClick:this.prev,tabindex:ma?null:0,onKeypress:this.runIfEnterPrev,class:classNames(`${$n}-prev`,{[`${$n}-disabled`]:ma}),"aria-disabled":ma},[this.renderPrev(aa)]),nr,createVNode("li",{title:Dn?In.next_page:null,onClick:this.next,tabindex:ya?null:0,onKeypress:this.runIfEnterNext,class:classNames(`${$n}-next`,{[`${$n}-disabled`]:ya}),"aria-disabled":ya},[this.renderNext(ca)]),createVNode(Options,{disabled:Cn,locale:In,rootPrefixCls:$n,selectComponentClass:Yn,selectPrefixCls:Gn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Xn,pageSize:Yo,pageSizeOptions:Go,buildOptionText:ba||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ua},null)])}}),genPaginationDisabledStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Cn}-item-link`]:{color:$n.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Cn}-item-link`]:{color:$n.colorTextDisabled,cursor:"not-allowed"}}},[`&${Cn}-disabled`]:{cursor:"not-allowed",[`&${Cn}-mini`]:{[`
- &:hover ${Cn}-item:not(${Cn}-item-active),
- &:active ${Cn}-item:not(${Cn}-item-active),
- &:hover ${Cn}-item-link,
- &:active ${Cn}-item-link
- `]:{backgroundColor:"transparent"}},[`${Cn}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:$n.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:$n.colorBorder,backgroundColor:$n.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:$n.paginationItemDisabledBgActive},a:{color:$n.paginationItemDisabledColorActive}}},[`${Cn}-item-link`]:{color:$n.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Cn}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Cn}-simple-pager`]:{color:$n.colorTextDisabled},[`${Cn}-jump-prev, ${Cn}-jump-next`]:{[`${Cn}-item-link-icon`]:{opacity:0},[`${Cn}-item-ellipsis`]:{opacity:1}}},[`&${Cn}-simple`]:{[`${Cn}-prev, ${Cn}-next`]:{[`&${Cn}-disabled ${Cn}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},genPaginationMiniStyle=$n=>{const{componentCls:Cn}=$n;return{[`&${Cn}-mini ${Cn}-total-text, &${Cn}-mini ${Cn}-simple-pager`]:{height:$n.paginationItemSizeSM,lineHeight:`${$n.paginationItemSizeSM}px`},[`&${Cn}-mini ${Cn}-item`]:{minWidth:$n.paginationItemSizeSM,height:$n.paginationItemSizeSM,margin:0,lineHeight:`${$n.paginationItemSizeSM-2}px`},[`&${Cn}-mini ${Cn}-item:not(${Cn}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:$n.colorBgTextHover},"&:active":{backgroundColor:$n.colorBgTextActive}},[`&${Cn}-mini ${Cn}-prev, &${Cn}-mini ${Cn}-next`]:{minWidth:$n.paginationItemSizeSM,height:$n.paginationItemSizeSM,margin:0,lineHeight:`${$n.paginationItemSizeSM}px`,[`&:hover ${Cn}-item-link`]:{backgroundColor:$n.colorBgTextHover},[`&:active ${Cn}-item-link`]:{backgroundColor:$n.colorBgTextActive},[`&${Cn}-disabled:hover ${Cn}-item-link`]:{backgroundColor:"transparent"}},[`
- &${Cn}-mini ${Cn}-prev ${Cn}-item-link,
- &${Cn}-mini ${Cn}-next ${Cn}-item-link
- `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:$n.paginationItemSizeSM,lineHeight:`${$n.paginationItemSizeSM}px`}},[`&${Cn}-mini ${Cn}-jump-prev, &${Cn}-mini ${Cn}-jump-next`]:{height:$n.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${$n.paginationItemSizeSM}px`},[`&${Cn}-mini ${Cn}-options`]:{marginInlineStart:$n.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:$n.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:$n.paginationItemSizeSM,lineHeight:`${$n.paginationItemSizeSM}px`,input:_extends$1(_extends$1({},genInputSmallStyle($n)),{width:$n.paginationMiniQuickJumperInputWidth,height:$n.controlHeightSM})}}}},genPaginationSimpleStyle=$n=>{const{componentCls:Cn}=$n;return{[`
- &${Cn}-simple ${Cn}-prev,
- &${Cn}-simple ${Cn}-next
- `]:{height:$n.paginationItemSizeSM,lineHeight:`${$n.paginationItemSizeSM}px`,verticalAlign:"top",[`${Cn}-item-link`]:{height:$n.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:$n.colorBgTextHover},"&:active":{backgroundColor:$n.colorBgTextActive},"&::after":{height:$n.paginationItemSizeSM,lineHeight:`${$n.paginationItemSizeSM}px`}}},[`&${Cn}-simple ${Cn}-simple-pager`]:{display:"inline-block",height:$n.paginationItemSizeSM,marginInlineEnd:$n.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:$n.marginXS,padding:`0 ${$n.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:$n.paginationItemInputBg,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:$n.borderRadius,outline:"none",transition:`border-color ${$n.motionDurationMid}`,color:"inherit","&:hover":{borderColor:$n.colorPrimary},"&:focus":{borderColor:$n.colorPrimaryHover,boxShadow:`${$n.inputOutlineOffset}px 0 ${$n.controlOutlineWidth}px ${$n.controlOutline}`},"&[disabled]":{color:$n.colorTextDisabled,backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,cursor:"not-allowed"}}}}},genPaginationJumpStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-jump-prev, ${Cn}-jump-next`]:{outline:0,[`${Cn}-item-container`]:{position:"relative",[`${Cn}-item-link-icon`]:{color:$n.colorPrimary,fontSize:$n.fontSizeSM,opacity:0,transition:`all ${$n.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Cn}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:$n.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:$n.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:$n.paginationEllipsisTextIndent,opacity:1,transition:`all ${$n.motionDurationMid}`}},"&:hover":{[`${Cn}-item-link-icon`]:{opacity:1},[`${Cn}-item-ellipsis`]:{opacity:0}},"&:focus-visible":_extends$1({[`${Cn}-item-link-icon`]:{opacity:1},[`${Cn}-item-ellipsis`]:{opacity:0}},genFocusOutline($n))},[`
- ${Cn}-prev,
- ${Cn}-jump-prev,
- ${Cn}-jump-next
- `]:{marginInlineEnd:$n.marginXS},[`
- ${Cn}-prev,
- ${Cn}-next,
- ${Cn}-jump-prev,
- ${Cn}-jump-next
- `]:{display:"inline-block",minWidth:$n.paginationItemSize,height:$n.paginationItemSize,color:$n.colorText,fontFamily:$n.paginationFontFamily,lineHeight:`${$n.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:$n.borderRadius,cursor:"pointer",transition:`all ${$n.motionDurationMid}`},[`${Cn}-prev, ${Cn}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:$n.colorText,cursor:"pointer",userSelect:"none"},[`${Cn}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:$n.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${$n.lineWidth}px ${$n.lineType} transparent`,borderRadius:$n.borderRadius,outline:"none",transition:`all ${$n.motionDurationMid}`},[`&:focus-visible ${Cn}-item-link`]:_extends$1({},genFocusOutline($n)),[`&:hover ${Cn}-item-link`]:{backgroundColor:$n.colorBgTextHover},[`&:active ${Cn}-item-link`]:{backgroundColor:$n.colorBgTextActive},[`&${Cn}-disabled:hover`]:{[`${Cn}-item-link`]:{backgroundColor:"transparent"}}},[`${Cn}-slash`]:{marginInlineEnd:$n.paginationSlashMarginInlineEnd,marginInlineStart:$n.paginationSlashMarginInlineStart},[`${Cn}-options`]:{display:"inline-block",marginInlineStart:$n.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:$n.controlHeight,marginInlineStart:$n.marginXS,lineHeight:`${$n.controlHeight}px`,verticalAlign:"top",input:_extends$1(_extends$1({},genBasicInputStyle($n)),{width:$n.controlHeightLG*1.25,height:$n.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:$n.marginXS,marginInlineEnd:$n.marginXS})}}}},genPaginationItemStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-item`]:_extends$1(_extends$1({display:"inline-block",minWidth:$n.paginationItemSize,height:$n.paginationItemSize,marginInlineEnd:$n.marginXS,fontFamily:$n.paginationFontFamily,lineHeight:`${$n.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${$n.lineWidth}px ${$n.lineType} transparent`,borderRadius:$n.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${$n.paginationItemPaddingInline}px`,color:$n.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${Cn}-item-active)`]:{"&:hover":{transition:`all ${$n.motionDurationMid}`,backgroundColor:$n.colorBgTextHover},"&:active":{backgroundColor:$n.colorBgTextActive}}},genFocusStyle($n)),{"&-active":{fontWeight:$n.paginationFontWeightActive,backgroundColor:$n.paginationItemBgActive,borderColor:$n.colorPrimary,a:{color:$n.colorPrimary},"&:hover":{borderColor:$n.colorPrimaryHover},"&:hover a":{color:$n.colorPrimaryHover}}})}},genPaginationStyle$2=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Cn}-total-text`]:{display:"inline-block",height:$n.paginationItemSize,marginInlineEnd:$n.marginXS,lineHeight:`${$n.paginationItemSize-2}px`,verticalAlign:"middle"}}),genPaginationItemStyle($n)),genPaginationJumpStyle($n)),genPaginationSimpleStyle($n)),genPaginationMiniStyle($n)),genPaginationDisabledStyle($n)),{[`@media only screen and (max-width: ${$n.screenLG}px)`]:{[`${Cn}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${$n.screenSM}px)`]:{[`${Cn}-options`]:{display:"none"}}}),[`&${$n.componentCls}-rtl`]:{direction:"rtl"}}},genBorderedStyle$3=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}${Cn}-disabled`]:{"&, &:hover":{[`${Cn}-item-link`]:{borderColor:$n.colorBorder}},"&:focus-visible":{[`${Cn}-item-link`]:{borderColor:$n.colorBorder}},[`${Cn}-item, ${Cn}-item-link`]:{backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,[`&:hover:not(${Cn}-item-active)`]:{backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,a:{color:$n.colorTextDisabled}},[`&${Cn}-item-active`]:{backgroundColor:$n.paginationItemDisabledBgActive}},[`${Cn}-prev, ${Cn}-next`]:{"&:hover button":{backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder,color:$n.colorTextDisabled},[`${Cn}-item-link`]:{backgroundColor:$n.colorBgContainerDisabled,borderColor:$n.colorBorder}}},[Cn]:{[`${Cn}-prev, ${Cn}-next`]:{"&:hover button":{borderColor:$n.colorPrimaryHover,backgroundColor:$n.paginationItemBg},[`${Cn}-item-link`]:{backgroundColor:$n.paginationItemLinkBg,borderColor:$n.colorBorder},[`&:hover ${Cn}-item-link`]:{borderColor:$n.colorPrimary,backgroundColor:$n.paginationItemBg,color:$n.colorPrimary},[`&${Cn}-disabled`]:{[`${Cn}-item-link`]:{borderColor:$n.colorBorder,color:$n.colorTextDisabled}}},[`${Cn}-item`]:{backgroundColor:$n.paginationItemBg,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,[`&:hover:not(${Cn}-item-active)`]:{borderColor:$n.colorPrimary,backgroundColor:$n.paginationItemBg,a:{color:$n.colorPrimary}},"&-active":{borderColor:$n.colorPrimary}}}}},useStyle$l=genComponentStyleHook("Pagination",$n=>{const Cn=merge$1($n,{paginationItemSize:$n.controlHeight,paginationFontFamily:$n.fontFamily,paginationItemBg:$n.colorBgContainer,paginationItemBgActive:$n.colorBgContainer,paginationFontWeightActive:$n.fontWeightStrong,paginationItemSizeSM:$n.controlHeightSM,paginationItemInputBg:$n.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:$n.controlItemBgActiveDisabled,paginationItemDisabledColorActive:$n.colorTextDisabled,paginationItemLinkBg:$n.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:$n.marginXXS/2,paginationMiniQuickJumperInputWidth:$n.controlHeightLG*1.1,paginationItemPaddingInline:$n.marginXXS*1.5,paginationEllipsisLetterSpacing:$n.marginXXS/2,paginationSlashMarginInlineStart:$n.marginXXS,paginationSlashMarginInlineEnd:$n.marginSM,paginationEllipsisTextIndent:"0.13em"},initInputToken($n));return[genPaginationStyle$2(Cn),$n.wireframe&&genBorderedStyle$3(Cn)]});var __rest$v=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const paginationProps=()=>({total:Number,defaultCurrent:Number,disabled:booleanType(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:booleanType(),showSizeChanger:booleanType(),pageSizeOptions:arrayType(),buildOptionText:functionType(),showQuickJumper:someType([Boolean,Object]),showTotal:functionType(),size:stringType(),simple:booleanType(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:functionType(),role:String,responsive:Boolean,showLessItems:booleanType(),onChange:functionType(),onShowSizeChange:functionType(),"onUpdate:current":functionType(),"onUpdate:pageSize":functionType()}),Pagination$1=defineComponent({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:paginationProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,configProvider:Nn,direction:Rn,size:Dn}=useConfigInject("pagination",$n),[Ln,Fn]=useStyle$l(In),Bn=computed(()=>Nn.getPrefixCls("select",$n.selectPrefixCls)),Hn=useBreakpoint(),[zn]=useLocaleReceiver("Pagination",enUS$1,toRef($n,"locale")),Wn=Yn=>{const Gn=createVNode("span",{class:`${Yn}-item-ellipsis`},[createTextVNode("•••")]),Go=createVNode("button",{class:`${Yn}-item-link`,type:"button",tabindex:-1},[Rn.value==="rtl"?createVNode(RightOutlined$1,null,null):createVNode(LeftOutlined$1,null,null)]),Xn=createVNode("button",{class:`${Yn}-item-link`,type:"button",tabindex:-1},[Rn.value==="rtl"?createVNode(LeftOutlined$1,null,null):createVNode(RightOutlined$1,null,null)]),Yo=createVNode("a",{rel:"nofollow",class:`${Yn}-item-link`},[createVNode("div",{class:`${Yn}-item-container`},[Rn.value==="rtl"?createVNode(DoubleRightOutlined$1,{class:`${Yn}-item-link-icon`},null):createVNode(DoubleLeftOutlined$1,{class:`${Yn}-item-link-icon`},null),Gn])]),qo=createVNode("a",{rel:"nofollow",class:`${Yn}-item-link`},[createVNode("div",{class:`${Yn}-item-container`},[Rn.value==="rtl"?createVNode(DoubleLeftOutlined$1,{class:`${Yn}-item-link-icon`},null):createVNode(DoubleRightOutlined$1,{class:`${Yn}-item-link-icon`},null),Gn])]);return{prevIcon:Go,nextIcon:Xn,jumpPrevIcon:Yo,jumpNextIcon:qo}};return()=>{var Yn;const{itemRender:Gn=_n.itemRender,buildOptionText:Go=_n.buildOptionText,selectComponentClass:Xn,responsive:Yo}=$n,qo=__rest$v($n,["itemRender","buildOptionText","selectComponentClass","responsive"]),Jo=Dn.value==="small"||!!(!((Yn=Hn.value)===null||Yn===void 0)&&Yn.xs&&!Dn.value&&Yo),Zo=_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},qo),Wn(In.value)),{prefixCls:In.value,selectPrefixCls:Bn.value,selectComponentClass:Xn||(Jo?MiniSelect:MiddleSelect),locale:zn.value,buildOptionText:Go}),Pn),{class:classNames({[`${In.value}-mini`]:Jo,[`${In.value}-rtl`]:Rn.value==="rtl"},Pn.class,Fn.value),itemRender:Gn});return Ln(createVNode(VcPagination,Zo,null))}}}),Pagination=withInstall(Pagination$1),listItemMetaProps=()=>({avatar:PropTypes.any,description:PropTypes.any,prefixCls:String,title:PropTypes.any}),ItemMeta=defineComponent({compatConfig:{MODE:3},name:"AListItemMeta",props:listItemMetaProps(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn}=useConfigInject("list",$n);return()=>{var In,Nn,Rn,Dn,Ln,Fn;const Bn=`${Pn.value}-item-meta`,Hn=(In=$n.title)!==null&&In!==void 0?In:(Nn=_n.title)===null||Nn===void 0?void 0:Nn.call(_n),zn=(Rn=$n.description)!==null&&Rn!==void 0?Rn:(Dn=_n.description)===null||Dn===void 0?void 0:Dn.call(_n),Wn=(Ln=$n.avatar)!==null&&Ln!==void 0?Ln:(Fn=_n.avatar)===null||Fn===void 0?void 0:Fn.call(_n),Yn=createVNode("div",{class:`${Pn.value}-item-meta-content`},[Hn&&createVNode("h4",{class:`${Pn.value}-item-meta-title`},[Hn]),zn&&createVNode("div",{class:`${Pn.value}-item-meta-description`},[zn])]);return createVNode("div",{class:Bn},[Wn&&createVNode("div",{class:`${Pn.value}-item-meta-avatar`},[Wn]),(Hn||zn)&&Yn])}}}),ListContextKey=Symbol("ListContextKey");var __rest$u=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const listItemProps$1=()=>({prefixCls:String,extra:PropTypes.any,actions:PropTypes.array,grid:Object,colStyle:{type:Object,default:void 0}}),Item=defineComponent({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:ItemMeta,props:listItemProps$1(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{itemLayout:In,grid:Nn}=inject(ListContextKey,{grid:ref(),itemLayout:ref()}),{prefixCls:Rn}=useConfigInject("list",$n),Dn=()=>{var Fn;const Bn=((Fn=_n.default)===null||Fn===void 0?void 0:Fn.call(_n))||[];let Hn;return Bn.forEach(zn=>{isStringElement(zn)&&!isEmptyElement(zn)&&(Hn=!0)}),Hn&&Bn.length>1},Ln=()=>{var Fn,Bn;const Hn=(Fn=$n.extra)!==null&&Fn!==void 0?Fn:(Bn=_n.extra)===null||Bn===void 0?void 0:Bn.call(_n);return In.value==="vertical"?!!Hn:!Dn()};return()=>{var Fn,Bn,Hn,zn,Wn;const{class:Yn}=Pn,Gn=__rest$u(Pn,["class"]),Go=Rn.value,Xn=(Fn=$n.extra)!==null&&Fn!==void 0?Fn:(Bn=_n.extra)===null||Bn===void 0?void 0:Bn.call(_n),Yo=(Hn=_n.default)===null||Hn===void 0?void 0:Hn.call(_n);let qo=(zn=$n.actions)!==null&&zn!==void 0?zn:flattenChildren((Wn=_n.actions)===null||Wn===void 0?void 0:Wn.call(_n));qo=qo&&!Array.isArray(qo)?[qo]:qo;const Jo=qo&&qo.length>0&&createVNode("ul",{class:`${Go}-item-action`,key:"actions"},[qo.map((nr,ta)=>createVNode("li",{key:`${Go}-item-action-${ta}`},[nr,ta!==qo.length-1&&createVNode("em",{class:`${Go}-item-action-split`},null)]))]),Zo=Nn.value?"div":"li",rr=createVNode(Zo,_objectSpread2$1(_objectSpread2$1({},Gn),{},{class:classNames(`${Go}-item`,{[`${Go}-item-no-flex`]:!Ln()},Yn)}),{default:()=>[In.value==="vertical"&&Xn?[createVNode("div",{class:`${Go}-item-main`,key:"content"},[Yo,Jo]),createVNode("div",{class:`${Go}-item-extra`,key:"extra"},[Xn])]:[Yo,Jo,cloneElement(Xn,{key:"extra"})]]});return Nn.value?createVNode(Col,{flex:1,style:$n.colStyle},{default:()=>[rr]}):rr}}}),genBorderedStyle$2=$n=>{const{listBorderedCls:Cn,componentCls:_n,paddingLG:Pn,margin:In,padding:Nn,listItemPaddingSM:Rn,marginLG:Dn,borderRadiusLG:Ln}=$n;return{[`${Cn}`]:{border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:Ln,[`${_n}-header,${_n}-footer,${_n}-item`]:{paddingInline:Pn},[`${_n}-pagination`]:{margin:`${In}px ${Dn}px`}},[`${Cn}${_n}-sm`]:{[`${_n}-item,${_n}-header,${_n}-footer`]:{padding:Rn}},[`${Cn}${_n}-lg`]:{[`${_n}-item,${_n}-header,${_n}-footer`]:{padding:`${Nn}px ${Pn}px`}}}},genResponsiveStyle=$n=>{const{componentCls:Cn,screenSM:_n,screenMD:Pn,marginLG:In,marginSM:Nn,margin:Rn}=$n;return{[`@media screen and (max-width:${Pn})`]:{[`${Cn}`]:{[`${Cn}-item`]:{[`${Cn}-item-action`]:{marginInlineStart:In}}},[`${Cn}-vertical`]:{[`${Cn}-item`]:{[`${Cn}-item-extra`]:{marginInlineStart:In}}}},[`@media screen and (max-width: ${_n})`]:{[`${Cn}`]:{[`${Cn}-item`]:{flexWrap:"wrap",[`${Cn}-action`]:{marginInlineStart:Nn}}},[`${Cn}-vertical`]:{[`${Cn}-item`]:{flexWrap:"wrap-reverse",[`${Cn}-item-main`]:{minWidth:$n.contentWidth},[`${Cn}-item-extra`]:{margin:`auto auto ${Rn}px`}}}}}},genBaseStyle$9=$n=>{const{componentCls:Cn,antCls:_n,controlHeight:Pn,minHeight:In,paddingSM:Nn,marginLG:Rn,padding:Dn,listItemPadding:Ln,colorPrimary:Fn,listItemPaddingSM:Bn,listItemPaddingLG:Hn,paddingXS:zn,margin:Wn,colorText:Yn,colorTextDescription:Gn,motionDurationSlow:Go,lineWidth:Xn}=$n;return{[`${Cn}`]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative","*":{outline:"none"},[`${Cn}-header, ${Cn}-footer`]:{background:"transparent",paddingBlock:Nn},[`${Cn}-pagination`]:{marginBlockStart:Rn,textAlign:"end",[`${_n}-pagination-options`]:{textAlign:"start"}},[`${Cn}-spin`]:{minHeight:In,textAlign:"center"},[`${Cn}-items`]:{margin:0,padding:0,listStyle:"none"},[`${Cn}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:Ln,color:Yn,[`${Cn}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${Cn}-item-meta-avatar`]:{marginInlineEnd:Dn},[`${Cn}-item-meta-content`]:{flex:"1 0",width:0,color:Yn},[`${Cn}-item-meta-title`]:{marginBottom:$n.marginXXS,color:Yn,fontSize:$n.fontSize,lineHeight:$n.lineHeight,"> a":{color:Yn,transition:`all ${Go}`,"&:hover":{color:Fn}}},[`${Cn}-item-meta-description`]:{color:Gn,fontSize:$n.fontSize,lineHeight:$n.lineHeight}},[`${Cn}-item-action`]:{flex:"0 0 auto",marginInlineStart:$n.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${zn}px`,color:Gn,fontSize:$n.fontSize,lineHeight:$n.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${Cn}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:Xn,height:Math.ceil($n.fontSize*$n.lineHeight)-$n.marginXXS*2,transform:"translateY(-50%)",backgroundColor:$n.colorSplit}}},[`${Cn}-empty`]:{padding:`${Dn}px 0`,color:Gn,fontSize:$n.fontSizeSM,textAlign:"center"},[`${Cn}-empty-text`]:{padding:Dn,color:$n.colorTextDisabled,fontSize:$n.fontSize,textAlign:"center"},[`${Cn}-item-no-flex`]:{display:"block"}}),[`${Cn}-grid ${_n}-col > ${Cn}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:Wn,paddingBlock:0,borderBlockEnd:"none"},[`${Cn}-vertical ${Cn}-item`]:{alignItems:"initial",[`${Cn}-item-main`]:{display:"block",flex:1},[`${Cn}-item-extra`]:{marginInlineStart:Rn},[`${Cn}-item-meta`]:{marginBlockEnd:Dn,[`${Cn}-item-meta-title`]:{marginBlockEnd:Nn,color:Yn,fontSize:$n.fontSizeLG,lineHeight:$n.lineHeightLG}},[`${Cn}-item-action`]:{marginBlockStart:Dn,marginInlineStart:"auto","> li":{padding:`0 ${Dn}px`,"&:first-child":{paddingInlineStart:0}}}},[`${Cn}-split ${Cn}-item`]:{borderBlockEnd:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${Cn}-split ${Cn}-header`]:{borderBlockEnd:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},[`${Cn}-split${Cn}-empty ${Cn}-footer`]:{borderTop:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},[`${Cn}-loading ${Cn}-spin-nested-loading`]:{minHeight:Pn},[`${Cn}-split${Cn}-something-after-last-item ${_n}-spin-container > ${Cn}-items > ${Cn}-item:last-child`]:{borderBlockEnd:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`},[`${Cn}-lg ${Cn}-item`]:{padding:Hn},[`${Cn}-sm ${Cn}-item`]:{padding:Bn},[`${Cn}:not(${Cn}-vertical)`]:{[`${Cn}-item-no-flex`]:{[`${Cn}-item-action`]:{float:"right"}}}}},useStyle$k=genComponentStyleHook("List",$n=>{const Cn=merge$1($n,{listBorderedCls:`${$n.componentCls}-bordered`,minHeight:$n.controlHeightLG,listItemPadding:`${$n.paddingContentVertical}px ${$n.paddingContentHorizontalLG}px`,listItemPaddingSM:`${$n.paddingContentVerticalSM}px ${$n.paddingContentHorizontal}px`,listItemPaddingLG:`${$n.paddingContentVerticalLG}px ${$n.paddingContentHorizontalLG}px`});return[genBaseStyle$9(Cn),genBorderedStyle$2(Cn),genResponsiveStyle(Cn)]},{contentWidth:220}),listProps=()=>({bordered:booleanType(),dataSource:arrayType(),extra:vNodeType(),grid:objectType(),itemLayout:String,loading:someType([Boolean,Object]),loadMore:vNodeType(),pagination:someType([Boolean,Object]),prefixCls:String,rowKey:someType([String,Number,Function]),renderItem:functionType(),size:String,split:booleanType(),header:vNodeType(),footer:vNodeType(),locale:objectType()}),List$1=defineComponent({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item,props:initDefaultProps(listProps(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;var In,Nn;provide(ListContextKey,{grid:toRef($n,"grid"),itemLayout:toRef($n,"itemLayout")});const Rn={current:1,total:0},{prefixCls:Dn,direction:Ln,renderEmpty:Fn}=useConfigInject("list",$n),[Bn,Hn]=useStyle$k(Dn),zn=computed(()=>$n.pagination&&typeof $n.pagination=="object"?$n.pagination:{}),Wn=ref((In=zn.value.defaultCurrent)!==null&&In!==void 0?In:1),Yn=ref((Nn=zn.value.defaultPageSize)!==null&&Nn!==void 0?Nn:10);watch(zn,()=>{"current"in zn.value&&(Wn.value=zn.value.current),"pageSize"in zn.value&&(Yn.value=zn.value.pageSize)});const Gn=[],Go=ua=>(ga,aa)=>{Wn.value=ga,Yn.value=aa,zn.value[ua]&&zn.value[ua](ga,aa)},Xn=Go("onChange"),Yo=Go("onShowSizeChange"),qo=computed(()=>typeof $n.loading=="boolean"?{spinning:$n.loading}:$n.loading),Jo=computed(()=>qo.value&&qo.value.spinning),Zo=computed(()=>{let ua="";switch($n.size){case"large":ua="lg";break;case"small":ua="sm";break}return ua}),rr=computed(()=>({[`${Dn.value}`]:!0,[`${Dn.value}-vertical`]:$n.itemLayout==="vertical",[`${Dn.value}-${Zo.value}`]:Zo.value,[`${Dn.value}-split`]:$n.split,[`${Dn.value}-bordered`]:$n.bordered,[`${Dn.value}-loading`]:Jo.value,[`${Dn.value}-grid`]:!!$n.grid,[`${Dn.value}-rtl`]:Ln.value==="rtl"})),nr=computed(()=>{const ua=_extends$1(_extends$1(_extends$1({},Rn),{total:$n.dataSource.length,current:Wn.value,pageSize:Yn.value}),$n.pagination||{}),ga=Math.ceil(ua.total/ua.pageSize);return ua.current>ga&&(ua.current=ga),ua}),ta=computed(()=>{let ua=[...$n.dataSource];return $n.pagination&&$n.dataSource.length>(nr.value.current-1)*nr.value.pageSize&&(ua=[...$n.dataSource].splice((nr.value.current-1)*nr.value.pageSize,nr.value.pageSize)),ua}),oa=useBreakpoint(),ra=eagerComputed(()=>{for(let ua=0;ua<responsiveArray.length;ua+=1){const ga=responsiveArray[ua];if(oa.value[ga])return ga}}),ea=computed(()=>{if(!$n.grid)return;const ua=ra.value&&$n.grid[ra.value]?$n.grid[ra.value]:$n.grid.column;if(ua)return{width:`${100/ua}%`,maxWidth:`${100/ua}%`}}),la=(ua,ga)=>{var aa;const ca=(aa=$n.renderItem)!==null&&aa!==void 0?aa:_n.renderItem;if(!ca)return null;let sa;const ia=typeof $n.rowKey;return ia==="function"?sa=$n.rowKey(ua):ia==="string"||ia==="number"?sa=ua[$n.rowKey]:sa=ua.key,sa||(sa=`list-item-${ga}`),Gn[ga]=sa,ca({item:ua,index:ga})};return()=>{var ua,ga,aa,ca,sa,ia,fa,ma;const ya=(ua=$n.loadMore)!==null&&ua!==void 0?ua:(ga=_n.loadMore)===null||ga===void 0?void 0:ga.call(_n),ba=(aa=$n.footer)!==null&&aa!==void 0?aa:(ca=_n.footer)===null||ca===void 0?void 0:ca.call(_n),Ia=(sa=$n.header)!==null&&sa!==void 0?sa:(ia=_n.header)===null||ia===void 0?void 0:ia.call(_n),Ea=flattenChildren((fa=_n.default)===null||fa===void 0?void 0:fa.call(_n)),xa=!!(ya||$n.pagination||ba),Ta=classNames(_extends$1(_extends$1({},rr.value),{[`${Dn.value}-something-after-last-item`]:xa}),Pn.class,Hn.value),wa=$n.pagination?createVNode("div",{class:`${Dn.value}-pagination`},[createVNode(Pagination,_objectSpread2$1(_objectSpread2$1({},nr.value),{},{onChange:Xn,onShowSizeChange:Yo}),null)]):null;let La=Jo.value&&createVNode("div",{style:{minHeight:"53px"}},null);if(ta.value.length>0){Gn.length=0;const $a=ta.value.map((Ha,da)=>la(Ha,da)),ka=$a.map((Ha,da)=>createVNode("div",{key:Gn[da],style:ea.value},[Ha]));La=$n.grid?createVNode(Row$2,{gutter:$n.grid.gutter},{default:()=>[ka]}):createVNode("ul",{class:`${Dn.value}-items`},[$a])}else!Ea.length&&!Jo.value&&(La=createVNode("div",{class:`${Dn.value}-empty-text`},[((ma=$n.locale)===null||ma===void 0?void 0:ma.emptyText)||Fn("List")]));const Na=nr.value.position||"bottom";return Bn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:Ta}),[(Na==="top"||Na==="both")&&wa,Ia&&createVNode("div",{class:`${Dn.value}-header`},[Ia]),createVNode(Spin,qo.value,{default:()=>[La,Ea]}),ba&&createVNode("div",{class:`${Dn.value}-footer`},[ba]),ya||(Na==="bottom"||Na==="both")&&wa]))}}});List$1.install=function($n){return $n.component(List$1.name,List$1),$n.component(List$1.Item.name,List$1.Item),$n.component(List$1.Item.Meta.name,List$1.Item.Meta),$n};const List$2=List$1;function getBeforeSelectionText($n){const{selectionStart:Cn}=$n;return $n.value.slice(0,Cn)}function getLastMeasureIndex($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(Cn)?Cn:[Cn]).reduce((Pn,In)=>{const Nn=$n.lastIndexOf(In);return Nn>Pn.location?{location:Nn,prefix:In}:Pn},{location:-1,prefix:""})}function lower($n){return($n||"").toLowerCase()}function reduceText($n,Cn,_n){const Pn=$n[0];if(!Pn||Pn===_n)return $n;let In=$n;const Nn=Cn.length;for(let Rn=0;Rn<Nn;Rn+=1)if(lower(In[Rn])!==lower(Cn[Rn])){In=In.slice(Rn);break}else Rn===Nn-1&&(In=In.slice(Nn));return In}function replaceWithMeasure($n,Cn){const{measureLocation:_n,prefix:Pn,targetText:In,selectionStart:Nn,split:Rn}=Cn;let Dn=$n.slice(0,_n);Dn[Dn.length-Rn.length]===Rn&&(Dn=Dn.slice(0,Dn.length-Rn.length)),Dn&&(Dn=`${Dn}${Rn}`);let Ln=reduceText($n.slice(Nn),In.slice(Nn-_n-Pn.length),Rn);Ln.slice(0,Rn.length)===Rn&&(Ln=Ln.slice(Rn.length));const Fn=`${Dn}${Pn}${In}${Rn}`;return{text:`${Fn}${Ln}`,selectionLocation:Fn.length}}function setInputSelection($n,Cn){$n.setSelectionRange(Cn,Cn),$n.blur(),$n.focus()}function validateSearch($n,Cn){const{split:_n}=Cn;return!_n||$n.indexOf(_n)===-1}function filterOption($n,Cn){let{value:_n=""}=Cn;const Pn=$n.toLowerCase();return _n.toLowerCase().indexOf(Pn)!==-1}const MentionsContextKey=Symbol("MentionsContextKey"),MentionsContextKey$1=MentionsContextKey;function noop$8(){}const DropdownMenu=defineComponent({compatConfig:{MODE:3},name:"DropdownMenu",props:{prefixCls:String,options:{type:Array,default:()=>[]}},setup($n,Cn){let{slots:_n}=Cn;const{activeIndex:Pn,setActiveIndex:In,selectOption:Nn,onFocus:Rn=noop$8,loading:Dn}=inject(MentionsContextKey$1,{activeIndex:shallowRef(),loading:shallowRef(!1)});let Ln;const Fn=Bn=>{clearTimeout(Ln),Ln=setTimeout(()=>{Rn(Bn)})};return onBeforeUnmount(()=>{clearTimeout(Ln)}),()=>{var Bn;const{prefixCls:Hn,options:zn}=$n,Wn=zn[Pn.value]||{};return createVNode(Menu,{prefixCls:`${Hn}-menu`,activeKey:Wn.value,onSelect:Yn=>{let{key:Gn}=Yn;const Go=zn.find(Xn=>{let{value:Yo}=Xn;return Yo===Gn});Nn(Go)},onMousedown:Fn},{default:()=>[!Dn.value&&zn.map((Yn,Gn)=>{var Go,Xn;const{value:Yo,disabled:qo,label:Jo=Yn.value,class:Zo,style:rr}=Yn;return createVNode(MenuItem$1,{key:Yo,disabled:qo,onMouseenter:()=>{In(Gn)},class:Zo,style:rr},{default:()=>[(Xn=(Go=_n.option)===null||Go===void 0?void 0:Go.call(_n,Yn))!==null&&Xn!==void 0?Xn:typeof Jo=="function"?Jo(Yn):Jo]})}),!Dn.value&&zn.length===0?createVNode(MenuItem$1,{key:"notFoundContent",disabled:!0},{default:()=>[(Bn=_n.notFoundContent)===null||Bn===void 0?void 0:Bn.call(_n)]}):null,Dn.value&&createVNode(MenuItem$1,{key:"loading",disabled:!0},{default:()=>[createVNode(Spin,{size:"small"},null)]})]})}}}),BUILT_IN_PLACEMENTS={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},KeywordTrigger=defineComponent({compatConfig:{MODE:3},name:"KeywordTrigger",props:{loading:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},prefixCls:String,placement:String,visible:{type:Boolean,default:void 0},transitionName:String,getPopupContainer:Function,direction:String,dropdownClassName:String},setup($n,Cn){let{slots:_n}=Cn;const Pn=()=>`${$n.prefixCls}-dropdown`,In=()=>{const{options:Rn}=$n;return createVNode(DropdownMenu,{prefixCls:Pn(),options:Rn},{notFoundContent:_n.notFoundContent,option:_n.option})},Nn=computed(()=>{const{placement:Rn,direction:Dn}=$n;let Ln="topRight";return Dn==="rtl"?Ln=Rn==="top"?"topLeft":"bottomLeft":Ln=Rn==="top"?"topRight":"bottomRight",Ln});return()=>{const{visible:Rn,transitionName:Dn,getPopupContainer:Ln}=$n;return createVNode(Trigger,{prefixCls:Pn(),popupVisible:Rn,popup:In(),popupClassName:$n.dropdownClassName,popupPlacement:Nn.value,popupTransitionName:Dn,builtinPlacements:BUILT_IN_PLACEMENTS,getPopupContainer:Ln},{default:_n.default})}}}),PlaceMent=tuple$1("top","bottom"),mentionsProps$1={autofocus:{type:Boolean,default:void 0},prefix:PropTypes.oneOfType([PropTypes.string,PropTypes.arrayOf(PropTypes.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:PropTypes.oneOf(PlaceMent),character:PropTypes.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:arrayType(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},vcMentionsProps=_extends$1(_extends$1({},mentionsProps$1),{dropdownClassName:String}),defaultProps$1={prefix:"@",split:" ",rows:1,validateSearch,filterOption:()=>filterOption};initDefaultProps(vcMentionsProps,defaultProps$1);var __rest$t=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function noop$7(){}const Mentions$1=defineComponent({compatConfig:{MODE:3},name:"Mentions",inheritAttrs:!1,props:initDefaultProps(vcMentionsProps,defaultProps$1),emits:["change","select","search","focus","blur","pressenter"],setup($n,Cn){let{emit:_n,attrs:Pn,expose:In,slots:Nn}=Cn;const Rn=ref(null),Dn=ref(null),Ln=ref(),Fn=reactive({value:$n.value||"",measuring:!1,measureLocation:0,measureText:null,measurePrefix:"",activeIndex:0,isFocus:!1});watchEffect(()=>{Fn.value=$n.value});const Bn=ea=>{_n("change",ea)},Hn=ea=>{let{target:{value:la,composing:ua},isComposing:ga}=ea;ga||ua||Bn(la)},zn=(ea,la,ua)=>{_extends$1(Fn,{measuring:!0,measureText:ea,measurePrefix:la,measureLocation:ua,activeIndex:0})},Wn=ea=>{_extends$1(Fn,{measuring:!1,measureLocation:0,measureText:null}),ea==null||ea()},Yn=ea=>{const{which:la}=ea;if(Fn.measuring){if(la===KeyCode$1.UP||la===KeyCode$1.DOWN){const ua=ta.value.length,ga=la===KeyCode$1.UP?-1:1,aa=(Fn.activeIndex+ga+ua)%ua;Fn.activeIndex=aa,ea.preventDefault()}else if(la===KeyCode$1.ESC)Wn();else if(la===KeyCode$1.ENTER){if(ea.preventDefault(),!ta.value.length){Wn();return}const ua=ta.value[Fn.activeIndex];Zo(ua)}}},Gn=ea=>{const{key:la,which:ua}=ea,{measureText:ga,measuring:aa}=Fn,{prefix:ca,validateSearch:sa}=$n,ia=ea.target;if(ia.composing)return;const fa=getBeforeSelectionText(ia),{location:ma,prefix:ya}=getLastMeasureIndex(fa,ca);if([KeyCode$1.ESC,KeyCode$1.UP,KeyCode$1.DOWN,KeyCode$1.ENTER].indexOf(ua)===-1)if(ma!==-1){const ba=fa.slice(ma+ya.length),Ia=sa(ba,$n),Ea=!!nr(ba).length;Ia?(la===ya||la==="Shift"||aa||ba!==ga&&Ea)&&zn(ba,ya,ma):aa&&Wn(),Ia&&_n("search",ba,ya)}else aa&&Wn()},Go=ea=>{Fn.measuring||_n("pressenter",ea)},Xn=ea=>{qo(ea)},Yo=ea=>{Jo(ea)},qo=ea=>{clearTimeout(Ln.value);const{isFocus:la}=Fn;!la&&ea&&_n("focus",ea),Fn.isFocus=!0},Jo=ea=>{Ln.value=setTimeout(()=>{Fn.isFocus=!1,Wn(),_n("blur",ea)},100)},Zo=ea=>{const{split:la}=$n,{value:ua=""}=ea,{text:ga,selectionLocation:aa}=replaceWithMeasure(Fn.value,{measureLocation:Fn.measureLocation,targetText:ua,prefix:Fn.measurePrefix,selectionStart:Dn.value.selectionStart,split:la});Bn(ga),Wn(()=>{setInputSelection(Dn.value,aa)}),_n("select",ea,Fn.measurePrefix)},rr=ea=>{Fn.activeIndex=ea},nr=ea=>{const la=ea||Fn.measureText||"",{filterOption:ua}=$n;return $n.options.filter(aa=>ua?ua(la,aa):!0)},ta=computed(()=>nr());return In({blur:()=>{Dn.value.blur()},focus:()=>{Dn.value.focus()}}),provide(MentionsContextKey$1,{activeIndex:toRef(Fn,"activeIndex"),setActiveIndex:rr,selectOption:Zo,onFocus:qo,onBlur:Jo,loading:toRef($n,"loading")}),onUpdated(()=>{nextTick(()=>{Fn.measuring&&(Rn.value.scrollTop=Dn.value.scrollTop)})}),()=>{const{measureLocation:ea,measurePrefix:la,measuring:ua}=Fn,{prefixCls:ga,placement:aa,transitionName:ca,getPopupContainer:sa,direction:ia}=$n,fa=__rest$t($n,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:ma,style:ya}=Pn,ba=__rest$t(Pn,["class","style"]),Ia=omit$1(fa,["value","prefix","split","validateSearch","filterOption","options","loading"]),Ea=_extends$1(_extends$1(_extends$1({},Ia),ba),{onChange:noop$7,onSelect:noop$7,value:Fn.value,onInput:Hn,onBlur:Yo,onKeydown:Yn,onKeyup:Gn,onFocus:Xn,onPressenter:Go});return createVNode("div",{class:classNames(ga,ma),style:ya},[withDirectives(createVNode("textarea",_objectSpread2$1({ref:Dn},Ea),null),[[antInputDirective]]),ua&&createVNode("div",{ref:Rn,class:`${ga}-measure`},[Fn.value.slice(0,ea),createVNode(KeywordTrigger,{prefixCls:ga,transitionName:ca,dropdownClassName:$n.dropdownClassName,placement:aa,options:ua?ta.value:[],visible:!0,direction:ia,getPopupContainer:sa},{default:()=>[createVNode("span",null,[la])],notFoundContent:Nn.notFoundContent,option:Nn.option}),Fn.value.slice(ea+la.length)])])}}}),baseOptionsProps={value:String,disabled:Boolean,payload:objectType()},optionProps=_extends$1(_extends$1({},baseOptionsProps),{label:anyType([])}),optionOptions={name:"Option",props:optionProps,render($n,Cn){let{slots:_n}=Cn;var Pn;return(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)}};_extends$1({compatConfig:{MODE:3}},optionOptions);const genMentionsStyle=$n=>{const{componentCls:Cn,colorTextDisabled:_n,controlItemBgHover:Pn,controlPaddingHorizontal:In,colorText:Nn,motionDurationSlow:Rn,lineHeight:Dn,controlHeight:Ln,inputPaddingHorizontal:Fn,inputPaddingVertical:Bn,fontSize:Hn,colorBgElevated:zn,borderRadiusLG:Wn,boxShadowSecondary:Yn}=$n,Gn=Math.round(($n.controlHeight-$n.fontSize*$n.lineHeight)/2);return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),genBasicInputStyle($n)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:Dn,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),genStatusStyle($n,Cn)),{"&-disabled":{"> textarea":_extends$1({},genDisabledStyle($n))},"&-focused":_extends$1({},genActiveStyle($n)),[`&-affix-wrapper ${Cn}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Fn,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${Cn}-measure`]:{color:Nn,boxSizing:"border-box",minHeight:Ln-2,margin:0,padding:`${Bn}px ${Fn}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":_extends$1({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},genPlaceholderStyle($n.colorTextPlaceholder)),[`${Cn}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":_extends$1(_extends$1({},resetComponent($n)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:$n.zIndexPopup,boxSizing:"border-box",fontSize:Hn,fontVariant:"initial",backgroundColor:zn,borderRadius:Wn,outline:"none",boxShadow:Yn,"&-hidden":{display:"none"},[`${Cn}-dropdown-menu`]:{maxHeight:$n.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":_extends$1(_extends$1({},textEllipsis),{position:"relative",display:"block",minWidth:$n.controlItemWidth,padding:`${Gn}px ${In}px`,color:Nn,fontWeight:"normal",lineHeight:Dn,cursor:"pointer",transition:`background ${Rn} ease`,"&:hover":{backgroundColor:Pn},"&:first-child":{borderStartStartRadius:Wn,borderStartEndRadius:Wn,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:Wn,borderEndEndRadius:Wn},"&-disabled":{color:_n,cursor:"not-allowed","&:hover":{color:_n,backgroundColor:Pn,cursor:"not-allowed"}},"&-selected":{color:Nn,fontWeight:$n.fontWeightStrong,backgroundColor:Pn},"&-active":{backgroundColor:Pn}})}})})}},useStyle$j=genComponentStyleHook("Mentions",$n=>{const Cn=initInputToken($n);return[genMentionsStyle(Cn)]},$n=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:$n.zIndexPopupBase+50}));var __rest$s=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function loadingFilterOption(){return!0}const getMentions=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:_n="@",split:Pn=" "}=Cn,In=Array.isArray(_n)?_n:[_n];return $n.split(Pn).map(function(){let Nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Rn=null;return In.some(Dn=>Nn.slice(0,Dn.length)===Dn?(Rn=Dn,!0):!1),Rn!==null?{prefix:Rn,value:Nn.slice(Rn.length)}:null}).filter(Nn=>!!Nn&&!!Nn.value)},mentionsProps=()=>_extends$1(_extends$1({},mentionsProps$1),{loading:{type:Boolean,default:void 0},onFocus:{type:Function},onBlur:{type:Function},onSelect:{type:Function},onChange:{type:Function},onPressenter:{type:Function},"onUpdate:value":{type:Function},notFoundContent:PropTypes.any,defaultValue:String,id:String,status:String}),Mentions=defineComponent({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:mentionsProps(),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,attrs:In,expose:Nn}=Cn;var Rn,Dn;const{prefixCls:Ln,renderEmpty:Fn,direction:Bn}=useConfigInject("mentions",$n),[Hn,zn]=useStyle$j(Ln),Wn=shallowRef(!1),Yn=shallowRef(null),Gn=shallowRef((Dn=(Rn=$n.value)!==null&&Rn!==void 0?Rn:$n.defaultValue)!==null&&Dn!==void 0?Dn:""),Go=useInjectFormItemContext(),Xn=FormItemInputContext.useInject(),Yo=computed(()=>getMergedStatus(Xn.status,$n.status));useProvideOverride({prefixCls:computed(()=>`${Ln.value}-menu`),mode:computed(()=>"vertical"),selectable:computed(()=>!1),onClick:()=>{},validator:la=>{warning$3()}}),watch(()=>$n.value,la=>{Gn.value=la});const qo=la=>{Wn.value=!0,Pn("focus",la)},Jo=la=>{Wn.value=!1,Pn("blur",la),Go.onFieldBlur()},Zo=function(){for(var la=arguments.length,ua=new Array(la),ga=0;ga<la;ga++)ua[ga]=arguments[ga];Pn("select",...ua),Wn.value=!0},rr=la=>{$n.value===void 0&&(Gn.value=la),Pn("update:value",la),Pn("change",la),Go.onFieldChange()},nr=()=>{const la=$n.notFoundContent;return la!==void 0?la:_n.notFoundContent?_n.notFoundContent():Fn("Select")},ta=()=>{var la;return flattenChildren(((la=_n.default)===null||la===void 0?void 0:la.call(_n))||[]).map(ua=>{var ga,aa;return _extends$1(_extends$1({},getOptionProps(ua)),{label:(aa=(ga=ua.children)===null||ga===void 0?void 0:ga.default)===null||aa===void 0?void 0:aa.call(ga)})})};Nn({focus:()=>{Yn.value.focus()},blur:()=>{Yn.value.blur()}});const ea=computed(()=>$n.loading?loadingFilterOption:$n.filterOption);return()=>{const{disabled:la,getPopupContainer:ua,rows:ga=1,id:aa=Go.id.value}=$n,ca=__rest$s($n,["disabled","getPopupContainer","rows","id"]),{hasFeedback:sa,feedbackIcon:ia}=Xn,{class:fa}=In,ma=__rest$s(In,["class"]),ya=omit$1(ca,["defaultValue","onUpdate:value","prefixCls"]),ba=classNames({[`${Ln.value}-disabled`]:la,[`${Ln.value}-focused`]:Wn.value,[`${Ln.value}-rtl`]:Bn.value==="rtl"},getStatusClassNames(Ln.value,Yo.value),!sa&&fa,zn.value),Ia=_extends$1(_extends$1(_extends$1(_extends$1({prefixCls:Ln.value},ya),{disabled:la,direction:Bn.value,filterOption:ea.value,getPopupContainer:ua,options:$n.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:createVNode(Spin,{size:"small"},null)}]:$n.options||ta(),class:ba}),ma),{rows:ga,onChange:rr,onSelect:Zo,onFocus:qo,onBlur:Jo,ref:Yn,value:Gn.value,id:aa}),Ea=createVNode(Mentions$1,_objectSpread2$1(_objectSpread2$1({},Ia),{},{dropdownClassName:zn.value}),{notFoundContent:nr,option:_n.option});return Hn(sa?createVNode("div",{class:classNames(`${Ln.value}-affix-wrapper`,getStatusClassNames(`${Ln.value}-affix-wrapper`,Yo.value,sa),fa,zn.value)},[Ea,createVNode("span",{class:`${Ln.value}-suffix`},[ia])]):Ea)}}}),MentionsOption=defineComponent(_extends$1(_extends$1({compatConfig:{MODE:3}},optionOptions),{name:"AMentionsOption",props:optionProps})),index$h=_extends$1(Mentions,{Option:MentionsOption,getMentions,install:$n=>($n.component(Mentions.name,Mentions),$n.component(MentionsOption.name,MentionsOption),$n)});var __rest$r=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};let mousePosition;const getClickPosition=$n=>{mousePosition={x:$n.pageX,y:$n.pageY},setTimeout(()=>mousePosition=null,100)};canUseDocElement()&&addEventListenerWrap(document.documentElement,"click",getClickPosition,!0);const modalProps=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:PropTypes.any,closable:{type:Boolean,default:void 0},closeIcon:PropTypes.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:PropTypes.any,okText:PropTypes.any,okType:String,cancelText:PropTypes.any,icon:PropTypes.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:objectType(),cancelButtonProps:objectType(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:objectType(),maskStyle:objectType(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:objectType()}),Modal=defineComponent({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:initDefaultProps(modalProps(),{width:520,confirmLoading:!1,okType:"primary"}),setup($n,Cn){let{emit:_n,slots:Pn,attrs:In}=Cn;const[Nn]=useLocaleReceiver("Modal"),{prefixCls:Rn,rootPrefixCls:Dn,direction:Ln,getPopupContainer:Fn}=useConfigInject("modal",$n),[Bn,Hn]=useStyle$q(Rn);warning$3($n.visible===void 0);const zn=Gn=>{_n("update:visible",!1),_n("update:open",!1),_n("cancel",Gn),_n("change",!1)},Wn=Gn=>{_n("ok",Gn)},Yn=()=>{var Gn,Go;const{okText:Xn=(Gn=Pn.okText)===null||Gn===void 0?void 0:Gn.call(Pn),okType:Yo,cancelText:qo=(Go=Pn.cancelText)===null||Go===void 0?void 0:Go.call(Pn),confirmLoading:Jo}=$n;return createVNode(Fragment,null,[createVNode(Button$1,_objectSpread2$1({onClick:zn},$n.cancelButtonProps),{default:()=>[qo||Nn.value.cancelText]}),createVNode(Button$1,_objectSpread2$1(_objectSpread2$1({},convertLegacyProps(Yo)),{},{loading:Jo,onClick:Wn},$n.okButtonProps),{default:()=>[Xn||Nn.value.okText]})])};return()=>{var Gn,Go;const{prefixCls:Xn,visible:Yo,open:qo,wrapClassName:Jo,centered:Zo,getContainer:rr,closeIcon:nr=(Gn=Pn.closeIcon)===null||Gn===void 0?void 0:Gn.call(Pn),focusTriggerAfterClose:ta=!0}=$n,oa=__rest$r($n,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),ra=classNames(Jo,{[`${Rn.value}-centered`]:!!Zo,[`${Rn.value}-wrap-rtl`]:Ln.value==="rtl"});return Bn(createVNode(DialogWrap$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},oa),In),{},{rootClassName:Hn.value,class:classNames(Hn.value,In.class),getContainer:rr||(Fn==null?void 0:Fn.value),prefixCls:Rn.value,wrapClassName:ra,visible:qo??Yo,onClose:zn,focusTriggerAfterClose:ta,transitionName:getTransitionName$1(Dn.value,"zoom",$n.transitionName),maskTransitionName:getTransitionName$1(Dn.value,"fade",$n.maskTransitionName),mousePosition:(Go=oa.mousePosition)!==null&&Go!==void 0?Go:mousePosition}),_extends$1(_extends$1({},Pn),{footer:Pn.footer||Yn,closeIcon:()=>createVNode("span",{class:`${Rn.value}-close-x`},[nr||createVNode(CloseOutlined$1,{class:`${Rn.value}-close-icon`},null)])})))}}}),useDestroyed=()=>{const $n=shallowRef(!1);return onBeforeUnmount(()=>{$n.value=!0}),$n},actionButtonProps={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:objectType(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function isThenable($n){return!!($n&&$n.then)}const ActionButton=defineComponent({compatConfig:{MODE:3},name:"ActionButton",props:actionButtonProps,setup($n,Cn){let{slots:_n}=Cn;const Pn=shallowRef(!1),In=shallowRef(),Nn=shallowRef(!1);let Rn;const Dn=useDestroyed();onMounted(()=>{$n.autofocus&&(Rn=setTimeout(()=>{var Hn,zn;return(zn=(Hn=findDOMNode(In.value))===null||Hn===void 0?void 0:Hn.focus)===null||zn===void 0?void 0:zn.call(Hn)}))}),onBeforeUnmount(()=>{clearTimeout(Rn)});const Ln=function(){for(var Hn,zn=arguments.length,Wn=new Array(zn),Yn=0;Yn<zn;Yn++)Wn[Yn]=arguments[Yn];(Hn=$n.close)===null||Hn===void 0||Hn.call($n,...Wn)},Fn=Hn=>{isThenable(Hn)&&(Nn.value=!0,Hn.then(function(){Dn.value||(Nn.value=!1),Ln(...arguments),Pn.value=!1},zn=>(Dn.value||(Nn.value=!1),Pn.value=!1,Promise.reject(zn))))},Bn=Hn=>{const{actionFn:zn}=$n;if(Pn.value)return;if(Pn.value=!0,!zn){Ln();return}let Wn;if($n.emitEvent){if(Wn=zn(Hn),$n.quitOnNullishReturnValue&&!isThenable(Wn)){Pn.value=!1,Ln(Hn);return}}else if(zn.length)Wn=zn($n.close),Pn.value=!1;else if(Wn=zn(),!Wn){Ln();return}Fn(Wn)};return()=>{const{type:Hn,prefixCls:zn,buttonProps:Wn}=$n;return createVNode(Button$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},convertLegacyProps(Hn)),{},{onClick:Bn,loading:Nn.value,prefixCls:zn},Wn),{},{ref:In}),_n)}}});function renderSomeContent($n){return typeof $n=="function"?$n():$n}const ConfirmDialog=defineComponent({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup($n,Cn){let{attrs:_n}=Cn;const[Pn]=useLocaleReceiver("Modal");return()=>{const{icon:In,onCancel:Nn,onOk:Rn,close:Dn,okText:Ln,closable:Fn=!1,zIndex:Bn,afterClose:Hn,keyboard:zn,centered:Wn,getContainer:Yn,maskStyle:Gn,okButtonProps:Go,cancelButtonProps:Xn,okCancel:Yo,width:qo=416,mask:Jo=!0,maskClosable:Zo=!1,type:rr,open:nr,title:ta,content:oa,direction:ra,closeIcon:ea,modalRender:la,focusTriggerAfterClose:ua,rootPrefixCls:ga,bodyStyle:aa,wrapClassName:ca,footer:sa}=$n;let ia=In;if(!In&&In!==null)switch(rr){case"info":ia=createVNode(InfoCircleFilled$1,null,null);break;case"success":ia=createVNode(CheckCircleFilled$1,null,null);break;case"error":ia=createVNode(CloseCircleFilled$1,null,null);break;default:ia=createVNode(ExclamationCircleFilled$1,null,null)}const fa=$n.okType||"primary",ma=$n.prefixCls||"ant-modal",ya=`${ma}-confirm`,ba=_n.style||{},Ia=Yo??rr==="confirm",Ea=$n.autoFocusButton===null?!1:$n.autoFocusButton||"ok",xa=`${ma}-confirm`,Ta=classNames(xa,`${xa}-${$n.type}`,{[`${xa}-rtl`]:ra==="rtl"},_n.class),wa=Pn.value,La=Ia&&createVNode(ActionButton,{actionFn:Nn,close:Dn,autofocus:Ea==="cancel",buttonProps:Xn,prefixCls:`${ga}-btn`},{default:()=>[renderSomeContent($n.cancelText)||wa.cancelText]});return createVNode(Modal,{prefixCls:ma,class:Ta,wrapClassName:classNames({[`${xa}-centered`]:!!Wn},ca),onCancel:Na=>Dn==null?void 0:Dn({triggerCancel:!0},Na),open:nr,title:"",footer:"",transitionName:getTransitionName$1(ga,"zoom",$n.transitionName),maskTransitionName:getTransitionName$1(ga,"fade",$n.maskTransitionName),mask:Jo,maskClosable:Zo,maskStyle:Gn,style:ba,bodyStyle:aa,width:qo,zIndex:Bn,afterClose:Hn,keyboard:zn,centered:Wn,getContainer:Yn,closable:Fn,closeIcon:ea,modalRender:la,focusTriggerAfterClose:ua},{default:()=>[createVNode("div",{class:`${ya}-body-wrapper`},[createVNode("div",{class:`${ya}-body`},[renderSomeContent(ia),ta===void 0?null:createVNode("span",{class:`${ya}-title`},[renderSomeContent(ta)]),createVNode("div",{class:`${ya}-content`},[renderSomeContent(oa)])]),sa!==void 0?renderSomeContent(sa):createVNode("div",{class:`${ya}-btns`},[La,createVNode(ActionButton,{type:fa,actionFn:Rn,close:Dn,autofocus:Ea==="ok",buttonProps:Go,prefixCls:`${ga}-btn`},{default:()=>[renderSomeContent(Ln)||(Ia?wa.okText:wa.justOkText)]})])])]})}}}),destroyFns=[],confirm=$n=>{const Cn=document.createDocumentFragment();let _n=_extends$1(_extends$1({},omit$1($n,["parentContext","appContext"])),{close:Nn,open:!0}),Pn=null;function In(){Pn&&(render$1(null,Cn),Pn=null);for(var Fn=arguments.length,Bn=new Array(Fn),Hn=0;Hn<Fn;Hn++)Bn[Hn]=arguments[Hn];const zn=Bn.some(Wn=>Wn&&Wn.triggerCancel);$n.onCancel&&zn&&$n.onCancel(()=>{},...Bn.slice(1));for(let Wn=0;Wn<destroyFns.length;Wn++)if(destroyFns[Wn]===Nn){destroyFns.splice(Wn,1);break}}function Nn(){for(var Fn=arguments.length,Bn=new Array(Fn),Hn=0;Hn<Fn;Hn++)Bn[Hn]=arguments[Hn];_n=_extends$1(_extends$1({},_n),{open:!1,afterClose:()=>{typeof $n.afterClose=="function"&&$n.afterClose(),In.apply(this,Bn)}}),_n.visible&&delete _n.visible,Rn(_n)}function Rn(Fn){typeof Fn=="function"?_n=Fn(_n):_n=_extends$1(_extends$1({},_n),Fn),Pn&&triggerVNodeUpdate(Pn,_n,Cn)}const Dn=Fn=>{const Bn=globalConfigForApi,Hn=Bn.prefixCls,zn=Fn.prefixCls||`${Hn}-modal`,Wn=Bn.iconPrefixCls,Yn=getConfirmLocale();return createVNode(ConfigProvider$1,_objectSpread2$1(_objectSpread2$1({},Bn),{},{prefixCls:Hn}),{default:()=>[createVNode(ConfirmDialog,_objectSpread2$1(_objectSpread2$1({},Fn),{},{rootPrefixCls:Hn,prefixCls:zn,iconPrefixCls:Wn,locale:Yn,cancelText:Fn.cancelText||Yn.cancelText}),null)]})};function Ln(Fn){const Bn=createVNode(Dn,_extends$1({},Fn));return Bn.appContext=$n.parentContext||$n.appContext||Bn.appContext,render$1(Bn,Cn),Bn}return Pn=Ln(_n),destroyFns.push(Nn),{destroy:Nn,update:Rn}};function withWarn($n){return _extends$1(_extends$1({},$n),{type:"warning"})}function withInfo($n){return _extends$1(_extends$1({},$n),{type:"info"})}function withSuccess($n){return _extends$1(_extends$1({},$n),{type:"success"})}function withError($n){return _extends$1(_extends$1({},$n),{type:"error"})}function withConfirm($n){return _extends$1(_extends$1({},$n),{type:"confirm"})}const comfirmFuncProps=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),HookModal=defineComponent({name:"HookModal",inheritAttrs:!1,props:initDefaultProps(comfirmFuncProps(),{config:{width:520,okType:"primary"}}),setup($n,Cn){let{expose:_n}=Cn;var Pn;const In=computed(()=>$n.open),Nn=computed(()=>$n.config),{direction:Rn,getPrefixCls:Dn}=useConfigContextInject(),Ln=Dn("modal"),Fn=Dn(),Bn=()=>{var Yn,Gn;$n==null||$n.afterClose(),(Gn=(Yn=Nn.value).afterClose)===null||Gn===void 0||Gn.call(Yn)},Hn=function(){$n.destroyAction(...arguments)};_n({destroy:Hn});const zn=(Pn=Nn.value.okCancel)!==null&&Pn!==void 0?Pn:Nn.value.type==="confirm",[Wn]=useLocaleReceiver("Modal",localeValues$1.Modal);return()=>createVNode(ConfirmDialog,_objectSpread2$1(_objectSpread2$1({prefixCls:Ln,rootPrefixCls:Fn},Nn.value),{},{close:Hn,open:In.value,afterClose:Bn,okText:Nn.value.okText||(zn?Wn==null?void 0:Wn.value.okText:Wn==null?void 0:Wn.value.justOkText),direction:Nn.value.direction||Rn.value,cancelText:Nn.value.cancelText||(Wn==null?void 0:Wn.value.cancelText)}),null)}});let uuid$1=0;const ElementsHolder=defineComponent({name:"ElementsHolder",inheritAttrs:!1,setup($n,Cn){let{expose:_n}=Cn;const Pn=shallowRef([]);return _n({addModal:Nn=>(Pn.value.push(Nn),Pn.value=Pn.value.slice(),()=>{Pn.value=Pn.value.filter(Rn=>Rn!==Nn)})}),()=>Pn.value.map(Nn=>Nn())}});function useModal(){const $n=shallowRef(null),Cn=shallowRef([]);watch(Cn,()=>{Cn.value.length&&([...Cn.value].forEach(Rn=>{Rn()}),Cn.value=[])},{immediate:!0});const _n=Nn=>function(Dn){var Ln;uuid$1+=1;const Fn=shallowRef(!0),Bn=shallowRef(null),Hn=shallowRef(unref(Dn)),zn=shallowRef({});watch(()=>Dn,qo=>{Go(_extends$1(_extends$1({},isRef(qo)?qo.value:qo),zn.value))});const Wn=function(){Fn.value=!1;for(var qo=arguments.length,Jo=new Array(qo),Zo=0;Zo<qo;Zo++)Jo[Zo]=arguments[Zo];const rr=Jo.some(nr=>nr&&nr.triggerCancel);Hn.value.onCancel&&rr&&Hn.value.onCancel(()=>{},...Jo.slice(1))};let Yn;const Gn=()=>createVNode(HookModal,{key:`modal-${uuid$1}`,config:Nn(Hn.value),ref:Bn,open:Fn.value,destroyAction:Wn,afterClose:()=>{Yn==null||Yn()}},null);Yn=(Ln=$n.value)===null||Ln===void 0?void 0:Ln.addModal(Gn),Yn&&destroyFns.push(Yn);const Go=qo=>{Hn.value=_extends$1(_extends$1({},Hn.value),qo)};return{destroy:()=>{Bn.value?Wn():Cn.value=[...Cn.value,Wn]},update:qo=>{zn.value=qo,Bn.value?Go(qo):Cn.value=[...Cn.value,()=>Go(qo)]}}},Pn=computed(()=>({info:_n(withInfo),success:_n(withSuccess),error:_n(withError),warning:_n(withWarn),confirm:_n(withConfirm)})),In=Symbol("modalHolderKey");return[Pn.value,()=>createVNode(ElementsHolder,{key:In,ref:$n},null)]}function modalWarn($n){return confirm(withWarn($n))}Modal.useModal=useModal;Modal.info=function(Cn){return confirm(withInfo(Cn))};Modal.success=function(Cn){return confirm(withSuccess(Cn))};Modal.error=function(Cn){return confirm(withError(Cn))};Modal.warning=modalWarn;Modal.warn=modalWarn;Modal.confirm=function(Cn){return confirm(withConfirm(Cn))};Modal.destroyAll=function(){for(;destroyFns.length;){const Cn=destroyFns.pop();Cn&&Cn()}};Modal.install=function($n){return $n.component(Modal.name,Modal),$n};const StatisticNumber=$n=>{const{value:Cn,formatter:_n,precision:Pn,decimalSeparator:In,groupSeparator:Nn="",prefixCls:Rn}=$n;let Dn;if(typeof _n=="function")Dn=_n({value:Cn});else{const Ln=String(Cn),Fn=Ln.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Fn)Dn=Ln;else{const Bn=Fn[1];let Hn=Fn[2]||"0",zn=Fn[4]||"";Hn=Hn.replace(/\B(?=(\d{3})+(?!\d))/g,Nn),typeof Pn=="number"&&(zn=zn.padEnd(Pn,"0").slice(0,Pn>0?Pn:0)),zn&&(zn=`${In}${zn}`),Dn=[createVNode("span",{key:"int",class:`${Rn}-content-value-int`},[Bn,Hn]),zn&&createVNode("span",{key:"decimal",class:`${Rn}-content-value-decimal`},[zn])]}}return createVNode("span",{class:`${Rn}-content-value`},[Dn])};StatisticNumber.displayName="StatisticNumber";const StatisticNumber$1=StatisticNumber,genStatisticStyle=$n=>{const{componentCls:Cn,marginXXS:_n,padding:Pn,colorTextDescription:In,statisticTitleFontSize:Nn,colorTextHeading:Rn,statisticContentFontSize:Dn,statisticFontFamily:Ln}=$n;return{[`${Cn}`]:_extends$1(_extends$1({},resetComponent($n)),{[`${Cn}-title`]:{marginBottom:_n,color:In,fontSize:Nn},[`${Cn}-skeleton`]:{paddingTop:Pn},[`${Cn}-content`]:{color:Rn,fontSize:Dn,fontFamily:Ln,[`${Cn}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Cn}-content-prefix, ${Cn}-content-suffix`]:{display:"inline-block"},[`${Cn}-content-prefix`]:{marginInlineEnd:_n},[`${Cn}-content-suffix`]:{marginInlineStart:_n}}})}},useStyle$i=genComponentStyleHook("Statistic",$n=>{const{fontSizeHeading3:Cn,fontSize:_n,fontFamily:Pn}=$n,In=merge$1($n,{statisticTitleFontSize:_n,statisticContentFontSize:Cn,statisticFontFamily:Pn});return[genStatisticStyle(In)]}),statisticProps=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:someType([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:functionType(),formatter:anyType(),precision:Number,prefix:vNodeType(),suffix:vNodeType(),title:vNodeType(),loading:booleanType()}),Statistic=defineComponent({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:initDefaultProps(statisticProps(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("statistic",$n),[Rn,Dn]=useStyle$i(In);return()=>{var Ln,Fn,Bn,Hn,zn,Wn,Yn;const{value:Gn=0,valueStyle:Go,valueRender:Xn}=$n,Yo=In.value,qo=(Ln=$n.title)!==null&&Ln!==void 0?Ln:(Fn=_n.title)===null||Fn===void 0?void 0:Fn.call(_n),Jo=(Bn=$n.prefix)!==null&&Bn!==void 0?Bn:(Hn=_n.prefix)===null||Hn===void 0?void 0:Hn.call(_n),Zo=(zn=$n.suffix)!==null&&zn!==void 0?zn:(Wn=_n.suffix)===null||Wn===void 0?void 0:Wn.call(_n),rr=(Yn=$n.formatter)!==null&&Yn!==void 0?Yn:_n.formatter;let nr=createVNode(StatisticNumber$1,_objectSpread2$1({"data-for-update":Date.now()},_extends$1(_extends$1({},$n),{prefixCls:Yo,value:Gn,formatter:rr})),null);return Xn&&(nr=Xn(nr)),Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Yo,{[`${Yo}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value]}),[qo&&createVNode("div",{class:`${Yo}-title`},[qo]),createVNode(Skeleton$1,{paragraph:!1,loading:$n.loading},{default:()=>[createVNode("div",{style:Go,class:`${Yo}-content`},[Jo&&createVNode("span",{class:`${Yo}-content-prefix`},[Jo]),nr,Zo&&createVNode("span",{class:`${Yo}-content-suffix`},[Zo])])]})]))}}}),timeUnits=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function formatTimeStr($n,Cn){let _n=$n;const Pn=/\[[^\]]*]/g,In=(Cn.match(Pn)||[]).map(Ln=>Ln.slice(1,-1)),Nn=Cn.replace(Pn,"[]"),Rn=timeUnits.reduce((Ln,Fn)=>{let[Bn,Hn]=Fn;if(Ln.includes(Bn)){const zn=Math.floor(_n/Hn);return _n-=zn*Hn,Ln.replace(new RegExp(`${Bn}+`,"g"),Wn=>{const Yn=Wn.length;return zn.toString().padStart(Yn,"0")})}return Ln},Nn);let Dn=0;return Rn.replace(Pn,()=>{const Ln=In[Dn];return Dn+=1,Ln})}function formatCountdown($n,Cn){const{format:_n=""}=Cn,Pn=new Date($n).getTime(),In=Date.now(),Nn=Math.max(Pn-In,0);return formatTimeStr(Nn,_n)}const REFRESH_INTERVAL=1e3/30;function getTime($n){return new Date($n).getTime()}const countdownProps=()=>_extends$1(_extends$1({},statisticProps()),{value:someType([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),Countdown=defineComponent({compatConfig:{MODE:3},name:"AStatisticCountdown",props:initDefaultProps(countdownProps(),{format:"HH:mm:ss"}),setup($n,Cn){let{emit:_n,slots:Pn}=Cn;const In=ref(),Nn=ref(),Rn=()=>{const{value:Hn}=$n;getTime(Hn)>=Date.now()?Dn():Ln()},Dn=()=>{if(In.value)return;const Hn=getTime($n.value);In.value=setInterval(()=>{Nn.value.$forceUpdate(),Hn>Date.now()&&_n("change",Hn-Date.now()),Rn()},REFRESH_INTERVAL)},Ln=()=>{const{value:Hn}=$n;In.value&&(clearInterval(In.value),In.value=void 0,getTime(Hn)<Date.now()&&_n("finish"))},Fn=Hn=>{let{value:zn,config:Wn}=Hn;const{format:Yn}=$n;return formatCountdown(zn,_extends$1(_extends$1({},Wn),{format:Yn}))},Bn=Hn=>Hn;return onMounted(()=>{Rn()}),onUpdated(()=>{Rn()}),onBeforeUnmount(()=>{Ln()}),()=>{const Hn=$n.value;return createVNode(Statistic,_objectSpread2$1({ref:Nn},_extends$1(_extends$1({},omit$1($n,["onFinish","onChange"])),{value:Hn,valueRender:Bn,formatter:Fn})),Pn)}}});Statistic.Countdown=Countdown;Statistic.install=function($n){return $n.component(Statistic.name,Statistic),$n.component(Statistic.Countdown.name,Statistic.Countdown),$n};const StatisticCountdown=Statistic.Countdown;var ArrowLeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const ArrowLeftOutlinedSvg=ArrowLeftOutlined$2;function _objectSpread$l($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$l($n,In,_n[In])})}return $n}function _defineProperty$l($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ArrowLeftOutlined=function(Cn,_n){var Pn=_objectSpread$l({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$l({},Pn,{icon:ArrowLeftOutlinedSvg}),null)};ArrowLeftOutlined.displayName="ArrowLeftOutlined";ArrowLeftOutlined.inheritAttrs=!1;const ArrowLeftOutlined$1=ArrowLeftOutlined;var ArrowRightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const ArrowRightOutlinedSvg=ArrowRightOutlined$2;function _objectSpread$k($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$k($n,In,_n[In])})}return $n}function _defineProperty$k($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ArrowRightOutlined=function(Cn,_n){var Pn=_objectSpread$k({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$k({},Pn,{icon:ArrowRightOutlinedSvg}),null)};ArrowRightOutlined.displayName="ArrowRightOutlined";ArrowRightOutlined.inheritAttrs=!1;const ArrowRightOutlined$1=ArrowRightOutlined;var __rest$q=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const inlineStyle={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},TransButton=defineComponent({compatConfig:{MODE:3},name:"TransButton",inheritAttrs:!1,props:{noStyle:{type:Boolean,default:void 0},onClick:Function,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0}},setup($n,Cn){let{slots:_n,emit:Pn,attrs:In,expose:Nn}=Cn;const Rn=shallowRef(),Dn=zn=>{const{keyCode:Wn}=zn;Wn===KeyCode$1.ENTER&&zn.preventDefault()},Ln=zn=>{const{keyCode:Wn}=zn;Wn===KeyCode$1.ENTER&&Pn("click",zn)},Fn=zn=>{Pn("click",zn)},Bn=()=>{Rn.value&&Rn.value.focus()},Hn=()=>{Rn.value&&Rn.value.blur()};return onMounted(()=>{$n.autofocus&&Bn()}),Nn({focus:Bn,blur:Hn}),()=>{var zn;const{noStyle:Wn,disabled:Yn}=$n,Gn=__rest$q($n,["noStyle","disabled"]);let Go={};return Wn||(Go=_extends$1({},inlineStyle)),Yn&&(Go.pointerEvents="none"),createVNode("div",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({role:"button",tabindex:0,ref:Rn},Gn),In),{},{onClick:Fn,onKeydown:Dn,onKeyup:Ln,style:_extends$1(_extends$1({},Go),In.style||{})}),[(zn=_n.default)===null||zn===void 0?void 0:zn.call(_n)])}}}),TransButton$1=TransButton,spaceSize={small:8,middle:16,large:24},spaceProps=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:PropTypes.oneOf(tuple$1("horizontal","vertical")).def("horizontal"),align:PropTypes.oneOf(tuple$1("start","end","center","baseline")),wrap:booleanType()});function getNumberSize($n){return typeof $n=="string"?spaceSize[$n]:$n||0}const Space=defineComponent({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:spaceProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,space:Nn,direction:Rn}=useConfigInject("space",$n),[Dn,Ln]=useStyle$W(In),Fn=useFlexGapSupport(),Bn=computed(()=>{var Xn,Yo,qo;return(qo=(Xn=$n.size)!==null&&Xn!==void 0?Xn:(Yo=Nn==null?void 0:Nn.value)===null||Yo===void 0?void 0:Yo.size)!==null&&qo!==void 0?qo:"small"}),Hn=ref(),zn=ref();watch(Bn,()=>{[Hn.value,zn.value]=(Array.isArray(Bn.value)?Bn.value:[Bn.value,Bn.value]).map(Xn=>getNumberSize(Xn))},{immediate:!0});const Wn=computed(()=>$n.align===void 0&&$n.direction==="horizontal"?"center":$n.align),Yn=computed(()=>classNames(In.value,Ln.value,`${In.value}-${$n.direction}`,{[`${In.value}-rtl`]:Rn.value==="rtl",[`${In.value}-align-${Wn.value}`]:Wn.value})),Gn=computed(()=>Rn.value==="rtl"?"marginLeft":"marginRight"),Go=computed(()=>{const Xn={};return Fn.value&&(Xn.columnGap=`${Hn.value}px`,Xn.rowGap=`${zn.value}px`),_extends$1(_extends$1({},Xn),$n.wrap&&{flexWrap:"wrap",marginBottom:`${-zn.value}px`})});return()=>{var Xn,Yo;const{wrap:qo,direction:Jo="horizontal"}=$n,Zo=(Xn=_n.default)===null||Xn===void 0?void 0:Xn.call(_n),rr=filterEmpty(Zo),nr=rr.length;if(nr===0)return null;const ta=(Yo=_n.split)===null||Yo===void 0?void 0:Yo.call(_n),oa=`${In.value}-item`,ra=Hn.value,ea=nr-1;return createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Yn.value,Pn.class],style:[Go.value,Pn.style]}),[rr.map((la,ua)=>{let ga=Zo.indexOf(la);ga===-1&&(ga=`$$space-${ua}`);let aa={};return Fn.value||(Jo==="vertical"?ua<ea&&(aa={marginBottom:`${ra/(ta?2:1)}px`}):aa=_extends$1(_extends$1({},ua<ea&&{[Gn.value]:`${ra/(ta?2:1)}px`}),qo&&{paddingBottom:`${zn.value}px`})),Dn(createVNode(Fragment,{key:ga},[createVNode("div",{class:oa,style:aa},[la]),ua<ea&&ta&&createVNode("span",{class:`${oa}-split`,style:aa},[ta])]))})])}}});Space.Compact=Compact$1;Space.install=function($n){return $n.component(Space.name,Space),$n.component(Compact$1.name,Compact$1),$n};const Space$1=Space,genPageHeaderStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",padding:`${$n.pageHeaderPaddingVertical}px ${$n.pageHeaderPadding}px`,backgroundColor:$n.colorBgContainer,[`&${Cn}-ghost`]:{backgroundColor:$n.pageHeaderGhostBg},"&.has-footer":{paddingBottom:0},[`${Cn}-back`]:{marginRight:$n.marginMD,fontSize:$n.fontSizeLG,lineHeight:1,"&-button":_extends$1(_extends$1({},operationUnit($n)),{color:$n.pageHeaderBackColor,cursor:"pointer"})},[`${_n}-divider-vertical`]:{height:"14px",margin:`0 ${$n.marginSM}`,verticalAlign:"middle"},[`${_n}-breadcrumb + &-heading`]:{marginTop:$n.marginXS},[`${Cn}-heading`]:{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",margin:`${$n.marginXS/2}px 0`,overflow:"hidden"},"&-title":_extends$1({marginRight:$n.marginSM,marginBottom:0,color:$n.colorTextHeading,fontWeight:600,fontSize:$n.pageHeaderHeadingTitle,lineHeight:`${$n.controlHeight}px`},textEllipsis),[`${_n}-avatar`]:{marginRight:$n.marginSM},"&-sub-title":_extends$1({marginRight:$n.marginSM,color:$n.colorTextDescription,fontSize:$n.pageHeaderHeadingSubTitle,lineHeight:$n.lineHeight},textEllipsis),"&-extra":{margin:`${$n.marginXS/2}px 0`,whiteSpace:"nowrap","> *":{marginLeft:$n.marginSM,whiteSpace:"unset"},"> *:first-child":{marginLeft:0}}},[`${Cn}-content`]:{paddingTop:$n.pageHeaderContentPaddingVertical},[`${Cn}-footer`]:{marginTop:$n.marginMD,[`${_n}-tabs`]:{[`> ${_n}-tabs-nav`]:{margin:0,"&::before":{border:"none"}},[`${_n}-tabs-tab`]:{paddingTop:$n.paddingXS,paddingBottom:$n.paddingXS,fontSize:$n.pageHeaderTabFontSize}}},[`${Cn}-compact ${Cn}-heading`]:{flexWrap:"wrap"},[`&${$n.componentCls}-rtl`]:{direction:"rtl"}})}},useStyle$h=genComponentStyleHook("PageHeader",$n=>{const Cn=merge$1($n,{pageHeaderPadding:$n.paddingLG,pageHeaderPaddingVertical:$n.paddingMD,pageHeaderPaddingBreadcrumb:$n.paddingSM,pageHeaderContentPaddingVertical:$n.paddingSM,pageHeaderBackColor:$n.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:$n.fontSizeHeading4,pageHeaderHeadingSubTitle:$n.fontSize,pageHeaderTabFontSize:$n.fontSizeLG});return[genPageHeaderStyle(Cn)]}),pageHeaderProps=()=>({backIcon:vNodeType(),prefixCls:String,title:vNodeType(),subTitle:vNodeType(),breadcrumb:PropTypes.object,tags:vNodeType(),footer:vNodeType(),extra:vNodeType(),avatar:objectType(),ghost:{type:Boolean,default:void 0},onBack:Function}),PageHeader=defineComponent({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:pageHeaderProps(),slots:Object,setup($n,Cn){let{emit:_n,slots:Pn,attrs:In}=Cn;const{prefixCls:Nn,direction:Rn,pageHeader:Dn}=useConfigInject("page-header",$n),[Ln,Fn]=useStyle$h(Nn),Bn=shallowRef(!1),Hn=useDestroyed(),zn=Jo=>{let{width:Zo}=Jo;Hn.value||(Bn.value=Zo<768)},Wn=computed(()=>{var Jo,Zo,rr;return(rr=(Jo=$n.ghost)!==null&&Jo!==void 0?Jo:(Zo=Dn==null?void 0:Dn.value)===null||Zo===void 0?void 0:Zo.ghost)!==null&&rr!==void 0?rr:!0}),Yn=()=>{var Jo,Zo,rr;return(rr=(Jo=$n.backIcon)!==null&&Jo!==void 0?Jo:(Zo=Pn.backIcon)===null||Zo===void 0?void 0:Zo.call(Pn))!==null&&rr!==void 0?rr:Rn.value==="rtl"?createVNode(ArrowRightOutlined$1,null,null):createVNode(ArrowLeftOutlined$1,null,null)},Gn=Jo=>!Jo||!$n.onBack?null:createVNode(LocaleReceiver,{componentName:"PageHeader",children:Zo=>{let{back:rr}=Zo;return createVNode("div",{class:`${Nn.value}-back`},[createVNode(TransButton$1,{onClick:nr=>{_n("back",nr)},class:`${Nn.value}-back-button`,"aria-label":rr},{default:()=>[Jo]})])}},null),Go=()=>{var Jo;return $n.breadcrumb?createVNode(Breadcrumb,$n.breadcrumb,null):(Jo=Pn.breadcrumb)===null||Jo===void 0?void 0:Jo.call(Pn)},Xn=()=>{var Jo,Zo,rr,nr,ta,oa,ra,ea,la;const{avatar:ua}=$n,ga=(Jo=$n.title)!==null&&Jo!==void 0?Jo:(Zo=Pn.title)===null||Zo===void 0?void 0:Zo.call(Pn),aa=(rr=$n.subTitle)!==null&&rr!==void 0?rr:(nr=Pn.subTitle)===null||nr===void 0?void 0:nr.call(Pn),ca=(ta=$n.tags)!==null&&ta!==void 0?ta:(oa=Pn.tags)===null||oa===void 0?void 0:oa.call(Pn),sa=(ra=$n.extra)!==null&&ra!==void 0?ra:(ea=Pn.extra)===null||ea===void 0?void 0:ea.call(Pn),ia=`${Nn.value}-heading`,fa=ga||aa||ca||sa;if(!fa)return null;const ma=Yn(),ya=Gn(ma);return createVNode("div",{class:ia},[(ya||ua||fa)&&createVNode("div",{class:`${ia}-left`},[ya,ua?createVNode(Avatar$1,ua,null):(la=Pn.avatar)===null||la===void 0?void 0:la.call(Pn),ga&&createVNode("span",{class:`${ia}-title`,title:typeof ga=="string"?ga:void 0},[ga]),aa&&createVNode("span",{class:`${ia}-sub-title`,title:typeof aa=="string"?aa:void 0},[aa]),ca&&createVNode("span",{class:`${ia}-tags`},[ca])]),sa&&createVNode("span",{class:`${ia}-extra`},[createVNode(Space$1,null,{default:()=>[sa]})])])},Yo=()=>{var Jo,Zo;const rr=(Jo=$n.footer)!==null&&Jo!==void 0?Jo:filterEmpty((Zo=Pn.footer)===null||Zo===void 0?void 0:Zo.call(Pn));return isEmptyContent(rr)?null:createVNode("div",{class:`${Nn.value}-footer`},[rr])},qo=Jo=>createVNode("div",{class:`${Nn.value}-content`},[Jo]);return()=>{var Jo,Zo;const rr=((Jo=$n.breadcrumb)===null||Jo===void 0?void 0:Jo.routes)||Pn.breadcrumb,nr=$n.footer||Pn.footer,ta=flattenChildren((Zo=Pn.default)===null||Zo===void 0?void 0:Zo.call(Pn)),oa=classNames(Nn.value,{"has-breadcrumb":rr,"has-footer":nr,[`${Nn.value}-ghost`]:Wn.value,[`${Nn.value}-rtl`]:Rn.value==="rtl",[`${Nn.value}-compact`]:Bn.value},In.class,Fn.value);return Ln(createVNode(ResizeObserver$1,{onResize:zn},{default:()=>[createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{class:oa}),[Go(),Xn(),ta.length?qo(ta):null,Yo()])]}))}}}),index$g=withInstall(PageHeader),genBaseStyle$8=$n=>{const{componentCls:Cn,iconCls:_n,zIndexPopup:Pn,colorText:In,colorWarning:Nn,marginXS:Rn,fontSize:Dn,fontWeightStrong:Ln,lineHeight:Fn}=$n;return{[Cn]:{zIndex:Pn,[`${Cn}-inner-content`]:{color:In},[`${Cn}-message`]:{position:"relative",marginBottom:Rn,color:In,fontSize:Dn,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Cn}-message-icon ${_n}`]:{color:Nn,fontSize:Dn,flex:"none",lineHeight:1,paddingTop:(Math.round(Dn*Fn)-Dn)/2},"&-title":{flex:"auto",marginInlineStart:Rn},"&-title-only":{fontWeight:Ln}},[`${Cn}-description`]:{position:"relative",marginInlineStart:Dn+Rn,marginBottom:Rn,color:In,fontSize:Dn},[`${Cn}-buttons`]:{textAlign:"end",button:{marginInlineStart:Rn}}}}},usePopconfirmStyle=genComponentStyleHook("Popconfirm",$n=>genBaseStyle$8($n),$n=>{const{zIndexPopupBase:Cn}=$n;return{zIndexPopup:Cn+60}});var __rest$p=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const popconfirmProps=()=>_extends$1(_extends$1({},abstractTooltipProps()),{prefixCls:String,content:anyType(),title:anyType(),description:anyType(),okType:stringType("primary"),disabled:{type:Boolean,default:!1},okText:anyType(),cancelText:anyType(),icon:anyType(),okButtonProps:objectType(),cancelButtonProps:objectType(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),Popconfirm=defineComponent({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:initDefaultProps(popconfirmProps(),_extends$1(_extends$1({},tooltipDefaultProps()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup($n,Cn){let{slots:_n,emit:Pn,expose:In,attrs:Nn}=Cn;const Rn=ref();warning$3($n.visible===void 0),In({getPopupDomNode:()=>{var rr,nr;return(nr=(rr=Rn.value)===null||rr===void 0?void 0:rr.getPopupDomNode)===null||nr===void 0?void 0:nr.call(rr)}});const[Dn,Ln]=useMergedState(!1,{value:toRef($n,"open")}),Fn=(rr,nr)=>{$n.open===void 0&&Ln(rr),Pn("update:open",rr),Pn("openChange",rr,nr)},Bn=rr=>{Fn(!1,rr)},Hn=rr=>{var nr;return(nr=$n.onConfirm)===null||nr===void 0?void 0:nr.call($n,rr)},zn=rr=>{var nr;Fn(!1,rr),(nr=$n.onCancel)===null||nr===void 0||nr.call($n,rr)},Wn=rr=>{rr.keyCode===KeyCode$1.ESC&&Dn&&Fn(!1,rr)},Yn=rr=>{const{disabled:nr}=$n;nr||Fn(rr)},{prefixCls:Gn,getPrefixCls:Go}=useConfigInject("popconfirm",$n),Xn=computed(()=>Go()),Yo=computed(()=>Go("btn")),[qo]=usePopconfirmStyle(Gn),[Jo]=useLocaleReceiver("Popconfirm",localeValues$1.Popconfirm),Zo=()=>{var rr,nr,ta,oa,ra;const{okButtonProps:ea,cancelButtonProps:la,title:ua=(rr=_n.title)===null||rr===void 0?void 0:rr.call(_n),description:ga=(nr=_n.description)===null||nr===void 0?void 0:nr.call(_n),cancelText:aa=(ta=_n.cancel)===null||ta===void 0?void 0:ta.call(_n),okText:ca=(oa=_n.okText)===null||oa===void 0?void 0:oa.call(_n),okType:sa,icon:ia=((ra=_n.icon)===null||ra===void 0?void 0:ra.call(_n))||createVNode(ExclamationCircleFilled$1,null,null),showCancel:fa=!0}=$n,{cancelButton:ma,okButton:ya}=_n,ba=_extends$1({onClick:zn,size:"small"},la),Ia=_extends$1(_extends$1(_extends$1({onClick:Hn},convertLegacyProps(sa)),{size:"small"}),ea);return createVNode("div",{class:`${Gn.value}-inner-content`},[createVNode("div",{class:`${Gn.value}-message`},[ia&&createVNode("span",{class:`${Gn.value}-message-icon`},[ia]),createVNode("div",{class:[`${Gn.value}-message-title`,{[`${Gn.value}-message-title-only`]:!!ga}]},[ua])]),ga&&createVNode("div",{class:`${Gn.value}-description`},[ga]),createVNode("div",{class:`${Gn.value}-buttons`},[fa?ma?ma(ba):createVNode(Button$1,ba,{default:()=>[aa||Jo.value.cancelText]}):null,ya?ya(Ia):createVNode(ActionButton,{buttonProps:_extends$1(_extends$1({size:"small"},convertLegacyProps(sa)),ea),actionFn:Hn,close:Bn,prefixCls:Yo.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[ca||Jo.value.okText]})])])};return()=>{var rr;const{placement:nr,overlayClassName:ta,trigger:oa="click"}=$n,ra=__rest$p($n,["placement","overlayClassName","trigger"]),ea=omit$1(ra,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),la=classNames(Gn.value,ta);return qo(createVNode(Popover$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},ea),Nn),{},{trigger:oa,placement:nr,onOpenChange:Yn,open:Dn.value,overlayClassName:la,transitionName:getTransitionName$1(Xn.value,"zoom-big",$n.transitionName),ref:Rn,"data-popover-inject":!0}),{default:()=>[cloneVNodes(((rr=_n.default)===null||rr===void 0?void 0:rr.call(_n))||[],{onKeydown:ua=>{Wn(ua)}},!1)],content:Zo}))}}}),index$f=withInstall(Popconfirm),progressStatuses=["normal","exception","active","success"],progressProps=()=>({prefixCls:String,type:stringType(),percent:Number,format:functionType(),status:stringType(),showInfo:booleanType(),strokeWidth:Number,strokeLinecap:stringType(),strokeColor:anyType(),trailColor:String,width:Number,success:objectType(),gapDegree:Number,gapPosition:stringType(),size:someType([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:stringType()});function validProgress($n){return!$n||$n<0?0:$n>100?100:$n}function getSuccessPercent($n){let{success:Cn,successPercent:_n}=$n,Pn=_n;return Cn&&"progress"in Cn&&(devWarning(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Pn=Cn.progress),Cn&&"percent"in Cn&&(Pn=Cn.percent),Pn}function getPercentage($n){let{percent:Cn,success:_n,successPercent:Pn}=$n;const In=validProgress(getSuccessPercent({success:_n,successPercent:Pn}));return[In,validProgress(validProgress(Cn)-In)]}function getStrokeColor($n){let{success:Cn={},strokeColor:_n}=$n;const{strokeColor:Pn}=Cn;return[Pn||presetPrimaryColors.green,_n||null]}const getSize=($n,Cn,_n)=>{var Pn,In,Nn,Rn;let Dn=-1,Ln=-1;if(Cn==="step"){const Fn=_n.steps,Bn=_n.strokeWidth;typeof $n=="string"||typeof $n>"u"?(Dn=$n==="small"?2:14,Ln=Bn??8):typeof $n=="number"?[Dn,Ln]=[$n,$n]:[Dn=14,Ln=8]=$n,Dn*=Fn}else if(Cn==="line"){const Fn=_n==null?void 0:_n.strokeWidth;typeof $n=="string"||typeof $n>"u"?Ln=Fn||($n==="small"?6:8):typeof $n=="number"?[Dn,Ln]=[$n,$n]:[Dn=-1,Ln=8]=$n}else(Cn==="circle"||Cn==="dashboard")&&(typeof $n=="string"||typeof $n>"u"?[Dn,Ln]=$n==="small"?[60,60]:[120,120]:typeof $n=="number"?[Dn,Ln]=[$n,$n]:(Dn=(In=(Pn=$n[0])!==null&&Pn!==void 0?Pn:$n[1])!==null&&In!==void 0?In:120,Ln=(Rn=(Nn=$n[0])!==null&&Nn!==void 0?Nn:$n[1])!==null&&Rn!==void 0?Rn:120));return{width:Dn,height:Ln}};var __rest$o=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const lineProps=()=>_extends$1(_extends$1({},progressProps()),{strokeColor:anyType(),direction:stringType()}),sortGradient=$n=>{let Cn=[];return Object.keys($n).forEach(_n=>{const Pn=parseFloat(_n.replace(/%/g,""));isNaN(Pn)||Cn.push({key:Pn,value:$n[_n]})}),Cn=Cn.sort((_n,Pn)=>_n.key-Pn.key),Cn.map(_n=>{let{key:Pn,value:In}=_n;return`${In} ${Pn}%`}).join(", ")},handleGradient=($n,Cn)=>{const{from:_n=presetPrimaryColors.blue,to:Pn=presetPrimaryColors.blue,direction:In=Cn==="rtl"?"to left":"to right"}=$n,Nn=__rest$o($n,["from","to","direction"]);if(Object.keys(Nn).length!==0){const Rn=sortGradient(Nn);return{backgroundImage:`linear-gradient(${In}, ${Rn})`}}return{backgroundImage:`linear-gradient(${In}, ${_n}, ${Pn})`}},Line=defineComponent({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:lineProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=computed(()=>{const{strokeColor:Wn,direction:Yn}=$n;return Wn&&typeof Wn!="string"?handleGradient(Wn,Yn):{backgroundColor:Wn}}),Nn=computed(()=>$n.strokeLinecap==="square"||$n.strokeLinecap==="butt"?0:void 0),Rn=computed(()=>$n.trailColor?{backgroundColor:$n.trailColor}:void 0),Dn=computed(()=>{var Wn;return(Wn=$n.size)!==null&&Wn!==void 0?Wn:[-1,$n.strokeWidth||($n.size==="small"?6:8)]}),Ln=computed(()=>getSize(Dn.value,"line",{strokeWidth:$n.strokeWidth})),Fn=computed(()=>{const{percent:Wn}=$n;return _extends$1({width:`${validProgress(Wn)}%`,height:`${Ln.value.height}px`,borderRadius:Nn.value},In.value)}),Bn=computed(()=>getSuccessPercent($n)),Hn=computed(()=>{const{success:Wn}=$n;return{width:`${validProgress(Bn.value)}%`,height:`${Ln.value.height}px`,borderRadius:Nn.value,backgroundColor:Wn==null?void 0:Wn.strokeColor}}),zn={width:Ln.value.width<0?"100%":Ln.value.width,height:`${Ln.value.height}px`};return()=>{var Wn;return createVNode(Fragment,null,[createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[`${$n.prefixCls}-outer`,Pn.class],style:[Pn.style,zn]}),[createVNode("div",{class:`${$n.prefixCls}-inner`,style:Rn.value},[createVNode("div",{class:`${$n.prefixCls}-bg`,style:Fn.value},null),Bn.value!==void 0?createVNode("div",{class:`${$n.prefixCls}-success-bg`,style:Hn.value},null):null])]),(Wn=_n.default)===null||Wn===void 0?void 0:Wn.call(_n)])}}}),defaultProps={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},useTransitionDuration=$n=>{const Cn=ref(null);return onUpdated(()=>{const _n=Date.now();let Pn=!1;$n.value.forEach(In=>{const Nn=(In==null?void 0:In.$el)||In;if(!Nn)return;Pn=!0;const Rn=Nn.style;Rn.transitionDuration=".3s, .3s, .3s, .06s",Cn.value&&_n-Cn.value<100&&(Rn.transitionDuration="0s, 0s")}),Pn&&(Cn.value=Date.now())}),$n},propTypes={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var __rest$n=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};let gradientSeed=0;function stripPercentToNumber($n){return+$n.replace("%","")}function toArray$2($n){return Array.isArray($n)?$n:[$n]}function getPathStyles($n,Cn,_n,Pn){let In=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Nn=arguments.length>5?arguments[5]:void 0;const Rn=50-Pn/2;let Dn=0,Ln=-Rn,Fn=0,Bn=-2*Rn;switch(Nn){case"left":Dn=-Rn,Ln=0,Fn=2*Rn,Bn=0;break;case"right":Dn=Rn,Ln=0,Fn=-2*Rn,Bn=0;break;case"bottom":Ln=Rn,Bn=2*Rn;break}const Hn=`M 50,50 m ${Dn},${Ln}
- a ${Rn},${Rn} 0 1 1 ${Fn},${-Bn}
- a ${Rn},${Rn} 0 1 1 ${-Fn},${Bn}`,zn=Math.PI*2*Rn,Wn={stroke:_n,strokeDasharray:`${Cn/100*(zn-In)}px ${zn}px`,strokeDashoffset:`-${In/2+$n/100*(zn-In)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:Hn,pathStyle:Wn}}const VCCircle=defineComponent({compatConfig:{MODE:3},name:"VCCircle",props:initDefaultProps(propTypes,defaultProps),setup($n){gradientSeed+=1;const Cn=ref(gradientSeed),_n=computed(()=>toArray$2($n.percent)),Pn=computed(()=>toArray$2($n.strokeColor)),[In,Nn]=useRefs();useTransitionDuration(Nn);const Rn=()=>{const{prefixCls:Dn,strokeWidth:Ln,strokeLinecap:Fn,gapDegree:Bn,gapPosition:Hn}=$n;let zn=0;return _n.value.map((Wn,Yn)=>{const Gn=Pn.value[Yn]||Pn.value[Pn.value.length-1],Go=Object.prototype.toString.call(Gn)==="[object Object]"?`url(#${Dn}-gradient-${Cn.value})`:"",{pathString:Xn,pathStyle:Yo}=getPathStyles(zn,Wn,Gn,Ln,Bn,Hn);zn+=Wn;const qo={key:Yn,d:Xn,stroke:Go,"stroke-linecap":Fn,"stroke-width":Ln,opacity:Wn===0?0:1,"fill-opacity":"0",class:`${Dn}-circle-path`,style:Yo};return createVNode("path",_objectSpread2$1({ref:In(Yn)},qo),null)})};return()=>{const{prefixCls:Dn,strokeWidth:Ln,trailWidth:Fn,gapDegree:Bn,gapPosition:Hn,trailColor:zn,strokeLinecap:Wn,strokeColor:Yn}=$n,Gn=__rest$n($n,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:Go,pathStyle:Xn}=getPathStyles(0,100,zn,Ln,Bn,Hn);delete Gn.percent;const Yo=Pn.value.find(Jo=>Object.prototype.toString.call(Jo)==="[object Object]"),qo={d:Go,stroke:zn,"stroke-linecap":Wn,"stroke-width":Fn||Ln,"fill-opacity":"0",class:`${Dn}-circle-trail`,style:Xn};return createVNode("svg",_objectSpread2$1({class:`${Dn}-circle`,viewBox:"0 0 100 100"},Gn),[Yo&&createVNode("defs",null,[createVNode("linearGradient",{id:`${Dn}-gradient-${Cn.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(Yo).sort((Jo,Zo)=>stripPercentToNumber(Jo)-stripPercentToNumber(Zo)).map((Jo,Zo)=>createVNode("stop",{key:Zo,offset:Jo,"stop-color":Yo[Jo]},null))])]),createVNode("path",qo,null),Rn().reverse()])}}}),circleProps=()=>_extends$1(_extends$1({},progressProps()),{strokeColor:anyType()}),CIRCLE_MIN_STROKE_WIDTH=3,getMinPercent=$n=>CIRCLE_MIN_STROKE_WIDTH/$n*100,Circle=defineComponent({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:initDefaultProps(circleProps(),{trailColor:null}),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=computed(()=>{var Gn;return(Gn=$n.width)!==null&&Gn!==void 0?Gn:120}),Nn=computed(()=>{var Gn;return(Gn=$n.size)!==null&&Gn!==void 0?Gn:[In.value,In.value]}),Rn=computed(()=>getSize(Nn.value,"circle")),Dn=computed(()=>{if($n.gapDegree||$n.gapDegree===0)return $n.gapDegree;if($n.type==="dashboard")return 75}),Ln=computed(()=>({width:`${Rn.value.width}px`,height:`${Rn.value.height}px`,fontSize:`${Rn.value.width*.15+6}px`})),Fn=computed(()=>{var Gn;return(Gn=$n.strokeWidth)!==null&&Gn!==void 0?Gn:Math.max(getMinPercent(Rn.value.width),6)}),Bn=computed(()=>$n.gapPosition||$n.type==="dashboard"&&"bottom"||void 0),Hn=computed(()=>getPercentage($n)),zn=computed(()=>Object.prototype.toString.call($n.strokeColor)==="[object Object]"),Wn=computed(()=>getStrokeColor({success:$n.success,strokeColor:$n.strokeColor})),Yn=computed(()=>({[`${$n.prefixCls}-inner`]:!0,[`${$n.prefixCls}-circle-gradient`]:zn.value}));return()=>{var Gn;const Go=createVNode(VCCircle,{percent:Hn.value,strokeWidth:Fn.value,trailWidth:Fn.value,strokeColor:Wn.value,strokeLinecap:$n.strokeLinecap,trailColor:$n.trailColor,prefixCls:$n.prefixCls,gapDegree:Dn.value,gapPosition:Bn.value},null);return createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Yn.value,Pn.class],style:[Pn.style,Ln.value]}),[Rn.value.width<=20?createVNode(Tooltip,null,{default:()=>[createVNode("span",null,[Go])],title:_n.default}):createVNode(Fragment,null,[Go,(Gn=_n.default)===null||Gn===void 0?void 0:Gn.call(_n)])])}}}),stepsProps$1=()=>_extends$1(_extends$1({},progressProps()),{steps:Number,strokeColor:someType(),trailColor:String}),Steps$4=defineComponent({compatConfig:{MODE:3},name:"Steps",props:stepsProps$1(),setup($n,Cn){let{slots:_n}=Cn;const Pn=computed(()=>Math.round($n.steps*(($n.percent||0)/100))),In=computed(()=>{var Dn;return(Dn=$n.size)!==null&&Dn!==void 0?Dn:[$n.size==="small"?2:14,$n.strokeWidth||8]}),Nn=computed(()=>getSize(In.value,"step",{steps:$n.steps,strokeWidth:$n.strokeWidth||8})),Rn=computed(()=>{const{steps:Dn,strokeColor:Ln,trailColor:Fn,prefixCls:Bn}=$n,Hn=[];for(let zn=0;zn<Dn;zn+=1){const Wn=Array.isArray(Ln)?Ln[zn]:Ln,Yn={[`${Bn}-steps-item`]:!0,[`${Bn}-steps-item-active`]:zn<=Pn.value-1};Hn.push(createVNode("div",{key:zn,class:Yn,style:{backgroundColor:zn<=Pn.value-1?Wn:Fn,width:`${Nn.value.width/Dn}px`,height:`${Nn.value.height}px`}},null))}return Hn});return()=>{var Dn;return createVNode("div",{class:`${$n.prefixCls}-steps-outer`},[Rn.value,(Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n)])}}}),antProgressActive=new Keyframes("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),genBaseStyle$7=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:$n.fontSize,marginInlineEnd:$n.marginXS,marginBottom:$n.marginXS},[`${Cn}-outer`]:{display:"inline-block",width:"100%"},[`&${Cn}-show-info`]:{[`${Cn}-outer`]:{marginInlineEnd:`calc(-2em - ${$n.marginXS}px)`,paddingInlineEnd:`calc(2em + ${$n.paddingXS}px)`}},[`${Cn}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:$n.progressRemainingColor,borderRadius:$n.progressLineRadius},[`${Cn}-inner:not(${Cn}-circle-gradient)`]:{[`${Cn}-circle-path`]:{stroke:$n.colorInfo}},[`${Cn}-success-bg, ${Cn}-bg`]:{position:"relative",backgroundColor:$n.colorInfo,borderRadius:$n.progressLineRadius,transition:`all ${$n.motionDurationSlow} ${$n.motionEaseInOutCirc}`},[`${Cn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:$n.colorSuccess},[`${Cn}-text`]:{display:"inline-block",width:"2em",marginInlineStart:$n.marginXS,color:$n.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[_n]:{fontSize:$n.fontSize}},[`&${Cn}-status-active`]:{[`${Cn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:$n.colorBgContainer,borderRadius:$n.progressLineRadius,opacity:0,animationName:antProgressActive,animationDuration:$n.progressActiveMotionDuration,animationTimingFunction:$n.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Cn}-status-exception`]:{[`${Cn}-bg`]:{backgroundColor:$n.colorError},[`${Cn}-text`]:{color:$n.colorError}},[`&${Cn}-status-exception ${Cn}-inner:not(${Cn}-circle-gradient)`]:{[`${Cn}-circle-path`]:{stroke:$n.colorError}},[`&${Cn}-status-success`]:{[`${Cn}-bg`]:{backgroundColor:$n.colorSuccess},[`${Cn}-text`]:{color:$n.colorSuccess}},[`&${Cn}-status-success ${Cn}-inner:not(${Cn}-circle-gradient)`]:{[`${Cn}-circle-path`]:{stroke:$n.colorSuccess}}})}},genCircleStyle=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[Cn]:{[`${Cn}-circle-trail`]:{stroke:$n.progressRemainingColor},[`&${Cn}-circle ${Cn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Cn}-circle ${Cn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:$n.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[_n]:{fontSize:`${$n.fontSize/$n.fontSizeSM}em`}},[`${Cn}-circle&-status-exception`]:{[`${Cn}-text`]:{color:$n.colorError}},[`${Cn}-circle&-status-success`]:{[`${Cn}-text`]:{color:$n.colorSuccess}}},[`${Cn}-inline-circle`]:{lineHeight:1,[`${Cn}-inner`]:{verticalAlign:"bottom"}}}},genStepStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{[`${Cn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:$n.progressStepMinWidth,marginInlineEnd:$n.progressStepMarginInlineEnd,backgroundColor:$n.progressRemainingColor,transition:`all ${$n.motionDurationSlow}`,"&-active":{backgroundColor:$n.colorInfo}}}}}},genSmallLine=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[Cn]:{[`${Cn}-small&-line, ${Cn}-small&-line ${Cn}-text ${_n}`]:{fontSize:$n.fontSizeSM}}}},useStyle$g=genComponentStyleHook("Progress",$n=>{const Cn=$n.marginXXS/2,_n=merge$1($n,{progressLineRadius:100,progressInfoTextColor:$n.colorText,progressDefaultColor:$n.colorInfo,progressRemainingColor:$n.colorFillSecondary,progressStepMarginInlineEnd:Cn,progressStepMinWidth:Cn,progressActiveMotionDuration:"2.4s"});return[genBaseStyle$7(_n),genCircleStyle(_n),genStepStyle(_n),genSmallLine(_n)]});var __rest$m=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Progress$1=defineComponent({compatConfig:{MODE:3},name:"AProgress",inheritAttrs:!1,props:initDefaultProps(progressProps(),{type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",strokeLinecap:"round"}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("progress",$n),[Rn,Dn]=useStyle$g(In),Ln=computed(()=>Array.isArray($n.strokeColor)?$n.strokeColor[0]:$n.strokeColor),Fn=computed(()=>{const{percent:Yn=0}=$n,Gn=getSuccessPercent($n);return parseInt(Gn!==void 0?Gn.toString():Yn.toString(),10)}),Bn=computed(()=>{const{status:Yn}=$n;return!progressStatuses.includes(Yn)&&Fn.value>=100?"success":Yn||"normal"}),Hn=computed(()=>{const{type:Yn,showInfo:Gn,size:Go}=$n,Xn=In.value;return{[Xn]:!0,[`${Xn}-inline-circle`]:Yn==="circle"&&getSize(Go,"circle").width<=20,[`${Xn}-${Yn==="dashboard"&&"circle"||Yn}`]:!0,[`${Xn}-status-${Bn.value}`]:!0,[`${Xn}-show-info`]:Gn,[`${Xn}-${Go}`]:Go,[`${Xn}-rtl`]:Nn.value==="rtl",[Dn.value]:!0}}),zn=computed(()=>typeof $n.strokeColor=="string"||Array.isArray($n.strokeColor)?$n.strokeColor:void 0),Wn=()=>{const{showInfo:Yn,format:Gn,type:Go,percent:Xn,title:Yo}=$n,qo=getSuccessPercent($n);if(!Yn)return null;let Jo;const Zo=Gn||(_n==null?void 0:_n.format)||(nr=>`${nr}%`),rr=Go==="line";return Gn||_n!=null&&_n.format||Bn.value!=="exception"&&Bn.value!=="success"?Jo=Zo(validProgress(Xn),validProgress(qo)):Bn.value==="exception"?Jo=createVNode(rr?CloseCircleFilled$1:CloseOutlined$1,null,null):Bn.value==="success"&&(Jo=createVNode(rr?CheckCircleFilled$1:CheckOutlined$1,null,null)),createVNode("span",{class:`${In.value}-text`,title:Yo===void 0&&typeof Jo=="string"?Jo:void 0},[Jo])};return()=>{const{type:Yn,steps:Gn,title:Go}=$n,{class:Xn}=Pn,Yo=__rest$m(Pn,["class"]),qo=Wn();let Jo;return Yn==="line"?Jo=Gn?createVNode(Steps$4,_objectSpread2$1(_objectSpread2$1({},$n),{},{strokeColor:zn.value,prefixCls:In.value,steps:Gn}),{default:()=>[qo]}):createVNode(Line,_objectSpread2$1(_objectSpread2$1({},$n),{},{strokeColor:Ln.value,prefixCls:In.value,direction:Nn.value}),{default:()=>[qo]}):(Yn==="circle"||Yn==="dashboard")&&(Jo=createVNode(Circle,_objectSpread2$1(_objectSpread2$1({},$n),{},{prefixCls:In.value,strokeColor:Ln.value,progressStatus:Bn.value}),{default:()=>[qo]})),Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({role:"progressbar"},Yo),{},{class:[Hn.value,Xn],title:Go}),[Jo]))}}}),Progress=withInstall(Progress$1);function getScroll($n){let Cn=$n.pageXOffset;const _n="scrollLeft";if(typeof Cn!="number"){const Pn=$n.document;Cn=Pn.documentElement[_n],typeof Cn!="number"&&(Cn=Pn.body[_n])}return Cn}function getClientPosition($n){let Cn,_n;const Pn=$n.ownerDocument,{body:In}=Pn,Nn=Pn&&Pn.documentElement,Rn=$n.getBoundingClientRect();return Cn=Rn.left,_n=Rn.top,Cn-=Nn.clientLeft||In.clientLeft||0,_n-=Nn.clientTop||In.clientTop||0,{left:Cn,top:_n}}function getOffsetLeft($n){const Cn=getClientPosition($n),_n=$n.ownerDocument,Pn=_n.defaultView||_n.parentWindow;return Cn.left+=getScroll(Pn),Cn.left}var StarFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const StarFilledSvg=StarFilled$2;function _objectSpread$j($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$j($n,In,_n[In])})}return $n}function _defineProperty$j($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var StarFilled=function(Cn,_n){var Pn=_objectSpread$j({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$j({},Pn,{icon:StarFilledSvg}),null)};StarFilled.displayName="StarFilled";StarFilled.inheritAttrs=!1;const StarFilled$1=StarFilled,starProps={value:Number,index:Number,prefixCls:String,allowHalf:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},character:PropTypes.any,characterRender:Function,focused:{type:Boolean,default:void 0},count:Number,onClick:Function,onHover:Function},Star=defineComponent({compatConfig:{MODE:3},name:"Star",inheritAttrs:!1,props:starProps,emits:["hover","click"],setup($n,Cn){let{emit:_n}=Cn;const Pn=Dn=>{const{index:Ln}=$n;_n("hover",Dn,Ln)},In=Dn=>{const{index:Ln}=$n;_n("click",Dn,Ln)},Nn=Dn=>{const{index:Ln}=$n;Dn.keyCode===13&&_n("click",Dn,Ln)},Rn=computed(()=>{const{prefixCls:Dn,index:Ln,value:Fn,allowHalf:Bn,focused:Hn}=$n,zn=Ln+1;let Wn=Dn;return Fn===0&&Ln===0&&Hn?Wn+=` ${Dn}-focused`:Bn&&Fn+.5>=zn&&Fn<zn?(Wn+=` ${Dn}-half ${Dn}-active`,Hn&&(Wn+=` ${Dn}-focused`)):(Wn+=zn<=Fn?` ${Dn}-full`:` ${Dn}-zero`,zn===Fn&&Hn&&(Wn+=` ${Dn}-focused`)),Wn});return()=>{const{disabled:Dn,prefixCls:Ln,characterRender:Fn,character:Bn,index:Hn,count:zn,value:Wn}=$n,Yn=typeof Bn=="function"?Bn({disabled:Dn,prefixCls:Ln,index:Hn,count:zn,value:Wn}):Bn;let Gn=createVNode("li",{class:Rn.value},[createVNode("div",{onClick:Dn?null:In,onKeydown:Dn?null:Nn,onMousemove:Dn?null:Pn,role:"radio","aria-checked":Wn>Hn?"true":"false","aria-posinset":Hn+1,"aria-setsize":zn,tabindex:Dn?-1:0},[createVNode("div",{class:`${Ln}-first`},[Yn]),createVNode("div",{class:`${Ln}-second`},[Yn])])]);return Fn&&(Gn=Fn(Gn,$n)),Gn}}}),genRateStarStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:$n.marginXS},"> div":{transition:`all ${$n.motionDurationMid}, outline 0s`,"&:hover":{transform:$n.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${$n.lineWidth}px dashed ${$n.rateStarColor}`,transform:$n.rateStarHoverScale}},"&-first, &-second":{color:$n.defaultColor,transition:`all ${$n.motionDurationMid}`,userSelect:"none",[$n.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Cn}-star-first, &-half ${Cn}-star-second`]:{opacity:1},[`&-half ${Cn}-star-first, &-full ${Cn}-star-second`]:{color:"inherit"}}}},genRateRtlStyle=$n=>({[`&-rtl${$n.componentCls}`]:{direction:"rtl"}}),genRateStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{display:"inline-block",margin:0,padding:0,color:$n.rateStarColor,fontSize:$n.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Cn} ${Cn}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),genRateStarStyle($n)),{[`+ ${Cn}-text`]:{display:"inline-block",marginInlineStart:$n.marginXS,fontSize:$n.fontSize}}),genRateRtlStyle($n))}},useStyle$f=genComponentStyleHook("Rate",$n=>{const{colorFillContent:Cn}=$n,_n=merge$1($n,{rateStarColor:$n["yellow-6"],rateStarSize:$n.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:Cn});return[genRateStyle(_n)]}),rateProps=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:PropTypes.any,autofocus:{type:Boolean,default:void 0},tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),Rate=defineComponent({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:initDefaultProps(rateProps(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup($n,Cn){let{slots:_n,attrs:Pn,emit:In,expose:Nn}=Cn;const{prefixCls:Rn,direction:Dn}=useConfigInject("rate",$n),[Ln,Fn]=useStyle$f(Rn),Bn=useInjectFormItemContext(),Hn=ref(),[zn,Wn]=useRefs(),Yn=reactive({value:$n.value,focused:!1,cleanedValue:null,hoverValue:void 0});watch(()=>$n.value,()=>{Yn.value=$n.value});const Gn=ea=>findDOMNode(Wn.value.get(ea)),Go=(ea,la)=>{const ua=Dn.value==="rtl";let ga=ea+1;if($n.allowHalf){const aa=Gn(ea),ca=getOffsetLeft(aa),sa=aa.clientWidth;(ua&&la-ca>sa/2||!ua&&la-ca<sa/2)&&(ga-=.5)}return ga},Xn=ea=>{$n.value===void 0&&(Yn.value=ea),In("update:value",ea),In("change",ea),Bn.onFieldChange()},Yo=(ea,la)=>{const ua=Go(la,ea.pageX);ua!==Yn.cleanedValue&&(Yn.hoverValue=ua,Yn.cleanedValue=null),In("hoverChange",ua)},qo=()=>{Yn.hoverValue=void 0,Yn.cleanedValue=null,In("hoverChange",void 0)},Jo=(ea,la)=>{const{allowClear:ua}=$n,ga=Go(la,ea.pageX);let aa=!1;ua&&(aa=ga===Yn.value),qo(),Xn(aa?0:ga),Yn.cleanedValue=aa?ga:null},Zo=ea=>{Yn.focused=!0,In("focus",ea)},rr=ea=>{Yn.focused=!1,In("blur",ea),Bn.onFieldBlur()},nr=ea=>{const{keyCode:la}=ea,{count:ua,allowHalf:ga}=$n,aa=Dn.value==="rtl";la===KeyCode$1.RIGHT&&Yn.value<ua&&!aa?(ga?Yn.value+=.5:Yn.value+=1,Xn(Yn.value),ea.preventDefault()):la===KeyCode$1.LEFT&&Yn.value>0&&!aa||la===KeyCode$1.RIGHT&&Yn.value>0&&aa?(ga?Yn.value-=.5:Yn.value-=1,Xn(Yn.value),ea.preventDefault()):la===KeyCode$1.LEFT&&Yn.value<ua&&aa&&(ga?Yn.value+=.5:Yn.value+=1,Xn(Yn.value),ea.preventDefault()),In("keydown",ea)},ta=()=>{$n.disabled||Hn.value.focus()};Nn({focus:ta,blur:()=>{$n.disabled||Hn.value.blur()}}),onMounted(()=>{const{autofocus:ea,disabled:la}=$n;ea&&!la&&ta()});const ra=(ea,la)=>{let{index:ua}=la;const{tooltips:ga}=$n;return ga?createVNode(Tooltip,{title:ga[ua]},{default:()=>[ea]}):ea};return()=>{const{count:ea,allowHalf:la,disabled:ua,tabindex:ga,id:aa=Bn.id.value}=$n,{class:ca,style:sa}=Pn,ia=[],fa=ua?`${Rn.value}-disabled`:"",ma=$n.character||_n.character||(()=>createVNode(StarFilled$1,null,null));for(let ba=0;ba<ea;ba++)ia.push(createVNode(Star,{ref:zn(ba),key:ba,index:ba,count:ea,disabled:ua,prefixCls:`${Rn.value}-star`,allowHalf:la,value:Yn.hoverValue===void 0?Yn.value:Yn.hoverValue,onClick:Jo,onHover:Yo,character:ma,characterRender:ra,focused:Yn.focused},null));const ya=classNames(Rn.value,fa,ca,{[Fn.value]:!0,[`${Rn.value}-rtl`]:Dn.value==="rtl"});return Ln(createVNode("ul",_objectSpread2$1(_objectSpread2$1({},Pn),{},{id:aa,class:ya,style:sa,onMouseleave:ua?null:qo,tabindex:ua?-1:ga,onFocus:ua?null:Zo,onBlur:ua?null:rr,onKeydown:ua?null:nr,ref:Hn,role:"radiogroup"}),[ia]))}}}),index$e=withInstall(Rate);var WarningFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const WarningFilledSvg=WarningFilled$2;function _objectSpread$i($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$i($n,In,_n[In])})}return $n}function _defineProperty$i($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var WarningFilled=function(Cn,_n){var Pn=_objectSpread$i({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$i({},Pn,{icon:WarningFilledSvg}),null)};WarningFilled.displayName="WarningFilled";WarningFilled.inheritAttrs=!1;const WarningFilled$1=WarningFilled,NoFound=()=>createVNode("svg",{width:"252",height:"294"},[createVNode("defs",null,[createVNode("path",{d:"M0 .387h251.772v251.772H0z"},null)]),createVNode("g",{fill:"none","fill-rule":"evenodd"},[createVNode("g",{transform:"translate(0 .012)"},[createVNode("mask",{fill:"#fff"},null),createVNode("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),createVNode("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),createVNode("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),createVNode("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),createVNode("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),createVNode("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),createVNode("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),createVNode("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),createVNode("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),createVNode("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),createVNode("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),createVNode("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),createVNode("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),createVNode("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),createVNode("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),createVNode("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),createVNode("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),createVNode("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),createVNode("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),createVNode("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),createVNode("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),createVNode("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),createVNode("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),createVNode("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),createVNode("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),createVNode("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),createVNode("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),createVNode("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),createVNode("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),createVNode("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),createVNode("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),createVNode("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),createVNode("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),createVNode("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),createVNode("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),createVNode("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),createVNode("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),createVNode("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),createVNode("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),noFound=NoFound,ServerError=()=>createVNode("svg",{width:"254",height:"294"},[createVNode("defs",null,[createVNode("path",{d:"M0 .335h253.49v253.49H0z"},null),createVNode("path",{d:"M0 293.665h253.49V.401H0z"},null)]),createVNode("g",{fill:"none","fill-rule":"evenodd"},[createVNode("g",{transform:"translate(0 .067)"},[createVNode("mask",{fill:"#fff"},null),createVNode("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),createVNode("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),createVNode("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),createVNode("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),createVNode("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),createVNode("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),createVNode("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),createVNode("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),createVNode("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),createVNode("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),createVNode("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),createVNode("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),createVNode("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),createVNode("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),createVNode("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),createVNode("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),createVNode("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),createVNode("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),createVNode("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),createVNode("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),createVNode("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),createVNode("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),createVNode("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),createVNode("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),createVNode("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),createVNode("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),createVNode("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),createVNode("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),createVNode("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),createVNode("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),createVNode("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),createVNode("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),createVNode("mask",{fill:"#fff"},null),createVNode("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),createVNode("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),createVNode("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),createVNode("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),createVNode("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),createVNode("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),createVNode("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),createVNode("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),createVNode("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),createVNode("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),createVNode("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),serverError=ServerError,Unauthorized=()=>createVNode("svg",{width:"251",height:"294"},[createVNode("g",{fill:"none","fill-rule":"evenodd"},[createVNode("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),createVNode("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),createVNode("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),createVNode("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),createVNode("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),createVNode("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),createVNode("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),createVNode("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),createVNode("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),createVNode("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),createVNode("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),createVNode("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),createVNode("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),createVNode("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),createVNode("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),createVNode("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),createVNode("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),createVNode("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),createVNode("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),createVNode("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),createVNode("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),createVNode("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),createVNode("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),createVNode("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),createVNode("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),createVNode("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),createVNode("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),createVNode("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),createVNode("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),createVNode("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),createVNode("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),createVNode("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),createVNode("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),createVNode("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),createVNode("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),createVNode("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),createVNode("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),createVNode("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),unauthorized=Unauthorized,genBaseStyle$6=$n=>{const{componentCls:Cn,lineHeightHeading3:_n,iconCls:Pn,padding:In,paddingXL:Nn,paddingXS:Rn,paddingLG:Dn,marginXS:Ln,lineHeight:Fn}=$n;return{[Cn]:{padding:`${Dn*2}px ${Nn}px`,"&-rtl":{direction:"rtl"}},[`${Cn} ${Cn}-image`]:{width:$n.imageWidth,height:$n.imageHeight,margin:"auto"},[`${Cn} ${Cn}-icon`]:{marginBottom:Dn,textAlign:"center",[`& > ${Pn}`]:{fontSize:$n.resultIconFontSize}},[`${Cn} ${Cn}-title`]:{color:$n.colorTextHeading,fontSize:$n.resultTitleFontSize,lineHeight:_n,marginBlock:Ln,textAlign:"center"},[`${Cn} ${Cn}-subtitle`]:{color:$n.colorTextDescription,fontSize:$n.resultSubtitleFontSize,lineHeight:Fn,textAlign:"center"},[`${Cn} ${Cn}-content`]:{marginTop:Dn,padding:`${Dn}px ${In*2.5}px`,backgroundColor:$n.colorFillAlter},[`${Cn} ${Cn}-extra`]:{margin:$n.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:Rn,"&:last-child":{marginInlineEnd:0}}}}},genStatusIconStyle=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[`${Cn}-success ${Cn}-icon > ${_n}`]:{color:$n.resultSuccessIconColor},[`${Cn}-error ${Cn}-icon > ${_n}`]:{color:$n.resultErrorIconColor},[`${Cn}-info ${Cn}-icon > ${_n}`]:{color:$n.resultInfoIconColor},[`${Cn}-warning ${Cn}-icon > ${_n}`]:{color:$n.resultWarningIconColor}}},genResultStyle=$n=>[genBaseStyle$6($n),genStatusIconStyle($n)],getStyle=$n=>genResultStyle($n),useStyle$e=genComponentStyleHook("Result",$n=>{const{paddingLG:Cn,fontSizeHeading3:_n}=$n,Pn=$n.fontSize,In=`${Cn}px 0 0 0`,Nn=$n.colorInfo,Rn=$n.colorError,Dn=$n.colorSuccess,Ln=$n.colorWarning,Fn=merge$1($n,{resultTitleFontSize:_n,resultSubtitleFontSize:Pn,resultIconFontSize:_n*3,resultExtraMargin:In,resultInfoIconColor:Nn,resultErrorIconColor:Rn,resultSuccessIconColor:Dn,resultWarningIconColor:Ln});return[getStyle(Fn)]},{imageWidth:250,imageHeight:295}),IconMap={success:CheckCircleFilled$1,error:CloseCircleFilled$1,info:ExclamationCircleFilled$1,warning:WarningFilled$1},ExceptionMap={404:noFound,500:serverError,403:unauthorized},ExceptionStatus=Object.keys(ExceptionMap),resultProps=()=>({prefixCls:String,icon:PropTypes.any,status:{type:[Number,String],default:"info"},title:PropTypes.any,subTitle:PropTypes.any,extra:PropTypes.any}),renderIcon=($n,Cn)=>{let{status:_n,icon:Pn}=Cn;if(ExceptionStatus.includes(`${_n}`)){const Rn=ExceptionMap[_n];return createVNode("div",{class:`${$n}-icon ${$n}-image`},[createVNode(Rn,null,null)])}const In=IconMap[_n],Nn=Pn||createVNode(In,null,null);return createVNode("div",{class:`${$n}-icon`},[Nn])},renderExtra=($n,Cn)=>Cn&&createVNode("div",{class:`${$n}-extra`},[Cn]),Result=defineComponent({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:resultProps(),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("result",$n),[Rn,Dn]=useStyle$e(In),Ln=computed(()=>classNames(In.value,Dn.value,`${In.value}-${$n.status}`,{[`${In.value}-rtl`]:Nn.value==="rtl"}));return()=>{var Fn,Bn,Hn,zn,Wn,Yn,Gn,Go;const Xn=(Fn=$n.title)!==null&&Fn!==void 0?Fn:(Bn=_n.title)===null||Bn===void 0?void 0:Bn.call(_n),Yo=(Hn=$n.subTitle)!==null&&Hn!==void 0?Hn:(zn=_n.subTitle)===null||zn===void 0?void 0:zn.call(_n),qo=(Wn=$n.icon)!==null&&Wn!==void 0?Wn:(Yn=_n.icon)===null||Yn===void 0?void 0:Yn.call(_n),Jo=(Gn=$n.extra)!==null&&Gn!==void 0?Gn:(Go=_n.extra)===null||Go===void 0?void 0:Go.call(_n),Zo=In.value;return Rn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:[Ln.value,Pn.class]}),[renderIcon(Zo,{status:$n.status,icon:qo}),createVNode("div",{class:`${Zo}-title`},[Xn]),Yo&&createVNode("div",{class:`${Zo}-subtitle`},[Yo]),renderExtra(Zo,Jo),_n.default&&createVNode("div",{class:`${Zo}-content`},[_n.default()])]))}}});Result.PRESENTED_IMAGE_403=ExceptionMap[403];Result.PRESENTED_IMAGE_404=ExceptionMap[404];Result.PRESENTED_IMAGE_500=ExceptionMap[500];Result.install=function($n){return $n.component(Result.name,Result),$n};const Result$1=Result,index$d=withInstall(Row$2),Track=($n,Cn)=>{let{attrs:_n}=Cn;const{included:Pn,vertical:In,style:Nn,class:Rn}=_n;let{length:Dn,offset:Ln,reverse:Fn}=_n;Dn<0&&(Fn=!Fn,Dn=Math.abs(Dn),Ln=100-Ln);const Bn=In?{[Fn?"top":"bottom"]:`${Ln}%`,[Fn?"bottom":"top"]:"auto",height:`${Dn}%`}:{[Fn?"right":"left"]:`${Ln}%`,[Fn?"left":"right"]:"auto",width:`${Dn}%`},Hn=_extends$1(_extends$1({},Nn),Bn);return Pn?createVNode("div",{class:Rn,style:Hn},null):null};Track.inheritAttrs=!1;const Track$1=Track,calcPoints=($n,Cn,_n,Pn,In,Nn)=>{warning$3();const Rn=Object.keys(Cn).map(parseFloat).sort((Dn,Ln)=>Dn-Ln);if(_n&&Pn)for(let Dn=In;Dn<=Nn;Dn+=Pn)Rn.indexOf(Dn)===-1&&Rn.push(Dn);return Rn},Steps$2=($n,Cn)=>{let{attrs:_n}=Cn;const{prefixCls:Pn,vertical:In,reverse:Nn,marks:Rn,dots:Dn,step:Ln,included:Fn,lowerBound:Bn,upperBound:Hn,max:zn,min:Wn,dotStyle:Yn,activeDotStyle:Gn}=_n,Go=zn-Wn,Xn=calcPoints(In,Rn,Dn,Ln,Wn,zn).map(Yo=>{const qo=`${Math.abs(Yo-Wn)/Go*100}%`,Jo=!Fn&&Yo===Hn||Fn&&Yo<=Hn&&Yo>=Bn;let Zo=In?_extends$1(_extends$1({},Yn),{[Nn?"top":"bottom"]:qo}):_extends$1(_extends$1({},Yn),{[Nn?"right":"left"]:qo});Jo&&(Zo=_extends$1(_extends$1({},Zo),Gn));const rr=classNames({[`${Pn}-dot`]:!0,[`${Pn}-dot-active`]:Jo,[`${Pn}-dot-reverse`]:Nn});return createVNode("span",{class:rr,style:Zo,key:Yo},null)});return createVNode("div",{class:`${Pn}-step`},[Xn])};Steps$2.inheritAttrs=!1;const Steps$3=Steps$2,Marks=($n,Cn)=>{let{attrs:_n,slots:Pn}=Cn;const{class:In,vertical:Nn,reverse:Rn,marks:Dn,included:Ln,upperBound:Fn,lowerBound:Bn,max:Hn,min:zn,onClickLabel:Wn}=_n,Yn=Object.keys(Dn),Gn=Pn.mark,Go=Hn-zn,Xn=Yn.map(parseFloat).sort((Yo,qo)=>Yo-qo).map(Yo=>{const qo=typeof Dn[Yo]=="function"?Dn[Yo]():Dn[Yo],Jo=typeof qo=="object"&&!isValidElement(qo);let Zo=Jo?qo.label:qo;if(!Zo&&Zo!==0)return null;Gn&&(Zo=Gn({point:Yo,label:Zo}));const rr=!Ln&&Yo===Fn||Ln&&Yo<=Fn&&Yo>=Bn,nr=classNames({[`${In}-text`]:!0,[`${In}-text-active`]:rr}),ta={marginBottom:"-50%",[Rn?"top":"bottom"]:`${(Yo-zn)/Go*100}%`},oa={transform:`translateX(${Rn?"50%":"-50%"})`,msTransform:`translateX(${Rn?"50%":"-50%"})`,[Rn?"right":"left"]:`${(Yo-zn)/Go*100}%`},ra=Nn?ta:oa,ea=Jo?_extends$1(_extends$1({},ra),qo.style):ra,la={[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]:ua=>Wn(ua,Yo)};return createVNode("span",_objectSpread2$1({class:nr,style:ea,key:Yo,onMousedown:ua=>Wn(ua,Yo)},la),[Zo])});return createVNode("div",{class:In},[Xn])};Marks.inheritAttrs=!1;const Marks$1=Marks,VcHandle=defineComponent({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup($n,Cn){let{attrs:_n,emit:Pn,expose:In}=Cn;const Nn=shallowRef(!1),Rn=shallowRef(),Dn=()=>{document.activeElement===Rn.value&&(Nn.value=!0)},Ln=Go=>{Nn.value=!1,Pn("blur",Go)},Fn=()=>{Nn.value=!1},Bn=()=>{var Go;(Go=Rn.value)===null||Go===void 0||Go.focus()},Hn=()=>{var Go;(Go=Rn.value)===null||Go===void 0||Go.blur()},zn=()=>{Nn.value=!0,Bn()},Wn=Go=>{Go.preventDefault(),Bn(),Pn("mousedown",Go)};In({focus:Bn,blur:Hn,clickFocus:zn,ref:Rn});let Yn=null;onMounted(()=>{Yn=addEventListenerWrap(document,"mouseup",Dn)}),onBeforeUnmount(()=>{Yn==null||Yn.remove()});const Gn=computed(()=>{const{vertical:Go,offset:Xn,reverse:Yo}=$n;return Go?{[Yo?"top":"bottom"]:`${Xn}%`,[Yo?"bottom":"top"]:"auto",transform:Yo?null:"translateY(+50%)"}:{[Yo?"right":"left"]:`${Xn}%`,[Yo?"left":"right"]:"auto",transform:`translateX(${Yo?"+":"-"}50%)`}});return()=>{const{prefixCls:Go,disabled:Xn,min:Yo,max:qo,value:Jo,tabindex:Zo,ariaLabel:rr,ariaLabelledBy:nr,ariaValueTextFormatter:ta,onMouseenter:oa,onMouseleave:ra}=$n,ea=classNames(_n.class,{[`${Go}-handle-click-focused`]:Nn.value}),la={"aria-valuemin":Yo,"aria-valuemax":qo,"aria-valuenow":Jo,"aria-disabled":!!Xn},ua=[_n.style,Gn.value];let ga=Zo||0;(Xn||Zo===null)&&(ga=null);let aa;ta&&(aa=ta(Jo));const ca=_extends$1(_extends$1(_extends$1(_extends$1({},_n),{role:"slider",tabindex:ga}),la),{class:ea,onBlur:Ln,onKeydown:Fn,onMousedown:Wn,onMouseenter:oa,onMouseleave:ra,ref:Rn,style:ua});return createVNode("div",_objectSpread2$1(_objectSpread2$1({},ca),{},{"aria-label":rr,"aria-labelledby":nr,"aria-valuetext":aa}),null)}}});function isEventFromHandle($n,Cn){try{return Object.keys(Cn).some(_n=>$n.target===Cn[_n].ref)}catch{return!1}}function isValueOutOfRange($n,Cn){let{min:_n,max:Pn}=Cn;return $n<_n||$n>Pn}function isNotTouchEvent($n){return $n.touches.length>1||$n.type.toLowerCase()==="touchend"&&$n.touches.length>0}function getClosestPoint($n,Cn){let{marks:_n,step:Pn,min:In,max:Nn}=Cn;const Rn=Object.keys(_n).map(parseFloat);if(Pn!==null){const Ln=Math.pow(10,getPrecision(Pn)),Fn=Math.floor((Nn*Ln-In*Ln)/(Pn*Ln)),Bn=Math.min(($n-In)/Pn,Fn),Hn=Math.round(Bn)*Pn+In;Rn.push(Hn)}const Dn=Rn.map(Ln=>Math.abs($n-Ln));return Rn[Dn.indexOf(Math.min(...Dn))]}function getPrecision($n){const Cn=$n.toString();let _n=0;return Cn.indexOf(".")>=0&&(_n=Cn.length-Cn.indexOf(".")-1),_n}function getMousePosition($n,Cn){let _n=1;return window.visualViewport&&(_n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),($n?Cn.clientY:Cn.pageX)/_n}function getTouchPosition($n,Cn){let _n=1;return window.visualViewport&&(_n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),($n?Cn.touches[0].clientY:Cn.touches[0].pageX)/_n}function getHandleCenterPosition($n,Cn){const _n=Cn.getBoundingClientRect();return $n?_n.top+_n.height*.5:window.pageXOffset+_n.left+_n.width*.5}function ensureValueInRange($n,Cn){let{max:_n,min:Pn}=Cn;return $n<=Pn?Pn:$n>=_n?_n:$n}function ensureValuePrecision($n,Cn){const{step:_n}=Cn,Pn=isFinite(getClosestPoint($n,Cn))?getClosestPoint($n,Cn):0;return _n===null?Pn:parseFloat(Pn.toFixed(getPrecision(_n)))}function pauseEvent($n){$n.stopPropagation(),$n.preventDefault()}function calculateNextValue($n,Cn,_n){const Pn={increase:(Rn,Dn)=>Rn+Dn,decrease:(Rn,Dn)=>Rn-Dn},In=Pn[$n](Object.keys(_n.marks).indexOf(JSON.stringify(Cn)),1),Nn=Object.keys(_n.marks)[In];return _n.step?Pn[$n](Cn,_n.step):Object.keys(_n.marks).length&&_n.marks[Nn]?_n.marks[Nn]:Cn}function getKeyboardValueMutator($n,Cn,_n){const Pn="increase",In="decrease";let Nn=Pn;switch($n.keyCode){case KeyCode$1.UP:Nn=Cn&&_n?In:Pn;break;case KeyCode$1.RIGHT:Nn=!Cn&&_n?In:Pn;break;case KeyCode$1.DOWN:Nn=Cn&&_n?Pn:In;break;case KeyCode$1.LEFT:Nn=!Cn&&_n?Pn:In;break;case KeyCode$1.END:return(Rn,Dn)=>Dn.max;case KeyCode$1.HOME:return(Rn,Dn)=>Dn.min;case KeyCode$1.PAGE_UP:return(Rn,Dn)=>Rn+Dn.step*2;case KeyCode$1.PAGE_DOWN:return(Rn,Dn)=>Rn-Dn.step*2;default:return}return(Rn,Dn)=>calculateNextValue(Nn,Rn,Dn)}var __rest$l=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function noop$6(){}function createSlider($n){const Cn={id:String,min:Number,max:Number,step:Number,marks:PropTypes.object,included:{type:Boolean,default:void 0},prefixCls:String,disabled:{type:Boolean,default:void 0},handle:Function,dots:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},minimumTrackStyle:PropTypes.object,maximumTrackStyle:PropTypes.object,handleStyle:PropTypes.oneOfType([PropTypes.object,PropTypes.arrayOf(PropTypes.object)]),trackStyle:PropTypes.oneOfType([PropTypes.object,PropTypes.arrayOf(PropTypes.object)]),railStyle:PropTypes.object,dotStyle:PropTypes.object,activeDotStyle:PropTypes.object,autofocus:{type:Boolean,default:void 0},draggableTrack:{type:Boolean,default:void 0}};return defineComponent({compatConfig:{MODE:3},name:"CreateSlider",mixins:[BaseMixin,$n],inheritAttrs:!1,props:initDefaultProps(Cn,{prefixCls:"rc-slider",min:0,max:100,step:1,marks:{},included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),emits:["change","blur","focus"],data(){return warning$3(),this.handlesRefs={},{}},mounted(){this.$nextTick(()=>{this.document=this.sliderRef&&this.sliderRef.ownerDocument;const{autofocus:_n,disabled:Pn}=this;_n&&!Pn&&this.focus()})},beforeUnmount(){this.$nextTick(()=>{this.removeDocumentEvents()})},methods:{defaultHandle(_n){var{index:Pn,directives:In,className:Nn,style:Rn}=_n,Dn=__rest$l(_n,["index","directives","className","style"]);if(delete Dn.dragging,Dn.value===null)return null;const Ln=_extends$1(_extends$1({},Dn),{class:Nn,style:Rn,key:Pn});return createVNode(VcHandle,Ln,null)},onDown(_n,Pn){let In=Pn;const{draggableTrack:Nn,vertical:Rn}=this.$props,{bounds:Dn}=this.$data,Ln=Nn&&this.positionGetValue?this.positionGetValue(In)||[]:[],Fn=isEventFromHandle(_n,this.handlesRefs);if(this.dragTrack=Nn&&Dn.length>=2&&!Fn&&!Ln.map((Bn,Hn)=>{const zn=Hn?!0:Bn>=Dn[Hn];return Hn===Ln.length-1?Bn<=Dn[Hn]:zn}).some(Bn=>!Bn),this.dragTrack)this.dragOffset=In,this.startBounds=[...Dn];else{if(!Fn)this.dragOffset=0;else{const Bn=getHandleCenterPosition(Rn,_n.target);this.dragOffset=In-Bn,In=Bn}this.onStart(In)}},onMouseDown(_n){if(_n.button!==0)return;this.removeDocumentEvents();const Pn=this.$props.vertical,In=getMousePosition(Pn,_n);this.onDown(_n,In),this.addDocumentMouseEvents()},onTouchStart(_n){if(isNotTouchEvent(_n))return;const Pn=this.vertical,In=getTouchPosition(Pn,_n);this.onDown(_n,In),this.addDocumentTouchEvents(),pauseEvent(_n)},onFocus(_n){const{vertical:Pn}=this;if(isEventFromHandle(_n,this.handlesRefs)&&!this.dragTrack){const In=getHandleCenterPosition(Pn,_n.target);this.dragOffset=0,this.onStart(In),pauseEvent(_n),this.$emit("focus",_n)}},onBlur(_n){this.dragTrack||this.onEnd(),this.$emit("blur",_n)},onMouseUp(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove(_n){if(!this.sliderRef){this.onEnd();return}const Pn=getMousePosition(this.vertical,_n);this.onMove(_n,Pn-this.dragOffset,this.dragTrack,this.startBounds)},onTouchMove(_n){if(isNotTouchEvent(_n)||!this.sliderRef){this.onEnd();return}const Pn=getTouchPosition(this.vertical,_n);this.onMove(_n,Pn-this.dragOffset,this.dragTrack,this.startBounds)},onKeyDown(_n){this.sliderRef&&isEventFromHandle(_n,this.handlesRefs)&&this.onKeyboard(_n)},onClickMarkLabel(_n,Pn){_n.stopPropagation(),this.onChange({sValue:Pn}),this.setState({sValue:Pn},()=>this.onEnd(!0))},getSliderStart(){const _n=this.sliderRef,{vertical:Pn,reverse:In}=this,Nn=_n.getBoundingClientRect();return Pn?In?Nn.bottom:Nn.top:window.pageXOffset+(In?Nn.right:Nn.left)},getSliderLength(){const _n=this.sliderRef;if(!_n)return 0;const Pn=_n.getBoundingClientRect();return this.vertical?Pn.height:Pn.width},addDocumentTouchEvents(){this.onTouchMoveListener=addEventListenerWrap(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=addEventListenerWrap(this.document,"touchend",this.onEnd)},addDocumentMouseEvents(){this.onMouseMoveListener=addEventListenerWrap(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=addEventListenerWrap(this.document,"mouseup",this.onEnd)},removeDocumentEvents(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus(){var _n;this.$props.disabled||(_n=this.handlesRefs[0])===null||_n===void 0||_n.focus()},blur(){this.$props.disabled||Object.keys(this.handlesRefs).forEach(_n=>{var Pn,In;(In=(Pn=this.handlesRefs[_n])===null||Pn===void 0?void 0:Pn.blur)===null||In===void 0||In.call(Pn)})},calcValue(_n){const{vertical:Pn,min:In,max:Nn}=this,Rn=Math.abs(Math.max(_n,0)/this.getSliderLength());return Pn?(1-Rn)*(Nn-In)+In:Rn*(Nn-In)+In},calcValueByPos(_n){const In=(this.reverse?-1:1)*(_n-this.getSliderStart());return this.trimAlignValue(this.calcValue(In))},calcOffset(_n){const{min:Pn,max:In}=this,Nn=(_n-Pn)/(In-Pn);return Math.max(0,Nn*100)},saveSlider(_n){this.sliderRef=_n},saveHandle(_n,Pn){this.handlesRefs[_n]=Pn}},render(){const{prefixCls:_n,marks:Pn,dots:In,step:Nn,included:Rn,disabled:Dn,vertical:Ln,reverse:Fn,min:Bn,max:Hn,maximumTrackStyle:zn,railStyle:Wn,dotStyle:Yn,activeDotStyle:Gn,id:Go}=this,{class:Xn,style:Yo}=this.$attrs,{tracks:qo,handles:Jo}=this.renderSlider(),Zo=classNames(_n,Xn,{[`${_n}-with-marks`]:Object.keys(Pn).length,[`${_n}-disabled`]:Dn,[`${_n}-vertical`]:Ln,[`${_n}-horizontal`]:!Ln}),rr={vertical:Ln,marks:Pn,included:Rn,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:Hn,min:Bn,reverse:Fn,class:`${_n}-mark`,onClickLabel:Dn?noop$6:this.onClickMarkLabel},nr={[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]:Dn?noop$6:this.onTouchStart};return createVNode("div",_objectSpread2$1(_objectSpread2$1({id:Go,ref:this.saveSlider,tabindex:"-1",class:Zo},nr),{},{onMousedown:Dn?noop$6:this.onMouseDown,onMouseup:Dn?noop$6:this.onMouseUp,onKeydown:Dn?noop$6:this.onKeyDown,onFocus:Dn?noop$6:this.onFocus,onBlur:Dn?noop$6:this.onBlur,style:Yo}),[createVNode("div",{class:`${_n}-rail`,style:_extends$1(_extends$1({},zn),Wn)},null),qo,createVNode(Steps$3,{prefixCls:_n,vertical:Ln,reverse:Fn,marks:Pn,dots:In,step:Nn,included:Rn,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:Hn,min:Bn,dotStyle:Yn,activeDotStyle:Gn},null),Jo,createVNode(Marks$1,rr,{mark:this.$slots.mark}),getSlot(this)])}})}const Slider$1=defineComponent({compatConfig:{MODE:3},name:"Slider",mixins:[BaseMixin],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data(){const $n=this.defaultValue!==void 0?this.defaultValue:this.min,Cn=this.value!==void 0?this.value:$n;return{sValue:this.trimAlignValue(Cn),dragging:!1}},watch:{value:{handler($n){this.setChangeValue($n)},deep:!0},min(){const{sValue:$n}=this;this.setChangeValue($n)},max(){const{sValue:$n}=this;this.setChangeValue($n)}},methods:{setChangeValue($n){const Cn=$n!==void 0?$n:this.sValue,_n=this.trimAlignValue(Cn,this.$props);_n!==this.sValue&&(this.setState({sValue:_n}),isValueOutOfRange(Cn,this.$props)&&this.$emit("change",_n))},onChange($n){const Cn=!hasProp(this,"value"),_n=$n.sValue>this.max?_extends$1(_extends$1({},$n),{sValue:this.max}):$n;Cn&&this.setState(_n);const Pn=_n.sValue;this.$emit("change",Pn)},onStart($n){this.setState({dragging:!0});const{sValue:Cn}=this;this.$emit("beforeChange",Cn);const _n=this.calcValueByPos($n);this.startValue=_n,this.startPosition=$n,_n!==Cn&&(this.prevMovedHandleIndex=0,this.onChange({sValue:_n}))},onEnd($n){const{dragging:Cn}=this;this.removeDocumentEvents(),(Cn||$n)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove($n,Cn){pauseEvent($n);const{sValue:_n}=this,Pn=this.calcValueByPos(Cn);Pn!==_n&&this.onChange({sValue:Pn})},onKeyboard($n){const{reverse:Cn,vertical:_n}=this.$props,Pn=getKeyboardValueMutator($n,_n,Cn);if(Pn){pauseEvent($n);const{sValue:In}=this,Nn=Pn(In,this.$props),Rn=this.trimAlignValue(Nn);if(Rn===In)return;this.onChange({sValue:Rn}),this.$emit("afterChange",Rn),this.onEnd()}},getLowerBound(){const $n=this.$props.startPoint||this.$props.min;return this.$data.sValue>$n?$n:this.$data.sValue},getUpperBound(){return this.$data.sValue<this.$props.startPoint?this.$props.startPoint:this.$data.sValue},trimAlignValue($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if($n===null)return null;const _n=_extends$1(_extends$1({},this.$props),Cn),Pn=ensureValueInRange($n,_n);return ensureValuePrecision(Pn,_n)},getTrack($n){let{prefixCls:Cn,reverse:_n,vertical:Pn,included:In,minimumTrackStyle:Nn,mergedTrackStyle:Rn,length:Dn,offset:Ln}=$n;return createVNode(Track$1,{class:`${Cn}-track`,vertical:Pn,included:In,offset:Ln,reverse:_n,length:Dn,style:_extends$1(_extends$1({},Nn),Rn)},null)},renderSlider(){const{prefixCls:$n,vertical:Cn,included:_n,disabled:Pn,minimumTrackStyle:In,trackStyle:Nn,handleStyle:Rn,tabindex:Dn,ariaLabelForHandle:Ln,ariaLabelledByForHandle:Fn,ariaValueTextFormatterForHandle:Bn,min:Hn,max:zn,startPoint:Wn,reverse:Yn,handle:Gn,defaultHandle:Go}=this,Xn=Gn||Go,{sValue:Yo,dragging:qo}=this,Jo=this.calcOffset(Yo),Zo=Xn({class:`${$n}-handle`,prefixCls:$n,vertical:Cn,offset:Jo,value:Yo,dragging:qo,disabled:Pn,min:Hn,max:zn,reverse:Yn,index:0,tabindex:Dn,ariaLabel:Ln,ariaLabelledBy:Fn,ariaValueTextFormatter:Bn,style:Rn[0]||Rn,ref:ta=>this.saveHandle(0,ta),onFocus:this.onFocus,onBlur:this.onBlur}),rr=Wn!==void 0?this.calcOffset(Wn):0,nr=Nn[0]||Nn;return{tracks:this.getTrack({prefixCls:$n,reverse:Yn,vertical:Cn,included:_n,offset:rr,minimumTrackStyle:In,mergedTrackStyle:nr,length:Jo-rr}),handles:Zo}}}}),VcSlider=createSlider(Slider$1),trimAlignValue=$n=>{let{value:Cn,handle:_n,bounds:Pn,props:In}=$n;const{allowCross:Nn,pushable:Rn}=In,Dn=Number(Rn),Ln=ensureValueInRange(Cn,In);let Fn=Ln;return!Nn&&_n!=null&&Pn!==void 0&&(_n>0&&Ln<=Pn[_n-1]+Dn&&(Fn=Pn[_n-1]+Dn),_n<Pn.length-1&&Ln>=Pn[_n+1]-Dn&&(Fn=Pn[_n+1]-Dn)),ensureValuePrecision(Fn,In)},rangeProps={defaultValue:PropTypes.arrayOf(PropTypes.number),value:PropTypes.arrayOf(PropTypes.number),count:Number,pushable:withUndefined(PropTypes.oneOfType([PropTypes.looseBool,PropTypes.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:PropTypes.arrayOf(PropTypes.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},Range=defineComponent({compatConfig:{MODE:3},name:"Range",mixins:[BaseMixin],inheritAttrs:!1,props:initDefaultProps(rangeProps,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data(){const{count:$n,min:Cn,max:_n}=this,Pn=Array(...Array($n+1)).map(()=>Cn),In=hasProp(this,"defaultValue")?this.defaultValue:Pn;let{value:Nn}=this;Nn===void 0&&(Nn=In);const Rn=Nn.map((Ln,Fn)=>trimAlignValue({value:Ln,handle:Fn,props:this.$props}));return{sHandle:null,recent:Rn[0]===_n?0:Rn.length-1,bounds:Rn}},watch:{value:{handler($n){const{bounds:Cn}=this;this.setChangeValue($n||Cn)},deep:!0},min(){const{value:$n}=this;this.setChangeValue($n||this.bounds)},max(){const{value:$n}=this;this.setChangeValue($n||this.bounds)}},methods:{setChangeValue($n){const{bounds:Cn}=this;let _n=$n.map((Pn,In)=>trimAlignValue({value:Pn,handle:In,bounds:Cn,props:this.$props}));if(Cn.length===_n.length){if(_n.every((Pn,In)=>Pn===Cn[In]))return null}else _n=$n.map((Pn,In)=>trimAlignValue({value:Pn,handle:In,props:this.$props}));if(this.setState({bounds:_n}),$n.some(Pn=>isValueOutOfRange(Pn,this.$props))){const Pn=$n.map(In=>ensureValueInRange(In,this.$props));this.$emit("change",Pn)}},onChange($n){if(!hasProp(this,"value"))this.setState($n);else{const In={};["sHandle","recent"].forEach(Nn=>{$n[Nn]!==void 0&&(In[Nn]=$n[Nn])}),Object.keys(In).length&&this.setState(In)}const Pn=_extends$1(_extends$1({},this.$data),$n).bounds;this.$emit("change",Pn)},positionGetValue($n){const Cn=this.getValue(),_n=this.calcValueByPos($n),Pn=this.getClosestBound(_n),In=this.getBoundNeedMoving(_n,Pn),Nn=Cn[In];if(_n===Nn)return null;const Rn=[...Cn];return Rn[In]=_n,Rn},onStart($n){const{bounds:Cn}=this;this.$emit("beforeChange",Cn);const _n=this.calcValueByPos($n);this.startValue=_n,this.startPosition=$n;const Pn=this.getClosestBound(_n);this.prevMovedHandleIndex=this.getBoundNeedMoving(_n,Pn),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});const In=Cn[this.prevMovedHandleIndex];if(_n===In)return;const Nn=[...Cn];Nn[this.prevMovedHandleIndex]=_n,this.onChange({bounds:Nn})},onEnd($n){const{sHandle:Cn}=this;this.removeDocumentEvents(),Cn||(this.dragTrack=!1),(Cn!==null||$n)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove($n,Cn,_n,Pn){pauseEvent($n);const{$data:In,$props:Nn}=this,Rn=Nn.max||100,Dn=Nn.min||0;if(_n){let zn=Nn.vertical?-Cn:Cn;zn=Nn.reverse?-zn:zn;const Wn=Rn-Math.max(...Pn),Yn=Dn-Math.min(...Pn),Gn=Math.min(Math.max(zn/(this.getSliderLength()/100),Yn),Wn),Go=Pn.map(Xn=>Math.floor(Math.max(Math.min(Xn+Gn,Rn),Dn)));In.bounds.map((Xn,Yo)=>Xn===Go[Yo]).some(Xn=>!Xn)&&this.onChange({bounds:Go});return}const{bounds:Ln,sHandle:Fn}=this,Bn=this.calcValueByPos(Cn),Hn=Ln[Fn];Bn!==Hn&&this.moveTo(Bn)},onKeyboard($n){const{reverse:Cn,vertical:_n}=this.$props,Pn=getKeyboardValueMutator($n,_n,Cn);if(Pn){pauseEvent($n);const{bounds:In,sHandle:Nn}=this,Rn=In[Nn===null?this.recent:Nn],Dn=Pn(Rn,this.$props),Ln=trimAlignValue({value:Dn,handle:Nn,bounds:In,props:this.$props});if(Ln===Rn)return;this.moveTo(Ln,!0)}},getClosestBound($n){const{bounds:Cn}=this;let _n=0;for(let Pn=1;Pn<Cn.length-1;Pn+=1)$n>=Cn[Pn]&&(_n=Pn);return Math.abs(Cn[_n+1]-$n)<Math.abs(Cn[_n]-$n)&&(_n+=1),_n},getBoundNeedMoving($n,Cn){const{bounds:_n,recent:Pn}=this;let In=Cn;const Nn=_n[Cn+1]===_n[Cn];return Nn&&_n[Pn]===_n[Cn]&&(In=Pn),Nn&&$n!==_n[Cn+1]&&(In=$n<_n[Cn+1]?Cn:Cn+1),In},getLowerBound(){return this.bounds[0]},getUpperBound(){const{bounds:$n}=this;return $n[$n.length-1]},getPoints(){const{marks:$n,step:Cn,min:_n,max:Pn}=this,In=this.internalPointsCache;if(!In||In.marks!==$n||In.step!==Cn){const Nn=_extends$1({},$n);if(Cn!==null)for(let Dn=_n;Dn<=Pn;Dn+=Cn)Nn[Dn]=Dn;const Rn=Object.keys(Nn).map(parseFloat);Rn.sort((Dn,Ln)=>Dn-Ln),this.internalPointsCache={marks:$n,step:Cn,points:Rn}}return this.internalPointsCache.points},moveTo($n,Cn){const _n=[...this.bounds],{sHandle:Pn,recent:In}=this,Nn=Pn===null?In:Pn;_n[Nn]=$n;let Rn=Nn;this.$props.pushable!==!1?this.pushSurroundingHandles(_n,Rn):this.$props.allowCross&&(_n.sort((Dn,Ln)=>Dn-Ln),Rn=_n.indexOf($n)),this.onChange({recent:Rn,sHandle:Rn,bounds:_n}),Cn&&(this.$emit("afterChange",_n),this.setState({},()=>{this.handlesRefs[Rn].focus()}),this.onEnd())},pushSurroundingHandles($n,Cn){const _n=$n[Cn],{pushable:Pn}=this,In=Number(Pn);let Nn=0;if($n[Cn+1]-_n<In&&(Nn=1),_n-$n[Cn-1]<In&&(Nn=-1),Nn===0)return;const Rn=Cn+Nn,Dn=Nn*($n[Rn]-_n);this.pushHandle($n,Rn,Nn,In-Dn)||($n[Cn]=$n[Rn]-Nn*In)},pushHandle($n,Cn,_n,Pn){const In=$n[Cn];let Nn=$n[Cn];for(;_n*(Nn-In)<Pn;){if(!this.pushHandleOnePoint($n,Cn,_n))return $n[Cn]=In,!1;Nn=$n[Cn]}return!0},pushHandleOnePoint($n,Cn,_n){const Pn=this.getPoints(),Nn=Pn.indexOf($n[Cn])+_n;if(Nn>=Pn.length||Nn<0)return!1;const Rn=Cn+_n,Dn=Pn[Nn],{pushable:Ln}=this,Fn=Number(Ln),Bn=_n*($n[Rn]-Dn);return this.pushHandle($n,Rn,_n,Fn-Bn)?($n[Cn]=Dn,!0):!1},trimAlignValue($n){const{sHandle:Cn,bounds:_n}=this;return trimAlignValue({value:$n,handle:Cn,bounds:_n,props:this.$props})},ensureValueNotConflict($n,Cn,_n){let{allowCross:Pn,pushable:In}=_n;const Nn=this.$data||{},{bounds:Rn}=Nn;if($n=$n===void 0?Nn.sHandle:$n,In=Number(In),!Pn&&$n!=null&&Rn!==void 0){if($n>0&&Cn<=Rn[$n-1]+In)return Rn[$n-1]+In;if($n<Rn.length-1&&Cn>=Rn[$n+1]-In)return Rn[$n+1]-In}return Cn},getTrack($n){let{bounds:Cn,prefixCls:_n,reverse:Pn,vertical:In,included:Nn,offsets:Rn,trackStyle:Dn}=$n;return Cn.slice(0,-1).map((Ln,Fn)=>{const Bn=Fn+1,Hn=classNames({[`${_n}-track`]:!0,[`${_n}-track-${Bn}`]:!0});return createVNode(Track$1,{class:Hn,vertical:In,reverse:Pn,included:Nn,offset:Rn[Bn-1],length:Rn[Bn]-Rn[Bn-1],style:Dn[Fn],key:Bn},null)})},renderSlider(){const{sHandle:$n,bounds:Cn,prefixCls:_n,vertical:Pn,included:In,disabled:Nn,min:Rn,max:Dn,reverse:Ln,handle:Fn,defaultHandle:Bn,trackStyle:Hn,handleStyle:zn,tabindex:Wn,ariaLabelGroupForHandles:Yn,ariaLabelledByGroupForHandles:Gn,ariaValueTextFormatterGroupForHandles:Go}=this,Xn=Fn||Bn,Yo=Cn.map(Zo=>this.calcOffset(Zo)),qo=`${_n}-handle`,Jo=Cn.map((Zo,rr)=>{let nr=Wn[rr]||0;(Nn||Wn[rr]===null)&&(nr=null);const ta=$n===rr;return Xn({class:classNames({[qo]:!0,[`${qo}-${rr+1}`]:!0,[`${qo}-dragging`]:ta}),prefixCls:_n,vertical:Pn,dragging:ta,offset:Yo[rr],value:Zo,index:rr,tabindex:nr,min:Rn,max:Dn,reverse:Ln,disabled:Nn,style:zn[rr],ref:oa=>this.saveHandle(rr,oa),onFocus:this.onFocus,onBlur:this.onBlur,ariaLabel:Yn[rr],ariaLabelledBy:Gn[rr],ariaValueTextFormatter:Go[rr]})});return{tracks:this.getTrack({bounds:Cn,prefixCls:_n,reverse:Ln,vertical:Pn,included:In,offsets:Yo,trackStyle:Hn}),handles:Jo}}}}),VcRange=createSlider(Range),SliderTooltip=defineComponent({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:tooltipProps(),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=ref(null),Nn=ref(null);function Rn(){wrapperRaf.cancel(Nn.value),Nn.value=null}function Dn(){Nn.value=wrapperRaf(()=>{var Fn;(Fn=In.value)===null||Fn===void 0||Fn.forcePopupAlign(),Nn.value=null})}const Ln=()=>{Rn(),$n.open&&Dn()};return watch([()=>$n.open,()=>$n.title],()=>{Ln()},{flush:"post",immediate:!0}),onActivated(()=>{Ln()}),onBeforeUnmount(()=>{Rn()}),()=>createVNode(Tooltip,_objectSpread2$1(_objectSpread2$1({ref:In},$n),_n),Pn)}}),genBaseStyle$5=$n=>{const{componentCls:Cn,controlSize:_n,dotSize:Pn,marginFull:In,marginPart:Nn,colorFillContentHover:Rn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",height:_n,margin:`${Nn}px ${In}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${In}px ${Nn}px`},[`${Cn}-rail`]:{position:"absolute",backgroundColor:$n.colorFillTertiary,borderRadius:$n.borderRadiusXS,transition:`background-color ${$n.motionDurationMid}`},[`${Cn}-track`]:{position:"absolute",backgroundColor:$n.colorPrimaryBorder,borderRadius:$n.borderRadiusXS,transition:`background-color ${$n.motionDurationMid}`},"&:hover":{[`${Cn}-rail`]:{backgroundColor:$n.colorFillSecondary},[`${Cn}-track`]:{backgroundColor:$n.colorPrimaryBorderHover},[`${Cn}-dot`]:{borderColor:Rn},[`${Cn}-handle::after`]:{boxShadow:`0 0 0 ${$n.handleLineWidth}px ${$n.colorPrimaryBorderHover}`},[`${Cn}-dot-active`]:{borderColor:$n.colorPrimary}},[`${Cn}-handle`]:{position:"absolute",width:$n.handleSize,height:$n.handleSize,outline:"none",[`${Cn}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-$n.handleLineWidth,insetBlockStart:-$n.handleLineWidth,width:$n.handleSize+$n.handleLineWidth*2,height:$n.handleSize+$n.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:$n.handleSize,height:$n.handleSize,backgroundColor:$n.colorBgElevated,boxShadow:`0 0 0 ${$n.handleLineWidth}px ${$n.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:`
- inset-inline-start ${$n.motionDurationMid},
- inset-block-start ${$n.motionDurationMid},
- width ${$n.motionDurationMid},
- height ${$n.motionDurationMid},
- box-shadow ${$n.motionDurationMid}
- `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-(($n.handleSizeHover-$n.handleSize)/2+$n.handleLineWidthHover),insetBlockStart:-(($n.handleSizeHover-$n.handleSize)/2+$n.handleLineWidthHover),width:$n.handleSizeHover+$n.handleLineWidthHover*2,height:$n.handleSizeHover+$n.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${$n.handleLineWidthHover}px ${$n.colorPrimary}`,width:$n.handleSizeHover,height:$n.handleSizeHover,insetInlineStart:($n.handleSize-$n.handleSizeHover)/2,insetBlockStart:($n.handleSize-$n.handleSizeHover)/2}}},[`${Cn}-mark`]:{position:"absolute",fontSize:$n.fontSize},[`${Cn}-mark-text`]:{position:"absolute",display:"inline-block",color:$n.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:$n.colorText}},[`${Cn}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${Cn}-dot`]:{position:"absolute",width:Pn,height:Pn,backgroundColor:$n.colorBgElevated,border:`${$n.handleLineWidth}px solid ${$n.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${$n.motionDurationSlow}`,"&-active":{borderColor:$n.colorPrimaryBorder}},[`&${Cn}-disabled`]:{cursor:"not-allowed",[`${Cn}-rail`]:{backgroundColor:`${$n.colorFillSecondary} !important`},[`${Cn}-track`]:{backgroundColor:`${$n.colorTextDisabled} !important`},[`
- ${Cn}-dot
- `]:{backgroundColor:$n.colorBgElevated,borderColor:$n.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${Cn}-handle::after`]:{backgroundColor:$n.colorBgElevated,cursor:"not-allowed",width:$n.handleSize,height:$n.handleSize,boxShadow:`0 0 0 ${$n.handleLineWidth}px ${new TinyColor($n.colorTextDisabled).onBackground($n.colorBgContainer).toHexString()}`,insetInlineStart:0,insetBlockStart:0},[`
- ${Cn}-mark-text,
- ${Cn}-dot
- `]:{cursor:"not-allowed !important"}}})}},genDirectionStyle=($n,Cn)=>{const{componentCls:_n,railSize:Pn,handleSize:In,dotSize:Nn}=$n,Rn=Cn?"paddingBlock":"paddingInline",Dn=Cn?"width":"height",Ln=Cn?"height":"width",Fn=Cn?"insetBlockStart":"insetInlineStart",Bn=Cn?"top":"insetInlineStart";return{[Rn]:Pn,[Ln]:Pn*3,[`${_n}-rail`]:{[Dn]:"100%",[Ln]:Pn},[`${_n}-track`]:{[Ln]:Pn},[`${_n}-handle`]:{[Fn]:(Pn*3-In)/2},[`${_n}-mark`]:{insetInlineStart:0,top:0,[Bn]:In,[Dn]:"100%"},[`${_n}-step`]:{insetInlineStart:0,top:0,[Bn]:Pn,[Dn]:"100%",[Ln]:Pn},[`${_n}-dot`]:{position:"absolute",[Fn]:(Pn-Nn)/2}}},genHorizontalStyle=$n=>{const{componentCls:Cn,marginPartWithMark:_n}=$n;return{[`${Cn}-horizontal`]:_extends$1(_extends$1({},genDirectionStyle($n,!0)),{[`&${Cn}-with-marks`]:{marginBottom:_n}})}},genVerticalStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-vertical`]:_extends$1(_extends$1({},genDirectionStyle($n,!1)),{height:"100%"})}},useStyle$d=genComponentStyleHook("Slider",$n=>{const Cn=merge$1($n,{marginPart:($n.controlHeight-$n.controlSize)/2,marginFull:$n.controlSize/2,marginPartWithMark:$n.controlHeightLG-$n.controlSize});return[genBaseStyle$5(Cn),genHorizontalStyle(Cn),genVerticalStyle(Cn)]},$n=>{const _n=$n.controlHeightLG/4,Pn=$n.controlHeightSM/2,In=$n.lineWidth+1,Nn=$n.lineWidth+1*3;return{controlSize:_n,railSize:4,handleSize:_n,handleSizeHover:Pn,dotSize:8,handleLineWidth:In,handleLineWidthHover:Nn}});var __rest$k=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const defaultTipFormatter=$n=>typeof $n=="number"?$n.toString():"",sliderProps=()=>({id:String,prefixCls:String,tooltipPrefixCls:String,range:someType([Boolean,Object]),reverse:booleanType(),min:Number,max:Number,step:someType([Object,Number]),marks:objectType(),dots:booleanType(),value:someType([Array,Number]),defaultValue:someType([Array,Number]),included:booleanType(),disabled:booleanType(),vertical:booleanType(),tipFormatter:someType([Function,Object],()=>defaultTipFormatter),tooltipOpen:booleanType(),tooltipVisible:booleanType(),tooltipPlacement:stringType(),getTooltipPopupContainer:functionType(),autofocus:booleanType(),handleStyle:someType([Array,Object]),trackStyle:someType([Array,Object]),onChange:functionType(),onAfterChange:functionType(),onFocus:functionType(),onBlur:functionType(),"onUpdate:value":functionType()}),Slider=defineComponent({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:sliderProps(),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In,expose:Nn}=Cn;const{prefixCls:Rn,rootPrefixCls:Dn,direction:Ln,getPopupContainer:Fn,configProvider:Bn}=useConfigInject("slider",$n),[Hn,zn]=useStyle$d(Rn),Wn=useInjectFormItemContext(),Yn=ref(),Gn=ref({}),Go=(nr,ta)=>{Gn.value[nr]=ta},Xn=computed(()=>$n.tooltipPlacement?$n.tooltipPlacement:$n.vertical?Ln.value==="rtl"?"left":"right":"top"),Yo=()=>{var nr;(nr=Yn.value)===null||nr===void 0||nr.focus()},qo=()=>{var nr;(nr=Yn.value)===null||nr===void 0||nr.blur()},Jo=nr=>{In("update:value",nr),In("change",nr),Wn.onFieldChange()},Zo=nr=>{In("blur",nr)};Nn({focus:Yo,blur:qo});const rr=nr=>{var{tooltipPrefixCls:ta}=nr,oa=nr.info,{value:ra,dragging:ea,index:la}=oa,ua=__rest$k(oa,["value","dragging","index"]);const{tipFormatter:ga,tooltipOpen:aa=$n.tooltipVisible,getTooltipPopupContainer:ca}=$n,sa=ga?Gn.value[la]||ea:!1,ia=aa||aa===void 0&&sa;return createVNode(SliderTooltip,{prefixCls:ta,title:ga?ga(ra):"",open:ia,placement:Xn.value,transitionName:`${Dn.value}-zoom-down`,key:la,overlayClassName:`${Rn.value}-tooltip`,getPopupContainer:ca||(Fn==null?void 0:Fn.value)},{default:()=>[createVNode(VcHandle,_objectSpread2$1(_objectSpread2$1({},ua),{},{value:ra,onMouseenter:()=>Go(la,!0),onMouseleave:()=>Go(la,!1)}),null)]})};return()=>{const{tooltipPrefixCls:nr,range:ta,id:oa=Wn.id.value}=$n,ra=__rest$k($n,["tooltipPrefixCls","range","id"]),ea=Bn.getPrefixCls("tooltip",nr),la=classNames(_n.class,{[`${Rn.value}-rtl`]:Ln.value==="rtl"},zn.value);Ln.value==="rtl"&&!ra.vertical&&(ra.reverse=!ra.reverse);let ua;return typeof ta=="object"&&(ua=ta.draggableTrack),Hn(ta?createVNode(VcRange,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),ra),{},{step:ra.step,draggableTrack:ua,class:la,ref:Yn,handle:ga=>rr({tooltipPrefixCls:ea,prefixCls:Rn.value,info:ga}),prefixCls:Rn.value,onChange:Jo,onBlur:Zo}),{mark:Pn.mark}):createVNode(VcSlider,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),ra),{},{id:oa,step:ra.step,class:la,ref:Yn,handle:ga=>rr({tooltipPrefixCls:ea,prefixCls:Rn.value,info:ga}),prefixCls:Rn.value,onChange:Jo,onBlur:Zo}),{mark:Pn.mark}))}}}),index$c=withInstall(Slider);function isString$2($n){return typeof $n=="string"}function noop$5(){}const VcStepProps=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:stringType(),iconPrefix:String,icon:PropTypes.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:PropTypes.any,title:PropTypes.any,subTitle:PropTypes.any,progressDot:withUndefined(PropTypes.oneOfType([PropTypes.looseBool,PropTypes.func])),tailContent:PropTypes.any,icons:PropTypes.shape({finish:PropTypes.any,error:PropTypes.any}).loose,onClick:functionType(),onStepClick:functionType(),stepIcon:functionType(),itemRender:functionType(),__legacy:booleanType()}),VcStep=defineComponent({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:VcStepProps(),setup($n,Cn){let{slots:_n,emit:Pn,attrs:In}=Cn;const Nn=Dn=>{Pn("click",Dn),Pn("stepClick",$n.stepIndex)},Rn=Dn=>{let{icon:Ln,title:Fn,description:Bn}=Dn;const{prefixCls:Hn,stepNumber:zn,status:Wn,iconPrefix:Yn,icons:Gn,progressDot:Go=_n.progressDot,stepIcon:Xn=_n.stepIcon}=$n;let Yo;const qo=classNames(`${Hn}-icon`,`${Yn}icon`,{[`${Yn}icon-${Ln}`]:Ln&&isString$2(Ln),[`${Yn}icon-check`]:!Ln&&Wn==="finish"&&(Gn&&!Gn.finish||!Gn),[`${Yn}icon-cross`]:!Ln&&Wn==="error"&&(Gn&&!Gn.error||!Gn)}),Jo=createVNode("span",{class:`${Hn}-icon-dot`},null);return Go?typeof Go=="function"?Yo=createVNode("span",{class:`${Hn}-icon`},[Go({iconDot:Jo,index:zn-1,status:Wn,title:Fn,description:Bn,prefixCls:Hn})]):Yo=createVNode("span",{class:`${Hn}-icon`},[Jo]):Ln&&!isString$2(Ln)?Yo=createVNode("span",{class:`${Hn}-icon`},[Ln]):Gn&&Gn.finish&&Wn==="finish"?Yo=createVNode("span",{class:`${Hn}-icon`},[Gn.finish]):Gn&&Gn.error&&Wn==="error"?Yo=createVNode("span",{class:`${Hn}-icon`},[Gn.error]):Ln||Wn==="finish"||Wn==="error"?Yo=createVNode("span",{class:qo},null):Yo=createVNode("span",{class:`${Hn}-icon`},[zn]),Xn&&(Yo=Xn({index:zn-1,status:Wn,title:Fn,description:Bn,node:Yo})),Yo};return()=>{var Dn,Ln,Fn,Bn;const{prefixCls:Hn,itemWidth:zn,active:Wn,status:Yn="wait",tailContent:Gn,adjustMarginRight:Go,disabled:Xn,title:Yo=(Dn=_n.title)===null||Dn===void 0?void 0:Dn.call(_n),description:qo=(Ln=_n.description)===null||Ln===void 0?void 0:Ln.call(_n),subTitle:Jo=(Fn=_n.subTitle)===null||Fn===void 0?void 0:Fn.call(_n),icon:Zo=(Bn=_n.icon)===null||Bn===void 0?void 0:Bn.call(_n),onClick:rr,onStepClick:nr}=$n,ta=Yn||"wait",oa=classNames(`${Hn}-item`,`${Hn}-item-${ta}`,{[`${Hn}-item-custom`]:Zo,[`${Hn}-item-active`]:Wn,[`${Hn}-item-disabled`]:Xn===!0}),ra={};zn&&(ra.width=zn),Go&&(ra.marginRight=Go);const ea={onClick:rr||noop$5};nr&&!Xn&&(ea.role="button",ea.tabindex=0,ea.onClick=Nn);const la=createVNode("div",_objectSpread2$1(_objectSpread2$1({},omit$1(In,["__legacy"])),{},{class:[oa,In.class],style:[In.style,ra]}),[createVNode("div",_objectSpread2$1(_objectSpread2$1({},ea),{},{class:`${Hn}-item-container`}),[createVNode("div",{class:`${Hn}-item-tail`},[Gn]),createVNode("div",{class:`${Hn}-item-icon`},[Rn({icon:Zo,title:Yo,description:qo})]),createVNode("div",{class:`${Hn}-item-content`},[createVNode("div",{class:`${Hn}-item-title`},[Yo,Jo&&createVNode("div",{title:typeof Jo=="string"?Jo:void 0,class:`${Hn}-item-subtitle`},[Jo])]),qo&&createVNode("div",{class:`${Hn}-item-description`},[qo])])])]);return $n.itemRender?$n.itemRender(la):la}}});var __rest$j=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Steps$1=defineComponent({compatConfig:{MODE:3},name:"Steps",props:{type:PropTypes.string.def("default"),prefixCls:PropTypes.string.def("vc-steps"),iconPrefix:PropTypes.string.def("vc"),direction:PropTypes.string.def("horizontal"),labelPlacement:PropTypes.string.def("horizontal"),status:stringType("process"),size:PropTypes.string.def(""),progressDot:PropTypes.oneOfType([PropTypes.looseBool,PropTypes.func]).def(void 0),initial:PropTypes.number.def(0),current:PropTypes.number.def(0),items:PropTypes.array.def(()=>[]),icons:PropTypes.shape({finish:PropTypes.any,error:PropTypes.any}).loose,stepIcon:functionType(),isInline:PropTypes.looseBool,itemRender:functionType()},emits:["change"],setup($n,Cn){let{slots:_n,emit:Pn}=Cn;const In=Dn=>{const{current:Ln}=$n;Ln!==Dn&&Pn("change",Dn)},Nn=(Dn,Ln,Fn)=>{const{prefixCls:Bn,iconPrefix:Hn,status:zn,current:Wn,initial:Yn,icons:Gn,stepIcon:Go=_n.stepIcon,isInline:Xn,itemRender:Yo,progressDot:qo=_n.progressDot}=$n,Jo=Xn||qo,Zo=_extends$1(_extends$1({},Dn),{class:""}),rr=Yn+Ln,nr={active:rr===Wn,stepNumber:rr+1,stepIndex:rr,key:rr,prefixCls:Bn,iconPrefix:Hn,progressDot:Jo,stepIcon:Go,icons:Gn,onStepClick:In};return zn==="error"&&Ln===Wn-1&&(Zo.class=`${Bn}-next-error`),Zo.status||(rr===Wn?Zo.status=zn:rr<Wn?Zo.status="finish":Zo.status="wait"),Xn&&(Zo.icon=void 0,Zo.subTitle=void 0),Fn?Fn(_extends$1(_extends$1({},Zo),nr)):(Yo&&(Zo.itemRender=ta=>Yo(Zo,ta)),createVNode(VcStep,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Zo),nr),{},{__legacy:!1}),null))},Rn=(Dn,Ln)=>Nn(_extends$1({},Dn.props),Ln,Fn=>cloneElement(Dn,Fn));return()=>{var Dn;const{prefixCls:Ln,direction:Fn,type:Bn,labelPlacement:Hn,iconPrefix:zn,status:Wn,size:Yn,current:Gn,progressDot:Go=_n.progressDot,initial:Xn,icons:Yo,items:qo,isInline:Jo,itemRender:Zo}=$n,rr=__rest$j($n,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),nr=Bn==="navigation",ta=Jo||Go,oa=Jo?"horizontal":Fn,ra=Jo?void 0:Yn,ea=ta?"vertical":Hn,la=classNames(Ln,`${Ln}-${Fn}`,{[`${Ln}-${ra}`]:ra,[`${Ln}-label-${ea}`]:oa==="horizontal",[`${Ln}-dot`]:!!ta,[`${Ln}-navigation`]:nr,[`${Ln}-inline`]:Jo});return createVNode("div",_objectSpread2$1({class:la},rr),[qo.filter(ua=>ua).map((ua,ga)=>Nn(ua,ga)),filterEmpty((Dn=_n.default)===null||Dn===void 0?void 0:Dn.call(_n)).map(Rn)])}}}),genStepsCustomIconStyle=$n=>{const{componentCls:Cn,stepsIconCustomTop:_n,stepsIconCustomSize:Pn,stepsIconCustomFontSize:In}=$n;return{[`${Cn}-item-custom`]:{[`> ${Cn}-item-container > ${Cn}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${Cn}-icon`]:{top:_n,width:Pn,height:Pn,fontSize:In,lineHeight:`${Pn}px`}}},[`&:not(${Cn}-vertical)`]:{[`${Cn}-item-custom`]:{[`${Cn}-item-icon`]:{width:"auto",background:"none"}}}}},genStepsLabelPlacementStyle=$n=>{const{componentCls:Cn,stepsIconSize:_n,lineHeight:Pn,stepsSmallIconSize:In}=$n;return{[`&${Cn}-label-vertical`]:{[`${Cn}-item`]:{overflow:"visible","&-tail":{marginInlineStart:_n/2+$n.controlHeightLG,padding:`${$n.paddingXXS}px ${$n.paddingLG}px`},"&-content":{display:"block",width:(_n/2+$n.controlHeightLG)*2,marginTop:$n.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:$n.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:$n.marginXXS,marginInlineStart:0,lineHeight:Pn}},[`&${Cn}-small:not(${Cn}-dot)`]:{[`${Cn}-item`]:{"&-icon":{marginInlineStart:$n.controlHeightLG+(_n-In)/2}}}}}},genStepsNavStyle=$n=>{const{componentCls:Cn,stepsNavContentMaxWidth:_n,stepsNavArrowColor:Pn,stepsNavActiveColor:In,motionDurationSlow:Nn}=$n;return{[`&${Cn}-navigation`]:{paddingTop:$n.paddingSM,[`&${Cn}-small`]:{[`${Cn}-item`]:{"&-container":{marginInlineStart:-$n.marginSM}}},[`${Cn}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-$n.margin,paddingBottom:$n.paddingSM,textAlign:"start",transition:`opacity ${Nn}`,[`${Cn}-item-content`]:{maxWidth:_n},[`${Cn}-item-title`]:_extends$1(_extends$1({maxWidth:"100%",paddingInlineEnd:0},textEllipsis),{"&::after":{display:"none"}})},[`&:not(${Cn}-item-active)`]:{[`${Cn}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${$n.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:$n.fontSizeIcon,height:$n.fontSizeIcon,borderTop:`${$n.lineWidth}px ${$n.lineType} ${Pn}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${$n.lineWidth}px ${$n.lineType} ${Pn}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:$n.lineWidthBold,backgroundColor:In,transition:`width ${Nn}, inset-inline-start ${Nn}`,transitionTimingFunction:"ease-out",content:'""'}},[`${Cn}-item${Cn}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${Cn}-navigation${Cn}-vertical`]:{[`> ${Cn}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${Cn}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:$n.lineWidth*3,height:`calc(100% - ${$n.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:$n.controlHeight*.25,height:$n.controlHeight*.25,marginBottom:$n.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${Cn}-item-container > ${Cn}-item-tail`]:{visibility:"hidden"}}},[`&${Cn}-navigation${Cn}-horizontal`]:{[`> ${Cn}-item > ${Cn}-item-container > ${Cn}-item-tail`]:{visibility:"hidden"}}}},genStepsProgressStyle=$n=>{const{antCls:Cn,componentCls:_n}=$n;return{[`&${_n}-with-progress`]:{[`${_n}-item`]:{paddingTop:$n.paddingXXS,[`&-process ${_n}-item-container ${_n}-item-icon ${_n}-icon`]:{color:$n.processIconColor}},[`&${_n}-vertical > ${_n}-item `]:{paddingInlineStart:$n.paddingXXS,[`> ${_n}-item-container > ${_n}-item-tail`]:{top:$n.marginXXS,insetInlineStart:$n.stepsIconSize/2-$n.lineWidth+$n.paddingXXS}},[`&, &${_n}-small`]:{[`&${_n}-horizontal ${_n}-item:first-child`]:{paddingBottom:$n.paddingXXS,paddingInlineStart:$n.paddingXXS}},[`&${_n}-small${_n}-vertical > ${_n}-item > ${_n}-item-container > ${_n}-item-tail`]:{insetInlineStart:$n.stepsSmallIconSize/2-$n.lineWidth+$n.paddingXXS},[`&${_n}-label-vertical`]:{[`${_n}-item ${_n}-item-tail`]:{top:$n.margin-2*$n.lineWidth}},[`${_n}-item-icon`]:{position:"relative",[`${Cn}-progress`]:{position:"absolute",insetBlockStart:($n.stepsIconSize-$n.stepsProgressSize-$n.lineWidth*2)/2,insetInlineStart:($n.stepsIconSize-$n.stepsProgressSize-$n.lineWidth*2)/2}}}}},genStepsProgressDotStyle=$n=>{const{componentCls:Cn,descriptionWidth:_n,lineHeight:Pn,stepsCurrentDotSize:In,stepsDotSize:Nn,motionDurationSlow:Rn}=$n;return{[`&${Cn}-dot, &${Cn}-dot${Cn}-small`]:{[`${Cn}-item`]:{"&-title":{lineHeight:Pn},"&-tail":{top:Math.floor(($n.stepsDotSize-$n.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${_n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${$n.marginSM*2}px)`,height:$n.lineWidth*3,marginInlineStart:$n.marginSM}},"&-icon":{width:Nn,height:Nn,marginInlineStart:($n.descriptionWidth-Nn)/2,paddingInlineEnd:0,lineHeight:`${Nn}px`,background:"transparent",border:0,[`${Cn}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${Rn}`,"&::after":{position:"absolute",top:-$n.marginSM,insetInlineStart:(Nn-$n.controlHeightLG*1.5)/2,width:$n.controlHeightLG*1.5,height:$n.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:_n},[`&-process ${Cn}-item-icon`]:{position:"relative",top:(Nn-In)/2,width:In,height:In,lineHeight:`${In}px`,background:"none",marginInlineStart:($n.descriptionWidth-In)/2},[`&-process ${Cn}-icon`]:{[`&:first-child ${Cn}-icon-dot`]:{insetInlineStart:0}}}},[`&${Cn}-vertical${Cn}-dot`]:{[`${Cn}-item-icon`]:{marginTop:($n.controlHeight-Nn)/2,marginInlineStart:0,background:"none"},[`${Cn}-item-process ${Cn}-item-icon`]:{marginTop:($n.controlHeight-In)/2,top:0,insetInlineStart:(Nn-In)/2,marginInlineStart:0},[`${Cn}-item > ${Cn}-item-container > ${Cn}-item-tail`]:{top:($n.controlHeight-Nn)/2,insetInlineStart:0,margin:0,padding:`${Nn+$n.paddingXS}px 0 ${$n.paddingXS}px`,"&::after":{marginInlineStart:(Nn-$n.lineWidth)/2}},[`&${Cn}-small`]:{[`${Cn}-item-icon`]:{marginTop:($n.controlHeightSM-Nn)/2},[`${Cn}-item-process ${Cn}-item-icon`]:{marginTop:($n.controlHeightSM-In)/2},[`${Cn}-item > ${Cn}-item-container > ${Cn}-item-tail`]:{top:($n.controlHeightSM-Nn)/2}},[`${Cn}-item:first-child ${Cn}-icon-dot`]:{insetInlineStart:0},[`${Cn}-item-content`]:{width:"inherit"}}}},genStepsRTLStyle=$n=>{const{componentCls:Cn}=$n;return{[`&${Cn}-rtl`]:{direction:"rtl",[`${Cn}-item`]:{"&-subtitle":{float:"left"}},[`&${Cn}-navigation`]:{[`${Cn}-item::after`]:{transform:"rotate(-45deg)"}},[`&${Cn}-vertical`]:{[`> ${Cn}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${Cn}-item-icon`]:{float:"right"}}},[`&${Cn}-dot`]:{[`${Cn}-item-icon ${Cn}-icon-dot, &${Cn}-small ${Cn}-item-icon ${Cn}-icon-dot`]:{float:"right"}}}}},genStepsSmallStyle=$n=>{const{componentCls:Cn,stepsSmallIconSize:_n,fontSizeSM:Pn,fontSize:In,colorTextDescription:Nn}=$n;return{[`&${Cn}-small`]:{[`&${Cn}-horizontal:not(${Cn}-label-vertical) ${Cn}-item`]:{paddingInlineStart:$n.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${Cn}-item-icon`]:{width:_n,height:_n,marginTop:0,marginBottom:0,marginInline:`0 ${$n.marginXS}px`,fontSize:Pn,lineHeight:`${_n}px`,textAlign:"center",borderRadius:_n},[`${Cn}-item-title`]:{paddingInlineEnd:$n.paddingSM,fontSize:In,lineHeight:`${_n}px`,"&::after":{top:_n/2}},[`${Cn}-item-description`]:{color:Nn,fontSize:In},[`${Cn}-item-tail`]:{top:_n/2-$n.paddingXXS},[`${Cn}-item-custom ${Cn}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${Cn}-icon`]:{fontSize:_n,lineHeight:`${_n}px`,transform:"none"}}}}},genStepsVerticalStyle=$n=>{const{componentCls:Cn,stepsSmallIconSize:_n,stepsIconSize:Pn}=$n;return{[`&${Cn}-vertical`]:{display:"flex",flexDirection:"column",[`> ${Cn}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${Cn}-item-icon`]:{float:"left",marginInlineEnd:$n.margin},[`${Cn}-item-content`]:{display:"block",minHeight:$n.controlHeight*1.5,overflow:"hidden"},[`${Cn}-item-title`]:{lineHeight:`${Pn}px`},[`${Cn}-item-description`]:{paddingBottom:$n.paddingSM}},[`> ${Cn}-item > ${Cn}-item-container > ${Cn}-item-tail`]:{position:"absolute",top:0,insetInlineStart:$n.stepsIconSize/2-$n.lineWidth,width:$n.lineWidth,height:"100%",padding:`${Pn+$n.marginXXS*1.5}px 0 ${$n.marginXXS*1.5}px`,"&::after":{width:$n.lineWidth,height:"100%"}},[`> ${Cn}-item:not(:last-child) > ${Cn}-item-container > ${Cn}-item-tail`]:{display:"block"},[` > ${Cn}-item > ${Cn}-item-container > ${Cn}-item-content > ${Cn}-item-title`]:{"&::after":{display:"none"}},[`&${Cn}-small ${Cn}-item-container`]:{[`${Cn}-item-tail`]:{position:"absolute",top:0,insetInlineStart:$n.stepsSmallIconSize/2-$n.lineWidth,padding:`${_n+$n.marginXXS*1.5}px 0 ${$n.marginXXS*1.5}px`},[`${Cn}-item-title`]:{lineHeight:`${_n}px`}}}}},genStepsInlineStyle=$n=>{const{componentCls:Cn,inlineDotSize:_n,inlineTitleColor:Pn,inlineTailColor:In}=$n,Nn=$n.paddingXS+$n.lineWidth,Rn={[`${Cn}-item-container ${Cn}-item-content ${Cn}-item-title`]:{color:Pn}};return{[`&${Cn}-inline`]:{width:"auto",display:"inline-flex",[`${Cn}-item`]:{flex:"none","&-container":{padding:`${Nn}px ${$n.paddingXXS}px 0`,margin:`0 ${$n.marginXXS/2}px`,borderRadius:$n.borderRadiusSM,cursor:"pointer",transition:`background-color ${$n.motionDurationMid}`,"&:hover":{background:$n.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:_n,height:_n,marginInlineStart:`calc(50% - ${_n/2}px)`,[`> ${Cn}-icon`]:{top:0},[`${Cn}-icon-dot`]:{borderRadius:$n.fontSizeSM/4}},"&-content":{width:"auto",marginTop:$n.marginXS-$n.lineWidth},"&-title":{color:Pn,fontSize:$n.fontSizeSM,lineHeight:$n.lineHeightSM,fontWeight:"normal",marginBottom:$n.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:Nn+_n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:$n.lineWidth,borderRadius:0,marginInlineStart:0,background:In}},[`&:first-child ${Cn}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${Cn}-item-tail`]:{display:"block",width:"50%"},"&-wait":_extends$1({[`${Cn}-item-icon ${Cn}-icon ${Cn}-icon-dot`]:{backgroundColor:$n.colorBorderBg,border:`${$n.lineWidth}px ${$n.lineType} ${In}`}},Rn),"&-finish":_extends$1({[`${Cn}-item-tail::after`]:{backgroundColor:In},[`${Cn}-item-icon ${Cn}-icon ${Cn}-icon-dot`]:{backgroundColor:In,border:`${$n.lineWidth}px ${$n.lineType} ${In}`}},Rn),"&-error":Rn,"&-active, &-process":_extends$1({[`${Cn}-item-icon`]:{width:_n,height:_n,marginInlineStart:`calc(50% - ${_n/2}px)`,top:0}},Rn),[`&:not(${Cn}-item-active) > ${Cn}-item-container[role='button']:hover`]:{[`${Cn}-item-title`]:{color:Pn}}}}}};var StepItemStatusEnum;(function($n){$n.wait="wait",$n.process="process",$n.finish="finish",$n.error="error"})(StepItemStatusEnum||(StepItemStatusEnum={}));const genStepsItemStatusStyle=($n,Cn)=>{const _n=`${Cn.componentCls}-item`,Pn=`${$n}IconColor`,In=`${$n}TitleColor`,Nn=`${$n}DescriptionColor`,Rn=`${$n}TailColor`,Dn=`${$n}IconBgColor`,Ln=`${$n}IconBorderColor`,Fn=`${$n}DotColor`;return{[`${_n}-${$n} ${_n}-icon`]:{backgroundColor:Cn[Dn],borderColor:Cn[Ln],[`> ${Cn.componentCls}-icon`]:{color:Cn[Pn],[`${Cn.componentCls}-icon-dot`]:{background:Cn[Fn]}}},[`${_n}-${$n}${_n}-custom ${_n}-icon`]:{[`> ${Cn.componentCls}-icon`]:{color:Cn[Fn]}},[`${_n}-${$n} > ${_n}-container > ${_n}-content > ${_n}-title`]:{color:Cn[In],"&::after":{backgroundColor:Cn[Rn]}},[`${_n}-${$n} > ${_n}-container > ${_n}-content > ${_n}-description`]:{color:Cn[Nn]},[`${_n}-${$n} > ${_n}-container > ${_n}-tail::after`]:{backgroundColor:Cn[Rn]}}},genStepsItemStyle=$n=>{const{componentCls:Cn,motionDurationSlow:_n}=$n,Pn=`${Cn}-item`;return _extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({[Pn]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${Pn}-container > ${Pn}-tail, > ${Pn}-container > ${Pn}-content > ${Pn}-title::after`]:{display:"none"}}},[`${Pn}-container`]:{outline:"none"},[`${Pn}-icon, ${Pn}-content`]:{display:"inline-block",verticalAlign:"top"},[`${Pn}-icon`]:{width:$n.stepsIconSize,height:$n.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:$n.marginXS,fontSize:$n.stepsIconFontSize,fontFamily:$n.fontFamily,lineHeight:`${$n.stepsIconSize}px`,textAlign:"center",borderRadius:$n.stepsIconSize,border:`${$n.lineWidth}px ${$n.lineType} transparent`,transition:`background-color ${_n}, border-color ${_n}`,[`${Cn}-icon`]:{position:"relative",top:$n.stepsIconTop,color:$n.colorPrimary,lineHeight:1}},[`${Pn}-tail`]:{position:"absolute",top:$n.stepsIconSize/2-$n.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:$n.lineWidth,background:$n.colorSplit,borderRadius:$n.lineWidth,transition:`background ${_n}`,content:'""'}},[`${Pn}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:$n.padding,color:$n.colorText,fontSize:$n.fontSizeLG,lineHeight:`${$n.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:$n.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:$n.lineWidth,background:$n.processTailColor,content:'""'}},[`${Pn}-subtitle`]:{display:"inline",marginInlineStart:$n.marginXS,color:$n.colorTextDescription,fontWeight:"normal",fontSize:$n.fontSize},[`${Pn}-description`]:{color:$n.colorTextDescription,fontSize:$n.fontSize}},genStepsItemStatusStyle(StepItemStatusEnum.wait,$n)),genStepsItemStatusStyle(StepItemStatusEnum.process,$n)),{[`${Pn}-process > ${Pn}-container > ${Pn}-title`]:{fontWeight:$n.fontWeightStrong}}),genStepsItemStatusStyle(StepItemStatusEnum.finish,$n)),genStepsItemStatusStyle(StepItemStatusEnum.error,$n)),{[`${Pn}${Cn}-next-error > ${Cn}-item-title::after`]:{background:$n.colorError},[`${Pn}-disabled`]:{cursor:"not-allowed"}})},genStepsClickableStyle=$n=>{const{componentCls:Cn,motionDurationSlow:_n}=$n;return{[`& ${Cn}-item`]:{[`&:not(${Cn}-item-active)`]:{[`& > ${Cn}-item-container[role='button']`]:{cursor:"pointer",[`${Cn}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${Cn}-icon`]:{transition:`color ${_n}`}},"&:hover":{[`${Cn}-item`]:{"&-title, &-subtitle, &-description":{color:$n.colorPrimary}}}},[`&:not(${Cn}-item-process)`]:{[`& > ${Cn}-item-container[role='button']:hover`]:{[`${Cn}-item`]:{"&-icon":{borderColor:$n.colorPrimary,[`${Cn}-icon`]:{color:$n.colorPrimary}}}}}}},[`&${Cn}-horizontal:not(${Cn}-label-vertical)`]:{[`${Cn}-item`]:{paddingInlineStart:$n.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${Cn}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:$n.descriptionWidth,whiteSpace:"normal"}}}}},genStepsStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),genStepsItemStyle($n)),genStepsClickableStyle($n)),genStepsCustomIconStyle($n)),genStepsSmallStyle($n)),genStepsVerticalStyle($n)),genStepsLabelPlacementStyle($n)),genStepsProgressDotStyle($n)),genStepsNavStyle($n)),genStepsRTLStyle($n)),genStepsProgressStyle($n)),genStepsInlineStyle($n))}},useStyle$c=genComponentStyleHook("Steps",$n=>{const{wireframe:Cn,colorTextDisabled:_n,fontSizeHeading3:Pn,fontSize:In,controlHeight:Nn,controlHeightLG:Rn,colorTextLightSolid:Dn,colorText:Ln,colorPrimary:Fn,colorTextLabel:Bn,colorTextDescription:Hn,colorTextQuaternary:zn,colorFillContent:Wn,controlItemBgActive:Yn,colorError:Gn,colorBgContainer:Go,colorBorderSecondary:Xn}=$n,Yo=$n.controlHeight,qo=$n.colorSplit,Jo=merge$1($n,{processTailColor:qo,stepsNavArrowColor:_n,stepsIconSize:Yo,stepsIconCustomSize:Yo,stepsIconCustomTop:0,stepsIconCustomFontSize:Rn/2,stepsIconTop:-.5,stepsIconFontSize:In,stepsTitleLineHeight:Nn,stepsSmallIconSize:Pn,stepsDotSize:Nn/4,stepsCurrentDotSize:Rn/4,stepsNavContentMaxWidth:"auto",processIconColor:Dn,processTitleColor:Ln,processDescriptionColor:Ln,processIconBgColor:Fn,processIconBorderColor:Fn,processDotColor:Fn,waitIconColor:Cn?_n:Bn,waitTitleColor:Hn,waitDescriptionColor:Hn,waitTailColor:qo,waitIconBgColor:Cn?Go:Wn,waitIconBorderColor:Cn?_n:"transparent",waitDotColor:_n,finishIconColor:Fn,finishTitleColor:Ln,finishDescriptionColor:Hn,finishTailColor:Fn,finishIconBgColor:Cn?Go:Yn,finishIconBorderColor:Cn?Fn:Yn,finishDotColor:Fn,errorIconColor:Dn,errorTitleColor:Gn,errorDescriptionColor:Gn,errorTailColor:qo,errorIconBgColor:Gn,errorIconBorderColor:Gn,errorDotColor:Gn,stepsNavActiveColor:Fn,stepsProgressSize:Rn,inlineDotSize:6,inlineTitleColor:zn,inlineTailColor:Xn});return[genStepsStyle(Jo)]},{descriptionWidth:140}),stepsProps=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:booleanType(),items:arrayType(),labelPlacement:stringType(),status:stringType(),size:stringType(),direction:stringType(),progressDot:someType([Boolean,Function]),type:stringType(),onChange:functionType(),"onUpdate:current":functionType()}),Steps=defineComponent({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:initDefaultProps(stepsProps(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const{prefixCls:Nn,direction:Rn,configProvider:Dn}=useConfigInject("steps",$n),[Ln,Fn]=useStyle$c(Nn),[,Bn]=useToken(),Hn=useBreakpoint(),zn=computed(()=>$n.responsive&&Hn.value.xs?"vertical":$n.direction),Wn=computed(()=>Dn.getPrefixCls("",$n.iconPrefix)),Yn=qo=>{In("update:current",qo),In("change",qo)},Gn=computed(()=>$n.type==="inline"),Go=computed(()=>Gn.value?void 0:$n.percent),Xn=qo=>{let{node:Jo,status:Zo}=qo;if(Zo==="process"&&$n.percent!==void 0){const rr=$n.size==="small"?Bn.value.controlHeight:Bn.value.controlHeightLG;return createVNode("div",{class:`${Nn.value}-progress-icon`},[createVNode(Progress,{type:"circle",percent:Go.value,size:rr,strokeWidth:4,format:()=>null},null),Jo])}return Jo},Yo=computed(()=>({finish:createVNode(CheckOutlined$1,{class:`${Nn.value}-finish-icon`},null),error:createVNode(CloseOutlined$1,{class:`${Nn.value}-error-icon`},null)}));return()=>{const qo=classNames({[`${Nn.value}-rtl`]:Rn.value==="rtl",[`${Nn.value}-with-progress`]:Go.value!==void 0},_n.class,Fn.value),Jo=(Zo,rr)=>Zo.description?createVNode(Tooltip,{title:Zo.description},{default:()=>[rr]}):rr;return Ln(createVNode(Steps$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({icons:Yo.value},_n),omit$1($n,["percent","responsive"])),{},{items:$n.items,direction:zn.value,prefixCls:Nn.value,iconPrefix:Wn.value,class:qo,onChange:Yn,isInline:Gn.value,itemRender:Gn.value?Jo:void 0}),_extends$1({stepIcon:Xn},Pn)))}}}),Step=defineComponent(_extends$1(_extends$1({compatConfig:{MODE:3}},VcStep),{name:"AStep",props:VcStepProps()})),index$b=_extends$1(Steps,{Step,install:$n=>($n.component(Steps.name,Steps),$n.component(Step.name,Step),$n)}),genSwitchSmallStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-inner`;return{[Cn]:{[`&${Cn}-small`]:{minWidth:$n.switchMinWidthSM,height:$n.switchHeightSM,lineHeight:`${$n.switchHeightSM}px`,[`${Cn}-inner`]:{paddingInlineStart:$n.switchInnerMarginMaxSM,paddingInlineEnd:$n.switchInnerMarginMinSM,[`${_n}-checked`]:{marginInlineStart:`calc(-100% + ${$n.switchPinSizeSM+$n.switchPadding*2}px - ${$n.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${$n.switchPinSizeSM+$n.switchPadding*2}px + ${$n.switchInnerMarginMaxSM*2}px)`},[`${_n}-unchecked`]:{marginTop:-$n.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${Cn}-handle`]:{width:$n.switchPinSizeSM,height:$n.switchPinSizeSM},[`${Cn}-loading-icon`]:{top:($n.switchPinSizeSM-$n.switchLoadingIconSize)/2,fontSize:$n.switchLoadingIconSize},[`&${Cn}-checked`]:{[`${Cn}-inner`]:{paddingInlineStart:$n.switchInnerMarginMinSM,paddingInlineEnd:$n.switchInnerMarginMaxSM,[`${_n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${_n}-unchecked`]:{marginInlineStart:`calc(100% - ${$n.switchPinSizeSM+$n.switchPadding*2}px + ${$n.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${$n.switchPinSizeSM+$n.switchPadding*2}px - ${$n.switchInnerMarginMaxSM*2}px)`}},[`${Cn}-handle`]:{insetInlineStart:`calc(100% - ${$n.switchPinSizeSM+$n.switchPadding}px)`}},[`&:not(${Cn}-disabled):active`]:{[`&:not(${Cn}-checked) ${_n}`]:{[`${_n}-unchecked`]:{marginInlineStart:$n.marginXXS/2,marginInlineEnd:-$n.marginXXS/2}},[`&${Cn}-checked ${_n}`]:{[`${_n}-checked`]:{marginInlineStart:-$n.marginXXS/2,marginInlineEnd:$n.marginXXS/2}}}}}}},genSwitchLoadingStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{[`${Cn}-loading-icon${$n.iconCls}`]:{position:"relative",top:($n.switchPinSize-$n.fontSize)/2,color:$n.switchLoadingIconColor,verticalAlign:"top"},[`&${Cn}-checked ${Cn}-loading-icon`]:{color:$n.switchColor}}}},genSwitchHandleStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-handle`;return{[Cn]:{[_n]:{position:"absolute",top:$n.switchPadding,insetInlineStart:$n.switchPadding,width:$n.switchPinSize,height:$n.switchPinSize,transition:`all ${$n.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:$n.colorWhite,borderRadius:$n.switchPinSize/2,boxShadow:$n.switchHandleShadow,transition:`all ${$n.switchDuration} ease-in-out`,content:'""'}},[`&${Cn}-checked ${_n}`]:{insetInlineStart:`calc(100% - ${$n.switchPinSize+$n.switchPadding}px)`},[`&:not(${Cn}-disabled):active`]:{[`${_n}::before`]:{insetInlineEnd:$n.switchHandleActiveInset,insetInlineStart:0},[`&${Cn}-checked ${_n}::before`]:{insetInlineEnd:0,insetInlineStart:$n.switchHandleActiveInset}}}}},genSwitchInnerStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-inner`;return{[Cn]:{[_n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:$n.switchInnerMarginMax,paddingInlineEnd:$n.switchInnerMarginMin,transition:`padding-inline-start ${$n.switchDuration} ease-in-out, padding-inline-end ${$n.switchDuration} ease-in-out`,[`${_n}-checked, ${_n}-unchecked`]:{display:"block",color:$n.colorTextLightSolid,fontSize:$n.fontSizeSM,transition:`margin-inline-start ${$n.switchDuration} ease-in-out, margin-inline-end ${$n.switchDuration} ease-in-out`,pointerEvents:"none"},[`${_n}-checked`]:{marginInlineStart:`calc(-100% + ${$n.switchPinSize+$n.switchPadding*2}px - ${$n.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${$n.switchPinSize+$n.switchPadding*2}px + ${$n.switchInnerMarginMax*2}px)`},[`${_n}-unchecked`]:{marginTop:-$n.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${Cn}-checked ${_n}`]:{paddingInlineStart:$n.switchInnerMarginMin,paddingInlineEnd:$n.switchInnerMarginMax,[`${_n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${_n}-unchecked`]:{marginInlineStart:`calc(100% - ${$n.switchPinSize+$n.switchPadding*2}px + ${$n.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${$n.switchPinSize+$n.switchPadding*2}px - ${$n.switchInnerMarginMax*2}px)`}},[`&:not(${Cn}-disabled):active`]:{[`&:not(${Cn}-checked) ${_n}`]:{[`${_n}-unchecked`]:{marginInlineStart:$n.switchPadding*2,marginInlineEnd:-$n.switchPadding*2}},[`&${Cn}-checked ${_n}`]:{[`${_n}-checked`]:{marginInlineStart:-$n.switchPadding*2,marginInlineEnd:$n.switchPadding*2}}}}}},genSwitchStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:$n.switchMinWidth,height:$n.switchHeight,lineHeight:`${$n.switchHeight}px`,verticalAlign:"middle",background:$n.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${$n.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Cn}-disabled)`]:{background:$n.colorTextTertiary}}),genFocusStyle($n)),{[`&${Cn}-checked`]:{background:$n.switchColor,[`&:hover:not(${Cn}-disabled)`]:{background:$n.colorPrimaryHover}},[`&${Cn}-loading, &${Cn}-disabled`]:{cursor:"not-allowed",opacity:$n.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Cn}-rtl`]:{direction:"rtl"}})}},useStyle$b=genComponentStyleHook("Switch",$n=>{const Cn=$n.fontSize*$n.lineHeight,_n=$n.controlHeight/2,Pn=2,In=Cn-Pn*2,Nn=_n-Pn*2,Rn=merge$1($n,{switchMinWidth:In*2+Pn*4,switchHeight:Cn,switchDuration:$n.motionDurationMid,switchColor:$n.colorPrimary,switchDisabledOpacity:$n.opacityLoading,switchInnerMarginMin:In/2,switchInnerMarginMax:In+Pn+Pn*2,switchPadding:Pn,switchPinSize:In,switchBg:$n.colorBgContainer,switchMinWidthSM:Nn*2+Pn*2,switchHeightSM:_n,switchInnerMarginMinSM:Nn/2,switchInnerMarginMaxSM:Nn+Pn+Pn*2,switchPinSizeSM:Nn,switchHandleShadow:`0 2px 4px 0 ${new TinyColor("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:$n.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${$n.opacityLoading})`,switchHandleActiveInset:"-30%"});return[genSwitchStyle(Rn),genSwitchInnerStyle(Rn),genSwitchHandleStyle(Rn),genSwitchLoadingStyle(Rn),genSwitchSmallStyle(Rn)]}),SwitchSizes=tuple$1("small","default"),switchProps=()=>({id:String,prefixCls:String,size:PropTypes.oneOf(SwitchSizes),disabled:{type:Boolean,default:void 0},checkedChildren:PropTypes.any,unCheckedChildren:PropTypes.any,tabindex:PropTypes.oneOfType([PropTypes.string,PropTypes.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:PropTypes.oneOfType([PropTypes.string,PropTypes.number,PropTypes.looseBool]),checkedValue:PropTypes.oneOfType([PropTypes.string,PropTypes.number,PropTypes.looseBool]).def(!0),unCheckedValue:PropTypes.oneOfType([PropTypes.string,PropTypes.number,PropTypes.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),Switch=defineComponent({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:switchProps(),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,expose:In,emit:Nn}=Cn;const Rn=useInjectFormItemContext(),Dn=useInjectDisabled(),Ln=computed(()=>{var oa;return(oa=$n.disabled)!==null&&oa!==void 0?oa:Dn.value});onBeforeMount(()=>{warning$3(),warning$3()});const Fn=ref($n.checked!==void 0?$n.checked:_n.defaultChecked),Bn=computed(()=>Fn.value===$n.checkedValue);watch(()=>$n.checked,()=>{Fn.value=$n.checked});const{prefixCls:Hn,direction:zn,size:Wn}=useConfigInject("switch",$n),[Yn,Gn]=useStyle$b(Hn),Go=ref(),Xn=()=>{var oa;(oa=Go.value)===null||oa===void 0||oa.focus()};In({focus:Xn,blur:()=>{var oa;(oa=Go.value)===null||oa===void 0||oa.blur()}}),onMounted(()=>{nextTick(()=>{$n.autofocus&&!Ln.value&&Go.value.focus()})});const qo=(oa,ra)=>{Ln.value||(Nn("update:checked",oa),Nn("change",oa,ra),Rn.onFieldChange())},Jo=oa=>{Nn("blur",oa)},Zo=oa=>{Xn();const ra=Bn.value?$n.unCheckedValue:$n.checkedValue;qo(ra,oa),Nn("click",ra,oa)},rr=oa=>{oa.keyCode===KeyCode$1.LEFT?qo($n.unCheckedValue,oa):oa.keyCode===KeyCode$1.RIGHT&&qo($n.checkedValue,oa),Nn("keydown",oa)},nr=oa=>{var ra;(ra=Go.value)===null||ra===void 0||ra.blur(),Nn("mouseup",oa)},ta=computed(()=>({[`${Hn.value}-small`]:Wn.value==="small",[`${Hn.value}-loading`]:$n.loading,[`${Hn.value}-checked`]:Bn.value,[`${Hn.value}-disabled`]:Ln.value,[Hn.value]:!0,[`${Hn.value}-rtl`]:zn.value==="rtl",[Gn.value]:!0}));return()=>{var oa;return Yn(createVNode(Wave,null,{default:()=>[createVNode("button",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},omit$1($n,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),_n),{},{id:(oa=$n.id)!==null&&oa!==void 0?oa:Rn.id.value,onKeydown:rr,onClick:Zo,onBlur:Jo,onMouseup:nr,type:"button",role:"switch","aria-checked":Fn.value,disabled:Ln.value||$n.loading,class:[_n.class,ta.value],ref:Go}),[createVNode("div",{class:`${Hn.value}-handle`},[$n.loading?createVNode(LoadingOutlined$1,{class:`${Hn.value}-loading-icon`},null):null]),createVNode("span",{class:`${Hn.value}-inner`},[createVNode("span",{class:`${Hn.value}-inner-checked`},[getPropsSlot(Pn,$n,"checkedChildren")]),createVNode("span",{class:`${Hn.value}-inner-unchecked`},[getPropsSlot(Pn,$n,"unCheckedChildren")])])])]}))}}}),index$a=withInstall(Switch),TableContextKey=Symbol("TableContextProps"),useProvideTable=$n=>{provide(TableContextKey,$n)},useInjectTable=()=>inject(TableContextKey,{}),INTERNAL_KEY_PREFIX="RC_TABLE_KEY";function toArray$1($n){return $n==null?[]:Array.isArray($n)?$n:[$n]}function getPathValue($n,Cn){if(!Cn&&typeof Cn!="number")return $n;const _n=toArray$1(Cn);let Pn=$n;for(let In=0;In<_n.length;In+=1){if(!Pn)return null;const Nn=_n[In];Pn=Pn[Nn]}return Pn}function getColumnsKey($n){const Cn=[],_n={};return $n.forEach(Pn=>{const{key:In,dataIndex:Nn}=Pn||{};let Rn=In||toArray$1(Nn).join("-")||INTERNAL_KEY_PREFIX;for(;_n[Rn];)Rn=`${Rn}_next`;_n[Rn]=!0,Cn.push(Rn)}),Cn}function mergeObject(){const $n={};function Cn(Nn,Rn){Rn&&Object.keys(Rn).forEach(Dn=>{const Ln=Rn[Dn];Ln&&typeof Ln=="object"?(Nn[Dn]=Nn[Dn]||{},Cn(Nn[Dn],Ln)):Nn[Dn]=Ln})}for(var _n=arguments.length,Pn=new Array(_n),In=0;In<_n;In++)Pn[In]=arguments[In];return Pn.forEach(Nn=>{Cn($n,Nn)}),$n}function validateValue($n){return $n!=null}const SlotsContextKey=Symbol("SlotsContextProps"),useProvideSlots=$n=>{provide(SlotsContextKey,$n)},useInjectSlots=()=>inject(SlotsContextKey,computed(()=>({}))),ContextKey=Symbol("ContextProps"),useProvideTableContext=$n=>{provide(ContextKey,$n)},useInjectTableContext=()=>inject(ContextKey,{onResizeColumn:()=>{}}),INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",HoverContextKey=Symbol("HoverContextProps"),useProvideHover=$n=>{provide(HoverContextKey,$n)},useInjectHover=()=>inject(HoverContextKey,{startRow:shallowRef(-1),endRow:shallowRef(-1),onHover(){}}),supportSticky=shallowRef(!1),useProvideSticky=()=>{onMounted(()=>{supportSticky.value=supportSticky.value||isStyleSupport("position","sticky")})},useInjectSticky=()=>supportSticky;var __rest$i=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function inHoverRange($n,Cn,_n,Pn){const In=$n+Cn-1;return $n<=Pn&&In>=_n}function isRenderCell($n){return $n&&typeof $n=="object"&&!Array.isArray($n)&&!isVNode$1($n)}const Cell=defineComponent({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectSlots(),{onHover:In,startRow:Nn,endRow:Rn}=useInjectHover(),Dn=computed(()=>{var Yn,Gn,Go,Xn;return(Go=(Yn=$n.colSpan)!==null&&Yn!==void 0?Yn:(Gn=$n.additionalProps)===null||Gn===void 0?void 0:Gn.colSpan)!==null&&Go!==void 0?Go:(Xn=$n.additionalProps)===null||Xn===void 0?void 0:Xn.colspan}),Ln=computed(()=>{var Yn,Gn,Go,Xn;return(Go=(Yn=$n.rowSpan)!==null&&Yn!==void 0?Yn:(Gn=$n.additionalProps)===null||Gn===void 0?void 0:Gn.rowSpan)!==null&&Go!==void 0?Go:(Xn=$n.additionalProps)===null||Xn===void 0?void 0:Xn.rowspan}),Fn=eagerComputed(()=>{const{index:Yn}=$n;return inHoverRange(Yn,Ln.value||1,Nn.value,Rn.value)}),Bn=useInjectSticky(),Hn=(Yn,Gn)=>{var Go;const{record:Xn,index:Yo,additionalProps:qo}=$n;Xn&&In(Yo,Yo+Gn-1),(Go=qo==null?void 0:qo.onMouseenter)===null||Go===void 0||Go.call(qo,Yn)},zn=Yn=>{var Gn;const{record:Go,additionalProps:Xn}=$n;Go&&In(-1,-1),(Gn=Xn==null?void 0:Xn.onMouseleave)===null||Gn===void 0||Gn.call(Xn,Yn)},Wn=Yn=>{const Gn=filterEmpty(Yn)[0];return isVNode$1(Gn)?Gn.type===Text$2?Gn.children:Array.isArray(Gn.children)?Wn(Gn.children):void 0:Gn};return()=>{var Yn,Gn,Go,Xn,Yo,qo;const{prefixCls:Jo,record:Zo,index:rr,renderIndex:nr,dataIndex:ta,customRender:oa,component:ra="td",fixLeft:ea,fixRight:la,firstFixLeft:ua,lastFixLeft:ga,firstFixRight:aa,lastFixRight:ca,appendNode:sa=(Yn=_n.appendNode)===null||Yn===void 0?void 0:Yn.call(_n),additionalProps:ia={},ellipsis:fa,align:ma,rowType:ya,isSticky:ba,column:Ia={},cellType:Ea}=$n,xa=`${Jo}-cell`;let Ta,wa;const La=(Gn=_n.default)===null||Gn===void 0?void 0:Gn.call(_n);if(validateValue(La)||Ea==="header")wa=La;else{const Xa=getPathValue(Zo,ta);if(wa=Xa,oa){const Oa=oa({text:Xa,value:Xa,record:Zo,index:rr,renderIndex:nr,column:Ia.__originColumn__});isRenderCell(Oa)?(wa=Oa.children,Ta=Oa.props):wa=Oa}if(!(INTERNAL_COL_DEFINE in Ia)&&Ea==="body"&&Pn.value.bodyCell&&!(!((Go=Ia.slots)===null||Go===void 0)&&Go.customRender)){const Oa=customRenderSlot(Pn.value,"bodyCell",{text:Xa,value:Xa,record:Zo,index:rr,column:Ia.__originColumn__},()=>{const Ma=wa===void 0?Xa:wa;return[typeof Ma=="object"&&isValidElement(Ma)||typeof Ma!="object"?Ma:null]});wa=flattenChildren(Oa)}$n.transformCellText&&(wa=$n.transformCellText({text:wa,record:Zo,index:rr,column:Ia.__originColumn__}))}typeof wa=="object"&&!Array.isArray(wa)&&!isVNode$1(wa)&&(wa=null),fa&&(ga||aa)&&(wa=createVNode("span",{class:`${xa}-content`},[wa])),Array.isArray(wa)&&wa.length===1&&(wa=wa[0]);const Na=Ta||{},{colSpan:$a,rowSpan:ka,style:Ha,class:da}=Na,pa=__rest$i(Na,["colSpan","rowSpan","style","class"]),Sa=(Xn=$a!==void 0?$a:Dn.value)!==null&&Xn!==void 0?Xn:1,Aa=(Yo=ka!==void 0?ka:Ln.value)!==null&&Yo!==void 0?Yo:1;if(Sa===0||Aa===0)return null;const Ra={},Fa=typeof ea=="number"&&Bn.value,za=typeof la=="number"&&Bn.value;Fa&&(Ra.position="sticky",Ra.left=`${ea}px`),za&&(Ra.position="sticky",Ra.right=`${la}px`);const Wa={};ma&&(Wa.textAlign=ma);let Ya;const ja=fa===!0?{showTitle:!0}:fa;ja&&(ja.showTitle||ya==="header")&&(typeof wa=="string"||typeof wa=="number"?Ya=wa.toString():isVNode$1(wa)&&(Ya=Wn([wa])));const qa=_extends$1(_extends$1(_extends$1({title:Ya},pa),ia),{colSpan:Sa!==1?Sa:null,rowSpan:Aa!==1?Aa:null,class:classNames(xa,{[`${xa}-fix-left`]:Fa&&Bn.value,[`${xa}-fix-left-first`]:ua&&Bn.value,[`${xa}-fix-left-last`]:ga&&Bn.value,[`${xa}-fix-right`]:za&&Bn.value,[`${xa}-fix-right-first`]:aa&&Bn.value,[`${xa}-fix-right-last`]:ca&&Bn.value,[`${xa}-ellipsis`]:fa,[`${xa}-with-append`]:sa,[`${xa}-fix-sticky`]:(Fa||za)&&ba&&Bn.value,[`${xa}-row-hover`]:!Ta&&Fn.value},ia.class,da),onMouseenter:Xa=>{Hn(Xa,Aa)},onMouseleave:zn,style:[ia.style,Wa,Ra,Ha]});return createVNode(ra,qa,{default:()=>[sa,wa,(qo=_n.dragHandle)===null||qo===void 0?void 0:qo.call(_n)]})}}});function getCellFixedInfo($n,Cn,_n,Pn,In){const Nn=_n[$n]||{},Rn=_n[Cn]||{};let Dn,Ln;Nn.fixed==="left"?Dn=Pn.left[$n]:Rn.fixed==="right"&&(Ln=Pn.right[Cn]);let Fn=!1,Bn=!1,Hn=!1,zn=!1;const Wn=_n[Cn+1],Yn=_n[$n-1];return In==="rtl"?Dn!==void 0?zn=!(Yn&&Yn.fixed==="left"):Ln!==void 0&&(Hn=!(Wn&&Wn.fixed==="right")):Dn!==void 0?Fn=!(Wn&&Wn.fixed==="left"):Ln!==void 0&&(Bn=!(Yn&&Yn.fixed==="right")),{fixLeft:Dn,fixRight:Ln,lastFixLeft:Fn,firstFixRight:Bn,lastFixRight:Hn,firstFixLeft:zn,isSticky:Pn.isSticky}}const events={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},defaultMinWidth=50,DragHandleVue=defineComponent({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:defaultMinWidth},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup($n){let Cn=0,_n={remove:()=>{}},Pn={remove:()=>{}};const In=()=>{_n.remove(),Pn.remove()};onUnmounted(()=>{In()}),watchEffect(()=>{devWarning(!isNaN($n.width),"Table","width must be a number when use resizable")});const{onResizeColumn:Nn}=useInjectTableContext(),Rn=computed(()=>typeof $n.minWidth=="number"&&!isNaN($n.minWidth)?$n.minWidth:defaultMinWidth),Dn=computed(()=>typeof $n.maxWidth=="number"&&!isNaN($n.maxWidth)?$n.maxWidth:1/0),Ln=getCurrentInstance();let Fn=0;const Bn=shallowRef(!1);let Hn;const zn=qo=>{let Jo=0;qo.touches?qo.touches.length?Jo=qo.touches[0].pageX:Jo=qo.changedTouches[0].pageX:Jo=qo.pageX;const Zo=Cn-Jo;let rr=Math.max(Fn-Zo,Rn.value);rr=Math.min(rr,Dn.value),wrapperRaf.cancel(Hn),Hn=wrapperRaf(()=>{Nn(rr,$n.column.__originColumn__)})},Wn=qo=>{zn(qo)},Yn=qo=>{Bn.value=!1,zn(qo),In()},Gn=(qo,Jo)=>{Bn.value=!0,In(),Fn=Ln.vnode.el.parentNode.getBoundingClientRect().width,!(qo instanceof MouseEvent&&qo.which!==1)&&(qo.stopPropagation&&qo.stopPropagation(),Cn=qo.touches?qo.touches[0].pageX:qo.pageX,_n=addEventListenerWrap(document.documentElement,Jo.move,Wn),Pn=addEventListenerWrap(document.documentElement,Jo.stop,Yn))},Go=qo=>{qo.stopPropagation(),qo.preventDefault(),Gn(qo,events.mouse)},Xn=qo=>{qo.stopPropagation(),qo.preventDefault(),Gn(qo,events.touch)},Yo=qo=>{qo.stopPropagation(),qo.preventDefault()};return()=>{const{prefixCls:qo}=$n,Jo={[supportsPassive$1?"onTouchstartPassive":"onTouchstart"]:Zo=>Xn(Zo)};return createVNode("div",_objectSpread2$1(_objectSpread2$1({class:`${qo}-resize-handle ${Bn.value?"dragging":""}`,onMousedown:Go},Jo),{},{onClick:Yo}),[createVNode("div",{class:`${qo}-resize-handle-line`},null)])}}}),HeaderRow=defineComponent({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup($n){const Cn=useInjectTable();return()=>{const{prefixCls:_n,direction:Pn}=Cn,{cells:In,stickyOffsets:Nn,flattenColumns:Rn,rowComponent:Dn,cellComponent:Ln,customHeaderRow:Fn,index:Bn}=$n;let Hn;Fn&&(Hn=Fn(In.map(Wn=>Wn.column),Bn));const zn=getColumnsKey(In.map(Wn=>Wn.column));return createVNode(Dn,Hn,{default:()=>[In.map((Wn,Yn)=>{const{column:Gn}=Wn,Go=getCellFixedInfo(Wn.colStart,Wn.colEnd,Rn,Nn,Pn);let Xn;Gn&&Gn.customHeaderCell&&(Xn=Wn.column.customHeaderCell(Gn));const Yo=Gn;return createVNode(Cell,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Wn),{},{cellType:"header",ellipsis:Gn.ellipsis,align:Gn.align,component:Ln,prefixCls:_n,key:zn[Yn]},Go),{},{additionalProps:Xn,rowType:"header",column:Gn}),{default:()=>Gn.title,dragHandle:()=>Yo.resizable?createVNode(DragHandleVue,{prefixCls:_n,width:Yo.width,minWidth:Yo.minWidth,maxWidth:Yo.maxWidth,column:Yo},null):null})})]})}}});function parseHeaderRows($n){const Cn=[];function _n(In,Nn){let Rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Cn[Rn]=Cn[Rn]||[];let Dn=Nn;return In.filter(Boolean).map(Fn=>{const Bn={key:Fn.key,class:classNames(Fn.className,Fn.class),column:Fn,colStart:Dn};let Hn=1;const zn=Fn.children;return zn&&zn.length>0&&(Hn=_n(zn,Dn,Rn+1).reduce((Wn,Yn)=>Wn+Yn,0),Bn.hasSubColumns=!0),"colSpan"in Fn&&({colSpan:Hn}=Fn),"rowSpan"in Fn&&(Bn.rowSpan=Fn.rowSpan),Bn.colSpan=Hn,Bn.colEnd=Bn.colStart+Hn-1,Cn[Rn].push(Bn),Dn+=Hn,Hn})}_n($n,0);const Pn=Cn.length;for(let In=0;In<Pn;In+=1)Cn[In].forEach(Nn=>{!("rowSpan"in Nn)&&!Nn.hasSubColumns&&(Nn.rowSpan=Pn-In)});return Cn}const Header=defineComponent({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup($n){const Cn=useInjectTable(),_n=computed(()=>parseHeaderRows($n.columns));return()=>{const{prefixCls:Pn,getComponent:In}=Cn,{stickyOffsets:Nn,flattenColumns:Rn,customHeaderRow:Dn}=$n,Ln=In(["header","wrapper"],"thead"),Fn=In(["header","row"],"tr"),Bn=In(["header","cell"],"th");return createVNode(Ln,{class:`${Pn}-thead`},{default:()=>[_n.value.map((Hn,zn)=>createVNode(HeaderRow,{key:zn,flattenColumns:Rn,cells:Hn,stickyOffsets:Nn,rowComponent:Fn,cellComponent:Bn,customHeaderRow:Dn,index:zn},null))]})}}}),ExpandedRowContextKey=Symbol("ExpandedRowProps"),useProvideExpandedRow=$n=>{provide(ExpandedRowContextKey,$n)},useInjectExpandedRow=()=>inject(ExpandedRowContextKey,{}),ExpandedRow=defineComponent({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const In=useInjectTable(),Nn=useInjectExpandedRow(),{fixHeader:Rn,fixColumn:Dn,componentWidth:Ln,horizonScroll:Fn}=Nn;return()=>{const{prefixCls:Bn,component:Hn,cellComponent:zn,expanded:Wn,colSpan:Yn,isEmpty:Gn}=$n;return createVNode(Hn,{class:Pn.class,style:{display:Wn?null:"none"}},{default:()=>[createVNode(Cell,{component:zn,prefixCls:Bn,colSpan:Yn},{default:()=>{var Go;let Xn=(Go=_n.default)===null||Go===void 0?void 0:Go.call(_n);return(Gn?Fn.value:Dn.value)&&(Xn=createVNode("div",{style:{width:`${Ln.value-(Rn.value?In.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${Bn}-expanded-row-fixed`},[Xn])),Xn}})]})}}}),MeasureCell=defineComponent({name:"MeasureCell",props:["columnKey"],setup($n,Cn){let{emit:_n}=Cn;const Pn=ref();return onMounted(()=>{Pn.value&&_n("columnResize",$n.columnKey,Pn.value.offsetWidth)}),()=>createVNode(ResizeObserver$1,{onResize:In=>{let{offsetWidth:Nn}=In;_n("columnResize",$n.columnKey,Nn)}},{default:()=>[createVNode("td",{ref:Pn,style:{padding:0,border:0,height:0}},[createVNode("div",{style:{height:0,overflow:"hidden"}},[createTextVNode(" ")])])]})}}),BodyContextKey=Symbol("BodyContextProps"),useProvideBody=$n=>{provide(BodyContextKey,$n)},useInjectBody=()=>inject(BodyContextKey,{}),BodyRow=defineComponent({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup($n,Cn){let{attrs:_n}=Cn;const Pn=useInjectTable(),In=useInjectBody(),Nn=shallowRef(!1),Rn=computed(()=>$n.expandedKeys&&$n.expandedKeys.has($n.recordKey));watchEffect(()=>{Rn.value&&(Nn.value=!0)});const Dn=computed(()=>In.expandableType==="row"&&(!$n.rowExpandable||$n.rowExpandable($n.record))),Ln=computed(()=>In.expandableType==="nest"),Fn=computed(()=>$n.childrenColumnName&&$n.record&&$n.record[$n.childrenColumnName]),Bn=computed(()=>Dn.value||Ln.value),Hn=(Go,Xn)=>{In.onTriggerExpand(Go,Xn)},zn=computed(()=>{var Go;return((Go=$n.customRow)===null||Go===void 0?void 0:Go.call($n,$n.record,$n.index))||{}}),Wn=function(Go){var Xn,Yo;In.expandRowByClick&&Bn.value&&Hn($n.record,Go);for(var qo=arguments.length,Jo=new Array(qo>1?qo-1:0),Zo=1;Zo<qo;Zo++)Jo[Zo-1]=arguments[Zo];(Yo=(Xn=zn.value)===null||Xn===void 0?void 0:Xn.onClick)===null||Yo===void 0||Yo.call(Xn,Go,...Jo)},Yn=computed(()=>{const{record:Go,index:Xn,indent:Yo}=$n,{rowClassName:qo}=In;return typeof qo=="string"?qo:typeof qo=="function"?qo(Go,Xn,Yo):""}),Gn=computed(()=>getColumnsKey(In.flattenColumns));return()=>{const{class:Go,style:Xn}=_n,{record:Yo,index:qo,rowKey:Jo,indent:Zo=0,rowComponent:rr,cellComponent:nr}=$n,{prefixCls:ta,fixedInfoList:oa,transformCellText:ra}=Pn,{flattenColumns:ea,expandedRowClassName:la,indentSize:ua,expandIcon:ga,expandedRowRender:aa,expandIconColumnIndex:ca}=In,sa=createVNode(rr,_objectSpread2$1(_objectSpread2$1({},zn.value),{},{"data-row-key":Jo,class:classNames(Go,`${ta}-row`,`${ta}-row-level-${Zo}`,Yn.value,zn.value.class),style:[Xn,zn.value.style],onClick:Wn}),{default:()=>[ea.map((fa,ma)=>{const{customRender:ya,dataIndex:ba,className:Ia}=fa,Ea=Gn[ma],xa=oa[ma];let Ta;fa.customCell&&(Ta=fa.customCell(Yo,qo,fa));const wa=ma===(ca||0)&&Ln.value?createVNode(Fragment,null,[createVNode("span",{style:{paddingLeft:`${ua*Zo}px`},class:`${ta}-row-indent indent-level-${Zo}`},null),ga({prefixCls:ta,expanded:Rn.value,expandable:Fn.value,record:Yo,onExpand:Hn})]):null;return createVNode(Cell,_objectSpread2$1(_objectSpread2$1({cellType:"body",class:Ia,ellipsis:fa.ellipsis,align:fa.align,component:nr,prefixCls:ta,key:Ea,record:Yo,index:qo,renderIndex:$n.renderIndex,dataIndex:ba,customRender:ya},xa),{},{additionalProps:Ta,column:fa,transformCellText:ra,appendNode:wa}),null)})]});let ia;if(Dn.value&&(Nn.value||Rn.value)){const fa=aa({record:Yo,index:qo,indent:Zo+1,expanded:Rn.value}),ma=la&&la(Yo,qo,Zo);ia=createVNode(ExpandedRow,{expanded:Rn.value,class:classNames(`${ta}-expanded-row`,`${ta}-expanded-row-level-${Zo+1}`,ma),prefixCls:ta,component:rr,cellComponent:nr,colSpan:ea.length,isEmpty:!1},{default:()=>[fa]})}return createVNode(Fragment,null,[sa,ia])}}});function flatRecord($n,Cn,_n,Pn,In,Nn){const Rn=[];Rn.push({record:$n,indent:Cn,index:Nn});const Dn=In($n),Ln=Pn==null?void 0:Pn.has(Dn);if($n&&Array.isArray($n[_n])&&Ln)for(let Fn=0;Fn<$n[_n].length;Fn+=1){const Bn=flatRecord($n[_n][Fn],Cn+1,_n,Pn,In,Fn);Rn.push(...Bn)}return Rn}function useFlattenRecords($n,Cn,_n,Pn){return computed(()=>{const Nn=Cn.value,Rn=_n.value,Dn=$n.value;if(Rn!=null&&Rn.size){const Ln=[];for(let Fn=0;Fn<(Dn==null?void 0:Dn.length);Fn+=1){const Bn=Dn[Fn];Ln.push(...flatRecord(Bn,0,Nn,Rn,Pn.value,Fn))}return Ln}return Dn==null?void 0:Dn.map((Ln,Fn)=>({record:Ln,indent:0,index:Fn}))})}const ResizeContextKey=Symbol("ResizeContextProps"),useProvideResize=$n=>{provide(ResizeContextKey,$n)},useInjectResize=()=>inject(ResizeContextKey,{onColumnResize:()=>{}}),Body=defineComponent({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectResize(),In=useInjectTable(),Nn=useInjectBody(),Rn=useFlattenRecords(toRef($n,"data"),toRef($n,"childrenColumnName"),toRef($n,"expandedKeys"),toRef($n,"getRowKey")),Dn=shallowRef(-1),Ln=shallowRef(-1);let Fn;return useProvideHover({startRow:Dn,endRow:Ln,onHover:(Bn,Hn)=>{clearTimeout(Fn),Fn=setTimeout(()=>{Dn.value=Bn,Ln.value=Hn},100)}}),()=>{var Bn;const{data:Hn,getRowKey:zn,measureColumnWidth:Wn,expandedKeys:Yn,customRow:Gn,rowExpandable:Go,childrenColumnName:Xn}=$n,{onColumnResize:Yo}=Pn,{prefixCls:qo,getComponent:Jo}=In,{flattenColumns:Zo}=Nn,rr=Jo(["body","wrapper"],"tbody"),nr=Jo(["body","row"],"tr"),ta=Jo(["body","cell"],"td");let oa;Hn.length?oa=Rn.value.map((ea,la)=>{const{record:ua,indent:ga,index:aa}=ea,ca=zn(ua,la);return createVNode(BodyRow,{key:ca,rowKey:ca,record:ua,recordKey:ca,index:la,renderIndex:aa,rowComponent:nr,cellComponent:ta,expandedKeys:Yn,customRow:Gn,getRowKey:zn,rowExpandable:Go,childrenColumnName:Xn,indent:ga},null)}):oa=createVNode(ExpandedRow,{expanded:!0,class:`${qo}-placeholder`,prefixCls:qo,component:nr,cellComponent:ta,colSpan:Zo.length,isEmpty:!0},{default:()=>[(Bn=_n.emptyNode)===null||Bn===void 0?void 0:Bn.call(_n)]});const ra=getColumnsKey(Zo);return createVNode(rr,{class:`${qo}-tbody`},{default:()=>[Wn&&createVNode("tr",{"aria-hidden":"true",class:`${qo}-measure-row`,style:{height:0,fontSize:0}},[ra.map(ea=>createVNode(MeasureCell,{key:ea,columnKey:ea,onColumnResize:Yo},null))]),oa]})}}}),EXPAND_COLUMN={};var __rest$h=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function flatColumns($n){return $n.reduce((Cn,_n)=>{const{fixed:Pn}=_n,In=Pn===!0?"left":Pn,Nn=_n.children;return Nn&&Nn.length>0?[...Cn,...flatColumns(Nn).map(Rn=>_extends$1({fixed:In},Rn))]:[...Cn,_extends$1(_extends$1({},_n),{fixed:In})]},[])}function revertForRtl($n){return $n.map(Cn=>{const{fixed:_n}=Cn,Pn=__rest$h(Cn,["fixed"]);let In=_n;return _n==="left"?In="right":_n==="right"&&(In="left"),_extends$1({fixed:In},Pn)})}function useColumns$1($n,Cn){let{prefixCls:_n,columns:Pn,expandable:In,expandedKeys:Nn,getRowKey:Rn,onTriggerExpand:Dn,expandIcon:Ln,rowExpandable:Fn,expandIconColumnIndex:Bn,direction:Hn,expandRowByClick:zn,expandColumnWidth:Wn,expandFixed:Yn}=$n;const Gn=useInjectSlots(),Go=computed(()=>{if(In.value){let qo=Pn.value.slice();if(!qo.includes(EXPAND_COLUMN)){const ua=Bn.value||0;ua>=0&&qo.splice(ua,0,EXPAND_COLUMN)}const Jo=qo.indexOf(EXPAND_COLUMN);qo=qo.filter((ua,ga)=>ua!==EXPAND_COLUMN||ga===Jo);const Zo=Pn.value[Jo];let rr;(Yn.value==="left"||Yn.value)&&!Bn.value?rr="left":(Yn.value==="right"||Yn.value)&&Bn.value===Pn.value.length?rr="right":rr=Zo?Zo.fixed:null;const nr=Nn.value,ta=Fn.value,oa=Ln.value,ra=_n.value,ea=zn.value,la={[INTERNAL_COL_DEFINE]:{class:`${_n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:customRenderSlot(Gn.value,"expandColumnTitle",{},()=>[""]),fixed:rr,class:`${_n.value}-row-expand-icon-cell`,width:Wn.value,customRender:ua=>{let{record:ga,index:aa}=ua;const ca=Rn.value(ga,aa),sa=nr.has(ca),ia=ta?ta(ga):!0,fa=oa({prefixCls:ra,expanded:sa,expandable:ia,record:ga,onExpand:Dn});return ea?createVNode("span",{onClick:ma=>ma.stopPropagation()},[fa]):fa}};return qo.map(ua=>ua===EXPAND_COLUMN?la:ua)}return Pn.value.filter(qo=>qo!==EXPAND_COLUMN)}),Xn=computed(()=>{let qo=Go.value;return Cn.value&&(qo=Cn.value(qo)),qo.length||(qo=[{customRender:()=>null}]),qo}),Yo=computed(()=>Hn.value==="rtl"?revertForRtl(flatColumns(Xn.value)):flatColumns(Xn.value));return[Xn,Yo]}function useLayoutState($n){const Cn=shallowRef($n);let _n;const Pn=shallowRef([]);function In(Nn){Pn.value.push(Nn),wrapperRaf.cancel(_n),_n=wrapperRaf(()=>{const Rn=Pn.value;Pn.value=[],Rn.forEach(Dn=>{Cn.value=Dn(Cn.value)})})}return onBeforeUnmount(()=>{wrapperRaf.cancel(_n)}),[Cn,In]}function useTimeoutLock($n){const Cn=ref($n||null),_n=ref();function Pn(){clearTimeout(_n.value)}function In(Rn){Cn.value=Rn,Pn(),_n.value=setTimeout(()=>{Cn.value=null,_n.value=void 0},100)}function Nn(){return Cn.value}return onBeforeUnmount(()=>{Pn()}),[In,Nn]}function useStickyOffsets($n,Cn,_n){return computed(()=>{const In=[],Nn=[];let Rn=0,Dn=0;const Ln=$n.value,Fn=Cn.value,Bn=_n.value;for(let Hn=0;Hn<Fn;Hn+=1)if(Bn==="rtl"){Nn[Hn]=Dn,Dn+=Ln[Hn]||0;const zn=Fn-Hn-1;In[zn]=Rn,Rn+=Ln[zn]||0}else{In[Hn]=Rn,Rn+=Ln[Hn]||0;const zn=Fn-Hn-1;Nn[zn]=Dn,Dn+=Ln[zn]||0}return{left:In,right:Nn}})}var __rest$g=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function ColGroup($n){let{colWidths:Cn,columns:_n,columCount:Pn}=$n;const In=[],Nn=Pn||_n.length;let Rn=!1;for(let Dn=Nn-1;Dn>=0;Dn-=1){const Ln=Cn[Dn],Fn=_n&&_n[Dn],Bn=Fn&&Fn[INTERNAL_COL_DEFINE];if(Ln||Bn||Rn){const Hn=Bn||{},zn=__rest$g(Hn,["columnType"]);In.unshift(createVNode("col",_objectSpread2$1({key:Dn,style:{width:typeof Ln=="number"?`${Ln}px`:Ln}},zn),null)),Rn=!0}}return createVNode("colgroup",null,[In])}function Panel($n,Cn){let{slots:_n}=Cn;var Pn;return createVNode("div",null,[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)])}Panel.displayName="Panel";let indexGuid=0;const Summary=defineComponent({name:"TableSummary",props:["fixed"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectTable(),In=`table-summary-uni-key-${++indexGuid}`,Nn=computed(()=>$n.fixed===""||$n.fixed);return watchEffect(()=>{Pn.summaryCollect(In,Nn.value)}),onBeforeUnmount(()=>{Pn.summaryCollect(In,!1)}),()=>{var Rn;return(Rn=_n.default)===null||Rn===void 0?void 0:Rn.call(_n)}}}),Summary$1=Summary,SummaryRow=defineComponent({compatConfig:{MODE:3},name:"ATableSummaryRow",setup($n,Cn){let{slots:_n}=Cn;return()=>{var Pn;return createVNode("tr",null,[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)])}}}),SummaryContextKey=Symbol("SummaryContextProps"),useProvideSummary=$n=>{provide(SummaryContextKey,$n)},useInjectSummary=()=>inject(SummaryContextKey,{}),SummaryCell=defineComponent({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=useInjectTable(),Nn=useInjectSummary();return()=>{const{index:Rn,colSpan:Dn=1,rowSpan:Ln,align:Fn}=$n,{prefixCls:Bn,direction:Hn}=In,{scrollColumnIndex:zn,stickyOffsets:Wn,flattenColumns:Yn}=Nn,Go=Rn+Dn-1+1===zn?Dn+1:Dn,Xn=getCellFixedInfo(Rn,Rn+Go-1,Yn,Wn,Hn);return createVNode(Cell,_objectSpread2$1({class:_n.class,index:Rn,component:"td",prefixCls:Bn,record:null,dataIndex:null,align:Fn,colSpan:Go,rowSpan:Ln,customRender:()=>{var Yo;return(Yo=Pn.default)===null||Yo===void 0?void 0:Yo.call(Pn)}},Xn),null)}}}),Footer=defineComponent({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectTable();return useProvideSummary(reactive({stickyOffsets:toRef($n,"stickyOffsets"),flattenColumns:toRef($n,"flattenColumns"),scrollColumnIndex:computed(()=>{const In=$n.flattenColumns.length-1,Nn=$n.flattenColumns[In];return Nn!=null&&Nn.scrollbar?In:null})})),()=>{var In;const{prefixCls:Nn}=Pn;return createVNode("tfoot",{class:`${Nn}-summary`},[(In=_n.default)===null||In===void 0?void 0:In.call(_n)])}}}),FooterComponents=Summary$1;function renderExpandIcon$1($n){let{prefixCls:Cn,record:_n,onExpand:Pn,expanded:In,expandable:Nn}=$n;const Rn=`${Cn}-row-expand-icon`;if(!Nn)return createVNode("span",{class:[Rn,`${Cn}-row-spaced`]},null);const Dn=Ln=>{Pn(_n,Ln),Ln.stopPropagation()};return createVNode("span",{class:{[Rn]:!0,[`${Cn}-row-expanded`]:In,[`${Cn}-row-collapsed`]:!In},onClick:Dn},null)}function findAllChildrenKeys($n,Cn,_n){const Pn=[];function In(Nn){(Nn||[]).forEach((Rn,Dn)=>{Pn.push(Cn(Rn,Dn)),In(Rn[_n])})}return In($n),Pn}const StickyScrollBar=defineComponent({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup($n,Cn){let{emit:_n,expose:Pn}=Cn;const In=useInjectTable(),Nn=shallowRef(0),Rn=shallowRef(0),Dn=shallowRef(0);watchEffect(()=>{Nn.value=$n.scrollBodySizeInfo.scrollWidth||0,Rn.value=$n.scrollBodySizeInfo.clientWidth||0,Dn.value=Nn.value&&Rn.value*(Rn.value/Nn.value)},{flush:"post"});const Ln=shallowRef(),[Fn,Bn]=useLayoutState({scrollLeft:0,isHiddenScrollBar:!0}),Hn=ref({delta:0,x:0}),zn=shallowRef(!1),Wn=()=>{zn.value=!1},Yn=nr=>{Hn.value={delta:nr.pageX-Fn.value.scrollLeft,x:0},zn.value=!0,nr.preventDefault()},Gn=nr=>{const{buttons:ta}=nr||(window==null?void 0:window.event);if(!zn.value||ta===0){zn.value&&(zn.value=!1);return}let oa=Hn.value.x+nr.pageX-Hn.value.x-Hn.value.delta;oa<=0&&(oa=0),oa+Dn.value>=Rn.value&&(oa=Rn.value-Dn.value),_n("scroll",{scrollLeft:oa/Rn.value*(Nn.value+2)}),Hn.value.x=nr.pageX},Go=()=>{if(!$n.scrollBodyRef.value)return;const nr=getOffset($n.scrollBodyRef.value).top,ta=nr+$n.scrollBodyRef.value.offsetHeight,oa=$n.container===window?document.documentElement.scrollTop+window.innerHeight:getOffset($n.container).top+$n.container.clientHeight;ta-getScrollBarSize()<=oa||nr>=oa-$n.offsetScroll?Bn(ra=>_extends$1(_extends$1({},ra),{isHiddenScrollBar:!0})):Bn(ra=>_extends$1(_extends$1({},ra),{isHiddenScrollBar:!1}))};Pn({setScrollLeft:nr=>{Bn(ta=>_extends$1(_extends$1({},ta),{scrollLeft:nr/Nn.value*Rn.value||0}))}});let Yo=null,qo=null,Jo=null,Zo=null;onMounted(()=>{Yo=addEventListenerWrap(document.body,"mouseup",Wn,!1),qo=addEventListenerWrap(document.body,"mousemove",Gn,!1),Jo=addEventListenerWrap(window,"resize",Go,!1)}),onActivated(()=>{nextTick(()=>{Go()})}),onMounted(()=>{setTimeout(()=>{watch([Dn,zn],()=>{Go()},{immediate:!0,flush:"post"})})}),watch(()=>$n.container,()=>{Zo==null||Zo.remove(),Zo=addEventListenerWrap($n.container,"scroll",Go,!1)},{immediate:!0,flush:"post"}),onBeforeUnmount(()=>{Yo==null||Yo.remove(),qo==null||qo.remove(),Zo==null||Zo.remove(),Jo==null||Jo.remove()}),watch(()=>_extends$1({},Fn.value),(nr,ta)=>{nr.isHiddenScrollBar!==(ta==null?void 0:ta.isHiddenScrollBar)&&!nr.isHiddenScrollBar&&Bn(oa=>{const ra=$n.scrollBodyRef.value;return ra?_extends$1(_extends$1({},oa),{scrollLeft:ra.scrollLeft/ra.scrollWidth*ra.clientWidth}):oa})},{immediate:!0});const rr=getScrollBarSize();return()=>{if(Nn.value<=Rn.value||!Dn.value||Fn.value.isHiddenScrollBar)return null;const{prefixCls:nr}=In;return createVNode("div",{style:{height:`${rr}px`,width:`${Rn.value}px`,bottom:`${$n.offsetScroll}px`},class:`${nr}-sticky-scroll`},[createVNode("div",{onMousedown:Yn,ref:Ln,class:classNames(`${nr}-sticky-scroll-bar`,{[`${nr}-sticky-scroll-bar-active`]:zn.value}),style:{width:`${Dn.value}px`,transform:`translate3d(${Fn.value.scrollLeft}px, 0, 0)`}},null)])}}}),defaultContainer=canUseDom$1()?window:null;function useSticky($n,Cn){return computed(()=>{const{offsetHeader:_n=0,offsetSummary:Pn=0,offsetScroll:In=0,getContainer:Nn=()=>defaultContainer}=typeof $n.value=="object"?$n.value:{},Rn=Nn()||defaultContainer,Dn=!!$n.value;return{isSticky:Dn,stickyClassName:Dn?`${Cn.value}-sticky-holder`:"",offsetHeader:_n,offsetSummary:Pn,offsetScroll:In,container:Rn}})}function useColumnWidth($n,Cn){return computed(()=>{const _n=[],Pn=$n.value,In=Cn.value;for(let Nn=0;Nn<In;Nn+=1){const Rn=Pn[Nn];if(Rn!==void 0)_n[Nn]=Rn;else return null}return _n})}const FixedHolder=defineComponent({name:"FixedHolder",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow","noData","maxContentScroll","colWidths","columCount","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName"],emits:["scroll"],setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const Nn=useInjectTable(),Rn=computed(()=>Nn.isSticky&&!$n.fixHeader?0:Nn.scrollbarSize),Dn=ref(),Ln=Gn=>{const{currentTarget:Go,deltaX:Xn}=Gn;Xn&&(In("scroll",{currentTarget:Go,scrollLeft:Go.scrollLeft+Xn}),Gn.preventDefault())},Fn=ref();onMounted(()=>{nextTick(()=>{Fn.value=addEventListenerWrap(Dn.value,"wheel",Ln)})}),onBeforeUnmount(()=>{var Gn;(Gn=Fn.value)===null||Gn===void 0||Gn.remove()});const Bn=computed(()=>$n.flattenColumns.every(Gn=>Gn.width&&Gn.width!==0&&Gn.width!=="0px")),Hn=ref([]),zn=ref([]);watchEffect(()=>{const Gn=$n.flattenColumns[$n.flattenColumns.length-1],Go={fixed:Gn?Gn.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${Nn.prefixCls}-cell-scrollbar`})};Hn.value=Rn.value?[...$n.columns,Go]:$n.columns,zn.value=Rn.value?[...$n.flattenColumns,Go]:$n.flattenColumns});const Wn=computed(()=>{const{stickyOffsets:Gn,direction:Go}=$n,{right:Xn,left:Yo}=Gn;return _extends$1(_extends$1({},Gn),{left:Go==="rtl"?[...Yo.map(qo=>qo+Rn.value),0]:Yo,right:Go==="rtl"?Xn:[...Xn.map(qo=>qo+Rn.value),0],isSticky:Nn.isSticky})}),Yn=useColumnWidth(toRef($n,"colWidths"),toRef($n,"columCount"));return()=>{var Gn;const{noData:Go,columCount:Xn,stickyTopOffset:Yo,stickyBottomOffset:qo,stickyClassName:Jo,maxContentScroll:Zo}=$n,{isSticky:rr}=Nn;return createVNode("div",{style:_extends$1({overflow:"hidden"},rr?{top:`${Yo}px`,bottom:`${qo}px`}:{}),ref:Dn,class:classNames(_n.class,{[Jo]:!!Jo})},[createVNode("table",{style:{tableLayout:"fixed",visibility:Go||Yn.value?null:"hidden"}},[(!Go||!Zo||Bn.value)&&createVNode(ColGroup,{colWidths:Yn.value?[...Yn.value,Rn.value]:[],columCount:Xn+1,columns:zn.value},null),(Gn=Pn.default)===null||Gn===void 0?void 0:Gn.call(Pn,_extends$1(_extends$1({},$n),{stickyOffsets:Wn.value,columns:Hn.value,flattenColumns:zn.value}))])])}}});function reactivePick($n){for(var Cn=arguments.length,_n=new Array(Cn>1?Cn-1:0),Pn=1;Pn<Cn;Pn++)_n[Pn-1]=arguments[Pn];return reactive(fromPairs(_n.map(In=>[In,toRef($n,In)])))}const EMPTY_DATA=[],EMPTY_SCROLL_TARGET={},INTERNAL_HOOKS="rc-table-internal-hook",Table$2=defineComponent({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup($n,Cn){let{attrs:_n,slots:Pn,emit:In}=Cn;const Nn=computed(()=>$n.data||EMPTY_DATA),Rn=computed(()=>!!Nn.value.length),Dn=computed(()=>mergeObject($n.components,{})),Ln=(Ma,Ua)=>getPathValue(Dn.value,Ma)||Ua,Fn=computed(()=>{const Ma=$n.rowKey;return typeof Ma=="function"?Ma:Ua=>Ua&&Ua[Ma]}),Bn=computed(()=>$n.expandIcon||renderExpandIcon$1),Hn=computed(()=>$n.childrenColumnName||"children"),zn=computed(()=>$n.expandedRowRender?"row":$n.canExpandable||Nn.value.some(Ma=>Ma&&typeof Ma=="object"&&Ma[Hn.value])?"nest":!1),Wn=shallowRef([]);watchEffect(()=>{$n.defaultExpandedRowKeys&&(Wn.value=$n.defaultExpandedRowKeys),$n.defaultExpandAllRows&&(Wn.value=findAllChildrenKeys(Nn.value,Fn.value,Hn.value))})();const Gn=computed(()=>new Set($n.expandedRowKeys||Wn.value||[])),Go=Ma=>{const Ua=Fn.value(Ma,Nn.value.indexOf(Ma));let Qa;const ri=Gn.value.has(Ua);ri?(Gn.value.delete(Ua),Qa=[...Gn.value]):Qa=[...Gn.value,Ua],Wn.value=Qa,In("expand",!ri,Ma),In("update:expandedRowKeys",Qa),In("expandedRowsChange",Qa)},Xn=ref(0),[Yo,qo]=useColumns$1(_extends$1(_extends$1({},toRefs($n)),{expandable:computed(()=>!!$n.expandedRowRender),expandedKeys:Gn,getRowKey:Fn,onTriggerExpand:Go,expandIcon:Bn}),computed(()=>$n.internalHooks===INTERNAL_HOOKS?$n.transformColumns:null)),Jo=computed(()=>({columns:Yo.value,flattenColumns:qo.value})),Zo=ref(),rr=ref(),nr=ref(),ta=ref({scrollWidth:0,clientWidth:0}),oa=ref(),[ra,ea]=useState(!1),[la,ua]=useState(!1),[ga,aa]=useLayoutState(new Map),ca=computed(()=>getColumnsKey(qo.value)),sa=computed(()=>ca.value.map(Ma=>ga.value.get(Ma))),ia=computed(()=>qo.value.length),fa=useStickyOffsets(sa,ia,toRef($n,"direction")),ma=computed(()=>$n.scroll&&validateValue($n.scroll.y)),ya=computed(()=>$n.scroll&&validateValue($n.scroll.x)||!!$n.expandFixed),ba=computed(()=>ya.value&&qo.value.some(Ma=>{let{fixed:Ua}=Ma;return Ua})),Ia=ref(),Ea=useSticky(toRef($n,"sticky"),toRef($n,"prefixCls")),xa=reactive({}),Ta=computed(()=>{const Ma=Object.values(xa)[0];return(ma.value||Ea.value.isSticky)&&Ma}),wa=(Ma,Ua)=>{Ua?xa[Ma]=Ua:delete xa[Ma]},La=ref({}),Na=ref({}),$a=ref({});watchEffect(()=>{ma.value&&(Na.value={overflowY:"scroll",maxHeight:toPx($n.scroll.y)}),ya.value&&(La.value={overflowX:"auto"},ma.value||(Na.value={overflowY:"hidden"}),$a.value={width:$n.scroll.x===!0?"auto":toPx($n.scroll.x),minWidth:"100%"})});const ka=(Ma,Ua)=>{isVisible(Zo.value)&&aa(Qa=>{if(Qa.get(Ma)!==Ua){const ri=new Map(Qa);return ri.set(Ma,Ua),ri}return Qa})},[Ha,da]=useTimeoutLock(null);function pa(Ma,Ua){if(!Ua)return;if(typeof Ua=="function"){Ua(Ma);return}const Qa=Ua.$el||Ua;Qa.scrollLeft!==Ma&&(Qa.scrollLeft=Ma)}const Sa=Ma=>{let{currentTarget:Ua,scrollLeft:Qa}=Ma;var ri;const fi=$n.direction==="rtl",ei=typeof Qa=="number"?Qa:Ua.scrollLeft,ti=Ua||EMPTY_SCROLL_TARGET;if((!da()||da()===ti)&&(Ha(ti),pa(ei,rr.value),pa(ei,nr.value),pa(ei,oa.value),pa(ei,(ri=Ia.value)===null||ri===void 0?void 0:ri.setScrollLeft)),Ua){const{scrollWidth:ni,clientWidth:ui}=Ua;fi?(ea(-ei<ni-ui),ua(-ei>0)):(ea(ei>0),ua(ei<ni-ui))}},Aa=()=>{ya.value&&nr.value?Sa({currentTarget:nr.value}):(ea(!1),ua(!1))};let Ra;const Fa=Ma=>{Ma!==Xn.value&&(Aa(),Xn.value=Zo.value?Zo.value.offsetWidth:Ma)},za=Ma=>{let{width:Ua}=Ma;if(clearTimeout(Ra),Xn.value===0){Fa(Ua);return}Ra=setTimeout(()=>{Fa(Ua)},100)};watch([ya,()=>$n.data,()=>$n.columns],()=>{ya.value&&Aa()},{flush:"post"});const[Wa,Ya]=useState(0);useProvideSticky(),onMounted(()=>{nextTick(()=>{var Ma,Ua;Aa(),Ya(getTargetScrollBarSize(nr.value).width),ta.value={scrollWidth:((Ma=nr.value)===null||Ma===void 0?void 0:Ma.scrollWidth)||0,clientWidth:((Ua=nr.value)===null||Ua===void 0?void 0:Ua.clientWidth)||0}})}),onUpdated(()=>{nextTick(()=>{var Ma,Ua;const Qa=((Ma=nr.value)===null||Ma===void 0?void 0:Ma.scrollWidth)||0,ri=((Ua=nr.value)===null||Ua===void 0?void 0:Ua.clientWidth)||0;(ta.value.scrollWidth!==Qa||ta.value.clientWidth!==ri)&&(ta.value={scrollWidth:Qa,clientWidth:ri})})}),watchEffect(()=>{$n.internalHooks===INTERNAL_HOOKS&&$n.internalRefs&&$n.onUpdateInternalRefs({body:nr.value?nr.value.$el||nr.value:null})},{flush:"post"});const ja=computed(()=>$n.tableLayout?$n.tableLayout:ba.value?$n.scroll.x==="max-content"?"auto":"fixed":ma.value||Ea.value.isSticky||qo.value.some(Ma=>{let{ellipsis:Ua}=Ma;return Ua})?"fixed":"auto"),qa=()=>{var Ma;return Rn.value?null:((Ma=Pn.emptyText)===null||Ma===void 0?void 0:Ma.call(Pn))||"No Data"};useProvideTable(reactive(_extends$1(_extends$1({},toRefs(reactivePick($n,"prefixCls","direction","transformCellText"))),{getComponent:Ln,scrollbarSize:Wa,fixedInfoList:computed(()=>qo.value.map((Ma,Ua)=>getCellFixedInfo(Ua,Ua,qo.value,fa.value,$n.direction))),isSticky:computed(()=>Ea.value.isSticky),summaryCollect:wa}))),useProvideBody(reactive(_extends$1(_extends$1({},toRefs(reactivePick($n,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:Yo,flattenColumns:qo,tableLayout:ja,expandIcon:Bn,expandableType:zn,onTriggerExpand:Go}))),useProvideResize({onColumnResize:ka}),useProvideExpandedRow({componentWidth:Xn,fixHeader:ma,fixColumn:ba,horizonScroll:ya});const Xa=()=>createVNode(Body,{data:Nn.value,measureColumnWidth:ma.value||ya.value||Ea.value.isSticky,expandedKeys:Gn.value,rowExpandable:$n.rowExpandable,getRowKey:Fn.value,customRow:$n.customRow,childrenColumnName:Hn.value},{emptyNode:qa}),Oa=()=>createVNode(ColGroup,{colWidths:qo.value.map(Ma=>{let{width:Ua}=Ma;return Ua}),columns:qo.value},null);return()=>{var Ma;const{prefixCls:Ua,scroll:Qa,tableLayout:ri,direction:fi,title:ei=Pn.title,footer:ti=Pn.footer,id:ni,showHeader:ui,customHeaderRow:mi}=$n,{isSticky:di,offsetHeader:gi,offsetSummary:wi,offsetScroll:Ti,stickyClassName:Ei,container:Ni}=Ea.value,Ri=Ln(["table"],"table"),Zi=Ln(["body"]),Qi=(Ma=Pn.summary)===null||Ma===void 0?void 0:Ma.call(Pn,{pageData:Nn.value});let Ji=()=>null;const Yi={colWidths:sa.value,columCount:qo.value.length,stickyOffsets:fa.value,customHeaderRow:mi,fixHeader:ma.value,scroll:Qa};if(ma.value||di){let il=()=>null;typeof Zi=="function"?(il=()=>Zi(Nn.value,{scrollbarSize:Wa.value,ref:nr,onScroll:Sa}),Yi.colWidths=qo.value.map((ul,ts)=>{let{width:ci}=ul;const Ci=ts===Yo.value.length-1?ci-Wa.value:ci;return typeof Ci=="number"&&!Number.isNaN(Ci)?Ci:0})):il=()=>createVNode("div",{style:_extends$1(_extends$1({},La.value),Na.value),onScroll:Sa,ref:nr,class:classNames(`${Ua}-body`)},[createVNode(Ri,{style:_extends$1(_extends$1({},$a.value),{tableLayout:ja.value})},{default:()=>[Oa(),Xa(),!Ta.value&&Qi&&createVNode(Footer,{stickyOffsets:fa.value,flattenColumns:qo.value},{default:()=>[Qi]})]})]);const Tl=_extends$1(_extends$1(_extends$1({noData:!Nn.value.length,maxContentScroll:ya.value&&Qa.x==="max-content"},Yi),Jo.value),{direction:fi,stickyClassName:Ei,onScroll:Sa});Ji=()=>createVNode(Fragment,null,[ui!==!1&&createVNode(FixedHolder,_objectSpread2$1(_objectSpread2$1({},Tl),{},{stickyTopOffset:gi,class:`${Ua}-header`,ref:rr}),{default:ul=>createVNode(Fragment,null,[createVNode(Header,ul,null),Ta.value==="top"&&createVNode(Footer,ul,{default:()=>[Qi]})])}),il(),Ta.value&&Ta.value!=="top"&&createVNode(FixedHolder,_objectSpread2$1(_objectSpread2$1({},Tl),{},{stickyBottomOffset:wi,class:`${Ua}-summary`,ref:oa}),{default:ul=>createVNode(Footer,ul,{default:()=>[Qi]})}),di&&nr.value&&createVNode(StickyScrollBar,{ref:Ia,offsetScroll:Ti,scrollBodyRef:nr,onScroll:Sa,container:Ni,scrollBodySizeInfo:ta.value},null)])}else Ji=()=>createVNode("div",{style:_extends$1(_extends$1({},La.value),Na.value),class:classNames(`${Ua}-content`),onScroll:Sa,ref:nr},[createVNode(Ri,{style:_extends$1(_extends$1({},$a.value),{tableLayout:ja.value})},{default:()=>[Oa(),ui!==!1&&createVNode(Header,_objectSpread2$1(_objectSpread2$1({},Yi),Jo.value),null),Xa(),Qi&&createVNode(Footer,{stickyOffsets:fa.value,flattenColumns:qo.value},{default:()=>[Qi]})]})]);const rl=pickAttrs(_n,{aria:!0,data:!0}),yi=()=>createVNode("div",_objectSpread2$1(_objectSpread2$1({},rl),{},{class:classNames(Ua,{[`${Ua}-rtl`]:fi==="rtl",[`${Ua}-ping-left`]:ra.value,[`${Ua}-ping-right`]:la.value,[`${Ua}-layout-fixed`]:ri==="fixed",[`${Ua}-fixed-header`]:ma.value,[`${Ua}-fixed-column`]:ba.value,[`${Ua}-scroll-horizontal`]:ya.value,[`${Ua}-has-fix-left`]:qo.value[0]&&qo.value[0].fixed,[`${Ua}-has-fix-right`]:qo.value[ia.value-1]&&qo.value[ia.value-1].fixed==="right",[_n.class]:_n.class}),style:_n.style,id:ni,ref:Zo}),[ei&&createVNode(Panel,{class:`${Ua}-title`},{default:()=>[ei(Nn.value)]}),createVNode("div",{class:`${Ua}-container`},[Ji()]),ti&&createVNode(Panel,{class:`${Ua}-footer`},{default:()=>[ti(Nn.value)]})]);return ya.value?createVNode(ResizeObserver$1,{onResize:za},{default:yi}):yi()}}});function extendsObject(){const $n=_extends$1({},arguments.length<=0?void 0:arguments[0]);for(let Cn=1;Cn<arguments.length;Cn++){const _n=Cn<0||arguments.length<=Cn?void 0:arguments[Cn];_n&&Object.keys(_n).forEach(Pn=>{const In=_n[Pn];In!==void 0&&($n[Pn]=In)})}return $n}const DEFAULT_PAGE_SIZE=10;function getPaginationParam($n,Cn){const _n={current:$n.current,pageSize:$n.pageSize};return Object.keys(Cn&&typeof Cn=="object"?Cn:{}).forEach(In=>{const Nn=$n[In];typeof Nn!="function"&&(_n[In]=Nn)}),_n}function usePagination($n,Cn,_n){const Pn=computed(()=>Cn.value&&typeof Cn.value=="object"?Cn.value:{}),In=computed(()=>Pn.value.total||0),[Nn,Rn]=useState(()=>({current:"defaultCurrent"in Pn.value?Pn.value.defaultCurrent:1,pageSize:"defaultPageSize"in Pn.value?Pn.value.defaultPageSize:DEFAULT_PAGE_SIZE})),Dn=computed(()=>{const Bn=extendsObject(Nn.value,Pn.value,{total:In.value>0?In.value:$n.value}),Hn=Math.ceil((In.value||$n.value)/Bn.pageSize);return Bn.current>Hn&&(Bn.current=Hn||1),Bn}),Ln=(Bn,Hn)=>{Cn.value!==!1&&Rn({current:Bn??1,pageSize:Hn||Dn.value.pageSize})},Fn=(Bn,Hn)=>{var zn,Wn;Cn.value&&((Wn=(zn=Pn.value).onChange)===null||Wn===void 0||Wn.call(zn,Bn,Hn)),Ln(Bn,Hn),_n(Bn,Hn||Dn.value.pageSize)};return[computed(()=>Cn.value===!1?{}:_extends$1(_extends$1({},Dn.value),{onChange:Fn})),Ln]}function useLazyKVMap($n,Cn,_n){const Pn=shallowRef({});watch([$n,Cn,_n],()=>{const Nn=new Map,Rn=_n.value,Dn=Cn.value;function Ln(Fn){Fn.forEach((Bn,Hn)=>{const zn=Rn(Bn,Hn);Nn.set(zn,Bn),Bn&&typeof Bn=="object"&&Dn in Bn&&Ln(Bn[Dn]||[])})}Ln($n.value),Pn.value={kvMap:Nn}},{deep:!0,immediate:!0});function In(Nn){return Pn.value.kvMap.get(Nn)}return[In]}const SELECTION_COLUMN={},SELECTION_ALL="SELECT_ALL",SELECTION_INVERT="SELECT_INVERT",SELECTION_NONE="SELECT_NONE",EMPTY_LIST$1=[];function flattenData($n,Cn){let _n=[];return(Cn||[]).forEach(Pn=>{_n.push(Pn),Pn&&typeof Pn=="object"&&$n in Pn&&(_n=[..._n,...flattenData($n,Pn[$n])])}),_n}function useSelection($n,Cn){const _n=computed(()=>{const oa=$n.value||{},{checkStrictly:ra=!0}=oa;return _extends$1(_extends$1({},oa),{checkStrictly:ra})}),[Pn,In]=useMergedState(_n.value.selectedRowKeys||_n.value.defaultSelectedRowKeys||EMPTY_LIST$1,{value:computed(()=>_n.value.selectedRowKeys)}),Nn=shallowRef(new Map),Rn=oa=>{if(_n.value.preserveSelectedRowKeys){const ra=new Map;oa.forEach(ea=>{let la=Cn.getRecordByKey(ea);!la&&Nn.value.has(ea)&&(la=Nn.value.get(ea)),ra.set(ea,la)}),Nn.value=ra}};watchEffect(()=>{Rn(Pn.value)});const Dn=computed(()=>_n.value.checkStrictly?null:convertDataToEntities(Cn.data.value,{externalGetKey:Cn.getRowKey.value,childrenPropName:Cn.childrenColumnName.value}).keyEntities),Ln=computed(()=>flattenData(Cn.childrenColumnName.value,Cn.pageData.value)),Fn=computed(()=>{const oa=new Map,ra=Cn.getRowKey.value,ea=_n.value.getCheckboxProps;return Ln.value.forEach((la,ua)=>{const ga=ra(la,ua),aa=(ea?ea(la):null)||{};oa.set(ga,aa)}),oa}),{maxLevel:Bn,levelEntities:Hn}=useMaxLevel(Dn),zn=oa=>{var ra;return!!(!((ra=Fn.value.get(Cn.getRowKey.value(oa)))===null||ra===void 0)&&ra.disabled)},Wn=computed(()=>{if(_n.value.checkStrictly)return[Pn.value||[],[]];const{checkedKeys:oa,halfCheckedKeys:ra}=conductCheck(Pn.value,!0,Dn.value,Bn.value,Hn.value,zn);return[oa||[],ra]}),Yn=computed(()=>Wn.value[0]),Gn=computed(()=>Wn.value[1]),Go=computed(()=>{const oa=_n.value.type==="radio"?Yn.value.slice(0,1):Yn.value;return new Set(oa)}),Xn=computed(()=>_n.value.type==="radio"?new Set:new Set(Gn.value)),[Yo,qo]=useState(null),Jo=oa=>{let ra,ea;Rn(oa);const{preserveSelectedRowKeys:la,onChange:ua}=_n.value,{getRecordByKey:ga}=Cn;la?(ra=oa,ea=oa.map(aa=>Nn.value.get(aa))):(ra=[],ea=[],oa.forEach(aa=>{const ca=ga(aa);ca!==void 0&&(ra.push(aa),ea.push(ca))})),In(ra),ua==null||ua(ra,ea)},Zo=(oa,ra,ea,la)=>{const{onSelect:ua}=_n.value,{getRecordByKey:ga}=Cn||{};if(ua){const aa=ea.map(ca=>ga(ca));ua(ga(oa),ra,aa,la)}Jo(ea)},rr=computed(()=>{const{onSelectInvert:oa,onSelectNone:ra,selections:ea,hideSelectAll:la}=_n.value,{data:ua,pageData:ga,getRowKey:aa,locale:ca}=Cn;return!ea||la?null:(ea===!0?[SELECTION_ALL,SELECTION_INVERT,SELECTION_NONE]:ea).map(ia=>ia===SELECTION_ALL?{key:"all",text:ca.value.selectionAll,onSelect(){Jo(ua.value.map((fa,ma)=>aa.value(fa,ma)).filter(fa=>{const ma=Fn.value.get(fa);return!(ma!=null&&ma.disabled)||Go.value.has(fa)}))}}:ia===SELECTION_INVERT?{key:"invert",text:ca.value.selectInvert,onSelect(){const fa=new Set(Go.value);ga.value.forEach((ya,ba)=>{const Ia=aa.value(ya,ba),Ea=Fn.value.get(Ia);Ea!=null&&Ea.disabled||(fa.has(Ia)?fa.delete(Ia):fa.add(Ia))});const ma=Array.from(fa);oa&&(devWarning(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),oa(ma)),Jo(ma)}}:ia===SELECTION_NONE?{key:"none",text:ca.value.selectNone,onSelect(){ra==null||ra(),Jo(Array.from(Go.value).filter(fa=>{const ma=Fn.value.get(fa);return ma==null?void 0:ma.disabled}))}}:ia)}),nr=computed(()=>Ln.value.length);return[oa=>{var ra;const{onSelectAll:ea,onSelectMultiple:la,columnWidth:ua,type:ga,fixed:aa,renderCell:ca,hideSelectAll:sa,checkStrictly:ia}=_n.value,{prefixCls:fa,getRecordByKey:ma,getRowKey:ya,expandType:ba,getPopupContainer:Ia}=Cn;if(!$n.value)return oa.filter(Fa=>Fa!==SELECTION_COLUMN);let Ea=oa.slice();const xa=new Set(Go.value),Ta=Ln.value.map(ya.value).filter(Fa=>!Fn.value.get(Fa).disabled),wa=Ta.every(Fa=>xa.has(Fa)),La=Ta.some(Fa=>xa.has(Fa)),Na=()=>{const Fa=[];wa?Ta.forEach(Wa=>{xa.delete(Wa),Fa.push(Wa)}):Ta.forEach(Wa=>{xa.has(Wa)||(xa.add(Wa),Fa.push(Wa))});const za=Array.from(xa);ea==null||ea(!wa,za.map(Wa=>ma(Wa)),Fa.map(Wa=>ma(Wa))),Jo(za)};let $a;if(ga!=="radio"){let Fa;if(rr.value){const qa=createVNode(Menu,{getPopupContainer:Ia.value},{default:()=>[rr.value.map((Xa,Oa)=>{const{key:Ma,text:Ua,onSelect:Qa}=Xa;return createVNode(Menu.Item,{key:Ma||Oa,onClick:()=>{Qa==null||Qa(Ta)}},{default:()=>[Ua]})})]});Fa=createVNode("div",{class:`${fa.value}-selection-extra`},[createVNode(Dropdown$1,{overlay:qa,getPopupContainer:Ia.value},{default:()=>[createVNode("span",null,[createVNode(DownOutlined$1,null,null)])]})])}const za=Ln.value.map((qa,Xa)=>{const Oa=ya.value(qa,Xa),Ma=Fn.value.get(Oa)||{};return _extends$1({checked:xa.has(Oa)},Ma)}).filter(qa=>{let{disabled:Xa}=qa;return Xa}),Wa=!!za.length&&za.length===nr.value,Ya=Wa&&za.every(qa=>{let{checked:Xa}=qa;return Xa}),ja=Wa&&za.some(qa=>{let{checked:Xa}=qa;return Xa});$a=!sa&&createVNode("div",{class:`${fa.value}-selection`},[createVNode(Checkbox,{checked:Wa?Ya:!!nr.value&&wa,indeterminate:Wa?!Ya&&ja:!wa&&La,onChange:Na,disabled:nr.value===0||Wa,"aria-label":Fa?"Custom selection":"Select all",skipGroup:!0},null),Fa])}let ka;ga==="radio"?ka=Fa=>{let{record:za,index:Wa}=Fa;const Ya=ya.value(za,Wa),ja=xa.has(Ya);return{node:createVNode(Radio,_objectSpread2$1(_objectSpread2$1({},Fn.value.get(Ya)),{},{checked:ja,onClick:qa=>qa.stopPropagation(),onChange:qa=>{xa.has(Ya)||Zo(Ya,!0,[Ya],qa.nativeEvent)}}),null),checked:ja}}:ka=Fa=>{let{record:za,index:Wa}=Fa;var Ya;const ja=ya.value(za,Wa),qa=xa.has(ja),Xa=Xn.value.has(ja),Oa=Fn.value.get(ja);let Ma;return ba.value==="nest"?(Ma=Xa,devWarning(typeof(Oa==null?void 0:Oa.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Ma=(Ya=Oa==null?void 0:Oa.indeterminate)!==null&&Ya!==void 0?Ya:Xa,{node:createVNode(Checkbox,_objectSpread2$1(_objectSpread2$1({},Oa),{},{indeterminate:Ma,checked:qa,skipGroup:!0,onClick:Ua=>Ua.stopPropagation(),onChange:Ua=>{let{nativeEvent:Qa}=Ua;const{shiftKey:ri}=Qa;let fi=-1,ei=-1;if(ri&&ia){const ti=new Set([Yo.value,ja]);Ta.some((ni,ui)=>{if(ti.has(ni))if(fi===-1)fi=ui;else return ei=ui,!0;return!1})}if(ei!==-1&&fi!==ei&&ia){const ti=Ta.slice(fi,ei+1),ni=[];qa?ti.forEach(mi=>{xa.has(mi)&&(ni.push(mi),xa.delete(mi))}):ti.forEach(mi=>{xa.has(mi)||(ni.push(mi),xa.add(mi))});const ui=Array.from(xa);la==null||la(!qa,ui.map(mi=>ma(mi)),ni.map(mi=>ma(mi))),Jo(ui)}else{const ti=Yn.value;if(ia){const ni=qa?arrDel(ti,ja):arrAdd(ti,ja);Zo(ja,!qa,ni,Qa)}else{const ni=conductCheck([...ti,ja],!0,Dn.value,Bn.value,Hn.value,zn),{checkedKeys:ui,halfCheckedKeys:mi}=ni;let di=ui;if(qa){const gi=new Set(ui);gi.delete(ja),di=conductCheck(Array.from(gi),{checked:!1,halfCheckedKeys:mi},Dn.value,Bn.value,Hn.value,zn).checkedKeys}Zo(ja,!qa,di,Qa)}}qo(ja)}}),null),checked:qa}};const Ha=Fa=>{let{record:za,index:Wa}=Fa;const{node:Ya,checked:ja}=ka({record:za,index:Wa});return ca?ca(ja,za,Wa,Ya):Ya};if(!Ea.includes(SELECTION_COLUMN))if(Ea.findIndex(Fa=>{var za;return((za=Fa[INTERNAL_COL_DEFINE])===null||za===void 0?void 0:za.columnType)==="EXPAND_COLUMN"})===0){const[Fa,...za]=Ea;Ea=[Fa,SELECTION_COLUMN,...za]}else Ea=[SELECTION_COLUMN,...Ea];const da=Ea.indexOf(SELECTION_COLUMN);Ea=Ea.filter((Fa,za)=>Fa!==SELECTION_COLUMN||za===da);const pa=Ea[da-1],Sa=Ea[da+1];let Aa=aa;Aa===void 0&&((Sa==null?void 0:Sa.fixed)!==void 0?Aa=Sa.fixed:(pa==null?void 0:pa.fixed)!==void 0&&(Aa=pa.fixed)),Aa&&pa&&((ra=pa[INTERNAL_COL_DEFINE])===null||ra===void 0?void 0:ra.columnType)==="EXPAND_COLUMN"&&pa.fixed===void 0&&(pa.fixed=Aa);const Ra={fixed:Aa,width:ua,className:`${fa.value}-selection-column`,title:_n.value.columnTitle||$a,customRender:Ha,[INTERNAL_COL_DEFINE]:{class:`${fa.value}-selection-col`}};return Ea.map(Fa=>Fa===SELECTION_COLUMN?Ra:Fa)},Go]}var CaretDownOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const CaretDownOutlinedSvg=CaretDownOutlined$2;function _objectSpread$h($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$h($n,In,_n[In])})}return $n}function _defineProperty$h($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CaretDownOutlined=function(Cn,_n){var Pn=_objectSpread$h({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$h({},Pn,{icon:CaretDownOutlinedSvg}),null)};CaretDownOutlined.displayName="CaretDownOutlined";CaretDownOutlined.inheritAttrs=!1;const CaretDownOutlined$1=CaretDownOutlined;var CaretUpOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const CaretUpOutlinedSvg=CaretUpOutlined$2;function _objectSpread$g($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$g($n,In,_n[In])})}return $n}function _defineProperty$g($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CaretUpOutlined=function(Cn,_n){var Pn=_objectSpread$g({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$g({},Pn,{icon:CaretUpOutlinedSvg}),null)};CaretUpOutlined.displayName="CaretUpOutlined";CaretUpOutlined.inheritAttrs=!1;const CaretUpOutlined$1=CaretUpOutlined;var __rest$f=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function getColumnKey($n,Cn){return"key"in $n&&$n.key!==void 0&&$n.key!==null?$n.key:$n.dataIndex?Array.isArray($n.dataIndex)?$n.dataIndex.join("."):$n.dataIndex:Cn}function getColumnPos($n,Cn){return Cn?`${Cn}-${$n}`:`${$n}`}function renderColumnTitle($n,Cn){return typeof $n=="function"?$n(Cn):$n}function convertChildrenToColumns(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const Cn=flattenChildren($n),_n=[];return Cn.forEach(Pn=>{var In,Nn,Rn,Dn;if(!Pn)return;const Ln=Pn.key,Fn=((In=Pn.props)===null||In===void 0?void 0:In.style)||{},Bn=((Nn=Pn.props)===null||Nn===void 0?void 0:Nn.class)||"",Hn=Pn.props||{};for(const[Go,Xn]of Object.entries(Hn))Hn[camelize(Go)]=Xn;const zn=Pn.children||{},{default:Wn}=zn,Yn=__rest$f(zn,["default"]),Gn=_extends$1(_extends$1(_extends$1({},Yn),Hn),{style:Fn,class:Bn});if(Ln&&(Gn.key=Ln),!((Rn=Pn.type)===null||Rn===void 0)&&Rn.__ANT_TABLE_COLUMN_GROUP)Gn.children=convertChildrenToColumns(typeof Wn=="function"?Wn():Wn);else{const Go=(Dn=Pn.children)===null||Dn===void 0?void 0:Dn.default;Gn.customRender=Gn.customRender||Go}_n.push(Gn)}),_n}const ASCEND="ascend",DESCEND="descend";function getMultiplePriority($n){return typeof $n.sorter=="object"&&typeof $n.sorter.multiple=="number"?$n.sorter.multiple:!1}function getSortFunction($n){return typeof $n=="function"?$n:$n&&typeof $n=="object"&&$n.compare?$n.compare:!1}function nextSortDirection($n,Cn){return Cn?$n[$n.indexOf(Cn)+1]:$n[0]}function collectSortStates($n,Cn,_n){let Pn=[];function In(Nn,Rn){Pn.push({column:Nn,key:getColumnKey(Nn,Rn),multiplePriority:getMultiplePriority(Nn),sortOrder:Nn.sortOrder})}return($n||[]).forEach((Nn,Rn)=>{const Dn=getColumnPos(Rn,_n);Nn.children?("sortOrder"in Nn&&In(Nn,Dn),Pn=[...Pn,...collectSortStates(Nn.children,Cn,Dn)]):Nn.sorter&&("sortOrder"in Nn?In(Nn,Dn):Cn&&Nn.defaultSortOrder&&Pn.push({column:Nn,key:getColumnKey(Nn,Dn),multiplePriority:getMultiplePriority(Nn),sortOrder:Nn.defaultSortOrder}))}),Pn}function injectSorter($n,Cn,_n,Pn,In,Nn,Rn,Dn){return(Cn||[]).map((Ln,Fn)=>{const Bn=getColumnPos(Fn,Dn);let Hn=Ln;if(Hn.sorter){const zn=Hn.sortDirections||In,Wn=Hn.showSorterTooltip===void 0?Rn:Hn.showSorterTooltip,Yn=getColumnKey(Hn,Bn),Gn=_n.find(oa=>{let{key:ra}=oa;return ra===Yn}),Go=Gn?Gn.sortOrder:null,Xn=nextSortDirection(zn,Go),Yo=zn.includes(ASCEND)&&createVNode(CaretUpOutlined$1,{class:classNames(`${$n}-column-sorter-up`,{active:Go===ASCEND}),role:"presentation"},null),qo=zn.includes(DESCEND)&&createVNode(CaretDownOutlined$1,{role:"presentation",class:classNames(`${$n}-column-sorter-down`,{active:Go===DESCEND})},null),{cancelSort:Jo,triggerAsc:Zo,triggerDesc:rr}=Nn||{};let nr=Jo;Xn===DESCEND?nr=rr:Xn===ASCEND&&(nr=Zo);const ta=typeof Wn=="object"?Wn:{title:nr};Hn=_extends$1(_extends$1({},Hn),{className:classNames(Hn.className,{[`${$n}-column-sort`]:Go}),title:oa=>{const ra=createVNode("div",{class:`${$n}-column-sorters`},[createVNode("span",{class:`${$n}-column-title`},[renderColumnTitle(Ln.title,oa)]),createVNode("span",{class:classNames(`${$n}-column-sorter`,{[`${$n}-column-sorter-full`]:!!(Yo&&qo)})},[createVNode("span",{class:`${$n}-column-sorter-inner`},[Yo,qo])])]);return Wn?createVNode(Tooltip,ta,{default:()=>[ra]}):ra},customHeaderCell:oa=>{const ra=Ln.customHeaderCell&&Ln.customHeaderCell(oa)||{},ea=ra.onClick,la=ra.onKeydown;return ra.onClick=ua=>{Pn({column:Ln,key:Yn,sortOrder:Xn,multiplePriority:getMultiplePriority(Ln)}),ea&&ea(ua)},ra.onKeydown=ua=>{ua.keyCode===KeyCode$1.ENTER&&(Pn({column:Ln,key:Yn,sortOrder:Xn,multiplePriority:getMultiplePriority(Ln)}),la==null||la(ua))},Go&&(ra["aria-sort"]=Go==="ascend"?"ascending":"descending"),ra.class=classNames(ra.class,`${$n}-column-has-sorters`),ra.tabindex=0,ra}})}return"children"in Hn&&(Hn=_extends$1(_extends$1({},Hn),{children:injectSorter($n,Hn.children,_n,Pn,In,Nn,Rn,Bn)})),Hn})}function stateToInfo($n){const{column:Cn,sortOrder:_n}=$n;return{column:Cn,order:_n,field:Cn.dataIndex,columnKey:Cn.key}}function generateSorterInfo($n){const Cn=$n.filter(_n=>{let{sortOrder:Pn}=_n;return Pn}).map(stateToInfo);return Cn.length===0&&$n.length?_extends$1(_extends$1({},stateToInfo($n[$n.length-1])),{column:void 0}):Cn.length<=1?Cn[0]||{}:Cn}function getSortData($n,Cn,_n){const Pn=Cn.slice().sort((Rn,Dn)=>Dn.multiplePriority-Rn.multiplePriority),In=$n.slice(),Nn=Pn.filter(Rn=>{let{column:{sorter:Dn},sortOrder:Ln}=Rn;return getSortFunction(Dn)&&Ln});return Nn.length?In.sort((Rn,Dn)=>{for(let Ln=0;Ln<Nn.length;Ln+=1){const Fn=Nn[Ln],{column:{sorter:Bn},sortOrder:Hn}=Fn,zn=getSortFunction(Bn);if(zn&&Hn){const Wn=zn(Rn,Dn,Hn);if(Wn!==0)return Hn===ASCEND?Wn:-Wn}}return 0}).map(Rn=>{const Dn=Rn[_n];return Dn?_extends$1(_extends$1({},Rn),{[_n]:getSortData(Dn,Cn,_n)}):Rn}):In}function useFilterSorter($n){let{prefixCls:Cn,mergedColumns:_n,onSorterChange:Pn,sortDirections:In,tableLocale:Nn,showSorterTooltip:Rn}=$n;const[Dn,Ln]=useState(collectSortStates(_n.value,!0)),Fn=computed(()=>{let Yn=!0;const Gn=collectSortStates(_n.value,!1);if(!Gn.length)return Dn.value;const Go=[];function Xn(qo){Yn?Go.push(qo):Go.push(_extends$1(_extends$1({},qo),{sortOrder:null}))}let Yo=null;return Gn.forEach(qo=>{Yo===null?(Xn(qo),qo.sortOrder&&(qo.multiplePriority===!1?Yn=!1:Yo=!0)):(Yo&&qo.multiplePriority!==!1||(Yn=!1),Xn(qo))}),Go}),Bn=computed(()=>{const Yn=Fn.value.map(Gn=>{let{column:Go,sortOrder:Xn}=Gn;return{column:Go,order:Xn}});return{sortColumns:Yn,sortColumn:Yn[0]&&Yn[0].column,sortOrder:Yn[0]&&Yn[0].order}});function Hn(Yn){let Gn;Yn.multiplePriority===!1||!Fn.value.length||Fn.value[0].multiplePriority===!1?Gn=[Yn]:Gn=[...Fn.value.filter(Go=>{let{key:Xn}=Go;return Xn!==Yn.key}),Yn],Ln(Gn),Pn(generateSorterInfo(Gn),Gn)}const zn=Yn=>injectSorter(Cn.value,Yn,Fn.value,Hn,In.value,Nn.value,Rn.value),Wn=computed(()=>generateSorterInfo(Fn.value));return[zn,Fn,Bn,Wn]}var FilterFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const FilterFilledSvg=FilterFilled$2;function _objectSpread$f($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$f($n,In,_n[In])})}return $n}function _defineProperty$f($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FilterFilled=function(Cn,_n){var Pn=_objectSpread$f({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$f({},Pn,{icon:FilterFilledSvg}),null)};FilterFilled.displayName="FilterFilled";FilterFilled.inheritAttrs=!1;const FilterFilled$1=FilterFilled,onKeyDown=$n=>{const{keyCode:Cn}=$n;Cn===KeyCode$1.ENTER&&$n.stopPropagation()},FilterDropdownMenuWrapper=($n,Cn)=>{let{slots:_n}=Cn;var Pn;return createVNode("div",{onClick:In=>In.stopPropagation(),onKeydown:onKeyDown},[(Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n)])},FilterDropdownMenuWrapper$1=FilterDropdownMenuWrapper,FilterSearch=defineComponent({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:stringType(),onChange:functionType(),filterSearch:someType([Boolean,Function]),tablePrefixCls:stringType(),locale:objectType()},setup($n){return()=>{const{value:Cn,onChange:_n,filterSearch:Pn,tablePrefixCls:In,locale:Nn}=$n;return Pn?createVNode("div",{class:`${In}-filter-dropdown-search`},[createVNode(Input,{placeholder:Nn.filterSearchPlaceholder,onChange:_n,value:Cn,htmlSize:1,class:`${In}-filter-dropdown-search-input`},{prefix:()=>createVNode(SearchOutlined$1,null,null)})]):null}}});var __rest$e=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const MotionTreeNode=defineComponent({compatConfig:{MODE:3},name:"MotionTreeNode",inheritAttrs:!1,props:_extends$1(_extends$1({},treeNodeProps),{active:Boolean,motion:Object,motionNodes:{type:Array},onMotionStart:Function,onMotionEnd:Function,motionType:String}),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=shallowRef(!0),Nn=useInjectTreeContext(),Rn=shallowRef(!1),Dn=computed(()=>$n.motion?$n.motion:collapseMotion$1()),Ln=(Fn,Bn)=>{var Hn,zn,Wn,Yn;Bn==="appear"?(zn=(Hn=Dn.value)===null||Hn===void 0?void 0:Hn.onAfterEnter)===null||zn===void 0||zn.call(Hn,Fn):Bn==="leave"&&((Yn=(Wn=Dn.value)===null||Wn===void 0?void 0:Wn.onAfterLeave)===null||Yn===void 0||Yn.call(Wn,Fn)),Rn.value||$n.onMotionEnd(),Rn.value=!0};return watch(()=>$n.motionNodes,()=>{$n.motionNodes&&$n.motionType==="hide"&&In.value&&nextTick(()=>{In.value=!1})},{immediate:!0,flush:"post"}),onMounted(()=>{$n.motionNodes&&$n.onMotionStart()}),onBeforeUnmount(()=>{$n.motionNodes&&Ln()}),()=>{const{motion:Fn,motionNodes:Bn,motionType:Hn,active:zn,eventKey:Wn}=$n,Yn=__rest$e($n,["motion","motionNodes","motionType","active","eventKey"]);return Bn?createVNode(Transition,_objectSpread2$1(_objectSpread2$1({},Dn.value),{},{appear:Hn==="show",onAfterAppear:Gn=>Ln(Gn,"appear"),onAfterLeave:Gn=>Ln(Gn,"leave")}),{default:()=>[withDirectives(createVNode("div",{class:`${Nn.value.prefixCls}-treenode-motion`},[Bn.map(Gn=>{const Go=__rest$e(Gn.data,[]),{title:Xn,key:Yo,isStart:qo,isEnd:Jo}=Gn;return delete Go.children,createVNode(VcTreeNode,_objectSpread2$1(_objectSpread2$1({},Go),{},{title:Xn,active:zn,data:Gn.data,key:Yo,eventKey:Yo,isStart:qo,isEnd:Jo}),Pn)})]),[[vShow,In.value]])]}):createVNode(VcTreeNode,_objectSpread2$1(_objectSpread2$1({class:_n.class,style:_n.style},Yn),{},{active:zn,eventKey:Wn}),Pn)}}});function findExpandedKeys(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const _n=$n.length,Pn=Cn.length;if(Math.abs(_n-Pn)!==1)return{add:!1,key:null};function In(Nn,Rn){const Dn=new Map;Nn.forEach(Fn=>{Dn.set(Fn,!0)});const Ln=Rn.filter(Fn=>!Dn.has(Fn));return Ln.length===1?Ln[0]:null}return _n<Pn?{add:!0,key:In($n,Cn)}:{add:!1,key:In(Cn,$n)}}function getExpandRange($n,Cn,_n){const Pn=$n.findIndex(Rn=>Rn.key===_n),In=$n[Pn+1],Nn=Cn.findIndex(Rn=>Rn.key===_n);if(In){const Rn=Cn.findIndex(Dn=>Dn.key===In.key);return Cn.slice(Nn+1,Rn)}return Cn.slice(Nn+1)}var __rest$d=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const HIDDEN_STYLE$1={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},noop$4=()=>{},MOTION_KEY=`RC_TREE_MOTION_${Math.random()}`,MotionNode={key:MOTION_KEY},MotionEntity={key:MOTION_KEY,level:0,index:0,pos:"0",node:MotionNode,nodes:[MotionNode]},MotionFlattenData={parent:null,children:[],pos:MotionEntity.pos,data:MotionNode,title:null,key:MOTION_KEY,isStart:[],isEnd:[]};function getMinimumRangeTransitionRange($n,Cn,_n,Pn){return Cn===!1||!_n?$n:$n.slice(0,Math.ceil(_n/Pn)+1)}function itemKey($n){const{key:Cn,pos:_n}=$n;return getKey(Cn,_n)}function getAccessibilityPath($n){let Cn=String($n.key),_n=$n;for(;_n.parent;)_n=_n.parent,Cn=`${_n.key} > ${Cn}`;return Cn}const NodeList=defineComponent({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:nodeListProps,setup($n,Cn){let{expose:_n,attrs:Pn}=Cn;const In=ref(),Nn=ref(),{expandedKeys:Rn,flattenNodes:Dn}=useInjectKeysState();_n({scrollTo:Gn=>{In.value.scrollTo(Gn)},getIndentWidth:()=>Nn.value.offsetWidth});const Ln=shallowRef(Dn.value),Fn=shallowRef([]),Bn=ref(null);function Hn(){Ln.value=Dn.value,Fn.value=[],Bn.value=null,$n.onListChangeEnd()}const zn=useInjectTreeContext();watch([()=>Rn.value.slice(),Dn],(Gn,Go)=>{let[Xn,Yo]=Gn,[qo,Jo]=Go;const Zo=findExpandedKeys(qo,Xn);if(Zo.key!==null){const{virtual:rr,height:nr,itemHeight:ta}=$n;if(Zo.add){const oa=Jo.findIndex(la=>{let{key:ua}=la;return ua===Zo.key}),ra=getMinimumRangeTransitionRange(getExpandRange(Jo,Yo,Zo.key),rr,nr,ta),ea=Jo.slice();ea.splice(oa+1,0,MotionFlattenData),Ln.value=ea,Fn.value=ra,Bn.value="show"}else{const oa=Yo.findIndex(la=>{let{key:ua}=la;return ua===Zo.key}),ra=getMinimumRangeTransitionRange(getExpandRange(Yo,Jo,Zo.key),rr,nr,ta),ea=Yo.slice();ea.splice(oa+1,0,MotionFlattenData),Ln.value=ea,Fn.value=ra,Bn.value="hide"}}else Jo!==Yo&&(Ln.value=Yo)}),watch(()=>zn.value.dragging,Gn=>{Gn||Hn()});const Wn=computed(()=>$n.motion===void 0?Ln.value:Dn.value),Yn=()=>{$n.onActiveChange(null)};return()=>{const Gn=_extends$1(_extends$1({},$n),Pn),{prefixCls:Go,selectable:Xn,checkable:Yo,disabled:qo,motion:Jo,height:Zo,itemHeight:rr,virtual:nr,focusable:ta,activeItem:oa,focused:ra,tabindex:ea,onKeydown:la,onFocus:ua,onBlur:ga,onListChangeStart:aa,onListChangeEnd:ca}=Gn,sa=__rest$d(Gn,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return createVNode(Fragment,null,[ra&&oa&&createVNode("span",{style:HIDDEN_STYLE$1,"aria-live":"assertive"},[getAccessibilityPath(oa)]),createVNode("div",null,[createVNode("input",{style:HIDDEN_STYLE$1,disabled:ta===!1||qo,tabindex:ta!==!1?ea:null,onKeydown:la,onFocus:ua,onBlur:ga,value:"",onChange:noop$4,"aria-label":"for screen reader"},null)]),createVNode("div",{class:`${Go}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[createVNode("div",{class:`${Go}-indent`},[createVNode("div",{ref:Nn,class:`${Go}-indent-unit`},null)])]),createVNode(List$4,_objectSpread2$1(_objectSpread2$1({},omit$1(sa,["onActiveChange"])),{},{data:Wn.value,itemKey,height:Zo,fullHeight:!1,virtual:nr,itemHeight:rr,prefixCls:`${Go}-list`,ref:In,onVisibleChange:(ia,fa)=>{const ma=new Set(ia);fa.filter(ba=>!ma.has(ba)).some(ba=>itemKey(ba)===MOTION_KEY)&&Hn()}}),{default:ia=>{const{pos:fa}=ia,ma=__rest$d(ia.data,[]),{title:ya,key:ba,isStart:Ia,isEnd:Ea}=ia,xa=getKey(ba,fa);return delete ma.key,delete ma.children,createVNode(MotionTreeNode,_objectSpread2$1(_objectSpread2$1({},ma),{},{eventKey:xa,title:ya,active:!!oa&&ba===oa.key,data:ia.data,isStart:Ia,isEnd:Ea,motion:Jo,motionNodes:ba===MOTION_KEY?Fn.value:null,motionType:Bn.value,onMotionStart:aa,onMotionEnd:Hn,onMousemove:Yn}),null)}})])}}});function DropIndicator($n){let{dropPosition:Cn,dropLevelOffset:_n,indent:Pn}=$n;const In={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(Cn){case-1:In.top=0,In.left=`${-_n*Pn}px`;break;case 1:In.bottom=0,In.left=`${-_n*Pn}px`;break;case 0:In.bottom=0,In.left=`${Pn}`;break}return createVNode("div",{style:In},null)}const MAX_RETRY_TIMES=10,Tree$2=defineComponent({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:initDefaultProps(treeProps$1(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:DropIndicator,allowDrop:()=>!0}),setup($n,Cn){let{attrs:_n,slots:Pn,expose:In}=Cn;const Nn=shallowRef(!1);let Rn={};const Dn=shallowRef(),Ln=shallowRef([]),Fn=shallowRef([]),Bn=shallowRef([]),Hn=shallowRef([]),zn=shallowRef([]),Wn=shallowRef([]),Yn={},Gn=reactive({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),Go=shallowRef([]);watch([()=>$n.treeData,()=>$n.children],()=>{Go.value=$n.treeData!==void 0?toRaw($n.treeData).slice():convertTreeToData(toRaw($n.children))},{immediate:!0,deep:!0});const Xn=shallowRef({}),Yo=shallowRef(!1),qo=shallowRef(null),Jo=shallowRef(!1),Zo=computed(()=>fillFieldNames$1($n.fieldNames)),rr=shallowRef();let nr=null,ta=null,oa=null;const ra=computed(()=>({expandedKeysSet:ea.value,selectedKeysSet:la.value,loadedKeysSet:ua.value,loadingKeysSet:ga.value,checkedKeysSet:aa.value,halfCheckedKeysSet:ca.value,dragOverNodeKey:Gn.dragOverNodeKey,dropPosition:Gn.dropPosition,keyEntities:Xn.value})),ea=computed(()=>new Set(Wn.value)),la=computed(()=>new Set(Ln.value)),ua=computed(()=>new Set(Hn.value)),ga=computed(()=>new Set(zn.value)),aa=computed(()=>new Set(Fn.value)),ca=computed(()=>new Set(Bn.value));watchEffect(()=>{if(Go.value){const ei=convertDataToEntities(Go.value,{fieldNames:Zo.value});Xn.value=_extends$1({[MOTION_KEY]:MotionEntity},ei.keyEntities)}});let sa=!1;watch([()=>$n.expandedKeys,()=>$n.autoExpandParent,Xn],(ei,ti)=>{let[ni,ui]=ei,[mi,di]=ti,gi=Wn.value;if($n.expandedKeys!==void 0||sa&&ui!==di)gi=$n.autoExpandParent||!sa&&$n.defaultExpandParent?conductExpandParent($n.expandedKeys,Xn.value):$n.expandedKeys;else if(!sa&&$n.defaultExpandAll){const wi=_extends$1({},Xn.value);delete wi[MOTION_KEY],gi=Object.keys(wi).map(Ti=>wi[Ti].key)}else!sa&&$n.defaultExpandedKeys&&(gi=$n.autoExpandParent||$n.defaultExpandParent?conductExpandParent($n.defaultExpandedKeys,Xn.value):$n.defaultExpandedKeys);gi&&(Wn.value=gi),sa=!0},{immediate:!0});const ia=shallowRef([]);watchEffect(()=>{ia.value=flattenTreeData(Go.value,Wn.value,Zo.value)}),watchEffect(()=>{$n.selectable&&($n.selectedKeys!==void 0?Ln.value=calcSelectedKeys($n.selectedKeys,$n):!sa&&$n.defaultSelectedKeys&&(Ln.value=calcSelectedKeys($n.defaultSelectedKeys,$n)))});const{maxLevel:fa,levelEntities:ma}=useMaxLevel(Xn);watchEffect(()=>{if($n.checkable){let ei;if($n.checkedKeys!==void 0?ei=parseCheckedKeys($n.checkedKeys)||{}:!sa&&$n.defaultCheckedKeys?ei=parseCheckedKeys($n.defaultCheckedKeys)||{}:Go.value&&(ei=parseCheckedKeys($n.checkedKeys)||{checkedKeys:Fn.value,halfCheckedKeys:Bn.value}),ei){let{checkedKeys:ti=[],halfCheckedKeys:ni=[]}=ei;$n.checkStrictly||({checkedKeys:ti,halfCheckedKeys:ni}=conductCheck(ti,!0,Xn.value,fa.value,ma.value)),Fn.value=ti,Bn.value=ni}}}),watchEffect(()=>{$n.loadedKeys&&(Hn.value=$n.loadedKeys)});const ya=()=>{_extends$1(Gn,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},ba=ei=>{rr.value.scrollTo(ei)};watch(()=>$n.activeKey,()=>{$n.activeKey!==void 0&&(qo.value=$n.activeKey)},{immediate:!0}),watch(qo,ei=>{nextTick(()=>{ei!==null&&ba({key:ei})})},{immediate:!0,flush:"post"});const Ia=ei=>{$n.expandedKeys===void 0&&(Wn.value=ei)},Ea=()=>{Gn.draggingNodeKey!==null&&_extends$1(Gn,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),nr=null,oa=null},xa=(ei,ti)=>{const{onDragend:ni}=$n;Gn.dragOverNodeKey=null,Ea(),ni==null||ni({event:ei,node:ti.eventData}),ta=null},Ta=ei=>{xa(ei,null),window.removeEventListener("dragend",Ta)},wa=(ei,ti)=>{const{onDragstart:ni}=$n,{eventKey:ui,eventData:mi}=ti;ta=ti,nr={x:ei.clientX,y:ei.clientY};const di=arrDel(Wn.value,ui);Gn.draggingNodeKey=ui,Gn.dragChildrenKeys=getDragChildrenKeys(ui,Xn.value),Dn.value=rr.value.getIndentWidth(),Ia(di),window.addEventListener("dragend",Ta),ni&&ni({event:ei,node:mi})},La=(ei,ti)=>{const{onDragenter:ni,onExpand:ui,allowDrop:mi,direction:di}=$n,{pos:gi,eventKey:wi}=ti;if(oa!==wi&&(oa=wi),!ta){ya();return}const{dropPosition:Ti,dropLevelOffset:Ei,dropTargetKey:Ni,dropContainerKey:Ri,dropTargetPos:Zi,dropAllowed:Qi,dragOverNodeKey:Ji}=calcDropPosition(ei,ta,ti,Dn.value,nr,mi,ia.value,Xn.value,ea.value,di);if(Gn.dragChildrenKeys.indexOf(Ni)!==-1||!Qi){ya();return}if(Rn||(Rn={}),Object.keys(Rn).forEach(Yi=>{clearTimeout(Rn[Yi])}),ta.eventKey!==ti.eventKey&&(Rn[gi]=window.setTimeout(()=>{if(Gn.draggingNodeKey===null)return;let Yi=Wn.value.slice();const rl=Xn.value[ti.eventKey];rl&&(rl.children||[]).length&&(Yi=arrAdd(Wn.value,ti.eventKey)),Ia(Yi),ui&&ui(Yi,{node:ti.eventData,expanded:!0,nativeEvent:ei})},800)),ta.eventKey===Ni&&Ei===0){ya();return}_extends$1(Gn,{dragOverNodeKey:Ji,dropPosition:Ti,dropLevelOffset:Ei,dropTargetKey:Ni,dropContainerKey:Ri,dropTargetPos:Zi,dropAllowed:Qi}),ni&&ni({event:ei,node:ti.eventData,expandedKeys:Wn.value})},Na=(ei,ti)=>{const{onDragover:ni,allowDrop:ui,direction:mi}=$n;if(!ta)return;const{dropPosition:di,dropLevelOffset:gi,dropTargetKey:wi,dropContainerKey:Ti,dropAllowed:Ei,dropTargetPos:Ni,dragOverNodeKey:Ri}=calcDropPosition(ei,ta,ti,Dn.value,nr,ui,ia.value,Xn.value,ea.value,mi);Gn.dragChildrenKeys.indexOf(wi)!==-1||!Ei||(ta.eventKey===wi&&gi===0?Gn.dropPosition===null&&Gn.dropLevelOffset===null&&Gn.dropTargetKey===null&&Gn.dropContainerKey===null&&Gn.dropTargetPos===null&&Gn.dropAllowed===!1&&Gn.dragOverNodeKey===null||ya():di===Gn.dropPosition&&gi===Gn.dropLevelOffset&&wi===Gn.dropTargetKey&&Ti===Gn.dropContainerKey&&Ni===Gn.dropTargetPos&&Ei===Gn.dropAllowed&&Ri===Gn.dragOverNodeKey||_extends$1(Gn,{dropPosition:di,dropLevelOffset:gi,dropTargetKey:wi,dropContainerKey:Ti,dropTargetPos:Ni,dropAllowed:Ei,dragOverNodeKey:Ri}),ni&&ni({event:ei,node:ti.eventData}))},$a=(ei,ti)=>{oa===ti.eventKey&&!ei.currentTarget.contains(ei.relatedTarget)&&(ya(),oa=null);const{onDragleave:ni}=$n;ni&&ni({event:ei,node:ti.eventData})},ka=function(ei,ti){let ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ui;const{dragChildrenKeys:mi,dropPosition:di,dropTargetKey:gi,dropTargetPos:wi,dropAllowed:Ti}=Gn;if(!Ti)return;const{onDrop:Ei}=$n;if(Gn.dragOverNodeKey=null,Ea(),gi===null)return;const Ni=_extends$1(_extends$1({},getTreeNodeProps(gi,toRaw(ra.value))),{active:((ui=Ua.value)===null||ui===void 0?void 0:ui.key)===gi,data:Xn.value[gi].node});mi.indexOf(gi);const Ri=posToArr(wi),Zi={event:ei,node:convertNodePropsToEventData(Ni),dragNode:ta?ta.eventData:null,dragNodesKeys:[ta.eventKey].concat(mi),dropToGap:di!==0,dropPosition:di+Number(Ri[Ri.length-1])};ni||Ei==null||Ei(Zi),ta=null},Ha=(ei,ti)=>{const{expanded:ni,key:ui}=ti,mi=ia.value.filter(gi=>gi.key===ui)[0],di=convertNodePropsToEventData(_extends$1(_extends$1({},getTreeNodeProps(ui,ra.value)),{data:mi.data}));Ia(ni?arrDel(Wn.value,ui):arrAdd(Wn.value,ui)),qa(ei,di)},da=(ei,ti)=>{const{onClick:ni,expandAction:ui}=$n;ui==="click"&&Ha(ei,ti),ni&&ni(ei,ti)},pa=(ei,ti)=>{const{onDblclick:ni,expandAction:ui}=$n;(ui==="doubleclick"||ui==="dblclick")&&Ha(ei,ti),ni&&ni(ei,ti)},Sa=(ei,ti)=>{let ni=Ln.value;const{onSelect:ui,multiple:mi}=$n,{selected:di}=ti,gi=ti[Zo.value.key],wi=!di;wi?mi?ni=arrAdd(ni,gi):ni=[gi]:ni=arrDel(ni,gi);const Ti=Xn.value,Ei=ni.map(Ni=>{const Ri=Ti[Ni];return Ri?Ri.node:null}).filter(Ni=>Ni);$n.selectedKeys===void 0&&(Ln.value=ni),ui&&ui(ni,{event:"select",selected:wi,node:ti,selectedNodes:Ei,nativeEvent:ei})},Aa=(ei,ti,ni)=>{const{checkStrictly:ui,onCheck:mi}=$n,di=ti[Zo.value.key];let gi;const wi={event:"check",node:ti,checked:ni,nativeEvent:ei},Ti=Xn.value;if(ui){const Ei=ni?arrAdd(Fn.value,di):arrDel(Fn.value,di),Ni=arrDel(Bn.value,di);gi={checked:Ei,halfChecked:Ni},wi.checkedNodes=Ei.map(Ri=>Ti[Ri]).filter(Ri=>Ri).map(Ri=>Ri.node),$n.checkedKeys===void 0&&(Fn.value=Ei)}else{let{checkedKeys:Ei,halfCheckedKeys:Ni}=conductCheck([...Fn.value,di],!0,Ti,fa.value,ma.value);if(!ni){const Ri=new Set(Ei);Ri.delete(di),{checkedKeys:Ei,halfCheckedKeys:Ni}=conductCheck(Array.from(Ri),{checked:!1,halfCheckedKeys:Ni},Ti,fa.value,ma.value)}gi=Ei,wi.checkedNodes=[],wi.checkedNodesPositions=[],wi.halfCheckedKeys=Ni,Ei.forEach(Ri=>{const Zi=Ti[Ri];if(!Zi)return;const{node:Qi,pos:Ji}=Zi;wi.checkedNodes.push(Qi),wi.checkedNodesPositions.push({node:Qi,pos:Ji})}),$n.checkedKeys===void 0&&(Fn.value=Ei,Bn.value=Ni)}mi&&mi(gi,wi)},Ra=ei=>{const ti=ei[Zo.value.key],ni=new Promise((ui,mi)=>{const{loadData:di,onLoad:gi}=$n;if(!di||ua.value.has(ti)||ga.value.has(ti))return null;di(ei).then(()=>{const Ti=arrAdd(Hn.value,ti),Ei=arrDel(zn.value,ti);gi&&gi(Ti,{event:"load",node:ei}),$n.loadedKeys===void 0&&(Hn.value=Ti),zn.value=Ei,ui()}).catch(Ti=>{const Ei=arrDel(zn.value,ti);if(zn.value=Ei,Yn[ti]=(Yn[ti]||0)+1,Yn[ti]>=MAX_RETRY_TIMES){const Ni=arrAdd(Hn.value,ti);$n.loadedKeys===void 0&&(Hn.value=Ni),ui()}mi(Ti)}),zn.value=arrAdd(zn.value,ti)});return ni.catch(()=>{}),ni},Fa=(ei,ti)=>{const{onMouseenter:ni}=$n;ni&&ni({event:ei,node:ti})},za=(ei,ti)=>{const{onMouseleave:ni}=$n;ni&&ni({event:ei,node:ti})},Wa=(ei,ti)=>{const{onRightClick:ni}=$n;ni&&(ei.preventDefault(),ni({event:ei,node:ti}))},Ya=ei=>{const{onFocus:ti}=$n;Yo.value=!0,ti&&ti(ei)},ja=ei=>{const{onBlur:ti}=$n;Yo.value=!1,Ma(null),ti&&ti(ei)},qa=(ei,ti)=>{let ni=Wn.value;const{onExpand:ui,loadData:mi}=$n,{expanded:di}=ti,gi=ti[Zo.value.key];if(Jo.value)return;ni.indexOf(gi);const wi=!di;if(wi?ni=arrAdd(ni,gi):ni=arrDel(ni,gi),Ia(ni),ui&&ui(ni,{node:ti,expanded:wi,nativeEvent:ei}),wi&&mi){const Ti=Ra(ti);Ti&&Ti.then(()=>{}).catch(Ei=>{const Ni=arrDel(Wn.value,gi);Ia(Ni),Promise.reject(Ei)})}},Xa=()=>{Jo.value=!0},Oa=()=>{setTimeout(()=>{Jo.value=!1})},Ma=ei=>{const{onActiveChange:ti}=$n;qo.value!==ei&&($n.activeKey!==void 0&&(qo.value=ei),ei!==null&&ba({key:ei}),ti&&ti(ei))},Ua=computed(()=>qo.value===null?null:ia.value.find(ei=>{let{key:ti}=ei;return ti===qo.value})||null),Qa=ei=>{let ti=ia.value.findIndex(ui=>{let{key:mi}=ui;return mi===qo.value});ti===-1&&ei<0&&(ti=ia.value.length),ti=(ti+ei+ia.value.length)%ia.value.length;const ni=ia.value[ti];if(ni){const{key:ui}=ni;Ma(ui)}else Ma(null)},ri=computed(()=>convertNodePropsToEventData(_extends$1(_extends$1({},getTreeNodeProps(qo.value,ra.value)),{data:Ua.value.data,active:!0}))),fi=ei=>{const{onKeydown:ti,checkable:ni,selectable:ui}=$n;switch(ei.which){case KeyCode$1.UP:{Qa(-1),ei.preventDefault();break}case KeyCode$1.DOWN:{Qa(1),ei.preventDefault();break}}const mi=Ua.value;if(mi&&mi.data){const di=mi.data.isLeaf===!1||!!(mi.data.children||[]).length,gi=ri.value;switch(ei.which){case KeyCode$1.LEFT:{di&&ea.value.has(qo.value)?qa({},gi):mi.parent&&Ma(mi.parent.key),ei.preventDefault();break}case KeyCode$1.RIGHT:{di&&!ea.value.has(qo.value)?qa({},gi):mi.children&&mi.children.length&&Ma(mi.children[0].key),ei.preventDefault();break}case KeyCode$1.ENTER:case KeyCode$1.SPACE:{ni&&!gi.disabled&&gi.checkable!==!1&&!gi.disableCheckbox?Aa({},gi,!aa.value.has(qo.value)):!ni&&ui&&!gi.disabled&&gi.selectable!==!1&&Sa({},gi);break}}}ti&&ti(ei)};return In({onNodeExpand:qa,scrollTo:ba,onKeydown:fi,selectedKeys:computed(()=>Ln.value),checkedKeys:computed(()=>Fn.value),halfCheckedKeys:computed(()=>Bn.value),loadedKeys:computed(()=>Hn.value),loadingKeys:computed(()=>zn.value),expandedKeys:computed(()=>Wn.value)}),onUnmounted(()=>{window.removeEventListener("dragend",Ta),Nn.value=!0}),useProvideKeysState({expandedKeys:Wn,selectedKeys:Ln,loadedKeys:Hn,loadingKeys:zn,checkedKeys:Fn,halfCheckedKeys:Bn,expandedKeysSet:ea,selectedKeysSet:la,loadedKeysSet:ua,loadingKeysSet:ga,checkedKeysSet:aa,halfCheckedKeysSet:ca,flattenNodes:ia}),()=>{const{draggingNodeKey:ei,dropLevelOffset:ti,dropContainerKey:ni,dropTargetKey:ui,dropPosition:mi,dragOverNodeKey:di}=Gn,{prefixCls:gi,showLine:wi,focusable:Ti,tabindex:Ei=0,selectable:Ni,showIcon:Ri,icon:Zi=Pn.icon,switcherIcon:Qi,draggable:Ji,checkable:Yi,checkStrictly:rl,disabled:yi,motion:il,loadData:Tl,filterTreeNode:ul,height:ts,itemHeight:ci,virtual:Ci,dropIndicatorRender:bi,onContextmenu:Bi,onScroll:nl,direction:el,rootClassName:gl,rootStyle:ll}=$n,{class:Rl,style:ml}=_n,hl=pickAttrs(_extends$1(_extends$1({},$n),_n),{aria:!0,data:!0});let zi;return Ji?typeof Ji=="object"?zi=Ji:typeof Ji=="function"?zi={nodeDraggable:Ji}:zi={}:zi=!1,createVNode(TreeContext,{value:{prefixCls:gi,selectable:Ni,showIcon:Ri,icon:Zi,switcherIcon:Qi,draggable:zi,draggingNodeKey:ei,checkable:Yi,customCheckable:Pn.checkable,checkStrictly:rl,disabled:yi,keyEntities:Xn.value,dropLevelOffset:ti,dropContainerKey:ni,dropTargetKey:ui,dropPosition:mi,dragOverNodeKey:di,dragging:ei!==null,indent:Dn.value,direction:el,dropIndicatorRender:bi,loadData:Tl,filterTreeNode:ul,onNodeClick:da,onNodeDoubleClick:pa,onNodeExpand:qa,onNodeSelect:Sa,onNodeCheck:Aa,onNodeLoad:Ra,onNodeMouseEnter:Fa,onNodeMouseLeave:za,onNodeContextMenu:Wa,onNodeDragStart:wa,onNodeDragEnter:La,onNodeDragOver:Na,onNodeDragLeave:$a,onNodeDragEnd:xa,onNodeDrop:ka,slots:Pn}},{default:()=>[createVNode("div",{role:"tree",class:classNames(gi,Rl,gl,{[`${gi}-show-line`]:wi,[`${gi}-focused`]:Yo.value,[`${gi}-active-focused`]:qo.value!==null}),style:ll},[createVNode(NodeList,_objectSpread2$1({ref:rr,prefixCls:gi,style:ml,disabled:yi,selectable:Ni,checkable:!!Yi,motion:il,height:ts,itemHeight:ci,virtual:Ci,focusable:Ti,focused:Yo.value,tabindex:Ei,activeItem:Ua.value,onFocus:Ya,onBlur:ja,onKeydown:fi,onActiveChange:Ma,onListChangeStart:Xa,onListChangeEnd:Oa,onContextmenu:Bi,onScroll:nl},hl),null)])]})}}});var FileOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const FileOutlinedSvg=FileOutlined$2;function _objectSpread$e($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$e($n,In,_n[In])})}return $n}function _defineProperty$e($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FileOutlined=function(Cn,_n){var Pn=_objectSpread$e({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$e({},Pn,{icon:FileOutlinedSvg}),null)};FileOutlined.displayName="FileOutlined";FileOutlined.inheritAttrs=!1;const FileOutlined$1=FileOutlined;var MinusSquareOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const MinusSquareOutlinedSvg=MinusSquareOutlined$2;function _objectSpread$d($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$d($n,In,_n[In])})}return $n}function _defineProperty$d($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var MinusSquareOutlined=function(Cn,_n){var Pn=_objectSpread$d({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$d({},Pn,{icon:MinusSquareOutlinedSvg}),null)};MinusSquareOutlined.displayName="MinusSquareOutlined";MinusSquareOutlined.inheritAttrs=!1;const MinusSquareOutlined$1=MinusSquareOutlined;var PlusSquareOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const PlusSquareOutlinedSvg=PlusSquareOutlined$2;function _objectSpread$c($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$c($n,In,_n[In])})}return $n}function _defineProperty$c($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var PlusSquareOutlined=function(Cn,_n){var Pn=_objectSpread$c({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$c({},Pn,{icon:PlusSquareOutlinedSvg}),null)};PlusSquareOutlined.displayName="PlusSquareOutlined";PlusSquareOutlined.inheritAttrs=!1;const PlusSquareOutlined$1=PlusSquareOutlined;var CaretDownFilled$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const CaretDownFilledSvg=CaretDownFilled$2;function _objectSpread$b($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$b($n,In,_n[In])})}return $n}function _defineProperty$b($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CaretDownFilled=function(Cn,_n){var Pn=_objectSpread$b({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$b({},Pn,{icon:CaretDownFilledSvg}),null)};CaretDownFilled.displayName="CaretDownFilled";CaretDownFilled.inheritAttrs=!1;const CaretDownFilled$1=CaretDownFilled;function renderSwitcherIcon($n,Cn,_n,Pn,In){const{isLeaf:Nn,expanded:Rn,loading:Dn}=_n;let Ln=Cn;if(Dn)return createVNode(LoadingOutlined$1,{class:`${$n}-switcher-loading-icon`},null);let Fn;In&&typeof In=="object"&&(Fn=In.showLeafIcon);let Bn=null;const Hn=`${$n}-switcher-icon`;return Nn?In?Fn&&Pn?Pn(_n):(typeof In=="object"&&!Fn?Bn=createVNode("span",{class:`${$n}-switcher-leaf-line`},null):Bn=createVNode(FileOutlined$1,{class:`${$n}-switcher-line-icon`},null),Bn):null:(Bn=createVNode(CaretDownFilled$1,{class:Hn},null),In&&(Bn=Rn?createVNode(MinusSquareOutlined$1,{class:`${$n}-switcher-line-icon`},null):createVNode(PlusSquareOutlined$1,{class:`${$n}-switcher-line-icon`},null)),typeof Cn=="function"?Ln=Cn(_extends$1(_extends$1({},_n),{defaultIcon:Bn,switcherCls:Hn})):isValidElement(Ln)&&(Ln=cloneVNode(Ln,{class:Hn})),Ln||Bn)}const offset$2=4;function dropIndicatorRender($n){const{dropPosition:Cn,dropLevelOffset:_n,prefixCls:Pn,indent:In,direction:Nn="ltr"}=$n,Rn=Nn==="ltr"?"left":"right",Dn=Nn==="ltr"?"right":"left",Ln={[Rn]:`${-_n*In+offset$2}px`,[Dn]:0};switch(Cn){case-1:Ln.top="-3px";break;case 1:Ln.bottom="-3px";break;default:Ln.bottom="-3px",Ln[Rn]=`${In+offset$2}px`;break}return createVNode("div",{style:Ln,class:`${Pn}-drop-indicator`},null)}const treeNodeFX=new Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),getSwitchStyle=($n,Cn)=>({[`.${$n}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Cn.motionDurationSlow}`}}}),getDropIndicatorStyle=($n,Cn)=>({[`.${$n}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Cn.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Cn.lineWidthBold}px solid ${Cn.colorPrimary}`,borderRadius:"50%",content:'""'}}}),genBaseStyle$4=($n,Cn)=>{const{treeCls:_n,treeNodeCls:Pn,treeNodePadding:In,treeTitleHeight:Nn}=Cn,Rn=(Nn-Cn.fontSizeLG)/2,Dn=Cn.paddingXS;return{[_n]:_extends$1(_extends$1({},resetComponent(Cn)),{background:Cn.colorBgContainer,borderRadius:Cn.borderRadius,transition:`background-color ${Cn.motionDurationSlow}`,[`&${_n}-rtl`]:{[`${_n}-switcher`]:{"&_close":{[`${_n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${_n}-active-focused)`]:_extends$1({},genFocusOutline(Cn)),[`${_n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${_n}-block-node`]:{[`${_n}-list-holder-inner`]:{alignItems:"stretch",[`${_n}-node-content-wrapper`]:{flex:"auto"},[`${Pn}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:In,insetInlineStart:0,border:`1px solid ${Cn.colorPrimary}`,opacity:0,animationName:treeNodeFX,animationDuration:Cn.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Pn}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${In}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${_n}-node-content-wrapper`]:{color:Cn.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${_n}-node-content-wrapper`]:_extends$1({},genFocusOutline(Cn)),[`&:not(${Pn}-disabled).filter-node ${_n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${_n}-draggable-icon`]:{width:Nn,lineHeight:`${Nn}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Cn.motionDurationSlow}`,[`${Pn}:hover &`]:{opacity:.45}},[`&${Pn}-disabled`]:{[`${_n}-draggable-icon`]:{visibility:"hidden"}}}},[`${_n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Nn}},[`${_n}-draggable-icon`]:{visibility:"hidden"},[`${_n}-switcher`]:_extends$1(_extends$1({},getSwitchStyle($n,Cn)),{position:"relative",flex:"none",alignSelf:"stretch",width:Nn,margin:0,lineHeight:`${Nn}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${_n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Cn.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Nn/2,bottom:-In,marginInlineStart:-1,borderInlineEnd:`1px solid ${Cn.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Nn/2*.8,height:Nn/2,borderBottom:`1px solid ${Cn.colorBorder}`,content:'""'}}}),[`${_n}-checkbox`]:{top:"initial",marginInlineEnd:Dn,marginBlockStart:Rn},[`${_n}-node-content-wrapper, ${_n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Nn,margin:0,padding:`0 ${Cn.paddingXS/2}px`,color:"inherit",lineHeight:`${Nn}px`,background:"transparent",borderRadius:Cn.borderRadius,cursor:"pointer",transition:`all ${Cn.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Cn.controlItemBgHover},[`&${_n}-node-selected`]:{backgroundColor:Cn.controlItemBgActive},[`${_n}-iconEle`]:{display:"inline-block",width:Nn,height:Nn,lineHeight:`${Nn}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${_n}-unselectable ${_n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${_n}-node-content-wrapper`]:_extends$1({lineHeight:`${Nn}px`,userSelect:"none"},getDropIndicatorStyle($n,Cn)),[`${Pn}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Cn.colorPrimary}`}},"&-show-line":{[`${_n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Nn/2,bottom:-In,borderInlineEnd:`1px solid ${Cn.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${_n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Pn}-leaf-last`]:{[`${_n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Nn/2}px !important`}}}}})}},genDirectoryStyle=$n=>{const{treeCls:Cn,treeNodeCls:_n,treeNodePadding:Pn}=$n;return{[`${Cn}${Cn}-directory`]:{[_n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pn,insetInlineStart:0,transition:`background-color ${$n.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:$n.controlItemBgHover}},"> *":{zIndex:1},[`${Cn}-switcher`]:{transition:`color ${$n.motionDurationMid}`},[`${Cn}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Cn}-node-selected`]:{color:$n.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:$n.colorPrimary},[`${Cn}-switcher`]:{color:$n.colorTextLightSolid},[`${Cn}-node-content-wrapper`]:{color:$n.colorTextLightSolid,background:"transparent"}}}}}},genTreeStyle=($n,Cn)=>{const _n=`.${$n}`,Pn=`${_n}-treenode`,In=Cn.paddingXS/2,Nn=Cn.controlHeightSM,Rn=merge$1(Cn,{treeCls:_n,treeNodeCls:Pn,treeNodePadding:In,treeTitleHeight:Nn});return[genBaseStyle$4($n,Rn),genDirectoryStyle(Rn)]},useStyle$a=genComponentStyleHook("Tree",($n,Cn)=>{let{prefixCls:_n}=Cn;return[{[$n.componentCls]:getStyle$2(`${_n}-checkbox`,$n)},genTreeStyle(_n,$n),genCollapseMotion$1($n)]}),treeProps=()=>{const $n=treeProps$1();return _extends$1(_extends$1({},$n),{showLine:someType([Boolean,Object]),multiple:booleanType(),autoExpandParent:booleanType(),checkStrictly:booleanType(),checkable:booleanType(),disabled:booleanType(),defaultExpandAll:booleanType(),defaultExpandParent:booleanType(),defaultExpandedKeys:arrayType(),expandedKeys:arrayType(),checkedKeys:someType([Array,Object]),defaultCheckedKeys:arrayType(),selectedKeys:arrayType(),defaultSelectedKeys:arrayType(),selectable:booleanType(),loadedKeys:arrayType(),draggable:booleanType(),showIcon:booleanType(),icon:functionType(),switcherIcon:PropTypes.any,prefixCls:String,replaceFields:objectType(),blockNode:booleanType(),openAnimation:PropTypes.any,onDoubleclick:$n.onDblclick,"onUpdate:selectedKeys":functionType(),"onUpdate:checkedKeys":functionType(),"onUpdate:expandedKeys":functionType()})},Tree$1=defineComponent({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:initDefaultProps(treeProps(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup($n,Cn){let{attrs:_n,expose:Pn,emit:In,slots:Nn}=Cn;$n.treeData===void 0&&Nn.default;const{prefixCls:Rn,direction:Dn,virtual:Ln}=useConfigInject("tree",$n),[Fn,Bn]=useStyle$a(Rn),Hn=ref();Pn({treeRef:Hn,onNodeExpand:function(){var Go;(Go=Hn.value)===null||Go===void 0||Go.onNodeExpand(...arguments)},scrollTo:Go=>{var Xn;(Xn=Hn.value)===null||Xn===void 0||Xn.scrollTo(Go)},selectedKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.selectedKeys}),checkedKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.checkedKeys}),halfCheckedKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.halfCheckedKeys}),loadedKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.loadedKeys}),loadingKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.loadingKeys}),expandedKeys:computed(()=>{var Go;return(Go=Hn.value)===null||Go===void 0?void 0:Go.expandedKeys})}),watchEffect(()=>{devWarning($n.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const Wn=(Go,Xn)=>{In("update:checkedKeys",Go),In("check",Go,Xn)},Yn=(Go,Xn)=>{In("update:expandedKeys",Go),In("expand",Go,Xn)},Gn=(Go,Xn)=>{In("update:selectedKeys",Go),In("select",Go,Xn)};return()=>{const{showIcon:Go,showLine:Xn,switcherIcon:Yo=Nn.switcherIcon,icon:qo=Nn.icon,blockNode:Jo,checkable:Zo,selectable:rr,fieldNames:nr=$n.replaceFields,motion:ta=$n.openAnimation,itemHeight:oa=28,onDoubleclick:ra,onDblclick:ea}=$n,la=_extends$1(_extends$1(_extends$1({},_n),omit$1($n,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!Xn,dropIndicatorRender,fieldNames:nr,icon:qo,itemHeight:oa}),ua=Nn.default?filterEmpty(Nn.default()):void 0;return Fn(createVNode(Tree$2,_objectSpread2$1(_objectSpread2$1({},la),{},{virtual:Ln.value,motion:ta,ref:Hn,prefixCls:Rn.value,class:classNames({[`${Rn.value}-icon-hide`]:!Go,[`${Rn.value}-block-node`]:Jo,[`${Rn.value}-unselectable`]:!rr,[`${Rn.value}-rtl`]:Dn.value==="rtl"},_n.class,Bn.value),direction:Dn.value,checkable:Zo,selectable:rr,switcherIcon:ga=>renderSwitcherIcon(Rn.value,Yo,ga,Nn.leafIcon,Xn),onCheck:Wn,onExpand:Yn,onSelect:Gn,onDblclick:ea||ra,children:ua}),_extends$1(_extends$1({},Nn),{checkable:()=>createVNode("span",{class:`${Rn.value}-checkbox-inner`},null)})))}}});var FolderOpenOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const FolderOpenOutlinedSvg=FolderOpenOutlined$2;function _objectSpread$a($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$a($n,In,_n[In])})}return $n}function _defineProperty$a($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FolderOpenOutlined=function(Cn,_n){var Pn=_objectSpread$a({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$a({},Pn,{icon:FolderOpenOutlinedSvg}),null)};FolderOpenOutlined.displayName="FolderOpenOutlined";FolderOpenOutlined.inheritAttrs=!1;const FolderOpenOutlined$1=FolderOpenOutlined;var FolderOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const FolderOutlinedSvg=FolderOutlined$2;function _objectSpread$9($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$9($n,In,_n[In])})}return $n}function _defineProperty$9($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FolderOutlined=function(Cn,_n){var Pn=_objectSpread$9({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$9({},Pn,{icon:FolderOutlinedSvg}),null)};FolderOutlined.displayName="FolderOutlined";FolderOutlined.inheritAttrs=!1;const FolderOutlined$1=FolderOutlined;var Record;(function($n){$n[$n.None=0]="None",$n[$n.Start=1]="Start",$n[$n.End=2]="End"})(Record||(Record={}));function traverseNodesKey($n,Cn,_n){function Pn(In){const Nn=In[Cn.key],Rn=In[Cn.children];_n(Nn,In)!==!1&&traverseNodesKey(Rn||[],Cn,_n)}$n.forEach(Pn)}function calcRangeKeys($n){let{treeData:Cn,expandedKeys:_n,startKey:Pn,endKey:In,fieldNames:Nn={title:"title",key:"key",children:"children"}}=$n;const Rn=[];let Dn=Record.None;if(Pn&&Pn===In)return[Pn];if(!Pn||!In)return[];function Ln(Fn){return Fn===Pn||Fn===In}return traverseNodesKey(Cn,Nn,Fn=>{if(Dn===Record.End)return!1;if(Ln(Fn)){if(Rn.push(Fn),Dn===Record.None)Dn=Record.Start;else if(Dn===Record.Start)return Dn=Record.End,!1}else Dn===Record.Start&&Rn.push(Fn);return _n.includes(Fn)}),Rn}function convertDirectoryKeysToNodes($n,Cn,_n){const Pn=[...Cn],In=[];return traverseNodesKey($n,_n,(Nn,Rn)=>{const Dn=Pn.indexOf(Nn);return Dn!==-1&&(In.push(Rn),Pn.splice(Dn,1)),!!Pn.length}),In}var __rest$c=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const directoryTreeProps=()=>_extends$1(_extends$1({},treeProps()),{expandAction:someType([Boolean,String])});function getIcon($n){const{isLeaf:Cn,expanded:_n}=$n;return createVNode(Cn?FileOutlined$1:_n?FolderOpenOutlined$1:FolderOutlined$1,null,null)}const DirectoryTree=defineComponent({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:initDefaultProps(directoryTreeProps(),{showIcon:!0,expandAction:"click"}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,emit:In,expose:Nn}=Cn;var Rn;const Dn=ref($n.treeData||convertTreeToData(filterEmpty((Rn=Pn.default)===null||Rn===void 0?void 0:Rn.call(Pn))));watch(()=>$n.treeData,()=>{Dn.value=$n.treeData}),onUpdated(()=>{nextTick(()=>{var oa;$n.treeData===void 0&&Pn.default&&(Dn.value=convertTreeToData(filterEmpty((oa=Pn.default)===null||oa===void 0?void 0:oa.call(Pn))))})});const Ln=ref(),Fn=ref(),Bn=computed(()=>fillFieldNames$1($n.fieldNames)),Hn=ref();Nn({scrollTo:oa=>{var ra;(ra=Hn.value)===null||ra===void 0||ra.scrollTo(oa)},selectedKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.selectedKeys}),checkedKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.checkedKeys}),halfCheckedKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.halfCheckedKeys}),loadedKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.loadedKeys}),loadingKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.loadingKeys}),expandedKeys:computed(()=>{var oa;return(oa=Hn.value)===null||oa===void 0?void 0:oa.expandedKeys})});const Wn=()=>{const{keyEntities:oa}=convertDataToEntities(Dn.value,{fieldNames:Bn.value});let ra;return $n.defaultExpandAll?ra=Object.keys(oa):$n.defaultExpandParent?ra=conductExpandParent($n.expandedKeys||$n.defaultExpandedKeys||[],oa):ra=$n.expandedKeys||$n.defaultExpandedKeys,ra},Yn=ref($n.selectedKeys||$n.defaultSelectedKeys||[]),Gn=ref(Wn());watch(()=>$n.selectedKeys,()=>{$n.selectedKeys!==void 0&&(Yn.value=$n.selectedKeys)},{immediate:!0}),watch(()=>$n.expandedKeys,()=>{$n.expandedKeys!==void 0&&(Gn.value=$n.expandedKeys)},{immediate:!0});const Xn=debounce$2((oa,ra)=>{const{isLeaf:ea}=ra;ea||oa.shiftKey||oa.metaKey||oa.ctrlKey||Hn.value.onNodeExpand(oa,ra)},200,{leading:!0}),Yo=(oa,ra)=>{$n.expandedKeys===void 0&&(Gn.value=oa),In("update:expandedKeys",oa),In("expand",oa,ra)},qo=(oa,ra)=>{const{expandAction:ea}=$n;ea==="click"&&Xn(oa,ra),In("click",oa,ra)},Jo=(oa,ra)=>{const{expandAction:ea}=$n;(ea==="dblclick"||ea==="doubleclick")&&Xn(oa,ra),In("doubleclick",oa,ra),In("dblclick",oa,ra)},Zo=(oa,ra)=>{const{multiple:ea}=$n,{node:la,nativeEvent:ua}=ra,ga=la[Bn.value.key],aa=_extends$1(_extends$1({},ra),{selected:!0}),ca=(ua==null?void 0:ua.ctrlKey)||(ua==null?void 0:ua.metaKey),sa=ua==null?void 0:ua.shiftKey;let ia;ea&&ca?(ia=oa,Ln.value=ga,Fn.value=ia,aa.selectedNodes=convertDirectoryKeysToNodes(Dn.value,ia,Bn.value)):ea&&sa?(ia=Array.from(new Set([...Fn.value||[],...calcRangeKeys({treeData:Dn.value,expandedKeys:Gn.value,startKey:ga,endKey:Ln.value,fieldNames:Bn.value})])),aa.selectedNodes=convertDirectoryKeysToNodes(Dn.value,ia,Bn.value)):(ia=[ga],Ln.value=ga,Fn.value=ia,aa.selectedNodes=convertDirectoryKeysToNodes(Dn.value,ia,Bn.value)),In("update:selectedKeys",ia),In("select",ia,aa),$n.selectedKeys===void 0&&(Yn.value=ia)},rr=(oa,ra)=>{In("update:checkedKeys",oa),In("check",oa,ra)},{prefixCls:nr,direction:ta}=useConfigInject("tree",$n);return()=>{const oa=classNames(`${nr.value}-directory`,{[`${nr.value}-directory-rtl`]:ta.value==="rtl"},_n.class),{icon:ra=Pn.icon,blockNode:ea=!0}=$n,la=__rest$c($n,["icon","blockNode"]);return createVNode(Tree$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),{},{icon:ra||getIcon,ref:Hn,blockNode:ea},la),{},{prefixCls:nr.value,class:oa,expandedKeys:Gn.value,selectedKeys:Yn.value,onSelect:Zo,onClick:qo,onDblclick:Jo,onExpand:Yo,onCheck:rr}),Pn)}}}),TreeNode$2=VcTreeNode,Tree=_extends$1(Tree$1,{DirectoryTree,TreeNode:TreeNode$2,install:$n=>($n.component(Tree$1.name,Tree$1),$n.component(TreeNode$2.name,TreeNode$2),$n.component(DirectoryTree.name,DirectoryTree),$n)});function isEqual($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Pn=new Set;function In(Nn,Rn){let Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const Ln=Pn.has(Nn);if(warningOnce(!Ln,"Warning: There may be circular references"),Ln)return!1;if(Nn===Rn)return!0;if(_n&&Dn>1)return!1;Pn.add(Nn);const Fn=Dn+1;if(Array.isArray(Nn)){if(!Array.isArray(Rn)||Nn.length!==Rn.length)return!1;for(let Bn=0;Bn<Nn.length;Bn++)if(!In(Nn[Bn],Rn[Bn],Fn))return!1;return!0}if(Nn&&Rn&&typeof Nn=="object"&&typeof Rn=="object"){const Bn=Object.keys(Nn);return Bn.length!==Object.keys(Rn).length?!1:Bn.every(Hn=>In(Nn[Hn],Rn[Hn],Fn))}return!1}return In($n,Cn)}const{SubMenu,Item:MenuItem}=Menu;function hasSubMenu($n){return $n.some(Cn=>{let{children:_n}=Cn;return _n&&_n.length>0})}function searchValueMatched($n,Cn){return typeof Cn=="string"||typeof Cn=="number"?Cn==null?void 0:Cn.toString().toLowerCase().includes($n.trim().toLowerCase()):!1}function renderFilterItems($n){let{filters:Cn,prefixCls:_n,filteredKeys:Pn,filterMultiple:In,searchValue:Nn,filterSearch:Rn}=$n;return Cn.map((Dn,Ln)=>{const Fn=String(Dn.value);if(Dn.children)return createVNode(SubMenu,{key:Fn||Ln,title:Dn.text,popupClassName:`${_n}-dropdown-submenu`},{default:()=>[renderFilterItems({filters:Dn.children,prefixCls:_n,filteredKeys:Pn,filterMultiple:In,searchValue:Nn,filterSearch:Rn})]});const Bn=In?Checkbox:Radio,Hn=createVNode(MenuItem,{key:Dn.value!==void 0?Fn:Ln},{default:()=>[createVNode(Bn,{checked:Pn.includes(Fn)},null),createVNode("span",null,[Dn.text])]});return Nn.trim()?typeof Rn=="function"?Rn(Nn,Dn)?Hn:void 0:searchValueMatched(Nn,Dn.text)?Hn:void 0:Hn})}const FilterDropdown=defineComponent({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup($n,Cn){let{slots:_n}=Cn;const Pn=useInjectSlots(),In=computed(()=>{var ba;return(ba=$n.filterMode)!==null&&ba!==void 0?ba:"menu"}),Nn=computed(()=>{var ba;return(ba=$n.filterSearch)!==null&&ba!==void 0?ba:!1}),Rn=computed(()=>$n.column.filterDropdownOpen||$n.column.filterDropdownVisible),Dn=computed(()=>$n.column.onFilterDropdownOpenChange||$n.column.onFilterDropdownVisibleChange),Ln=shallowRef(!1),Fn=computed(()=>{var ba;return!!($n.filterState&&(!((ba=$n.filterState.filteredKeys)===null||ba===void 0)&&ba.length||$n.filterState.forceFiltered))}),Bn=computed(()=>{var ba;return flattenKeys((ba=$n.column)===null||ba===void 0?void 0:ba.filters)}),Hn=computed(()=>{const{filterDropdown:ba,slots:Ia={},customFilterDropdown:Ea}=$n.column;return ba||Ia.filterDropdown&&Pn.value[Ia.filterDropdown]||Ea&&Pn.value.customFilterDropdown}),zn=computed(()=>{const{filterIcon:ba,slots:Ia={}}=$n.column;return ba||Ia.filterIcon&&Pn.value[Ia.filterIcon]||Pn.value.customFilterIcon}),Wn=ba=>{var Ia;Ln.value=ba,(Ia=Dn.value)===null||Ia===void 0||Ia.call(Dn,ba)},Yn=computed(()=>typeof Rn.value=="boolean"?Rn.value:Ln.value),Gn=computed(()=>{var ba;return(ba=$n.filterState)===null||ba===void 0?void 0:ba.filteredKeys}),Go=shallowRef([]),Xn=ba=>{let{selectedKeys:Ia}=ba;Go.value=Ia},Yo=(ba,Ia)=>{let{node:Ea,checked:xa}=Ia;$n.filterMultiple?Xn({selectedKeys:ba}):Xn({selectedKeys:xa&&Ea.key?[Ea.key]:[]})};watch(Gn,()=>{Ln.value&&Xn({selectedKeys:Gn.value||[]})},{immediate:!0});const qo=shallowRef([]),Jo=shallowRef(),Zo=ba=>{Jo.value=setTimeout(()=>{qo.value=ba})},rr=()=>{clearTimeout(Jo.value)};onBeforeUnmount(()=>{clearTimeout(Jo.value)});const nr=shallowRef(""),ta=ba=>{const{value:Ia}=ba.target;nr.value=Ia};watch(Ln,()=>{Ln.value||(nr.value="")});const oa=ba=>{const{column:Ia,columnKey:Ea,filterState:xa}=$n,Ta=ba&&ba.length?ba:null;if(Ta===null&&(!xa||!xa.filteredKeys)||isEqual(Ta,xa==null?void 0:xa.filteredKeys,!0))return null;$n.triggerFilter({column:Ia,key:Ea,filteredKeys:Ta})},ra=()=>{Wn(!1),oa(Go.value)},ea=function(){let{confirm:ba,closeDropdown:Ia}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ba&&oa([]),Ia&&Wn(!1),nr.value="",$n.column.filterResetToDefaultFilteredValue?Go.value=($n.column.defaultFilteredValue||[]).map(Ea=>String(Ea)):Go.value=[]},la=function(){let{closeDropdown:ba}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ba&&Wn(!1),oa(Go.value)},ua=ba=>{ba&&Gn.value!==void 0&&(Go.value=Gn.value||[]),Wn(ba),!ba&&!Hn.value&&ra()},{direction:ga}=useConfigInject("",$n),aa=ba=>{if(ba.target.checked){const Ia=Bn.value;Go.value=Ia}else Go.value=[]},ca=ba=>{let{filters:Ia}=ba;return(Ia||[]).map((Ea,xa)=>{const Ta=String(Ea.value),wa={title:Ea.text,key:Ea.value!==void 0?Ta:xa};return Ea.children&&(wa.children=ca({filters:Ea.children})),wa})},sa=ba=>{var Ia;return _extends$1(_extends$1({},ba),{text:ba.title,value:ba.key,children:((Ia=ba.children)===null||Ia===void 0?void 0:Ia.map(Ea=>sa(Ea)))||[]})},ia=computed(()=>ca({filters:$n.column.filters})),fa=computed(()=>classNames({[`${$n.dropdownPrefixCls}-menu-without-submenu`]:!hasSubMenu($n.column.filters||[])})),ma=()=>{const ba=Go.value,{column:Ia,locale:Ea,tablePrefixCls:xa,filterMultiple:Ta,dropdownPrefixCls:wa,getPopupContainer:La,prefixCls:Na}=$n;return(Ia.filters||[]).length===0?createVNode(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE,description:Ea.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):In.value==="tree"?createVNode(Fragment,null,[createVNode(FilterSearch,{filterSearch:Nn.value,value:nr.value,onChange:ta,tablePrefixCls:xa,locale:Ea},null),createVNode("div",{class:`${xa}-filter-dropdown-tree`},[Ta?createVNode(Checkbox,{class:`${xa}-filter-dropdown-checkall`,onChange:aa,checked:ba.length===Bn.value.length,indeterminate:ba.length>0&&ba.length<Bn.value.length},{default:()=>[Ea.filterCheckall]}):null,createVNode(Tree,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ta,checkStrictly:!Ta,class:`${wa}-menu`,onCheck:Yo,checkedKeys:ba,selectedKeys:ba,showIcon:!1,treeData:ia.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:nr.value.trim()?$a=>typeof Nn.value=="function"?Nn.value(nr.value,sa($a)):searchValueMatched(nr.value,$a.title):void 0},null)])]):createVNode(Fragment,null,[createVNode(FilterSearch,{filterSearch:Nn.value,value:nr.value,onChange:ta,tablePrefixCls:xa,locale:Ea},null),createVNode(Menu,{multiple:Ta,prefixCls:`${wa}-menu`,class:fa.value,onClick:rr,onSelect:Xn,onDeselect:Xn,selectedKeys:ba,getPopupContainer:La,openKeys:qo.value,onOpenChange:Zo},{default:()=>renderFilterItems({filters:Ia.filters||[],filterSearch:Nn.value,prefixCls:Na,filteredKeys:Go.value,filterMultiple:Ta,searchValue:nr.value})})])},ya=computed(()=>{const ba=Go.value;return $n.column.filterResetToDefaultFilteredValue?isEqual(($n.column.defaultFilteredValue||[]).map(Ia=>String(Ia)),ba,!0):ba.length===0});return()=>{var ba;const{tablePrefixCls:Ia,prefixCls:Ea,column:xa,dropdownPrefixCls:Ta,locale:wa,getPopupContainer:La}=$n;let Na;typeof Hn.value=="function"?Na=Hn.value({prefixCls:`${Ta}-custom`,setSelectedKeys:Ha=>Xn({selectedKeys:Ha}),selectedKeys:Go.value,confirm:la,clearFilters:ea,filters:xa.filters,visible:Yn.value,column:xa.__originColumn__,close:()=>{Wn(!1)}}):Hn.value?Na=Hn.value:Na=createVNode(Fragment,null,[ma(),createVNode("div",{class:`${Ea}-dropdown-btns`},[createVNode(Button$1,{type:"link",size:"small",disabled:ya.value,onClick:()=>ea()},{default:()=>[wa.filterReset]}),createVNode(Button$1,{type:"primary",size:"small",onClick:ra},{default:()=>[wa.filterConfirm]})])]);const $a=createVNode(FilterDropdownMenuWrapper$1,{class:`${Ea}-dropdown`},{default:()=>[Na]});let ka;return typeof zn.value=="function"?ka=zn.value({filtered:Fn.value,column:xa.__originColumn__}):zn.value?ka=zn.value:ka=createVNode(FilterFilled$1,null,null),createVNode("div",{class:`${Ea}-column`},[createVNode("span",{class:`${Ia}-column-title`},[(ba=_n.default)===null||ba===void 0?void 0:ba.call(_n)]),createVNode(Dropdown$1,{overlay:$a,trigger:["click"],open:Yn.value,onOpenChange:ua,getPopupContainer:La,placement:ga.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[createVNode("span",{role:"button",tabindex:-1,class:classNames(`${Ea}-trigger`,{active:Fn.value}),onClick:Ha=>{Ha.stopPropagation()}},[ka])]})])}}});function collectFilterStates($n,Cn,_n){let Pn=[];return($n||[]).forEach((In,Nn)=>{var Rn,Dn;const Ln=getColumnPos(Nn,_n),Fn=In.filterDropdown||((Rn=In==null?void 0:In.slots)===null||Rn===void 0?void 0:Rn.filterDropdown)||In.customFilterDropdown;if(In.filters||Fn||"onFilter"in In)if("filteredValue"in In){let Bn=In.filteredValue;Fn||(Bn=(Dn=Bn==null?void 0:Bn.map(String))!==null&&Dn!==void 0?Dn:Bn),Pn.push({column:In,key:getColumnKey(In,Ln),filteredKeys:Bn,forceFiltered:In.filtered})}else Pn.push({column:In,key:getColumnKey(In,Ln),filteredKeys:Cn&&In.defaultFilteredValue?In.defaultFilteredValue:void 0,forceFiltered:In.filtered});"children"in In&&(Pn=[...Pn,...collectFilterStates(In.children,Cn,Ln)])}),Pn}function injectFilter($n,Cn,_n,Pn,In,Nn,Rn,Dn){return _n.map((Ln,Fn)=>{var Bn;const Hn=getColumnPos(Fn,Dn),{filterMultiple:zn=!0,filterMode:Wn,filterSearch:Yn}=Ln;let Gn=Ln;const Go=Ln.filterDropdown||((Bn=Ln==null?void 0:Ln.slots)===null||Bn===void 0?void 0:Bn.filterDropdown)||Ln.customFilterDropdown;if(Gn.filters||Go){const Xn=getColumnKey(Gn,Hn),Yo=Pn.find(qo=>{let{key:Jo}=qo;return Xn===Jo});Gn=_extends$1(_extends$1({},Gn),{title:qo=>createVNode(FilterDropdown,{tablePrefixCls:$n,prefixCls:`${$n}-filter`,dropdownPrefixCls:Cn,column:Gn,columnKey:Xn,filterState:Yo,filterMultiple:zn,filterMode:Wn,filterSearch:Yn,triggerFilter:Nn,locale:In,getPopupContainer:Rn},{default:()=>[renderColumnTitle(Ln.title,qo)]})})}return"children"in Gn&&(Gn=_extends$1(_extends$1({},Gn),{children:injectFilter($n,Cn,Gn.children,Pn,In,Nn,Rn,Hn)})),Gn})}function flattenKeys($n){let Cn=[];return($n||[]).forEach(_n=>{let{value:Pn,children:In}=_n;Cn.push(Pn),In&&(Cn=[...Cn,...flattenKeys(In)])}),Cn}function generateFilterInfo($n){const Cn={};return $n.forEach(_n=>{let{key:Pn,filteredKeys:In,column:Nn}=_n;var Rn;const Dn=Nn.filterDropdown||((Rn=Nn==null?void 0:Nn.slots)===null||Rn===void 0?void 0:Rn.filterDropdown)||Nn.customFilterDropdown,{filters:Ln}=Nn;if(Dn)Cn[Pn]=In||null;else if(Array.isArray(In)){const Fn=flattenKeys(Ln);Cn[Pn]=Fn.filter(Bn=>In.includes(String(Bn)))}else Cn[Pn]=null}),Cn}function getFilterData($n,Cn){return Cn.reduce((_n,Pn)=>{const{column:{onFilter:In,filters:Nn},filteredKeys:Rn}=Pn;return In&&Rn&&Rn.length?_n.filter(Dn=>Rn.some(Ln=>{const Fn=flattenKeys(Nn),Bn=Fn.findIndex(zn=>String(zn)===String(Ln)),Hn=Bn!==-1?Fn[Bn]:Ln;return In(Hn,Dn)})):_n},$n)}function getMergedColumns($n){return $n.flatMap(Cn=>"children"in Cn?[Cn,...getMergedColumns(Cn.children||[])]:[Cn])}function useFilter($n){let{prefixCls:Cn,dropdownPrefixCls:_n,mergedColumns:Pn,locale:In,onFilterChange:Nn,getPopupContainer:Rn}=$n;const Dn=computed(()=>getMergedColumns(Pn.value)),[Ln,Fn]=useState(collectFilterStates(Dn.value,!0)),Bn=computed(()=>{const Yn=collectFilterStates(Dn.value,!1);if(Yn.length===0)return Yn;let Gn=!0,Go=!0;if(Yn.forEach(Xn=>{let{filteredKeys:Yo}=Xn;Yo!==void 0?Gn=!1:Go=!1}),Gn){const Xn=(Dn.value||[]).map((Yo,qo)=>getColumnKey(Yo,getColumnPos(qo)));return Ln.value.filter(Yo=>{let{key:qo}=Yo;return Xn.includes(qo)}).map(Yo=>{const qo=Dn.value[Xn.findIndex(Jo=>Jo===Yo.key)];return _extends$1(_extends$1({},Yo),{column:_extends$1(_extends$1({},Yo.column),qo),forceFiltered:qo.filtered})})}return devWarning(Go,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),Yn}),Hn=computed(()=>generateFilterInfo(Bn.value)),zn=Yn=>{const Gn=Bn.value.filter(Go=>{let{key:Xn}=Go;return Xn!==Yn.key});Gn.push(Yn),Fn(Gn),Nn(generateFilterInfo(Gn),Gn)};return[Yn=>injectFilter(Cn.value,_n.value,Yn,Bn.value,In.value,zn,Rn.value),Bn,Hn]}function fillTitle($n,Cn){return $n.map(_n=>{const Pn=_extends$1({},_n);return Pn.title=renderColumnTitle(Pn.title,Cn),"children"in Pn&&(Pn.children=fillTitle(Pn.children,Cn)),Pn})}function useTitleColumns($n){return[_n=>fillTitle(_n,$n.value)]}function renderExpandIcon($n){return function(_n){let{prefixCls:Pn,onExpand:In,record:Nn,expanded:Rn,expandable:Dn}=_n;const Ln=`${Pn}-row-expand-icon`;return createVNode("button",{type:"button",onClick:Fn=>{In(Nn,Fn),Fn.stopPropagation()},class:classNames(Ln,{[`${Ln}-spaced`]:!Dn,[`${Ln}-expanded`]:Dn&&Rn,[`${Ln}-collapsed`]:Dn&&!Rn}),"aria-label":Rn?$n.collapse:$n.expand,"aria-expanded":Rn},null)}}function fillSlots($n,Cn){const _n=Cn.value;return $n.map(Pn=>{var In;if(Pn===SELECTION_COLUMN||Pn===EXPAND_COLUMN)return Pn;const Nn=_extends$1({},Pn),{slots:Rn={}}=Nn;return Nn.__originColumn__=Pn,devWarning(!("slots"in Nn),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(Rn).forEach(Dn=>{const Ln=Rn[Dn];Nn[Dn]===void 0&&_n[Ln]&&(Nn[Dn]=_n[Ln])}),Cn.value.headerCell&&!(!((In=Pn.slots)===null||In===void 0)&&In.title)&&(Nn.title=customRenderSlot(Cn.value,"headerCell",{title:Pn.title,column:Pn},()=>[Pn.title])),"children"in Nn&&Array.isArray(Nn.children)&&(Nn.children=fillSlots(Nn.children,Cn)),Nn})}function useColumns($n){return[_n=>fillSlots(_n,$n)]}const genBorderedStyle=$n=>{const{componentCls:Cn}=$n,_n=`${$n.lineWidth}px ${$n.lineType} ${$n.tableBorderColor}`,Pn=(In,Nn,Rn)=>({[`&${Cn}-${In}`]:{[`> ${Cn}-container`]:{[`> ${Cn}-content, > ${Cn}-body`]:{"> table > tbody > tr > td":{[`> ${Cn}-expanded-row-fixed`]:{margin:`-${Nn}px -${Rn+$n.lineWidth}px`}}}}}});return{[`${Cn}-wrapper`]:{[`${Cn}${Cn}-bordered`]:_extends$1(_extends$1(_extends$1({[`> ${Cn}-title`]:{border:_n,borderBottom:0},[`> ${Cn}-container`]:{borderInlineStart:_n,[`
- > ${Cn}-content,
- > ${Cn}-header,
- > ${Cn}-body,
- > ${Cn}-summary
- `]:{"> table":{"\n > thead > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:_n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:_n},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Cn}-cell-fix-right-first::after`]:{borderInlineEnd:_n}},"> tbody > tr > td":{[`> ${Cn}-expanded-row-fixed`]:{margin:`-${$n.tablePaddingVertical}px -${$n.tablePaddingHorizontal+$n.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:$n.lineWidth,bottom:0,borderInlineEnd:_n,content:'""'}}}}},[`
- > ${Cn}-content,
- > ${Cn}-header
- `]:{"> table":{borderTop:_n}}},[`&${Cn}-scroll-horizontal`]:{[`> ${Cn}-container > ${Cn}-body`]:{"> table > tbody":{[`
- > tr${Cn}-expanded-row,
- > tr${Cn}-placeholder
- `]:{"> td":{borderInlineEnd:0}}}}}},Pn("middle",$n.tablePaddingVerticalMiddle,$n.tablePaddingHorizontalMiddle)),Pn("small",$n.tablePaddingVerticalSmall,$n.tablePaddingHorizontalSmall)),{[`> ${Cn}-footer`]:{border:_n,borderTop:0}}),[`${Cn}-cell`]:{[`${Cn}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${$n.lineWidth}px 0 ${$n.lineWidth}px ${$n.tableHeaderBg}`}}}}},genBorderedStyle$1=genBorderedStyle,genEllipsisStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-cell-ellipsis`]:_extends$1(_extends$1({},textEllipsis),{wordBreak:"keep-all",[`
- &${Cn}-cell-fix-left-last,
- &${Cn}-cell-fix-right-first
- `]:{overflow:"visible",[`${Cn}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Cn}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},genEllipsisStyle$1=genEllipsisStyle,genEmptyStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-tbody > tr${Cn}-placeholder`]:{textAlign:"center",color:$n.colorTextDisabled,"&:hover > td":{background:$n.colorBgContainer}}}}},genEmptyStyle$1=genEmptyStyle,genExpandStyle=$n=>{const{componentCls:Cn,antCls:_n,controlInteractiveSize:Pn,motionDurationSlow:In,lineWidth:Nn,paddingXS:Rn,lineType:Dn,tableBorderColor:Ln,tableExpandIconBg:Fn,tableExpandColumnWidth:Bn,borderRadius:Hn,fontSize:zn,fontSizeSM:Wn,lineHeight:Yn,tablePaddingVertical:Gn,tablePaddingHorizontal:Go,tableExpandedRowBg:Xn,paddingXXS:Yo}=$n,qo=Pn/2-Nn,Jo=qo*2+Nn*3,Zo=`${Nn}px ${Dn} ${Ln}`,rr=Yo-Nn;return{[`${Cn}-wrapper`]:{[`${Cn}-expand-icon-col`]:{width:Bn},[`${Cn}-row-expand-icon-cell`]:{textAlign:"center",[`${Cn}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Cn}-row-indent`]:{height:1,float:"left"},[`${Cn}-row-expand-icon`]:_extends$1(_extends$1({},operationUnit($n)),{position:"relative",float:"left",boxSizing:"border-box",width:Jo,height:Jo,padding:0,color:"inherit",lineHeight:`${Jo}px`,background:Fn,border:Zo,borderRadius:Hn,transform:`scale(${Pn/Jo})`,transition:`all ${In}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${In} ease-out`,content:'""'},"&::before":{top:qo,insetInlineEnd:rr,insetInlineStart:rr,height:Nn},"&::after":{top:rr,bottom:rr,insetInlineStart:qo,width:Nn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Cn}-row-indent + ${Cn}-row-expand-icon`]:{marginTop:(zn*Yn-Nn*3)/2-Math.ceil((Wn*1.4-Nn*3)/2),marginInlineEnd:Rn},[`tr${Cn}-expanded-row`]:{"&, &:hover":{"> td":{background:Xn}},[`${_n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Cn}-expanded-row-fixed`]:{position:"relative",margin:`-${Gn}px -${Go}px`,padding:`${Gn}px ${Go}px`}}}},genExpandStyle$1=genExpandStyle,genFilterStyle=$n=>{const{componentCls:Cn,antCls:_n,iconCls:Pn,tableFilterDropdownWidth:In,tableFilterDropdownSearchWidth:Nn,paddingXXS:Rn,paddingXS:Dn,colorText:Ln,lineWidth:Fn,lineType:Bn,tableBorderColor:Hn,tableHeaderIconColor:zn,fontSizeSM:Wn,tablePaddingHorizontal:Yn,borderRadius:Gn,motionDurationSlow:Go,colorTextDescription:Xn,colorPrimary:Yo,tableHeaderFilterActiveBg:qo,colorTextDisabled:Jo,tableFilterDropdownBg:Zo,tableFilterDropdownHeight:rr,controlItemBgHover:nr,controlItemBgActive:ta,boxShadowSecondary:oa}=$n,ra=`${_n}-dropdown`,ea=`${Cn}-filter-dropdown`,la=`${_n}-tree`,ua=`${Fn}px ${Bn} ${Hn}`;return[{[`${Cn}-wrapper`]:{[`${Cn}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Cn}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Rn,marginInline:`${Rn}px ${-Yn/2}px`,padding:`0 ${Rn}px`,color:zn,fontSize:Wn,borderRadius:Gn,cursor:"pointer",transition:`all ${Go}`,"&:hover":{color:Xn,background:qo},"&.active":{color:Yo}}}},{[`${_n}-dropdown`]:{[ea]:_extends$1(_extends$1({},resetComponent($n)),{minWidth:In,backgroundColor:Zo,borderRadius:Gn,boxShadow:oa,[`${ra}-menu`]:{maxHeight:rr,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${Dn}px 0`,color:Jo,fontSize:Wn,textAlign:"center",content:'"Not Found"'}},[`${ea}-tree`]:{paddingBlock:`${Dn}px 0`,paddingInline:Dn,[la]:{padding:0},[`${la}-treenode ${la}-node-content-wrapper:hover`]:{backgroundColor:nr},[`${la}-treenode-checkbox-checked ${la}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ta}}},[`${ea}-search`]:{padding:Dn,borderBottom:ua,"&-input":{input:{minWidth:Nn},[Pn]:{color:Jo}}},[`${ea}-checkall`]:{width:"100%",marginBottom:Rn,marginInlineStart:Rn},[`${ea}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Dn-Fn}px ${Dn}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:ua}})}},{[`${_n}-dropdown ${ea}, ${ea}-submenu`]:{[`${_n}-checkbox-wrapper + span`]:{paddingInlineStart:Dn,color:Ln},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},genFilterStyle$1=genFilterStyle,genFixedStyle=$n=>{const{componentCls:Cn,lineWidth:_n,colorSplit:Pn,motionDurationSlow:In,zIndexTableFixed:Nn,tableBg:Rn,zIndexTableSticky:Dn}=$n,Ln=Pn;return{[`${Cn}-wrapper`]:{[`
- ${Cn}-cell-fix-left,
- ${Cn}-cell-fix-right
- `]:{position:"sticky !important",zIndex:Nn,background:Rn},[`
- ${Cn}-cell-fix-left-first::after,
- ${Cn}-cell-fix-left-last::after
- `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-_n,width:30,transform:"translateX(100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${Cn}-cell-fix-left-all::after`]:{display:"none"},[`
- ${Cn}-cell-fix-right-first::after,
- ${Cn}-cell-fix-right-last::after
- `]:{position:"absolute",top:0,bottom:-_n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${Cn}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Dn+1,width:30,transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Cn}-ping-left`]:{[`&:not(${Cn}-has-fix-left) ${Cn}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ln}`}},[`
- ${Cn}-cell-fix-left-first::after,
- ${Cn}-cell-fix-left-last::after
- `]:{boxShadow:`inset 10px 0 8px -8px ${Ln}`},[`${Cn}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Cn}-ping-right`]:{[`&:not(${Cn}-has-fix-right) ${Cn}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ln}`}},[`
- ${Cn}-cell-fix-right-first::after,
- ${Cn}-cell-fix-right-last::after
- `]:{boxShadow:`inset -10px 0 8px -8px ${Ln}`}}}}},genFixedStyle$1=genFixedStyle,genPaginationStyle=$n=>{const{componentCls:Cn,antCls:_n}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-pagination${_n}-pagination`]:{margin:`${$n.margin}px 0`},[`${Cn}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:$n.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},genPaginationStyle$1=genPaginationStyle,genRadiusStyle=$n=>{const{componentCls:Cn,tableRadius:_n}=$n;return{[`${Cn}-wrapper`]:{[Cn]:{[`${Cn}-title, ${Cn}-header`]:{borderRadius:`${_n}px ${_n}px 0 0`},[`${Cn}-title + ${Cn}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:_n,borderStartEndRadius:_n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:_n},"> *:last-child":{borderStartEndRadius:_n}}},"&-footer":{borderRadius:`0 0 ${_n}px ${_n}px`}}}}},genRadiusStyle$1=genRadiusStyle,genStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Cn}-pagination-left`]:{justifyContent:"flex-end"},[`${Cn}-pagination-right`]:{justifyContent:"flex-start"},[`${Cn}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},genRtlStyle$2=genStyle,genSelectionStyle=$n=>{const{componentCls:Cn,antCls:_n,iconCls:Pn,fontSizeIcon:In,paddingXS:Nn,tableHeaderIconColor:Rn,tableHeaderIconColorHover:Dn}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-selection-col`]:{width:$n.tableSelectionColumnWidth},[`${Cn}-bordered ${Cn}-selection-col`]:{width:$n.tableSelectionColumnWidth+Nn*2},[`
- table tr th${Cn}-selection-column,
- table tr td${Cn}-selection-column
- `]:{paddingInlineEnd:$n.paddingXS,paddingInlineStart:$n.paddingXS,textAlign:"center",[`${_n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Cn}-selection-column${Cn}-cell-fix-left`]:{zIndex:$n.zIndexTableFixed+1},[`table tr th${Cn}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Cn}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Cn}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${$n.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${$n.tablePaddingHorizontal/4}px`,[Pn]:{color:Rn,fontSize:In,verticalAlign:"baseline","&:hover":{color:Dn}}}}}},genSelectionStyle$1=genSelectionStyle,genSizeStyle=$n=>{const{componentCls:Cn}=$n,_n=(Pn,In,Nn,Rn)=>({[`${Cn}${Cn}-${Pn}`]:{fontSize:Rn,[`
- ${Cn}-title,
- ${Cn}-footer,
- ${Cn}-thead > tr > th,
- ${Cn}-tbody > tr > td,
- tfoot > tr > th,
- tfoot > tr > td
- `]:{padding:`${In}px ${Nn}px`},[`${Cn}-filter-trigger`]:{marginInlineEnd:`-${Nn/2}px`},[`${Cn}-expanded-row-fixed`]:{margin:`-${In}px -${Nn}px`},[`${Cn}-tbody`]:{[`${Cn}-wrapper:only-child ${Cn}`]:{marginBlock:`-${In}px`,marginInline:`${$n.tableExpandColumnWidth-Nn}px -${Nn}px`}},[`${Cn}-selection-column`]:{paddingInlineStart:`${Nn/4}px`}}});return{[`${Cn}-wrapper`]:_extends$1(_extends$1({},_n("middle",$n.tablePaddingVerticalMiddle,$n.tablePaddingHorizontalMiddle,$n.tableFontSizeMiddle)),_n("small",$n.tablePaddingVerticalSmall,$n.tablePaddingHorizontalSmall,$n.tableFontSizeSmall))}},genSizeStyle$1=genSizeStyle,genResizeStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-wrapper ${Cn}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:$n.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${Cn}-wrapper ${Cn}-resize-handle.dragging`]:{overflow:"hidden",[`${Cn}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},genResizeStyle$1=genResizeStyle,genSorterStyle=$n=>{const{componentCls:Cn,marginXXS:_n,fontSizeIcon:Pn,tableHeaderIconColor:In,tableHeaderIconColorHover:Nn}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-thead th${Cn}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${$n.motionDurationSlow}`,"&:hover":{background:$n.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:$n.colorPrimary},[`
- &${Cn}-cell-fix-left:hover,
- &${Cn}-cell-fix-right:hover
- `]:{background:$n.tableFixedHeaderSortActiveBg}},[`${Cn}-thead th${Cn}-column-sort`]:{background:$n.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Cn}-column-sort`]:{background:$n.tableBodySortBg},[`${Cn}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Cn}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Cn}-column-sorter`]:{marginInlineStart:_n,color:In,fontSize:0,transition:`color ${$n.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Pn,"&.active":{color:$n.colorPrimary}},[`${Cn}-column-sorter-up + ${Cn}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Cn}-column-sorters:hover ${Cn}-column-sorter`]:{color:Nn}}}},genSorterStyle$1=genSorterStyle,genStickyStyle=$n=>{const{componentCls:Cn,opacityLoading:_n,tableScrollThumbBg:Pn,tableScrollThumbBgHover:In,tableScrollThumbSize:Nn,tableScrollBg:Rn,zIndexTableSticky:Dn}=$n,Ln=`${$n.lineWidth}px ${$n.lineType} ${$n.tableBorderColor}`;return{[`${Cn}-wrapper`]:{[`${Cn}-sticky`]:{"&-holder":{position:"sticky",zIndex:Dn,background:$n.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Nn}px !important`,zIndex:Dn,display:"flex",alignItems:"center",background:Rn,borderTop:Ln,opacity:_n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Nn,backgroundColor:Pn,borderRadius:100,transition:`all ${$n.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:In}}}}}}},genStickyStyle$1=genStickyStyle,genSummaryStyle=$n=>{const{componentCls:Cn,lineWidth:_n,tableBorderColor:Pn}=$n,In=`${_n}px ${$n.lineType} ${Pn}`;return{[`${Cn}-wrapper`]:{[`${Cn}-summary`]:{position:"relative",zIndex:$n.zIndexTableFixed,background:$n.tableBg,"> tr":{"> th, > td":{borderBottom:In}}},[`div${Cn}-summary`]:{boxShadow:`0 -${_n}px 0 ${Pn}`}}}},genSummaryStyle$1=genSummaryStyle,genTableStyle=$n=>{const{componentCls:Cn,fontWeightStrong:_n,tablePaddingVertical:Pn,tablePaddingHorizontal:In,lineWidth:Nn,lineType:Rn,tableBorderColor:Dn,tableFontSize:Ln,tableBg:Fn,tableRadius:Bn,tableHeaderTextColor:Hn,motionDurationMid:zn,tableHeaderBg:Wn,tableHeaderCellSplitColor:Yn,tableRowHoverBg:Gn,tableSelectedRowBg:Go,tableSelectedRowHoverBg:Xn,tableFooterTextColor:Yo,tableFooterBg:qo,paddingContentVerticalLG:Jo}=$n,Zo=`${Nn}px ${Rn} ${Dn}`;return{[`${Cn}-wrapper`]:_extends$1(_extends$1({clear:"both",maxWidth:"100%"},clearFix()),{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{fontSize:Ln,background:Fn,borderRadius:`${Bn}px ${Bn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Bn}px ${Bn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
- ${Cn}-thead > tr > th,
- ${Cn}-tbody > tr > td,
- tfoot > tr > th,
- tfoot > tr > td
- `]:{position:"relative",padding:`${Jo}px ${In}px`,overflowWrap:"break-word"},[`${Cn}-title`]:{padding:`${Pn}px ${In}px`},[`${Cn}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Hn,fontWeight:_n,textAlign:"start",background:Wn,borderBottom:Zo,transition:`background ${zn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Cn}-selection-column):not(${Cn}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yn,transform:"translateY(-50%)",transition:`background-color ${zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Cn}:not(${Cn}-bordered)`]:{[`${Cn}-tbody`]:{"> tr":{"> td":{borderTop:Zo,borderBottom:"transparent"},"&:last-child > td":{borderBottom:Zo},[`&:first-child > td,
- &${Cn}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${Cn}${Cn}-bordered`]:{[`${Cn}-tbody`]:{"> tr":{"> td":{borderBottom:Zo}}}},[`${Cn}-tbody`]:{"> tr":{"> td":{transition:`background ${zn}, border-color ${zn}`,[`
- > ${Cn}-wrapper:only-child,
- > ${Cn}-expanded-row-fixed > ${Cn}-wrapper:only-child
- `]:{[Cn]:{marginBlock:`-${Pn}px`,marginInline:`${$n.tableExpandColumnWidth-In}px -${In}px`,[`${Cn}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[`
- &${Cn}-row:hover > td,
- > td${Cn}-cell-row-hover
- `]:{background:Gn},[`&${Cn}-row-selected`]:{"> td":{background:Go},"&:hover > td":{background:Xn}}}},[`${Cn}-footer`]:{padding:`${Pn}px ${In}px`,color:Yo,background:qo}})}},useStyle$9=genComponentStyleHook("Table",$n=>{const{controlItemBgActive:Cn,controlItemBgActiveHover:_n,colorTextPlaceholder:Pn,colorTextHeading:In,colorSplit:Nn,colorBorderSecondary:Rn,fontSize:Dn,padding:Ln,paddingXS:Fn,paddingSM:Bn,controlHeight:Hn,colorFillAlter:zn,colorIcon:Wn,colorIconHover:Yn,opacityLoading:Gn,colorBgContainer:Go,borderRadiusLG:Xn,colorFillContent:Yo,colorFillSecondary:qo,controlInteractiveSize:Jo}=$n,Zo=new TinyColor(Wn),rr=new TinyColor(Yn),nr=Cn,ta=2,oa=new TinyColor(qo).onBackground(Go).toHexString(),ra=new TinyColor(Yo).onBackground(Go).toHexString(),ea=new TinyColor(zn).onBackground(Go).toHexString(),la=merge$1($n,{tableFontSize:Dn,tableBg:Go,tableRadius:Xn,tablePaddingVertical:Ln,tablePaddingHorizontal:Ln,tablePaddingVerticalMiddle:Bn,tablePaddingHorizontalMiddle:Fn,tablePaddingVerticalSmall:Fn,tablePaddingHorizontalSmall:Fn,tableBorderColor:Rn,tableHeaderTextColor:In,tableHeaderBg:ea,tableFooterTextColor:In,tableFooterBg:ea,tableHeaderCellSplitColor:Rn,tableHeaderSortBg:oa,tableHeaderSortHoverBg:ra,tableHeaderIconColor:Zo.clone().setAlpha(Zo.getAlpha()*Gn).toRgbString(),tableHeaderIconColorHover:rr.clone().setAlpha(rr.getAlpha()*Gn).toRgbString(),tableBodySortBg:ea,tableFixedHeaderSortActiveBg:oa,tableHeaderFilterActiveBg:Yo,tableFilterDropdownBg:Go,tableRowHoverBg:ea,tableSelectedRowBg:nr,tableSelectedRowHoverBg:_n,zIndexTableFixed:ta,zIndexTableSticky:ta+1,tableFontSizeMiddle:Dn,tableFontSizeSmall:Dn,tableSelectionColumnWidth:Hn,tableExpandIconBg:Go,tableExpandColumnWidth:Jo+2*$n.padding,tableExpandedRowBg:zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Pn,tableScrollThumbBgHover:In,tableScrollBg:Nn});return[genTableStyle(la),genPaginationStyle$1(la),genSummaryStyle$1(la),genSorterStyle$1(la),genFilterStyle$1(la),genBorderedStyle$1(la),genRadiusStyle$1(la),genExpandStyle$1(la),genSummaryStyle$1(la),genEmptyStyle$1(la),genSelectionStyle$1(la),genFixedStyle$1(la),genStickyStyle$1(la),genEllipsisStyle$1(la),genSizeStyle$1(la),genResizeStyle$1(la),genRtlStyle$2(la)]}),EMPTY_LIST=[],tableProps=()=>({prefixCls:stringType(),columns:arrayType(),rowKey:someType([String,Function]),tableLayout:stringType(),rowClassName:someType([String,Function]),title:functionType(),footer:functionType(),id:stringType(),showHeader:booleanType(),components:objectType(),customRow:functionType(),customHeaderRow:functionType(),direction:stringType(),expandFixed:someType([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:arrayType(),defaultExpandedRowKeys:arrayType(),expandedRowRender:functionType(),expandRowByClick:booleanType(),expandIcon:functionType(),onExpand:functionType(),onExpandedRowsChange:functionType(),"onUpdate:expandedRowKeys":functionType(),defaultExpandAllRows:booleanType(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:booleanType(),expandedRowClassName:functionType(),childrenColumnName:stringType(),rowExpandable:functionType(),sticky:someType([Boolean,Object]),dropdownPrefixCls:String,dataSource:arrayType(),pagination:someType([Boolean,Object]),loading:someType([Boolean,Object]),size:stringType(),bordered:booleanType(),locale:objectType(),onChange:functionType(),onResizeColumn:functionType(),rowSelection:objectType(),getPopupContainer:functionType(),scroll:objectType(),sortDirections:arrayType(),showSorterTooltip:someType([Boolean,Object],!0),transformCellText:functionType()}),InternalTable=defineComponent({name:"InternalTable",inheritAttrs:!1,props:initDefaultProps(_extends$1(_extends$1({},tableProps()),{contextSlots:objectType()}),{rowKey:"key"}),setup($n,Cn){let{attrs:_n,slots:Pn,expose:In,emit:Nn}=Cn;devWarning(!(typeof $n.rowKey=="function"&&$n.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),useProvideSlots(computed(()=>$n.contextSlots)),useProvideTableContext({onResizeColumn:(Aa,Ra)=>{Nn("resizeColumn",Aa,Ra)}});const Rn=useBreakpoint(),Dn=computed(()=>{const Aa=new Set(Object.keys(Rn.value).filter(Ra=>Rn.value[Ra]));return $n.columns.filter(Ra=>!Ra.responsive||Ra.responsive.some(Fa=>Aa.has(Fa)))}),{size:Ln,renderEmpty:Fn,direction:Bn,prefixCls:Hn,configProvider:zn}=useConfigInject("table",$n),[Wn,Yn]=useStyle$9(Hn),Gn=computed(()=>{var Aa;return $n.transformCellText||((Aa=zn.transformCellText)===null||Aa===void 0?void 0:Aa.value)}),[Go]=useLocaleReceiver("Table",localeValues$1.Table,toRef($n,"locale")),Xn=computed(()=>$n.dataSource||EMPTY_LIST),Yo=computed(()=>zn.getPrefixCls("dropdown",$n.dropdownPrefixCls)),qo=computed(()=>$n.childrenColumnName||"children"),Jo=computed(()=>Xn.value.some(Aa=>Aa==null?void 0:Aa[qo.value])?"nest":$n.expandedRowRender?"row":null),Zo=reactive({body:null}),rr=Aa=>{_extends$1(Zo,Aa)},nr=computed(()=>typeof $n.rowKey=="function"?$n.rowKey:Aa=>Aa==null?void 0:Aa[$n.rowKey]),[ta]=useLazyKVMap(Xn,qo,nr),oa={},ra=function(Aa,Ra){let Fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:za,scroll:Wa,onChange:Ya}=$n,ja=_extends$1(_extends$1({},oa),Aa);Fa&&(oa.resetPagination(),ja.pagination.current&&(ja.pagination.current=1),za&&za.onChange&&za.onChange(1,ja.pagination.pageSize)),Wa&&Wa.scrollToFirstRowOnChange!==!1&&Zo.body&&scrollTo$1(0,{getContainer:()=>Zo.body}),Ya==null||Ya(ja.pagination,ja.filters,ja.sorter,{currentDataSource:getFilterData(getSortData(Xn.value,ja.sorterStates,qo.value),ja.filterStates),action:Ra})},ea=(Aa,Ra)=>{ra({sorter:Aa,sorterStates:Ra},"sort",!1)},[la,ua,ga,aa]=useFilterSorter({prefixCls:Hn,mergedColumns:Dn,onSorterChange:ea,sortDirections:computed(()=>$n.sortDirections||["ascend","descend"]),tableLocale:Go,showSorterTooltip:toRef($n,"showSorterTooltip")}),ca=computed(()=>getSortData(Xn.value,ua.value,qo.value)),sa=(Aa,Ra)=>{ra({filters:Aa,filterStates:Ra},"filter",!0)},[ia,fa,ma]=useFilter({prefixCls:Hn,locale:Go,dropdownPrefixCls:Yo,mergedColumns:Dn,onFilterChange:sa,getPopupContainer:toRef($n,"getPopupContainer")}),ya=computed(()=>getFilterData(ca.value,fa.value)),[ba]=useColumns(toRef($n,"contextSlots")),Ia=computed(()=>{const Aa={},Ra=ma.value;return Object.keys(Ra).forEach(Fa=>{Ra[Fa]!==null&&(Aa[Fa]=Ra[Fa])}),_extends$1(_extends$1({},ga.value),{filters:Aa})}),[Ea]=useTitleColumns(Ia),xa=(Aa,Ra)=>{ra({pagination:_extends$1(_extends$1({},oa.pagination),{current:Aa,pageSize:Ra})},"paginate")},[Ta,wa]=usePagination(computed(()=>ya.value.length),toRef($n,"pagination"),xa);watchEffect(()=>{oa.sorter=aa.value,oa.sorterStates=ua.value,oa.filters=ma.value,oa.filterStates=fa.value,oa.pagination=$n.pagination===!1?{}:getPaginationParam(Ta.value,$n.pagination),oa.resetPagination=wa});const La=computed(()=>{if($n.pagination===!1||!Ta.value.pageSize)return ya.value;const{current:Aa=1,total:Ra,pageSize:Fa=DEFAULT_PAGE_SIZE}=Ta.value;return devWarning(Aa>0,"Table","`current` should be positive number."),ya.value.length<Ra?ya.value.length>Fa?ya.value.slice((Aa-1)*Fa,Aa*Fa):ya.value:ya.value.slice((Aa-1)*Fa,Aa*Fa)});watchEffect(()=>{nextTick(()=>{const{total:Aa,pageSize:Ra=DEFAULT_PAGE_SIZE}=Ta.value;ya.value.length<Aa&&ya.value.length>Ra&&devWarning(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const Na=computed(()=>$n.showExpandColumn===!1?-1:Jo.value==="nest"&&$n.expandIconColumnIndex===void 0?$n.rowSelection?1:0:$n.expandIconColumnIndex>0&&$n.rowSelection?$n.expandIconColumnIndex-1:$n.expandIconColumnIndex),$a=ref();watch(()=>$n.rowSelection,()=>{$a.value=$n.rowSelection?_extends$1({},$n.rowSelection):$n.rowSelection},{deep:!0,immediate:!0});const[ka,Ha]=useSelection($a,{prefixCls:Hn,data:ya,pageData:La,getRowKey:nr,getRecordByKey:ta,expandType:Jo,childrenColumnName:qo,locale:Go,getPopupContainer:computed(()=>$n.getPopupContainer)}),da=(Aa,Ra,Fa)=>{let za;const{rowClassName:Wa}=$n;return typeof Wa=="function"?za=classNames(Wa(Aa,Ra,Fa)):za=classNames(Wa),classNames({[`${Hn.value}-row-selected`]:Ha.value.has(nr.value(Aa,Ra))},za)};In({selectedKeySet:Ha});const pa=computed(()=>typeof $n.indentSize=="number"?$n.indentSize:15),Sa=Aa=>Ea(ka(ia(la(ba(Aa)))));return()=>{var Aa;const{expandIcon:Ra=Pn.expandIcon||renderExpandIcon(Go.value),pagination:Fa,loading:za,bordered:Wa}=$n;let Ya,ja;if(Fa!==!1&&(!((Aa=Ta.value)===null||Aa===void 0)&&Aa.total)){let Ma;Ta.value.size?Ma=Ta.value.size:Ma=Ln.value==="small"||Ln.value==="middle"?"small":void 0;const Ua=fi=>createVNode(Pagination,_objectSpread2$1(_objectSpread2$1({},Ta.value),{},{class:[`${Hn.value}-pagination ${Hn.value}-pagination-${fi}`,Ta.value.class],size:Ma}),null),Qa=Bn.value==="rtl"?"left":"right",{position:ri}=Ta.value;if(ri!==null&&Array.isArray(ri)){const fi=ri.find(ni=>ni.includes("top")),ei=ri.find(ni=>ni.includes("bottom")),ti=ri.every(ni=>`${ni}`=="none");!fi&&!ei&&!ti&&(ja=Ua(Qa)),fi&&(Ya=Ua(fi.toLowerCase().replace("top",""))),ei&&(ja=Ua(ei.toLowerCase().replace("bottom","")))}else ja=Ua(Qa)}let qa;typeof za=="boolean"?qa={spinning:za}:typeof za=="object"&&(qa=_extends$1({spinning:!0},za));const Xa=classNames(`${Hn.value}-wrapper`,{[`${Hn.value}-wrapper-rtl`]:Bn.value==="rtl"},_n.class,Yn.value),Oa=omit$1($n,["columns"]);return Wn(createVNode("div",{class:Xa,style:_n.style},[createVNode(Spin,_objectSpread2$1({spinning:!1},qa),{default:()=>[Ya,createVNode(Table$2,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),Oa),{},{expandedRowKeys:$n.expandedRowKeys,defaultExpandedRowKeys:$n.defaultExpandedRowKeys,expandIconColumnIndex:Na.value,indentSize:pa.value,expandIcon:Ra,columns:Dn.value,direction:Bn.value,prefixCls:Hn.value,class:classNames({[`${Hn.value}-middle`]:Ln.value==="middle",[`${Hn.value}-small`]:Ln.value==="small",[`${Hn.value}-bordered`]:Wa,[`${Hn.value}-empty`]:Xn.value.length===0}),data:La.value,rowKey:nr.value,rowClassName:da,internalHooks:INTERNAL_HOOKS,internalRefs:Zo,onUpdateInternalRefs:rr,transformColumns:Sa,transformCellText:Gn.value}),_extends$1(_extends$1({},Pn),{emptyText:()=>{var Ma,Ua;return((Ma=Pn.emptyText)===null||Ma===void 0?void 0:Ma.call(Pn))||((Ua=$n.locale)===null||Ua===void 0?void 0:Ua.emptyText)||Fn("Table")}})),ja]})]))}}}),Table=defineComponent({name:"ATable",inheritAttrs:!1,props:initDefaultProps(tableProps(),{rowKey:"key"}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,expose:In}=Cn;const Nn=ref();return In({table:Nn}),()=>{var Rn;const Dn=$n.columns||convertChildrenToColumns((Rn=Pn.default)===null||Rn===void 0?void 0:Rn.call(Pn));return createVNode(InternalTable,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Nn},_n),$n),{},{columns:Dn||[],expandedRowRender:Pn.expandedRowRender||$n.expandedRowRender,contextSlots:_extends$1({},Pn)}),Pn)}}}),Table$1=Table,Column=defineComponent({name:"ATableColumn",slots:Object,render(){return null}}),ColumnGroup=defineComponent({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),TableSummaryRow=SummaryRow,TableSummaryCell=SummaryCell,TableSummary=_extends$1(FooterComponents,{Cell:TableSummaryCell,Row:TableSummaryRow,name:"ATableSummary"}),index$9=_extends$1(Table$1,{SELECTION_ALL,SELECTION_INVERT,SELECTION_NONE,SELECTION_COLUMN,EXPAND_COLUMN,Column,ColumnGroup,Summary:TableSummary,install:$n=>($n.component(TableSummary.name,TableSummary),$n.component(TableSummaryCell.name,TableSummaryCell),$n.component(TableSummaryRow.name,TableSummaryRow),$n.component(Table$1.name,Table$1),$n.component(Column.name,Column),$n.component(ColumnGroup.name,ColumnGroup),$n)}),transferSearchProps={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},Search=defineComponent({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:initDefaultProps(transferSearchProps,{placeholder:""}),emits:["change"],setup($n,Cn){let{emit:_n}=Cn;const Pn=In=>{var Nn;_n("change",In),In.target.value===""&&((Nn=$n.handleClear)===null||Nn===void 0||Nn.call($n))};return()=>{const{placeholder:In,value:Nn,prefixCls:Rn,disabled:Dn}=$n;return createVNode(Input,{placeholder:In,class:Rn,value:Nn,onChange:Pn,disabled:Dn,allowClear:!0},{prefix:()=>createVNode(SearchOutlined$1,null,null)})}}});var DeleteOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const DeleteOutlinedSvg=DeleteOutlined$2;function _objectSpread$8($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$8($n,In,_n[In])})}return $n}function _defineProperty$8($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var DeleteOutlined=function(Cn,_n){var Pn=_objectSpread$8({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$8({},Pn,{icon:DeleteOutlinedSvg}),null)};DeleteOutlined.displayName="DeleteOutlined";DeleteOutlined.inheritAttrs=!1;const DeleteOutlined$1=DeleteOutlined;function noop$3(){}const transferListItemProps={renderedText:PropTypes.any,renderedEl:PropTypes.any,item:PropTypes.any,checked:booleanType(),prefixCls:String,disabled:booleanType(),showRemove:booleanType(),onClick:Function,onRemove:Function},ListItem$1=defineComponent({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:transferListItemProps,emits:["click","remove"],setup($n,Cn){let{emit:_n}=Cn;return()=>{const{renderedText:Pn,renderedEl:In,item:Nn,checked:Rn,disabled:Dn,prefixCls:Ln,showRemove:Fn}=$n,Bn=classNames({[`${Ln}-content-item`]:!0,[`${Ln}-content-item-disabled`]:Dn||Nn.disabled});let Hn;return(typeof Pn=="string"||typeof Pn=="number")&&(Hn=String(Pn)),createVNode(LocaleReceiver,{componentName:"Transfer",defaultLocale:localeValues$1.Transfer},{default:zn=>{const Wn=createVNode("span",{class:`${Ln}-content-item-text`},[In]);return Fn?createVNode("li",{class:Bn,title:Hn},[Wn,createVNode(TransButton$1,{disabled:Dn||Nn.disabled,class:`${Ln}-content-item-remove`,"aria-label":zn.remove,onClick:()=>{_n("remove",Nn)}},{default:()=>[createVNode(DeleteOutlined$1,null,null)]})]):createVNode("li",{class:Bn,title:Hn,onClick:Dn||Nn.disabled?noop$3:()=>{_n("click",Nn)}},[createVNode(Checkbox,{class:`${Ln}-checkbox`,checked:Rn,disabled:Dn||Nn.disabled},null),Wn])}})}}}),transferListBodyProps={prefixCls:String,filteredRenderItems:PropTypes.array.def([]),selectedKeys:PropTypes.array,disabled:booleanType(),showRemove:booleanType(),pagination:PropTypes.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function parsePagination($n){if(!$n)return null;const Cn={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof $n=="object"?_extends$1(_extends$1({},Cn),$n):Cn}const ListBody=defineComponent({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:transferListBodyProps,emits:["itemSelect","itemRemove","scroll"],setup($n,Cn){let{emit:_n,expose:Pn}=Cn;const In=ref(1),Nn=Hn=>{const{selectedKeys:zn}=$n,Wn=zn.indexOf(Hn.key)>=0;_n("itemSelect",Hn.key,!Wn)},Rn=Hn=>{_n("itemRemove",[Hn.key])},Dn=Hn=>{_n("scroll",Hn)},Ln=computed(()=>parsePagination($n.pagination));watch([Ln,()=>$n.filteredRenderItems],()=>{if(Ln.value){const Hn=Math.ceil($n.filteredRenderItems.length/Ln.value.pageSize);In.value=Math.min(In.value,Hn)}},{immediate:!0});const Fn=computed(()=>{const{filteredRenderItems:Hn}=$n;let zn=Hn;return Ln.value&&(zn=Hn.slice((In.value-1)*Ln.value.pageSize,In.value*Ln.value.pageSize)),zn}),Bn=Hn=>{In.value=Hn};return Pn({items:Fn}),()=>{const{prefixCls:Hn,filteredRenderItems:zn,selectedKeys:Wn,disabled:Yn,showRemove:Gn}=$n;let Go=null;Ln.value&&(Go=createVNode(Pagination,{simple:Ln.value.simple,showSizeChanger:Ln.value.showSizeChanger,showLessItems:Ln.value.showLessItems,size:"small",disabled:Yn,class:`${Hn}-pagination`,total:zn.length,pageSize:Ln.value.pageSize,current:In.value,onChange:Bn},null));const Xn=Fn.value.map(Yo=>{let{renderedEl:qo,renderedText:Jo,item:Zo}=Yo;const{disabled:rr}=Zo,nr=Wn.indexOf(Zo.key)>=0;return createVNode(ListItem$1,{disabled:Yn||rr,key:Zo.key,item:Zo,renderedText:Jo,renderedEl:qo,checked:nr,prefixCls:Hn,onClick:Nn,onRemove:Rn,showRemove:Gn},null)});return createVNode(Fragment,null,[createVNode("ul",{class:classNames(`${Hn}-content`,{[`${Hn}-content-show-remove`]:Gn}),onScroll:Dn},[Xn]),Go])}}}),ListBody$1=ListBody,groupKeysMap=$n=>{const Cn=new Map;return $n.forEach((_n,Pn)=>{Cn.set(_n,Pn)}),Cn},groupDisabledKeysMap=$n=>{const Cn=new Map;return $n.forEach((_n,Pn)=>{let{disabled:In,key:Nn}=_n;In&&Cn.set(Nn,Pn)}),Cn},defaultRender=()=>null;function isRenderResultPlainObject($n){return!!($n&&!isValidElement($n)&&Object.prototype.toString.call($n)==="[object Object]")}function getEnabledItemKeys($n){return $n.filter(Cn=>!Cn.disabled).map(Cn=>Cn.key)}const transferListProps={prefixCls:String,dataSource:arrayType([]),filter:String,filterOption:Function,checkedKeys:PropTypes.arrayOf(PropTypes.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:booleanType(!1),searchPlaceholder:String,notFoundContent:PropTypes.any,itemUnit:String,itemsUnit:String,renderList:PropTypes.any,disabled:booleanType(),direction:stringType(),showSelectAll:booleanType(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:PropTypes.any,showRemove:booleanType(),pagination:PropTypes.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},List=defineComponent({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:transferListProps,slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const In=ref(""),Nn=ref(),Rn=ref(),Dn=(Zo,rr)=>{let nr=Zo?Zo(rr):null;const ta=!!nr&&filterEmpty(nr).length>0;return ta||(nr=createVNode(ListBody$1,_objectSpread2$1(_objectSpread2$1({},rr),{},{ref:Rn}),null)),{customize:ta,bodyContent:nr}},Ln=Zo=>{const{renderItem:rr=defaultRender}=$n,nr=rr(Zo),ta=isRenderResultPlainObject(nr);return{renderedText:ta?nr.value:nr,renderedEl:ta?nr.label:nr,item:Zo}},Fn=ref([]),Bn=ref([]);watchEffect(()=>{const Zo=[],rr=[];$n.dataSource.forEach(nr=>{const ta=Ln(nr),{renderedText:oa}=ta;if(In.value&&In.value.trim()&&!Xn(oa,nr))return null;Zo.push(nr),rr.push(ta)}),Fn.value=Zo,Bn.value=rr});const Hn=computed(()=>{const{checkedKeys:Zo}=$n;if(Zo.length===0)return"none";const rr=groupKeysMap(Zo);return Fn.value.every(nr=>rr.has(nr.key)||!!nr.disabled)?"all":"part"}),zn=computed(()=>getEnabledItemKeys(Fn.value)),Wn=(Zo,rr)=>Array.from(new Set([...Zo,...$n.checkedKeys])).filter(nr=>rr.indexOf(nr)===-1),Yn=Zo=>{let{disabled:rr,prefixCls:nr}=Zo;var ta;const oa=Hn.value==="all";return createVNode(Checkbox,{disabled:((ta=$n.dataSource)===null||ta===void 0?void 0:ta.length)===0||rr,checked:oa,indeterminate:Hn.value==="part",class:`${nr}-checkbox`,onChange:()=>{const ea=zn.value;$n.onItemSelectAll(Wn(oa?[]:ea,oa?$n.checkedKeys:[]))}},null)},Gn=Zo=>{var rr;const{target:{value:nr}}=Zo;In.value=nr,(rr=$n.handleFilter)===null||rr===void 0||rr.call($n,Zo)},Go=Zo=>{var rr;In.value="",(rr=$n.handleClear)===null||rr===void 0||rr.call($n,Zo)},Xn=(Zo,rr)=>{const{filterOption:nr}=$n;return nr?nr(In.value,rr):Zo.includes(In.value)},Yo=(Zo,rr)=>{const{itemsUnit:nr,itemUnit:ta,selectAllLabel:oa}=$n;if(oa)return typeof oa=="function"?oa({selectedCount:Zo,totalCount:rr}):oa;const ra=rr>1?nr:ta;return createVNode(Fragment,null,[(Zo>0?`${Zo}/`:"")+rr,createTextVNode(" "),ra])},qo=computed(()=>Array.isArray($n.notFoundContent)?$n.notFoundContent[$n.direction==="left"?0:1]:$n.notFoundContent),Jo=(Zo,rr,nr,ta,oa,ra)=>{const ea=oa?createVNode("div",{class:`${Zo}-body-search-wrapper`},[createVNode(Search,{prefixCls:`${Zo}-search`,onChange:Gn,handleClear:Go,placeholder:rr,value:In.value,disabled:ra},null)]):null;let la;const{onEvents:ua}=splitAttrs(_n),{bodyContent:ga,customize:aa}=Dn(ta,_extends$1(_extends$1(_extends$1({},$n),{filteredItems:Fn.value,filteredRenderItems:Bn.value,selectedKeys:nr}),ua));return aa?la=createVNode("div",{class:`${Zo}-body-customize-wrapper`},[ga]):la=Fn.value.length?ga:createVNode("div",{class:`${Zo}-body-not-found`},[qo.value]),createVNode("div",{class:oa?`${Zo}-body ${Zo}-body-with-search`:`${Zo}-body`,ref:Nn},[ea,la])};return()=>{var Zo,rr;const{prefixCls:nr,checkedKeys:ta,disabled:oa,showSearch:ra,searchPlaceholder:ea,selectAll:la,selectCurrent:ua,selectInvert:ga,removeAll:aa,removeCurrent:ca,renderList:sa,onItemSelectAll:ia,onItemRemove:fa,showSelectAll:ma=!0,showRemove:ya,pagination:ba}=$n,Ia=(Zo=Pn.footer)===null||Zo===void 0?void 0:Zo.call(Pn,_extends$1({},$n)),Ea=classNames(nr,{[`${nr}-with-pagination`]:!!ba,[`${nr}-with-footer`]:!!Ia}),xa=Jo(nr,ea,ta,sa,ra,oa),Ta=Ia?createVNode("div",{class:`${nr}-footer`},[Ia]):null,wa=!ya&&!ba&&Yn({disabled:oa,prefixCls:nr});let La=null;ya?La=createVNode(Menu,null,{default:()=>[ba&&createVNode(Menu.Item,{key:"removeCurrent",onClick:()=>{const $a=getEnabledItemKeys((Rn.value.items||[]).map(ka=>ka.item));fa==null||fa($a)}},{default:()=>[ca]}),createVNode(Menu.Item,{key:"removeAll",onClick:()=>{fa==null||fa(zn.value)}},{default:()=>[aa]})]}):La=createVNode(Menu,null,{default:()=>[createVNode(Menu.Item,{key:"selectAll",onClick:()=>{const $a=zn.value;ia(Wn($a,[]))}},{default:()=>[la]}),ba&&createVNode(Menu.Item,{onClick:()=>{const $a=getEnabledItemKeys((Rn.value.items||[]).map(ka=>ka.item));ia(Wn($a,[]))}},{default:()=>[ua]}),createVNode(Menu.Item,{key:"selectInvert",onClick:()=>{let $a;ba?$a=getEnabledItemKeys((Rn.value.items||[]).map(pa=>pa.item)):$a=zn.value;const ka=new Set(ta),Ha=[],da=[];$a.forEach(pa=>{ka.has(pa)?da.push(pa):Ha.push(pa)}),ia(Wn(Ha,da))}},{default:()=>[ga]})]});const Na=createVNode(Dropdown$1,{class:`${nr}-header-dropdown`,overlay:La,disabled:oa},{default:()=>[createVNode(DownOutlined$1,null,null)]});return createVNode("div",{class:Ea,style:_n.style},[createVNode("div",{class:`${nr}-header`},[ma?createVNode(Fragment,null,[wa,Na]):null,createVNode("span",{class:`${nr}-header-selected`},[createVNode("span",null,[Yo(ta.length,Fn.value.length)]),createVNode("span",{class:`${nr}-header-title`},[(rr=Pn.titleText)===null||rr===void 0?void 0:rr.call(Pn)])])]),xa,Ta])}}});function noop$2(){}const Operation=$n=>{const{disabled:Cn,moveToLeft:_n=noop$2,moveToRight:Pn=noop$2,leftArrowText:In="",rightArrowText:Nn="",leftActive:Rn,rightActive:Dn,class:Ln,style:Fn,direction:Bn,oneWay:Hn}=$n;return createVNode("div",{class:Ln,style:Fn},[createVNode(Button$1,{type:"primary",size:"small",disabled:Cn||!Dn,onClick:Pn,icon:createVNode(Bn!=="rtl"?RightOutlined$1:LeftOutlined$1,null,null)},{default:()=>[Nn]}),!Hn&&createVNode(Button$1,{type:"primary",size:"small",disabled:Cn||!Rn,onClick:_n,icon:createVNode(Bn!=="rtl"?LeftOutlined$1:RightOutlined$1,null,null)},{default:()=>[In]})])};Operation.displayName="Operation";Operation.inheritAttrs=!1;const Operation$1=Operation,genTransferCustomizeStyle=$n=>{const{antCls:Cn,componentCls:_n,listHeight:Pn,controlHeightLG:In,marginXXS:Nn,margin:Rn}=$n,Dn=`${Cn}-table`,Ln=`${Cn}-input`;return{[`${_n}-customize-list`]:{[`${_n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:Pn},[`${Dn}-wrapper`]:{[`${Dn}-small`]:{border:0,borderRadius:0,[`${Dn}-selection-column`]:{width:In,minWidth:In}},[`${Dn}-pagination${Dn}-pagination`]:{margin:`${Rn}px 0 ${Nn}px`}},[`${Ln}[disabled]`]:{backgroundColor:"transparent"}}}},genTransferStatusColor=($n,Cn)=>{const{componentCls:_n,colorBorder:Pn}=$n;return{[`${_n}-list`]:{borderColor:Cn,"&-search:not([disabled])":{borderColor:Pn}}}},genTransferStatusStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-status-error`]:_extends$1({},genTransferStatusColor($n,$n.colorError)),[`${Cn}-status-warning`]:_extends$1({},genTransferStatusColor($n,$n.colorWarning))}},genTransferListStyle=$n=>{const{componentCls:Cn,colorBorder:_n,colorSplit:Pn,lineWidth:In,transferItemHeight:Nn,transferHeaderHeight:Rn,transferHeaderVerticalPadding:Dn,transferItemPaddingVertical:Ln,controlItemBgActive:Fn,controlItemBgActiveHover:Bn,colorTextDisabled:Hn,listHeight:zn,listWidth:Wn,listWidthLG:Yn,fontSizeIcon:Gn,marginXS:Go,paddingSM:Xn,lineType:Yo,iconCls:qo,motionDurationSlow:Jo}=$n;return{display:"flex",flexDirection:"column",width:Wn,height:zn,border:`${In}px ${Yo} ${_n}`,borderRadius:$n.borderRadiusLG,"&-with-pagination":{width:Yn,height:"auto"},"&-search":{[`${qo}-search`]:{color:Hn}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:Rn,padding:`${Dn-In}px ${Xn}px ${Dn}px`,color:$n.colorText,background:$n.colorBgContainer,borderBottom:`${In}px ${Yo} ${Pn}`,borderRadius:`${$n.borderRadiusLG}px ${$n.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":_extends$1(_extends$1({},textEllipsis),{flex:"auto",textAlign:"end"}),"&-dropdown":_extends$1(_extends$1({},resetIcon()),{fontSize:Gn,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",overflow:"hidden",fontSize:$n.fontSize,"&-search-wrapper":{position:"relative",flex:"none",padding:Xn}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:Nn,padding:`${Ln}px ${Xn}px`,transition:`all ${Jo}`,"> *:not(:last-child)":{marginInlineEnd:Go},"> *":{flex:"none"},"&-text":_extends$1(_extends$1({},textEllipsis),{flex:"auto"}),"&-remove":{position:"relative",color:_n,cursor:"pointer",transition:`all ${Jo}`,"&:hover":{color:$n.colorLinkHover},"&::after":{position:"absolute",insert:`-${Ln}px -50%`,content:'""'}},[`&:not(${Cn}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:$n.controlItemBgHover,cursor:"pointer"},[`&${Cn}-list-content-item-checked:hover`]:{backgroundColor:Bn}},"&-checked":{backgroundColor:Fn},"&-disabled":{color:Hn,cursor:"not-allowed"}},[`&-show-remove ${Cn}-list-content-item:not(${Cn}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${$n.paddingXS}px 0`,textAlign:"end",borderTop:`${In}px ${Yo} ${Pn}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:Hn,textAlign:"center"},"&-footer":{borderTop:`${In}px ${Yo} ${Pn}`},"&-checkbox":{lineHeight:1}}},genTransferStyle=$n=>{const{antCls:Cn,iconCls:_n,componentCls:Pn,transferHeaderHeight:In,marginXS:Nn,marginXXS:Rn,fontSizeIcon:Dn,fontSize:Ln,lineHeight:Fn}=$n;return{[Pn]:_extends$1(_extends$1({},resetComponent($n)),{position:"relative",display:"flex",alignItems:"stretch",[`${Pn}-disabled`]:{[`${Pn}-list`]:{background:$n.colorBgContainerDisabled}},[`${Pn}-list`]:genTransferListStyle($n),[`${Pn}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${Nn}px`,verticalAlign:"middle",[`${Cn}-btn`]:{display:"block","&:first-child":{marginBottom:Rn},[_n]:{fontSize:Dn}}},[`${Cn}-empty-image`]:{maxHeight:In/2-Math.round(Ln*Fn)}})}},genTransferRTLStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-rtl`]:{direction:"rtl"}}},useStyle$8=genComponentStyleHook("Transfer",$n=>{const{fontSize:Cn,lineHeight:_n,lineWidth:Pn,controlHeightLG:In,controlHeight:Nn}=$n,Rn=Math.round(Cn*_n),Dn=In,Ln=Nn,Fn=merge$1($n,{transferItemHeight:Ln,transferHeaderHeight:Dn,transferHeaderVerticalPadding:Math.ceil((Dn-Pn-Rn)/2),transferItemPaddingVertical:(Ln-Rn)/2});return[genTransferStyle(Fn),genTransferCustomizeStyle(Fn),genTransferStatusStyle(Fn),genTransferRTLStyle(Fn)]},{listWidth:180,listHeight:200,listWidthLG:250}),transferProps=()=>({id:String,prefixCls:String,dataSource:arrayType([]),disabled:booleanType(),targetKeys:arrayType(),selectedKeys:arrayType(),render:functionType(),listStyle:someType([Function,Object],()=>({})),operationStyle:objectType(void 0),titles:arrayType(),operations:arrayType(),showSearch:booleanType(!1),filterOption:functionType(),searchPlaceholder:String,notFoundContent:PropTypes.any,locale:objectType(),rowKey:functionType(),showSelectAll:booleanType(),selectAllLabels:arrayType(),children:functionType(),oneWay:booleanType(),pagination:someType([Object,Boolean]),status:stringType(),onChange:functionType(),onSelectChange:functionType(),onSearch:functionType(),onScroll:functionType(),"onUpdate:targetKeys":functionType(),"onUpdate:selectedKeys":functionType()}),Transfer=defineComponent({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:transferProps(),slots:Object,setup($n,Cn){let{emit:_n,attrs:Pn,slots:In,expose:Nn}=Cn;const{configProvider:Rn,prefixCls:Dn,direction:Ln}=useConfigInject("transfer",$n),[Fn,Bn]=useStyle$8(Dn),Hn=ref([]),zn=ref([]),Wn=useInjectFormItemContext(),Yn=FormItemInputContext.useInject(),Gn=computed(()=>getMergedStatus(Yn.status,$n.status));watch(()=>$n.selectedKeys,()=>{var xa,Ta;Hn.value=((xa=$n.selectedKeys)===null||xa===void 0?void 0:xa.filter(wa=>$n.targetKeys.indexOf(wa)===-1))||[],zn.value=((Ta=$n.selectedKeys)===null||Ta===void 0?void 0:Ta.filter(wa=>$n.targetKeys.indexOf(wa)>-1))||[]},{immediate:!0});const Go=(xa,Ta)=>{const wa={notFoundContent:Ta("Transfer")},La=getPropsSlot(In,$n,"notFoundContent");return La&&(wa.notFoundContent=La),$n.searchPlaceholder!==void 0&&(wa.searchPlaceholder=$n.searchPlaceholder),_extends$1(_extends$1(_extends$1({},xa),wa),$n.locale)},Xn=xa=>{const{targetKeys:Ta=[],dataSource:wa=[]}=$n,La=xa==="right"?Hn.value:zn.value,Na=groupDisabledKeysMap(wa),$a=La.filter(pa=>!Na.has(pa)),ka=groupKeysMap($a),Ha=xa==="right"?$a.concat(Ta):Ta.filter(pa=>!ka.has(pa)),da=xa==="right"?"left":"right";xa==="right"?Hn.value=[]:zn.value=[],_n("update:targetKeys",Ha),nr(da,[]),_n("change",Ha,xa,$a),Wn.onFieldChange()},Yo=()=>{Xn("left")},qo=()=>{Xn("right")},Jo=(xa,Ta)=>{nr(xa,Ta)},Zo=xa=>Jo("left",xa),rr=xa=>Jo("right",xa),nr=(xa,Ta)=>{xa==="left"?($n.selectedKeys||(Hn.value=Ta),_n("update:selectedKeys",[...Ta,...zn.value]),_n("selectChange",Ta,toRaw(zn.value))):($n.selectedKeys||(zn.value=Ta),_n("update:selectedKeys",[...Ta,...Hn.value]),_n("selectChange",toRaw(Hn.value),Ta))},ta=(xa,Ta)=>{const wa=Ta.target.value;_n("search",xa,wa)},oa=xa=>{ta("left",xa)},ra=xa=>{ta("right",xa)},ea=xa=>{_n("search",xa,"")},la=()=>{ea("left")},ua=()=>{ea("right")},ga=(xa,Ta,wa)=>{const La=xa==="left"?[...Hn.value]:[...zn.value],Na=La.indexOf(Ta);Na>-1&&La.splice(Na,1),wa&&La.push(Ta),nr(xa,La)},aa=(xa,Ta)=>ga("left",xa,Ta),ca=(xa,Ta)=>ga("right",xa,Ta),sa=xa=>{const{targetKeys:Ta=[]}=$n,wa=Ta.filter(La=>!xa.includes(La));_n("update:targetKeys",wa),_n("change",wa,"left",[...xa])},ia=(xa,Ta)=>{_n("scroll",xa,Ta)},fa=xa=>{ia("left",xa)},ma=xa=>{ia("right",xa)},ya=(xa,Ta)=>typeof xa=="function"?xa({direction:Ta}):xa,ba=ref([]),Ia=ref([]);watchEffect(()=>{const{dataSource:xa,rowKey:Ta,targetKeys:wa=[]}=$n,La=[],Na=new Array(wa.length),$a=groupKeysMap(wa);xa.forEach(ka=>{Ta&&(ka.key=Ta(ka)),$a.has(ka.key)?Na[$a.get(ka.key)]=ka:La.push(ka)}),ba.value=La,Ia.value=Na}),Nn({handleSelectChange:nr});const Ea=xa=>{var Ta,wa,La,Na,$a,ka;const{disabled:Ha,operations:da=[],showSearch:pa,listStyle:Sa,operationStyle:Aa,filterOption:Ra,showSelectAll:Fa,selectAllLabels:za=[],oneWay:Wa,pagination:Ya,id:ja=Wn.id.value}=$n,{class:qa,style:Xa}=Pn,Oa=In.children,Ma=!Oa&&Ya,Ua=Rn.renderEmpty,Qa=Go(xa,Ua),{footer:ri}=In,fi=$n.render||In.render,ei=zn.value.length>0,ti=Hn.value.length>0,ni=classNames(Dn.value,qa,{[`${Dn.value}-disabled`]:Ha,[`${Dn.value}-customize-list`]:!!Oa,[`${Dn.value}-rtl`]:Ln.value==="rtl"},getStatusClassNames(Dn.value,Gn.value,Yn.hasFeedback),Bn.value),ui=$n.titles,mi=(La=(Ta=ui&&ui[0])!==null&&Ta!==void 0?Ta:(wa=In.leftTitle)===null||wa===void 0?void 0:wa.call(In))!==null&&La!==void 0?La:(Qa.titles||["",""])[0],di=(ka=(Na=ui&&ui[1])!==null&&Na!==void 0?Na:($a=In.rightTitle)===null||$a===void 0?void 0:$a.call(In))!==null&&ka!==void 0?ka:(Qa.titles||["",""])[1];return createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:ni,style:Xa,id:ja}),[createVNode(List,_objectSpread2$1({key:"leftList",prefixCls:`${Dn.value}-list`,dataSource:ba.value,filterOption:Ra,style:ya(Sa,"left"),checkedKeys:Hn.value,handleFilter:oa,handleClear:la,onItemSelect:aa,onItemSelectAll:Zo,renderItem:fi,showSearch:pa,renderList:Oa,onScroll:fa,disabled:Ha,direction:Ln.value==="rtl"?"right":"left",showSelectAll:Fa,selectAllLabel:za[0]||In.leftSelectAllLabel,pagination:Ma},Qa),{titleText:()=>mi,footer:ri}),createVNode(Operation$1,{key:"operation",class:`${Dn.value}-operation`,rightActive:ti,rightArrowText:da[0],moveToRight:qo,leftActive:ei,leftArrowText:da[1],moveToLeft:Yo,style:Aa,disabled:Ha,direction:Ln.value,oneWay:Wa},null),createVNode(List,_objectSpread2$1({key:"rightList",prefixCls:`${Dn.value}-list`,dataSource:Ia.value,filterOption:Ra,style:ya(Sa,"right"),checkedKeys:zn.value,handleFilter:ra,handleClear:ua,onItemSelect:ca,onItemSelectAll:rr,onItemRemove:sa,renderItem:fi,showSearch:pa,renderList:Oa,onScroll:ma,disabled:Ha,direction:Ln.value==="rtl"?"left":"right",showSelectAll:Fa,selectAllLabel:za[1]||In.rightSelectAllLabel,showRemove:Wa,pagination:Ma},Qa),{titleText:()=>di,footer:ri})])};return()=>Fn(createVNode(LocaleReceiver,{componentName:"Transfer",defaultLocale:localeValues$1.Transfer,children:Ea},null))}}),index$8=withInstall(Transfer);function toArray($n){return Array.isArray($n)?$n:$n!==void 0?[$n]:[]}function fillFieldNames($n){const{label:Cn,value:_n,children:Pn}=$n||{},In=_n||"value";return{_title:Cn?[Cn]:["title","label"],value:In,key:In,children:Pn||"children"}}function isCheckDisabled($n){return $n.disabled||$n.disableCheckbox||$n.checkable===!1}function getAllKeys($n,Cn){const _n=[];function Pn(In){In.forEach(Nn=>{_n.push(Nn[Cn.value]);const Rn=Nn[Cn.children];Rn&&Pn(Rn)})}return Pn($n),_n}function isNil($n){return $n==null}const TreeSelectContextPropsKey=Symbol("TreeSelectContextPropsKey");function useProvideSelectContext($n){return provide(TreeSelectContextPropsKey,$n)}function useInjectSelectContext(){return inject(TreeSelectContextPropsKey,{})}const HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},OptionList=defineComponent({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup($n,Cn){let{slots:_n,expose:Pn}=Cn;const In=useBaseProps(),Nn=useInjectLegacySelectContext(),Rn=useInjectSelectContext(),Dn=ref(),Ln=useMemo(()=>Rn.treeData,[()=>In.open,()=>Rn.treeData],Zo=>Zo[0]),Fn=computed(()=>{const{checkable:Zo,halfCheckedKeys:rr,checkedKeys:nr}=Nn;return Zo?{checked:nr,halfChecked:rr}:null});watch(()=>In.open,()=>{nextTick(()=>{var Zo;In.open&&!In.multiple&&Nn.checkedKeys.length&&((Zo=Dn.value)===null||Zo===void 0||Zo.scrollTo({key:Nn.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const Bn=computed(()=>String(In.searchValue).toLowerCase()),Hn=Zo=>Bn.value?String(Zo[Nn.treeNodeFilterProp]).toLowerCase().includes(Bn.value):!1,zn=shallowRef(Nn.treeDefaultExpandedKeys),Wn=shallowRef(null);watch(()=>In.searchValue,()=>{In.searchValue&&(Wn.value=getAllKeys(toRaw(Rn.treeData),toRaw(Rn.fieldNames)))},{immediate:!0});const Yn=computed(()=>Nn.treeExpandedKeys?Nn.treeExpandedKeys.slice():In.searchValue?Wn.value:zn.value),Gn=Zo=>{var rr;zn.value=Zo,Wn.value=Zo,(rr=Nn.onTreeExpand)===null||rr===void 0||rr.call(Nn,Zo)},Go=Zo=>{Zo.preventDefault()},Xn=(Zo,rr)=>{let{node:nr}=rr;var ta,oa;const{checkable:ra,checkedKeys:ea}=Nn;ra&&isCheckDisabled(nr)||((ta=Rn.onSelect)===null||ta===void 0||ta.call(Rn,nr.key,{selected:!ea.includes(nr.key)}),In.multiple||(oa=In.toggleOpen)===null||oa===void 0||oa.call(In,!1))},Yo=ref(null),qo=computed(()=>Nn.keyEntities[Yo.value]),Jo=Zo=>{Yo.value=Zo};return Pn({scrollTo:function(){for(var Zo,rr,nr=arguments.length,ta=new Array(nr),oa=0;oa<nr;oa++)ta[oa]=arguments[oa];return(rr=(Zo=Dn.value)===null||Zo===void 0?void 0:Zo.scrollTo)===null||rr===void 0?void 0:rr.call(Zo,...ta)},onKeydown:Zo=>{var rr;const{which:nr}=Zo;switch(nr){case KeyCode$1.UP:case KeyCode$1.DOWN:case KeyCode$1.LEFT:case KeyCode$1.RIGHT:(rr=Dn.value)===null||rr===void 0||rr.onKeydown(Zo);break;case KeyCode$1.ENTER:{if(qo.value){const{selectable:ta,value:oa}=qo.value.node||{};ta!==!1&&Xn(null,{node:{key:Yo.value},selected:!Nn.checkedKeys.includes(oa)})}break}case KeyCode$1.ESC:In.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var Zo;const{prefixCls:rr,multiple:nr,searchValue:ta,open:oa,notFoundContent:ra=(Zo=_n.notFoundContent)===null||Zo===void 0?void 0:Zo.call(_n)}=In,{listHeight:ea,listItemHeight:la,virtual:ua,dropdownMatchSelectWidth:ga,treeExpandAction:aa}=Rn,{checkable:ca,treeDefaultExpandAll:sa,treeIcon:ia,showTreeIcon:fa,switcherIcon:ma,treeLine:ya,loadData:ba,treeLoadedKeys:Ia,treeMotion:Ea,onTreeLoad:xa,checkedKeys:Ta}=Nn;if(Ln.value.length===0)return createVNode("div",{role:"listbox",class:`${rr}-empty`,onMousedown:Go},[ra]);const wa={fieldNames:Rn.fieldNames};return Ia&&(wa.loadedKeys=Ia),Yn.value&&(wa.expandedKeys=Yn.value),createVNode("div",{onMousedown:Go},[qo.value&&oa&&createVNode("span",{style:HIDDEN_STYLE,"aria-live":"assertive"},[qo.value.node.value]),createVNode(Tree$2,_objectSpread2$1(_objectSpread2$1({ref:Dn,focusable:!1,prefixCls:`${rr}-tree`,treeData:Ln.value,height:ea,itemHeight:la,virtual:ua!==!1&&ga!==!1,multiple:nr,icon:ia,showIcon:fa,switcherIcon:ma,showLine:ya,loadData:ta?null:ba,motion:Ea,activeKey:Yo.value,checkable:ca,checkStrictly:!0,checkedKeys:Fn.value,selectedKeys:ca?[]:Ta,defaultExpandAll:sa},wa),{},{onActiveChange:Jo,onSelect:Xn,onCheck:Xn,onExpand:Gn,onLoad:xa,filterTreeNode:Hn,expandAction:aa}),_extends$1(_extends$1({},_n),{checkable:Nn.customSlots.treeCheckable}))])}}}),SHOW_ALL="SHOW_ALL",SHOW_PARENT="SHOW_PARENT",SHOW_CHILD="SHOW_CHILD";function formatStrategyValues($n,Cn,_n,Pn){const In=new Set($n);return Cn===SHOW_CHILD?$n.filter(Nn=>{const Rn=_n[Nn];return!(Rn&&Rn.children&&Rn.children.some(Dn=>{let{node:Ln}=Dn;return In.has(Ln[Pn.value])})&&Rn.children.every(Dn=>{let{node:Ln}=Dn;return isCheckDisabled(Ln)||In.has(Ln[Pn.value])}))}):Cn===SHOW_PARENT?$n.filter(Nn=>{const Rn=_n[Nn],Dn=Rn?Rn.parent:null;return!(Dn&&!isCheckDisabled(Dn.node)&&In.has(Dn.key))}):$n}const TreeNode=()=>null;TreeNode.inheritAttrs=!1;TreeNode.displayName="ATreeSelectNode";TreeNode.isTreeSelectNode=!0;const TreeNode$1=TreeNode;var __rest$b=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function isTreeSelectNode($n){return $n&&$n.type&&$n.type.isTreeSelectNode}function convertChildrenToData($n){function Cn(){let _n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return filterEmpty(_n).map(Pn=>{var In,Nn,Rn;if(!isTreeSelectNode(Pn))return null;const Dn=Pn.children||{},Ln=Pn.key,Fn={};for(const[nr,ta]of Object.entries(Pn.props))Fn[camelize(nr)]=ta;const{isLeaf:Bn,checkable:Hn,selectable:zn,disabled:Wn,disableCheckbox:Yn}=Fn,Gn={isLeaf:Bn||Bn===""||void 0,checkable:Hn||Hn===""||void 0,selectable:zn||zn===""||void 0,disabled:Wn||Wn===""||void 0,disableCheckbox:Yn||Yn===""||void 0},Go=_extends$1(_extends$1({},Fn),Gn),{title:Xn=(In=Dn.title)===null||In===void 0?void 0:In.call(Dn,Go),switcherIcon:Yo=(Nn=Dn.switcherIcon)===null||Nn===void 0?void 0:Nn.call(Dn,Go)}=Fn,qo=__rest$b(Fn,["title","switcherIcon"]),Jo=(Rn=Dn.default)===null||Rn===void 0?void 0:Rn.call(Dn),Zo=_extends$1(_extends$1(_extends$1({},qo),{title:Xn,switcherIcon:Yo,key:Ln,isLeaf:Bn}),Gn),rr=Cn(Jo);return rr.length&&(Zo.children=rr),Zo})}return Cn($n)}function fillLegacyProps($n){if(!$n)return $n;const Cn=_extends$1({},$n);return"props"in Cn||Object.defineProperty(Cn,"props",{get(){return Cn}}),Cn}function fillAdditionalInfo($n,Cn,_n,Pn,In,Nn){let Rn=null,Dn=null;function Ln(){function Fn(Bn){let Hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",zn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Bn.map((Wn,Yn)=>{const Gn=`${Hn}-${Yn}`,Go=Wn[Nn.value],Xn=_n.includes(Go),Yo=Fn(Wn[Nn.children]||[],Gn,Xn),qo=createVNode(TreeNode$1,Wn,{default:()=>[Yo.map(Jo=>Jo.node)]});if(Cn===Go&&(Rn=qo),Xn){const Jo={pos:Gn,node:qo,children:Yo};return zn||Dn.push(Jo),Jo}return null}).filter(Wn=>Wn)}Dn||(Dn=[],Fn(Pn),Dn.sort((Bn,Hn)=>{let{node:{props:{value:zn}}}=Bn,{node:{props:{value:Wn}}}=Hn;const Yn=_n.indexOf(zn),Gn=_n.indexOf(Wn);return Yn-Gn}))}Object.defineProperty($n,"triggerNode",{get(){return Ln(),Rn}}),Object.defineProperty($n,"allCheckedNodes",{get(){return Ln(),In?Dn:Dn.map(Fn=>{let{node:Bn}=Fn;return Bn})}})}function parseSimpleTreeData($n,Cn){let{id:_n,pId:Pn,rootPId:In}=Cn;const Nn={},Rn=[];return $n.map(Ln=>{const Fn=_extends$1({},Ln),Bn=Fn[_n];return Nn[Bn]=Fn,Fn.key=Fn.key||Bn,Fn}).forEach(Ln=>{const Fn=Ln[Pn],Bn=Nn[Fn];Bn&&(Bn.children=Bn.children||[],Bn.children.push(Ln)),(Fn===In||!Bn&&In===null)&&Rn.push(Ln)}),Rn}function useTreeData($n,Cn,_n){const Pn=shallowRef();return watch([_n,$n,Cn],()=>{const In=_n.value;$n.value?Pn.value=_n.value?parseSimpleTreeData(toRaw($n.value),_extends$1({id:"id",pId:"pId",rootPId:null},In!==!0?In:{})):toRaw($n.value).slice():Pn.value=convertChildrenToData(toRaw(Cn.value))},{immediate:!0,deep:!0}),Pn}const useCache=$n=>{const Cn=shallowRef({valueLabels:new Map}),_n=shallowRef();return watch($n,()=>{_n.value=toRaw($n.value)},{immediate:!0}),[computed(()=>{const{valueLabels:In}=Cn.value,Nn=new Map,Rn=_n.value.map(Dn=>{var Ln;const{value:Fn}=Dn,Bn=(Ln=Dn.label)!==null&&Ln!==void 0?Ln:In.get(Fn);return Nn.set(Fn,Bn),_extends$1(_extends$1({},Dn),{label:Bn})});return Cn.value.valueLabels=Nn,Rn})]},useDataEntities=($n,Cn)=>{const _n=shallowRef(new Map),Pn=shallowRef({});return watchEffect(()=>{const In=Cn.value,Nn=convertDataToEntities($n.value,{fieldNames:In,initWrapper:Rn=>_extends$1(_extends$1({},Rn),{valueEntities:new Map}),processEntity:(Rn,Dn)=>{const Ln=Rn.node[In.value];Dn.valueEntities.set(Ln,Rn)}});_n.value=Nn.valueEntities,Pn.value=Nn.keyEntities}),{valueEntities:_n,keyEntities:Pn}},useCheckedKeys=($n,Cn,_n,Pn,In,Nn)=>{const Rn=shallowRef([]),Dn=shallowRef([]);return watchEffect(()=>{let Ln=$n.value.map(Hn=>{let{value:zn}=Hn;return zn}),Fn=Cn.value.map(Hn=>{let{value:zn}=Hn;return zn});const Bn=Ln.filter(Hn=>!Pn.value[Hn]);_n.value&&({checkedKeys:Ln,halfCheckedKeys:Fn}=conductCheck(Ln,!0,Pn.value,In.value,Nn.value)),Rn.value=Array.from(new Set([...Bn,...Ln])),Dn.value=Fn}),[Rn,Dn]},useFilterTreeData=($n,Cn,_n)=>{let{treeNodeFilterProp:Pn,filterTreeNode:In,fieldNames:Nn}=_n;return computed(()=>{const{children:Rn}=Nn.value,Dn=Cn.value,Ln=Pn==null?void 0:Pn.value;if(!Dn||In.value===!1)return $n.value;let Fn;if(typeof In.value=="function")Fn=In.value;else{const Hn=Dn.toUpperCase();Fn=(zn,Wn)=>{const Yn=Wn[Ln];return String(Yn).toUpperCase().includes(Hn)}}function Bn(Hn){let zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const Wn=[];for(let Yn=0,Gn=Hn.length;Yn<Gn;Yn++){const Go=Hn[Yn],Xn=Go[Rn],Yo=zn||Fn(Dn,fillLegacyProps(Go)),qo=Bn(Xn||[],Yo);(Yo||qo.length)&&Wn.push(_extends$1(_extends$1({},Go),{[Rn]:qo}))}return Wn}return Bn($n.value)})};function treeSelectProps$1(){return _extends$1(_extends$1({},omit$1(baseSelectPropsWithoutPrivate(),["mode"])),{prefixCls:String,id:String,value:{type:[String,Number,Object,Array]},defaultValue:{type:[String,Number,Object,Array]},onChange:{type:Function},searchValue:String,inputValue:String,onSearch:{type:Function},autoClearSearchValue:{type:Boolean,default:void 0},filterTreeNode:{type:[Boolean,Function],default:void 0},treeNodeFilterProp:String,onSelect:Function,onDeselect:Function,showCheckedStrategy:{type:String},treeNodeLabelProp:String,fieldNames:{type:Object},multiple:{type:Boolean,default:void 0},treeCheckable:{type:Boolean,default:void 0},treeCheckStrictly:{type:Boolean,default:void 0},labelInValue:{type:Boolean,default:void 0},treeData:{type:Array},treeDataSimpleMode:{type:[Boolean,Object],default:void 0},loadData:{type:Function},treeLoadedKeys:{type:Array},onTreeLoad:{type:Function},treeDefaultExpandAll:{type:Boolean,default:void 0},treeExpandedKeys:{type:Array},treeDefaultExpandedKeys:{type:Array},onTreeExpand:{type:Function},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,onDropdownVisibleChange:{type:Function},treeLine:{type:[Boolean,Object],default:void 0},treeIcon:PropTypes.any,showTreeIcon:{type:Boolean,default:void 0},switcherIcon:PropTypes.any,treeMotion:PropTypes.any,children:Array,treeExpandAction:String,showArrow:{type:Boolean,default:void 0},showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},placeholder:PropTypes.any,maxTagPlaceholder:{type:Function},dropdownPopupAlign:PropTypes.any,customSlots:Object})}function isRawValue($n){return!$n||typeof $n!="object"}const TreeSelect$1=defineComponent({compatConfig:{MODE:3},name:"TreeSelect",inheritAttrs:!1,props:initDefaultProps(treeSelectProps$1(),{treeNodeFilterProp:"value",autoClearSearchValue:!0,showCheckedStrategy:SHOW_CHILD,listHeight:200,listItemHeight:20,prefixCls:"vc-tree-select"}),setup($n,Cn){let{attrs:_n,expose:Pn,slots:In}=Cn;const Nn=useId$1(toRef($n,"id")),Rn=computed(()=>$n.treeCheckable&&!$n.treeCheckStrictly),Dn=computed(()=>$n.treeCheckable||$n.treeCheckStrictly),Ln=computed(()=>$n.treeCheckStrictly||$n.labelInValue),Fn=computed(()=>Dn.value||$n.multiple),Bn=computed(()=>fillFieldNames($n.fieldNames)),[Hn,zn]=useMergedState("",{value:computed(()=>$n.searchValue!==void 0?$n.searchValue:$n.inputValue),postState:ja=>ja||""}),Wn=ja=>{var qa;zn(ja),(qa=$n.onSearch)===null||qa===void 0||qa.call($n,ja)},Yn=useTreeData(toRef($n,"treeData"),toRef($n,"children"),toRef($n,"treeDataSimpleMode")),{keyEntities:Gn,valueEntities:Go}=useDataEntities(Yn,Bn),Xn=ja=>{const qa=[],Xa=[];return ja.forEach(Oa=>{Go.value.has(Oa)?Xa.push(Oa):qa.push(Oa)}),{missingRawValues:qa,existRawValues:Xa}},Yo=useFilterTreeData(Yn,Hn,{fieldNames:Bn,treeNodeFilterProp:toRef($n,"treeNodeFilterProp"),filterTreeNode:toRef($n,"filterTreeNode")}),qo=ja=>{if(ja){if($n.treeNodeLabelProp)return ja[$n.treeNodeLabelProp];const{_title:qa}=Bn.value;for(let Xa=0;Xa<qa.length;Xa+=1){const Oa=ja[qa[Xa]];if(Oa!==void 0)return Oa}}},Jo=ja=>toArray(ja).map(Xa=>isRawValue(Xa)?{value:Xa}:Xa),Zo=ja=>Jo(ja).map(Xa=>{let{label:Oa}=Xa;const{value:Ma,halfChecked:Ua}=Xa;let Qa;const ri=Go.value.get(Ma);return ri&&(Oa=Oa??qo(ri.node),Qa=ri.node.disabled),{label:Oa,value:Ma,halfChecked:Ua,disabled:Qa}}),[rr,nr]=useMergedState($n.defaultValue,{value:toRef($n,"value")}),ta=computed(()=>Jo(rr.value)),oa=shallowRef([]),ra=shallowRef([]);watchEffect(()=>{const ja=[],qa=[];ta.value.forEach(Xa=>{Xa.halfChecked?qa.push(Xa):ja.push(Xa)}),oa.value=ja,ra.value=qa});const ea=computed(()=>oa.value.map(ja=>ja.value)),{maxLevel:la,levelEntities:ua}=useMaxLevel(Gn),[ga,aa]=useCheckedKeys(oa,ra,Rn,Gn,la,ua),ca=computed(()=>{const Xa=formatStrategyValues(ga.value,$n.showCheckedStrategy,Gn.value,Bn.value).map(Ua=>{var Qa,ri,fi;return(fi=(ri=(Qa=Gn.value[Ua])===null||Qa===void 0?void 0:Qa.node)===null||ri===void 0?void 0:ri[Bn.value.value])!==null&&fi!==void 0?fi:Ua}).map(Ua=>{const Qa=oa.value.find(ri=>ri.value===Ua);return{value:Ua,label:Qa==null?void 0:Qa.label}}),Oa=Zo(Xa),Ma=Oa[0];return!Fn.value&&Ma&&isNil(Ma.value)&&isNil(Ma.label)?[]:Oa.map(Ua=>{var Qa;return _extends$1(_extends$1({},Ua),{label:(Qa=Ua.label)!==null&&Qa!==void 0?Qa:Ua.value})})}),[sa]=useCache(ca),ia=(ja,qa,Xa)=>{const Oa=Zo(ja);if(nr(Oa),$n.autoClearSearchValue&&zn(""),$n.onChange){let Ma=ja;Rn.value&&(Ma=formatStrategyValues(ja,$n.showCheckedStrategy,Gn.value,Bn.value).map(mi=>{const di=Go.value.get(mi);return di?di.node[Bn.value.value]:mi}));const{triggerValue:Ua,selected:Qa}=qa||{triggerValue:void 0,selected:void 0};let ri=Ma;if($n.treeCheckStrictly){const ui=ra.value.filter(mi=>!Ma.includes(mi.value));ri=[...ri,...ui]}const fi=Zo(ri),ei={preValue:oa.value,triggerValue:Ua};let ti=!0;($n.treeCheckStrictly||Xa==="selection"&&!Qa)&&(ti=!1),fillAdditionalInfo(ei,Ua,ja,Yn.value,ti,Bn.value),Dn.value?ei.checked=Qa:ei.selected=Qa;const ni=Ln.value?fi:fi.map(ui=>ui.value);$n.onChange(Fn.value?ni:ni[0],Ln.value?null:fi.map(ui=>ui.label),ei)}},fa=(ja,qa)=>{let{selected:Xa,source:Oa}=qa;var Ma,Ua,Qa;const ri=toRaw(Gn.value),fi=toRaw(Go.value),ei=ri[ja],ti=ei==null?void 0:ei.node,ni=(Ma=ti==null?void 0:ti[Bn.value.value])!==null&&Ma!==void 0?Ma:ja;if(!Fn.value)ia([ni],{selected:!0,triggerValue:ni},"option");else{let ui=Xa?[...ea.value,ni]:ga.value.filter(mi=>mi!==ni);if(Rn.value){const{missingRawValues:mi,existRawValues:di}=Xn(ui),gi=di.map(Ti=>fi.get(Ti).key);let wi;Xa?{checkedKeys:wi}=conductCheck(gi,!0,ri,la.value,ua.value):{checkedKeys:wi}=conductCheck(gi,{checked:!1,halfCheckedKeys:aa.value},ri,la.value,ua.value),ui=[...mi,...wi.map(Ti=>ri[Ti].node[Bn.value.value])]}ia(ui,{selected:Xa,triggerValue:ni},Oa||"option")}Xa||!Fn.value?(Ua=$n.onSelect)===null||Ua===void 0||Ua.call($n,ni,fillLegacyProps(ti)):(Qa=$n.onDeselect)===null||Qa===void 0||Qa.call($n,ni,fillLegacyProps(ti))},ma=ja=>{if($n.onDropdownVisibleChange){const qa={};Object.defineProperty(qa,"documentClickClose",{get(){return!1}}),$n.onDropdownVisibleChange(ja,qa)}},ya=(ja,qa)=>{const Xa=ja.map(Oa=>Oa.value);if(qa.type==="clear"){ia(Xa,{},"selection");return}qa.values.length&&fa(qa.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:ba,loadData:Ia,treeLoadedKeys:Ea,onTreeLoad:xa,treeDefaultExpandAll:Ta,treeExpandedKeys:wa,treeDefaultExpandedKeys:La,onTreeExpand:Na,virtual:$a,listHeight:ka,listItemHeight:Ha,treeLine:da,treeIcon:pa,showTreeIcon:Sa,switcherIcon:Aa,treeMotion:Ra,customSlots:Fa,dropdownMatchSelectWidth:za,treeExpandAction:Wa}=toRefs($n);useProvideLegacySelectContext(toReactive({checkable:Dn,loadData:Ia,treeLoadedKeys:Ea,onTreeLoad:xa,checkedKeys:ga,halfCheckedKeys:aa,treeDefaultExpandAll:Ta,treeExpandedKeys:wa,treeDefaultExpandedKeys:La,onTreeExpand:Na,treeIcon:pa,treeMotion:Ra,showTreeIcon:Sa,switcherIcon:Aa,treeLine:da,treeNodeFilterProp:ba,keyEntities:Gn,customSlots:Fa})),useProvideSelectContext(toReactive({virtual:$a,listHeight:ka,listItemHeight:Ha,treeData:Yo,fieldNames:Bn,onSelect:fa,dropdownMatchSelectWidth:za,treeExpandAction:Wa}));const Ya=ref();return Pn({focus(){var ja;(ja=Ya.value)===null||ja===void 0||ja.focus()},blur(){var ja;(ja=Ya.value)===null||ja===void 0||ja.blur()},scrollTo(ja){var qa;(qa=Ya.value)===null||qa===void 0||qa.scrollTo(ja)}}),()=>{var ja;const qa=omit$1($n,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return createVNode(BaseSelect,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:Ya},_n),qa),{},{id:Nn,prefixCls:$n.prefixCls,mode:Fn.value?"multiple":void 0,displayValues:sa.value,onDisplayValuesChange:ya,searchValue:Hn.value,onSearch:Wn,OptionList,emptyOptions:!Yn.value.length,onDropdownVisibleChange:ma,tagRender:$n.tagRender||In.tagRender,dropdownMatchSelectWidth:(ja=$n.dropdownMatchSelectWidth)!==null&&ja!==void 0?ja:!0}),In)}}}),genBaseStyle$3=$n=>{const{componentCls:Cn,treePrefixCls:_n,colorBgElevated:Pn}=$n,In=`.${_n}`;return[{[`${Cn}-dropdown`]:[{padding:`${$n.paddingXS}px ${$n.paddingXS/2}px`},genTreeStyle(_n,merge$1($n,{colorBgContainer:Pn})),{[In]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${In}-treenode`]:{[`${In}-node-content-wrapper`]:{flex:"auto"}}}}},getStyle$2(`${_n}-checkbox`,$n),{"&-rtl":{direction:"rtl",[`${In}-switcher${In}-switcher_close`]:{[`${In}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function useTreeSelectStyle($n,Cn){return genComponentStyleHook("TreeSelect",_n=>{const Pn=merge$1(_n,{treePrefixCls:Cn.value});return[genBaseStyle$3(Pn)]})($n)}const getTransitionName=($n,Cn,_n)=>_n!==void 0?_n:`${$n}-${Cn}`;function treeSelectProps(){return _extends$1(_extends$1({},omit$1(treeSelectProps$1(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:PropTypes.any,size:stringType(),bordered:booleanType(),treeLine:someType([Boolean,Object]),replaceFields:objectType(),placement:stringType(),status:stringType(),popupClassName:String,dropdownClassName:String,"onUpdate:value":functionType(),"onUpdate:treeExpandedKeys":functionType(),"onUpdate:searchValue":functionType()})}const TreeSelect=defineComponent({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:initDefaultProps(treeSelectProps(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup($n,Cn){let{attrs:_n,slots:Pn,expose:In,emit:Nn}=Cn;$n.treeData===void 0&&Pn.default,devWarning($n.multiple!==!1||!$n.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),devWarning($n.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),devWarning(!$n.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const Rn=useInjectFormItemContext(),Dn=FormItemInputContext.useInject(),Ln=computed(()=>getMergedStatus(Dn.status,$n.status)),{prefixCls:Fn,renderEmpty:Bn,direction:Hn,virtual:zn,dropdownMatchSelectWidth:Wn,size:Yn,getPopupContainer:Gn,getPrefixCls:Go,disabled:Xn}=useConfigInject("select",$n),{compactSize:Yo,compactItemClassnames:qo}=useCompactItemContext(Fn,Hn),Jo=computed(()=>Yo.value||Yn.value),Zo=useInjectDisabled(),rr=computed(()=>{var Ea;return(Ea=Xn.value)!==null&&Ea!==void 0?Ea:Zo.value}),nr=computed(()=>Go()),ta=computed(()=>$n.placement!==void 0?$n.placement:Hn.value==="rtl"?"bottomRight":"bottomLeft"),oa=computed(()=>getTransitionName(nr.value,getTransitionDirection(ta.value),$n.transitionName)),ra=computed(()=>getTransitionName(nr.value,"",$n.choiceTransitionName)),ea=computed(()=>Go("select-tree",$n.prefixCls)),la=computed(()=>Go("tree-select",$n.prefixCls)),[ua,ga]=useSelectStyle(Fn),[aa]=useTreeSelectStyle(la,ea),ca=computed(()=>classNames($n.popupClassName||$n.dropdownClassName,`${la.value}-dropdown`,{[`${la.value}-dropdown-rtl`]:Hn.value==="rtl"},ga.value)),sa=computed(()=>!!($n.treeCheckable||$n.multiple)),ia=computed(()=>$n.showArrow!==void 0?$n.showArrow:$n.loading||!sa.value),fa=ref();In({focus(){var Ea,xa;(xa=(Ea=fa.value).focus)===null||xa===void 0||xa.call(Ea)},blur(){var Ea,xa;(xa=(Ea=fa.value).blur)===null||xa===void 0||xa.call(Ea)}});const ma=function(){for(var Ea=arguments.length,xa=new Array(Ea),Ta=0;Ta<Ea;Ta++)xa[Ta]=arguments[Ta];Nn("update:value",xa[0]),Nn("change",...xa),Rn.onFieldChange()},ya=Ea=>{Nn("update:treeExpandedKeys",Ea),Nn("treeExpand",Ea)},ba=Ea=>{Nn("update:searchValue",Ea),Nn("search",Ea)},Ia=Ea=>{Nn("blur",Ea),Rn.onFieldBlur()};return()=>{var Ea,xa;const{notFoundContent:Ta=(Ea=Pn.notFoundContent)===null||Ea===void 0?void 0:Ea.call(Pn),prefixCls:wa,bordered:La,listHeight:Na,listItemHeight:$a,multiple:ka,treeIcon:Ha,treeLine:da,showArrow:pa,switcherIcon:Sa=(xa=Pn.switcherIcon)===null||xa===void 0?void 0:xa.call(Pn),fieldNames:Aa=$n.replaceFields,id:Ra=Rn.id.value}=$n,{isFormItemInput:Fa,hasFeedback:za,feedbackIcon:Wa}=Dn,{suffixIcon:Ya,removeIcon:ja,clearIcon:qa}=getIcons(_extends$1(_extends$1({},$n),{multiple:sa.value,showArrow:ia.value,hasFeedback:za,feedbackIcon:Wa,prefixCls:Fn.value}),Pn);let Xa;Ta!==void 0?Xa=Ta:Xa=Bn("Select");const Oa=omit$1($n,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),Ma=classNames(!wa&&la.value,{[`${Fn.value}-lg`]:Jo.value==="large",[`${Fn.value}-sm`]:Jo.value==="small",[`${Fn.value}-rtl`]:Hn.value==="rtl",[`${Fn.value}-borderless`]:!La,[`${Fn.value}-in-form-item`]:Fa},getStatusClassNames(Fn.value,Ln.value,za),qo.value,_n.class,ga.value),Ua={};return $n.treeData===void 0&&Pn.default&&(Ua.children=flattenChildren(Pn.default())),ua(aa(createVNode(TreeSelect$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),Oa),{},{disabled:rr.value,virtual:zn.value,dropdownMatchSelectWidth:Wn.value,id:Ra,fieldNames:Aa,ref:fa,prefixCls:Fn.value,class:Ma,listHeight:Na,listItemHeight:$a,treeLine:!!da,inputIcon:Ya,multiple:ka,removeIcon:ja,clearIcon:qa,switcherIcon:Qa=>renderSwitcherIcon(ea.value,Sa,Qa,Pn.leafIcon,da),showTreeIcon:Ha,notFoundContent:Xa,getPopupContainer:Gn==null?void 0:Gn.value,treeMotion:null,dropdownClassName:ca.value,choiceTransitionName:ra.value,onChange:ma,onBlur:Ia,onSearch:ba,onTreeExpand:ya},Ua),{},{transitionName:oa.value,customSlots:_extends$1(_extends$1({},Pn),{treeCheckable:()=>createVNode("span",{class:`${Fn.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:$n.maxTagPlaceholder||Pn.maxTagPlaceholder,placement:ta.value,showArrow:za||pa}),_extends$1(_extends$1({},Pn),{treeCheckable:()=>createVNode("span",{class:`${Fn.value}-tree-checkbox-inner`},null)}))))}}}),TreeSelectNode=TreeNode$1,index$7=_extends$1(TreeSelect,{TreeNode:TreeNode$1,SHOW_ALL,SHOW_PARENT,SHOW_CHILD,install:$n=>($n.component(TreeSelect.name,TreeSelect),$n.component(TreeSelectNode.displayName,TreeSelectNode),$n)}),timePickerProps=()=>({format:String,showNow:booleanType(),showHour:booleanType(),showMinute:booleanType(),showSecond:booleanType(),use12Hours:booleanType(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:booleanType(),popupClassName:String,status:stringType()});function createTimePicker($n){const Cn=generatePicker($n,_extends$1(_extends$1({},timePickerProps()),{order:{type:Boolean,default:!0}})),{TimePicker:_n,RangePicker:Pn}=Cn,In=defineComponent({name:"ATimePicker",inheritAttrs:!1,props:_extends$1(_extends$1(_extends$1(_extends$1({},commonProps$1()),datePickerProps()),timePickerProps()),{addon:{type:Function}}),slots:Object,setup(Rn,Dn){let{slots:Ln,expose:Fn,emit:Bn,attrs:Hn}=Dn;const zn=Rn,Wn=useInjectFormItemContext();devWarning(!(Ln.addon||zn.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const Yn=ref();Fn({focus:()=>{var Jo;(Jo=Yn.value)===null||Jo===void 0||Jo.focus()},blur:()=>{var Jo;(Jo=Yn.value)===null||Jo===void 0||Jo.blur()}});const Gn=(Jo,Zo)=>{Bn("update:value",Jo),Bn("change",Jo,Zo),Wn.onFieldChange()},Go=Jo=>{Bn("update:open",Jo),Bn("openChange",Jo)},Xn=Jo=>{Bn("focus",Jo)},Yo=Jo=>{Bn("blur",Jo),Wn.onFieldBlur()},qo=Jo=>{Bn("ok",Jo)};return()=>{const{id:Jo=Wn.id.value}=zn;return createVNode(_n,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Hn),omit$1(zn,["onUpdate:value","onUpdate:open"])),{},{id:Jo,dropdownClassName:zn.popupClassName,mode:void 0,ref:Yn,renderExtraFooter:zn.addon||Ln.addon||zn.renderExtraFooter||Ln.renderExtraFooter,onChange:Gn,onOpenChange:Go,onFocus:Xn,onBlur:Yo,onOk:qo}),Ln)}}}),Nn=defineComponent({name:"ATimeRangePicker",inheritAttrs:!1,props:_extends$1(_extends$1(_extends$1(_extends$1({},commonProps$1()),rangePickerProps()),timePickerProps()),{order:{type:Boolean,default:!0}}),slots:Object,setup(Rn,Dn){let{slots:Ln,expose:Fn,emit:Bn,attrs:Hn}=Dn;const zn=Rn,Wn=ref(),Yn=useInjectFormItemContext();Fn({focus:()=>{var rr;(rr=Wn.value)===null||rr===void 0||rr.focus()},blur:()=>{var rr;(rr=Wn.value)===null||rr===void 0||rr.blur()}});const Gn=(rr,nr)=>{Bn("update:value",rr),Bn("change",rr,nr),Yn.onFieldChange()},Go=rr=>{Bn("update:open",rr),Bn("openChange",rr)},Xn=rr=>{Bn("focus",rr)},Yo=rr=>{Bn("blur",rr),Yn.onFieldBlur()},qo=(rr,nr)=>{Bn("panelChange",rr,nr)},Jo=rr=>{Bn("ok",rr)},Zo=(rr,nr,ta)=>{Bn("calendarChange",rr,nr,ta)};return()=>{const{id:rr=Yn.id.value}=zn;return createVNode(Pn,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},Hn),omit$1(zn,["onUpdate:open","onUpdate:value"])),{},{id:rr,dropdownClassName:zn.popupClassName,picker:"time",mode:void 0,ref:Wn,onChange:Gn,onOpenChange:Go,onFocus:Xn,onBlur:Yo,onPanelChange:qo,onOk:Jo,onCalendarChange:Zo}),Ln)}}});return{TimePicker:In,TimeRangePicker:Nn}}const{TimePicker:TimePicker$1,TimeRangePicker}=createTimePicker(dayjsGenerateConfig),TimePicker$2=_extends$1(TimePicker$1,{TimePicker:TimePicker$1,TimeRangePicker,install:$n=>($n.component(TimePicker$1.name,TimePicker$1),$n.component(TimeRangePicker.name,TimeRangePicker),$n)}),timelineItemProps=()=>({prefixCls:String,color:String,dot:PropTypes.any,pending:booleanType(),position:PropTypes.oneOf(tuple$1("left","right","")).def(""),label:PropTypes.any}),TimelineItem=defineComponent({compatConfig:{MODE:3},name:"ATimelineItem",props:initDefaultProps(timelineItemProps(),{color:"blue",pending:!1}),slots:Object,setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn}=useConfigInject("timeline",$n),In=computed(()=>({[`${Pn.value}-item`]:!0,[`${Pn.value}-item-pending`]:$n.pending})),Nn=computed(()=>/blue|red|green|gray/.test($n.color||"")?void 0:$n.color||"blue"),Rn=computed(()=>({[`${Pn.value}-item-head`]:!0,[`${Pn.value}-item-head-${$n.color||"blue"}`]:!Nn.value}));return()=>{var Dn,Ln,Fn;const{label:Bn=(Dn=_n.label)===null||Dn===void 0?void 0:Dn.call(_n),dot:Hn=(Ln=_n.dot)===null||Ln===void 0?void 0:Ln.call(_n)}=$n;return createVNode("li",{class:In.value},[Bn&&createVNode("div",{class:`${Pn.value}-item-label`},[Bn]),createVNode("div",{class:`${Pn.value}-item-tail`},null),createVNode("div",{class:[Rn.value,!!Hn&&`${Pn.value}-item-head-custom`],style:{borderColor:Nn.value,color:Nn.value}},[Hn]),createVNode("div",{class:`${Pn.value}-item-content`},[(Fn=_n.default)===null||Fn===void 0?void 0:Fn.call(_n)])])}}}),genTimelineStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{margin:0,padding:0,listStyle:"none",[`${Cn}-item`]:{position:"relative",margin:0,paddingBottom:$n.timeLineItemPaddingBottom,fontSize:$n.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:$n.timeLineItemHeadSize,insetInlineStart:($n.timeLineItemHeadSize-$n.timeLineItemTailWidth)/2,height:`calc(100% - ${$n.timeLineItemHeadSize}px)`,borderInlineStart:`${$n.timeLineItemTailWidth}px ${$n.lineType} ${$n.colorSplit}`},"&-pending":{[`${Cn}-item-head`]:{fontSize:$n.fontSizeSM,backgroundColor:"transparent"},[`${Cn}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:$n.timeLineItemHeadSize,height:$n.timeLineItemHeadSize,backgroundColor:$n.colorBgContainer,border:`${$n.timeLineHeadBorderWidth}px ${$n.lineType} transparent`,borderRadius:"50%","&-blue":{color:$n.colorPrimary,borderColor:$n.colorPrimary},"&-red":{color:$n.colorError,borderColor:$n.colorError},"&-green":{color:$n.colorSuccess,borderColor:$n.colorSuccess},"&-gray":{color:$n.colorTextDisabled,borderColor:$n.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:$n.timeLineItemHeadSize/2,insetInlineStart:$n.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:$n.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-($n.fontSize*$n.lineHeight-$n.fontSize)+$n.lineWidth,marginInlineStart:$n.margin+$n.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${Cn}-item-tail`]:{display:"none"},[`> ${Cn}-item-content`]:{minHeight:$n.controlHeightLG*1.2}}},[`&${Cn}-alternate,
- &${Cn}-right,
- &${Cn}-label`]:{[`${Cn}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${$n.marginXXS}px`,"&-custom":{marginInlineStart:$n.timeLineItemTailWidth/2}},"&-left":{[`${Cn}-item-content`]:{insetInlineStart:`calc(50% - ${$n.marginXXS}px)`,width:`calc(50% - ${$n.marginSM}px)`,textAlign:"start"}},"&-right":{[`${Cn}-item-content`]:{width:`calc(50% - ${$n.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${Cn}-right`]:{[`${Cn}-item-right`]:{[`${Cn}-item-tail,
- ${Cn}-item-head,
- ${Cn}-item-head-custom`]:{insetInlineStart:`calc(100% - ${($n.timeLineItemHeadSize+$n.timeLineItemTailWidth)/2}px)`},[`${Cn}-item-content`]:{width:`calc(100% - ${$n.timeLineItemHeadSize+$n.marginXS}px)`}}},[`&${Cn}-pending
- ${Cn}-item-last
- ${Cn}-item-tail`]:{display:"block",height:`calc(100% - ${$n.margin}px)`,borderInlineStart:`${$n.timeLineItemTailWidth}px dotted ${$n.colorSplit}`},[`&${Cn}-reverse
- ${Cn}-item-last
- ${Cn}-item-tail`]:{display:"none"},[`&${Cn}-reverse ${Cn}-item-pending`]:{[`${Cn}-item-tail`]:{insetBlockStart:$n.margin,display:"block",height:`calc(100% - ${$n.margin}px)`,borderInlineStart:`${$n.timeLineItemTailWidth}px dotted ${$n.colorSplit}`},[`${Cn}-item-content`]:{minHeight:$n.controlHeightLG*1.2}},[`&${Cn}-label`]:{[`${Cn}-item-label`]:{position:"absolute",insetBlockStart:-($n.fontSize*$n.lineHeight-$n.fontSize)+$n.timeLineItemTailWidth,width:`calc(50% - ${$n.marginSM}px)`,textAlign:"end"},[`${Cn}-item-right`]:{[`${Cn}-item-label`]:{insetInlineStart:`calc(50% + ${$n.marginSM}px)`,width:`calc(50% - ${$n.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${Cn}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},useStyle$7=genComponentStyleHook("Timeline",$n=>{const Cn=merge$1($n,{timeLineItemPaddingBottom:$n.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:$n.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:$n.lineWidthBold,timeLineHeadBorderWidth:$n.wireframe?$n.lineWidthBold:$n.lineWidth*3});return[genTimelineStyle(Cn)]}),timelineProps=()=>({prefixCls:String,pending:PropTypes.any,pendingDot:PropTypes.any,reverse:booleanType(),mode:PropTypes.oneOf(tuple$1("left","alternate","right",""))}),Timeline=defineComponent({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:initDefaultProps(timelineProps(),{reverse:!1,mode:""}),slots:Object,setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("timeline",$n),[Rn,Dn]=useStyle$7(In),Ln=(Fn,Bn)=>{const Hn=Fn.props||{};return $n.mode==="alternate"?Hn.position==="right"?`${In.value}-item-right`:Hn.position==="left"?`${In.value}-item-left`:Bn%2===0?`${In.value}-item-left`:`${In.value}-item-right`:$n.mode==="left"?`${In.value}-item-left`:$n.mode==="right"?`${In.value}-item-right`:Hn.position==="right"?`${In.value}-item-right`:""};return()=>{var Fn,Bn,Hn;const{pending:zn=(Fn=_n.pending)===null||Fn===void 0?void 0:Fn.call(_n),pendingDot:Wn=(Bn=_n.pendingDot)===null||Bn===void 0?void 0:Bn.call(_n),reverse:Yn,mode:Gn}=$n,Go=typeof zn=="boolean"?null:zn,Xn=filterEmpty((Hn=_n.default)===null||Hn===void 0?void 0:Hn.call(_n)),Yo=zn?createVNode(TimelineItem,{pending:!!zn,dot:Wn||createVNode(LoadingOutlined$1,null,null)},{default:()=>[Go]}):null;Yo&&Xn.push(Yo);const qo=Yn?Xn.reverse():Xn,Jo=qo.length,Zo=`${In.value}-item-last`,rr=qo.map((oa,ra)=>{const ea=ra===Jo-2?Zo:"",la=ra===Jo-1?Zo:"";return cloneVNode(oa,{class:classNames([!Yn&&zn?ea:la,Ln(oa,ra)])})}),nr=qo.some(oa=>{var ra,ea;return!!(!((ra=oa.props)===null||ra===void 0)&&ra.label||!((ea=oa.children)===null||ea===void 0)&&ea.label)}),ta=classNames(In.value,{[`${In.value}-pending`]:!!zn,[`${In.value}-reverse`]:!!Yn,[`${In.value}-${Gn}`]:!!Gn&&!nr,[`${In.value}-label`]:nr,[`${In.value}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value);return Rn(createVNode("ul",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:ta}),[rr]))}}});Timeline.Item=TimelineItem;Timeline.install=function($n){return $n.component(Timeline.name,Timeline),$n.component(TimelineItem.name,TimelineItem),$n};var EnterOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const EnterOutlinedSvg=EnterOutlined$2;function _objectSpread$7($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$7($n,In,_n[In])})}return $n}function _defineProperty$7($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var EnterOutlined=function(Cn,_n){var Pn=_objectSpread$7({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$7({},Pn,{icon:EnterOutlinedSvg}),null)};EnterOutlined.displayName="EnterOutlined";EnterOutlined.inheritAttrs=!1;const EnterOutlined$1=EnterOutlined,getTitleStyle=($n,Cn,_n,Pn)=>{const{sizeMarginHeadingVerticalEnd:In,fontWeightStrong:Nn}=Pn;return{marginBottom:In,color:_n,fontWeight:Nn,fontSize:$n,lineHeight:Cn}},getTitleStyles=$n=>{const Cn=[1,2,3,4,5],_n={};return Cn.forEach(Pn=>{_n[`
- h${Pn}&,
- div&-h${Pn},
- div&-h${Pn} > textarea,
- h${Pn}
- `]=getTitleStyle($n[`fontSizeHeading${Pn}`],$n[`lineHeightHeading${Pn}`],$n.colorTextHeading,$n)}),_n},getLinkStyles=$n=>{const{componentCls:Cn}=$n;return{"a&, a":_extends$1(_extends$1({},operationUnit($n)),{textDecoration:$n.linkDecoration,"&:active, &:hover":{textDecoration:$n.linkHoverDecoration},[`&[disabled], &${Cn}-disabled`]:{color:$n.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:$n.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},getResetStyles=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),getEditableStyles=$n=>{const{componentCls:Cn}=$n,Pn=initInputToken($n).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-$n.paddingSM,marginTop:-Pn,marginBottom:`calc(1em - ${Pn}px)`},[`${Cn}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:$n.marginXS+2,insetBlockEnd:$n.marginXS,color:$n.colorTextDescription,fontWeight:"normal",fontSize:$n.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},getCopiableStyles=$n=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:$n.colorSuccess}}}),getEllipsisStyles=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),genTypographyStyle=$n=>{const{componentCls:Cn,sizeMarginHeadingVerticalStart:_n}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({color:$n.colorText,wordBreak:"break-word",lineHeight:$n.lineHeight,[`&${Cn}-secondary`]:{color:$n.colorTextDescription},[`&${Cn}-success`]:{color:$n.colorSuccess},[`&${Cn}-warning`]:{color:$n.colorWarning},[`&${Cn}-danger`]:{color:$n.colorError,"a&:active, a&:focus":{color:$n.colorErrorActive},"a&:hover":{color:$n.colorErrorHover}},[`&${Cn}-disabled`]:{color:$n.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},getTitleStyles($n)),{[`
- & + h1${Cn},
- & + h2${Cn},
- & + h3${Cn},
- & + h4${Cn},
- & + h5${Cn}
- `]:{marginTop:_n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:_n}}}),getResetStyles()),getLinkStyles($n)),{[`
- ${Cn}-expand,
- ${Cn}-edit,
- ${Cn}-copy
- `]:_extends$1(_extends$1({},operationUnit($n)),{marginInlineStart:$n.marginXXS})}),getEditableStyles($n)),getCopiableStyles($n)),getEllipsisStyles()),{"&-rtl":{direction:"rtl"}})}},useStyle$6=genComponentStyleHook("Typography",$n=>[genTypographyStyle($n)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),editableProps=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),Editable=defineComponent({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:editableProps(),setup($n,Cn){let{emit:_n,slots:Pn,attrs:In}=Cn;const{prefixCls:Nn}=toRefs($n),Rn=reactive({current:$n.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});watch(()=>$n.value,Yo=>{Rn.current=Yo});const Dn=ref();onMounted(()=>{var Yo;if(Dn.value){const qo=(Yo=Dn.value)===null||Yo===void 0?void 0:Yo.resizableTextArea,Jo=qo==null?void 0:qo.textArea;Jo.focus();const{length:Zo}=Jo.value;Jo.setSelectionRange(Zo,Zo)}});function Ln(Yo){Dn.value=Yo}function Fn(Yo){let{target:{value:qo}}=Yo;Rn.current=qo.replace(/[\r\n]/g,""),_n("change",Rn.current)}function Bn(){Rn.inComposition=!0}function Hn(){Rn.inComposition=!1}function zn(Yo){const{keyCode:qo}=Yo;qo===KeyCode$1.ENTER&&Yo.preventDefault(),!Rn.inComposition&&(Rn.lastKeyCode=qo)}function Wn(Yo){const{keyCode:qo,ctrlKey:Jo,altKey:Zo,metaKey:rr,shiftKey:nr}=Yo;Rn.lastKeyCode===qo&&!Rn.inComposition&&!Jo&&!Zo&&!rr&&!nr&&(qo===KeyCode$1.ENTER?(Gn(),_n("end")):qo===KeyCode$1.ESC&&(Rn.current=$n.originContent,_n("cancel")))}function Yn(){Gn()}function Gn(){_n("save",Rn.current.trim())}const[Go,Xn]=useStyle$6(Nn);return()=>{const Yo=classNames({[`${Nn.value}`]:!0,[`${Nn.value}-edit-content`]:!0,[`${Nn.value}-rtl`]:$n.direction==="rtl",[$n.component?`${Nn.value}-${$n.component}`:""]:!0},In.class,Xn.value);return Go(createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{class:Yo}),[createVNode(TextArea,{ref:Ln,maxlength:$n.maxlength,value:Rn.current,onChange:Fn,onKeydown:zn,onKeyup:Wn,onCompositionstart:Bn,onCompositionend:Hn,onBlur:Yn,rows:1,autoSize:$n.autoSize===void 0||$n.autoSize},null),Pn.enterIcon?Pn.enterIcon({className:`${$n.prefixCls}-edit-content-confirm`}):createVNode(EnterOutlined$1,{class:`${$n.prefixCls}-edit-content-confirm`},null)]))}}}),Editable$1=Editable,TEXT_NODE=3,COMMENT_NODE=8;let ellipsisContainer;const wrapperStyle={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function styleToString($n){return Array.prototype.slice.apply($n).map(_n=>`${_n}: ${$n.getPropertyValue(_n)};`).join("")}function resetDomStyles($n,Cn){$n.setAttribute("aria-hidden","true");const _n=window.getComputedStyle(Cn),Pn=styleToString(_n);$n.setAttribute("style",Pn),$n.style.position="fixed",$n.style.left="0",$n.style.height="auto",$n.style.minHeight="auto",$n.style.maxHeight="auto",$n.style.paddingTop="0",$n.style.paddingBottom="0",$n.style.borderTopWidth="0",$n.style.borderBottomWidth="0",$n.style.top="-999999px",$n.style.zIndex="-1000",$n.style.textOverflow="clip",$n.style.whiteSpace="normal",$n.style.webkitLineClamp="none"}function getRealLineHeight($n){const Cn=document.createElement("div");resetDomStyles(Cn,$n),Cn.appendChild(document.createTextNode("text")),document.body.appendChild(Cn);const _n=Cn.getBoundingClientRect().height;return document.body.removeChild(Cn),_n}const measure=($n,Cn,_n,Pn,In)=>{ellipsisContainer||(ellipsisContainer=document.createElement("div"),ellipsisContainer.setAttribute("aria-hidden","true"),document.body.appendChild(ellipsisContainer));const{rows:Nn,suffix:Rn=""}=Cn,Dn=getRealLineHeight($n),Ln=Math.round(Dn*Nn*100)/100;resetDomStyles(ellipsisContainer,$n);const Fn=createApp({render(){return createVNode("div",{style:wrapperStyle},[createVNode("span",{style:wrapperStyle},[_n,Rn]),createVNode("span",{style:wrapperStyle},[Pn])])}});Fn.mount(ellipsisContainer);function Bn(){return Math.round(ellipsisContainer.getBoundingClientRect().height*100)/100-.1<=Ln}if(Bn())return Fn.unmount(),{content:_n,text:ellipsisContainer.innerHTML,ellipsis:!1};const Hn=Array.prototype.slice.apply(ellipsisContainer.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(qo=>{let{nodeType:Jo,data:Zo}=qo;return Jo!==COMMENT_NODE&&Zo!==""}),zn=Array.prototype.slice.apply(ellipsisContainer.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Fn.unmount();const Wn=[];ellipsisContainer.innerHTML="";const Yn=document.createElement("span");ellipsisContainer.appendChild(Yn);const Gn=document.createTextNode(In+Rn);Yn.appendChild(Gn),zn.forEach(qo=>{ellipsisContainer.appendChild(qo)});function Go(qo){Yn.insertBefore(qo,Gn)}function Xn(qo,Jo){let Zo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Jo.length,nr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const ta=Math.floor((Zo+rr)/2),oa=Jo.slice(0,ta);if(qo.textContent=oa,Zo>=rr-1)for(let ra=rr;ra>=Zo;ra-=1){const ea=Jo.slice(0,ra);if(qo.textContent=ea,Bn()||!ea)return ra===Jo.length?{finished:!1,vNode:Jo}:{finished:!0,vNode:ea}}return Bn()?Xn(qo,Jo,ta,rr,ta):Xn(qo,Jo,Zo,ta,nr)}function Yo(qo){if(qo.nodeType===TEXT_NODE){const Zo=qo.textContent||"",rr=document.createTextNode(Zo);return Go(rr),Xn(rr,Zo)}return{finished:!1,vNode:null}}return Hn.some(qo=>{const{finished:Jo,vNode:Zo}=Yo(qo);return Zo&&Wn.push(Zo),Jo}),{content:Wn,text:ellipsisContainer.innerHTML,ellipsis:!0}};var __rest$a=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const typographyProps=()=>({prefixCls:String,direction:String,component:String}),Typography=defineComponent({name:"ATypography",inheritAttrs:!1,props:typographyProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{prefixCls:In,direction:Nn}=useConfigInject("typography",$n),[Rn,Dn]=useStyle$6(In);return()=>{var Ln;const Fn=_extends$1(_extends$1({},$n),Pn),{prefixCls:Bn,direction:Hn,component:zn="article"}=Fn,Wn=__rest$a(Fn,["prefixCls","direction","component"]);return Rn(createVNode(zn,_objectSpread2$1(_objectSpread2$1({},Wn),{},{class:classNames(In.value,{[`${In.value}-rtl`]:Nn.value==="rtl"},Pn.class,Dn.value)}),{default:()=>[(Ln=_n.default)===null||Ln===void 0?void 0:Ln.call(_n)]}))}}}),Typography$1=Typography,deselectCurrent=()=>{const $n=document.getSelection();if(!$n.rangeCount)return function(){};let Cn=document.activeElement;const _n=[];for(let Pn=0;Pn<$n.rangeCount;Pn++)_n.push($n.getRangeAt(Pn));switch(Cn.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":Cn.blur();break;default:Cn=null;break}return $n.removeAllRanges(),function(){$n.type==="Caret"&&$n.removeAllRanges(),$n.rangeCount||_n.forEach(function(Pn){$n.addRange(Pn)}),Cn&&Cn.focus()}},clipboardToIE11Formatting={"text/plain":"Text","text/html":"Url",default:"Text"},defaultMessage="Copy to clipboard: #{key}, Enter";function format$2($n){const Cn=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return $n.replace(/#{\s*key\s*}/g,Cn)}function copy($n,Cn){let _n,Pn,In,Nn,Rn,Dn=!1;Cn||(Cn={});const Ln=Cn.debug||!1;try{if(Pn=deselectCurrent(),In=document.createRange(),Nn=document.getSelection(),Rn=document.createElement("span"),Rn.textContent=$n,Rn.style.all="unset",Rn.style.position="fixed",Rn.style.top=0,Rn.style.clip="rect(0, 0, 0, 0)",Rn.style.whiteSpace="pre",Rn.style.webkitUserSelect="text",Rn.style.MozUserSelect="text",Rn.style.msUserSelect="text",Rn.style.userSelect="text",Rn.addEventListener("copy",function(Bn){if(Bn.stopPropagation(),Cn.format)if(Bn.preventDefault(),typeof Bn.clipboardData>"u"){Ln&&console.warn("unable to use e.clipboardData"),Ln&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const Hn=clipboardToIE11Formatting[Cn.format]||clipboardToIE11Formatting.default;window.clipboardData.setData(Hn,$n)}else Bn.clipboardData.clearData(),Bn.clipboardData.setData(Cn.format,$n);Cn.onCopy&&(Bn.preventDefault(),Cn.onCopy(Bn.clipboardData))}),document.body.appendChild(Rn),In.selectNodeContents(Rn),Nn.addRange(In),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");Dn=!0}catch(Fn){Ln&&console.error("unable to copy using execCommand: ",Fn),Ln&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(Cn.format||"text",$n),Cn.onCopy&&Cn.onCopy(window.clipboardData),Dn=!0}catch(Bn){Ln&&console.error("unable to copy using clipboardData: ",Bn),Ln&&console.error("falling back to prompt"),_n=format$2("message"in Cn?Cn.message:defaultMessage),window.prompt(_n,$n)}}finally{Nn&&(typeof Nn.removeRange=="function"?Nn.removeRange(In):Nn.removeAllRanges()),Rn&&document.body.removeChild(Rn),Pn()}return Dn}var CopyOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const CopyOutlinedSvg=CopyOutlined$2;function _objectSpread$6($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$6($n,In,_n[In])})}return $n}function _defineProperty$6($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var CopyOutlined=function(Cn,_n){var Pn=_objectSpread$6({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$6({},Pn,{icon:CopyOutlinedSvg}),null)};CopyOutlined.displayName="CopyOutlined";CopyOutlined.inheritAttrs=!1;const CopyOutlined$1=CopyOutlined;var EditOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const EditOutlinedSvg=EditOutlined$2;function _objectSpread$5($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$5($n,In,_n[In])})}return $n}function _defineProperty$5($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var EditOutlined=function(Cn,_n){var Pn=_objectSpread$5({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$5({},Pn,{icon:EditOutlinedSvg}),null)};EditOutlined.displayName="EditOutlined";EditOutlined.inheritAttrs=!1;const EditOutlined$1=EditOutlined;var __rest$9=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const isLineClampSupport=isStyleSupport("webkitLineClamp"),isTextOverflowSupport=isStyleSupport("textOverflow"),ELLIPSIS_STR="...",baseProps=()=>({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),Base=defineComponent({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:baseProps(),setup($n,Cn){let{slots:_n,attrs:Pn,emit:In}=Cn;const{prefixCls:Nn,direction:Rn}=useConfigInject("typography",$n),Dn=reactive({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),Ln=ref(),Fn=ref(),Bn=computed(()=>{const aa=$n.ellipsis;return aa?_extends$1({rows:1,expandable:!1},typeof aa=="object"?aa:null):{}});onMounted(()=>{Dn.clientRendered=!0,ta()}),onBeforeUnmount(()=>{clearTimeout(Dn.copyId),wrapperRaf.cancel(Dn.rafId)}),watch([()=>Bn.value.rows,()=>$n.content],()=>{nextTick(()=>{rr()})},{flush:"post",deep:!0}),watchEffect(()=>{$n.content===void 0&&(warning$3(!$n.editable),warning$3(!$n.ellipsis))});function Hn(){var aa;return $n.ellipsis||$n.editable?$n.content:(aa=findDOMNode(Ln.value))===null||aa===void 0?void 0:aa.innerText}function zn(aa){const{onExpand:ca}=Bn.value;Dn.expanded=!0,ca==null||ca(aa)}function Wn(aa){aa.preventDefault(),Dn.originContent=$n.content,Zo(!0)}function Yn(aa){Gn(aa),Zo(!1)}function Gn(aa){const{onChange:ca}=Yo.value;aa!==$n.content&&(In("update:content",aa),ca==null||ca(aa))}function Go(){var aa,ca;(ca=(aa=Yo.value).onCancel)===null||ca===void 0||ca.call(aa),Zo(!1)}function Xn(aa){aa.preventDefault(),aa.stopPropagation();const{copyable:ca}=$n,sa=_extends$1({},typeof ca=="object"?ca:null);sa.text===void 0&&(sa.text=Hn()),copy(sa.text||""),Dn.copied=!0,nextTick(()=>{sa.onCopy&&sa.onCopy(aa),Dn.copyId=setTimeout(()=>{Dn.copied=!1},3e3)})}const Yo=computed(()=>{const aa=$n.editable;return aa?_extends$1({},typeof aa=="object"?aa:null):{editing:!1}}),[qo,Jo]=useMergedState(!1,{value:computed(()=>Yo.value.editing)});function Zo(aa){const{onStart:ca}=Yo.value;aa&&ca&&ca(),Jo(aa)}watch(qo,aa=>{var ca;aa||(ca=Fn.value)===null||ca===void 0||ca.focus()},{flush:"post"});function rr(aa){if(aa){const{width:ca,height:sa}=aa;if(!ca||!sa)return}wrapperRaf.cancel(Dn.rafId),Dn.rafId=wrapperRaf(()=>{ta()})}const nr=computed(()=>{const{rows:aa,expandable:ca,suffix:sa,onEllipsis:ia,tooltip:fa}=Bn.value;return sa||fa||$n.editable||$n.copyable||ca||ia?!1:aa===1?isTextOverflowSupport:isLineClampSupport}),ta=()=>{const{ellipsisText:aa,isEllipsis:ca}=Dn,{rows:sa,suffix:ia,onEllipsis:fa}=Bn.value;if(!sa||sa<0||!findDOMNode(Ln.value)||Dn.expanded||$n.content===void 0||nr.value)return;const{content:ma,text:ya,ellipsis:ba}=measure(findDOMNode(Ln.value),{rows:sa,suffix:ia},$n.content,ga(!0),ELLIPSIS_STR);(aa!==ya||Dn.isEllipsis!==ba)&&(Dn.ellipsisText=ya,Dn.ellipsisContent=ma,Dn.isEllipsis=ba,ca!==ba&&fa&&fa(ba))};function oa(aa,ca){let{mark:sa,code:ia,underline:fa,delete:ma,strong:ya,keyboard:ba}=aa,Ia=ca;function Ea(xa,Ta){if(!xa)return;const wa=function(){return Ia}();Ia=createVNode(Ta,null,{default:()=>[wa]})}return Ea(ya,"strong"),Ea(fa,"u"),Ea(ma,"del"),Ea(ia,"code"),Ea(sa,"mark"),Ea(ba,"kbd"),Ia}function ra(aa){const{expandable:ca,symbol:sa}=Bn.value;if(!ca||!aa&&(Dn.expanded||!Dn.isEllipsis))return null;const ia=(_n.ellipsisSymbol?_n.ellipsisSymbol():sa)||Dn.expandStr;return createVNode("a",{key:"expand",class:`${Nn.value}-expand`,onClick:zn,"aria-label":Dn.expandStr},[ia])}function ea(){if(!$n.editable)return;const{tooltip:aa,triggerType:ca=["icon"]}=$n.editable,sa=_n.editableIcon?_n.editableIcon():createVNode(EditOutlined$1,{role:"button"},null),ia=_n.editableTooltip?_n.editableTooltip():Dn.editStr,fa=typeof ia=="string"?ia:"";return ca.indexOf("icon")!==-1?createVNode(Tooltip,{key:"edit",title:aa===!1?"":ia},{default:()=>[createVNode(TransButton$1,{ref:Fn,class:`${Nn.value}-edit`,onClick:Wn,"aria-label":fa},{default:()=>[sa]})]}):null}function la(){if(!$n.copyable)return;const{tooltip:aa}=$n.copyable,ca=Dn.copied?Dn.copiedStr:Dn.copyStr,sa=_n.copyableTooltip?_n.copyableTooltip({copied:Dn.copied}):ca,ia=typeof sa=="string"?sa:"",fa=Dn.copied?createVNode(CheckOutlined$1,null,null):createVNode(CopyOutlined$1,null,null),ma=_n.copyableIcon?_n.copyableIcon({copied:!!Dn.copied}):fa;return createVNode(Tooltip,{key:"copy",title:aa===!1?"":sa},{default:()=>[createVNode(TransButton$1,{class:[`${Nn.value}-copy`,{[`${Nn.value}-copy-success`]:Dn.copied}],onClick:Xn,"aria-label":ia},{default:()=>[ma]})]})}function ua(){const{class:aa,style:ca}=Pn,{maxlength:sa,autoSize:ia,onEnd:fa}=Yo.value;return createVNode(Editable$1,{class:aa,style:ca,prefixCls:Nn.value,value:$n.content,originContent:Dn.originContent,maxlength:sa,autoSize:ia,onSave:Yn,onChange:Gn,onCancel:Go,onEnd:fa,direction:Rn.value,component:$n.component},{enterIcon:_n.editableEnterIcon})}function ga(aa){return[ra(aa),ea(),la()].filter(ca=>ca)}return()=>{var aa;const{triggerType:ca=["icon"]}=Yo.value,sa=$n.ellipsis||$n.editable?$n.content!==void 0?$n.content:(aa=_n.default)===null||aa===void 0?void 0:aa.call(_n):_n.default?_n.default():$n.content;return qo.value?ua():createVNode(LocaleReceiver,{componentName:"Text",children:ia=>{const fa=_extends$1(_extends$1({},$n),Pn),{type:ma,disabled:ya,content:ba,class:Ia,style:Ea}=fa,xa=__rest$9(fa,["type","disabled","content","class","style"]),{rows:Ta,suffix:wa,tooltip:La}=Bn.value,{edit:Na,copy:$a,copied:ka,expand:Ha}=ia;Dn.editStr=Na,Dn.copyStr=$a,Dn.copiedStr=ka,Dn.expandStr=Ha;const da=omit$1(xa,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),pa=nr.value,Sa=Ta===1&&pa,Aa=Ta&&Ta>1&&pa;let Ra=sa,Fa;if(Ta&&Dn.isEllipsis&&!Dn.expanded&&!pa){const{title:Ya}=xa;let ja=Ya||"";!Ya&&(typeof sa=="string"||typeof sa=="number")&&(ja=String(sa)),ja=ja==null?void 0:ja.slice(String(Dn.ellipsisContent||"").length),Ra=createVNode(Fragment,null,[toRaw(Dn.ellipsisContent),createVNode("span",{title:ja,"aria-hidden":"true"},[ELLIPSIS_STR]),wa])}else Ra=createVNode(Fragment,null,[sa,wa]);Ra=oa($n,Ra);const za=La&&Ta&&Dn.isEllipsis&&!Dn.expanded&&!pa,Wa=_n.ellipsisTooltip?_n.ellipsisTooltip():La;return createVNode(ResizeObserver$1,{onResize:rr,disabled:!Ta},{default:()=>[createVNode(Typography$1,_objectSpread2$1({ref:Ln,class:[{[`${Nn.value}-${ma}`]:ma,[`${Nn.value}-disabled`]:ya,[`${Nn.value}-ellipsis`]:Ta,[`${Nn.value}-single-line`]:Ta===1&&!Dn.isEllipsis,[`${Nn.value}-ellipsis-single-line`]:Sa,[`${Nn.value}-ellipsis-multiple-line`]:Aa},Ia],style:_extends$1(_extends$1({},Ea),{WebkitLineClamp:Aa?Ta:void 0}),"aria-label":Fa,direction:Rn.value,onClick:ca.indexOf("text")!==-1?Wn:()=>{}},da),{default:()=>[za?createVNode(Tooltip,{title:La===!0?sa:Wa},{default:()=>[createVNode("span",null,[Ra])]}):Ra,ga()]})]})}},null)}}}),Base$1=Base;var __rest$8=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const linkProps=()=>omit$1(_extends$1(_extends$1({},baseProps()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),Link=($n,Cn)=>{let{slots:_n,attrs:Pn}=Cn;const In=_extends$1(_extends$1({},$n),Pn),{ellipsis:Nn,rel:Rn}=In,Dn=__rest$8(In,["ellipsis","rel"]);warning$3();const Ln=_extends$1(_extends$1({},Dn),{rel:Rn===void 0&&Dn.target==="_blank"?"noopener noreferrer":Rn,ellipsis:!!Nn,component:"a"});return delete Ln.navigate,createVNode(Base$1,Ln,_n)};Link.displayName="ATypographyLink";Link.inheritAttrs=!1;Link.props=linkProps();const Link$1=Link,paragraphProps=()=>omit$1(baseProps(),["component"]),Paragraph=($n,Cn)=>{let{slots:_n,attrs:Pn}=Cn;const In=_extends$1(_extends$1(_extends$1({},$n),{component:"div"}),Pn);return createVNode(Base$1,In,_n)};Paragraph.displayName="ATypographyParagraph";Paragraph.inheritAttrs=!1;Paragraph.props=paragraphProps();const Paragraph$1=Paragraph,textProps=()=>_extends$1(_extends$1({},omit$1(baseProps(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),Text=($n,Cn)=>{let{slots:_n,attrs:Pn}=Cn;const{ellipsis:In}=$n;warning$3();const Nn=_extends$1(_extends$1(_extends$1({},$n),{ellipsis:In&&typeof In=="object"?omit$1(In,["expandable","rows"]):In,component:"span"}),Pn);return createVNode(Base$1,Nn,_n)};Text.displayName="ATypographyText";Text.inheritAttrs=!1;Text.props=textProps();const Text$1=Text;var __rest$7=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const TITLE_ELE_LIST=tupleNum(1,2,3,4,5),titleProps=()=>_extends$1(_extends$1({},omit$1(baseProps(),["component","strong"])),{level:Number}),Title=($n,Cn)=>{let{slots:_n,attrs:Pn}=Cn;const{level:In=1}=$n,Nn=__rest$7($n,["level"]);let Rn;TITLE_ELE_LIST.includes(In)?Rn=`h${In}`:(warning$3(),Rn="h1");const Dn=_extends$1(_extends$1(_extends$1({},Nn),{component:Rn}),Pn);return createVNode(Base$1,Dn,_n)};Title.displayName="ATypographyTitle";Title.inheritAttrs=!1;Title.props=titleProps();const Title$1=Title;Typography$1.Text=Text$1;Typography$1.Title=Title$1;Typography$1.Paragraph=Paragraph$1;Typography$1.Link=Link$1;Typography$1.Base=Base$1;Typography$1.install=function($n){return $n.component(Typography$1.name,Typography$1),$n.component(Typography$1.Text.displayName,Text$1),$n.component(Typography$1.Title.displayName,Title$1),$n.component(Typography$1.Paragraph.displayName,Paragraph$1),$n.component(Typography$1.Link.displayName,Link$1),$n};function getError($n,Cn){const _n=`cannot ${$n.method} ${$n.action} ${Cn.status}'`,Pn=new Error(_n);return Pn.status=Cn.status,Pn.method=$n.method,Pn.url=$n.action,Pn}function getBody($n){const Cn=$n.responseText||$n.response;if(!Cn)return Cn;try{return JSON.parse(Cn)}catch{return Cn}}function upload($n){const Cn=new XMLHttpRequest;$n.onProgress&&Cn.upload&&(Cn.upload.onprogress=function(Nn){Nn.total>0&&(Nn.percent=Nn.loaded/Nn.total*100),$n.onProgress(Nn)});const _n=new FormData;$n.data&&Object.keys($n.data).forEach(In=>{const Nn=$n.data[In];if(Array.isArray(Nn)){Nn.forEach(Rn=>{_n.append(`${In}[]`,Rn)});return}_n.append(In,Nn)}),$n.file instanceof Blob?_n.append($n.filename,$n.file,$n.file.name):_n.append($n.filename,$n.file),Cn.onerror=function(Nn){$n.onError(Nn)},Cn.onload=function(){return Cn.status<200||Cn.status>=300?$n.onError(getError($n,Cn),getBody(Cn)):$n.onSuccess(getBody(Cn),Cn)},Cn.open($n.method,$n.action,!0),$n.withCredentials&&"withCredentials"in Cn&&(Cn.withCredentials=!0);const Pn=$n.headers||{};return Pn["X-Requested-With"]!==null&&Cn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Pn).forEach(In=>{Pn[In]!==null&&Cn.setRequestHeader(In,Pn[In])}),Cn.send(_n),{abort(){Cn.abort()}}}const now=+new Date;let index$6=0;function uid(){return`vc-upload-${now}-${++index$6}`}const attrAccept=($n,Cn)=>{if($n&&Cn){const _n=Array.isArray(Cn)?Cn:Cn.split(","),Pn=$n.name||"",In=$n.type||"",Nn=In.replace(/\/.*$/,"");return _n.some(Rn=>{const Dn=Rn.trim();if(/^\*(\/\*)?$/.test(Rn))return!0;if(Dn.charAt(0)==="."){const Ln=Pn.toLowerCase(),Fn=Dn.toLowerCase();let Bn=[Fn];return(Fn===".jpg"||Fn===".jpeg")&&(Bn=[".jpg",".jpeg"]),Bn.some(Hn=>Ln.endsWith(Hn))}return/\/\*$/.test(Dn)?Nn===Dn.replace(/\/.*$/,""):!!(In===Dn||/^\w+$/.test(Dn))})}return!0};function loopFiles($n,Cn){const _n=$n.createReader();let Pn=[];function In(){_n.readEntries(Nn=>{const Rn=Array.prototype.slice.apply(Nn);Pn=Pn.concat(Rn),!Rn.length?Cn(Pn):In()})}In()}const traverseFileTree=($n,Cn,_n)=>{const Pn=(In,Nn)=>{In.path=Nn||"",In.isFile?In.file(Rn=>{_n(Rn)&&(In.fullPath&&!Rn.webkitRelativePath&&(Object.defineProperties(Rn,{webkitRelativePath:{writable:!0}}),Rn.webkitRelativePath=In.fullPath.replace(/^\//,""),Object.defineProperties(Rn,{webkitRelativePath:{writable:!1}})),Cn([Rn]))}):In.isDirectory&&loopFiles(In,Rn=>{Rn.forEach(Dn=>{Pn(Dn,`${Nn}${In.name}/`)})})};$n.forEach(In=>{Pn(In.webkitGetAsEntry())})},traverseFileTree$1=traverseFileTree,uploadProps$1=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var __awaiter$1=function($n,Cn,_n,Pn){function In(Nn){return Nn instanceof _n?Nn:new _n(function(Rn){Rn(Nn)})}return new(_n||(_n=Promise))(function(Nn,Rn){function Dn(Bn){try{Fn(Pn.next(Bn))}catch(Hn){Rn(Hn)}}function Ln(Bn){try{Fn(Pn.throw(Bn))}catch(Hn){Rn(Hn)}}function Fn(Bn){Bn.done?Nn(Bn.value):In(Bn.value).then(Dn,Ln)}Fn((Pn=Pn.apply($n,Cn||[])).next())})},__rest$6=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const AjaxUpload=defineComponent({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:uploadProps$1(),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=ref(uid()),Rn={},Dn=ref();let Ln=!1;const Fn=(Yo,qo)=>__awaiter$1(this,void 0,void 0,function*(){const{beforeUpload:Jo}=$n;let Zo=Yo;if(Jo){try{Zo=yield Jo(Yo,qo)}catch{Zo=!1}if(Zo===!1)return{origin:Yo,parsedFile:null,action:null,data:null}}const{action:rr}=$n;let nr;typeof rr=="function"?nr=yield rr(Yo):nr=rr;const{data:ta}=$n;let oa;typeof ta=="function"?oa=yield ta(Yo):oa=ta;const ra=(typeof Zo=="object"||typeof Zo=="string")&&Zo?Zo:Yo;let ea;ra instanceof File?ea=ra:ea=new File([ra],Yo.name,{type:Yo.type});const la=ea;return la.uid=Yo.uid,{origin:Yo,data:oa,parsedFile:la,action:nr}}),Bn=Yo=>{let{data:qo,origin:Jo,action:Zo,parsedFile:rr}=Yo;if(!Ln)return;const{onStart:nr,customRequest:ta,name:oa,headers:ra,withCredentials:ea,method:la}=$n,{uid:ua}=Jo,ga=ta||upload,aa={action:Zo,filename:oa,data:qo,file:rr,headers:ra,withCredentials:ea,method:la||"post",onProgress:ca=>{const{onProgress:sa}=$n;sa==null||sa(ca,rr)},onSuccess:(ca,sa)=>{const{onSuccess:ia}=$n;ia==null||ia(ca,rr,sa),delete Rn[ua]},onError:(ca,sa)=>{const{onError:ia}=$n;ia==null||ia(ca,sa,rr),delete Rn[ua]}};nr(Jo),Rn[ua]=ga(aa)},Hn=()=>{Nn.value=uid()},zn=Yo=>{if(Yo){const qo=Yo.uid?Yo.uid:Yo;Rn[qo]&&Rn[qo].abort&&Rn[qo].abort(),delete Rn[qo]}else Object.keys(Rn).forEach(qo=>{Rn[qo]&&Rn[qo].abort&&Rn[qo].abort(),delete Rn[qo]})};onMounted(()=>{Ln=!0}),onBeforeUnmount(()=>{Ln=!1,zn()});const Wn=Yo=>{const qo=[...Yo],Jo=qo.map(Zo=>(Zo.uid=uid(),Fn(Zo,qo)));Promise.all(Jo).then(Zo=>{const{onBatchStart:rr}=$n;rr==null||rr(Zo.map(nr=>{let{origin:ta,parsedFile:oa}=nr;return{file:ta,parsedFile:oa}})),Zo.filter(nr=>nr.parsedFile!==null).forEach(nr=>{Bn(nr)})})},Yn=Yo=>{const{accept:qo,directory:Jo}=$n,{files:Zo}=Yo.target,rr=[...Zo].filter(nr=>!Jo||attrAccept(nr,qo));Wn(rr),Hn()},Gn=Yo=>{const qo=Dn.value;if(!qo)return;const{onClick:Jo}=$n;qo.click(),Jo&&Jo(Yo)},Go=Yo=>{Yo.key==="Enter"&&Gn(Yo)},Xn=Yo=>{const{multiple:qo}=$n;if(Yo.preventDefault(),Yo.type!=="dragover")if($n.directory)traverseFileTree$1(Array.prototype.slice.call(Yo.dataTransfer.items),Wn,Jo=>attrAccept(Jo,$n.accept));else{const Jo=partition$1(Array.prototype.slice.call(Yo.dataTransfer.files),nr=>attrAccept(nr,$n.accept));let Zo=Jo[0];const rr=Jo[1];qo===!1&&(Zo=Zo.slice(0,1)),Wn(Zo),rr.length&&$n.onReject&&$n.onReject(rr)}};return In({abort:zn}),()=>{var Yo;const{componentTag:qo,prefixCls:Jo,disabled:Zo,id:rr,multiple:nr,accept:ta,capture:oa,directory:ra,openFileDialogOnClick:ea,onMouseenter:la,onMouseleave:ua}=$n,ga=__rest$6($n,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),aa={[Jo]:!0,[`${Jo}-disabled`]:Zo,[Pn.class]:!!Pn.class},ca=ra?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return createVNode(qo,_objectSpread2$1(_objectSpread2$1({},Zo?{}:{onClick:ea?Gn:()=>{},onKeydown:ea?Go:()=>{},onMouseenter:la,onMouseleave:ua,onDrop:Xn,onDragover:Xn,tabindex:"0"}),{},{class:aa,role:"button",style:Pn.style}),{default:()=>[createVNode("input",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},pickAttrs(ga,{aria:!0,data:!0})),{},{id:rr,type:"file",ref:Dn,onClick:ia=>ia.stopPropagation(),onCancel:ia=>ia.stopPropagation(),key:Nn.value,style:{display:"none"},accept:ta},ca),{},{multiple:nr,onChange:Yn},oa!=null?{capture:oa}:{}),null),(Yo=_n.default)===null||Yo===void 0?void 0:Yo.call(_n)]})}}});function empty(){}const Upload$1=defineComponent({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:initDefaultProps(uploadProps$1(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:empty,onError:empty,onSuccess:empty,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=ref();return In({abort:Dn=>{var Ln;(Ln=Nn.value)===null||Ln===void 0||Ln.abort(Dn)}}),()=>createVNode(AjaxUpload,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},$n),Pn),{},{ref:Nn}),_n)}});var PaperClipOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const PaperClipOutlinedSvg=PaperClipOutlined$2;function _objectSpread$4($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$4($n,In,_n[In])})}return $n}function _defineProperty$4($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var PaperClipOutlined=function(Cn,_n){var Pn=_objectSpread$4({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$4({},Pn,{icon:PaperClipOutlinedSvg}),null)};PaperClipOutlined.displayName="PaperClipOutlined";PaperClipOutlined.inheritAttrs=!1;const PaperClipOutlined$1=PaperClipOutlined;var PictureTwoTone$2={icon:function(Cn,_n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Cn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:_n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:_n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:_n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Cn}}]}},name:"picture",theme:"twotone"};const PictureTwoToneSvg=PictureTwoTone$2;function _objectSpread$3($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$3($n,In,_n[In])})}return $n}function _defineProperty$3($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var PictureTwoTone=function(Cn,_n){var Pn=_objectSpread$3({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$3({},Pn,{icon:PictureTwoToneSvg}),null)};PictureTwoTone.displayName="PictureTwoTone";PictureTwoTone.inheritAttrs=!1;const PictureTwoTone$1=PictureTwoTone;var FileTwoTone$2={icon:function(Cn,_n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:_n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Cn}}]}},name:"file",theme:"twotone"};const FileTwoToneSvg=FileTwoTone$2;function _objectSpread$2($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$2($n,In,_n[In])})}return $n}function _defineProperty$2($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var FileTwoTone=function(Cn,_n){var Pn=_objectSpread$2({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$2({},Pn,{icon:FileTwoToneSvg}),null)};FileTwoTone.displayName="FileTwoTone";FileTwoTone.inheritAttrs=!1;const FileTwoTone$1=FileTwoTone;function uploadProps(){return{capture:someType([Boolean,String]),type:stringType(),name:String,defaultFileList:arrayType(),fileList:arrayType(),action:someType([String,Function]),directory:booleanType(),data:someType([Object,Function]),method:stringType(),headers:objectType(),showUploadList:someType([Boolean,Object]),multiple:booleanType(),accept:String,beforeUpload:functionType(),onChange:functionType(),"onUpdate:fileList":functionType(),onDrop:functionType(),listType:stringType(),onPreview:functionType(),onDownload:functionType(),onReject:functionType(),onRemove:functionType(),remove:functionType(),supportServerRender:booleanType(),disabled:booleanType(),prefixCls:String,customRequest:functionType(),withCredentials:booleanType(),openFileDialogOnClick:booleanType(),locale:objectType(),id:String,previewFile:functionType(),transformFile:functionType(),iconRender:functionType(),isImageUrl:functionType(),progress:objectType(),itemRender:functionType(),maxCount:Number,height:someType([Number,String]),removeIcon:functionType(),downloadIcon:functionType(),previewIcon:functionType()}}function uploadListProps(){return{listType:stringType(),onPreview:functionType(),onDownload:functionType(),onRemove:functionType(),items:arrayType(),progress:objectType(),prefixCls:stringType(),showRemoveIcon:booleanType(),showDownloadIcon:booleanType(),showPreviewIcon:booleanType(),removeIcon:functionType(),downloadIcon:functionType(),previewIcon:functionType(),locale:objectType(void 0),previewFile:functionType(),iconRender:functionType(),isImageUrl:functionType(),appendAction:functionType(),appendActionVisible:booleanType(),itemRender:functionType()}}function file2Obj($n){return _extends$1(_extends$1({},$n),{lastModified:$n.lastModified,lastModifiedDate:$n.lastModifiedDate,name:$n.name,size:$n.size,type:$n.type,uid:$n.uid,percent:0,originFileObj:$n})}function updateFileList($n,Cn){const _n=[...Cn],Pn=_n.findIndex(In=>{let{uid:Nn}=In;return Nn===$n.uid});return Pn===-1?_n.push($n):_n[Pn]=$n,_n}function getFileItem($n,Cn){const _n=$n.uid!==void 0?"uid":"name";return Cn.filter(Pn=>Pn[_n]===$n[_n])[0]}function removeFileItem($n,Cn){const _n=$n.uid!==void 0?"uid":"name",Pn=Cn.filter(In=>In[_n]!==$n[_n]);return Pn.length===Cn.length?null:Pn}const extname=function(){const Cn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Pn=Cn[Cn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pn)||[""])[0]},isImageFileType=$n=>$n.indexOf("image/")===0,isImageUrl=$n=>{if($n.type&&!$n.thumbUrl)return isImageFileType($n.type);const Cn=$n.thumbUrl||$n.url||"",_n=extname(Cn);return/^data:image\//.test(Cn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(_n)?!0:!(/^data:/.test(Cn)||_n)},MEASURE_SIZE=200;function previewImage($n){return new Promise(Cn=>{if(!$n.type||!isImageFileType($n.type)){Cn("");return}const _n=document.createElement("canvas");_n.width=MEASURE_SIZE,_n.height=MEASURE_SIZE,_n.style.cssText=`position: fixed; left: 0; top: 0; width: ${MEASURE_SIZE}px; height: ${MEASURE_SIZE}px; z-index: 9999; display: none;`,document.body.appendChild(_n);const Pn=_n.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:Nn,height:Rn}=In;let Dn=MEASURE_SIZE,Ln=MEASURE_SIZE,Fn=0,Bn=0;Nn>Rn?(Ln=Rn*(MEASURE_SIZE/Nn),Bn=-(Ln-Dn)/2):(Dn=Nn*(MEASURE_SIZE/Rn),Fn=-(Dn-Ln)/2),Pn.drawImage(In,Fn,Bn,Dn,Ln);const Hn=_n.toDataURL();document.body.removeChild(_n),Cn(Hn)},In.crossOrigin="anonymous",$n.type.startsWith("image/svg+xml")){const Nn=new FileReader;Nn.addEventListener("load",()=>{Nn.result&&(In.src=Nn.result)}),Nn.readAsDataURL($n)}else In.src=window.URL.createObjectURL($n)})}var DownloadOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const DownloadOutlinedSvg=DownloadOutlined$2;function _objectSpread$1($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty$1($n,In,_n[In])})}return $n}function _defineProperty$1($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var DownloadOutlined=function(Cn,_n){var Pn=_objectSpread$1({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread$1({},Pn,{icon:DownloadOutlinedSvg}),null)};DownloadOutlined.displayName="DownloadOutlined";DownloadOutlined.inheritAttrs=!1;const DownloadOutlined$1=DownloadOutlined,listItemProps=()=>({prefixCls:String,locale:objectType(void 0),file:objectType(),items:arrayType(),listType:stringType(),isImgUrl:functionType(),showRemoveIcon:booleanType(),showDownloadIcon:booleanType(),showPreviewIcon:booleanType(),removeIcon:functionType(),downloadIcon:functionType(),previewIcon:functionType(),iconRender:functionType(),actionIconRender:functionType(),itemRender:functionType(),onPreview:functionType(),onClose:functionType(),onDownload:functionType(),progress:objectType()}),ListItem=defineComponent({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:listItemProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;var In;const Nn=shallowRef(!1),Rn=shallowRef();onMounted(()=>{Rn.value=setTimeout(()=>{Nn.value=!0},300)}),onBeforeUnmount(()=>{clearTimeout(Rn.value)});const Dn=shallowRef((In=$n.file)===null||In===void 0?void 0:In.status);watch(()=>{var Bn;return(Bn=$n.file)===null||Bn===void 0?void 0:Bn.status},Bn=>{Bn!=="removed"&&(Dn.value=Bn)});const{rootPrefixCls:Ln}=useConfigInject("upload",$n),Fn=computed(()=>getTransitionProps(`${Ln.value}-fade`));return()=>{var Bn,Hn;const{prefixCls:zn,locale:Wn,listType:Yn,file:Gn,items:Go,progress:Xn,iconRender:Yo=_n.iconRender,actionIconRender:qo=_n.actionIconRender,itemRender:Jo=_n.itemRender,isImgUrl:Zo,showPreviewIcon:rr,showRemoveIcon:nr,showDownloadIcon:ta,previewIcon:oa=_n.previewIcon,removeIcon:ra=_n.removeIcon,downloadIcon:ea=_n.downloadIcon,onPreview:la,onDownload:ua,onClose:ga}=$n,{class:aa,style:ca}=Pn,sa=Yo({file:Gn});let ia=createVNode("div",{class:`${zn}-text-icon`},[sa]);if(Yn==="picture"||Yn==="picture-card")if(Dn.value==="uploading"||!Gn.thumbUrl&&!Gn.url){const da={[`${zn}-list-item-thumbnail`]:!0,[`${zn}-list-item-file`]:Dn.value!=="uploading"};ia=createVNode("div",{class:da},[sa])}else{const da=Zo!=null&&Zo(Gn)?createVNode("img",{src:Gn.thumbUrl||Gn.url,alt:Gn.name,class:`${zn}-list-item-image`,crossorigin:Gn.crossOrigin},null):sa,pa={[`${zn}-list-item-thumbnail`]:!0,[`${zn}-list-item-file`]:Zo&&!Zo(Gn)};ia=createVNode("a",{class:pa,onClick:Sa=>la(Gn,Sa),href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[da])}const fa={[`${zn}-list-item`]:!0,[`${zn}-list-item-${Dn.value}`]:!0},ma=typeof Gn.linkProps=="string"?JSON.parse(Gn.linkProps):Gn.linkProps,ya=nr?qo({customIcon:ra?ra({file:Gn}):createVNode(DeleteOutlined$1,null,null),callback:()=>ga(Gn),prefixCls:zn,title:Wn.removeFile}):null,ba=ta&&Dn.value==="done"?qo({customIcon:ea?ea({file:Gn}):createVNode(DownloadOutlined$1,null,null),callback:()=>ua(Gn),prefixCls:zn,title:Wn.downloadFile}):null,Ia=Yn!=="picture-card"&&createVNode("span",{key:"download-delete",class:[`${zn}-list-item-actions`,{picture:Yn==="picture"}]},[ba,ya]),Ea=`${zn}-list-item-name`,xa=Gn.url?[createVNode("a",_objectSpread2$1(_objectSpread2$1({key:"view",target:"_blank",rel:"noopener noreferrer",class:Ea,title:Gn.name},ma),{},{href:Gn.url,onClick:da=>la(Gn,da)}),[Gn.name]),Ia]:[createVNode("span",{key:"view",class:Ea,onClick:da=>la(Gn,da),title:Gn.name},[Gn.name]),Ia],Ta={pointerEvents:"none",opacity:.5},wa=rr?createVNode("a",{href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gn.url||Gn.thumbUrl?void 0:Ta,onClick:da=>la(Gn,da),title:Wn.previewFile},[oa?oa({file:Gn}):createVNode(EyeOutlined$1,null,null)]):null,La=Yn==="picture-card"&&Dn.value!=="uploading"&&createVNode("span",{class:`${zn}-list-item-actions`},[wa,Dn.value==="done"&&ba,ya]),Na=createVNode("div",{class:fa},[ia,xa,La,Nn.value&&createVNode(Transition,Fn.value,{default:()=>[withDirectives(createVNode("div",{class:`${zn}-list-item-progress`},["percent"in Gn?createVNode(Progress,_objectSpread2$1(_objectSpread2$1({},Xn),{},{type:"line",percent:Gn.percent}),null):null]),[[vShow,Dn.value==="uploading"]])]})]),$a={[`${zn}-list-item-container`]:!0,[`${aa}`]:!!aa},ka=Gn.response&&typeof Gn.response=="string"?Gn.response:((Bn=Gn.error)===null||Bn===void 0?void 0:Bn.statusText)||((Hn=Gn.error)===null||Hn===void 0?void 0:Hn.message)||Wn.uploadError,Ha=Dn.value==="error"?createVNode(Tooltip,{title:ka,getPopupContainer:da=>da.parentNode},{default:()=>[Na]}):Na;return createVNode("div",{class:$a,style:ca},[Jo?Jo({originNode:Ha,file:Gn,fileList:Go,actions:{download:ua.bind(null,Gn),preview:la.bind(null,Gn),remove:ga.bind(null,Gn)}}):Ha])}}}),HackSlot=($n,Cn)=>{let{slots:_n}=Cn;var Pn;return filterEmpty((Pn=_n.default)===null||Pn===void 0?void 0:Pn.call(_n))[0]},UploadList=defineComponent({compatConfig:{MODE:3},name:"AUploadList",props:initDefaultProps(uploadListProps(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:previewImage,isImageUrl,items:[],appendActionVisible:!0}),setup($n,Cn){let{slots:_n,expose:Pn}=Cn;const In=shallowRef(!1);onMounted(()=>{In.value==!0});const Nn=shallowRef([]);watch(()=>$n.items,function(){let Gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Nn.value=Gn.slice()},{immediate:!0,deep:!0}),watchEffect(()=>{if($n.listType!=="picture"&&$n.listType!=="picture-card")return;let Gn=!1;($n.items||[]).forEach((Go,Xn)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(Go.originFileObj instanceof File||Go.originFileObj instanceof Blob)||Go.thumbUrl!==void 0||(Go.thumbUrl="",$n.previewFile&&$n.previewFile(Go.originFileObj).then(Yo=>{const qo=Yo||"";qo!==Go.thumbUrl&&(Nn.value[Xn].thumbUrl=qo,Gn=!0)}))}),Gn&&triggerRef(Nn)});const Rn=(Gn,Go)=>{if($n.onPreview)return Go==null||Go.preventDefault(),$n.onPreview(Gn)},Dn=Gn=>{typeof $n.onDownload=="function"?$n.onDownload(Gn):Gn.url&&window.open(Gn.url)},Ln=Gn=>{var Go;(Go=$n.onRemove)===null||Go===void 0||Go.call($n,Gn)},Fn=Gn=>{let{file:Go}=Gn;const Xn=$n.iconRender||_n.iconRender;if(Xn)return Xn({file:Go,listType:$n.listType});const Yo=Go.status==="uploading",qo=$n.isImageUrl&&$n.isImageUrl(Go)?createVNode(PictureTwoTone$1,null,null):createVNode(FileTwoTone$1,null,null);let Jo=createVNode(Yo?LoadingOutlined$1:PaperClipOutlined$1,null,null);return $n.listType==="picture"?Jo=Yo?createVNode(LoadingOutlined$1,null,null):qo:$n.listType==="picture-card"&&(Jo=Yo?$n.locale.uploading:qo),Jo},Bn=Gn=>{const{customIcon:Go,callback:Xn,prefixCls:Yo,title:qo}=Gn,Jo={type:"text",size:"small",title:qo,onClick:()=>{Xn()},class:`${Yo}-list-item-action`};return isValidElement(Go)?createVNode(Button$1,Jo,{icon:()=>Go}):createVNode(Button$1,Jo,{default:()=>[createVNode("span",null,[Go])]})};Pn({handlePreview:Rn,handleDownload:Dn});const{prefixCls:Hn,rootPrefixCls:zn}=useConfigInject("upload",$n),Wn=computed(()=>({[`${Hn.value}-list`]:!0,[`${Hn.value}-list-${$n.listType}`]:!0})),Yn=computed(()=>{const Gn=_extends$1({},collapseMotion$1(`${zn.value}-motion-collapse`));delete Gn.onAfterAppear,delete Gn.onAfterEnter,delete Gn.onAfterLeave;const Go=_extends$1(_extends$1({},getTransitionGroupProps(`${Hn.value}-${$n.listType==="picture-card"?"animate-inline":"animate"}`)),{class:Wn.value,appear:In.value});return $n.listType!=="picture-card"?_extends$1(_extends$1({},Gn),Go):Go});return()=>{const{listType:Gn,locale:Go,isImageUrl:Xn,showPreviewIcon:Yo,showRemoveIcon:qo,showDownloadIcon:Jo,removeIcon:Zo,previewIcon:rr,downloadIcon:nr,progress:ta,appendAction:oa,itemRender:ra,appendActionVisible:ea}=$n,la=oa==null?void 0:oa(),ua=Nn.value;return createVNode(TransitionGroup,_objectSpread2$1(_objectSpread2$1({},Yn.value),{},{tag:"div"}),{default:()=>[ua.map(ga=>{const{uid:aa}=ga;return createVNode(ListItem,{key:aa,locale:Go,prefixCls:Hn.value,file:ga,items:ua,progress:ta,listType:Gn,isImgUrl:Xn,showPreviewIcon:Yo,showRemoveIcon:qo,showDownloadIcon:Jo,onPreview:Rn,onDownload:Dn,onClose:Ln,removeIcon:Zo,previewIcon:rr,downloadIcon:nr,itemRender:ra},_extends$1(_extends$1({},_n),{iconRender:Fn,actionIconRender:Bn}))}),oa?withDirectives(createVNode(HackSlot,{key:"__ant_upload_appendAction"},{default:()=>la}),[[vShow,!!ea]]):null]})}}}),genDraggerStyle=$n=>{const{componentCls:Cn,iconCls:_n}=$n;return{[`${Cn}-wrapper`]:{[`${Cn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:$n.colorFillAlter,border:`${$n.lineWidth}px dashed ${$n.colorBorder}`,borderRadius:$n.borderRadiusLG,cursor:"pointer",transition:`border-color ${$n.motionDurationSlow}`,[Cn]:{padding:`${$n.padding}px 0`},[`${Cn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Cn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Cn}-disabled):hover`]:{borderColor:$n.colorPrimaryHover},[`p${Cn}-drag-icon`]:{marginBottom:$n.margin,[_n]:{color:$n.colorPrimary,fontSize:$n.uploadThumbnailSize}},[`p${Cn}-text`]:{margin:`0 0 ${$n.marginXXS}px`,color:$n.colorTextHeading,fontSize:$n.fontSizeLG},[`p${Cn}-hint`]:{color:$n.colorTextDescription,fontSize:$n.fontSize},[`&${Cn}-disabled`]:{cursor:"not-allowed",[`p${Cn}-drag-icon ${_n},
- p${Cn}-text,
- p${Cn}-hint
- `]:{color:$n.colorTextDisabled}}}}}},genDraggerStyle$1=genDraggerStyle,genListStyle=$n=>{const{componentCls:Cn,antCls:_n,iconCls:Pn,fontSize:In,lineHeight:Nn}=$n,Rn=`${Cn}-list-item`,Dn=`${Rn}-actions`,Ln=`${Rn}-action`,Fn=Math.round(In*Nn);return{[`${Cn}-wrapper`]:{[`${Cn}-list`]:_extends$1(_extends$1({},clearFix()),{lineHeight:$n.lineHeight,[Rn]:{position:"relative",height:$n.lineHeight*In,marginTop:$n.marginXS,fontSize:In,display:"flex",alignItems:"center",transition:`background-color ${$n.motionDurationSlow}`,"&:hover":{backgroundColor:$n.controlItemBgHover},[`${Rn}-name`]:_extends$1(_extends$1({},textEllipsis),{padding:`0 ${$n.paddingXS}px`,lineHeight:Nn,flex:"auto",transition:`all ${$n.motionDurationSlow}`}),[Dn]:{[Ln]:{opacity:0},[`${Ln}${_n}-btn-sm`]:{height:Fn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
- ${Ln}:focus,
- &.picture ${Ln}
- `]:{opacity:1},[Pn]:{color:$n.colorTextDescription,transition:`all ${$n.motionDurationSlow}`},[`&:hover ${Pn}`]:{color:$n.colorText}},[`${Cn}-icon ${Pn}`]:{color:$n.colorTextDescription,fontSize:In},[`${Rn}-progress`]:{position:"absolute",bottom:-$n.uploadProgressOffset,width:"100%",paddingInlineStart:In+$n.paddingXS,fontSize:In,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Rn}:hover ${Ln}`]:{opacity:1,color:$n.colorText},[`${Rn}-error`]:{color:$n.colorError,[`${Rn}-name, ${Cn}-icon ${Pn}`]:{color:$n.colorError},[Dn]:{[`${Pn}, ${Pn}:hover`]:{color:$n.colorError},[Ln]:{opacity:1}}},[`${Cn}-list-item-container`]:{transition:`opacity ${$n.motionDurationSlow}, height ${$n.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},genListStyle$1=genListStyle,uploadAnimateInlineIn=new Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),uploadAnimateInlineOut=new Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),genMotionStyle=$n=>{const{componentCls:Cn}=$n,_n=`${Cn}-animate-inline`;return[{[`${Cn}-wrapper`]:{[`${_n}-appear, ${_n}-enter, ${_n}-leave`]:{animationDuration:$n.motionDurationSlow,animationTimingFunction:$n.motionEaseInOutCirc,animationFillMode:"forwards"},[`${_n}-appear, ${_n}-enter`]:{animationName:uploadAnimateInlineIn},[`${_n}-leave`]:{animationName:uploadAnimateInlineOut}}},uploadAnimateInlineIn,uploadAnimateInlineOut]},genMotionStyle$1=genMotionStyle,genPictureStyle=$n=>{const{componentCls:Cn,iconCls:_n,uploadThumbnailSize:Pn,uploadProgressOffset:In}=$n,Nn=`${Cn}-list`,Rn=`${Nn}-item`;return{[`${Cn}-wrapper`]:{[`${Nn}${Nn}-picture, ${Nn}${Nn}-picture-card`]:{[Rn]:{position:"relative",height:Pn+$n.lineWidth*2+$n.paddingXS*2,padding:$n.paddingXS,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorBorder}`,borderRadius:$n.borderRadiusLG,"&:hover":{background:"transparent"},[`${Rn}-thumbnail`]:_extends$1(_extends$1({},textEllipsis),{width:Pn,height:Pn,lineHeight:`${Pn+$n.paddingSM}px`,textAlign:"center",flex:"none",[_n]:{fontSize:$n.fontSizeHeading2,color:$n.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Rn}-progress`]:{bottom:In,width:`calc(100% - ${$n.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Pn+$n.paddingXS}},[`${Rn}-error`]:{borderColor:$n.colorError,[`${Rn}-thumbnail ${_n}`]:{"svg path[fill='#e6f7ff']":{fill:$n.colorErrorBg},"svg path[fill='#1890ff']":{fill:$n.colorError}}},[`${Rn}-uploading`]:{borderStyle:"dashed",[`${Rn}-name`]:{marginBottom:In}}}}}},genPictureCardStyle=$n=>{const{componentCls:Cn,iconCls:_n,fontSizeLG:Pn,colorTextLightSolid:In}=$n,Nn=`${Cn}-list`,Rn=`${Nn}-item`,Dn=$n.uploadPicCardSize;return{[`${Cn}-wrapper${Cn}-picture-card-wrapper`]:_extends$1(_extends$1({},clearFix()),{display:"inline-block",width:"100%",[`${Cn}${Cn}-select`]:{width:Dn,height:Dn,marginInlineEnd:$n.marginXS,marginBottom:$n.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:$n.colorFillAlter,border:`${$n.lineWidth}px dashed ${$n.colorBorder}`,borderRadius:$n.borderRadiusLG,cursor:"pointer",transition:`border-color ${$n.motionDurationSlow}`,[`> ${Cn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Cn}-disabled):hover`]:{borderColor:$n.colorPrimary}},[`${Nn}${Nn}-picture-card`]:{[`${Nn}-item-container`]:{display:"inline-block",width:Dn,height:Dn,marginBlock:`0 ${$n.marginXS}px`,marginInline:`0 ${$n.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Rn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${$n.paddingXS*2}px)`,height:`calc(100% - ${$n.paddingXS*2}px)`,backgroundColor:$n.colorBgMask,opacity:0,transition:`all ${$n.motionDurationSlow}`,content:'" "'}},[`${Rn}:hover`]:{[`&::before, ${Rn}-actions`]:{opacity:1}},[`${Rn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${$n.motionDurationSlow}`,[`${_n}-eye, ${_n}-download, ${_n}-delete`]:{zIndex:10,width:Pn,margin:`0 ${$n.marginXXS}px`,fontSize:Pn,cursor:"pointer",transition:`all ${$n.motionDurationSlow}`}},[`${Rn}-actions, ${Rn}-actions:hover`]:{[`${_n}-eye, ${_n}-download, ${_n}-delete`]:{color:new TinyColor(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${Rn}-thumbnail, ${Rn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Rn}-name`]:{display:"none",textAlign:"center"},[`${Rn}-file + ${Rn}-name`]:{position:"absolute",bottom:$n.margin,display:"block",width:`calc(100% - ${$n.paddingXS*2}px)`},[`${Rn}-uploading`]:{[`&${Rn}`]:{backgroundColor:$n.colorFillAlter},[`&::before, ${_n}-eye, ${_n}-download, ${_n}-delete`]:{display:"none"}},[`${Rn}-progress`]:{bottom:$n.marginXL,width:`calc(100% - ${$n.paddingXS*2}px)`,paddingInlineStart:0}}})}},genRtlStyle=$n=>{const{componentCls:Cn}=$n;return{[`${Cn}-rtl`]:{direction:"rtl"}}},genRtlStyle$1=genRtlStyle,genBaseStyle$2=$n=>{const{componentCls:Cn,colorTextDisabled:_n}=$n;return{[`${Cn}-wrapper`]:_extends$1(_extends$1({},resetComponent($n)),{[Cn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Cn}-select`]:{display:"inline-block"},[`${Cn}-disabled`]:{color:_n,cursor:"not-allowed"}})}},useStyle$5=genComponentStyleHook("Upload",$n=>{const{fontSizeHeading3:Cn,fontSize:_n,lineHeight:Pn,lineWidth:In,controlHeightLG:Nn}=$n,Rn=Math.round(_n*Pn),Dn=merge$1($n,{uploadThumbnailSize:Cn*2,uploadProgressOffset:Rn/2+In,uploadPicCardSize:Nn*2.55});return[genBaseStyle$2(Dn),genDraggerStyle$1(Dn),genPictureStyle(Dn),genPictureCardStyle(Dn),genListStyle$1(Dn),genMotionStyle$1(Dn),genRtlStyle$1(Dn),genCollapseMotion$1(Dn)]});var __awaiter=function($n,Cn,_n,Pn){function In(Nn){return Nn instanceof _n?Nn:new _n(function(Rn){Rn(Nn)})}return new(_n||(_n=Promise))(function(Nn,Rn){function Dn(Bn){try{Fn(Pn.next(Bn))}catch(Hn){Rn(Hn)}}function Ln(Bn){try{Fn(Pn.throw(Bn))}catch(Hn){Rn(Hn)}}function Fn(Bn){Bn.done?Nn(Bn.value):In(Bn.value).then(Dn,Ln)}Fn((Pn=Pn.apply($n,Cn||[])).next())})},__rest$5=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const LIST_IGNORE=`__LIST_IGNORE_${Date.now()}__`,Upload=defineComponent({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:initDefaultProps(uploadProps(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",supportServerRender:!0}),setup($n,Cn){let{slots:_n,attrs:Pn,expose:In}=Cn;const Nn=useInjectFormItemContext(),{prefixCls:Rn,direction:Dn,disabled:Ln}=useConfigInject("upload",$n),[Fn,Bn]=useStyle$5(Rn),Hn=useInjectDisabled(),zn=computed(()=>{var ea;return(ea=Ln.value)!==null&&ea!==void 0?ea:Hn.value}),[Wn,Yn]=useMergedState($n.defaultFileList||[],{value:toRef($n,"fileList"),postState:ea=>{const la=Date.now();return(ea??[]).map((ua,ga)=>(!ua.uid&&!Object.isFrozen(ua)&&(ua.uid=`__AUTO__${la}_${ga}__`),ua))}}),Gn=ref("drop"),Go=ref(null);onMounted(()=>{devWarning($n.fileList!==void 0||Pn.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),devWarning($n.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),devWarning($n.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const Xn=(ea,la,ua)=>{var ga,aa;let ca=[...la];$n.maxCount===1?ca=ca.slice(-1):$n.maxCount&&(ca=ca.slice(0,$n.maxCount)),Yn(ca);const sa={file:ea,fileList:ca};ua&&(sa.event=ua),(ga=$n["onUpdate:fileList"])===null||ga===void 0||ga.call($n,sa.fileList),(aa=$n.onChange)===null||aa===void 0||aa.call($n,sa),Nn.onFieldChange()},Yo=(ea,la)=>__awaiter(this,void 0,void 0,function*(){const{beforeUpload:ua,transformFile:ga}=$n;let aa=ea;if(ua){const ca=yield ua(ea,la);if(ca===!1)return!1;if(delete ea[LIST_IGNORE],ca===LIST_IGNORE)return Object.defineProperty(ea,LIST_IGNORE,{value:!0,configurable:!0}),!1;typeof ca=="object"&&ca&&(aa=ca)}return ga&&(aa=yield ga(aa)),aa}),qo=ea=>{const la=ea.filter(aa=>!aa.file[LIST_IGNORE]);if(!la.length)return;const ua=la.map(aa=>file2Obj(aa.file));let ga=[...Wn.value];ua.forEach(aa=>{ga=updateFileList(aa,ga)}),ua.forEach((aa,ca)=>{let sa=aa;if(la[ca].parsedFile)aa.status="uploading";else{const{originFileObj:ia}=aa;let fa;try{fa=new File([ia],ia.name,{type:ia.type})}catch{fa=new Blob([ia],{type:ia.type}),fa.name=ia.name,fa.lastModifiedDate=new Date,fa.lastModified=new Date().getTime()}fa.uid=aa.uid,sa=fa}Xn(sa,ga)})},Jo=(ea,la,ua)=>{try{typeof ea=="string"&&(ea=JSON.parse(ea))}catch{}if(!getFileItem(la,Wn.value))return;const ga=file2Obj(la);ga.status="done",ga.percent=100,ga.response=ea,ga.xhr=ua;const aa=updateFileList(ga,Wn.value);Xn(ga,aa)},Zo=(ea,la)=>{if(!getFileItem(la,Wn.value))return;const ua=file2Obj(la);ua.status="uploading",ua.percent=ea.percent;const ga=updateFileList(ua,Wn.value);Xn(ua,ga,ea)},rr=(ea,la,ua)=>{if(!getFileItem(ua,Wn.value))return;const ga=file2Obj(ua);ga.error=ea,ga.response=la,ga.status="error";const aa=updateFileList(ga,Wn.value);Xn(ga,aa)},nr=ea=>{let la;const ua=$n.onRemove||$n.remove;Promise.resolve(typeof ua=="function"?ua(ea):ua).then(ga=>{var aa,ca;if(ga===!1)return;const sa=removeFileItem(ea,Wn.value);sa&&(la=_extends$1(_extends$1({},ea),{status:"removed"}),(aa=Wn.value)===null||aa===void 0||aa.forEach(ia=>{const fa=la.uid!==void 0?"uid":"name";ia[fa]===la[fa]&&!Object.isFrozen(ia)&&(ia.status="removed")}),(ca=Go.value)===null||ca===void 0||ca.abort(la),Xn(la,sa))})},ta=ea=>{var la;Gn.value=ea.type,ea.type==="drop"&&((la=$n.onDrop)===null||la===void 0||la.call($n,ea))};In({onBatchStart:qo,onSuccess:Jo,onProgress:Zo,onError:rr,fileList:Wn,upload:Go});const[oa]=useLocaleReceiver("Upload",localeValues$1.Upload,computed(()=>$n.locale)),ra=(ea,la)=>{const{removeIcon:ua,previewIcon:ga,downloadIcon:aa,previewFile:ca,onPreview:sa,onDownload:ia,isImageUrl:fa,progress:ma,itemRender:ya,iconRender:ba,showUploadList:Ia}=$n,{showDownloadIcon:Ea,showPreviewIcon:xa,showRemoveIcon:Ta}=typeof Ia=="boolean"?{}:Ia;return Ia?createVNode(UploadList,{prefixCls:Rn.value,listType:$n.listType,items:Wn.value,previewFile:ca,onPreview:sa,onDownload:ia,onRemove:nr,showRemoveIcon:!zn.value&&Ta,showPreviewIcon:xa,showDownloadIcon:Ea,removeIcon:ua,previewIcon:ga,downloadIcon:aa,iconRender:ba,locale:oa.value,isImageUrl:fa,progress:ma,itemRender:ya,appendActionVisible:la,appendAction:ea},_extends$1({},_n)):ea==null?void 0:ea()};return()=>{var ea,la,ua;const{listType:ga,type:aa}=$n,{class:ca,style:sa}=Pn,ia=__rest$5(Pn,["class","style"]),fa=_extends$1(_extends$1(_extends$1({onBatchStart:qo,onError:rr,onProgress:Zo,onSuccess:Jo},ia),$n),{id:(ea=$n.id)!==null&&ea!==void 0?ea:Nn.id.value,prefixCls:Rn.value,beforeUpload:Yo,onChange:void 0,disabled:zn.value});delete fa.remove,(!_n.default||zn.value)&&delete fa.id;const ma={[`${Rn.value}-rtl`]:Dn.value==="rtl"};if(aa==="drag"){const Ea=classNames(Rn.value,{[`${Rn.value}-drag`]:!0,[`${Rn.value}-drag-uploading`]:Wn.value.some(xa=>xa.status==="uploading"),[`${Rn.value}-drag-hover`]:Gn.value==="dragover",[`${Rn.value}-disabled`]:zn.value,[`${Rn.value}-rtl`]:Dn.value==="rtl"},Pn.class,Bn.value);return Fn(createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:classNames(`${Rn.value}-wrapper`,ma,ca,Bn.value)}),[createVNode("div",{class:Ea,onDrop:ta,onDragover:ta,onDragleave:ta,style:Pn.style},[createVNode(Upload$1,_objectSpread2$1(_objectSpread2$1({},fa),{},{ref:Go,class:`${Rn.value}-btn`}),_objectSpread2$1({default:()=>[createVNode("div",{class:`${Rn.value}-drag-container`},[(la=_n.default)===null||la===void 0?void 0:la.call(_n)])]},_n))]),ra()]))}const ya=classNames(Rn.value,{[`${Rn.value}-select`]:!0,[`${Rn.value}-select-${ga}`]:!0,[`${Rn.value}-disabled`]:zn.value,[`${Rn.value}-rtl`]:Dn.value==="rtl"}),ba=flattenChildren((ua=_n.default)===null||ua===void 0?void 0:ua.call(_n)),Ia=Ea=>createVNode("div",{class:ya,style:Ea},[createVNode(Upload$1,_objectSpread2$1(_objectSpread2$1({},fa),{},{ref:Go}),_n)]);return Fn(ga==="picture-card"?createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:classNames(`${Rn.value}-wrapper`,`${Rn.value}-picture-card-wrapper`,ma,Pn.class,Bn.value)}),[ra(Ia,!!(ba&&ba.length))]):createVNode("span",_objectSpread2$1(_objectSpread2$1({},Pn),{},{class:classNames(`${Rn.value}-wrapper`,ma,Pn.class,Bn.value)}),[Ia(ba&&ba.length?void 0:{display:"none"}),ra()]))}}});var __rest$4=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Dragger=defineComponent({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:uploadProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;return()=>{const{height:In}=$n,Nn=__rest$4($n,["height"]),{style:Rn}=Pn,Dn=__rest$4(Pn,["style"]),Ln=_extends$1(_extends$1(_extends$1({},Nn),Dn),{type:"drag",style:_extends$1(_extends$1({},Rn),{height:typeof In=="number"?`${In}px`:In})});return createVNode(Upload,Ln,_n)}}}),UploadDragger=Dragger,index$5=_extends$1(Upload,{Dragger,LIST_IGNORE,install($n){return $n.component(Upload.name,Upload),$n.component(Dragger.name,Dragger),$n}});function toLowercaseSeparator($n){return $n.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr($n){return Object.keys($n).map(Cn=>`${toLowercaseSeparator(Cn)}: ${$n[Cn]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}function rotateWatermark($n,Cn,_n,Pn){$n.translate(Cn,_n),$n.rotate(Math.PI/180*Number(Pn)),$n.translate(-Cn,-_n)}const reRendering=($n,Cn)=>{let _n=!1;return $n.removedNodes.length&&(_n=Array.from($n.removedNodes).some(Pn=>Pn===Cn)),$n.type==="attributes"&&$n.target===Cn&&(_n=!0),_n};var __rest$3=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};function useMutationObserver($n,Cn){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:Pn=defaultWindow$1}=_n,In=__rest$3(_n,["window"]);let Nn;const Rn=useSupported(()=>Pn&&"MutationObserver"in Pn),Dn=()=>{Nn&&(Nn.disconnect(),Nn=void 0)},Ln=watch(()=>unrefElement$1($n),Bn=>{Dn(),Rn.value&&Pn&&Bn&&(Nn=new MutationObserver(Cn),Nn.observe(Bn,In))},{immediate:!0}),Fn=()=>{Dn(),Ln()};return tryOnScopeDispose$1(Fn),{isSupported:Rn,stop:Fn}}const BaseSize=2,FontGap=3,watermarkProps=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:someType([String,Array]),font:objectType(),rootClassName:String,gap:arrayType(),offset:arrayType()}),Watermark=defineComponent({name:"AWatermark",inheritAttrs:!1,props:initDefaultProps(watermarkProps(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const[,In]=useToken(),Nn=shallowRef(),Rn=shallowRef(),Dn=shallowRef(!1),Ln=computed(()=>{var ra,ea;return(ea=(ra=$n.gap)===null||ra===void 0?void 0:ra[0])!==null&&ea!==void 0?ea:100}),Fn=computed(()=>{var ra,ea;return(ea=(ra=$n.gap)===null||ra===void 0?void 0:ra[1])!==null&&ea!==void 0?ea:100}),Bn=computed(()=>Ln.value/2),Hn=computed(()=>Fn.value/2),zn=computed(()=>{var ra,ea;return(ea=(ra=$n.offset)===null||ra===void 0?void 0:ra[0])!==null&&ea!==void 0?ea:Bn.value}),Wn=computed(()=>{var ra,ea;return(ea=(ra=$n.offset)===null||ra===void 0?void 0:ra[1])!==null&&ea!==void 0?ea:Hn.value}),Yn=computed(()=>{var ra,ea;return(ea=(ra=$n.font)===null||ra===void 0?void 0:ra.fontSize)!==null&&ea!==void 0?ea:In.value.fontSizeLG}),Gn=computed(()=>{var ra,ea;return(ea=(ra=$n.font)===null||ra===void 0?void 0:ra.fontWeight)!==null&&ea!==void 0?ea:"normal"}),Go=computed(()=>{var ra,ea;return(ea=(ra=$n.font)===null||ra===void 0?void 0:ra.fontStyle)!==null&&ea!==void 0?ea:"normal"}),Xn=computed(()=>{var ra,ea;return(ea=(ra=$n.font)===null||ra===void 0?void 0:ra.fontFamily)!==null&&ea!==void 0?ea:"sans-serif"}),Yo=computed(()=>{var ra,ea;return(ea=(ra=$n.font)===null||ra===void 0?void 0:ra.color)!==null&&ea!==void 0?ea:In.value.colorFill}),qo=computed(()=>{var ra;const ea={zIndex:(ra=$n.zIndex)!==null&&ra!==void 0?ra:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let la=zn.value-Bn.value,ua=Wn.value-Hn.value;return la>0&&(ea.left=`${la}px`,ea.width=`calc(100% - ${la}px)`,la=0),ua>0&&(ea.top=`${ua}px`,ea.height=`calc(100% - ${ua}px)`,ua=0),ea.backgroundPosition=`${la}px ${ua}px`,ea}),Jo=()=>{Rn.value&&(Rn.value.remove(),Rn.value=void 0)},Zo=(ra,ea)=>{var la;Nn.value&&Rn.value&&(Dn.value=!0,Rn.value.setAttribute("style",getStyleStr(_extends$1(_extends$1({},qo.value),{backgroundImage:`url('${ra}')`,backgroundSize:`${(Ln.value+ea)*BaseSize}px`}))),(la=Nn.value)===null||la===void 0||la.append(Rn.value),setTimeout(()=>{Dn.value=!1}))},rr=ra=>{let ea=120,la=64;const ua=$n.content,ga=$n.image,aa=$n.width,ca=$n.height;if(!ga&&ra.measureText){ra.font=`${Number(Yn.value)}px ${Xn.value}`;const sa=Array.isArray(ua)?ua:[ua],ia=sa.map(fa=>ra.measureText(fa).width);ea=Math.ceil(Math.max(...ia)),la=Number(Yn.value)*sa.length+(sa.length-1)*FontGap}return[aa??ea,ca??la]},nr=(ra,ea,la,ua,ga)=>{const aa=getPixelRatio(),ca=$n.content,sa=Number(Yn.value)*aa;ra.font=`${Go.value} normal ${Gn.value} ${sa}px/${ga}px ${Xn.value}`,ra.fillStyle=Yo.value,ra.textAlign="center",ra.textBaseline="top",ra.translate(ua/2,0);const ia=Array.isArray(ca)?ca:[ca];ia==null||ia.forEach((fa,ma)=>{ra.fillText(fa??"",ea,la+ma*(sa+FontGap*aa))})},ta=()=>{var ra;const ea=document.createElement("canvas"),la=ea.getContext("2d"),ua=$n.image,ga=(ra=$n.rotate)!==null&&ra!==void 0?ra:-22;if(la){Rn.value||(Rn.value=document.createElement("div"));const aa=getPixelRatio(),[ca,sa]=rr(la),ia=(Ln.value+ca)*aa,fa=(Fn.value+sa)*aa;ea.setAttribute("width",`${ia*BaseSize}px`),ea.setAttribute("height",`${fa*BaseSize}px`);const ma=Ln.value*aa/2,ya=Fn.value*aa/2,ba=ca*aa,Ia=sa*aa,Ea=(ba+Ln.value*aa)/2,xa=(Ia+Fn.value*aa)/2,Ta=ma+ia,wa=ya+fa,La=Ea+ia,Na=xa+fa;if(la.save(),rotateWatermark(la,Ea,xa,ga),ua){const $a=new Image;$a.onload=()=>{la.drawImage($a,ma,ya,ba,Ia),la.restore(),rotateWatermark(la,La,Na,ga),la.drawImage($a,Ta,wa,ba,Ia),Zo(ea.toDataURL(),ca)},$a.crossOrigin="anonymous",$a.referrerPolicy="no-referrer",$a.src=ua}else nr(la,ma,ya,ba,Ia),la.restore(),rotateWatermark(la,La,Na,ga),nr(la,Ta,wa,ba,Ia),Zo(ea.toDataURL(),ca)}};return onMounted(()=>{ta()}),watch(()=>[$n,In.value.colorFill,In.value.fontSizeLG],()=>{ta()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Jo()}),useMutationObserver(Nn,ra=>{Dn.value||ra.forEach(ea=>{reRendering(ea,Rn.value)&&(Jo(),ta())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var ra;return createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{ref:Nn,class:[Pn.class,$n.rootClassName],style:[{position:"relative"},Pn.style]}),[(ra=_n.default)===null||ra===void 0?void 0:ra.call(_n)])}}}),index$4=withInstall(Watermark);function getItemDisabledStyle($n,Cn){return{[`${$n}, ${$n}:hover, ${$n}:focus`]:{color:Cn.colorTextDisabled,cursor:"not-allowed"}}}function getItemSelectedStyle($n){return{backgroundColor:$n.bgColorSelected,boxShadow:$n.boxShadow}}const segmentedTextEllipsisCss=_extends$1({overflow:"hidden"},textEllipsis),genSegmentedStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1(_extends$1(_extends$1(_extends$1({},resetComponent($n)),{display:"inline-block",padding:$n.segmentedContainerPadding,color:$n.labelColor,backgroundColor:$n.bgColor,borderRadius:$n.borderRadius,transition:`all ${$n.motionDurationMid} ${$n.motionEaseInOut}`,[`${Cn}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${Cn}-rtl`]:{direction:"rtl"},[`&${Cn}-block`]:{display:"flex"},[`&${Cn}-block ${Cn}-item`]:{flex:1,minWidth:0},[`${Cn}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${$n.motionDurationMid} ${$n.motionEaseInOut}`,borderRadius:$n.borderRadiusSM,"&-selected":_extends$1(_extends$1({},getItemSelectedStyle($n)),{color:$n.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${$n.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${Cn}-item-selected):not(${Cn}-item-disabled)`]:{color:$n.labelColorHover,"&::after":{backgroundColor:$n.bgColorHover}},"&-label":_extends$1({minHeight:$n.controlHeight-$n.segmentedContainerPadding*2,lineHeight:`${$n.controlHeight-$n.segmentedContainerPadding*2}px`,padding:`0 ${$n.segmentedPaddingHorizontal}px`},segmentedTextEllipsisCss),"&-icon + *":{marginInlineStart:$n.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${Cn}-thumb`]:_extends$1(_extends$1({},getItemSelectedStyle($n)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${$n.paddingXXS}px 0`,borderRadius:$n.borderRadiusSM,[`& ~ ${Cn}-item:not(${Cn}-item-selected):not(${Cn}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${Cn}-lg`]:{borderRadius:$n.borderRadiusLG,[`${Cn}-item-label`]:{minHeight:$n.controlHeightLG-$n.segmentedContainerPadding*2,lineHeight:`${$n.controlHeightLG-$n.segmentedContainerPadding*2}px`,padding:`0 ${$n.segmentedPaddingHorizontal}px`,fontSize:$n.fontSizeLG},[`${Cn}-item, ${Cn}-thumb`]:{borderRadius:$n.borderRadius}},[`&${Cn}-sm`]:{borderRadius:$n.borderRadiusSM,[`${Cn}-item-label`]:{minHeight:$n.controlHeightSM-$n.segmentedContainerPadding*2,lineHeight:`${$n.controlHeightSM-$n.segmentedContainerPadding*2}px`,padding:`0 ${$n.segmentedPaddingHorizontalSM}px`},[`${Cn}-item, ${Cn}-thumb`]:{borderRadius:$n.borderRadiusXS}}}),getItemDisabledStyle(`&-disabled ${Cn}-item`,$n)),getItemDisabledStyle(`${Cn}-item-disabled`,$n)),{[`${Cn}-thumb-motion-appear-active`]:{transition:`transform ${$n.motionDurationSlow} ${$n.motionEaseInOut}, width ${$n.motionDurationSlow} ${$n.motionEaseInOut}`,willChange:"transform, width"}})}},useStyle$4=genComponentStyleHook("Segmented",$n=>{const{lineWidthBold:Cn,lineWidth:_n,colorTextLabel:Pn,colorText:In,colorFillSecondary:Nn,colorBgLayout:Rn,colorBgElevated:Dn}=$n,Ln=merge$1($n,{segmentedPaddingHorizontal:$n.controlPaddingHorizontal-_n,segmentedPaddingHorizontalSM:$n.controlPaddingHorizontalSM-_n,segmentedContainerPadding:Cn,labelColor:Pn,labelColorHover:In,bgColor:Rn,bgColorHover:Nn,bgColorSelected:Dn});return[genSegmentedStyle(Ln)]}),calcThumbStyle=$n=>$n?{left:$n.offsetLeft,right:$n.parentElement.clientWidth-$n.clientWidth-$n.offsetLeft,width:$n.clientWidth}:null,toPX=$n=>$n!==void 0?`${$n}px`:void 0,MotionThumb=defineComponent({props:{value:anyType(),getValueIndex:anyType(),prefixCls:anyType(),motionName:anyType(),onMotionStart:anyType(),onMotionEnd:anyType(),direction:anyType(),containerRef:anyType()},emits:["motionStart","motionEnd"],setup($n,Cn){let{emit:_n}=Cn;const Pn=ref(),In=Yn=>{var Gn;const Go=$n.getValueIndex(Yn),Xn=(Gn=$n.containerRef.value)===null||Gn===void 0?void 0:Gn.querySelectorAll(`.${$n.prefixCls}-item`)[Go];return(Xn==null?void 0:Xn.offsetParent)&&Xn},Nn=ref(null),Rn=ref(null);watch(()=>$n.value,(Yn,Gn)=>{const Go=In(Gn),Xn=In(Yn),Yo=calcThumbStyle(Go),qo=calcThumbStyle(Xn);Nn.value=Yo,Rn.value=qo,_n(Go&&Xn?"motionStart":"motionEnd")},{flush:"post"});const Dn=computed(()=>{var Yn,Gn;return $n.direction==="rtl"?toPX(-((Yn=Nn.value)===null||Yn===void 0?void 0:Yn.right)):toPX((Gn=Nn.value)===null||Gn===void 0?void 0:Gn.left)}),Ln=computed(()=>{var Yn,Gn;return $n.direction==="rtl"?toPX(-((Yn=Rn.value)===null||Yn===void 0?void 0:Yn.right)):toPX((Gn=Rn.value)===null||Gn===void 0?void 0:Gn.left)});let Fn;const Bn=Yn=>{clearTimeout(Fn),nextTick(()=>{Yn&&(Yn.style.transform="translateX(var(--thumb-start-left))",Yn.style.width="var(--thumb-start-width)")})},Hn=Yn=>{Fn=setTimeout(()=>{Yn&&(addClass(Yn,`${$n.motionName}-appear-active`),Yn.style.transform="translateX(var(--thumb-active-left))",Yn.style.width="var(--thumb-active-width)")})},zn=Yn=>{Nn.value=null,Rn.value=null,Yn&&(Yn.style.transform=null,Yn.style.width=null,removeClass(Yn,`${$n.motionName}-appear-active`)),_n("motionEnd")},Wn=computed(()=>{var Yn,Gn;return{"--thumb-start-left":Dn.value,"--thumb-start-width":toPX((Yn=Nn.value)===null||Yn===void 0?void 0:Yn.width),"--thumb-active-left":Ln.value,"--thumb-active-width":toPX((Gn=Rn.value)===null||Gn===void 0?void 0:Gn.width)}});return onBeforeUnmount(()=>{clearTimeout(Fn)}),()=>{const Yn={ref:Pn,style:Wn.value,class:[`${$n.prefixCls}-thumb`]};return createVNode(Transition,{appear:!0,onBeforeEnter:Bn,onEnter:Hn,onAfterEnter:zn},{default:()=>[!Nn.value||!Rn.value?null:createVNode("div",Yn,null)]})}}}),MotionThumb$1=MotionThumb;function normalizeOptions($n){return $n.map(Cn=>typeof Cn=="object"&&Cn!==null?Cn:{label:Cn==null?void 0:Cn.toString(),title:Cn==null?void 0:Cn.toString(),value:Cn})}const segmentedProps=()=>({prefixCls:String,options:arrayType(),block:booleanType(),disabled:booleanType(),size:stringType(),value:_extends$1(_extends$1({},someType([String,Number])),{required:!0}),motionName:String,onChange:functionType(),"onUpdate:value":functionType()}),SegmentedOption=($n,Cn)=>{let{slots:_n,emit:Pn}=Cn;const{value:In,disabled:Nn,payload:Rn,title:Dn,prefixCls:Ln,label:Fn=_n.label,checked:Bn,className:Hn}=$n,zn=Wn=>{Nn||Pn("change",Wn,In)};return createVNode("label",{class:classNames({[`${Ln}-item-disabled`]:Nn},Hn)},[createVNode("input",{class:`${Ln}-item-input`,type:"radio",disabled:Nn,checked:Bn,onChange:zn},null),createVNode("div",{class:`${Ln}-item-label`,title:typeof Dn=="string"?Dn:""},[typeof Fn=="function"?Fn({value:In,disabled:Nn,payload:Rn,title:Dn}):Fn??In])])};SegmentedOption.inheritAttrs=!1;const Segmented=defineComponent({name:"ASegmented",inheritAttrs:!1,props:initDefaultProps(segmentedProps(),{options:[],motionName:"thumb-motion"}),slots:Object,setup($n,Cn){let{emit:_n,slots:Pn,attrs:In}=Cn;const{prefixCls:Nn,direction:Rn,size:Dn}=useConfigInject("segmented",$n),[Ln,Fn]=useStyle$4(Nn),Bn=shallowRef(),Hn=shallowRef(!1),zn=computed(()=>normalizeOptions($n.options)),Wn=(Yn,Gn)=>{$n.disabled||(_n("update:value",Gn),_n("change",Gn))};return()=>{const Yn=Nn.value;return Ln(createVNode("div",_objectSpread2$1(_objectSpread2$1({},In),{},{class:classNames(Yn,{[Fn.value]:!0,[`${Yn}-block`]:$n.block,[`${Yn}-disabled`]:$n.disabled,[`${Yn}-lg`]:Dn.value=="large",[`${Yn}-sm`]:Dn.value=="small",[`${Yn}-rtl`]:Rn.value==="rtl"},In.class),ref:Bn}),[createVNode("div",{class:`${Yn}-group`},[createVNode(MotionThumb$1,{containerRef:Bn,prefixCls:Yn,value:$n.value,motionName:`${Yn}-${$n.motionName}`,direction:Rn.value,getValueIndex:Gn=>zn.value.findIndex(Go=>Go.value===Gn),onMotionStart:()=>{Hn.value=!0},onMotionEnd:()=>{Hn.value=!1}},null),zn.value.map(Gn=>createVNode(SegmentedOption,_objectSpread2$1(_objectSpread2$1({key:Gn.value,prefixCls:Yn,checked:Gn.value===$n.value,onChange:Wn},Gn),{},{className:classNames(Gn.className,`${Yn}-item`,{[`${Yn}-item-selected`]:Gn.value===$n.value&&!Hn.value}),disabled:!!$n.disabled||!!Gn.disabled}),Pn))])]))}}}),index$3=withInstall(Segmented),genQRCodeStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{display:"flex",justifyContent:"center",alignItems:"center",padding:$n.paddingSM,backgroundColor:$n.colorWhite,borderRadius:$n.borderRadiusLG,border:`${$n.lineWidth}px ${$n.lineType} ${$n.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${Cn}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:$n.colorText,lineHeight:$n.lineHeight,background:$n.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${Cn}-expired , & > ${Cn}-scanned`]:{color:$n.QRCodeTextColor}},"&-icon":{marginBlockEnd:$n.marginXS,fontSize:$n.controlHeight}}),[`${Cn}-borderless`]:{borderColor:"transparent"}}},useStyle$3=genComponentStyleHook("QRCode",$n=>genQRCodeStyle(merge$1($n,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var ReloadOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const ReloadOutlinedSvg=ReloadOutlined$2;function _objectSpread($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn]!=null?Object(arguments[Cn]):{},Pn=Object.keys(_n);typeof Object.getOwnPropertySymbols=="function"&&(Pn=Pn.concat(Object.getOwnPropertySymbols(_n).filter(function(In){return Object.getOwnPropertyDescriptor(_n,In).enumerable}))),Pn.forEach(function(In){_defineProperty($n,In,_n[In])})}return $n}function _defineProperty($n,Cn,_n){return Cn in $n?Object.defineProperty($n,Cn,{value:_n,enumerable:!0,configurable:!0,writable:!0}):$n[Cn]=_n,$n}var ReloadOutlined=function(Cn,_n){var Pn=_objectSpread({},Cn,_n.attrs);return createVNode(AntdIcon,_objectSpread({},Pn,{icon:ReloadOutlinedSvg}),null)};ReloadOutlined.displayName="ReloadOutlined";ReloadOutlined.inheritAttrs=!1;const ReloadOutlined$1=ReloadOutlined,qrProps=()=>({size:{type:Number,default:160},value:{type:String,required:!0},type:stringType("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:objectType()}),qrcodeProps=()=>_extends$1(_extends$1({},qrProps()),{errorLevel:stringType("M"),icon:String,iconSize:{type:Number,default:40},status:stringType("active"),bordered:{type:Boolean,default:!0}});/**
- * @license QR Code generator library (TypeScript)
- * Copyright (c) Project Nayuki.
- * SPDX-License-Identifier: MIT
- */var qrcodegen;(function($n){class Cn{static encodeText(Dn,Ln){const Fn=$n.QrSegment.makeSegments(Dn);return Cn.encodeSegments(Fn,Ln)}static encodeBinary(Dn,Ln){const Fn=$n.QrSegment.makeBytes(Dn);return Cn.encodeSegments([Fn],Ln)}static encodeSegments(Dn,Ln){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,Hn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,zn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(Cn.MIN_VERSION<=Fn&&Fn<=Bn&&Bn<=Cn.MAX_VERSION)||Hn<-1||Hn>7)throw new RangeError("Invalid value");let Wn,Yn;for(Wn=Fn;;Wn++){const Yo=Cn.getNumDataCodewords(Wn,Ln)*8,qo=Nn.getTotalBits(Dn,Wn);if(qo<=Yo){Yn=qo;break}if(Wn>=Bn)throw new RangeError("Data too long")}for(const Yo of[Cn.Ecc.MEDIUM,Cn.Ecc.QUARTILE,Cn.Ecc.HIGH])zn&&Yn<=Cn.getNumDataCodewords(Wn,Yo)*8&&(Ln=Yo);const Gn=[];for(const Yo of Dn){_n(Yo.mode.modeBits,4,Gn),_n(Yo.numChars,Yo.mode.numCharCountBits(Wn),Gn);for(const qo of Yo.getData())Gn.push(qo)}In(Gn.length==Yn);const Go=Cn.getNumDataCodewords(Wn,Ln)*8;In(Gn.length<=Go),_n(0,Math.min(4,Go-Gn.length),Gn),_n(0,(8-Gn.length%8)%8,Gn),In(Gn.length%8==0);for(let Yo=236;Gn.length<Go;Yo^=253)_n(Yo,8,Gn);const Xn=[];for(;Xn.length*8<Gn.length;)Xn.push(0);return Gn.forEach((Yo,qo)=>Xn[qo>>>3]|=Yo<<7-(qo&7)),new Cn(Wn,Ln,Xn,Hn)}constructor(Dn,Ln,Fn,Bn){if(this.version=Dn,this.errorCorrectionLevel=Ln,this.modules=[],this.isFunction=[],Dn<Cn.MIN_VERSION||Dn>Cn.MAX_VERSION)throw new RangeError("Version value out of range");if(Bn<-1||Bn>7)throw new RangeError("Mask value out of range");this.size=Dn*4+17;const Hn=[];for(let Wn=0;Wn<this.size;Wn++)Hn.push(!1);for(let Wn=0;Wn<this.size;Wn++)this.modules.push(Hn.slice()),this.isFunction.push(Hn.slice());this.drawFunctionPatterns();const zn=this.addEccAndInterleave(Fn);if(this.drawCodewords(zn),Bn==-1){let Wn=1e9;for(let Yn=0;Yn<8;Yn++){this.applyMask(Yn),this.drawFormatBits(Yn);const Gn=this.getPenaltyScore();Gn<Wn&&(Bn=Yn,Wn=Gn),this.applyMask(Yn)}}In(0<=Bn&&Bn<=7),this.mask=Bn,this.applyMask(Bn),this.drawFormatBits(Bn),this.isFunction=[]}getModule(Dn,Ln){return 0<=Dn&&Dn<this.size&&0<=Ln&&Ln<this.size&&this.modules[Ln][Dn]}getModules(){return this.modules}drawFunctionPatterns(){for(let Fn=0;Fn<this.size;Fn++)this.setFunctionModule(6,Fn,Fn%2==0),this.setFunctionModule(Fn,6,Fn%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const Dn=this.getAlignmentPatternPositions(),Ln=Dn.length;for(let Fn=0;Fn<Ln;Fn++)for(let Bn=0;Bn<Ln;Bn++)Fn==0&&Bn==0||Fn==0&&Bn==Ln-1||Fn==Ln-1&&Bn==0||this.drawAlignmentPattern(Dn[Fn],Dn[Bn]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(Dn){const Ln=this.errorCorrectionLevel.formatBits<<3|Dn;let Fn=Ln;for(let Hn=0;Hn<10;Hn++)Fn=Fn<<1^(Fn>>>9)*1335;const Bn=(Ln<<10|Fn)^21522;In(Bn>>>15==0);for(let Hn=0;Hn<=5;Hn++)this.setFunctionModule(8,Hn,Pn(Bn,Hn));this.setFunctionModule(8,7,Pn(Bn,6)),this.setFunctionModule(8,8,Pn(Bn,7)),this.setFunctionModule(7,8,Pn(Bn,8));for(let Hn=9;Hn<15;Hn++)this.setFunctionModule(14-Hn,8,Pn(Bn,Hn));for(let Hn=0;Hn<8;Hn++)this.setFunctionModule(this.size-1-Hn,8,Pn(Bn,Hn));for(let Hn=8;Hn<15;Hn++)this.setFunctionModule(8,this.size-15+Hn,Pn(Bn,Hn));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let Dn=this.version;for(let Fn=0;Fn<12;Fn++)Dn=Dn<<1^(Dn>>>11)*7973;const Ln=this.version<<12|Dn;In(Ln>>>18==0);for(let Fn=0;Fn<18;Fn++){const Bn=Pn(Ln,Fn),Hn=this.size-11+Fn%3,zn=Math.floor(Fn/3);this.setFunctionModule(Hn,zn,Bn),this.setFunctionModule(zn,Hn,Bn)}}drawFinderPattern(Dn,Ln){for(let Fn=-4;Fn<=4;Fn++)for(let Bn=-4;Bn<=4;Bn++){const Hn=Math.max(Math.abs(Bn),Math.abs(Fn)),zn=Dn+Bn,Wn=Ln+Fn;0<=zn&&zn<this.size&&0<=Wn&&Wn<this.size&&this.setFunctionModule(zn,Wn,Hn!=2&&Hn!=4)}}drawAlignmentPattern(Dn,Ln){for(let Fn=-2;Fn<=2;Fn++)for(let Bn=-2;Bn<=2;Bn++)this.setFunctionModule(Dn+Bn,Ln+Fn,Math.max(Math.abs(Bn),Math.abs(Fn))!=1)}setFunctionModule(Dn,Ln,Fn){this.modules[Ln][Dn]=Fn,this.isFunction[Ln][Dn]=!0}addEccAndInterleave(Dn){const Ln=this.version,Fn=this.errorCorrectionLevel;if(Dn.length!=Cn.getNumDataCodewords(Ln,Fn))throw new RangeError("Invalid argument");const Bn=Cn.NUM_ERROR_CORRECTION_BLOCKS[Fn.ordinal][Ln],Hn=Cn.ECC_CODEWORDS_PER_BLOCK[Fn.ordinal][Ln],zn=Math.floor(Cn.getNumRawDataModules(Ln)/8),Wn=Bn-zn%Bn,Yn=Math.floor(zn/Bn),Gn=[],Go=Cn.reedSolomonComputeDivisor(Hn);for(let Yo=0,qo=0;Yo<Bn;Yo++){const Jo=Dn.slice(qo,qo+Yn-Hn+(Yo<Wn?0:1));qo+=Jo.length;const Zo=Cn.reedSolomonComputeRemainder(Jo,Go);Yo<Wn&&Jo.push(0),Gn.push(Jo.concat(Zo))}const Xn=[];for(let Yo=0;Yo<Gn[0].length;Yo++)Gn.forEach((qo,Jo)=>{(Yo!=Yn-Hn||Jo>=Wn)&&Xn.push(qo[Yo])});return In(Xn.length==zn),Xn}drawCodewords(Dn){if(Dn.length!=Math.floor(Cn.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let Ln=0;for(let Fn=this.size-1;Fn>=1;Fn-=2){Fn==6&&(Fn=5);for(let Bn=0;Bn<this.size;Bn++)for(let Hn=0;Hn<2;Hn++){const zn=Fn-Hn,Yn=(Fn+1&2)==0?this.size-1-Bn:Bn;!this.isFunction[Yn][zn]&&Ln<Dn.length*8&&(this.modules[Yn][zn]=Pn(Dn[Ln>>>3],7-(Ln&7)),Ln++)}}In(Ln==Dn.length*8)}applyMask(Dn){if(Dn<0||Dn>7)throw new RangeError("Mask value out of range");for(let Ln=0;Ln<this.size;Ln++)for(let Fn=0;Fn<this.size;Fn++){let Bn;switch(Dn){case 0:Bn=(Fn+Ln)%2==0;break;case 1:Bn=Ln%2==0;break;case 2:Bn=Fn%3==0;break;case 3:Bn=(Fn+Ln)%3==0;break;case 4:Bn=(Math.floor(Fn/3)+Math.floor(Ln/2))%2==0;break;case 5:Bn=Fn*Ln%2+Fn*Ln%3==0;break;case 6:Bn=(Fn*Ln%2+Fn*Ln%3)%2==0;break;case 7:Bn=((Fn+Ln)%2+Fn*Ln%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[Ln][Fn]&&Bn&&(this.modules[Ln][Fn]=!this.modules[Ln][Fn])}}getPenaltyScore(){let Dn=0;for(let Hn=0;Hn<this.size;Hn++){let zn=!1,Wn=0;const Yn=[0,0,0,0,0,0,0];for(let Gn=0;Gn<this.size;Gn++)this.modules[Hn][Gn]==zn?(Wn++,Wn==5?Dn+=Cn.PENALTY_N1:Wn>5&&Dn++):(this.finderPenaltyAddHistory(Wn,Yn),zn||(Dn+=this.finderPenaltyCountPatterns(Yn)*Cn.PENALTY_N3),zn=this.modules[Hn][Gn],Wn=1);Dn+=this.finderPenaltyTerminateAndCount(zn,Wn,Yn)*Cn.PENALTY_N3}for(let Hn=0;Hn<this.size;Hn++){let zn=!1,Wn=0;const Yn=[0,0,0,0,0,0,0];for(let Gn=0;Gn<this.size;Gn++)this.modules[Gn][Hn]==zn?(Wn++,Wn==5?Dn+=Cn.PENALTY_N1:Wn>5&&Dn++):(this.finderPenaltyAddHistory(Wn,Yn),zn||(Dn+=this.finderPenaltyCountPatterns(Yn)*Cn.PENALTY_N3),zn=this.modules[Gn][Hn],Wn=1);Dn+=this.finderPenaltyTerminateAndCount(zn,Wn,Yn)*Cn.PENALTY_N3}for(let Hn=0;Hn<this.size-1;Hn++)for(let zn=0;zn<this.size-1;zn++){const Wn=this.modules[Hn][zn];Wn==this.modules[Hn][zn+1]&&Wn==this.modules[Hn+1][zn]&&Wn==this.modules[Hn+1][zn+1]&&(Dn+=Cn.PENALTY_N2)}let Ln=0;for(const Hn of this.modules)Ln=Hn.reduce((zn,Wn)=>zn+(Wn?1:0),Ln);const Fn=this.size*this.size,Bn=Math.ceil(Math.abs(Ln*20-Fn*10)/Fn)-1;return In(0<=Bn&&Bn<=9),Dn+=Bn*Cn.PENALTY_N4,In(0<=Dn&&Dn<=2568888),Dn}getAlignmentPatternPositions(){if(this.version==1)return[];{const Dn=Math.floor(this.version/7)+2,Ln=this.version==32?26:Math.ceil((this.version*4+4)/(Dn*2-2))*2,Fn=[6];for(let Bn=this.size-7;Fn.length<Dn;Bn-=Ln)Fn.splice(1,0,Bn);return Fn}}static getNumRawDataModules(Dn){if(Dn<Cn.MIN_VERSION||Dn>Cn.MAX_VERSION)throw new RangeError("Version number out of range");let Ln=(16*Dn+128)*Dn+64;if(Dn>=2){const Fn=Math.floor(Dn/7)+2;Ln-=(25*Fn-10)*Fn-55,Dn>=7&&(Ln-=36)}return In(208<=Ln&&Ln<=29648),Ln}static getNumDataCodewords(Dn,Ln){return Math.floor(Cn.getNumRawDataModules(Dn)/8)-Cn.ECC_CODEWORDS_PER_BLOCK[Ln.ordinal][Dn]*Cn.NUM_ERROR_CORRECTION_BLOCKS[Ln.ordinal][Dn]}static reedSolomonComputeDivisor(Dn){if(Dn<1||Dn>255)throw new RangeError("Degree out of range");const Ln=[];for(let Bn=0;Bn<Dn-1;Bn++)Ln.push(0);Ln.push(1);let Fn=1;for(let Bn=0;Bn<Dn;Bn++){for(let Hn=0;Hn<Ln.length;Hn++)Ln[Hn]=Cn.reedSolomonMultiply(Ln[Hn],Fn),Hn+1<Ln.length&&(Ln[Hn]^=Ln[Hn+1]);Fn=Cn.reedSolomonMultiply(Fn,2)}return Ln}static reedSolomonComputeRemainder(Dn,Ln){const Fn=Ln.map(Bn=>0);for(const Bn of Dn){const Hn=Bn^Fn.shift();Fn.push(0),Ln.forEach((zn,Wn)=>Fn[Wn]^=Cn.reedSolomonMultiply(zn,Hn))}return Fn}static reedSolomonMultiply(Dn,Ln){if(Dn>>>8||Ln>>>8)throw new RangeError("Byte out of range");let Fn=0;for(let Bn=7;Bn>=0;Bn--)Fn=Fn<<1^(Fn>>>7)*285,Fn^=(Ln>>>Bn&1)*Dn;return In(Fn>>>8==0),Fn}finderPenaltyCountPatterns(Dn){const Ln=Dn[1];In(Ln<=this.size*3);const Fn=Ln>0&&Dn[2]==Ln&&Dn[3]==Ln*3&&Dn[4]==Ln&&Dn[5]==Ln;return(Fn&&Dn[0]>=Ln*4&&Dn[6]>=Ln?1:0)+(Fn&&Dn[6]>=Ln*4&&Dn[0]>=Ln?1:0)}finderPenaltyTerminateAndCount(Dn,Ln,Fn){return Dn&&(this.finderPenaltyAddHistory(Ln,Fn),Ln=0),Ln+=this.size,this.finderPenaltyAddHistory(Ln,Fn),this.finderPenaltyCountPatterns(Fn)}finderPenaltyAddHistory(Dn,Ln){Ln[0]==0&&(Dn+=this.size),Ln.pop(),Ln.unshift(Dn)}}Cn.MIN_VERSION=1,Cn.MAX_VERSION=40,Cn.PENALTY_N1=3,Cn.PENALTY_N2=3,Cn.PENALTY_N3=40,Cn.PENALTY_N4=10,Cn.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],Cn.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],$n.QrCode=Cn;function _n(Rn,Dn,Ln){if(Dn<0||Dn>31||Rn>>>Dn)throw new RangeError("Value out of range");for(let Fn=Dn-1;Fn>=0;Fn--)Ln.push(Rn>>>Fn&1)}function Pn(Rn,Dn){return(Rn>>>Dn&1)!=0}function In(Rn){if(!Rn)throw new Error("Assertion error")}class Nn{static makeBytes(Dn){const Ln=[];for(const Fn of Dn)_n(Fn,8,Ln);return new Nn(Nn.Mode.BYTE,Dn.length,Ln)}static makeNumeric(Dn){if(!Nn.isNumeric(Dn))throw new RangeError("String contains non-numeric characters");const Ln=[];for(let Fn=0;Fn<Dn.length;){const Bn=Math.min(Dn.length-Fn,3);_n(parseInt(Dn.substring(Fn,Fn+Bn),10),Bn*3+1,Ln),Fn+=Bn}return new Nn(Nn.Mode.NUMERIC,Dn.length,Ln)}static makeAlphanumeric(Dn){if(!Nn.isAlphanumeric(Dn))throw new RangeError("String contains unencodable characters in alphanumeric mode");const Ln=[];let Fn;for(Fn=0;Fn+2<=Dn.length;Fn+=2){let Bn=Nn.ALPHANUMERIC_CHARSET.indexOf(Dn.charAt(Fn))*45;Bn+=Nn.ALPHANUMERIC_CHARSET.indexOf(Dn.charAt(Fn+1)),_n(Bn,11,Ln)}return Fn<Dn.length&&_n(Nn.ALPHANUMERIC_CHARSET.indexOf(Dn.charAt(Fn)),6,Ln),new Nn(Nn.Mode.ALPHANUMERIC,Dn.length,Ln)}static makeSegments(Dn){return Dn==""?[]:Nn.isNumeric(Dn)?[Nn.makeNumeric(Dn)]:Nn.isAlphanumeric(Dn)?[Nn.makeAlphanumeric(Dn)]:[Nn.makeBytes(Nn.toUtf8ByteArray(Dn))]}static makeEci(Dn){const Ln=[];if(Dn<0)throw new RangeError("ECI assignment value out of range");if(Dn<128)_n(Dn,8,Ln);else if(Dn<16384)_n(2,2,Ln),_n(Dn,14,Ln);else if(Dn<1e6)_n(6,3,Ln),_n(Dn,21,Ln);else throw new RangeError("ECI assignment value out of range");return new Nn(Nn.Mode.ECI,0,Ln)}static isNumeric(Dn){return Nn.NUMERIC_REGEX.test(Dn)}static isAlphanumeric(Dn){return Nn.ALPHANUMERIC_REGEX.test(Dn)}constructor(Dn,Ln,Fn){if(this.mode=Dn,this.numChars=Ln,this.bitData=Fn,Ln<0)throw new RangeError("Invalid argument");this.bitData=Fn.slice()}getData(){return this.bitData.slice()}static getTotalBits(Dn,Ln){let Fn=0;for(const Bn of Dn){const Hn=Bn.mode.numCharCountBits(Ln);if(Bn.numChars>=1<<Hn)return 1/0;Fn+=4+Hn+Bn.bitData.length}return Fn}static toUtf8ByteArray(Dn){Dn=encodeURI(Dn);const Ln=[];for(let Fn=0;Fn<Dn.length;Fn++)Dn.charAt(Fn)!="%"?Ln.push(Dn.charCodeAt(Fn)):(Ln.push(parseInt(Dn.substring(Fn+1,Fn+3),16)),Fn+=2);return Ln}}Nn.NUMERIC_REGEX=/^[0-9]*$/,Nn.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,Nn.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",$n.QrSegment=Nn})(qrcodegen||(qrcodegen={}));(function($n){(function(Cn){class _n{constructor(In,Nn){this.ordinal=In,this.formatBits=Nn}}_n.LOW=new _n(0,1),_n.MEDIUM=new _n(1,0),_n.QUARTILE=new _n(2,3),_n.HIGH=new _n(3,2),Cn.Ecc=_n})($n.QrCode||($n.QrCode={}))})(qrcodegen||(qrcodegen={}));(function($n){(function(Cn){class _n{constructor(In,Nn){this.modeBits=In,this.numBitsCharCount=Nn}numCharCountBits(In){return this.numBitsCharCount[Math.floor((In+7)/17)]}}_n.NUMERIC=new _n(1,[10,12,14]),_n.ALPHANUMERIC=new _n(2,[9,11,13]),_n.BYTE=new _n(4,[8,16,16]),_n.KANJI=new _n(8,[8,10,12]),_n.ECI=new _n(7,[0,0,0]),Cn.Mode=_n})($n.QrSegment||($n.QrSegment={}))})(qrcodegen||(qrcodegen={}));const qrcodegen$1=qrcodegen,ERROR_LEVEL_MAP={L:qrcodegen$1.QrCode.Ecc.LOW,M:qrcodegen$1.QrCode.Ecc.MEDIUM,Q:qrcodegen$1.QrCode.Ecc.QUARTILE,H:qrcodegen$1.QrCode.Ecc.HIGH},DEFAULT_SIZE=128,DEFAULT_LEVEL="L",DEFAULT_BGCOLOR="#FFFFFF",DEFAULT_FGCOLOR="#000000",DEFAULT_INCLUDEMARGIN=!1,SPEC_MARGIN_SIZE=4,DEFAULT_MARGIN_SIZE=0,DEFAULT_IMG_SCALE=.1;function generatePath($n){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const _n=[];return $n.forEach(function(Pn,In){let Nn=null;Pn.forEach(function(Rn,Dn){if(!Rn&&Nn!==null){_n.push(`M${Nn+Cn} ${In+Cn}h${Dn-Nn}v1H${Nn+Cn}z`),Nn=null;return}if(Dn===Pn.length-1){if(!Rn)return;Nn===null?_n.push(`M${Dn+Cn},${In+Cn} h1v1H${Dn+Cn}z`):_n.push(`M${Nn+Cn},${In+Cn} h${Dn+1-Nn}v1H${Nn+Cn}z`);return}Rn&&Nn===null&&(Nn=Dn)})}),_n.join("")}function excavateModules($n,Cn){return $n.slice().map((_n,Pn)=>Pn<Cn.y||Pn>=Cn.y+Cn.h?_n:_n.map((In,Nn)=>Nn<Cn.x||Nn>=Cn.x+Cn.w?In:!1))}function getImageSettings($n,Cn,_n,Pn){if(Pn==null)return null;const In=$n.length+_n*2,Nn=Math.floor(Cn*DEFAULT_IMG_SCALE),Rn=In/Cn,Dn=(Pn.width||Nn)*Rn,Ln=(Pn.height||Nn)*Rn,Fn=Pn.x==null?$n.length/2-Dn/2:Pn.x*Rn,Bn=Pn.y==null?$n.length/2-Ln/2:Pn.y*Rn;let Hn=null;if(Pn.excavate){const zn=Math.floor(Fn),Wn=Math.floor(Bn),Yn=Math.ceil(Dn+Fn-zn),Gn=Math.ceil(Ln+Bn-Wn);Hn={x:zn,y:Wn,w:Yn,h:Gn}}return{x:Fn,y:Bn,h:Ln,w:Dn,excavation:Hn}}function getMarginSize($n,Cn){return Cn!=null?Math.floor(Cn):$n?SPEC_MARGIN_SIZE:DEFAULT_MARGIN_SIZE}const SUPPORTS_PATH2D=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),QRCodeCanvas=defineComponent({name:"QRCodeCanvas",inheritAttrs:!1,props:_extends$1(_extends$1({},qrProps()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup($n,Cn){let{attrs:_n,expose:Pn}=Cn;const In=computed(()=>{var Ln;return(Ln=$n.imageSettings)===null||Ln===void 0?void 0:Ln.src}),Nn=shallowRef(null),Rn=shallowRef(null),Dn=shallowRef(!1);return Pn({toDataURL:(Ln,Fn)=>{var Bn;return(Bn=Nn.value)===null||Bn===void 0?void 0:Bn.toDataURL(Ln,Fn)}}),watchEffect(()=>{const{value:Ln,size:Fn=DEFAULT_SIZE,level:Bn=DEFAULT_LEVEL,bgColor:Hn=DEFAULT_BGCOLOR,fgColor:zn=DEFAULT_FGCOLOR,includeMargin:Wn=DEFAULT_INCLUDEMARGIN,marginSize:Yn,imageSettings:Gn}=$n;if(Nn.value!=null){const Go=Nn.value,Xn=Go.getContext("2d");if(!Xn)return;let Yo=qrcodegen$1.QrCode.encodeText(Ln,ERROR_LEVEL_MAP[Bn]).getModules();const qo=getMarginSize(Wn,Yn),Jo=Yo.length+qo*2,Zo=getImageSettings(Yo,Fn,qo,Gn),rr=Rn.value,nr=Dn.value&&Zo!=null&&rr!==null&&rr.complete&&rr.naturalHeight!==0&&rr.naturalWidth!==0;nr&&Zo.excavation!=null&&(Yo=excavateModules(Yo,Zo.excavation));const ta=window.devicePixelRatio||1;Go.height=Go.width=Fn*ta;const oa=Fn/Jo*ta;Xn.scale(oa,oa),Xn.fillStyle=Hn,Xn.fillRect(0,0,Jo,Jo),Xn.fillStyle=zn,SUPPORTS_PATH2D?Xn.fill(new Path2D(generatePath(Yo,qo))):Yo.forEach(function(ra,ea){ra.forEach(function(la,ua){la&&Xn.fillRect(ua+qo,ea+qo,1,1)})}),nr&&Xn.drawImage(rr,Zo.x+qo,Zo.y+qo,Zo.w,Zo.h)}},{flush:"post"}),watch(In,()=>{Dn.value=!1}),()=>{var Ln;const Fn=(Ln=$n.size)!==null&&Ln!==void 0?Ln:DEFAULT_SIZE,Bn={height:`${Fn}px`,width:`${Fn}px`};let Hn=null;return In.value!=null&&(Hn=createVNode("img",{src:In.value,key:In.value,style:{display:"none"},onLoad:()=>{Dn.value=!0},ref:Rn},null)),createVNode(Fragment,null,[createVNode("canvas",_objectSpread2$1(_objectSpread2$1({},_n),{},{style:[Bn,_n.style],ref:Nn}),null),Hn])}}}),QRCodeSVG=defineComponent({name:"QRCodeSVG",inheritAttrs:!1,props:_extends$1(_extends$1({},qrProps()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup($n){let Cn=null,_n=null,Pn=null,In=null,Nn=null,Rn=null;return watchEffect(()=>{const{value:Dn,size:Ln=DEFAULT_SIZE,level:Fn=DEFAULT_LEVEL,includeMargin:Bn=DEFAULT_INCLUDEMARGIN,marginSize:Hn,imageSettings:zn}=$n;Cn=qrcodegen$1.QrCode.encodeText(Dn,ERROR_LEVEL_MAP[Fn]).getModules(),_n=getMarginSize(Bn,Hn),Pn=Cn.length+_n*2,In=getImageSettings(Cn,Ln,_n,zn),zn!=null&&In!=null&&(In.excavation!=null&&(Cn=excavateModules(Cn,In.excavation)),Rn=createVNode("image",{"xlink:href":zn.src,height:In.h,width:In.w,x:In.x+_n,y:In.y+_n,preserveAspectRatio:"none"},null)),Nn=generatePath(Cn,_n)}),()=>{const Dn=$n.bgColor&&DEFAULT_BGCOLOR,Ln=$n.fgColor&&DEFAULT_FGCOLOR;return createVNode("svg",{height:$n.size,width:$n.size,viewBox:`0 0 ${Pn} ${Pn}`},[!!$n.title&&createVNode("title",null,[$n.title]),createVNode("path",{fill:Dn,d:`M0,0 h${Pn}v${Pn}H0z`,"shape-rendering":"crispEdges"},null),createVNode("path",{fill:Ln,d:Nn,"shape-rendering":"crispEdges"},null),Rn])}}}),QRCode=defineComponent({name:"AQrcode",inheritAttrs:!1,props:qrcodeProps(),emits:["refresh"],setup($n,Cn){let{emit:_n,attrs:Pn,expose:In}=Cn;const[Nn]=useLocaleReceiver("QRCode"),{prefixCls:Rn}=useConfigInject("qrcode",$n),[Dn,Ln]=useStyle$3(Rn),[,Fn]=useToken(),Bn=ref();In({toDataURL:(zn,Wn)=>{var Yn;return(Yn=Bn.value)===null||Yn===void 0?void 0:Yn.toDataURL(zn,Wn)}});const Hn=computed(()=>{const{value:zn,icon:Wn="",size:Yn=160,iconSize:Gn=40,color:Go=Fn.value.colorText,bgColor:Xn="transparent",errorLevel:Yo="M"}=$n,qo={src:Wn,x:void 0,y:void 0,height:Gn,width:Gn,excavate:!0};return{value:zn,size:Yn-(Fn.value.paddingSM+Fn.value.lineWidth)*2,level:Yo,bgColor:Xn,fgColor:Go,imageSettings:Wn?qo:void 0}});return()=>{const zn=Rn.value;return Dn(createVNode("div",_objectSpread2$1(_objectSpread2$1({},Pn),{},{style:[Pn.style,{width:`${$n.size}px`,height:`${$n.size}px`,backgroundColor:Hn.value.bgColor}],class:[Ln.value,zn,{[`${zn}-borderless`]:!$n.bordered}]}),[$n.status!=="active"&&createVNode("div",{class:`${zn}-mask`},[$n.status==="loading"&&createVNode(Spin,null,null),$n.status==="expired"&&createVNode(Fragment,null,[createVNode("p",{class:`${zn}-expired`},[Nn.value.expired]),createVNode(Button$1,{type:"link",onClick:Wn=>_n("refresh",Wn)},{default:()=>[Nn.value.refresh],icon:()=>createVNode(ReloadOutlined$1,null,null)})]),$n.status==="scanned"&&createVNode("p",{class:`${zn}-scanned`},[Nn.value.scanned])]),$n.type==="canvas"?createVNode(QRCodeCanvas,_objectSpread2$1({ref:Bn},Hn.value),null):createVNode(QRCodeSVG,Hn.value,null)]))}}}),index$2=withInstall(QRCode);function isInViewPort($n){const Cn=window.innerWidth||document.documentElement.clientWidth,_n=window.innerHeight||document.documentElement.clientHeight,{top:Pn,right:In,bottom:Nn,left:Rn}=$n.getBoundingClientRect();return Pn>=0&&Rn>=0&&In<=Cn&&Nn<=_n}function useTarget($n,Cn,_n,Pn){const[In,Nn]=useState(void 0);watchEffect(()=>{const Bn=typeof $n.value=="function"?$n.value():$n.value;Nn(Bn||null)},{flush:"post"});const[Rn,Dn]=useState(null),Ln=()=>{if(!Cn.value){Dn(null);return}if(In.value){!isInViewPort(In.value)&&Cn.value&&In.value.scrollIntoView(Pn.value);const{left:Bn,top:Hn,width:zn,height:Wn}=In.value.getBoundingClientRect(),Yn={left:Bn,top:Hn,width:zn,height:Wn,radius:0};JSON.stringify(Rn.value)!==JSON.stringify(Yn)&&Dn(Yn)}else Dn(null)};return onMounted(()=>{watch([Cn,In],()=>{Ln()},{flush:"post",immediate:!0}),window.addEventListener("resize",Ln)}),onBeforeUnmount(()=>{window.removeEventListener("resize",Ln)}),[computed(()=>{var Bn,Hn;if(!Rn.value)return Rn.value;const zn=((Bn=_n.value)===null||Bn===void 0?void 0:Bn.offset)||6,Wn=((Hn=_n.value)===null||Hn===void 0?void 0:Hn.radius)||2;return{left:Rn.value.left-zn,top:Rn.value.top-zn,width:Rn.value.width+zn*2,height:Rn.value.height+zn*2,radius:Wn}}),In]}const tourStepInfo=()=>({arrow:someType([Boolean,Object]),target:someType([String,Function,Object]),title:someType([String,Object]),description:someType([String,Object]),placement:stringType(),mask:someType([Object,Boolean],!0),className:{type:String},style:objectType(),scrollIntoViewOptions:someType([Boolean,Object])}),tourStepProps$1=()=>_extends$1(_extends$1({},tourStepInfo()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:functionType(),onFinish:functionType(),renderPanel:functionType(),onPrev:functionType(),onNext:functionType()}),DefaultPanel=defineComponent({name:"DefaultPanel",inheritAttrs:!1,props:tourStepProps$1(),setup($n,Cn){let{attrs:_n}=Cn;return()=>{const{prefixCls:Pn,current:In,total:Nn,title:Rn,description:Dn,onClose:Ln,onPrev:Fn,onNext:Bn,onFinish:Hn}=$n;return createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{class:classNames(`${Pn}-content`,_n.class)}),[createVNode("div",{class:`${Pn}-inner`},[createVNode("button",{type:"button",onClick:Ln,"aria-label":"Close",class:`${Pn}-close`},[createVNode("span",{class:`${Pn}-close-x`},[createTextVNode("×")])]),createVNode("div",{class:`${Pn}-header`},[createVNode("div",{class:`${Pn}-title`},[Rn])]),createVNode("div",{class:`${Pn}-description`},[Dn]),createVNode("div",{class:`${Pn}-footer`},[createVNode("div",{class:`${Pn}-sliders`},[Nn>1?[...Array.from({length:Nn}).keys()].map((zn,Wn)=>createVNode("span",{key:zn,class:Wn===In?"active":""},null)):null]),createVNode("div",{class:`${Pn}-buttons`},[In!==0?createVNode("button",{class:`${Pn}-prev-btn`,onClick:Fn},[createTextVNode("Prev")]):null,In===Nn-1?createVNode("button",{class:`${Pn}-finish-btn`,onClick:Hn},[createTextVNode("Finish")]):createVNode("button",{class:`${Pn}-next-btn`,onClick:Bn},[createTextVNode("Next")])])])])])}}}),DefaultPanel$1=DefaultPanel,TourStep=defineComponent({name:"TourStep",inheritAttrs:!1,props:tourStepProps$1(),setup($n,Cn){let{attrs:_n}=Cn;return()=>{const{current:Pn,renderPanel:In}=$n;return createVNode(Fragment,null,[typeof In=="function"?In(_extends$1(_extends$1({},_n),$n),Pn):createVNode(DefaultPanel$1,_objectSpread2$1(_objectSpread2$1({},_n),$n),null)])}}}),TourStep$1=TourStep;let uuid=0;const isBrowserClient=canUseDom$1();function getUUID(){let $n;return isBrowserClient?($n=uuid,uuid+=1):$n="TEST_OR_SSR",$n}function useId(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ref("");const Cn=`vc_unique_${getUUID()}`;return $n.value||Cn}const COVER_PROPS={fill:"transparent","pointer-events":"auto"},Mask=defineComponent({name:"TourMask",props:{prefixCls:{type:String},pos:objectType(),rootClassName:{type:String},showMask:booleanType(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:booleanType(),animated:someType([Boolean,Object]),zIndex:{type:Number}},setup($n,Cn){let{attrs:_n}=Cn;const Pn=useId();return()=>{const{prefixCls:In,open:Nn,rootClassName:Rn,pos:Dn,showMask:Ln,fill:Fn,animated:Bn,zIndex:Hn}=$n,zn=`${In}-mask-${Pn}`,Wn=typeof Bn=="object"?Bn==null?void 0:Bn.placeholder:Bn;return createVNode(Portal,{visible:Nn,autoLock:!0},{default:()=>Nn&&createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{class:classNames(`${In}-mask`,Rn,_n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Hn,pointerEvents:"none"},_n.style]}),[Ln?createVNode("svg",{style:{width:"100%",height:"100%"}},[createVNode("defs",null,[createVNode("mask",{id:zn},[createVNode("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),Dn&&createVNode("rect",{x:Dn.left,y:Dn.top,rx:Dn.radius,width:Dn.width,height:Dn.height,fill:"black",class:Wn?`${In}-placeholder-animated`:""},null)])]),createVNode("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Fn,mask:`url(#${zn})`},null),Dn&&createVNode(Fragment,null,[createVNode("rect",_objectSpread2$1(_objectSpread2$1({},COVER_PROPS),{},{x:"0",y:"0",width:"100%",height:Dn.top}),null),createVNode("rect",_objectSpread2$1(_objectSpread2$1({},COVER_PROPS),{},{x:"0",y:"0",width:Dn.left,height:"100%"}),null),createVNode("rect",_objectSpread2$1(_objectSpread2$1({},COVER_PROPS),{},{x:"0",y:Dn.top+Dn.height,width:"100%",height:`calc(100vh - ${Dn.top+Dn.height}px)`}),null),createVNode("rect",_objectSpread2$1(_objectSpread2$1({},COVER_PROPS),{},{x:Dn.left+Dn.width,y:"0",width:`calc(100vw - ${Dn.left+Dn.width}px)`,height:"100%"}),null)])]):null])})}}}),Mask$1=Mask,targetOffset=[0,0],basePlacements$1={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function getPlacements(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Cn={};return Object.keys(basePlacements$1).forEach(_n=>{Cn[_n]=_extends$1(_extends$1({},basePlacements$1[_n]),{autoArrow:$n,targetOffset})}),Cn}getPlacements();var __rest$2=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const CENTER_PLACEHOLDER={left:"50%",top:"50%",width:"1px",height:"1px"},tourProps$1=()=>{const{builtinPlacements:$n,popupAlign:Cn}=triggerProps();return{builtinPlacements:$n,popupAlign:Cn,steps:arrayType(),open:booleanType(),defaultCurrent:{type:Number},current:{type:Number},onChange:functionType(),onClose:functionType(),onFinish:functionType(),mask:someType([Boolean,Object],!0),arrow:someType([Boolean,Object],!0),rootClassName:{type:String},placement:stringType("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:functionType(),gap:objectType(),animated:someType([Boolean,Object]),scrollIntoViewOptions:someType([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},Tour$1=defineComponent({name:"Tour",inheritAttrs:!1,props:initDefaultProps(tourProps$1(),{}),setup($n){const{defaultCurrent:Cn,placement:_n,mask:Pn,scrollIntoViewOptions:In,open:Nn,gap:Rn,arrow:Dn}=toRefs($n),Ln=ref(),[Fn,Bn]=useMergedState(0,{value:computed(()=>$n.current),defaultValue:Cn.value}),[Hn,zn]=useMergedState(void 0,{value:computed(()=>$n.open),postState:nr=>Fn.value<0||Fn.value>=$n.steps.length?!1:nr??!0}),Wn=shallowRef(Hn.value);watchEffect(()=>{Hn.value&&!Wn.value&&Bn(0),Wn.value=Hn.value});const Yn=computed(()=>$n.steps[Fn.value]||{}),Gn=computed(()=>{var nr;return(nr=Yn.value.placement)!==null&&nr!==void 0?nr:_n.value}),Go=computed(()=>{var nr;return Hn.value&&((nr=Yn.value.mask)!==null&&nr!==void 0?nr:Pn.value)}),Xn=computed(()=>{var nr;return(nr=Yn.value.scrollIntoViewOptions)!==null&&nr!==void 0?nr:In.value}),[Yo,qo]=useTarget(computed(()=>Yn.value.target),Nn,Rn,Xn),Jo=computed(()=>qo.value?typeof Yn.value.arrow>"u"?Dn.value:Yn.value.arrow:!1),Zo=computed(()=>typeof Jo.value=="object"?Jo.value.pointAtCenter:!1);watch(Zo,()=>{var nr;(nr=Ln.value)===null||nr===void 0||nr.forcePopupAlign()}),watch(Fn,()=>{var nr;(nr=Ln.value)===null||nr===void 0||nr.forcePopupAlign()});const rr=nr=>{var ta;Bn(nr),(ta=$n.onChange)===null||ta===void 0||ta.call($n,nr)};return()=>{var nr;const{prefixCls:ta,steps:oa,onClose:ra,onFinish:ea,rootClassName:la,renderPanel:ua,animated:ga,zIndex:aa}=$n,ca=__rest$2($n,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(qo.value===void 0)return null;const sa=()=>{zn(!1),ra==null||ra(Fn.value)},ia=typeof Go.value=="boolean"?Go.value:!!Go.value,fa=typeof Go.value=="boolean"?void 0:Go.value,ma=()=>qo.value||document.body,ya=()=>createVNode(TourStep$1,_objectSpread2$1({arrow:Jo.value,key:"content",prefixCls:ta,total:oa.length,renderPanel:ua,onPrev:()=>{rr(Fn.value-1)},onNext:()=>{rr(Fn.value+1)},onClose:sa,current:Fn.value,onFinish:()=>{sa(),ea==null||ea()}},Yn.value),null),ba=computed(()=>{const Ia=Yo.value||CENTER_PLACEHOLDER,Ea={};return Object.keys(Ia).forEach(xa=>{typeof Ia[xa]=="number"?Ea[xa]=`${Ia[xa]}px`:Ea[xa]=Ia[xa]}),Ea});return Hn.value?createVNode(Fragment,null,[createVNode(Mask$1,{zIndex:aa,prefixCls:ta,pos:Yo.value,showMask:ia,style:fa==null?void 0:fa.style,fill:fa==null?void 0:fa.color,open:Hn.value,animated:ga,rootClassName:la},null),createVNode(Trigger,_objectSpread2$1(_objectSpread2$1({},ca),{},{builtinPlacements:Yn.value.target?(nr=ca.builtinPlacements)!==null&&nr!==void 0?nr:getPlacements(Zo.value):void 0,ref:Ln,popupStyle:Yn.value.target?Yn.value.style:_extends$1(_extends$1({},Yn.value.style),{position:"fixed",left:CENTER_PLACEHOLDER.left,top:CENTER_PLACEHOLDER.top,transform:"translate(-50%, -50%)"}),popupPlacement:Gn.value,popupVisible:Hn.value,popupClassName:classNames(la,Yn.value.className),prefixCls:ta,popup:ya,forceRender:!1,destroyPopupOnHide:!0,zIndex:aa,mask:!1,getTriggerDOMNode:ma}),{default:()=>[createVNode(Portal,{visible:Hn.value,autoLock:!0},{default:()=>[createVNode("div",{class:classNames(la,`${ta}-target-placeholder`),style:_extends$1(_extends$1({},ba.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),Tour$2=Tour$1,tourProps=()=>_extends$1(_extends$1({},tourProps$1()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),tourStepProps=()=>_extends$1(_extends$1({},tourStepProps$1()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),panelRender=defineComponent({name:"ATourPanel",inheritAttrs:!1,props:tourStepProps(),setup($n,Cn){let{attrs:_n,slots:Pn}=Cn;const{current:In,total:Nn}=toRefs($n),Rn=computed(()=>In.value===Nn.value-1),Dn=Fn=>{var Bn;const Hn=$n.prevButtonProps;(Bn=$n.onPrev)===null||Bn===void 0||Bn.call($n,Fn),typeof(Hn==null?void 0:Hn.onClick)=="function"&&(Hn==null||Hn.onClick())},Ln=Fn=>{var Bn,Hn;const zn=$n.nextButtonProps;Rn.value?(Bn=$n.onFinish)===null||Bn===void 0||Bn.call($n,Fn):(Hn=$n.onNext)===null||Hn===void 0||Hn.call($n,Fn),typeof(zn==null?void 0:zn.onClick)=="function"&&(zn==null||zn.onClick())};return()=>{const{prefixCls:Fn,title:Bn,onClose:Hn,cover:zn,description:Wn,type:Yn,arrow:Gn}=$n,Go=$n.prevButtonProps,Xn=$n.nextButtonProps;let Yo;Bn&&(Yo=createVNode("div",{class:`${Fn}-header`},[createVNode("div",{class:`${Fn}-title`},[Bn])]));let qo;Wn&&(qo=createVNode("div",{class:`${Fn}-description`},[Wn]));let Jo;zn&&(Jo=createVNode("div",{class:`${Fn}-cover`},[zn]));let Zo;Pn.indicatorsRender?Zo=Pn.indicatorsRender({current:In.value,total:Nn}):Zo=[...Array.from({length:Nn.value}).keys()].map((ta,oa)=>createVNode("span",{key:ta,class:classNames(oa===In.value&&`${Fn}-indicator-active`,`${Fn}-indicator`)},null));const rr=Yn==="primary"?"default":"primary",nr={type:"default",ghost:Yn==="primary"};return createVNode(LocaleReceiver,{componentName:"Tour",defaultLocale:localeValues$1.Tour},{default:ta=>{var oa,ra;return createVNode("div",_objectSpread2$1(_objectSpread2$1({},_n),{},{class:classNames(Yn==="primary"?`${Fn}-primary`:"",_n.class,`${Fn}-content`)}),[Gn&&createVNode("div",{class:`${Fn}-arrow`,key:"arrow"},null),createVNode("div",{class:`${Fn}-inner`},[createVNode(CloseOutlined$1,{class:`${Fn}-close`,onClick:Hn},null),Jo,Yo,qo,createVNode("div",{class:`${Fn}-footer`},[Nn.value>1&&createVNode("div",{class:`${Fn}-indicators`},[Zo]),createVNode("div",{class:`${Fn}-buttons`},[In.value!==0?createVNode(Button$1,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},nr),Go),{},{onClick:Dn,size:"small",class:classNames(`${Fn}-prev-btn`,Go==null?void 0:Go.className)}),{default:()=>[(oa=Go==null?void 0:Go.children)!==null&&oa!==void 0?oa:ta.Previous]}):null,createVNode(Button$1,_objectSpread2$1(_objectSpread2$1({type:rr},Xn),{},{onClick:Ln,size:"small",class:classNames(`${Fn}-next-btn`,Xn==null?void 0:Xn.className)}),{default:()=>[(ra=Xn==null?void 0:Xn.children)!==null&&ra!==void 0?ra:Rn.value?ta.Finish:ta.Next]})])])])])}})}}}),TourPanel=panelRender,useMergedType=$n=>{let{defaultType:Cn,steps:_n,current:Pn,defaultCurrent:In}=$n;const Nn=ref(In==null?void 0:In.value),Rn=computed(()=>Pn==null?void 0:Pn.value);watch(Rn,Bn=>{Nn.value=Bn??(In==null?void 0:In.value)},{immediate:!0});const Dn=Bn=>{Nn.value=Bn},Ln=computed(()=>{var Bn,Hn;return typeof Nn.value=="number"?_n&&((Hn=(Bn=_n.value)===null||Bn===void 0?void 0:Bn[Nn.value])===null||Hn===void 0?void 0:Hn.type):Cn==null?void 0:Cn.value});return{currentMergedType:computed(()=>{var Bn;return(Bn=Ln.value)!==null&&Bn!==void 0?Bn:Cn==null?void 0:Cn.value}),updateInnerCurrent:Dn}},genBaseStyle$1=$n=>{const{componentCls:Cn,lineHeight:_n,padding:Pn,paddingXS:In,borderRadius:Nn,borderRadiusXS:Rn,colorPrimary:Dn,colorText:Ln,colorFill:Fn,indicatorHeight:Bn,indicatorWidth:Hn,boxShadowTertiary:zn,tourZIndexPopup:Wn,fontSize:Yn,colorBgContainer:Gn,fontWeightStrong:Go,marginXS:Xn,colorTextLightSolid:Yo,tourBorderRadius:qo,colorWhite:Jo,colorBgTextHover:Zo,tourCloseSize:rr,motionDurationSlow:nr,antCls:ta}=$n;return[{[Cn]:_extends$1(_extends$1({},resetComponent($n)),{color:Ln,position:"absolute",zIndex:Wn,display:"block",visibility:"visible",fontSize:Yn,lineHeight:_n,width:520,"--antd-arrow-background-color":Gn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${Cn}-hidden`]:{display:"none"},[`${Cn}-content`]:{position:"relative"},[`${Cn}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:qo,boxShadow:zn,position:"relative",backgroundColor:Gn,border:"none",backgroundClip:"padding-box",[`${Cn}-close`]:{position:"absolute",top:Pn,insetInlineEnd:Pn,color:$n.colorIcon,outline:"none",width:rr,height:rr,borderRadius:$n.borderRadiusSM,transition:`background-color ${$n.motionDurationMid}, color ${$n.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:$n.colorIconHover,backgroundColor:$n.wireframe?"transparent":$n.colorFillContent}},[`${Cn}-cover`]:{textAlign:"center",padding:`${Pn+rr+In}px ${Pn}px 0`,img:{width:"100%"}},[`${Cn}-header`]:{padding:`${Pn}px ${Pn}px ${In}px`,[`${Cn}-title`]:{lineHeight:_n,fontSize:Yn,fontWeight:Go}},[`${Cn}-description`]:{padding:`0 ${Pn}px`,lineHeight:_n,wordWrap:"break-word"},[`${Cn}-footer`]:{padding:`${In}px ${Pn}px ${Pn}px`,textAlign:"end",borderRadius:`0 0 ${Rn}px ${Rn}px`,display:"flex",[`${Cn}-indicators`]:{display:"inline-block",[`${Cn}-indicator`]:{width:Hn,height:Bn,display:"inline-block",borderRadius:"50%",background:Fn,"&:not(:last-child)":{marginInlineEnd:Bn},"&-active":{background:Dn}}},[`${Cn}-buttons`]:{marginInlineStart:"auto",[`${ta}-btn`]:{marginInlineStart:Xn}}}},[`${Cn}-primary, &${Cn}-primary`]:{"--antd-arrow-background-color":Dn,[`${Cn}-inner`]:{color:Yo,textAlign:"start",textDecoration:"none",backgroundColor:Dn,borderRadius:Nn,boxShadow:zn,[`${Cn}-close`]:{color:Yo},[`${Cn}-indicators`]:{[`${Cn}-indicator`]:{background:new TinyColor(Yo).setAlpha(.15).toRgbString(),"&-active":{background:Yo}}},[`${Cn}-prev-btn`]:{color:Yo,borderColor:new TinyColor(Yo).setAlpha(.15).toRgbString(),backgroundColor:Dn,"&:hover":{backgroundColor:new TinyColor(Yo).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${Cn}-next-btn`]:{color:Dn,borderColor:"transparent",background:Jo,"&:hover":{background:new TinyColor(Zo).onBackground(Jo).toRgbString()}}}}}),[`${Cn}-mask`]:{[`${Cn}-placeholder-animated`]:{transition:`all ${nr}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Cn}-inner`]:{borderRadius:Math.min(qo,MAX_VERTICAL_CONTENT_RADIUS)}}},getArrowStyle($n,{colorBg:"var(--antd-arrow-background-color)",contentRadius:qo,limitVerticalRadius:!0})]},useStyle$2=genComponentStyleHook("Tour",$n=>{const{borderRadiusLG:Cn,fontSize:_n,lineHeight:Pn}=$n,In=merge$1($n,{tourZIndexPopup:$n.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:Cn,tourCloseSize:_n*Pn});return[genBaseStyle$1(In)]});var __rest$1=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const Tour=defineComponent({name:"ATour",inheritAttrs:!1,props:tourProps(),setup($n,Cn){let{attrs:_n,emit:Pn,slots:In}=Cn;const{current:Nn,type:Rn,steps:Dn,defaultCurrent:Ln}=toRefs($n),{prefixCls:Fn,direction:Bn}=useConfigInject("tour",$n),[Hn,zn]=useStyle$2(Fn),{currentMergedType:Wn,updateInnerCurrent:Yn}=useMergedType({defaultType:Rn,steps:Dn,current:Nn,defaultCurrent:Ln});return()=>{const{steps:Gn,current:Go,type:Xn,rootClassName:Yo}=$n,qo=__rest$1($n,["steps","current","type","rootClassName"]),Jo=classNames({[`${Fn.value}-primary`]:Wn.value==="primary",[`${Fn.value}-rtl`]:Bn.value==="rtl"},zn.value,Yo),Zo=(ta,oa)=>createVNode(TourPanel,_objectSpread2$1(_objectSpread2$1({},ta),{},{type:Xn,current:oa}),{indicatorsRender:In.indicatorsRender}),rr=ta=>{Yn(ta),Pn("update:current",ta),Pn("change",ta)},nr=computed(()=>getPlacements$1({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return Hn(createVNode(Tour$2,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_n),qo),{},{rootClassName:Jo,prefixCls:Fn.value,current:Go,defaultCurrent:$n.defaultCurrent,animated:!0,renderPanel:Zo,onChange:rr,steps:Gn,builtinPlacements:nr.value}),null))}}}),index$1=withInstall(Tour),AppConfigContextKey=Symbol("appConfigContext"),useProvideAppConfigContext=$n=>provide(AppConfigContextKey,$n),useInjectAppConfigContext=()=>inject(AppConfigContextKey,{}),AppContextKey=Symbol("appContext"),useProvideAppContext=$n=>provide(AppContextKey,$n),defaultAppContext=reactive({message:{},notification:{},modal:{}}),useInjectAppContext=()=>inject(AppContextKey,defaultAppContext),genBaseStyle=$n=>{const{componentCls:Cn,colorText:_n,fontSize:Pn,lineHeight:In,fontFamily:Nn}=$n;return{[Cn]:{color:_n,fontSize:Pn,lineHeight:In,fontFamily:Nn}}},useStyle$1=genComponentStyleHook("App",$n=>[genBaseStyle($n)]),AppProps=()=>({rootClassName:String,message:objectType(),notification:objectType()}),useApp=()=>useInjectAppContext(),App=defineComponent({name:"AApp",props:initDefaultProps(AppProps(),{}),setup($n,Cn){let{slots:_n}=Cn;const{prefixCls:Pn}=useConfigInject("app",$n),[In,Nn]=useStyle$1(Pn),Rn=computed(()=>classNames(Nn.value,Pn.value,$n.rootClassName)),Dn=useInjectAppConfigContext(),Ln=computed(()=>({message:_extends$1(_extends$1({},Dn.message),$n.message),notification:_extends$1(_extends$1({},Dn.notification),$n.notification)}));useProvideAppConfigContext(Ln.value);const[Fn,Bn]=useMessage(Ln.value.message),[Hn,zn]=useNotification(Ln.value.notification),[Wn,Yn]=useModal(),Gn=computed(()=>({message:Fn,notification:Hn,modal:Wn}));return useProvideAppContext(Gn.value),()=>{var Go;return In(createVNode("div",{class:Rn.value},[Yn(),Bn(),zn(),(Go=_n.default)===null||Go===void 0?void 0:Go.call(_n)]))}}});App.useApp=useApp;App.install=function($n){$n.component(App.name,App)};const App$1=App,flexWrapValues=["wrap","nowrap","wrap-reverse"],justifyContentValues=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],alignItemsValues=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],genClsWrap=($n,Cn)=>{const _n={};return flexWrapValues.forEach(Pn=>{_n[`${$n}-wrap-${Pn}`]=Cn.wrap===Pn}),_n},genClsAlign=($n,Cn)=>{const _n={};return alignItemsValues.forEach(Pn=>{_n[`${$n}-align-${Pn}`]=Cn.align===Pn}),_n[`${$n}-align-stretch`]=!Cn.align&&!!Cn.vertical,_n},genClsJustify=($n,Cn)=>{const _n={};return justifyContentValues.forEach(Pn=>{_n[`${$n}-justify-${Pn}`]=Cn.justify===Pn}),_n};function createFlexClassNames($n,Cn){return classNames(_extends$1(_extends$1(_extends$1({},genClsWrap($n,Cn)),genClsAlign($n,Cn)),genClsJustify($n,Cn)))}const genFlexStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},genFlexGapStyle=$n=>{const{componentCls:Cn}=$n;return{[Cn]:{"&-gap-small":{gap:$n.flexGapSM},"&-gap-middle":{gap:$n.flexGap},"&-gap-large":{gap:$n.flexGapLG}}}},genFlexWrapStyle=$n=>{const{componentCls:Cn}=$n,_n={};return flexWrapValues.forEach(Pn=>{_n[`${Cn}-wrap-${Pn}`]={flexWrap:Pn}}),_n},genAlignItemsStyle=$n=>{const{componentCls:Cn}=$n,_n={};return alignItemsValues.forEach(Pn=>{_n[`${Cn}-align-${Pn}`]={alignItems:Pn}}),_n},genJustifyContentStyle=$n=>{const{componentCls:Cn}=$n,_n={};return justifyContentValues.forEach(Pn=>{_n[`${Cn}-justify-${Pn}`]={justifyContent:Pn}}),_n},useStyle=genComponentStyleHook("Flex",$n=>{const Cn=merge$1($n,{flexGapSM:$n.paddingXS,flexGap:$n.padding,flexGapLG:$n.paddingLG});return[genFlexStyle(Cn),genFlexGapStyle(Cn),genFlexWrapStyle(Cn),genAlignItemsStyle(Cn),genJustifyContentStyle(Cn)]});function isPresetSize($n){return["small","middle","large"].includes($n)}const flexProps=()=>({prefixCls:stringType(),vertical:booleanType(),wrap:stringType(),justify:stringType(),align:stringType(),flex:someType([Number,String]),gap:someType([Number,String]),component:anyType()});var __rest=function($n,Cn){var _n={};for(var Pn in $n)Object.prototype.hasOwnProperty.call($n,Pn)&&Cn.indexOf(Pn)<0&&(_n[Pn]=$n[Pn]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Pn=Object.getOwnPropertySymbols($n);In<Pn.length;In++)Cn.indexOf(Pn[In])<0&&Object.prototype.propertyIsEnumerable.call($n,Pn[In])&&(_n[Pn[In]]=$n[Pn[In]]);return _n};const AFlex=defineComponent({name:"AFlex",inheritAttrs:!1,props:flexProps(),setup($n,Cn){let{slots:_n,attrs:Pn}=Cn;const{flex:In,direction:Nn}=useConfigContextInject(),{prefixCls:Rn}=useConfigInject("flex",$n),[Dn,Ln]=useStyle(Rn),Fn=computed(()=>{var Bn;return[Rn.value,Ln.value,createFlexClassNames(Rn.value,$n),{[`${Rn.value}-rtl`]:Nn.value==="rtl",[`${Rn.value}-gap-${$n.gap}`]:isPresetSize($n.gap),[`${Rn.value}-vertical`]:(Bn=$n.vertical)!==null&&Bn!==void 0?Bn:In==null?void 0:In.value.vertical}]});return()=>{var Bn;const{flex:Hn,gap:zn,component:Wn="div"}=$n,Yn=__rest($n,["flex","gap","component"]),Gn={};return Hn&&(Gn.flex=Hn),zn&&!isPresetSize(zn)&&(Gn.gap=`${zn}px`),Dn(createVNode(Wn,_objectSpread2$1({class:[Pn.class,Fn.value],style:[Pn.style,Gn]},omit$1(Yn,["justify","wrap","align","vertical"])),{default:()=>[(Bn=_n.default)===null||Bn===void 0?void 0:Bn.call(_n)]}))}}}),index=withInstall(AFlex),components=Object.freeze(Object.defineProperty({__proto__:null,Affix:Affix$1,Alert:index$r,Anchor,AnchorLink,App:App$1,AutoComplete:index$s,AutoCompleteOptGroup,AutoCompleteOption,Avatar:Avatar$1,AvatarGroup:Group$4,BackTop:BackTop$1,Badge,BadgeRibbon:Ribbon,Breadcrumb,BreadcrumbItem,BreadcrumbSeparator,Button:Button$1,ButtonGroup:ButtonGroup$1,Calendar:Calendar$1,Card:Card$1,CardGrid:Grid,CardMeta:Meta,Carousel:index$q,Cascader:index$p,CheckableTag:CheckableTag$1,Checkbox,CheckboxGroup,Col:index$n,Collapse,CollapsePanel,Comment:index$m,Compact:Compact$1,ConfigProvider:ConfigProvider$1,DatePicker:DatePicker$2,Descriptions:Descriptions$1,DescriptionsItem,DirectoryTree,Divider:index$l,Drawer:index$k,Dropdown:Dropdown$1,DropdownButton,Empty:Empty$1,Flex:index,FloatButton:FloatButton$1,FloatButtonGroup:FloatButtonGroup$1,Form:Form$1,FormItem,FormItemRest,Grid:index$o,Image:Image$2,ImagePreviewGroup:PreviewGroup,Input,InputGroup:Group$1,InputNumber:index$j,InputPassword:Password,InputSearch:Search$1,Layout:index$i,LayoutContent,LayoutFooter,LayoutHeader,LayoutSider,List:List$2,ListItem:Item,ListItemMeta:ItemMeta,LocaleProvider:locale$3,Mentions:index$h,MentionsOption,Menu,MenuDivider:Divider$1,MenuItem:MenuItem$1,MenuItemGroup:ItemGroup,Modal,MonthPicker,PageHeader:index$g,Pagination,Popconfirm:index$f,Popover:Popover$1,Progress,QRCode:index$2,QuarterPicker,Radio,RadioButton:Button,RadioGroup:Group$2,RangePicker,Rate:index$e,Result:Result$1,Row:index$d,Segmented:index$3,Select:VcSelect,SelectOptGroup,SelectOption,Skeleton:Skeleton$1,SkeletonAvatar:SkeletonAvatar$1,SkeletonButton:SkeletonButton$1,SkeletonImage:SkeletonImage$1,SkeletonInput:SkeletonInput$1,SkeletonTitle:SkeletonTitle$1,Slider:index$c,Space:Space$1,Spin,Statistic,StatisticCountdown,Step,Steps:index$b,SubMenu:SubMenu$1,Switch:index$a,TabPane:TabPane$1,Table:index$9,TableColumn:Column,TableColumnGroup:ColumnGroup,TableSummary,TableSummaryCell,TableSummaryRow,Tabs,Tag:Tag$1,Textarea:TextArea,TimePicker:TimePicker$2,TimeRangePicker,Timeline,TimelineItem,Tooltip,Tour:index$1,Transfer:index$8,Tree,TreeNode:TreeNode$2,TreeSelect:index$7,TreeSelectNode,Typography:Typography$1,TypographyLink:Link$1,TypographyParagraph:Paragraph$1,TypographyText:Text$1,TypographyTitle:Title$1,Upload:index$5,UploadDragger,Watermark:index$4,WeekPicker,message,notification},Symbol.toStringTag,{value:"Module"})),install=function($n){return Object.keys(components).forEach(Cn=>{const _n=components[Cn];_n.install&&$n.use(_n)}),$n.use(cssinjs$1.StyleProvider),$n.config.globalProperties.$message=message,$n.config.globalProperties.$notification=notification,$n.config.globalProperties.$info=Modal.info,$n.config.globalProperties.$success=Modal.success,$n.config.globalProperties.$error=Modal.error,$n.config.globalProperties.$warning=Modal.warning,$n.config.globalProperties.$confirm=Modal.confirm,$n.config.globalProperties.$destroyAll=Modal.destroyAll,$n},Antd={version,install};/*!
- * vue-router v4.2.5
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */const isBrowser=typeof window<"u";function isESModule($n){return $n.__esModule||$n[Symbol.toStringTag]==="Module"}const assign$3=Object.assign;function applyToParams($n,Cn){const _n={};for(const Pn in Cn){const In=Cn[Pn];_n[Pn]=isArray$1(In)?In.map($n):$n(In)}return _n}const noop$1=()=>{},isArray$1=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=$n=>$n.replace(TRAILING_SLASH_RE,"");function parseURL($n,Cn,_n="/"){let Pn,In={},Nn="",Rn="";const Dn=Cn.indexOf("#");let Ln=Cn.indexOf("?");return Dn<Ln&&Dn>=0&&(Ln=-1),Ln>-1&&(Pn=Cn.slice(0,Ln),Nn=Cn.slice(Ln+1,Dn>-1?Dn:Cn.length),In=$n(Nn)),Dn>-1&&(Pn=Pn||Cn.slice(0,Dn),Rn=Cn.slice(Dn,Cn.length)),Pn=resolveRelativePath(Pn??Cn,_n),{fullPath:Pn+(Nn&&"?")+Nn+Rn,path:Pn,query:In,hash:Rn}}function stringifyURL($n,Cn){const _n=Cn.query?$n(Cn.query):"";return Cn.path+(_n&&"?")+_n+(Cn.hash||"")}function stripBase($n,Cn){return!Cn||!$n.toLowerCase().startsWith(Cn.toLowerCase())?$n:$n.slice(Cn.length)||"/"}function isSameRouteLocation($n,Cn,_n){const Pn=Cn.matched.length-1,In=_n.matched.length-1;return Pn>-1&&Pn===In&&isSameRouteRecord(Cn.matched[Pn],_n.matched[In])&&isSameRouteLocationParams(Cn.params,_n.params)&&$n(Cn.query)===$n(_n.query)&&Cn.hash===_n.hash}function isSameRouteRecord($n,Cn){return($n.aliasOf||$n)===(Cn.aliasOf||Cn)}function isSameRouteLocationParams($n,Cn){if(Object.keys($n).length!==Object.keys(Cn).length)return!1;for(const _n in $n)if(!isSameRouteLocationParamsValue($n[_n],Cn[_n]))return!1;return!0}function isSameRouteLocationParamsValue($n,Cn){return isArray$1($n)?isEquivalentArray($n,Cn):isArray$1(Cn)?isEquivalentArray(Cn,$n):$n===Cn}function isEquivalentArray($n,Cn){return isArray$1(Cn)?$n.length===Cn.length&&$n.every((_n,Pn)=>_n===Cn[Pn]):$n.length===1&&$n[0]===Cn}function resolveRelativePath($n,Cn){if($n.startsWith("/"))return $n;if(!$n)return Cn;const _n=Cn.split("/"),Pn=$n.split("/"),In=Pn[Pn.length-1];(In===".."||In===".")&&Pn.push("");let Nn=_n.length-1,Rn,Dn;for(Rn=0;Rn<Pn.length;Rn++)if(Dn=Pn[Rn],Dn!==".")if(Dn==="..")Nn>1&&Nn--;else break;return _n.slice(0,Nn).join("/")+"/"+Pn.slice(Rn-(Rn===Pn.length?1:0)).join("/")}var NavigationType;(function($n){$n.pop="pop",$n.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function($n){$n.back="back",$n.forward="forward",$n.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase($n){if(!$n)if(isBrowser){const Cn=document.querySelector("base");$n=Cn&&Cn.getAttribute("href")||"/",$n=$n.replace(/^\w+:\/\/[^\/]+/,"")}else $n="/";return $n[0]!=="/"&&$n[0]!=="#"&&($n="/"+$n),removeTrailingSlash($n)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref($n,Cn){return $n.replace(BEFORE_HASH_RE,"#")+Cn}function getElementPosition($n,Cn){const _n=document.documentElement.getBoundingClientRect(),Pn=$n.getBoundingClientRect();return{behavior:Cn.behavior,left:Pn.left-_n.left-(Cn.left||0),top:Pn.top-_n.top-(Cn.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition($n){let Cn;if("el"in $n){const _n=$n.el,Pn=typeof _n=="string"&&_n.startsWith("#"),In=typeof _n=="string"?Pn?document.getElementById(_n.slice(1)):document.querySelector(_n):_n;if(!In)return;Cn=getElementPosition(In,$n)}else Cn=$n;"scrollBehavior"in document.documentElement.style?window.scrollTo(Cn):window.scrollTo(Cn.left!=null?Cn.left:window.pageXOffset,Cn.top!=null?Cn.top:window.pageYOffset)}function getScrollKey($n,Cn){return(history.state?history.state.position-Cn:-1)+$n}const scrollPositions=new Map;function saveScrollPosition($n,Cn){scrollPositions.set($n,Cn)}function getSavedScrollPosition($n){const Cn=scrollPositions.get($n);return scrollPositions.delete($n),Cn}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation($n,Cn){const{pathname:_n,search:Pn,hash:In}=Cn,Nn=$n.indexOf("#");if(Nn>-1){let Dn=In.includes($n.slice(Nn))?$n.slice(Nn).length:1,Ln=In.slice(Dn);return Ln[0]!=="/"&&(Ln="/"+Ln),stripBase(Ln,"")}return stripBase(_n,$n)+Pn+In}function useHistoryListeners($n,Cn,_n,Pn){let In=[],Nn=[],Rn=null;const Dn=({state:zn})=>{const Wn=createCurrentLocation($n,location),Yn=_n.value,Gn=Cn.value;let Go=0;if(zn){if(_n.value=Wn,Cn.value=zn,Rn&&Rn===Yn){Rn=null;return}Go=Gn?zn.position-Gn.position:0}else Pn(Wn);In.forEach(Xn=>{Xn(_n.value,Yn,{delta:Go,type:NavigationType.pop,direction:Go?Go>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Ln(){Rn=_n.value}function Fn(zn){In.push(zn);const Wn=()=>{const Yn=In.indexOf(zn);Yn>-1&&In.splice(Yn,1)};return Nn.push(Wn),Wn}function Bn(){const{history:zn}=window;zn.state&&zn.replaceState(assign$3({},zn.state,{scroll:computeScrollPosition()}),"")}function Hn(){for(const zn of Nn)zn();Nn=[],window.removeEventListener("popstate",Dn),window.removeEventListener("beforeunload",Bn)}return window.addEventListener("popstate",Dn),window.addEventListener("beforeunload",Bn,{passive:!0}),{pauseListeners:Ln,listen:Fn,destroy:Hn}}function buildState($n,Cn,_n,Pn=!1,In=!1){return{back:$n,current:Cn,forward:_n,replaced:Pn,position:window.history.length,scroll:In?computeScrollPosition():null}}function useHistoryStateNavigation($n){const{history:Cn,location:_n}=window,Pn={value:createCurrentLocation($n,_n)},In={value:Cn.state};In.value||Nn(Pn.value,{back:null,current:Pn.value,forward:null,position:Cn.length-1,replaced:!0,scroll:null},!0);function Nn(Ln,Fn,Bn){const Hn=$n.indexOf("#"),zn=Hn>-1?(_n.host&&document.querySelector("base")?$n:$n.slice(Hn))+Ln:createBaseLocation()+$n+Ln;try{Cn[Bn?"replaceState":"pushState"](Fn,"",zn),In.value=Fn}catch(Wn){console.error(Wn),_n[Bn?"replace":"assign"](zn)}}function Rn(Ln,Fn){const Bn=assign$3({},Cn.state,buildState(In.value.back,Ln,In.value.forward,!0),Fn,{position:In.value.position});Nn(Ln,Bn,!0),Pn.value=Ln}function Dn(Ln,Fn){const Bn=assign$3({},In.value,Cn.state,{forward:Ln,scroll:computeScrollPosition()});Nn(Bn.current,Bn,!0);const Hn=assign$3({},buildState(Pn.value,Ln,null),{position:Bn.position+1},Fn);Nn(Ln,Hn,!1),Pn.value=Ln}return{location:Pn,state:In,push:Dn,replace:Rn}}function createWebHistory($n){$n=normalizeBase($n);const Cn=useHistoryStateNavigation($n),_n=useHistoryListeners($n,Cn.state,Cn.location,Cn.replace);function Pn(Nn,Rn=!0){Rn||_n.pauseListeners(),history.go(Nn)}const In=assign$3({location:"",base:$n,go:Pn,createHref:createHref.bind(null,$n)},Cn,_n);return Object.defineProperty(In,"location",{enumerable:!0,get:()=>Cn.location.value}),Object.defineProperty(In,"state",{enumerable:!0,get:()=>Cn.state.value}),In}function isRouteLocation($n){return typeof $n=="string"||$n&&typeof $n=="object"}function isRouteName($n){return typeof $n=="string"||typeof $n=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function($n){$n[$n.aborted=4]="aborted",$n[$n.cancelled=8]="cancelled",$n[$n.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError($n,Cn){return assign$3(new Error,{type:$n,[NavigationFailureSymbol]:!0},Cn)}function isNavigationFailure($n,Cn){return $n instanceof Error&&NavigationFailureSymbol in $n&&(Cn==null||!!($n.type&Cn))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser($n,Cn){const _n=assign$3({},BASE_PATH_PARSER_OPTIONS,Cn),Pn=[];let In=_n.start?"^":"";const Nn=[];for(const Fn of $n){const Bn=Fn.length?[]:[90];_n.strict&&!Fn.length&&(In+="/");for(let Hn=0;Hn<Fn.length;Hn++){const zn=Fn[Hn];let Wn=40+(_n.sensitive?.25:0);if(zn.type===0)Hn||(In+="/"),In+=zn.value.replace(REGEX_CHARS_RE,"\\$&"),Wn+=40;else if(zn.type===1){const{value:Yn,repeatable:Gn,optional:Go,regexp:Xn}=zn;Nn.push({name:Yn,repeatable:Gn,optional:Go});const Yo=Xn||BASE_PARAM_PATTERN;if(Yo!==BASE_PARAM_PATTERN){Wn+=10;try{new RegExp(`(${Yo})`)}catch(Jo){throw new Error(`Invalid custom RegExp for param "${Yn}" (${Yo}): `+Jo.message)}}let qo=Gn?`((?:${Yo})(?:/(?:${Yo}))*)`:`(${Yo})`;Hn||(qo=Go&&Fn.length<2?`(?:/${qo})`:"/"+qo),Go&&(qo+="?"),In+=qo,Wn+=20,Go&&(Wn+=-8),Gn&&(Wn+=-20),Yo===".*"&&(Wn+=-50)}Bn.push(Wn)}Pn.push(Bn)}if(_n.strict&&_n.end){const Fn=Pn.length-1;Pn[Fn][Pn[Fn].length-1]+=.7000000000000001}_n.strict||(In+="/?"),_n.end?In+="$":_n.strict&&(In+="(?:/|$)");const Rn=new RegExp(In,_n.sensitive?"":"i");function Dn(Fn){const Bn=Fn.match(Rn),Hn={};if(!Bn)return null;for(let zn=1;zn<Bn.length;zn++){const Wn=Bn[zn]||"",Yn=Nn[zn-1];Hn[Yn.name]=Wn&&Yn.repeatable?Wn.split("/"):Wn}return Hn}function Ln(Fn){let Bn="",Hn=!1;for(const zn of $n){(!Hn||!Bn.endsWith("/"))&&(Bn+="/"),Hn=!1;for(const Wn of zn)if(Wn.type===0)Bn+=Wn.value;else if(Wn.type===1){const{value:Yn,repeatable:Gn,optional:Go}=Wn,Xn=Yn in Fn?Fn[Yn]:"";if(isArray$1(Xn)&&!Gn)throw new Error(`Provided param "${Yn}" is an array but it is not repeatable (* or + modifiers)`);const Yo=isArray$1(Xn)?Xn.join("/"):Xn;if(!Yo)if(Go)zn.length<2&&(Bn.endsWith("/")?Bn=Bn.slice(0,-1):Hn=!0);else throw new Error(`Missing required param "${Yn}"`);Bn+=Yo}}return Bn||"/"}return{re:Rn,score:Pn,keys:Nn,parse:Dn,stringify:Ln}}function compareScoreArray($n,Cn){let _n=0;for(;_n<$n.length&&_n<Cn.length;){const Pn=Cn[_n]-$n[_n];if(Pn)return Pn;_n++}return $n.length<Cn.length?$n.length===1&&$n[0]===80?-1:1:$n.length>Cn.length?Cn.length===1&&Cn[0]===80?1:-1:0}function comparePathParserScore($n,Cn){let _n=0;const Pn=$n.score,In=Cn.score;for(;_n<Pn.length&&_n<In.length;){const Nn=compareScoreArray(Pn[_n],In[_n]);if(Nn)return Nn;_n++}if(Math.abs(In.length-Pn.length)===1){if(isLastScoreNegative(Pn))return 1;if(isLastScoreNegative(In))return-1}return In.length-Pn.length}function isLastScoreNegative($n){const Cn=$n[$n.length-1];return $n.length>0&&Cn[Cn.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath($n){if(!$n)return[[]];if($n==="/")return[[ROOT_TOKEN]];if(!$n.startsWith("/"))throw new Error(`Invalid path "${$n}"`);function Cn(Wn){throw new Error(`ERR (${_n})/"${Fn}": ${Wn}`)}let _n=0,Pn=_n;const In=[];let Nn;function Rn(){Nn&&In.push(Nn),Nn=[]}let Dn=0,Ln,Fn="",Bn="";function Hn(){Fn&&(_n===0?Nn.push({type:0,value:Fn}):_n===1||_n===2||_n===3?(Nn.length>1&&(Ln==="*"||Ln==="+")&&Cn(`A repeatable param (${Fn}) must be alone in its segment. eg: '/:ids+.`),Nn.push({type:1,value:Fn,regexp:Bn,repeatable:Ln==="*"||Ln==="+",optional:Ln==="*"||Ln==="?"})):Cn("Invalid state to consume buffer"),Fn="")}function zn(){Fn+=Ln}for(;Dn<$n.length;){if(Ln=$n[Dn++],Ln==="\\"&&_n!==2){Pn=_n,_n=4;continue}switch(_n){case 0:Ln==="/"?(Fn&&Hn(),Rn()):Ln===":"?(Hn(),_n=1):zn();break;case 4:zn(),_n=Pn;break;case 1:Ln==="("?_n=2:VALID_PARAM_RE.test(Ln)?zn():(Hn(),_n=0,Ln!=="*"&&Ln!=="?"&&Ln!=="+"&&Dn--);break;case 2:Ln===")"?Bn[Bn.length-1]=="\\"?Bn=Bn.slice(0,-1)+Ln:_n=3:Bn+=Ln;break;case 3:Hn(),_n=0,Ln!=="*"&&Ln!=="?"&&Ln!=="+"&&Dn--,Bn="";break;default:Cn("Unknown state");break}}return _n===2&&Cn(`Unfinished custom RegExp for param "${Fn}"`),Hn(),Rn(),In}function createRouteRecordMatcher($n,Cn,_n){const Pn=tokensToParser(tokenizePath($n.path),_n),In=assign$3(Pn,{record:$n,parent:Cn,children:[],alias:[]});return Cn&&!In.record.aliasOf==!Cn.record.aliasOf&&Cn.children.push(In),In}function createRouterMatcher($n,Cn){const _n=[],Pn=new Map;Cn=mergeOptions({strict:!1,end:!0,sensitive:!1},Cn);function In(Bn){return Pn.get(Bn)}function Nn(Bn,Hn,zn){const Wn=!zn,Yn=normalizeRouteRecord(Bn);Yn.aliasOf=zn&&zn.record;const Gn=mergeOptions(Cn,Bn),Go=[Yn];if("alias"in Bn){const qo=typeof Bn.alias=="string"?[Bn.alias]:Bn.alias;for(const Jo of qo)Go.push(assign$3({},Yn,{components:zn?zn.record.components:Yn.components,path:Jo,aliasOf:zn?zn.record:Yn}))}let Xn,Yo;for(const qo of Go){const{path:Jo}=qo;if(Hn&&Jo[0]!=="/"){const Zo=Hn.record.path,rr=Zo[Zo.length-1]==="/"?"":"/";qo.path=Hn.record.path+(Jo&&rr+Jo)}if(Xn=createRouteRecordMatcher(qo,Hn,Gn),zn?zn.alias.push(Xn):(Yo=Yo||Xn,Yo!==Xn&&Yo.alias.push(Xn),Wn&&Bn.name&&!isAliasRecord(Xn)&&Rn(Bn.name)),Yn.children){const Zo=Yn.children;for(let rr=0;rr<Zo.length;rr++)Nn(Zo[rr],Xn,zn&&zn.children[rr])}zn=zn||Xn,(Xn.record.components&&Object.keys(Xn.record.components).length||Xn.record.name||Xn.record.redirect)&&Ln(Xn)}return Yo?()=>{Rn(Yo)}:noop$1}function Rn(Bn){if(isRouteName(Bn)){const Hn=Pn.get(Bn);Hn&&(Pn.delete(Bn),_n.splice(_n.indexOf(Hn),1),Hn.children.forEach(Rn),Hn.alias.forEach(Rn))}else{const Hn=_n.indexOf(Bn);Hn>-1&&(_n.splice(Hn,1),Bn.record.name&&Pn.delete(Bn.record.name),Bn.children.forEach(Rn),Bn.alias.forEach(Rn))}}function Dn(){return _n}function Ln(Bn){let Hn=0;for(;Hn<_n.length&&comparePathParserScore(Bn,_n[Hn])>=0&&(Bn.record.path!==_n[Hn].record.path||!isRecordChildOf(Bn,_n[Hn]));)Hn++;_n.splice(Hn,0,Bn),Bn.record.name&&!isAliasRecord(Bn)&&Pn.set(Bn.record.name,Bn)}function Fn(Bn,Hn){let zn,Wn={},Yn,Gn;if("name"in Bn&&Bn.name){if(zn=Pn.get(Bn.name),!zn)throw createRouterError(1,{location:Bn});Gn=zn.record.name,Wn=assign$3(paramsFromLocation(Hn.params,zn.keys.filter(Yo=>!Yo.optional).map(Yo=>Yo.name)),Bn.params&¶msFromLocation(Bn.params,zn.keys.map(Yo=>Yo.name))),Yn=zn.stringify(Wn)}else if("path"in Bn)Yn=Bn.path,zn=_n.find(Yo=>Yo.re.test(Yn)),zn&&(Wn=zn.parse(Yn),Gn=zn.record.name);else{if(zn=Hn.name?Pn.get(Hn.name):_n.find(Yo=>Yo.re.test(Hn.path)),!zn)throw createRouterError(1,{location:Bn,currentLocation:Hn});Gn=zn.record.name,Wn=assign$3({},Hn.params,Bn.params),Yn=zn.stringify(Wn)}const Go=[];let Xn=zn;for(;Xn;)Go.unshift(Xn.record),Xn=Xn.parent;return{name:Gn,path:Yn,params:Wn,matched:Go,meta:mergeMetaFields(Go)}}return $n.forEach(Bn=>Nn(Bn)),{addRoute:Nn,resolve:Fn,removeRoute:Rn,getRoutes:Dn,getRecordMatcher:In}}function paramsFromLocation($n,Cn){const _n={};for(const Pn of Cn)Pn in $n&&(_n[Pn]=$n[Pn]);return _n}function normalizeRouteRecord($n){return{path:$n.path,redirect:$n.redirect,name:$n.name,meta:$n.meta||{},aliasOf:void 0,beforeEnter:$n.beforeEnter,props:normalizeRecordProps($n),children:$n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in $n?$n.components||null:$n.component&&{default:$n.component}}}function normalizeRecordProps($n){const Cn={},_n=$n.props||!1;if("component"in $n)Cn.default=_n;else for(const Pn in $n.components)Cn[Pn]=typeof _n=="object"?_n[Pn]:_n;return Cn}function isAliasRecord($n){for(;$n;){if($n.record.aliasOf)return!0;$n=$n.parent}return!1}function mergeMetaFields($n){return $n.reduce((Cn,_n)=>assign$3(Cn,_n.meta),{})}function mergeOptions($n,Cn){const _n={};for(const Pn in $n)_n[Pn]=Pn in Cn?Cn[Pn]:$n[Pn];return _n}function isRecordChildOf($n,Cn){return Cn.children.some(_n=>_n===$n||isRecordChildOf($n,_n))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode($n){return encodeURI(""+$n).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash($n){return commonEncode($n).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue($n){return commonEncode($n).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey($n){return encodeQueryValue($n).replace(EQUAL_RE,"%3D")}function encodePath($n){return commonEncode($n).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam($n){return $n==null?"":encodePath($n).replace(SLASH_RE,"%2F")}function decode($n){try{return decodeURIComponent(""+$n)}catch{}return""+$n}function parseQuery($n){const Cn={};if($n===""||$n==="?")return Cn;const Pn=($n[0]==="?"?$n.slice(1):$n).split("&");for(let In=0;In<Pn.length;++In){const Nn=Pn[In].replace(PLUS_RE," "),Rn=Nn.indexOf("="),Dn=decode(Rn<0?Nn:Nn.slice(0,Rn)),Ln=Rn<0?null:decode(Nn.slice(Rn+1));if(Dn in Cn){let Fn=Cn[Dn];isArray$1(Fn)||(Fn=Cn[Dn]=[Fn]),Fn.push(Ln)}else Cn[Dn]=Ln}return Cn}function stringifyQuery($n){let Cn="";for(let _n in $n){const Pn=$n[_n];if(_n=encodeQueryKey(_n),Pn==null){Pn!==void 0&&(Cn+=(Cn.length?"&":"")+_n);continue}(isArray$1(Pn)?Pn.map(Nn=>Nn&&encodeQueryValue(Nn)):[Pn&&encodeQueryValue(Pn)]).forEach(Nn=>{Nn!==void 0&&(Cn+=(Cn.length?"&":"")+_n,Nn!=null&&(Cn+="="+Nn))})}return Cn}function normalizeQuery($n){const Cn={};for(const _n in $n){const Pn=$n[_n];Pn!==void 0&&(Cn[_n]=isArray$1(Pn)?Pn.map(In=>In==null?null:""+In):Pn==null?Pn:""+Pn)}return Cn}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let $n=[];function Cn(Pn){return $n.push(Pn),()=>{const In=$n.indexOf(Pn);In>-1&&$n.splice(In,1)}}function _n(){$n=[]}return{add:Cn,list:()=>$n.slice(),reset:_n}}function guardToPromiseFn($n,Cn,_n,Pn,In){const Nn=Pn&&(Pn.enterCallbacks[In]=Pn.enterCallbacks[In]||[]);return()=>new Promise((Rn,Dn)=>{const Ln=Hn=>{Hn===!1?Dn(createRouterError(4,{from:_n,to:Cn})):Hn instanceof Error?Dn(Hn):isRouteLocation(Hn)?Dn(createRouterError(2,{from:Cn,to:Hn})):(Nn&&Pn.enterCallbacks[In]===Nn&&typeof Hn=="function"&&Nn.push(Hn),Rn())},Fn=$n.call(Pn&&Pn.instances[In],Cn,_n,Ln);let Bn=Promise.resolve(Fn);$n.length<3&&(Bn=Bn.then(Ln)),Bn.catch(Hn=>Dn(Hn))})}function extractComponentsGuards($n,Cn,_n,Pn){const In=[];for(const Nn of $n)for(const Rn in Nn.components){let Dn=Nn.components[Rn];if(!(Cn!=="beforeRouteEnter"&&!Nn.instances[Rn]))if(isRouteComponent(Dn)){const Fn=(Dn.__vccOpts||Dn)[Cn];Fn&&In.push(guardToPromiseFn(Fn,_n,Pn,Nn,Rn))}else{let Ln=Dn();In.push(()=>Ln.then(Fn=>{if(!Fn)return Promise.reject(new Error(`Couldn't resolve component "${Rn}" at "${Nn.path}"`));const Bn=isESModule(Fn)?Fn.default:Fn;Nn.components[Rn]=Bn;const zn=(Bn.__vccOpts||Bn)[Cn];return zn&&guardToPromiseFn(zn,_n,Pn,Nn,Rn)()}))}}return In}function isRouteComponent($n){return typeof $n=="object"||"displayName"in $n||"props"in $n||"__vccOpts"in $n}function useLink($n){const Cn=inject(routerKey),_n=inject(routeLocationKey),Pn=computed(()=>Cn.resolve(unref($n.to))),In=computed(()=>{const{matched:Ln}=Pn.value,{length:Fn}=Ln,Bn=Ln[Fn-1],Hn=_n.matched;if(!Bn||!Hn.length)return-1;const zn=Hn.findIndex(isSameRouteRecord.bind(null,Bn));if(zn>-1)return zn;const Wn=getOriginalPath(Ln[Fn-2]);return Fn>1&&getOriginalPath(Bn)===Wn&&Hn[Hn.length-1].path!==Wn?Hn.findIndex(isSameRouteRecord.bind(null,Ln[Fn-2])):zn}),Nn=computed(()=>In.value>-1&&includesParams(_n.params,Pn.value.params)),Rn=computed(()=>In.value>-1&&In.value===_n.matched.length-1&&isSameRouteLocationParams(_n.params,Pn.value.params));function Dn(Ln={}){return guardEvent(Ln)?Cn[unref($n.replace)?"replace":"push"](unref($n.to)).catch(noop$1):Promise.resolve()}return{route:Pn,href:computed(()=>Pn.value.href),isActive:Nn,isExactActive:Rn,navigate:Dn}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup($n,{slots:Cn}){const _n=reactive(useLink($n)),{options:Pn}=inject(routerKey),In=computed(()=>({[getLinkClass($n.activeClass,Pn.linkActiveClass,"router-link-active")]:_n.isActive,[getLinkClass($n.exactActiveClass,Pn.linkExactActiveClass,"router-link-exact-active")]:_n.isExactActive}));return()=>{const Nn=Cn.default&&Cn.default(_n);return $n.custom?Nn:h$3("a",{"aria-current":_n.isExactActive?$n.ariaCurrentValue:null,href:_n.href,onClick:_n.navigate,class:In.value},Nn)}}}),RouterLink=RouterLinkImpl;function guardEvent($n){if(!($n.metaKey||$n.altKey||$n.ctrlKey||$n.shiftKey)&&!$n.defaultPrevented&&!($n.button!==void 0&&$n.button!==0)){if($n.currentTarget&&$n.currentTarget.getAttribute){const Cn=$n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(Cn))return}return $n.preventDefault&&$n.preventDefault(),!0}}function includesParams($n,Cn){for(const _n in Cn){const Pn=Cn[_n],In=$n[_n];if(typeof Pn=="string"){if(Pn!==In)return!1}else if(!isArray$1(In)||In.length!==Pn.length||Pn.some((Nn,Rn)=>Nn!==In[Rn]))return!1}return!0}function getOriginalPath($n){return $n?$n.aliasOf?$n.aliasOf.path:$n.path:""}const getLinkClass=($n,Cn,_n)=>$n??Cn??_n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup($n,{attrs:Cn,slots:_n}){const Pn=inject(routerViewLocationKey),In=computed(()=>$n.route||Pn.value),Nn=inject(viewDepthKey,0),Rn=computed(()=>{let Fn=unref(Nn);const{matched:Bn}=In.value;let Hn;for(;(Hn=Bn[Fn])&&!Hn.components;)Fn++;return Fn}),Dn=computed(()=>In.value.matched[Rn.value]);provide(viewDepthKey,computed(()=>Rn.value+1)),provide(matchedRouteKey,Dn),provide(routerViewLocationKey,In);const Ln=ref();return watch(()=>[Ln.value,Dn.value,$n.name],([Fn,Bn,Hn],[zn,Wn,Yn])=>{Bn&&(Bn.instances[Hn]=Fn,Wn&&Wn!==Bn&&Fn&&Fn===zn&&(Bn.leaveGuards.size||(Bn.leaveGuards=Wn.leaveGuards),Bn.updateGuards.size||(Bn.updateGuards=Wn.updateGuards))),Fn&&Bn&&(!Wn||!isSameRouteRecord(Bn,Wn)||!zn)&&(Bn.enterCallbacks[Hn]||[]).forEach(Gn=>Gn(Fn))},{flush:"post"}),()=>{const Fn=In.value,Bn=$n.name,Hn=Dn.value,zn=Hn&&Hn.components[Bn];if(!zn)return normalizeSlot(_n.default,{Component:zn,route:Fn});const Wn=Hn.props[Bn],Yn=Wn?Wn===!0?Fn.params:typeof Wn=="function"?Wn(Fn):Wn:null,Go=h$3(zn,assign$3({},Yn,Cn,{onVnodeUnmounted:Xn=>{Xn.component.isUnmounted&&(Hn.instances[Bn]=null)},ref:Ln}));return normalizeSlot(_n.default,{Component:Go,route:Fn})||Go}}});function normalizeSlot($n,Cn){if(!$n)return null;const _n=$n(Cn);return _n.length===1?_n[0]:_n}const RouterView=RouterViewImpl;function createRouter($n){const Cn=createRouterMatcher($n.routes,$n),_n=$n.parseQuery||parseQuery,Pn=$n.stringifyQuery||stringifyQuery,In=$n.history,Nn=useCallbacks(),Rn=useCallbacks(),Dn=useCallbacks(),Ln=shallowRef(START_LOCATION_NORMALIZED);let Fn=START_LOCATION_NORMALIZED;isBrowser&&$n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Bn=applyToParams.bind(null,wa=>""+wa),Hn=applyToParams.bind(null,encodeParam),zn=applyToParams.bind(null,decode);function Wn(wa,La){let Na,$a;return isRouteName(wa)?(Na=Cn.getRecordMatcher(wa),$a=La):$a=wa,Cn.addRoute($a,Na)}function Yn(wa){const La=Cn.getRecordMatcher(wa);La&&Cn.removeRoute(La)}function Gn(){return Cn.getRoutes().map(wa=>wa.record)}function Go(wa){return!!Cn.getRecordMatcher(wa)}function Xn(wa,La){if(La=assign$3({},La||Ln.value),typeof wa=="string"){const pa=parseURL(_n,wa,La.path),Sa=Cn.resolve({path:pa.path},La),Aa=In.createHref(pa.fullPath);return assign$3(pa,Sa,{params:zn(Sa.params),hash:decode(pa.hash),redirectedFrom:void 0,href:Aa})}let Na;if("path"in wa)Na=assign$3({},wa,{path:parseURL(_n,wa.path,La.path).path});else{const pa=assign$3({},wa.params);for(const Sa in pa)pa[Sa]==null&&delete pa[Sa];Na=assign$3({},wa,{params:Hn(pa)}),La.params=Hn(La.params)}const $a=Cn.resolve(Na,La),ka=wa.hash||"";$a.params=Bn(zn($a.params));const Ha=stringifyURL(Pn,assign$3({},wa,{hash:encodeHash(ka),path:$a.path})),da=In.createHref(Ha);return assign$3({fullPath:Ha,hash:ka,query:Pn===stringifyQuery?normalizeQuery(wa.query):wa.query||{}},$a,{redirectedFrom:void 0,href:da})}function Yo(wa){return typeof wa=="string"?parseURL(_n,wa,Ln.value.path):assign$3({},wa)}function qo(wa,La){if(Fn!==wa)return createRouterError(8,{from:La,to:wa})}function Jo(wa){return nr(wa)}function Zo(wa){return Jo(assign$3(Yo(wa),{replace:!0}))}function rr(wa){const La=wa.matched[wa.matched.length-1];if(La&&La.redirect){const{redirect:Na}=La;let $a=typeof Na=="function"?Na(wa):Na;return typeof $a=="string"&&($a=$a.includes("?")||$a.includes("#")?$a=Yo($a):{path:$a},$a.params={}),assign$3({query:wa.query,hash:wa.hash,params:"path"in $a?{}:wa.params},$a)}}function nr(wa,La){const Na=Fn=Xn(wa),$a=Ln.value,ka=wa.state,Ha=wa.force,da=wa.replace===!0,pa=rr(Na);if(pa)return nr(assign$3(Yo(pa),{state:typeof pa=="object"?assign$3({},ka,pa.state):ka,force:Ha,replace:da}),La||Na);const Sa=Na;Sa.redirectedFrom=La;let Aa;return!Ha&&isSameRouteLocation(Pn,$a,Na)&&(Aa=createRouterError(16,{to:Sa,from:$a}),ya($a,$a,!0,!1)),(Aa?Promise.resolve(Aa):ra(Sa,$a)).catch(Ra=>isNavigationFailure(Ra)?isNavigationFailure(Ra,2)?Ra:ma(Ra):ia(Ra,Sa,$a)).then(Ra=>{if(Ra){if(isNavigationFailure(Ra,2))return nr(assign$3({replace:da},Yo(Ra.to),{state:typeof Ra.to=="object"?assign$3({},ka,Ra.to.state):ka,force:Ha}),La||Sa)}else Ra=la(Sa,$a,!0,da,ka);return ea(Sa,$a,Ra),Ra})}function ta(wa,La){const Na=qo(wa,La);return Na?Promise.reject(Na):Promise.resolve()}function oa(wa){const La=Ea.values().next().value;return La&&typeof La.runWithContext=="function"?La.runWithContext(wa):wa()}function ra(wa,La){let Na;const[$a,ka,Ha]=extractChangingRecords(wa,La);Na=extractComponentsGuards($a.reverse(),"beforeRouteLeave",wa,La);for(const pa of $a)pa.leaveGuards.forEach(Sa=>{Na.push(guardToPromiseFn(Sa,wa,La))});const da=ta.bind(null,wa,La);return Na.push(da),Ta(Na).then(()=>{Na=[];for(const pa of Nn.list())Na.push(guardToPromiseFn(pa,wa,La));return Na.push(da),Ta(Na)}).then(()=>{Na=extractComponentsGuards(ka,"beforeRouteUpdate",wa,La);for(const pa of ka)pa.updateGuards.forEach(Sa=>{Na.push(guardToPromiseFn(Sa,wa,La))});return Na.push(da),Ta(Na)}).then(()=>{Na=[];for(const pa of Ha)if(pa.beforeEnter)if(isArray$1(pa.beforeEnter))for(const Sa of pa.beforeEnter)Na.push(guardToPromiseFn(Sa,wa,La));else Na.push(guardToPromiseFn(pa.beforeEnter,wa,La));return Na.push(da),Ta(Na)}).then(()=>(wa.matched.forEach(pa=>pa.enterCallbacks={}),Na=extractComponentsGuards(Ha,"beforeRouteEnter",wa,La),Na.push(da),Ta(Na))).then(()=>{Na=[];for(const pa of Rn.list())Na.push(guardToPromiseFn(pa,wa,La));return Na.push(da),Ta(Na)}).catch(pa=>isNavigationFailure(pa,8)?pa:Promise.reject(pa))}function ea(wa,La,Na){Dn.list().forEach($a=>oa(()=>$a(wa,La,Na)))}function la(wa,La,Na,$a,ka){const Ha=qo(wa,La);if(Ha)return Ha;const da=La===START_LOCATION_NORMALIZED,pa=isBrowser?history.state:{};Na&&($a||da?In.replace(wa.fullPath,assign$3({scroll:da&&pa&&pa.scroll},ka)):In.push(wa.fullPath,ka)),Ln.value=wa,ya(wa,La,Na,da),ma()}let ua;function ga(){ua||(ua=In.listen((wa,La,Na)=>{if(!xa.listening)return;const $a=Xn(wa),ka=rr($a);if(ka){nr(assign$3(ka,{replace:!0}),$a).catch(noop$1);return}Fn=$a;const Ha=Ln.value;isBrowser&&saveScrollPosition(getScrollKey(Ha.fullPath,Na.delta),computeScrollPosition()),ra($a,Ha).catch(da=>isNavigationFailure(da,12)?da:isNavigationFailure(da,2)?(nr(da.to,$a).then(pa=>{isNavigationFailure(pa,20)&&!Na.delta&&Na.type===NavigationType.pop&&In.go(-1,!1)}).catch(noop$1),Promise.reject()):(Na.delta&&In.go(-Na.delta,!1),ia(da,$a,Ha))).then(da=>{da=da||la($a,Ha,!1),da&&(Na.delta&&!isNavigationFailure(da,8)?In.go(-Na.delta,!1):Na.type===NavigationType.pop&&isNavigationFailure(da,20)&&In.go(-1,!1)),ea($a,Ha,da)}).catch(noop$1)}))}let aa=useCallbacks(),ca=useCallbacks(),sa;function ia(wa,La,Na){ma(wa);const $a=ca.list();return $a.length?$a.forEach(ka=>ka(wa,La,Na)):console.error(wa),Promise.reject(wa)}function fa(){return sa&&Ln.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((wa,La)=>{aa.add([wa,La])})}function ma(wa){return sa||(sa=!wa,ga(),aa.list().forEach(([La,Na])=>wa?Na(wa):La()),aa.reset()),wa}function ya(wa,La,Na,$a){const{scrollBehavior:ka}=$n;if(!isBrowser||!ka)return Promise.resolve();const Ha=!Na&&getSavedScrollPosition(getScrollKey(wa.fullPath,0))||($a||!Na)&&history.state&&history.state.scroll||null;return nextTick().then(()=>ka(wa,La,Ha)).then(da=>da&&scrollToPosition(da)).catch(da=>ia(da,wa,La))}const ba=wa=>In.go(wa);let Ia;const Ea=new Set,xa={currentRoute:Ln,listening:!0,addRoute:Wn,removeRoute:Yn,hasRoute:Go,getRoutes:Gn,resolve:Xn,options:$n,push:Jo,replace:Zo,go:ba,back:()=>ba(-1),forward:()=>ba(1),beforeEach:Nn.add,beforeResolve:Rn.add,afterEach:Dn.add,onError:ca.add,isReady:fa,install(wa){const La=this;wa.component("RouterLink",RouterLink),wa.component("RouterView",RouterView),wa.config.globalProperties.$router=La,Object.defineProperty(wa.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Ln)}),isBrowser&&!Ia&&Ln.value===START_LOCATION_NORMALIZED&&(Ia=!0,Jo(In.location).catch(ka=>{}));const Na={};for(const ka in START_LOCATION_NORMALIZED)Object.defineProperty(Na,ka,{get:()=>Ln.value[ka],enumerable:!0});wa.provide(routerKey,La),wa.provide(routeLocationKey,shallowReactive(Na)),wa.provide(routerViewLocationKey,Ln);const $a=wa.unmount;Ea.add(wa),wa.unmount=function(){Ea.delete(wa),Ea.size<1&&(Fn=START_LOCATION_NORMALIZED,ua&&ua(),ua=null,Ln.value=START_LOCATION_NORMALIZED,Ia=!1,sa=!1),$a()}}};function Ta(wa){return wa.reduce((La,Na)=>La.then(()=>oa(Na)),Promise.resolve())}return xa}function extractChangingRecords($n,Cn){const _n=[],Pn=[],In=[],Nn=Math.max(Cn.matched.length,$n.matched.length);for(let Rn=0;Rn<Nn;Rn++){const Dn=Cn.matched[Rn];Dn&&($n.matched.find(Fn=>isSameRouteRecord(Fn,Dn))?Pn.push(Dn):_n.push(Dn));const Ln=$n.matched[Rn];Ln&&(Cn.matched.find(Fn=>isSameRouteRecord(Fn,Ln))||In.push(Ln))}return[_n,Pn,In]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const scriptRel="modulepreload",assetsURL=function($n){return"/admin/"+$n},seen={},__vitePreload=function(Cn,_n,Pn){let In=Promise.resolve();if(_n&&_n.length>0){const Nn=document.getElementsByTagName("link");In=Promise.all(_n.map(Rn=>{if(Rn=assetsURL(Rn),Rn in seen)return;seen[Rn]=!0;const Dn=Rn.endsWith(".css"),Ln=Dn?'[rel="stylesheet"]':"";if(!!Pn)for(let Hn=Nn.length-1;Hn>=0;Hn--){const zn=Nn[Hn];if(zn.href===Rn&&(!Dn||zn.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${Rn}"]${Ln}`))return;const Bn=document.createElement("link");if(Bn.rel=Dn?"stylesheet":scriptRel,Dn||(Bn.as="script",Bn.crossOrigin=""),Bn.href=Rn,document.head.appendChild(Bn),Dn)return new Promise((Hn,zn)=>{Bn.addEventListener("load",Hn),Bn.addEventListener("error",()=>zn(new Error(`Unable to preload CSS for ${Rn}`)))})}))}return In.then(()=>Cn()).catch(Nn=>{const Rn=new Event("vite:preloadError",{cancelable:!0});if(Rn.payload=Nn,window.dispatchEvent(Rn),!Rn.defaultPrevented)throw Nn})},matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=($n,Cn,_n,Pn="")=>{const In=$n.split(":");if($n.slice(0,1)==="@"){if(In.length<2||In.length>3)return null;Pn=In.shift().slice(1)}if(In.length>3||!In.length)return null;if(In.length>1){const Dn=In.pop(),Ln=In.pop(),Fn={provider:In.length>0?In[0]:Pn,prefix:Ln,name:Dn};return Cn&&!validateIconName(Fn)?null:Fn}const Nn=In[0],Rn=Nn.split("-");if(Rn.length>1){const Dn={provider:Pn,prefix:Rn.shift(),name:Rn.join("-")};return Cn&&!validateIconName(Dn)?null:Dn}if(_n&&Pn===""){const Dn={provider:Pn,prefix:"",name:Nn};return Cn&&!validateIconName(Dn,_n)?null:Dn}return null},validateIconName=($n,Cn)=>$n?!!(($n.provider===""||$n.provider.match(matchIconName))&&(Cn&&$n.prefix===""||$n.prefix.match(matchIconName))&&$n.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations($n,Cn){const _n={};!$n.hFlip!=!Cn.hFlip&&(_n.hFlip=!0),!$n.vFlip!=!Cn.vFlip&&(_n.vFlip=!0);const Pn=(($n.rotate||0)+(Cn.rotate||0))%4;return Pn&&(_n.rotate=Pn),_n}function mergeIconData($n,Cn){const _n=mergeIconTransformations($n,Cn);for(const Pn in defaultExtendedIconProps)Pn in defaultIconTransformations?Pn in $n&&!(Pn in _n)&&(_n[Pn]=defaultIconTransformations[Pn]):Pn in Cn?_n[Pn]=Cn[Pn]:Pn in $n&&(_n[Pn]=$n[Pn]);return _n}function getIconsTree($n,Cn){const _n=$n.icons,Pn=$n.aliases||Object.create(null),In=Object.create(null);function Nn(Rn){if(_n[Rn])return In[Rn]=[];if(!(Rn in In)){In[Rn]=null;const Dn=Pn[Rn]&&Pn[Rn].parent,Ln=Dn&&Nn(Dn);Ln&&(In[Rn]=[Dn].concat(Ln))}return In[Rn]}return(Cn||Object.keys(_n).concat(Object.keys(Pn))).forEach(Nn),In}function internalGetIconData($n,Cn,_n){const Pn=$n.icons,In=$n.aliases||Object.create(null);let Nn={};function Rn(Dn){Nn=mergeIconData(Pn[Dn]||In[Dn],Nn)}return Rn(Cn),_n.forEach(Rn),mergeIconData($n,Nn)}function parseIconSet($n,Cn){const _n=[];if(typeof $n!="object"||typeof $n.icons!="object")return _n;$n.not_found instanceof Array&&$n.not_found.forEach(In=>{Cn(In,null),_n.push(In)});const Pn=getIconsTree($n);for(const In in Pn){const Nn=Pn[In];Nn&&(Cn(In,internalGetIconData($n,In,Nn)),_n.push(In))}return _n}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps($n,Cn){for(const _n in Cn)if(_n in $n&&typeof $n[_n]!=typeof Cn[_n])return!1;return!0}function quicklyValidateIconSet($n){if(typeof $n!="object"||$n===null)return null;const Cn=$n;if(typeof Cn.prefix!="string"||!$n.icons||typeof $n.icons!="object"||!checkOptionalProps($n,optionalPropertyDefaults))return null;const _n=Cn.icons;for(const In in _n){const Nn=_n[In];if(!In.match(matchIconName)||typeof Nn.body!="string"||!checkOptionalProps(Nn,defaultExtendedIconProps))return null}const Pn=Cn.aliases||Object.create(null);for(const In in Pn){const Nn=Pn[In],Rn=Nn.parent;if(!In.match(matchIconName)||typeof Rn!="string"||!_n[Rn]&&!Pn[Rn]||!checkOptionalProps(Nn,defaultExtendedIconProps))return null}return Cn}const dataStorage=Object.create(null);function newStorage($n,Cn){return{provider:$n,prefix:Cn,icons:Object.create(null),missing:new Set}}function getStorage($n,Cn){const _n=dataStorage[$n]||(dataStorage[$n]=Object.create(null));return _n[Cn]||(_n[Cn]=newStorage($n,Cn))}function addIconSet($n,Cn){return quicklyValidateIconSet(Cn)?parseIconSet(Cn,(_n,Pn)=>{Pn?$n.icons[_n]=Pn:$n.missing.add(_n)}):[]}function addIconToStorage($n,Cn,_n){try{if(typeof _n.body=="string")return $n.icons[Cn]={..._n},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames($n){return typeof $n=="boolean"&&(simpleNames=$n),simpleNames}function getIconData($n){const Cn=typeof $n=="string"?stringToIcon($n,!0,simpleNames):$n;if(Cn){const _n=getStorage(Cn.provider,Cn.prefix),Pn=Cn.name;return _n.icons[Pn]||(_n.missing.has(Pn)?null:void 0)}}function addIcon($n,Cn){const _n=stringToIcon($n,!0,simpleNames);if(!_n)return!1;const Pn=getStorage(_n.provider,_n.prefix);return addIconToStorage(Pn,_n.name,Cn)}function addCollection($n,Cn){if(typeof $n!="object")return!1;if(typeof Cn!="string"&&(Cn=$n.provider||""),simpleNames&&!Cn&&!$n.prefix){let In=!1;return quicklyValidateIconSet($n)&&($n.prefix="",parseIconSet($n,(Nn,Rn)=>{Rn&&addIcon(Nn,Rn)&&(In=!0)})),In}const _n=$n.prefix;if(!validateIconName({provider:Cn,prefix:_n,name:"a"}))return!1;const Pn=getStorage(Cn,_n);return!!addIconSet(Pn,$n)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize($n,Cn,_n){if(Cn===1)return $n;if(_n=_n||100,typeof $n=="number")return Math.ceil($n*Cn*_n)/_n;if(typeof $n!="string")return $n;const Pn=$n.split(unitsSplit);if(Pn===null||!Pn.length)return $n;const In=[];let Nn=Pn.shift(),Rn=unitsTest.test(Nn);for(;;){if(Rn){const Dn=parseFloat(Nn);isNaN(Dn)?In.push(Nn):In.push(Math.ceil(Dn*Cn*_n)/_n)}else In.push(Nn);if(Nn=Pn.shift(),Nn===void 0)return In.join("");Rn=!Rn}}const isUnsetKeyword=$n=>$n==="unset"||$n==="undefined"||$n==="none";function iconToSVG($n,Cn){const _n={...defaultIconProps,...$n},Pn={...defaultIconCustomisations,...Cn},In={left:_n.left,top:_n.top,width:_n.width,height:_n.height};let Nn=_n.body;[_n,Pn].forEach(Yn=>{const Gn=[],Go=Yn.hFlip,Xn=Yn.vFlip;let Yo=Yn.rotate;Go?Xn?Yo+=2:(Gn.push("translate("+(In.width+In.left).toString()+" "+(0-In.top).toString()+")"),Gn.push("scale(-1 1)"),In.top=In.left=0):Xn&&(Gn.push("translate("+(0-In.left).toString()+" "+(In.height+In.top).toString()+")"),Gn.push("scale(1 -1)"),In.top=In.left=0);let qo;switch(Yo<0&&(Yo-=Math.floor(Yo/4)*4),Yo=Yo%4,Yo){case 1:qo=In.height/2+In.top,Gn.unshift("rotate(90 "+qo.toString()+" "+qo.toString()+")");break;case 2:Gn.unshift("rotate(180 "+(In.width/2+In.left).toString()+" "+(In.height/2+In.top).toString()+")");break;case 3:qo=In.width/2+In.left,Gn.unshift("rotate(-90 "+qo.toString()+" "+qo.toString()+")");break}Yo%2===1&&(In.left!==In.top&&(qo=In.left,In.left=In.top,In.top=qo),In.width!==In.height&&(qo=In.width,In.width=In.height,In.height=qo)),Gn.length&&(Nn='<g transform="'+Gn.join(" ")+'">'+Nn+"</g>")});const Rn=Pn.width,Dn=Pn.height,Ln=In.width,Fn=In.height;let Bn,Hn;Rn===null?(Hn=Dn===null?"1em":Dn==="auto"?Fn:Dn,Bn=calculateSize(Hn,Ln/Fn)):(Bn=Rn==="auto"?Ln:Rn,Hn=Dn===null?calculateSize(Bn,Fn/Ln):Dn==="auto"?Fn:Dn);const zn={},Wn=(Yn,Gn)=>{isUnsetKeyword(Gn)||(zn[Yn]=Gn.toString())};return Wn("width",Bn),Wn("height",Hn),zn.viewBox=In.left.toString()+" "+In.top.toString()+" "+Ln.toString()+" "+Fn.toString(),{attributes:zn,body:Nn}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs($n,Cn=randomPrefix){const _n=[];let Pn;for(;Pn=regex.exec($n);)_n.push(Pn[1]);if(!_n.length)return $n;const In="suffix"+(Math.random()*16777216|Date.now()).toString(16);return _n.forEach(Nn=>{const Rn=typeof Cn=="function"?Cn(Nn):Cn+(counter++).toString(),Dn=Nn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");$n=$n.replace(new RegExp('([#;"])('+Dn+')([")]|\\.[a-z])',"g"),"$1"+Rn+In+"$3")}),$n=$n.replace(new RegExp(In,"g"),""),$n}const storage=Object.create(null);function setAPIModule($n,Cn){storage[$n]=Cn}function getAPIModule($n){return storage[$n]||storage[""]}function createAPIConfig($n){let Cn;if(typeof $n.resources=="string")Cn=[$n.resources];else if(Cn=$n.resources,!(Cn instanceof Array)||!Cn.length)return null;return{resources:Cn,path:$n.path||"/",maxURL:$n.maxURL||500,rotate:$n.rotate||750,timeout:$n.timeout||5e3,random:$n.random===!0,index:$n.index||0,dataAfterTimeout:$n.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider($n,Cn){const _n=createAPIConfig(Cn);return _n===null?!1:(configStorage[$n]=_n,!0)}function getAPIConfig($n){return configStorage[$n]}const detectFetch=()=>{let $n;try{if($n=fetch,typeof $n=="function")return $n}catch{}};let fetchModule=detectFetch();function calculateMaxLength($n,Cn){const _n=getAPIConfig($n);if(!_n)return 0;let Pn;if(!_n.maxURL)Pn=0;else{let In=0;_n.resources.forEach(Rn=>{In=Math.max(In,Rn.length)});const Nn=Cn+".json?icons=";Pn=_n.maxURL-In-_n.path.length-Nn.length}return Pn}function shouldAbort($n){return $n===404}const prepare=($n,Cn,_n)=>{const Pn=[],In=calculateMaxLength($n,Cn),Nn="icons";let Rn={type:Nn,provider:$n,prefix:Cn,icons:[]},Dn=0;return _n.forEach((Ln,Fn)=>{Dn+=Ln.length+1,Dn>=In&&Fn>0&&(Pn.push(Rn),Rn={type:Nn,provider:$n,prefix:Cn,icons:[]},Dn=Ln.length),Rn.icons.push(Ln)}),Pn.push(Rn),Pn};function getPath($n){if(typeof $n=="string"){const Cn=getAPIConfig($n);if(Cn)return Cn.path}return"/"}const send=($n,Cn,_n)=>{if(!fetchModule){_n("abort",424);return}let Pn=getPath(Cn.provider);switch(Cn.type){case"icons":{const Nn=Cn.prefix,Dn=Cn.icons.join(","),Ln=new URLSearchParams({icons:Dn});Pn+=Nn+".json?"+Ln.toString();break}case"custom":{const Nn=Cn.uri;Pn+=Nn.slice(0,1)==="/"?Nn.slice(1):Nn;break}default:_n("abort",400);return}let In=503;fetchModule($n+Pn).then(Nn=>{const Rn=Nn.status;if(Rn!==200){setTimeout(()=>{_n(shouldAbort(Rn)?"abort":"next",Rn)});return}return In=501,Nn.json()}).then(Nn=>{if(typeof Nn!="object"||Nn===null){setTimeout(()=>{Nn===404?_n("abort",Nn):_n("next",In)});return}setTimeout(()=>{_n("success",Nn)})}).catch(()=>{_n("next",In)})},fetchAPIModule={prepare,send};function sortIcons($n){const Cn={loaded:[],missing:[],pending:[]},_n=Object.create(null);$n.sort((In,Nn)=>In.provider!==Nn.provider?In.provider.localeCompare(Nn.provider):In.prefix!==Nn.prefix?In.prefix.localeCompare(Nn.prefix):In.name.localeCompare(Nn.name));let Pn={provider:"",prefix:"",name:""};return $n.forEach(In=>{if(Pn.name===In.name&&Pn.prefix===In.prefix&&Pn.provider===In.provider)return;Pn=In;const Nn=In.provider,Rn=In.prefix,Dn=In.name,Ln=_n[Nn]||(_n[Nn]=Object.create(null)),Fn=Ln[Rn]||(Ln[Rn]=getStorage(Nn,Rn));let Bn;Dn in Fn.icons?Bn=Cn.loaded:Rn===""||Fn.missing.has(Dn)?Bn=Cn.missing:Bn=Cn.pending;const Hn={provider:Nn,prefix:Rn,name:Dn};Bn.push(Hn)}),Cn}function removeCallback($n,Cn){$n.forEach(_n=>{const Pn=_n.loaderCallbacks;Pn&&(_n.loaderCallbacks=Pn.filter(In=>In.id!==Cn))})}function updateCallbacks($n){$n.pendingCallbacksFlag||($n.pendingCallbacksFlag=!0,setTimeout(()=>{$n.pendingCallbacksFlag=!1;const Cn=$n.loaderCallbacks?$n.loaderCallbacks.slice(0):[];if(!Cn.length)return;let _n=!1;const Pn=$n.provider,In=$n.prefix;Cn.forEach(Nn=>{const Rn=Nn.icons,Dn=Rn.pending.length;Rn.pending=Rn.pending.filter(Ln=>{if(Ln.prefix!==In)return!0;const Fn=Ln.name;if($n.icons[Fn])Rn.loaded.push({provider:Pn,prefix:In,name:Fn});else if($n.missing.has(Fn))Rn.missing.push({provider:Pn,prefix:In,name:Fn});else return _n=!0,!0;return!1}),Rn.pending.length!==Dn&&(_n||removeCallback([$n],Nn.id),Nn.callback(Rn.loaded.slice(0),Rn.missing.slice(0),Rn.pending.slice(0),Nn.abort))})}))}let idCounter=0;function storeCallback($n,Cn,_n){const Pn=idCounter++,In=removeCallback.bind(null,_n,Pn);if(!Cn.pending.length)return In;const Nn={id:Pn,icons:Cn,callback:$n,abort:In};return _n.forEach(Rn=>{(Rn.loaderCallbacks||(Rn.loaderCallbacks=[])).push(Nn)}),In}function listToIcons($n,Cn=!0,_n=!1){const Pn=[];return $n.forEach(In=>{const Nn=typeof In=="string"?stringToIcon(In,Cn,_n):In;Nn&&Pn.push(Nn)}),Pn}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery($n,Cn,_n,Pn){const In=$n.resources.length,Nn=$n.random?Math.floor(Math.random()*In):$n.index;let Rn;if($n.random){let rr=$n.resources.slice(0);for(Rn=[];rr.length>1;){const nr=Math.floor(Math.random()*rr.length);Rn.push(rr[nr]),rr=rr.slice(0,nr).concat(rr.slice(nr+1))}Rn=Rn.concat(rr)}else Rn=$n.resources.slice(Nn).concat($n.resources.slice(0,Nn));const Dn=Date.now();let Ln="pending",Fn=0,Bn,Hn=null,zn=[],Wn=[];typeof Pn=="function"&&Wn.push(Pn);function Yn(){Hn&&(clearTimeout(Hn),Hn=null)}function Gn(){Ln==="pending"&&(Ln="aborted"),Yn(),zn.forEach(rr=>{rr.status==="pending"&&(rr.status="aborted")}),zn=[]}function Go(rr,nr){nr&&(Wn=[]),typeof rr=="function"&&Wn.push(rr)}function Xn(){return{startTime:Dn,payload:Cn,status:Ln,queriesSent:Fn,queriesPending:zn.length,subscribe:Go,abort:Gn}}function Yo(){Ln="failed",Wn.forEach(rr=>{rr(void 0,Bn)})}function qo(){zn.forEach(rr=>{rr.status==="pending"&&(rr.status="aborted")}),zn=[]}function Jo(rr,nr,ta){const oa=nr!=="success";switch(zn=zn.filter(ra=>ra!==rr),Ln){case"pending":break;case"failed":if(oa||!$n.dataAfterTimeout)return;break;default:return}if(nr==="abort"){Bn=ta,Yo();return}if(oa){Bn=ta,zn.length||(Rn.length?Zo():Yo());return}if(Yn(),qo(),!$n.random){const ra=$n.resources.indexOf(rr.resource);ra!==-1&&ra!==$n.index&&($n.index=ra)}Ln="completed",Wn.forEach(ra=>{ra(ta)})}function Zo(){if(Ln!=="pending")return;Yn();const rr=Rn.shift();if(rr===void 0){if(zn.length){Hn=setTimeout(()=>{Yn(),Ln==="pending"&&(qo(),Yo())},$n.timeout);return}Yo();return}const nr={status:"pending",resource:rr,callback:(ta,oa)=>{Jo(nr,ta,oa)}};zn.push(nr),Fn++,Hn=setTimeout(Zo,$n.rotate),_n(rr,Cn,nr.callback)}return setTimeout(Zo),Xn}function initRedundancy($n){const Cn={...defaultConfig,...$n};let _n=[];function Pn(){_n=_n.filter(Dn=>Dn().status==="pending")}function In(Dn,Ln,Fn){const Bn=sendQuery(Cn,Dn,Ln,(Hn,zn)=>{Pn(),Fn&&Fn(Hn,zn)});return _n.push(Bn),Bn}function Nn(Dn){return _n.find(Ln=>Dn(Ln))||null}return{query:In,find:Nn,setIndex:Dn=>{Cn.index=Dn},getIndex:()=>Cn.index,cleanup:Pn}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache($n){if(!redundancyCache[$n]){const Cn=getAPIConfig($n);if(!Cn)return;const _n=initRedundancy(Cn),Pn={config:Cn,redundancy:_n};redundancyCache[$n]=Pn}return redundancyCache[$n]}function sendAPIQuery($n,Cn,_n){let Pn,In;if(typeof $n=="string"){const Nn=getAPIModule($n);if(!Nn)return _n(void 0,424),emptyCallback$1;In=Nn.send;const Rn=getRedundancyCache($n);Rn&&(Pn=Rn.redundancy)}else{const Nn=createAPIConfig($n);if(Nn){Pn=initRedundancy(Nn);const Rn=$n.resources?$n.resources[0]:"",Dn=getAPIModule(Rn);Dn&&(In=Dn.send)}}return!Pn||!In?(_n(void 0,424),emptyCallback$1):Pn.query(Cn,In,_n)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem($n,Cn){try{return $n.getItem(Cn)}catch{}}function setStoredItem($n,Cn,_n){try{return $n.setItem(Cn,_n),!0}catch{}}function removeStoredItem($n,Cn){try{$n.removeItem(Cn)}catch{}}function setBrowserStorageItemsCount($n,Cn){return setStoredItem($n,browserCacheCountKey,Cn.toString())}function getBrowserStorageItemsCount($n){return parseInt(getStoredItem($n,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus($n){browserStorageStatus=$n}let _window=typeof window>"u"?{}:window;function getBrowserStorage($n){const Cn=$n+"Storage";try{if(_window&&_window[Cn]&&typeof _window[Cn].length=="number")return _window[Cn]}catch{}browserStorageConfig[$n]=!1}function iterateBrowserStorage($n,Cn){const _n=getBrowserStorage($n);if(!_n)return;const Pn=getStoredItem(_n,browserCacheVersionKey);if(Pn!==browserCacheVersion){if(Pn){const Dn=getBrowserStorageItemsCount(_n);for(let Ln=0;Ln<Dn;Ln++)removeStoredItem(_n,browserCachePrefix+Ln.toString())}setStoredItem(_n,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(_n,0);return}const In=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,Nn=Dn=>{const Ln=browserCachePrefix+Dn.toString(),Fn=getStoredItem(_n,Ln);if(typeof Fn=="string"){try{const Bn=JSON.parse(Fn);if(typeof Bn=="object"&&typeof Bn.cached=="number"&&Bn.cached>In&&typeof Bn.provider=="string"&&typeof Bn.data=="object"&&typeof Bn.data.prefix=="string"&&Cn(Bn,Dn))return!0}catch{}removeStoredItem(_n,Ln)}};let Rn=getBrowserStorageItemsCount(_n);for(let Dn=Rn-1;Dn>=0;Dn--)Nn(Dn)||(Dn===Rn-1?(Rn--,setBrowserStorageItemsCount(_n,Rn)):browserStorageEmptyItems[$n].add(Dn))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const $n in browserStorageConfig)iterateBrowserStorage($n,Cn=>{const _n=Cn.data,Pn=Cn.provider,In=_n.prefix,Nn=getStorage(Pn,In);if(!addIconSet(Nn,_n).length)return!1;const Rn=_n.lastModified||-1;return Nn.lastModifiedCached=Nn.lastModifiedCached?Math.min(Nn.lastModifiedCached,Rn):Rn,!0})}}function updateLastModified($n,Cn){const _n=$n.lastModifiedCached;if(_n&&_n>=Cn)return _n===Cn;if($n.lastModifiedCached=Cn,_n)for(const Pn in browserStorageConfig)iterateBrowserStorage(Pn,In=>{const Nn=In.data;return In.provider!==$n.provider||Nn.prefix!==$n.prefix||Nn.lastModified===Cn});return!0}function storeInBrowserStorage($n,Cn){browserStorageStatus||initBrowserStorage();function _n(Pn){let In;if(!browserStorageConfig[Pn]||!(In=getBrowserStorage(Pn)))return;const Nn=browserStorageEmptyItems[Pn];let Rn;if(Nn.size)Nn.delete(Rn=Array.from(Nn).shift());else if(Rn=getBrowserStorageItemsCount(In),!setBrowserStorageItemsCount(In,Rn+1))return;const Dn={cached:Math.floor(Date.now()/browserStorageHour),provider:$n.provider,data:Cn};return setStoredItem(In,browserCachePrefix+Rn.toString(),JSON.stringify(Dn))}Cn.lastModified&&!updateLastModified($n,Cn.lastModified)||Object.keys(Cn.icons).length&&(Cn.not_found&&(Cn=Object.assign({},Cn),delete Cn.not_found),_n("local")||_n("session"))}function emptyCallback(){}function loadedNewIcons($n){$n.iconsLoaderFlag||($n.iconsLoaderFlag=!0,setTimeout(()=>{$n.iconsLoaderFlag=!1,updateCallbacks($n)}))}function loadNewIcons($n,Cn){$n.iconsToLoad?$n.iconsToLoad=$n.iconsToLoad.concat(Cn).sort():$n.iconsToLoad=Cn,$n.iconsQueueFlag||($n.iconsQueueFlag=!0,setTimeout(()=>{$n.iconsQueueFlag=!1;const{provider:_n,prefix:Pn}=$n,In=$n.iconsToLoad;delete $n.iconsToLoad;let Nn;if(!In||!(Nn=getAPIModule(_n)))return;Nn.prepare(_n,Pn,In).forEach(Dn=>{sendAPIQuery(_n,Dn,Ln=>{if(typeof Ln!="object")Dn.icons.forEach(Fn=>{$n.missing.add(Fn)});else try{const Fn=addIconSet($n,Ln);if(!Fn.length)return;const Bn=$n.pendingIcons;Bn&&Fn.forEach(Hn=>{Bn.delete(Hn)}),storeInBrowserStorage($n,Ln)}catch(Fn){console.error(Fn)}loadedNewIcons($n)})})}))}const loadIcons=($n,Cn)=>{const _n=listToIcons($n,!0,allowSimpleNames()),Pn=sortIcons(_n);if(!Pn.pending.length){let Ln=!0;return Cn&&setTimeout(()=>{Ln&&Cn(Pn.loaded,Pn.missing,Pn.pending,emptyCallback)}),()=>{Ln=!1}}const In=Object.create(null),Nn=[];let Rn,Dn;return Pn.pending.forEach(Ln=>{const{provider:Fn,prefix:Bn}=Ln;if(Bn===Dn&&Fn===Rn)return;Rn=Fn,Dn=Bn,Nn.push(getStorage(Fn,Bn));const Hn=In[Fn]||(In[Fn]=Object.create(null));Hn[Bn]||(Hn[Bn]=[])}),Pn.pending.forEach(Ln=>{const{provider:Fn,prefix:Bn,name:Hn}=Ln,zn=getStorage(Fn,Bn),Wn=zn.pendingIcons||(zn.pendingIcons=new Set);Wn.has(Hn)||(Wn.add(Hn),In[Fn][Bn].push(Hn))}),Nn.forEach(Ln=>{const{provider:Fn,prefix:Bn}=Ln;In[Fn][Bn].length&&loadNewIcons(Ln,In[Fn][Bn])}),Cn?storeCallback(Cn,Pn,Nn):emptyCallback};function mergeCustomisations($n,Cn){const _n={...$n};for(const Pn in Cn){const In=Cn[Pn],Nn=typeof In;Pn in defaultIconSizeCustomisations?(In===null||In&&(Nn==="string"||Nn==="number"))&&(_n[Pn]=In):Nn===typeof _n[Pn]&&(_n[Pn]=Pn==="rotate"?In%4:In)}return _n}const separator=/[\s,]+/;function flipFromString($n,Cn){Cn.split(separator).forEach(_n=>{switch(_n.trim()){case"horizontal":$n.hFlip=!0;break;case"vertical":$n.vFlip=!0;break}})}function rotateFromString($n,Cn=0){const _n=$n.replace(/^-?[0-9.]*/,"");function Pn(In){for(;In<0;)In+=4;return In%4}if(_n===""){const In=parseInt($n);return isNaN(In)?0:Pn(In)}else if(_n!==$n){let In=0;switch(_n){case"%":In=25;break;case"deg":In=90}if(In){let Nn=parseFloat($n.slice(0,$n.length-_n.length));return isNaN(Nn)?0:(Nn=Nn/In,Nn%1===0?Pn(Nn):0)}}return Cn}function iconToHTML($n,Cn){let _n=$n.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const Pn in Cn)_n+=" "+Pn+'="'+Cn[Pn]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+_n+">"+$n+"</svg>"}function encodeSVGforURL($n){return $n.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData($n){return"data:image/svg+xml,"+encodeSVGforURL($n)}function svgToURL($n){return'url("'+svgToData($n)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const $n in propsToAddTo){const Cn=propsToAddTo[$n];for(const _n in propsToAdd)Cn[$n+_n]=propsToAdd[_n]}const customisationAliases={};["horizontal","vertical"].forEach($n=>{const Cn=$n.slice(0,1)+"Flip";customisationAliases[$n+"-flip"]=Cn,customisationAliases[$n.slice(0,1)+"-flip"]=Cn,customisationAliases[$n+"Flip"]=Cn});function fixSize($n){return $n+($n.match(/^[-0-9.]+$/)?"px":"")}const render=($n,Cn)=>{const _n=mergeCustomisations(defaultExtendedIconCustomisations,Cn),Pn={...svgDefaults},In=Cn.mode||"svg",Nn={},Rn=Cn.style,Dn=typeof Rn=="object"&&!(Rn instanceof Array)?Rn:{};for(let Gn in Cn){const Go=Cn[Gn];if(Go!==void 0)switch(Gn){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":_n[Gn]=Go===!0||Go==="true"||Go===1;break;case"flip":typeof Go=="string"&&flipFromString(_n,Go);break;case"color":Nn.color=Go;break;case"rotate":typeof Go=="string"?_n[Gn]=rotateFromString(Go):typeof Go=="number"&&(_n[Gn]=Go);break;case"ariaHidden":case"aria-hidden":Go!==!0&&Go!=="true"&&delete Pn["aria-hidden"];break;default:{const Xn=customisationAliases[Gn];Xn?(Go===!0||Go==="true"||Go===1)&&(_n[Xn]=!0):defaultExtendedIconCustomisations[Gn]===void 0&&(Pn[Gn]=Go)}}}const Ln=iconToSVG($n,_n),Fn=Ln.attributes;if(_n.inline&&(Nn.verticalAlign="-0.125em"),In==="svg"){Pn.style={...Nn,...Dn},Object.assign(Pn,Fn);let Gn=0,Go=Cn.id;return typeof Go=="string"&&(Go=Go.replace(/-/g,"_")),Pn.innerHTML=replaceIDs(Ln.body,Go?()=>Go+"ID"+Gn++:"iconifyVue"),h$3("svg",Pn)}const{body:Bn,width:Hn,height:zn}=$n,Wn=In==="mask"||(In==="bg"?!1:Bn.indexOf("currentColor")!==-1),Yn=iconToHTML(Bn,{...Fn,width:Hn+"",height:zn+""});return Pn.style={...Nn,"--svg":svgToURL(Yn),width:fixSize(Fn.width),height:fixSize(Fn.height),...commonProps,...Wn?monotoneProps:coloredProps,...Dn},h$3("span",Pn)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const $n=window;if($n.IconifyPreload!==void 0){const Cn=$n.IconifyPreload,_n="Invalid IconifyPreload syntax.";typeof Cn=="object"&&Cn!==null&&(Cn instanceof Array?Cn:[Cn]).forEach(Pn=>{try{(typeof Pn!="object"||Pn===null||Pn instanceof Array||typeof Pn.icons!="object"||typeof Pn.prefix!="string"||!addCollection(Pn))&&console.error(_n)}catch{console.error(_n)}})}if($n.IconifyProviders!==void 0){const Cn=$n.IconifyProviders;if(typeof Cn=="object"&&Cn!==null)for(let _n in Cn){const Pn="IconifyProviders["+_n+"] is invalid.";try{const In=Cn[_n];if(typeof In!="object"||!In||In.resources===void 0)continue;addAPIProvider(_n,In)||console.error(Pn)}catch{console.error(Pn)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon($n,Cn){if(typeof $n=="object"&&$n!==null&&typeof $n.body=="string")return this._name="",this.abortLoading(),{data:$n};let _n;if(typeof $n!="string"||(_n=stringToIcon($n,!1,!0))===null)return this.abortLoading(),null;const Pn=getIconData(_n);if(!Pn)return(!this._loadingIcon||this._loadingIcon.name!==$n)&&(this.abortLoading(),this._name="",Pn!==null&&(this._loadingIcon={name:$n,abort:loadIcons([_n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==$n&&(this._name=$n,Cn&&Cn($n));const In=["iconify"];return _n.prefix!==""&&In.push("iconify--"+_n.prefix),_n.provider!==""&&In.push("iconify--"+_n.provider),{data:Pn,classes:In}}},render(){this.counter;const $n=this.$attrs,Cn=this.iconMounted?this.getIcon($n.icon,$n.onLoad):null;if(!Cn)return render(emptyIcon,$n);let _n=$n;return Cn.classes&&(_n={...$n,class:(typeof $n.class=="string"?$n.class+" ":"")+Cn.classes.join(" ")}),render({...defaultIconProps,...Cn.data},_n)}});var lodash={exports:{}};/**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */lodash.exports;(function($n,Cn){(function(){var _n,Pn="4.17.21",In=200,Nn="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",Rn="Expected a function",Dn="Invalid `variable` option passed into `_.template`",Ln="__lodash_hash_undefined__",Fn=500,Bn="__lodash_placeholder__",Hn=1,zn=2,Wn=4,Yn=1,Gn=2,Go=1,Xn=2,Yo=4,qo=8,Jo=16,Zo=32,rr=64,nr=128,ta=256,oa=512,ra=30,ea="...",la=800,ua=16,ga=1,aa=2,ca=3,sa=1/0,ia=9007199254740991,fa=17976931348623157e292,ma=NaN,ya=4294967295,ba=ya-1,Ia=ya>>>1,Ea=[["ary",nr],["bind",Go],["bindKey",Xn],["curry",qo],["curryRight",Jo],["flip",oa],["partial",Zo],["partialRight",rr],["rearg",ta]],xa="[object Arguments]",Ta="[object Array]",wa="[object AsyncFunction]",La="[object Boolean]",Na="[object Date]",$a="[object DOMException]",ka="[object Error]",Ha="[object Function]",da="[object GeneratorFunction]",pa="[object Map]",Sa="[object Number]",Aa="[object Null]",Ra="[object Object]",Fa="[object Promise]",za="[object Proxy]",Wa="[object RegExp]",Ya="[object Set]",ja="[object String]",qa="[object Symbol]",Xa="[object Undefined]",Oa="[object WeakMap]",Ma="[object WeakSet]",Ua="[object ArrayBuffer]",Qa="[object DataView]",ri="[object Float32Array]",fi="[object Float64Array]",ei="[object Int8Array]",ti="[object Int16Array]",ni="[object Int32Array]",ui="[object Uint8Array]",mi="[object Uint8ClampedArray]",di="[object Uint16Array]",gi="[object Uint32Array]",wi=/\b__p \+= '';/g,Ti=/\b(__p \+=) '' \+/g,Ei=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Ri=/[&<>"']/g,Zi=RegExp(Ni.source),Qi=RegExp(Ri.source),Ji=/<%-([\s\S]+?)%>/g,Yi=/<%([\s\S]+?)%>/g,rl=/<%=([\s\S]+?)%>/g,yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,il=/^\w*$/,Tl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ul=/[\\^$.*+?()[\]{}|]/g,ts=RegExp(ul.source),ci=/^\s+/,Ci=/\s/,bi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,nl=/,? & /,el=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,gl=/[()=,{}\[\]\/\s]/,ll=/\\(\\)?/g,Rl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ml=/\w*$/,hl=/^[-+]0x[0-9a-f]+$/i,zi=/^0b[01]+$/i,Pl=/^\[object .+?Constructor\]$/,Cl=/^0o[0-7]+$/i,Fl=/^(?:0|[1-9]\d*)$/,Bl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vl=/($^)/,ns=/['\n\r\u2028\u2029\\]/g,yl="\\ud800-\\udfff",js="\\u0300-\\u036f",Ac="\\ufe20-\\ufe2f",Mc="\\u20d0-\\u20ff",rc=js+Ac+Mc,ac="\\u2700-\\u27bf",Hs="a-z\\xdf-\\xf6\\xf8-\\xff",Dc="\\xac\\xb1\\xd7\\xf7",ps="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zs="\\u2000-\\u206f",ic=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",lc="A-Z\\xc0-\\xd6\\xd8-\\xde",Ws="\\ufe0e\\ufe0f",Ps=Dc+ps+zs+ic,Is="['’]",sc="["+yl+"]",Os="["+Ps+"]",is="["+rc+"]",cc="\\d+",bl="["+ac+"]",jl="["+Hs+"]",Es="[^"+yl+Ps+cc+ac+Hs+lc+"]",gs="\\ud83c[\\udffb-\\udfff]",Ul="(?:"+is+"|"+gs+")",Ks="[^"+yl+"]",uc="(?:\\ud83c[\\udde6-\\uddff]){2}",ms="[\\ud800-\\udbff][\\udc00-\\udfff]",Gl="["+lc+"]",Us="\\u200d",Ns="(?:"+jl+"|"+Es+")",cd="(?:"+Gl+"|"+Es+")",cu="(?:"+Is+"(?:d|ll|m|re|s|t|ve))?",uu="(?:"+Is+"(?:D|LL|M|RE|S|T|VE))?",du=Ul+"?",fu="["+Ws+"]?",ud="(?:"+Us+"(?:"+[Ks,uc,ms].join("|")+")"+fu+du+")*",dd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pu=fu+du+ud,pd="(?:"+[bl,uc,ms].join("|")+")"+pu,gd="(?:"+[Ks+is+"?",is,uc,ms,sc].join("|")+")",md=RegExp(Is,"g"),hd=RegExp(is,"g"),Gs=RegExp(gs+"(?="+gs+")|"+gd+pu,"g"),vd=RegExp([Gl+"?"+jl+"+"+cu+"(?="+[Os,Gl,"$"].join("|")+")",cd+"+"+uu+"(?="+[Os,Gl+Ns,"$"].join("|")+")",Gl+"?"+Ns+"+"+cu,Gl+"+"+uu,fd,dd,cc,pd].join("|"),"g"),yd=RegExp("["+Us+yl+rc+Ws+"]"),bd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$d=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sd=-1,Xi={};Xi[ri]=Xi[fi]=Xi[ei]=Xi[ti]=Xi[ni]=Xi[ui]=Xi[mi]=Xi[di]=Xi[gi]=!0,Xi[xa]=Xi[Ta]=Xi[Ua]=Xi[La]=Xi[Qa]=Xi[Na]=Xi[ka]=Xi[Ha]=Xi[pa]=Xi[Sa]=Xi[Ra]=Xi[Wa]=Xi[Ya]=Xi[ja]=Xi[Oa]=!1;var Wi={};Wi[xa]=Wi[Ta]=Wi[Ua]=Wi[Qa]=Wi[La]=Wi[Na]=Wi[ri]=Wi[fi]=Wi[ei]=Wi[ti]=Wi[ni]=Wi[pa]=Wi[Sa]=Wi[Ra]=Wi[Wa]=Wi[Ya]=Wi[ja]=Wi[qa]=Wi[ui]=Wi[mi]=Wi[di]=Wi[gi]=!0,Wi[ka]=Wi[Ha]=Wi[Oa]=!1;var gu={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Cd={"&":"&","<":"<",">":">",'"':""","'":"'"},xd={"&":"&","<":"<",">":">",""":'"',"'":"'"},mu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wd=parseFloat,_d=parseInt,kc=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Td=typeof self=="object"&&self&&self.Object===Object&&self,dl=kc||Td||Function("return this")(),dc=Cn&&!Cn.nodeType&&Cn,hs=dc&&!0&&$n&&!$n.nodeType&&$n,hu=hs&&hs.exports===dc,fc=hu&&kc.process,Al=function(){try{var Za=hs&&hs.require&&hs.require("util").types;return Za||fc&&fc.binding&&fc.binding("util")}catch{}}(),vu=Al&&Al.isArrayBuffer,Lc=Al&&Al.isDate,yu=Al&&Al.isMap,bu=Al&&Al.isRegExp,Vc=Al&&Al.isSet,$u=Al&&Al.isTypedArray;function Il(Za,ii,oi){switch(oi.length){case 0:return Za.call(ii);case 1:return Za.call(ii,oi[0]);case 2:return Za.call(ii,oi[0],oi[1]);case 3:return Za.call(ii,oi[0],oi[1],oi[2])}return Za.apply(ii,oi)}function Su(Za,ii,oi,Si){for(var Ai=-1,Ki=Za==null?0:Za.length;++Ai<Ki;){var fl=Za[Ai];ii(Si,fl,oi(fl),Za)}return Si}function Ml(Za,ii){for(var oi=-1,Si=Za==null?0:Za.length;++oi<Si&&ii(Za[oi],oi,Za)!==!1;);return Za}function Pd(Za,ii){for(var oi=Za==null?0:Za.length;oi--&&ii(Za[oi],oi,Za)!==!1;);return Za}function Fc(Za,ii){for(var oi=-1,Si=Za==null?0:Za.length;++oi<Si;)if(!ii(Za[oi],oi,Za))return!1;return!0}function ls(Za,ii){for(var oi=-1,Si=Za==null?0:Za.length,Ai=0,Ki=[];++oi<Si;){var fl=Za[oi];ii(fl,oi,Za)&&(Ki[Ai++]=fl)}return Ki}function pc(Za,ii){var oi=Za==null?0:Za.length;return!!oi&&Rs(Za,ii,0)>-1}function gc(Za,ii,oi){for(var Si=-1,Ai=Za==null?0:Za.length;++Si<Ai;)if(oi(ii,Za[Si]))return!0;return!1}function tl(Za,ii){for(var oi=-1,Si=Za==null?0:Za.length,Ai=Array(Si);++oi<Si;)Ai[oi]=ii(Za[oi],oi,Za);return Ai}function ss(Za,ii){for(var oi=-1,Si=ii.length,Ai=Za.length;++oi<Si;)Za[Ai+oi]=ii[oi];return Za}function mc(Za,ii,oi,Si){var Ai=-1,Ki=Za==null?0:Za.length;for(Si&&Ki&&(oi=Za[++Ai]);++Ai<Ki;)oi=ii(oi,Za[Ai],Ai,Za);return oi}function Id(Za,ii,oi,Si){var Ai=Za==null?0:Za.length;for(Si&&Ai&&(oi=Za[--Ai]);Ai--;)oi=ii(oi,Za[Ai],Ai,Za);return oi}function Bc(Za,ii){for(var oi=-1,Si=Za==null?0:Za.length;++oi<Si;)if(ii(Za[oi],oi,Za))return!0;return!1}var Cu=zc("length");function Od(Za){return Za.split("")}function Ed(Za){return Za.match(el)||[]}function jc(Za,ii,oi){var Si;return oi(Za,function(Ai,Ki,fl){if(ii(Ai,Ki,fl))return Si=Ki,!1}),Si}function hc(Za,ii,oi,Si){for(var Ai=Za.length,Ki=oi+(Si?1:-1);Si?Ki--:++Ki<Ai;)if(ii(Za[Ki],Ki,Za))return Ki;return-1}function Rs(Za,ii,oi){return ii===ii?hi(Za,ii,oi):hc(Za,wu,oi)}function xu(Za,ii,oi,Si){for(var Ai=oi-1,Ki=Za.length;++Ai<Ki;)if(Si(Za[Ai],ii))return Ai;return-1}function wu(Za){return Za!==Za}function Hc(Za,ii){var oi=Za==null?0:Za.length;return oi?Kc(Za,ii)/oi:ma}function zc(Za){return function(ii){return ii==null?_n:ii[Za]}}function vc(Za){return function(ii){return Za==null?_n:Za[ii]}}function Wc(Za,ii,oi,Si,Ai){return Ai(Za,function(Ki,fl,qi){oi=Si?(Si=!1,Ki):ii(oi,Ki,fl,qi)}),oi}function Nd(Za,ii){var oi=Za.length;for(Za.sort(ii);oi--;)Za[oi]=Za[oi].value;return Za}function Kc(Za,ii){for(var oi,Si=-1,Ai=Za.length;++Si<Ai;){var Ki=ii(Za[Si]);Ki!==_n&&(oi=oi===_n?Ki:oi+Ki)}return oi}function Uc(Za,ii){for(var oi=-1,Si=Array(Za);++oi<Za;)Si[oi]=ii(oi);return Si}function yc(Za,ii){return tl(ii,function(oi){return[oi,Za[oi]]})}function Gc(Za){return Za&&Za.slice(0,$i(Za)+1).replace(ci,"")}function xl(Za){return function(ii){return Za(ii)}}function bc(Za,ii){return tl(ii,function(oi){return Za[oi]})}function Ys(Za,ii){return Za.has(ii)}function Yc(Za,ii){for(var oi=-1,Si=Za.length;++oi<Si&&Rs(ii,Za[oi],0)>-1;);return oi}function _u(Za,ii){for(var oi=Za.length;oi--&&Rs(ii,Za[oi],0)>-1;);return oi}function $c(Za,ii){for(var oi=Za.length,Si=0;oi--;)Za[oi]===ii&&++Si;return Si}var Sc=vc(gu),Rd=vc(Cd);function Tu(Za){return"\\"+mu[Za]}function Ad(Za,ii){return Za==null?_n:Za[ii]}function As(Za){return yd.test(Za)}function Md(Za){return bd.test(Za)}function Ba(Za){for(var ii,oi=[];!(ii=Za.next()).done;)oi.push(ii.value);return oi}function _i(Za){var ii=-1,oi=Array(Za.size);return Za.forEach(function(Si,Ai){oi[++ii]=[Ai,Si]}),oi}function Ms(Za,ii){return function(oi){return Za(ii(oi))}}function Yl(Za,ii){for(var oi=-1,Si=Za.length,Ai=0,Ki=[];++oi<Si;){var fl=Za[oi];(fl===ii||fl===Bn)&&(Za[oi]=Bn,Ki[Ai++]=oi)}return Ki}function vs(Za){var ii=-1,oi=Array(Za.size);return Za.forEach(function(Si){oi[++ii]=Si}),oi}function Cc(Za){var ii=-1,oi=Array(Za.size);return Za.forEach(function(Si){oi[++ii]=[Si,Si]}),oi}function hi(Za,ii,oi){for(var Si=oi-1,Ai=Za.length;++Si<Ai;)if(Za[Si]===ii)return Si;return-1}function va(Za,ii,oi){for(var Si=oi+1;Si--;)if(Za[Si]===ii)return Si;return Si}function Pa(Za){return As(Za)?cs(Za):Cu(Za)}function ai(Za){return As(Za)?Xs(Za):Od(Za)}function $i(Za){for(var ii=Za.length;ii--&&Ci.test(Za.charAt(ii)););return ii}var Vi=vc(xd);function cs(Za){for(var ii=Gs.lastIndex=0;Gs.test(Za);)++ii;return ii}function Xs(Za){return Za.match(Gs)||[]}function bg(Za){return Za.match(vd)||[]}var $g=function Za(ii){ii=ii==null?dl:xc.defaults(dl.Object(),ii,xc.pick(dl,$d));var oi=ii.Array,Si=ii.Date,Ai=ii.Error,Ki=ii.Function,fl=ii.Math,qi=ii.Object,Dd=ii.RegExp,Sg=ii.String,Xl=ii.TypeError,Pu=oi.prototype,Cg=Ki.prototype,wc=qi.prototype,Iu=ii["__core-js_shared__"],Ou=Cg.toString,Gi=wc.hasOwnProperty,xg=0,Ef=function(){var Un=/[^.]+$/.exec(Iu&&Iu.keys&&Iu.keys.IE_PROTO||"");return Un?"Symbol(src)_1."+Un:""}(),Eu=wc.toString,wg=Ou.call(qi),_g=dl._,Tg=Dd("^"+Ou.call(Gi).replace(ul,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nu=hu?ii.Buffer:_n,Ds=ii.Symbol,Ru=ii.Uint8Array,Nf=Nu?Nu.allocUnsafe:_n,Au=Ms(qi.getPrototypeOf,qi),Rf=qi.create,Af=wc.propertyIsEnumerable,Mu=Pu.splice,Mf=Ds?Ds.isConcatSpreadable:_n,Xc=Ds?Ds.iterator:_n,qs=Ds?Ds.toStringTag:_n,Du=function(){try{var Un=tc(qi,"defineProperty");return Un({},"",{}),Un}catch{}}(),Pg=ii.clearTimeout!==dl.clearTimeout&&ii.clearTimeout,Ig=Si&&Si.now!==dl.Date.now&&Si.now,Og=ii.setTimeout!==dl.setTimeout&&ii.setTimeout,ku=fl.ceil,Lu=fl.floor,kd=qi.getOwnPropertySymbols,Eg=Nu?Nu.isBuffer:_n,Df=ii.isFinite,Ng=Pu.join,Rg=Ms(qi.keys,qi),pl=fl.max,wl=fl.min,Ag=Si.now,Mg=ii.parseInt,kf=fl.random,Dg=Pu.reverse,Ld=tc(ii,"DataView"),qc=tc(ii,"Map"),Vd=tc(ii,"Promise"),_c=tc(ii,"Set"),Zc=tc(ii,"WeakMap"),Qc=tc(qi,"create"),Vu=Zc&&new Zc,Tc={},kg=nc(Ld),Lg=nc(qc),Vg=nc(Vd),Fg=nc(_c),Bg=nc(Zc),Fu=Ds?Ds.prototype:_n,Jc=Fu?Fu.valueOf:_n,Lf=Fu?Fu.toString:_n;function Da(Un){if(al(Un)&&!Mi(Un)&&!(Un instanceof ji)){if(Un instanceof ql)return Un;if(Gi.call(Un,"__wrapped__"))return Vp(Un)}return new ql(Un)}var Pc=function(){function Un(){}return function(Xo){if(!ol(Xo))return{};if(Rf)return Rf(Xo);Un.prototype=Xo;var na=new Un;return Un.prototype=_n,na}}();function Bu(){}function ql(Un,Xo){this.__wrapped__=Un,this.__actions__=[],this.__chain__=!!Xo,this.__index__=0,this.__values__=_n}Da.templateSettings={escape:Ji,evaluate:Yi,interpolate:rl,variable:"",imports:{_:Da}},Da.prototype=Bu.prototype,Da.prototype.constructor=Da,ql.prototype=Pc(Bu.prototype),ql.prototype.constructor=ql;function ji(Un){this.__wrapped__=Un,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ya,this.__views__=[]}function jg(){var Un=new ji(this.__wrapped__);return Un.__actions__=Dl(this.__actions__),Un.__dir__=this.__dir__,Un.__filtered__=this.__filtered__,Un.__iteratees__=Dl(this.__iteratees__),Un.__takeCount__=this.__takeCount__,Un.__views__=Dl(this.__views__),Un}function Hg(){if(this.__filtered__){var Un=new ji(this);Un.__dir__=-1,Un.__filtered__=!0}else Un=this.clone(),Un.__dir__*=-1;return Un}function zg(){var Un=this.__wrapped__.value(),Xo=this.__dir__,na=Mi(Un),ha=Xo<0,Ca=na?Un.length:0,Va=th(0,Ca,this.__views__),Ka=Va.start,Ga=Va.end,Ja=Ga-Ka,li=ha?Ga:Ka-1,si=this.__iteratees__,pi=si.length,vi=0,xi=wl(Ja,this.__takeCount__);if(!na||!ha&&Ca==Ja&&xi==Ja)return lp(Un,this.__actions__);var Ii=[];e:for(;Ja--&&vi<xi;){li+=Xo;for(var ki=-1,Oi=Un[li];++ki<pi;){var Fi=si[ki],Hi=Fi.iteratee,Wl=Fi.type,Nl=Hi(Oi);if(Wl==aa)Oi=Nl;else if(!Nl){if(Wl==ga)continue e;break e}}Ii[vi++]=Oi}return Ii}ji.prototype=Pc(Bu.prototype),ji.prototype.constructor=ji;function Zs(Un){var Xo=-1,na=Un==null?0:Un.length;for(this.clear();++Xo<na;){var ha=Un[Xo];this.set(ha[0],ha[1])}}function Wg(){this.__data__=Qc?Qc(null):{},this.size=0}function Kg(Un){var Xo=this.has(Un)&&delete this.__data__[Un];return this.size-=Xo?1:0,Xo}function Ug(Un){var Xo=this.__data__;if(Qc){var na=Xo[Un];return na===Ln?_n:na}return Gi.call(Xo,Un)?Xo[Un]:_n}function Gg(Un){var Xo=this.__data__;return Qc?Xo[Un]!==_n:Gi.call(Xo,Un)}function Yg(Un,Xo){var na=this.__data__;return this.size+=this.has(Un)?0:1,na[Un]=Qc&&Xo===_n?Ln:Xo,this}Zs.prototype.clear=Wg,Zs.prototype.delete=Kg,Zs.prototype.get=Ug,Zs.prototype.has=Gg,Zs.prototype.set=Yg;function ys(Un){var Xo=-1,na=Un==null?0:Un.length;for(this.clear();++Xo<na;){var ha=Un[Xo];this.set(ha[0],ha[1])}}function Xg(){this.__data__=[],this.size=0}function qg(Un){var Xo=this.__data__,na=ju(Xo,Un);if(na<0)return!1;var ha=Xo.length-1;return na==ha?Xo.pop():Mu.call(Xo,na,1),--this.size,!0}function Zg(Un){var Xo=this.__data__,na=ju(Xo,Un);return na<0?_n:Xo[na][1]}function Qg(Un){return ju(this.__data__,Un)>-1}function Jg(Un,Xo){var na=this.__data__,ha=ju(na,Un);return ha<0?(++this.size,na.push([Un,Xo])):na[ha][1]=Xo,this}ys.prototype.clear=Xg,ys.prototype.delete=qg,ys.prototype.get=Zg,ys.prototype.has=Qg,ys.prototype.set=Jg;function bs(Un){var Xo=-1,na=Un==null?0:Un.length;for(this.clear();++Xo<na;){var ha=Un[Xo];this.set(ha[0],ha[1])}}function em(){this.size=0,this.__data__={hash:new Zs,map:new(qc||ys),string:new Zs}}function tm(Un){var Xo=Ju(this,Un).delete(Un);return this.size-=Xo?1:0,Xo}function nm(Un){return Ju(this,Un).get(Un)}function om(Un){return Ju(this,Un).has(Un)}function rm(Un,Xo){var na=Ju(this,Un),ha=na.size;return na.set(Un,Xo),this.size+=na.size==ha?0:1,this}bs.prototype.clear=em,bs.prototype.delete=tm,bs.prototype.get=nm,bs.prototype.has=om,bs.prototype.set=rm;function Qs(Un){var Xo=-1,na=Un==null?0:Un.length;for(this.__data__=new bs;++Xo<na;)this.add(Un[Xo])}function am(Un){return this.__data__.set(Un,Ln),this}function im(Un){return this.__data__.has(Un)}Qs.prototype.add=Qs.prototype.push=am,Qs.prototype.has=im;function os(Un){var Xo=this.__data__=new ys(Un);this.size=Xo.size}function lm(){this.__data__=new ys,this.size=0}function sm(Un){var Xo=this.__data__,na=Xo.delete(Un);return this.size=Xo.size,na}function cm(Un){return this.__data__.get(Un)}function um(Un){return this.__data__.has(Un)}function dm(Un,Xo){var na=this.__data__;if(na instanceof ys){var ha=na.__data__;if(!qc||ha.length<In-1)return ha.push([Un,Xo]),this.size=++na.size,this;na=this.__data__=new bs(ha)}return na.set(Un,Xo),this.size=na.size,this}os.prototype.clear=lm,os.prototype.delete=sm,os.prototype.get=cm,os.prototype.has=um,os.prototype.set=dm;function Vf(Un,Xo){var na=Mi(Un),ha=!na&&oc(Un),Ca=!na&&!ha&&Bs(Un),Va=!na&&!ha&&!Ca&&Nc(Un),Ka=na||ha||Ca||Va,Ga=Ka?Uc(Un.length,Sg):[],Ja=Ga.length;for(var li in Un)(Xo||Gi.call(Un,li))&&!(Ka&&(li=="length"||Ca&&(li=="offset"||li=="parent")||Va&&(li=="buffer"||li=="byteLength"||li=="byteOffset")||xs(li,Ja)))&&Ga.push(li);return Ga}function Ff(Un){var Xo=Un.length;return Xo?Un[Xd(0,Xo-1)]:_n}function fm(Un,Xo){return ed(Dl(Un),Js(Xo,0,Un.length))}function pm(Un){return ed(Dl(Un))}function Fd(Un,Xo,na){(na!==_n&&!rs(Un[Xo],na)||na===_n&&!(Xo in Un))&&$s(Un,Xo,na)}function eu(Un,Xo,na){var ha=Un[Xo];(!(Gi.call(Un,Xo)&&rs(ha,na))||na===_n&&!(Xo in Un))&&$s(Un,Xo,na)}function ju(Un,Xo){for(var na=Un.length;na--;)if(rs(Un[na][0],Xo))return na;return-1}function gm(Un,Xo,na,ha){return ks(Un,function(Ca,Va,Ka){Xo(ha,Ca,na(Ca),Ka)}),ha}function Bf(Un,Xo){return Un&&ds(Xo,$l(Xo),Un)}function mm(Un,Xo){return Un&&ds(Xo,Ll(Xo),Un)}function $s(Un,Xo,na){Xo=="__proto__"&&Du?Du(Un,Xo,{configurable:!0,enumerable:!0,value:na,writable:!0}):Un[Xo]=na}function Bd(Un,Xo){for(var na=-1,ha=Xo.length,Ca=oi(ha),Va=Un==null;++na<ha;)Ca[na]=Va?_n:Sf(Un,Xo[na]);return Ca}function Js(Un,Xo,na){return Un===Un&&(na!==_n&&(Un=Un<=na?Un:na),Xo!==_n&&(Un=Un>=Xo?Un:Xo)),Un}function Zl(Un,Xo,na,ha,Ca,Va){var Ka,Ga=Xo&Hn,Ja=Xo&zn,li=Xo&Wn;if(na&&(Ka=Ca?na(Un,ha,Ca,Va):na(Un)),Ka!==_n)return Ka;if(!ol(Un))return Un;var si=Mi(Un);if(si){if(Ka=oh(Un),!Ga)return Dl(Un,Ka)}else{var pi=_l(Un),vi=pi==Ha||pi==da;if(Bs(Un))return up(Un,Ga);if(pi==Ra||pi==xa||vi&&!Ca){if(Ka=Ja||vi?{}:Op(Un),!Ga)return Ja?Um(Un,mm(Ka,Un)):Km(Un,Bf(Ka,Un))}else{if(!Wi[pi])return Ca?Un:{};Ka=rh(Un,pi,Ga)}}Va||(Va=new os);var xi=Va.get(Un);if(xi)return xi;Va.set(Un,Ka),rg(Un)?Un.forEach(function(Oi){Ka.add(Zl(Oi,Xo,na,Oi,Un,Va))}):ng(Un)&&Un.forEach(function(Oi,Fi){Ka.set(Fi,Zl(Oi,Xo,na,Fi,Un,Va))});var Ii=li?Ja?lf:af:Ja?Ll:$l,ki=si?_n:Ii(Un);return Ml(ki||Un,function(Oi,Fi){ki&&(Fi=Oi,Oi=Un[Fi]),eu(Ka,Fi,Zl(Oi,Xo,na,Fi,Un,Va))}),Ka}function hm(Un){var Xo=$l(Un);return function(na){return jf(na,Un,Xo)}}function jf(Un,Xo,na){var ha=na.length;if(Un==null)return!ha;for(Un=qi(Un);ha--;){var Ca=na[ha],Va=Xo[Ca],Ka=Un[Ca];if(Ka===_n&&!(Ca in Un)||!Va(Ka))return!1}return!0}function Hf(Un,Xo,na){if(typeof Un!="function")throw new Xl(Rn);return lu(function(){Un.apply(_n,na)},Xo)}function tu(Un,Xo,na,ha){var Ca=-1,Va=pc,Ka=!0,Ga=Un.length,Ja=[],li=Xo.length;if(!Ga)return Ja;na&&(Xo=tl(Xo,xl(na))),ha?(Va=gc,Ka=!1):Xo.length>=In&&(Va=Ys,Ka=!1,Xo=new Qs(Xo));e:for(;++Ca<Ga;){var si=Un[Ca],pi=na==null?si:na(si);if(si=ha||si!==0?si:0,Ka&&pi===pi){for(var vi=li;vi--;)if(Xo[vi]===pi)continue e;Ja.push(si)}else Va(Xo,pi,ha)||Ja.push(si)}return Ja}var ks=mp(us),zf=mp(Hd,!0);function vm(Un,Xo){var na=!0;return ks(Un,function(ha,Ca,Va){return na=!!Xo(ha,Ca,Va),na}),na}function Hu(Un,Xo,na){for(var ha=-1,Ca=Un.length;++ha<Ca;){var Va=Un[ha],Ka=Xo(Va);if(Ka!=null&&(Ga===_n?Ka===Ka&&!zl(Ka):na(Ka,Ga)))var Ga=Ka,Ja=Va}return Ja}function ym(Un,Xo,na,ha){var Ca=Un.length;for(na=Di(na),na<0&&(na=-na>Ca?0:Ca+na),ha=ha===_n||ha>Ca?Ca:Di(ha),ha<0&&(ha+=Ca),ha=na>ha?0:ig(ha);na<ha;)Un[na++]=Xo;return Un}function Wf(Un,Xo){var na=[];return ks(Un,function(ha,Ca,Va){Xo(ha,Ca,Va)&&na.push(ha)}),na}function Sl(Un,Xo,na,ha,Ca){var Va=-1,Ka=Un.length;for(na||(na=ih),Ca||(Ca=[]);++Va<Ka;){var Ga=Un[Va];Xo>0&&na(Ga)?Xo>1?Sl(Ga,Xo-1,na,ha,Ca):ss(Ca,Ga):ha||(Ca[Ca.length]=Ga)}return Ca}var jd=hp(),Kf=hp(!0);function us(Un,Xo){return Un&&jd(Un,Xo,$l)}function Hd(Un,Xo){return Un&&Kf(Un,Xo,$l)}function zu(Un,Xo){return ls(Xo,function(na){return ws(Un[na])})}function ec(Un,Xo){Xo=Vs(Xo,Un);for(var na=0,ha=Xo.length;Un!=null&&na<ha;)Un=Un[fs(Xo[na++])];return na&&na==ha?Un:_n}function Uf(Un,Xo,na){var ha=Xo(Un);return Mi(Un)?ha:ss(ha,na(Un))}function Ol(Un){return Un==null?Un===_n?Xa:Aa:qs&&qs in qi(Un)?eh(Un):ph(Un)}function zd(Un,Xo){return Un>Xo}function bm(Un,Xo){return Un!=null&&Gi.call(Un,Xo)}function $m(Un,Xo){return Un!=null&&Xo in qi(Un)}function Sm(Un,Xo,na){return Un>=wl(Xo,na)&&Un<pl(Xo,na)}function Wd(Un,Xo,na){for(var ha=na?gc:pc,Ca=Un[0].length,Va=Un.length,Ka=Va,Ga=oi(Va),Ja=1/0,li=[];Ka--;){var si=Un[Ka];Ka&&Xo&&(si=tl(si,xl(Xo))),Ja=wl(si.length,Ja),Ga[Ka]=!na&&(Xo||Ca>=120&&si.length>=120)?new Qs(Ka&&si):_n}si=Un[0];var pi=-1,vi=Ga[0];e:for(;++pi<Ca&&li.length<Ja;){var xi=si[pi],Ii=Xo?Xo(xi):xi;if(xi=na||xi!==0?xi:0,!(vi?Ys(vi,Ii):ha(li,Ii,na))){for(Ka=Va;--Ka;){var ki=Ga[Ka];if(!(ki?Ys(ki,Ii):ha(Un[Ka],Ii,na)))continue e}vi&&vi.push(Ii),li.push(xi)}}return li}function Cm(Un,Xo,na,ha){return us(Un,function(Ca,Va,Ka){Xo(ha,na(Ca),Va,Ka)}),ha}function nu(Un,Xo,na){Xo=Vs(Xo,Un),Un=Ap(Un,Xo);var ha=Un==null?Un:Un[fs(Jl(Xo))];return ha==null?_n:Il(ha,Un,na)}function Gf(Un){return al(Un)&&Ol(Un)==xa}function xm(Un){return al(Un)&&Ol(Un)==Ua}function wm(Un){return al(Un)&&Ol(Un)==Na}function ou(Un,Xo,na,ha,Ca){return Un===Xo?!0:Un==null||Xo==null||!al(Un)&&!al(Xo)?Un!==Un&&Xo!==Xo:_m(Un,Xo,na,ha,ou,Ca)}function _m(Un,Xo,na,ha,Ca,Va){var Ka=Mi(Un),Ga=Mi(Xo),Ja=Ka?Ta:_l(Un),li=Ga?Ta:_l(Xo);Ja=Ja==xa?Ra:Ja,li=li==xa?Ra:li;var si=Ja==Ra,pi=li==Ra,vi=Ja==li;if(vi&&Bs(Un)){if(!Bs(Xo))return!1;Ka=!0,si=!1}if(vi&&!si)return Va||(Va=new os),Ka||Nc(Un)?Tp(Un,Xo,na,ha,Ca,Va):Qm(Un,Xo,Ja,na,ha,Ca,Va);if(!(na&Yn)){var xi=si&&Gi.call(Un,"__wrapped__"),Ii=pi&&Gi.call(Xo,"__wrapped__");if(xi||Ii){var ki=xi?Un.value():Un,Oi=Ii?Xo.value():Xo;return Va||(Va=new os),Ca(ki,Oi,na,ha,Va)}}return vi?(Va||(Va=new os),Jm(Un,Xo,na,ha,Ca,Va)):!1}function Tm(Un){return al(Un)&&_l(Un)==pa}function Kd(Un,Xo,na,ha){var Ca=na.length,Va=Ca,Ka=!ha;if(Un==null)return!Va;for(Un=qi(Un);Ca--;){var Ga=na[Ca];if(Ka&&Ga[2]?Ga[1]!==Un[Ga[0]]:!(Ga[0]in Un))return!1}for(;++Ca<Va;){Ga=na[Ca];var Ja=Ga[0],li=Un[Ja],si=Ga[1];if(Ka&&Ga[2]){if(li===_n&&!(Ja in Un))return!1}else{var pi=new os;if(ha)var vi=ha(li,si,Ja,Un,Xo,pi);if(!(vi===_n?ou(si,li,Yn|Gn,ha,pi):vi))return!1}}return!0}function Yf(Un){if(!ol(Un)||sh(Un))return!1;var Xo=ws(Un)?Tg:Pl;return Xo.test(nc(Un))}function Pm(Un){return al(Un)&&Ol(Un)==Wa}function Im(Un){return al(Un)&&_l(Un)==Ya}function Om(Un){return al(Un)&&id(Un.length)&&!!Xi[Ol(Un)]}function Xf(Un){return typeof Un=="function"?Un:Un==null?Vl:typeof Un=="object"?Mi(Un)?Qf(Un[0],Un[1]):Zf(Un):vg(Un)}function Ud(Un){if(!iu(Un))return Rg(Un);var Xo=[];for(var na in qi(Un))Gi.call(Un,na)&&na!="constructor"&&Xo.push(na);return Xo}function Em(Un){if(!ol(Un))return fh(Un);var Xo=iu(Un),na=[];for(var ha in Un)ha=="constructor"&&(Xo||!Gi.call(Un,ha))||na.push(ha);return na}function Gd(Un,Xo){return Un<Xo}function qf(Un,Xo){var na=-1,ha=kl(Un)?oi(Un.length):[];return ks(Un,function(Ca,Va,Ka){ha[++na]=Xo(Ca,Va,Ka)}),ha}function Zf(Un){var Xo=cf(Un);return Xo.length==1&&Xo[0][2]?Np(Xo[0][0],Xo[0][1]):function(na){return na===Un||Kd(na,Un,Xo)}}function Qf(Un,Xo){return df(Un)&&Ep(Xo)?Np(fs(Un),Xo):function(na){var ha=Sf(na,Un);return ha===_n&&ha===Xo?Cf(na,Un):ou(Xo,ha,Yn|Gn)}}function Wu(Un,Xo,na,ha,Ca){Un!==Xo&&jd(Xo,function(Va,Ka){if(Ca||(Ca=new os),ol(Va))Nm(Un,Xo,Ka,na,Wu,ha,Ca);else{var Ga=ha?ha(pf(Un,Ka),Va,Ka+"",Un,Xo,Ca):_n;Ga===_n&&(Ga=Va),Fd(Un,Ka,Ga)}},Ll)}function Nm(Un,Xo,na,ha,Ca,Va,Ka){var Ga=pf(Un,na),Ja=pf(Xo,na),li=Ka.get(Ja);if(li){Fd(Un,na,li);return}var si=Va?Va(Ga,Ja,na+"",Un,Xo,Ka):_n,pi=si===_n;if(pi){var vi=Mi(Ja),xi=!vi&&Bs(Ja),Ii=!vi&&!xi&&Nc(Ja);si=Ja,vi||xi||Ii?Mi(Ga)?si=Ga:sl(Ga)?si=Dl(Ga):xi?(pi=!1,si=up(Ja,!0)):Ii?(pi=!1,si=dp(Ja,!0)):si=[]:su(Ja)||oc(Ja)?(si=Ga,oc(Ga)?si=lg(Ga):(!ol(Ga)||ws(Ga))&&(si=Op(Ja))):pi=!1}pi&&(Ka.set(Ja,si),Ca(si,Ja,ha,Va,Ka),Ka.delete(Ja)),Fd(Un,na,si)}function Jf(Un,Xo){var na=Un.length;if(na)return Xo+=Xo<0?na:0,xs(Xo,na)?Un[Xo]:_n}function ep(Un,Xo,na){Xo.length?Xo=tl(Xo,function(Va){return Mi(Va)?function(Ka){return ec(Ka,Va.length===1?Va[0]:Va)}:Va}):Xo=[Vl];var ha=-1;Xo=tl(Xo,xl(Pi()));var Ca=qf(Un,function(Va,Ka,Ga){var Ja=tl(Xo,function(li){return li(Va)});return{criteria:Ja,index:++ha,value:Va}});return Nd(Ca,function(Va,Ka){return Wm(Va,Ka,na)})}function Rm(Un,Xo){return tp(Un,Xo,function(na,ha){return Cf(Un,ha)})}function tp(Un,Xo,na){for(var ha=-1,Ca=Xo.length,Va={};++ha<Ca;){var Ka=Xo[ha],Ga=ec(Un,Ka);na(Ga,Ka)&&ru(Va,Vs(Ka,Un),Ga)}return Va}function Am(Un){return function(Xo){return ec(Xo,Un)}}function Yd(Un,Xo,na,ha){var Ca=ha?xu:Rs,Va=-1,Ka=Xo.length,Ga=Un;for(Un===Xo&&(Xo=Dl(Xo)),na&&(Ga=tl(Un,xl(na)));++Va<Ka;)for(var Ja=0,li=Xo[Va],si=na?na(li):li;(Ja=Ca(Ga,si,Ja,ha))>-1;)Ga!==Un&&Mu.call(Ga,Ja,1),Mu.call(Un,Ja,1);return Un}function np(Un,Xo){for(var na=Un?Xo.length:0,ha=na-1;na--;){var Ca=Xo[na];if(na==ha||Ca!==Va){var Va=Ca;xs(Ca)?Mu.call(Un,Ca,1):Qd(Un,Ca)}}return Un}function Xd(Un,Xo){return Un+Lu(kf()*(Xo-Un+1))}function Mm(Un,Xo,na,ha){for(var Ca=-1,Va=pl(ku((Xo-Un)/(na||1)),0),Ka=oi(Va);Va--;)Ka[ha?Va:++Ca]=Un,Un+=na;return Ka}function qd(Un,Xo){var na="";if(!Un||Xo<1||Xo>ia)return na;do Xo%2&&(na+=Un),Xo=Lu(Xo/2),Xo&&(Un+=Un);while(Xo);return na}function Li(Un,Xo){return gf(Rp(Un,Xo,Vl),Un+"")}function Dm(Un){return Ff(Rc(Un))}function km(Un,Xo){var na=Rc(Un);return ed(na,Js(Xo,0,na.length))}function ru(Un,Xo,na,ha){if(!ol(Un))return Un;Xo=Vs(Xo,Un);for(var Ca=-1,Va=Xo.length,Ka=Va-1,Ga=Un;Ga!=null&&++Ca<Va;){var Ja=fs(Xo[Ca]),li=na;if(Ja==="__proto__"||Ja==="constructor"||Ja==="prototype")return Un;if(Ca!=Ka){var si=Ga[Ja];li=ha?ha(si,Ja,Ga):_n,li===_n&&(li=ol(si)?si:xs(Xo[Ca+1])?[]:{})}eu(Ga,Ja,li),Ga=Ga[Ja]}return Un}var op=Vu?function(Un,Xo){return Vu.set(Un,Xo),Un}:Vl,Lm=Du?function(Un,Xo){return Du(Un,"toString",{configurable:!0,enumerable:!1,value:wf(Xo),writable:!0})}:Vl;function Vm(Un){return ed(Rc(Un))}function Ql(Un,Xo,na){var ha=-1,Ca=Un.length;Xo<0&&(Xo=-Xo>Ca?0:Ca+Xo),na=na>Ca?Ca:na,na<0&&(na+=Ca),Ca=Xo>na?0:na-Xo>>>0,Xo>>>=0;for(var Va=oi(Ca);++ha<Ca;)Va[ha]=Un[ha+Xo];return Va}function Fm(Un,Xo){var na;return ks(Un,function(ha,Ca,Va){return na=Xo(ha,Ca,Va),!na}),!!na}function Ku(Un,Xo,na){var ha=0,Ca=Un==null?ha:Un.length;if(typeof Xo=="number"&&Xo===Xo&&Ca<=Ia){for(;ha<Ca;){var Va=ha+Ca>>>1,Ka=Un[Va];Ka!==null&&!zl(Ka)&&(na?Ka<=Xo:Ka<Xo)?ha=Va+1:Ca=Va}return Ca}return Zd(Un,Xo,Vl,na)}function Zd(Un,Xo,na,ha){var Ca=0,Va=Un==null?0:Un.length;if(Va===0)return 0;Xo=na(Xo);for(var Ka=Xo!==Xo,Ga=Xo===null,Ja=zl(Xo),li=Xo===_n;Ca<Va;){var si=Lu((Ca+Va)/2),pi=na(Un[si]),vi=pi!==_n,xi=pi===null,Ii=pi===pi,ki=zl(pi);if(Ka)var Oi=ha||Ii;else li?Oi=Ii&&(ha||vi):Ga?Oi=Ii&&vi&&(ha||!xi):Ja?Oi=Ii&&vi&&!xi&&(ha||!ki):xi||ki?Oi=!1:Oi=ha?pi<=Xo:pi<Xo;Oi?Ca=si+1:Va=si}return wl(Va,ba)}function rp(Un,Xo){for(var na=-1,ha=Un.length,Ca=0,Va=[];++na<ha;){var Ka=Un[na],Ga=Xo?Xo(Ka):Ka;if(!na||!rs(Ga,Ja)){var Ja=Ga;Va[Ca++]=Ka===0?0:Ka}}return Va}function ap(Un){return typeof Un=="number"?Un:zl(Un)?ma:+Un}function Hl(Un){if(typeof Un=="string")return Un;if(Mi(Un))return tl(Un,Hl)+"";if(zl(Un))return Lf?Lf.call(Un):"";var Xo=Un+"";return Xo=="0"&&1/Un==-sa?"-0":Xo}function Ls(Un,Xo,na){var ha=-1,Ca=pc,Va=Un.length,Ka=!0,Ga=[],Ja=Ga;if(na)Ka=!1,Ca=gc;else if(Va>=In){var li=Xo?null:qm(Un);if(li)return vs(li);Ka=!1,Ca=Ys,Ja=new Qs}else Ja=Xo?[]:Ga;e:for(;++ha<Va;){var si=Un[ha],pi=Xo?Xo(si):si;if(si=na||si!==0?si:0,Ka&&pi===pi){for(var vi=Ja.length;vi--;)if(Ja[vi]===pi)continue e;Xo&&Ja.push(pi),Ga.push(si)}else Ca(Ja,pi,na)||(Ja!==Ga&&Ja.push(pi),Ga.push(si))}return Ga}function Qd(Un,Xo){return Xo=Vs(Xo,Un),Un=Ap(Un,Xo),Un==null||delete Un[fs(Jl(Xo))]}function ip(Un,Xo,na,ha){return ru(Un,Xo,na(ec(Un,Xo)),ha)}function Uu(Un,Xo,na,ha){for(var Ca=Un.length,Va=ha?Ca:-1;(ha?Va--:++Va<Ca)&&Xo(Un[Va],Va,Un););return na?Ql(Un,ha?0:Va,ha?Va+1:Ca):Ql(Un,ha?Va+1:0,ha?Ca:Va)}function lp(Un,Xo){var na=Un;return na instanceof ji&&(na=na.value()),mc(Xo,function(ha,Ca){return Ca.func.apply(Ca.thisArg,ss([ha],Ca.args))},na)}function Jd(Un,Xo,na){var ha=Un.length;if(ha<2)return ha?Ls(Un[0]):[];for(var Ca=-1,Va=oi(ha);++Ca<ha;)for(var Ka=Un[Ca],Ga=-1;++Ga<ha;)Ga!=Ca&&(Va[Ca]=tu(Va[Ca]||Ka,Un[Ga],Xo,na));return Ls(Sl(Va,1),Xo,na)}function sp(Un,Xo,na){for(var ha=-1,Ca=Un.length,Va=Xo.length,Ka={};++ha<Ca;){var Ga=ha<Va?Xo[ha]:_n;na(Ka,Un[ha],Ga)}return Ka}function ef(Un){return sl(Un)?Un:[]}function tf(Un){return typeof Un=="function"?Un:Vl}function Vs(Un,Xo){return Mi(Un)?Un:df(Un,Xo)?[Un]:Lp(Ui(Un))}var Bm=Li;function Fs(Un,Xo,na){var ha=Un.length;return na=na===_n?ha:na,!Xo&&na>=ha?Un:Ql(Un,Xo,na)}var cp=Pg||function(Un){return dl.clearTimeout(Un)};function up(Un,Xo){if(Xo)return Un.slice();var na=Un.length,ha=Nf?Nf(na):new Un.constructor(na);return Un.copy(ha),ha}function nf(Un){var Xo=new Un.constructor(Un.byteLength);return new Ru(Xo).set(new Ru(Un)),Xo}function jm(Un,Xo){var na=Xo?nf(Un.buffer):Un.buffer;return new Un.constructor(na,Un.byteOffset,Un.byteLength)}function Hm(Un){var Xo=new Un.constructor(Un.source,ml.exec(Un));return Xo.lastIndex=Un.lastIndex,Xo}function zm(Un){return Jc?qi(Jc.call(Un)):{}}function dp(Un,Xo){var na=Xo?nf(Un.buffer):Un.buffer;return new Un.constructor(na,Un.byteOffset,Un.length)}function fp(Un,Xo){if(Un!==Xo){var na=Un!==_n,ha=Un===null,Ca=Un===Un,Va=zl(Un),Ka=Xo!==_n,Ga=Xo===null,Ja=Xo===Xo,li=zl(Xo);if(!Ga&&!li&&!Va&&Un>Xo||Va&&Ka&&Ja&&!Ga&&!li||ha&&Ka&&Ja||!na&&Ja||!Ca)return 1;if(!ha&&!Va&&!li&&Un<Xo||li&&na&&Ca&&!ha&&!Va||Ga&&na&&Ca||!Ka&&Ca||!Ja)return-1}return 0}function Wm(Un,Xo,na){for(var ha=-1,Ca=Un.criteria,Va=Xo.criteria,Ka=Ca.length,Ga=na.length;++ha<Ka;){var Ja=fp(Ca[ha],Va[ha]);if(Ja){if(ha>=Ga)return Ja;var li=na[ha];return Ja*(li=="desc"?-1:1)}}return Un.index-Xo.index}function pp(Un,Xo,na,ha){for(var Ca=-1,Va=Un.length,Ka=na.length,Ga=-1,Ja=Xo.length,li=pl(Va-Ka,0),si=oi(Ja+li),pi=!ha;++Ga<Ja;)si[Ga]=Xo[Ga];for(;++Ca<Ka;)(pi||Ca<Va)&&(si[na[Ca]]=Un[Ca]);for(;li--;)si[Ga++]=Un[Ca++];return si}function gp(Un,Xo,na,ha){for(var Ca=-1,Va=Un.length,Ka=-1,Ga=na.length,Ja=-1,li=Xo.length,si=pl(Va-Ga,0),pi=oi(si+li),vi=!ha;++Ca<si;)pi[Ca]=Un[Ca];for(var xi=Ca;++Ja<li;)pi[xi+Ja]=Xo[Ja];for(;++Ka<Ga;)(vi||Ca<Va)&&(pi[xi+na[Ka]]=Un[Ca++]);return pi}function Dl(Un,Xo){var na=-1,ha=Un.length;for(Xo||(Xo=oi(ha));++na<ha;)Xo[na]=Un[na];return Xo}function ds(Un,Xo,na,ha){var Ca=!na;na||(na={});for(var Va=-1,Ka=Xo.length;++Va<Ka;){var Ga=Xo[Va],Ja=ha?ha(na[Ga],Un[Ga],Ga,na,Un):_n;Ja===_n&&(Ja=Un[Ga]),Ca?$s(na,Ga,Ja):eu(na,Ga,Ja)}return na}function Km(Un,Xo){return ds(Un,uf(Un),Xo)}function Um(Un,Xo){return ds(Un,Pp(Un),Xo)}function Gu(Un,Xo){return function(na,ha){var Ca=Mi(na)?Su:gm,Va=Xo?Xo():{};return Ca(na,Un,Pi(ha,2),Va)}}function Ic(Un){return Li(function(Xo,na){var ha=-1,Ca=na.length,Va=Ca>1?na[Ca-1]:_n,Ka=Ca>2?na[2]:_n;for(Va=Un.length>3&&typeof Va=="function"?(Ca--,Va):_n,Ka&&El(na[0],na[1],Ka)&&(Va=Ca<3?_n:Va,Ca=1),Xo=qi(Xo);++ha<Ca;){var Ga=na[ha];Ga&&Un(Xo,Ga,ha,Va)}return Xo})}function mp(Un,Xo){return function(na,ha){if(na==null)return na;if(!kl(na))return Un(na,ha);for(var Ca=na.length,Va=Xo?Ca:-1,Ka=qi(na);(Xo?Va--:++Va<Ca)&&ha(Ka[Va],Va,Ka)!==!1;);return na}}function hp(Un){return function(Xo,na,ha){for(var Ca=-1,Va=qi(Xo),Ka=ha(Xo),Ga=Ka.length;Ga--;){var Ja=Ka[Un?Ga:++Ca];if(na(Va[Ja],Ja,Va)===!1)break}return Xo}}function Gm(Un,Xo,na){var ha=Xo&Go,Ca=au(Un);function Va(){var Ka=this&&this!==dl&&this instanceof Va?Ca:Un;return Ka.apply(ha?na:this,arguments)}return Va}function vp(Un){return function(Xo){Xo=Ui(Xo);var na=As(Xo)?ai(Xo):_n,ha=na?na[0]:Xo.charAt(0),Ca=na?Fs(na,1).join(""):Xo.slice(1);return ha[Un]()+Ca}}function Oc(Un){return function(Xo){return mc(mg(gg(Xo).replace(md,"")),Un,"")}}function au(Un){return function(){var Xo=arguments;switch(Xo.length){case 0:return new Un;case 1:return new Un(Xo[0]);case 2:return new Un(Xo[0],Xo[1]);case 3:return new Un(Xo[0],Xo[1],Xo[2]);case 4:return new Un(Xo[0],Xo[1],Xo[2],Xo[3]);case 5:return new Un(Xo[0],Xo[1],Xo[2],Xo[3],Xo[4]);case 6:return new Un(Xo[0],Xo[1],Xo[2],Xo[3],Xo[4],Xo[5]);case 7:return new Un(Xo[0],Xo[1],Xo[2],Xo[3],Xo[4],Xo[5],Xo[6])}var na=Pc(Un.prototype),ha=Un.apply(na,Xo);return ol(ha)?ha:na}}function Ym(Un,Xo,na){var ha=au(Un);function Ca(){for(var Va=arguments.length,Ka=oi(Va),Ga=Va,Ja=Ec(Ca);Ga--;)Ka[Ga]=arguments[Ga];var li=Va<3&&Ka[0]!==Ja&&Ka[Va-1]!==Ja?[]:Yl(Ka,Ja);if(Va-=li.length,Va<na)return Cp(Un,Xo,Yu,Ca.placeholder,_n,Ka,li,_n,_n,na-Va);var si=this&&this!==dl&&this instanceof Ca?ha:Un;return Il(si,this,Ka)}return Ca}function yp(Un){return function(Xo,na,ha){var Ca=qi(Xo);if(!kl(Xo)){var Va=Pi(na,3);Xo=$l(Xo),na=function(Ga){return Va(Ca[Ga],Ga,Ca)}}var Ka=Un(Xo,na,ha);return Ka>-1?Ca[Va?Xo[Ka]:Ka]:_n}}function bp(Un){return Cs(function(Xo){var na=Xo.length,ha=na,Ca=ql.prototype.thru;for(Un&&Xo.reverse();ha--;){var Va=Xo[ha];if(typeof Va!="function")throw new Xl(Rn);if(Ca&&!Ka&&Qu(Va)=="wrapper")var Ka=new ql([],!0)}for(ha=Ka?ha:na;++ha<na;){Va=Xo[ha];var Ga=Qu(Va),Ja=Ga=="wrapper"?sf(Va):_n;Ja&&ff(Ja[0])&&Ja[1]==(nr|qo|Zo|ta)&&!Ja[4].length&&Ja[9]==1?Ka=Ka[Qu(Ja[0])].apply(Ka,Ja[3]):Ka=Va.length==1&&ff(Va)?Ka[Ga]():Ka.thru(Va)}return function(){var li=arguments,si=li[0];if(Ka&&li.length==1&&Mi(si))return Ka.plant(si).value();for(var pi=0,vi=na?Xo[pi].apply(this,li):si;++pi<na;)vi=Xo[pi].call(this,vi);return vi}})}function Yu(Un,Xo,na,ha,Ca,Va,Ka,Ga,Ja,li){var si=Xo&nr,pi=Xo&Go,vi=Xo&Xn,xi=Xo&(qo|Jo),Ii=Xo&oa,ki=vi?_n:au(Un);function Oi(){for(var Fi=arguments.length,Hi=oi(Fi),Wl=Fi;Wl--;)Hi[Wl]=arguments[Wl];if(xi)var Nl=Ec(Oi),Kl=$c(Hi,Nl);if(ha&&(Hi=pp(Hi,ha,Ca,xi)),Va&&(Hi=gp(Hi,Va,Ka,xi)),Fi-=Kl,xi&&Fi<li){var cl=Yl(Hi,Nl);return Cp(Un,Xo,Yu,Oi.placeholder,na,Hi,cl,Ga,Ja,li-Fi)}var as=pi?na:this,Ts=vi?as[Un]:Un;return Fi=Hi.length,Ga?Hi=gh(Hi,Ga):Ii&&Fi>1&&Hi.reverse(),si&&Ja<Fi&&(Hi.length=Ja),this&&this!==dl&&this instanceof Oi&&(Ts=ki||au(Ts)),Ts.apply(as,Hi)}return Oi}function $p(Un,Xo){return function(na,ha){return Cm(na,Un,Xo(ha),{})}}function Xu(Un,Xo){return function(na,ha){var Ca;if(na===_n&&ha===_n)return Xo;if(na!==_n&&(Ca=na),ha!==_n){if(Ca===_n)return ha;typeof na=="string"||typeof ha=="string"?(na=Hl(na),ha=Hl(ha)):(na=ap(na),ha=ap(ha)),Ca=Un(na,ha)}return Ca}}function of(Un){return Cs(function(Xo){return Xo=tl(Xo,xl(Pi())),Li(function(na){var ha=this;return Un(Xo,function(Ca){return Il(Ca,ha,na)})})})}function qu(Un,Xo){Xo=Xo===_n?" ":Hl(Xo);var na=Xo.length;if(na<2)return na?qd(Xo,Un):Xo;var ha=qd(Xo,ku(Un/Pa(Xo)));return As(Xo)?Fs(ai(ha),0,Un).join(""):ha.slice(0,Un)}function Xm(Un,Xo,na,ha){var Ca=Xo&Go,Va=au(Un);function Ka(){for(var Ga=-1,Ja=arguments.length,li=-1,si=ha.length,pi=oi(si+Ja),vi=this&&this!==dl&&this instanceof Ka?Va:Un;++li<si;)pi[li]=ha[li];for(;Ja--;)pi[li++]=arguments[++Ga];return Il(vi,Ca?na:this,pi)}return Ka}function Sp(Un){return function(Xo,na,ha){return ha&&typeof ha!="number"&&El(Xo,na,ha)&&(na=ha=_n),Xo=_s(Xo),na===_n?(na=Xo,Xo=0):na=_s(na),ha=ha===_n?Xo<na?1:-1:_s(ha),Mm(Xo,na,ha,Un)}}function Zu(Un){return function(Xo,na){return typeof Xo=="string"&&typeof na=="string"||(Xo=es(Xo),na=es(na)),Un(Xo,na)}}function Cp(Un,Xo,na,ha,Ca,Va,Ka,Ga,Ja,li){var si=Xo&qo,pi=si?Ka:_n,vi=si?_n:Ka,xi=si?Va:_n,Ii=si?_n:Va;Xo|=si?Zo:rr,Xo&=~(si?rr:Zo),Xo&Yo||(Xo&=~(Go|Xn));var ki=[Un,Xo,Ca,xi,pi,Ii,vi,Ga,Ja,li],Oi=na.apply(_n,ki);return ff(Un)&&Mp(Oi,ki),Oi.placeholder=ha,Dp(Oi,Un,Xo)}function rf(Un){var Xo=fl[Un];return function(na,ha){if(na=es(na),ha=ha==null?0:wl(Di(ha),292),ha&&Df(na)){var Ca=(Ui(na)+"e").split("e"),Va=Xo(Ca[0]+"e"+(+Ca[1]+ha));return Ca=(Ui(Va)+"e").split("e"),+(Ca[0]+"e"+(+Ca[1]-ha))}return Xo(na)}}var qm=_c&&1/vs(new _c([,-0]))[1]==sa?function(Un){return new _c(Un)}:Pf;function xp(Un){return function(Xo){var na=_l(Xo);return na==pa?_i(Xo):na==Ya?Cc(Xo):yc(Xo,Un(Xo))}}function Ss(Un,Xo,na,ha,Ca,Va,Ka,Ga){var Ja=Xo&Xn;if(!Ja&&typeof Un!="function")throw new Xl(Rn);var li=ha?ha.length:0;if(li||(Xo&=~(Zo|rr),ha=Ca=_n),Ka=Ka===_n?Ka:pl(Di(Ka),0),Ga=Ga===_n?Ga:Di(Ga),li-=Ca?Ca.length:0,Xo&rr){var si=ha,pi=Ca;ha=Ca=_n}var vi=Ja?_n:sf(Un),xi=[Un,Xo,na,ha,Ca,si,pi,Va,Ka,Ga];if(vi&&dh(xi,vi),Un=xi[0],Xo=xi[1],na=xi[2],ha=xi[3],Ca=xi[4],Ga=xi[9]=xi[9]===_n?Ja?0:Un.length:pl(xi[9]-li,0),!Ga&&Xo&(qo|Jo)&&(Xo&=~(qo|Jo)),!Xo||Xo==Go)var Ii=Gm(Un,Xo,na);else Xo==qo||Xo==Jo?Ii=Ym(Un,Xo,Ga):(Xo==Zo||Xo==(Go|Zo))&&!Ca.length?Ii=Xm(Un,Xo,na,ha):Ii=Yu.apply(_n,xi);var ki=vi?op:Mp;return Dp(ki(Ii,xi),Un,Xo)}function wp(Un,Xo,na,ha){return Un===_n||rs(Un,wc[na])&&!Gi.call(ha,na)?Xo:Un}function _p(Un,Xo,na,ha,Ca,Va){return ol(Un)&&ol(Xo)&&(Va.set(Xo,Un),Wu(Un,Xo,_n,_p,Va),Va.delete(Xo)),Un}function Zm(Un){return su(Un)?_n:Un}function Tp(Un,Xo,na,ha,Ca,Va){var Ka=na&Yn,Ga=Un.length,Ja=Xo.length;if(Ga!=Ja&&!(Ka&&Ja>Ga))return!1;var li=Va.get(Un),si=Va.get(Xo);if(li&&si)return li==Xo&&si==Un;var pi=-1,vi=!0,xi=na&Gn?new Qs:_n;for(Va.set(Un,Xo),Va.set(Xo,Un);++pi<Ga;){var Ii=Un[pi],ki=Xo[pi];if(ha)var Oi=Ka?ha(ki,Ii,pi,Xo,Un,Va):ha(Ii,ki,pi,Un,Xo,Va);if(Oi!==_n){if(Oi)continue;vi=!1;break}if(xi){if(!Bc(Xo,function(Fi,Hi){if(!Ys(xi,Hi)&&(Ii===Fi||Ca(Ii,Fi,na,ha,Va)))return xi.push(Hi)})){vi=!1;break}}else if(!(Ii===ki||Ca(Ii,ki,na,ha,Va))){vi=!1;break}}return Va.delete(Un),Va.delete(Xo),vi}function Qm(Un,Xo,na,ha,Ca,Va,Ka){switch(na){case Qa:if(Un.byteLength!=Xo.byteLength||Un.byteOffset!=Xo.byteOffset)return!1;Un=Un.buffer,Xo=Xo.buffer;case Ua:return!(Un.byteLength!=Xo.byteLength||!Va(new Ru(Un),new Ru(Xo)));case La:case Na:case Sa:return rs(+Un,+Xo);case ka:return Un.name==Xo.name&&Un.message==Xo.message;case Wa:case ja:return Un==Xo+"";case pa:var Ga=_i;case Ya:var Ja=ha&Yn;if(Ga||(Ga=vs),Un.size!=Xo.size&&!Ja)return!1;var li=Ka.get(Un);if(li)return li==Xo;ha|=Gn,Ka.set(Un,Xo);var si=Tp(Ga(Un),Ga(Xo),ha,Ca,Va,Ka);return Ka.delete(Un),si;case qa:if(Jc)return Jc.call(Un)==Jc.call(Xo)}return!1}function Jm(Un,Xo,na,ha,Ca,Va){var Ka=na&Yn,Ga=af(Un),Ja=Ga.length,li=af(Xo),si=li.length;if(Ja!=si&&!Ka)return!1;for(var pi=Ja;pi--;){var vi=Ga[pi];if(!(Ka?vi in Xo:Gi.call(Xo,vi)))return!1}var xi=Va.get(Un),Ii=Va.get(Xo);if(xi&&Ii)return xi==Xo&&Ii==Un;var ki=!0;Va.set(Un,Xo),Va.set(Xo,Un);for(var Oi=Ka;++pi<Ja;){vi=Ga[pi];var Fi=Un[vi],Hi=Xo[vi];if(ha)var Wl=Ka?ha(Hi,Fi,vi,Xo,Un,Va):ha(Fi,Hi,vi,Un,Xo,Va);if(!(Wl===_n?Fi===Hi||Ca(Fi,Hi,na,ha,Va):Wl)){ki=!1;break}Oi||(Oi=vi=="constructor")}if(ki&&!Oi){var Nl=Un.constructor,Kl=Xo.constructor;Nl!=Kl&&"constructor"in Un&&"constructor"in Xo&&!(typeof Nl=="function"&&Nl instanceof Nl&&typeof Kl=="function"&&Kl instanceof Kl)&&(ki=!1)}return Va.delete(Un),Va.delete(Xo),ki}function Cs(Un){return gf(Rp(Un,_n,jp),Un+"")}function af(Un){return Uf(Un,$l,uf)}function lf(Un){return Uf(Un,Ll,Pp)}var sf=Vu?function(Un){return Vu.get(Un)}:Pf;function Qu(Un){for(var Xo=Un.name+"",na=Tc[Xo],ha=Gi.call(Tc,Xo)?na.length:0;ha--;){var Ca=na[ha],Va=Ca.func;if(Va==null||Va==Un)return Ca.name}return Xo}function Ec(Un){var Xo=Gi.call(Da,"placeholder")?Da:Un;return Xo.placeholder}function Pi(){var Un=Da.iteratee||_f;return Un=Un===_f?Xf:Un,arguments.length?Un(arguments[0],arguments[1]):Un}function Ju(Un,Xo){var na=Un.__data__;return lh(Xo)?na[typeof Xo=="string"?"string":"hash"]:na.map}function cf(Un){for(var Xo=$l(Un),na=Xo.length;na--;){var ha=Xo[na],Ca=Un[ha];Xo[na]=[ha,Ca,Ep(Ca)]}return Xo}function tc(Un,Xo){var na=Ad(Un,Xo);return Yf(na)?na:_n}function eh(Un){var Xo=Gi.call(Un,qs),na=Un[qs];try{Un[qs]=_n;var ha=!0}catch{}var Ca=Eu.call(Un);return ha&&(Xo?Un[qs]=na:delete Un[qs]),Ca}var uf=kd?function(Un){return Un==null?[]:(Un=qi(Un),ls(kd(Un),function(Xo){return Af.call(Un,Xo)}))}:If,Pp=kd?function(Un){for(var Xo=[];Un;)ss(Xo,uf(Un)),Un=Au(Un);return Xo}:If,_l=Ol;(Ld&&_l(new Ld(new ArrayBuffer(1)))!=Qa||qc&&_l(new qc)!=pa||Vd&&_l(Vd.resolve())!=Fa||_c&&_l(new _c)!=Ya||Zc&&_l(new Zc)!=Oa)&&(_l=function(Un){var Xo=Ol(Un),na=Xo==Ra?Un.constructor:_n,ha=na?nc(na):"";if(ha)switch(ha){case kg:return Qa;case Lg:return pa;case Vg:return Fa;case Fg:return Ya;case Bg:return Oa}return Xo});function th(Un,Xo,na){for(var ha=-1,Ca=na.length;++ha<Ca;){var Va=na[ha],Ka=Va.size;switch(Va.type){case"drop":Un+=Ka;break;case"dropRight":Xo-=Ka;break;case"take":Xo=wl(Xo,Un+Ka);break;case"takeRight":Un=pl(Un,Xo-Ka);break}}return{start:Un,end:Xo}}function nh(Un){var Xo=Un.match(Bi);return Xo?Xo[1].split(nl):[]}function Ip(Un,Xo,na){Xo=Vs(Xo,Un);for(var ha=-1,Ca=Xo.length,Va=!1;++ha<Ca;){var Ka=fs(Xo[ha]);if(!(Va=Un!=null&&na(Un,Ka)))break;Un=Un[Ka]}return Va||++ha!=Ca?Va:(Ca=Un==null?0:Un.length,!!Ca&&id(Ca)&&xs(Ka,Ca)&&(Mi(Un)||oc(Un)))}function oh(Un){var Xo=Un.length,na=new Un.constructor(Xo);return Xo&&typeof Un[0]=="string"&&Gi.call(Un,"index")&&(na.index=Un.index,na.input=Un.input),na}function Op(Un){return typeof Un.constructor=="function"&&!iu(Un)?Pc(Au(Un)):{}}function rh(Un,Xo,na){var ha=Un.constructor;switch(Xo){case Ua:return nf(Un);case La:case Na:return new ha(+Un);case Qa:return jm(Un,na);case ri:case fi:case ei:case ti:case ni:case ui:case mi:case di:case gi:return dp(Un,na);case pa:return new ha;case Sa:case ja:return new ha(Un);case Wa:return Hm(Un);case Ya:return new ha;case qa:return zm(Un)}}function ah(Un,Xo){var na=Xo.length;if(!na)return Un;var ha=na-1;return Xo[ha]=(na>1?"& ":"")+Xo[ha],Xo=Xo.join(na>2?", ":" "),Un.replace(bi,`{
-/* [wrapped with `+Xo+`] */
-`)}function ih(Un){return Mi(Un)||oc(Un)||!!(Mf&&Un&&Un[Mf])}function xs(Un,Xo){var na=typeof Un;return Xo=Xo??ia,!!Xo&&(na=="number"||na!="symbol"&&Fl.test(Un))&&Un>-1&&Un%1==0&&Un<Xo}function El(Un,Xo,na){if(!ol(na))return!1;var ha=typeof Xo;return(ha=="number"?kl(na)&&xs(Xo,na.length):ha=="string"&&Xo in na)?rs(na[Xo],Un):!1}function df(Un,Xo){if(Mi(Un))return!1;var na=typeof Un;return na=="number"||na=="symbol"||na=="boolean"||Un==null||zl(Un)?!0:il.test(Un)||!yi.test(Un)||Xo!=null&&Un in qi(Xo)}function lh(Un){var Xo=typeof Un;return Xo=="string"||Xo=="number"||Xo=="symbol"||Xo=="boolean"?Un!=="__proto__":Un===null}function ff(Un){var Xo=Qu(Un),na=Da[Xo];if(typeof na!="function"||!(Xo in ji.prototype))return!1;if(Un===na)return!0;var ha=sf(na);return!!ha&&Un===ha[0]}function sh(Un){return!!Ef&&Ef in Un}var ch=Iu?ws:Of;function iu(Un){var Xo=Un&&Un.constructor,na=typeof Xo=="function"&&Xo.prototype||wc;return Un===na}function Ep(Un){return Un===Un&&!ol(Un)}function Np(Un,Xo){return function(na){return na==null?!1:na[Un]===Xo&&(Xo!==_n||Un in qi(na))}}function uh(Un){var Xo=rd(Un,function(ha){return na.size===Fn&&na.clear(),ha}),na=Xo.cache;return Xo}function dh(Un,Xo){var na=Un[1],ha=Xo[1],Ca=na|ha,Va=Ca<(Go|Xn|nr),Ka=ha==nr&&na==qo||ha==nr&&na==ta&&Un[7].length<=Xo[8]||ha==(nr|ta)&&Xo[7].length<=Xo[8]&&na==qo;if(!(Va||Ka))return Un;ha&Go&&(Un[2]=Xo[2],Ca|=na&Go?0:Yo);var Ga=Xo[3];if(Ga){var Ja=Un[3];Un[3]=Ja?pp(Ja,Ga,Xo[4]):Ga,Un[4]=Ja?Yl(Un[3],Bn):Xo[4]}return Ga=Xo[5],Ga&&(Ja=Un[5],Un[5]=Ja?gp(Ja,Ga,Xo[6]):Ga,Un[6]=Ja?Yl(Un[5],Bn):Xo[6]),Ga=Xo[7],Ga&&(Un[7]=Ga),ha&nr&&(Un[8]=Un[8]==null?Xo[8]:wl(Un[8],Xo[8])),Un[9]==null&&(Un[9]=Xo[9]),Un[0]=Xo[0],Un[1]=Ca,Un}function fh(Un){var Xo=[];if(Un!=null)for(var na in qi(Un))Xo.push(na);return Xo}function ph(Un){return Eu.call(Un)}function Rp(Un,Xo,na){return Xo=pl(Xo===_n?Un.length-1:Xo,0),function(){for(var ha=arguments,Ca=-1,Va=pl(ha.length-Xo,0),Ka=oi(Va);++Ca<Va;)Ka[Ca]=ha[Xo+Ca];Ca=-1;for(var Ga=oi(Xo+1);++Ca<Xo;)Ga[Ca]=ha[Ca];return Ga[Xo]=na(Ka),Il(Un,this,Ga)}}function Ap(Un,Xo){return Xo.length<2?Un:ec(Un,Ql(Xo,0,-1))}function gh(Un,Xo){for(var na=Un.length,ha=wl(Xo.length,na),Ca=Dl(Un);ha--;){var Va=Xo[ha];Un[ha]=xs(Va,na)?Ca[Va]:_n}return Un}function pf(Un,Xo){if(!(Xo==="constructor"&&typeof Un[Xo]=="function")&&Xo!="__proto__")return Un[Xo]}var Mp=kp(op),lu=Og||function(Un,Xo){return dl.setTimeout(Un,Xo)},gf=kp(Lm);function Dp(Un,Xo,na){var ha=Xo+"";return gf(Un,ah(ha,mh(nh(ha),na)))}function kp(Un){var Xo=0,na=0;return function(){var ha=Ag(),Ca=ua-(ha-na);if(na=ha,Ca>0){if(++Xo>=la)return arguments[0]}else Xo=0;return Un.apply(_n,arguments)}}function ed(Un,Xo){var na=-1,ha=Un.length,Ca=ha-1;for(Xo=Xo===_n?ha:Xo;++na<Xo;){var Va=Xd(na,Ca),Ka=Un[Va];Un[Va]=Un[na],Un[na]=Ka}return Un.length=Xo,Un}var Lp=uh(function(Un){var Xo=[];return Un.charCodeAt(0)===46&&Xo.push(""),Un.replace(Tl,function(na,ha,Ca,Va){Xo.push(Ca?Va.replace(ll,"$1"):ha||na)}),Xo});function fs(Un){if(typeof Un=="string"||zl(Un))return Un;var Xo=Un+"";return Xo=="0"&&1/Un==-sa?"-0":Xo}function nc(Un){if(Un!=null){try{return Ou.call(Un)}catch{}try{return Un+""}catch{}}return""}function mh(Un,Xo){return Ml(Ea,function(na){var ha="_."+na[0];Xo&na[1]&&!pc(Un,ha)&&Un.push(ha)}),Un.sort()}function Vp(Un){if(Un instanceof ji)return Un.clone();var Xo=new ql(Un.__wrapped__,Un.__chain__);return Xo.__actions__=Dl(Un.__actions__),Xo.__index__=Un.__index__,Xo.__values__=Un.__values__,Xo}function hh(Un,Xo,na){(na?El(Un,Xo,na):Xo===_n)?Xo=1:Xo=pl(Di(Xo),0);var ha=Un==null?0:Un.length;if(!ha||Xo<1)return[];for(var Ca=0,Va=0,Ka=oi(ku(ha/Xo));Ca<ha;)Ka[Va++]=Ql(Un,Ca,Ca+=Xo);return Ka}function vh(Un){for(var Xo=-1,na=Un==null?0:Un.length,ha=0,Ca=[];++Xo<na;){var Va=Un[Xo];Va&&(Ca[ha++]=Va)}return Ca}function yh(){var Un=arguments.length;if(!Un)return[];for(var Xo=oi(Un-1),na=arguments[0],ha=Un;ha--;)Xo[ha-1]=arguments[ha];return ss(Mi(na)?Dl(na):[na],Sl(Xo,1))}var bh=Li(function(Un,Xo){return sl(Un)?tu(Un,Sl(Xo,1,sl,!0)):[]}),$h=Li(function(Un,Xo){var na=Jl(Xo);return sl(na)&&(na=_n),sl(Un)?tu(Un,Sl(Xo,1,sl,!0),Pi(na,2)):[]}),Sh=Li(function(Un,Xo){var na=Jl(Xo);return sl(na)&&(na=_n),sl(Un)?tu(Un,Sl(Xo,1,sl,!0),_n,na):[]});function Ch(Un,Xo,na){var ha=Un==null?0:Un.length;return ha?(Xo=na||Xo===_n?1:Di(Xo),Ql(Un,Xo<0?0:Xo,ha)):[]}function xh(Un,Xo,na){var ha=Un==null?0:Un.length;return ha?(Xo=na||Xo===_n?1:Di(Xo),Xo=ha-Xo,Ql(Un,0,Xo<0?0:Xo)):[]}function wh(Un,Xo){return Un&&Un.length?Uu(Un,Pi(Xo,3),!0,!0):[]}function _h(Un,Xo){return Un&&Un.length?Uu(Un,Pi(Xo,3),!0):[]}function Th(Un,Xo,na,ha){var Ca=Un==null?0:Un.length;return Ca?(na&&typeof na!="number"&&El(Un,Xo,na)&&(na=0,ha=Ca),ym(Un,Xo,na,ha)):[]}function Fp(Un,Xo,na){var ha=Un==null?0:Un.length;if(!ha)return-1;var Ca=na==null?0:Di(na);return Ca<0&&(Ca=pl(ha+Ca,0)),hc(Un,Pi(Xo,3),Ca)}function Bp(Un,Xo,na){var ha=Un==null?0:Un.length;if(!ha)return-1;var Ca=ha-1;return na!==_n&&(Ca=Di(na),Ca=na<0?pl(ha+Ca,0):wl(Ca,ha-1)),hc(Un,Pi(Xo,3),Ca,!0)}function jp(Un){var Xo=Un==null?0:Un.length;return Xo?Sl(Un,1):[]}function Ph(Un){var Xo=Un==null?0:Un.length;return Xo?Sl(Un,sa):[]}function Ih(Un,Xo){var na=Un==null?0:Un.length;return na?(Xo=Xo===_n?1:Di(Xo),Sl(Un,Xo)):[]}function Oh(Un){for(var Xo=-1,na=Un==null?0:Un.length,ha={};++Xo<na;){var Ca=Un[Xo];ha[Ca[0]]=Ca[1]}return ha}function Hp(Un){return Un&&Un.length?Un[0]:_n}function Eh(Un,Xo,na){var ha=Un==null?0:Un.length;if(!ha)return-1;var Ca=na==null?0:Di(na);return Ca<0&&(Ca=pl(ha+Ca,0)),Rs(Un,Xo,Ca)}function Nh(Un){var Xo=Un==null?0:Un.length;return Xo?Ql(Un,0,-1):[]}var Rh=Li(function(Un){var Xo=tl(Un,ef);return Xo.length&&Xo[0]===Un[0]?Wd(Xo):[]}),Ah=Li(function(Un){var Xo=Jl(Un),na=tl(Un,ef);return Xo===Jl(na)?Xo=_n:na.pop(),na.length&&na[0]===Un[0]?Wd(na,Pi(Xo,2)):[]}),Mh=Li(function(Un){var Xo=Jl(Un),na=tl(Un,ef);return Xo=typeof Xo=="function"?Xo:_n,Xo&&na.pop(),na.length&&na[0]===Un[0]?Wd(na,_n,Xo):[]});function Dh(Un,Xo){return Un==null?"":Ng.call(Un,Xo)}function Jl(Un){var Xo=Un==null?0:Un.length;return Xo?Un[Xo-1]:_n}function kh(Un,Xo,na){var ha=Un==null?0:Un.length;if(!ha)return-1;var Ca=ha;return na!==_n&&(Ca=Di(na),Ca=Ca<0?pl(ha+Ca,0):wl(Ca,ha-1)),Xo===Xo?va(Un,Xo,Ca):hc(Un,wu,Ca,!0)}function Lh(Un,Xo){return Un&&Un.length?Jf(Un,Di(Xo)):_n}var Vh=Li(zp);function zp(Un,Xo){return Un&&Un.length&&Xo&&Xo.length?Yd(Un,Xo):Un}function Fh(Un,Xo,na){return Un&&Un.length&&Xo&&Xo.length?Yd(Un,Xo,Pi(na,2)):Un}function Bh(Un,Xo,na){return Un&&Un.length&&Xo&&Xo.length?Yd(Un,Xo,_n,na):Un}var jh=Cs(function(Un,Xo){var na=Un==null?0:Un.length,ha=Bd(Un,Xo);return np(Un,tl(Xo,function(Ca){return xs(Ca,na)?+Ca:Ca}).sort(fp)),ha});function Hh(Un,Xo){var na=[];if(!(Un&&Un.length))return na;var ha=-1,Ca=[],Va=Un.length;for(Xo=Pi(Xo,3);++ha<Va;){var Ka=Un[ha];Xo(Ka,ha,Un)&&(na.push(Ka),Ca.push(ha))}return np(Un,Ca),na}function mf(Un){return Un==null?Un:Dg.call(Un)}function zh(Un,Xo,na){var ha=Un==null?0:Un.length;return ha?(na&&typeof na!="number"&&El(Un,Xo,na)?(Xo=0,na=ha):(Xo=Xo==null?0:Di(Xo),na=na===_n?ha:Di(na)),Ql(Un,Xo,na)):[]}function Wh(Un,Xo){return Ku(Un,Xo)}function Kh(Un,Xo,na){return Zd(Un,Xo,Pi(na,2))}function Uh(Un,Xo){var na=Un==null?0:Un.length;if(na){var ha=Ku(Un,Xo);if(ha<na&&rs(Un[ha],Xo))return ha}return-1}function Gh(Un,Xo){return Ku(Un,Xo,!0)}function Yh(Un,Xo,na){return Zd(Un,Xo,Pi(na,2),!0)}function Xh(Un,Xo){var na=Un==null?0:Un.length;if(na){var ha=Ku(Un,Xo,!0)-1;if(rs(Un[ha],Xo))return ha}return-1}function qh(Un){return Un&&Un.length?rp(Un):[]}function Zh(Un,Xo){return Un&&Un.length?rp(Un,Pi(Xo,2)):[]}function Qh(Un){var Xo=Un==null?0:Un.length;return Xo?Ql(Un,1,Xo):[]}function Jh(Un,Xo,na){return Un&&Un.length?(Xo=na||Xo===_n?1:Di(Xo),Ql(Un,0,Xo<0?0:Xo)):[]}function ev(Un,Xo,na){var ha=Un==null?0:Un.length;return ha?(Xo=na||Xo===_n?1:Di(Xo),Xo=ha-Xo,Ql(Un,Xo<0?0:Xo,ha)):[]}function tv(Un,Xo){return Un&&Un.length?Uu(Un,Pi(Xo,3),!1,!0):[]}function nv(Un,Xo){return Un&&Un.length?Uu(Un,Pi(Xo,3)):[]}var ov=Li(function(Un){return Ls(Sl(Un,1,sl,!0))}),rv=Li(function(Un){var Xo=Jl(Un);return sl(Xo)&&(Xo=_n),Ls(Sl(Un,1,sl,!0),Pi(Xo,2))}),av=Li(function(Un){var Xo=Jl(Un);return Xo=typeof Xo=="function"?Xo:_n,Ls(Sl(Un,1,sl,!0),_n,Xo)});function iv(Un){return Un&&Un.length?Ls(Un):[]}function lv(Un,Xo){return Un&&Un.length?Ls(Un,Pi(Xo,2)):[]}function sv(Un,Xo){return Xo=typeof Xo=="function"?Xo:_n,Un&&Un.length?Ls(Un,_n,Xo):[]}function hf(Un){if(!(Un&&Un.length))return[];var Xo=0;return Un=ls(Un,function(na){if(sl(na))return Xo=pl(na.length,Xo),!0}),Uc(Xo,function(na){return tl(Un,zc(na))})}function Wp(Un,Xo){if(!(Un&&Un.length))return[];var na=hf(Un);return Xo==null?na:tl(na,function(ha){return Il(Xo,_n,ha)})}var cv=Li(function(Un,Xo){return sl(Un)?tu(Un,Xo):[]}),uv=Li(function(Un){return Jd(ls(Un,sl))}),dv=Li(function(Un){var Xo=Jl(Un);return sl(Xo)&&(Xo=_n),Jd(ls(Un,sl),Pi(Xo,2))}),fv=Li(function(Un){var Xo=Jl(Un);return Xo=typeof Xo=="function"?Xo:_n,Jd(ls(Un,sl),_n,Xo)}),pv=Li(hf);function gv(Un,Xo){return sp(Un||[],Xo||[],eu)}function mv(Un,Xo){return sp(Un||[],Xo||[],ru)}var hv=Li(function(Un){var Xo=Un.length,na=Xo>1?Un[Xo-1]:_n;return na=typeof na=="function"?(Un.pop(),na):_n,Wp(Un,na)});function Kp(Un){var Xo=Da(Un);return Xo.__chain__=!0,Xo}function vv(Un,Xo){return Xo(Un),Un}function td(Un,Xo){return Xo(Un)}var yv=Cs(function(Un){var Xo=Un.length,na=Xo?Un[0]:0,ha=this.__wrapped__,Ca=function(Va){return Bd(Va,Un)};return Xo>1||this.__actions__.length||!(ha instanceof ji)||!xs(na)?this.thru(Ca):(ha=ha.slice(na,+na+(Xo?1:0)),ha.__actions__.push({func:td,args:[Ca],thisArg:_n}),new ql(ha,this.__chain__).thru(function(Va){return Xo&&!Va.length&&Va.push(_n),Va}))});function bv(){return Kp(this)}function $v(){return new ql(this.value(),this.__chain__)}function Sv(){this.__values__===_n&&(this.__values__=ag(this.value()));var Un=this.__index__>=this.__values__.length,Xo=Un?_n:this.__values__[this.__index__++];return{done:Un,value:Xo}}function Cv(){return this}function xv(Un){for(var Xo,na=this;na instanceof Bu;){var ha=Vp(na);ha.__index__=0,ha.__values__=_n,Xo?Ca.__wrapped__=ha:Xo=ha;var Ca=ha;na=na.__wrapped__}return Ca.__wrapped__=Un,Xo}function wv(){var Un=this.__wrapped__;if(Un instanceof ji){var Xo=Un;return this.__actions__.length&&(Xo=new ji(this)),Xo=Xo.reverse(),Xo.__actions__.push({func:td,args:[mf],thisArg:_n}),new ql(Xo,this.__chain__)}return this.thru(mf)}function _v(){return lp(this.__wrapped__,this.__actions__)}var Tv=Gu(function(Un,Xo,na){Gi.call(Un,na)?++Un[na]:$s(Un,na,1)});function Pv(Un,Xo,na){var ha=Mi(Un)?Fc:vm;return na&&El(Un,Xo,na)&&(Xo=_n),ha(Un,Pi(Xo,3))}function Iv(Un,Xo){var na=Mi(Un)?ls:Wf;return na(Un,Pi(Xo,3))}var Ov=yp(Fp),Ev=yp(Bp);function Nv(Un,Xo){return Sl(nd(Un,Xo),1)}function Rv(Un,Xo){return Sl(nd(Un,Xo),sa)}function Av(Un,Xo,na){return na=na===_n?1:Di(na),Sl(nd(Un,Xo),na)}function Up(Un,Xo){var na=Mi(Un)?Ml:ks;return na(Un,Pi(Xo,3))}function Gp(Un,Xo){var na=Mi(Un)?Pd:zf;return na(Un,Pi(Xo,3))}var Mv=Gu(function(Un,Xo,na){Gi.call(Un,na)?Un[na].push(Xo):$s(Un,na,[Xo])});function Dv(Un,Xo,na,ha){Un=kl(Un)?Un:Rc(Un),na=na&&!ha?Di(na):0;var Ca=Un.length;return na<0&&(na=pl(Ca+na,0)),ld(Un)?na<=Ca&&Un.indexOf(Xo,na)>-1:!!Ca&&Rs(Un,Xo,na)>-1}var kv=Li(function(Un,Xo,na){var ha=-1,Ca=typeof Xo=="function",Va=kl(Un)?oi(Un.length):[];return ks(Un,function(Ka){Va[++ha]=Ca?Il(Xo,Ka,na):nu(Ka,Xo,na)}),Va}),Lv=Gu(function(Un,Xo,na){$s(Un,na,Xo)});function nd(Un,Xo){var na=Mi(Un)?tl:qf;return na(Un,Pi(Xo,3))}function Vv(Un,Xo,na,ha){return Un==null?[]:(Mi(Xo)||(Xo=Xo==null?[]:[Xo]),na=ha?_n:na,Mi(na)||(na=na==null?[]:[na]),ep(Un,Xo,na))}var Fv=Gu(function(Un,Xo,na){Un[na?0:1].push(Xo)},function(){return[[],[]]});function Bv(Un,Xo,na){var ha=Mi(Un)?mc:Wc,Ca=arguments.length<3;return ha(Un,Pi(Xo,4),na,Ca,ks)}function jv(Un,Xo,na){var ha=Mi(Un)?Id:Wc,Ca=arguments.length<3;return ha(Un,Pi(Xo,4),na,Ca,zf)}function Hv(Un,Xo){var na=Mi(Un)?ls:Wf;return na(Un,ad(Pi(Xo,3)))}function zv(Un){var Xo=Mi(Un)?Ff:Dm;return Xo(Un)}function Wv(Un,Xo,na){(na?El(Un,Xo,na):Xo===_n)?Xo=1:Xo=Di(Xo);var ha=Mi(Un)?fm:km;return ha(Un,Xo)}function Kv(Un){var Xo=Mi(Un)?pm:Vm;return Xo(Un)}function Uv(Un){if(Un==null)return 0;if(kl(Un))return ld(Un)?Pa(Un):Un.length;var Xo=_l(Un);return Xo==pa||Xo==Ya?Un.size:Ud(Un).length}function Gv(Un,Xo,na){var ha=Mi(Un)?Bc:Fm;return na&&El(Un,Xo,na)&&(Xo=_n),ha(Un,Pi(Xo,3))}var Yv=Li(function(Un,Xo){if(Un==null)return[];var na=Xo.length;return na>1&&El(Un,Xo[0],Xo[1])?Xo=[]:na>2&&El(Xo[0],Xo[1],Xo[2])&&(Xo=[Xo[0]]),ep(Un,Sl(Xo,1),[])}),od=Ig||function(){return dl.Date.now()};function Xv(Un,Xo){if(typeof Xo!="function")throw new Xl(Rn);return Un=Di(Un),function(){if(--Un<1)return Xo.apply(this,arguments)}}function Yp(Un,Xo,na){return Xo=na?_n:Xo,Xo=Un&&Xo==null?Un.length:Xo,Ss(Un,nr,_n,_n,_n,_n,Xo)}function Xp(Un,Xo){var na;if(typeof Xo!="function")throw new Xl(Rn);return Un=Di(Un),function(){return--Un>0&&(na=Xo.apply(this,arguments)),Un<=1&&(Xo=_n),na}}var vf=Li(function(Un,Xo,na){var ha=Go;if(na.length){var Ca=Yl(na,Ec(vf));ha|=Zo}return Ss(Un,ha,Xo,na,Ca)}),qp=Li(function(Un,Xo,na){var ha=Go|Xn;if(na.length){var Ca=Yl(na,Ec(qp));ha|=Zo}return Ss(Xo,ha,Un,na,Ca)});function Zp(Un,Xo,na){Xo=na?_n:Xo;var ha=Ss(Un,qo,_n,_n,_n,_n,_n,Xo);return ha.placeholder=Zp.placeholder,ha}function Qp(Un,Xo,na){Xo=na?_n:Xo;var ha=Ss(Un,Jo,_n,_n,_n,_n,_n,Xo);return ha.placeholder=Qp.placeholder,ha}function Jp(Un,Xo,na){var ha,Ca,Va,Ka,Ga,Ja,li=0,si=!1,pi=!1,vi=!0;if(typeof Un!="function")throw new Xl(Rn);Xo=es(Xo)||0,ol(na)&&(si=!!na.leading,pi="maxWait"in na,Va=pi?pl(es(na.maxWait)||0,Xo):Va,vi="trailing"in na?!!na.trailing:vi);function xi(cl){var as=ha,Ts=Ca;return ha=Ca=_n,li=cl,Ka=Un.apply(Ts,as),Ka}function Ii(cl){return li=cl,Ga=lu(Fi,Xo),si?xi(cl):Ka}function ki(cl){var as=cl-Ja,Ts=cl-li,yg=Xo-as;return pi?wl(yg,Va-Ts):yg}function Oi(cl){var as=cl-Ja,Ts=cl-li;return Ja===_n||as>=Xo||as<0||pi&&Ts>=Va}function Fi(){var cl=od();if(Oi(cl))return Hi(cl);Ga=lu(Fi,ki(cl))}function Hi(cl){return Ga=_n,vi&&ha?xi(cl):(ha=Ca=_n,Ka)}function Wl(){Ga!==_n&&cp(Ga),li=0,ha=Ja=Ca=Ga=_n}function Nl(){return Ga===_n?Ka:Hi(od())}function Kl(){var cl=od(),as=Oi(cl);if(ha=arguments,Ca=this,Ja=cl,as){if(Ga===_n)return Ii(Ja);if(pi)return cp(Ga),Ga=lu(Fi,Xo),xi(Ja)}return Ga===_n&&(Ga=lu(Fi,Xo)),Ka}return Kl.cancel=Wl,Kl.flush=Nl,Kl}var qv=Li(function(Un,Xo){return Hf(Un,1,Xo)}),Zv=Li(function(Un,Xo,na){return Hf(Un,es(Xo)||0,na)});function Qv(Un){return Ss(Un,oa)}function rd(Un,Xo){if(typeof Un!="function"||Xo!=null&&typeof Xo!="function")throw new Xl(Rn);var na=function(){var ha=arguments,Ca=Xo?Xo.apply(this,ha):ha[0],Va=na.cache;if(Va.has(Ca))return Va.get(Ca);var Ka=Un.apply(this,ha);return na.cache=Va.set(Ca,Ka)||Va,Ka};return na.cache=new(rd.Cache||bs),na}rd.Cache=bs;function ad(Un){if(typeof Un!="function")throw new Xl(Rn);return function(){var Xo=arguments;switch(Xo.length){case 0:return!Un.call(this);case 1:return!Un.call(this,Xo[0]);case 2:return!Un.call(this,Xo[0],Xo[1]);case 3:return!Un.call(this,Xo[0],Xo[1],Xo[2])}return!Un.apply(this,Xo)}}function Jv(Un){return Xp(2,Un)}var e0=Bm(function(Un,Xo){Xo=Xo.length==1&&Mi(Xo[0])?tl(Xo[0],xl(Pi())):tl(Sl(Xo,1),xl(Pi()));var na=Xo.length;return Li(function(ha){for(var Ca=-1,Va=wl(ha.length,na);++Ca<Va;)ha[Ca]=Xo[Ca].call(this,ha[Ca]);return Il(Un,this,ha)})}),yf=Li(function(Un,Xo){var na=Yl(Xo,Ec(yf));return Ss(Un,Zo,_n,Xo,na)}),eg=Li(function(Un,Xo){var na=Yl(Xo,Ec(eg));return Ss(Un,rr,_n,Xo,na)}),t0=Cs(function(Un,Xo){return Ss(Un,ta,_n,_n,_n,Xo)});function n0(Un,Xo){if(typeof Un!="function")throw new Xl(Rn);return Xo=Xo===_n?Xo:Di(Xo),Li(Un,Xo)}function o0(Un,Xo){if(typeof Un!="function")throw new Xl(Rn);return Xo=Xo==null?0:pl(Di(Xo),0),Li(function(na){var ha=na[Xo],Ca=Fs(na,0,Xo);return ha&&ss(Ca,ha),Il(Un,this,Ca)})}function r0(Un,Xo,na){var ha=!0,Ca=!0;if(typeof Un!="function")throw new Xl(Rn);return ol(na)&&(ha="leading"in na?!!na.leading:ha,Ca="trailing"in na?!!na.trailing:Ca),Jp(Un,Xo,{leading:ha,maxWait:Xo,trailing:Ca})}function a0(Un){return Yp(Un,1)}function i0(Un,Xo){return yf(tf(Xo),Un)}function l0(){if(!arguments.length)return[];var Un=arguments[0];return Mi(Un)?Un:[Un]}function s0(Un){return Zl(Un,Wn)}function c0(Un,Xo){return Xo=typeof Xo=="function"?Xo:_n,Zl(Un,Wn,Xo)}function u0(Un){return Zl(Un,Hn|Wn)}function d0(Un,Xo){return Xo=typeof Xo=="function"?Xo:_n,Zl(Un,Hn|Wn,Xo)}function f0(Un,Xo){return Xo==null||jf(Un,Xo,$l(Xo))}function rs(Un,Xo){return Un===Xo||Un!==Un&&Xo!==Xo}var p0=Zu(zd),g0=Zu(function(Un,Xo){return Un>=Xo}),oc=Gf(function(){return arguments}())?Gf:function(Un){return al(Un)&&Gi.call(Un,"callee")&&!Af.call(Un,"callee")},Mi=oi.isArray,m0=vu?xl(vu):xm;function kl(Un){return Un!=null&&id(Un.length)&&!ws(Un)}function sl(Un){return al(Un)&&kl(Un)}function h0(Un){return Un===!0||Un===!1||al(Un)&&Ol(Un)==La}var Bs=Eg||Of,v0=Lc?xl(Lc):wm;function y0(Un){return al(Un)&&Un.nodeType===1&&!su(Un)}function b0(Un){if(Un==null)return!0;if(kl(Un)&&(Mi(Un)||typeof Un=="string"||typeof Un.splice=="function"||Bs(Un)||Nc(Un)||oc(Un)))return!Un.length;var Xo=_l(Un);if(Xo==pa||Xo==Ya)return!Un.size;if(iu(Un))return!Ud(Un).length;for(var na in Un)if(Gi.call(Un,na))return!1;return!0}function $0(Un,Xo){return ou(Un,Xo)}function S0(Un,Xo,na){na=typeof na=="function"?na:_n;var ha=na?na(Un,Xo):_n;return ha===_n?ou(Un,Xo,_n,na):!!ha}function bf(Un){if(!al(Un))return!1;var Xo=Ol(Un);return Xo==ka||Xo==$a||typeof Un.message=="string"&&typeof Un.name=="string"&&!su(Un)}function C0(Un){return typeof Un=="number"&&Df(Un)}function ws(Un){if(!ol(Un))return!1;var Xo=Ol(Un);return Xo==Ha||Xo==da||Xo==wa||Xo==za}function tg(Un){return typeof Un=="number"&&Un==Di(Un)}function id(Un){return typeof Un=="number"&&Un>-1&&Un%1==0&&Un<=ia}function ol(Un){var Xo=typeof Un;return Un!=null&&(Xo=="object"||Xo=="function")}function al(Un){return Un!=null&&typeof Un=="object"}var ng=yu?xl(yu):Tm;function x0(Un,Xo){return Un===Xo||Kd(Un,Xo,cf(Xo))}function w0(Un,Xo,na){return na=typeof na=="function"?na:_n,Kd(Un,Xo,cf(Xo),na)}function _0(Un){return og(Un)&&Un!=+Un}function T0(Un){if(ch(Un))throw new Ai(Nn);return Yf(Un)}function P0(Un){return Un===null}function I0(Un){return Un==null}function og(Un){return typeof Un=="number"||al(Un)&&Ol(Un)==Sa}function su(Un){if(!al(Un)||Ol(Un)!=Ra)return!1;var Xo=Au(Un);if(Xo===null)return!0;var na=Gi.call(Xo,"constructor")&&Xo.constructor;return typeof na=="function"&&na instanceof na&&Ou.call(na)==wg}var $f=bu?xl(bu):Pm;function O0(Un){return tg(Un)&&Un>=-ia&&Un<=ia}var rg=Vc?xl(Vc):Im;function ld(Un){return typeof Un=="string"||!Mi(Un)&&al(Un)&&Ol(Un)==ja}function zl(Un){return typeof Un=="symbol"||al(Un)&&Ol(Un)==qa}var Nc=$u?xl($u):Om;function E0(Un){return Un===_n}function N0(Un){return al(Un)&&_l(Un)==Oa}function R0(Un){return al(Un)&&Ol(Un)==Ma}var A0=Zu(Gd),M0=Zu(function(Un,Xo){return Un<=Xo});function ag(Un){if(!Un)return[];if(kl(Un))return ld(Un)?ai(Un):Dl(Un);if(Xc&&Un[Xc])return Ba(Un[Xc]());var Xo=_l(Un),na=Xo==pa?_i:Xo==Ya?vs:Rc;return na(Un)}function _s(Un){if(!Un)return Un===0?Un:0;if(Un=es(Un),Un===sa||Un===-sa){var Xo=Un<0?-1:1;return Xo*fa}return Un===Un?Un:0}function Di(Un){var Xo=_s(Un),na=Xo%1;return Xo===Xo?na?Xo-na:Xo:0}function ig(Un){return Un?Js(Di(Un),0,ya):0}function es(Un){if(typeof Un=="number")return Un;if(zl(Un))return ma;if(ol(Un)){var Xo=typeof Un.valueOf=="function"?Un.valueOf():Un;Un=ol(Xo)?Xo+"":Xo}if(typeof Un!="string")return Un===0?Un:+Un;Un=Gc(Un);var na=zi.test(Un);return na||Cl.test(Un)?_d(Un.slice(2),na?2:8):hl.test(Un)?ma:+Un}function lg(Un){return ds(Un,Ll(Un))}function D0(Un){return Un?Js(Di(Un),-ia,ia):Un===0?Un:0}function Ui(Un){return Un==null?"":Hl(Un)}var k0=Ic(function(Un,Xo){if(iu(Xo)||kl(Xo)){ds(Xo,$l(Xo),Un);return}for(var na in Xo)Gi.call(Xo,na)&&eu(Un,na,Xo[na])}),sg=Ic(function(Un,Xo){ds(Xo,Ll(Xo),Un)}),sd=Ic(function(Un,Xo,na,ha){ds(Xo,Ll(Xo),Un,ha)}),L0=Ic(function(Un,Xo,na,ha){ds(Xo,$l(Xo),Un,ha)}),V0=Cs(Bd);function F0(Un,Xo){var na=Pc(Un);return Xo==null?na:Bf(na,Xo)}var B0=Li(function(Un,Xo){Un=qi(Un);var na=-1,ha=Xo.length,Ca=ha>2?Xo[2]:_n;for(Ca&&El(Xo[0],Xo[1],Ca)&&(ha=1);++na<ha;)for(var Va=Xo[na],Ka=Ll(Va),Ga=-1,Ja=Ka.length;++Ga<Ja;){var li=Ka[Ga],si=Un[li];(si===_n||rs(si,wc[li])&&!Gi.call(Un,li))&&(Un[li]=Va[li])}return Un}),j0=Li(function(Un){return Un.push(_n,_p),Il(cg,_n,Un)});function H0(Un,Xo){return jc(Un,Pi(Xo,3),us)}function z0(Un,Xo){return jc(Un,Pi(Xo,3),Hd)}function W0(Un,Xo){return Un==null?Un:jd(Un,Pi(Xo,3),Ll)}function K0(Un,Xo){return Un==null?Un:Kf(Un,Pi(Xo,3),Ll)}function U0(Un,Xo){return Un&&us(Un,Pi(Xo,3))}function G0(Un,Xo){return Un&&Hd(Un,Pi(Xo,3))}function Y0(Un){return Un==null?[]:zu(Un,$l(Un))}function X0(Un){return Un==null?[]:zu(Un,Ll(Un))}function Sf(Un,Xo,na){var ha=Un==null?_n:ec(Un,Xo);return ha===_n?na:ha}function q0(Un,Xo){return Un!=null&&Ip(Un,Xo,bm)}function Cf(Un,Xo){return Un!=null&&Ip(Un,Xo,$m)}var Z0=$p(function(Un,Xo,na){Xo!=null&&typeof Xo.toString!="function"&&(Xo=Eu.call(Xo)),Un[Xo]=na},wf(Vl)),Q0=$p(function(Un,Xo,na){Xo!=null&&typeof Xo.toString!="function"&&(Xo=Eu.call(Xo)),Gi.call(Un,Xo)?Un[Xo].push(na):Un[Xo]=[na]},Pi),J0=Li(nu);function $l(Un){return kl(Un)?Vf(Un):Ud(Un)}function Ll(Un){return kl(Un)?Vf(Un,!0):Em(Un)}function e1(Un,Xo){var na={};return Xo=Pi(Xo,3),us(Un,function(ha,Ca,Va){$s(na,Xo(ha,Ca,Va),ha)}),na}function t1(Un,Xo){var na={};return Xo=Pi(Xo,3),us(Un,function(ha,Ca,Va){$s(na,Ca,Xo(ha,Ca,Va))}),na}var n1=Ic(function(Un,Xo,na){Wu(Un,Xo,na)}),cg=Ic(function(Un,Xo,na,ha){Wu(Un,Xo,na,ha)}),o1=Cs(function(Un,Xo){var na={};if(Un==null)return na;var ha=!1;Xo=tl(Xo,function(Va){return Va=Vs(Va,Un),ha||(ha=Va.length>1),Va}),ds(Un,lf(Un),na),ha&&(na=Zl(na,Hn|zn|Wn,Zm));for(var Ca=Xo.length;Ca--;)Qd(na,Xo[Ca]);return na});function r1(Un,Xo){return ug(Un,ad(Pi(Xo)))}var a1=Cs(function(Un,Xo){return Un==null?{}:Rm(Un,Xo)});function ug(Un,Xo){if(Un==null)return{};var na=tl(lf(Un),function(ha){return[ha]});return Xo=Pi(Xo),tp(Un,na,function(ha,Ca){return Xo(ha,Ca[0])})}function i1(Un,Xo,na){Xo=Vs(Xo,Un);var ha=-1,Ca=Xo.length;for(Ca||(Ca=1,Un=_n);++ha<Ca;){var Va=Un==null?_n:Un[fs(Xo[ha])];Va===_n&&(ha=Ca,Va=na),Un=ws(Va)?Va.call(Un):Va}return Un}function l1(Un,Xo,na){return Un==null?Un:ru(Un,Xo,na)}function s1(Un,Xo,na,ha){return ha=typeof ha=="function"?ha:_n,Un==null?Un:ru(Un,Xo,na,ha)}var dg=xp($l),fg=xp(Ll);function c1(Un,Xo,na){var ha=Mi(Un),Ca=ha||Bs(Un)||Nc(Un);if(Xo=Pi(Xo,4),na==null){var Va=Un&&Un.constructor;Ca?na=ha?new Va:[]:ol(Un)?na=ws(Va)?Pc(Au(Un)):{}:na={}}return(Ca?Ml:us)(Un,function(Ka,Ga,Ja){return Xo(na,Ka,Ga,Ja)}),na}function u1(Un,Xo){return Un==null?!0:Qd(Un,Xo)}function d1(Un,Xo,na){return Un==null?Un:ip(Un,Xo,tf(na))}function f1(Un,Xo,na,ha){return ha=typeof ha=="function"?ha:_n,Un==null?Un:ip(Un,Xo,tf(na),ha)}function Rc(Un){return Un==null?[]:bc(Un,$l(Un))}function p1(Un){return Un==null?[]:bc(Un,Ll(Un))}function g1(Un,Xo,na){return na===_n&&(na=Xo,Xo=_n),na!==_n&&(na=es(na),na=na===na?na:0),Xo!==_n&&(Xo=es(Xo),Xo=Xo===Xo?Xo:0),Js(es(Un),Xo,na)}function m1(Un,Xo,na){return Xo=_s(Xo),na===_n?(na=Xo,Xo=0):na=_s(na),Un=es(Un),Sm(Un,Xo,na)}function h1(Un,Xo,na){if(na&&typeof na!="boolean"&&El(Un,Xo,na)&&(Xo=na=_n),na===_n&&(typeof Xo=="boolean"?(na=Xo,Xo=_n):typeof Un=="boolean"&&(na=Un,Un=_n)),Un===_n&&Xo===_n?(Un=0,Xo=1):(Un=_s(Un),Xo===_n?(Xo=Un,Un=0):Xo=_s(Xo)),Un>Xo){var ha=Un;Un=Xo,Xo=ha}if(na||Un%1||Xo%1){var Ca=kf();return wl(Un+Ca*(Xo-Un+wd("1e-"+((Ca+"").length-1))),Xo)}return Xd(Un,Xo)}var v1=Oc(function(Un,Xo,na){return Xo=Xo.toLowerCase(),Un+(na?pg(Xo):Xo)});function pg(Un){return xf(Ui(Un).toLowerCase())}function gg(Un){return Un=Ui(Un),Un&&Un.replace(Bl,Sc).replace(hd,"")}function y1(Un,Xo,na){Un=Ui(Un),Xo=Hl(Xo);var ha=Un.length;na=na===_n?ha:Js(Di(na),0,ha);var Ca=na;return na-=Xo.length,na>=0&&Un.slice(na,Ca)==Xo}function b1(Un){return Un=Ui(Un),Un&&Qi.test(Un)?Un.replace(Ri,Rd):Un}function $1(Un){return Un=Ui(Un),Un&&ts.test(Un)?Un.replace(ul,"\\$&"):Un}var S1=Oc(function(Un,Xo,na){return Un+(na?"-":"")+Xo.toLowerCase()}),C1=Oc(function(Un,Xo,na){return Un+(na?" ":"")+Xo.toLowerCase()}),x1=vp("toLowerCase");function w1(Un,Xo,na){Un=Ui(Un),Xo=Di(Xo);var ha=Xo?Pa(Un):0;if(!Xo||ha>=Xo)return Un;var Ca=(Xo-ha)/2;return qu(Lu(Ca),na)+Un+qu(ku(Ca),na)}function _1(Un,Xo,na){Un=Ui(Un),Xo=Di(Xo);var ha=Xo?Pa(Un):0;return Xo&&ha<Xo?Un+qu(Xo-ha,na):Un}function T1(Un,Xo,na){Un=Ui(Un),Xo=Di(Xo);var ha=Xo?Pa(Un):0;return Xo&&ha<Xo?qu(Xo-ha,na)+Un:Un}function P1(Un,Xo,na){return na||Xo==null?Xo=0:Xo&&(Xo=+Xo),Mg(Ui(Un).replace(ci,""),Xo||0)}function I1(Un,Xo,na){return(na?El(Un,Xo,na):Xo===_n)?Xo=1:Xo=Di(Xo),qd(Ui(Un),Xo)}function O1(){var Un=arguments,Xo=Ui(Un[0]);return Un.length<3?Xo:Xo.replace(Un[1],Un[2])}var E1=Oc(function(Un,Xo,na){return Un+(na?"_":"")+Xo.toLowerCase()});function N1(Un,Xo,na){return na&&typeof na!="number"&&El(Un,Xo,na)&&(Xo=na=_n),na=na===_n?ya:na>>>0,na?(Un=Ui(Un),Un&&(typeof Xo=="string"||Xo!=null&&!$f(Xo))&&(Xo=Hl(Xo),!Xo&&As(Un))?Fs(ai(Un),0,na):Un.split(Xo,na)):[]}var R1=Oc(function(Un,Xo,na){return Un+(na?" ":"")+xf(Xo)});function A1(Un,Xo,na){return Un=Ui(Un),na=na==null?0:Js(Di(na),0,Un.length),Xo=Hl(Xo),Un.slice(na,na+Xo.length)==Xo}function M1(Un,Xo,na){var ha=Da.templateSettings;na&&El(Un,Xo,na)&&(Xo=_n),Un=Ui(Un),Xo=sd({},Xo,ha,wp);var Ca=sd({},Xo.imports,ha.imports,wp),Va=$l(Ca),Ka=bc(Ca,Va),Ga,Ja,li=0,si=Xo.interpolate||vl,pi="__p += '",vi=Dd((Xo.escape||vl).source+"|"+si.source+"|"+(si===rl?Rl:vl).source+"|"+(Xo.evaluate||vl).source+"|$","g"),xi="//# sourceURL="+(Gi.call(Xo,"sourceURL")?(Xo.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Sd+"]")+`
-`;Un.replace(vi,function(Oi,Fi,Hi,Wl,Nl,Kl){return Hi||(Hi=Wl),pi+=Un.slice(li,Kl).replace(ns,Tu),Fi&&(Ga=!0,pi+=`' +
-__e(`+Fi+`) +
-'`),Nl&&(Ja=!0,pi+=`';
-`+Nl+`;
-__p += '`),Hi&&(pi+=`' +
-((__t = (`+Hi+`)) == null ? '' : __t) +
-'`),li=Kl+Oi.length,Oi}),pi+=`';
-`;var Ii=Gi.call(Xo,"variable")&&Xo.variable;if(!Ii)pi=`with (obj) {
-`+pi+`
-}
-`;else if(gl.test(Ii))throw new Ai(Dn);pi=(Ja?pi.replace(wi,""):pi).replace(Ti,"$1").replace(Ei,"$1;"),pi="function("+(Ii||"obj")+`) {
-`+(Ii?"":`obj || (obj = {});
-`)+"var __t, __p = ''"+(Ga?", __e = _.escape":"")+(Ja?`, __j = Array.prototype.join;
-function print() { __p += __j.call(arguments, '') }
-`:`;
-`)+pi+`return __p
-}`;var ki=hg(function(){return Ki(Va,xi+"return "+pi).apply(_n,Ka)});if(ki.source=pi,bf(ki))throw ki;return ki}function D1(Un){return Ui(Un).toLowerCase()}function k1(Un){return Ui(Un).toUpperCase()}function L1(Un,Xo,na){if(Un=Ui(Un),Un&&(na||Xo===_n))return Gc(Un);if(!Un||!(Xo=Hl(Xo)))return Un;var ha=ai(Un),Ca=ai(Xo),Va=Yc(ha,Ca),Ka=_u(ha,Ca)+1;return Fs(ha,Va,Ka).join("")}function V1(Un,Xo,na){if(Un=Ui(Un),Un&&(na||Xo===_n))return Un.slice(0,$i(Un)+1);if(!Un||!(Xo=Hl(Xo)))return Un;var ha=ai(Un),Ca=_u(ha,ai(Xo))+1;return Fs(ha,0,Ca).join("")}function F1(Un,Xo,na){if(Un=Ui(Un),Un&&(na||Xo===_n))return Un.replace(ci,"");if(!Un||!(Xo=Hl(Xo)))return Un;var ha=ai(Un),Ca=Yc(ha,ai(Xo));return Fs(ha,Ca).join("")}function B1(Un,Xo){var na=ra,ha=ea;if(ol(Xo)){var Ca="separator"in Xo?Xo.separator:Ca;na="length"in Xo?Di(Xo.length):na,ha="omission"in Xo?Hl(Xo.omission):ha}Un=Ui(Un);var Va=Un.length;if(As(Un)){var Ka=ai(Un);Va=Ka.length}if(na>=Va)return Un;var Ga=na-Pa(ha);if(Ga<1)return ha;var Ja=Ka?Fs(Ka,0,Ga).join(""):Un.slice(0,Ga);if(Ca===_n)return Ja+ha;if(Ka&&(Ga+=Ja.length-Ga),$f(Ca)){if(Un.slice(Ga).search(Ca)){var li,si=Ja;for(Ca.global||(Ca=Dd(Ca.source,Ui(ml.exec(Ca))+"g")),Ca.lastIndex=0;li=Ca.exec(si);)var pi=li.index;Ja=Ja.slice(0,pi===_n?Ga:pi)}}else if(Un.indexOf(Hl(Ca),Ga)!=Ga){var vi=Ja.lastIndexOf(Ca);vi>-1&&(Ja=Ja.slice(0,vi))}return Ja+ha}function j1(Un){return Un=Ui(Un),Un&&Zi.test(Un)?Un.replace(Ni,Vi):Un}var H1=Oc(function(Un,Xo,na){return Un+(na?" ":"")+Xo.toUpperCase()}),xf=vp("toUpperCase");function mg(Un,Xo,na){return Un=Ui(Un),Xo=na?_n:Xo,Xo===_n?Md(Un)?bg(Un):Ed(Un):Un.match(Xo)||[]}var hg=Li(function(Un,Xo){try{return Il(Un,_n,Xo)}catch(na){return bf(na)?na:new Ai(na)}}),z1=Cs(function(Un,Xo){return Ml(Xo,function(na){na=fs(na),$s(Un,na,vf(Un[na],Un))}),Un});function W1(Un){var Xo=Un==null?0:Un.length,na=Pi();return Un=Xo?tl(Un,function(ha){if(typeof ha[1]!="function")throw new Xl(Rn);return[na(ha[0]),ha[1]]}):[],Li(function(ha){for(var Ca=-1;++Ca<Xo;){var Va=Un[Ca];if(Il(Va[0],this,ha))return Il(Va[1],this,ha)}})}function K1(Un){return hm(Zl(Un,Hn))}function wf(Un){return function(){return Un}}function U1(Un,Xo){return Un==null||Un!==Un?Xo:Un}var G1=bp(),Y1=bp(!0);function Vl(Un){return Un}function _f(Un){return Xf(typeof Un=="function"?Un:Zl(Un,Hn))}function X1(Un){return Zf(Zl(Un,Hn))}function q1(Un,Xo){return Qf(Un,Zl(Xo,Hn))}var Z1=Li(function(Un,Xo){return function(na){return nu(na,Un,Xo)}}),Q1=Li(function(Un,Xo){return function(na){return nu(Un,na,Xo)}});function Tf(Un,Xo,na){var ha=$l(Xo),Ca=zu(Xo,ha);na==null&&!(ol(Xo)&&(Ca.length||!ha.length))&&(na=Xo,Xo=Un,Un=this,Ca=zu(Xo,$l(Xo)));var Va=!(ol(na)&&"chain"in na)||!!na.chain,Ka=ws(Un);return Ml(Ca,function(Ga){var Ja=Xo[Ga];Un[Ga]=Ja,Ka&&(Un.prototype[Ga]=function(){var li=this.__chain__;if(Va||li){var si=Un(this.__wrapped__),pi=si.__actions__=Dl(this.__actions__);return pi.push({func:Ja,args:arguments,thisArg:Un}),si.__chain__=li,si}return Ja.apply(Un,ss([this.value()],arguments))})}),Un}function J1(){return dl._===this&&(dl._=_g),this}function Pf(){}function ey(Un){return Un=Di(Un),Li(function(Xo){return Jf(Xo,Un)})}var ty=of(tl),ny=of(Fc),oy=of(Bc);function vg(Un){return df(Un)?zc(fs(Un)):Am(Un)}function ry(Un){return function(Xo){return Un==null?_n:ec(Un,Xo)}}var ay=Sp(),iy=Sp(!0);function If(){return[]}function Of(){return!1}function ly(){return{}}function sy(){return""}function cy(){return!0}function uy(Un,Xo){if(Un=Di(Un),Un<1||Un>ia)return[];var na=ya,ha=wl(Un,ya);Xo=Pi(Xo),Un-=ya;for(var Ca=Uc(ha,Xo);++na<Un;)Xo(na);return Ca}function dy(Un){return Mi(Un)?tl(Un,fs):zl(Un)?[Un]:Dl(Lp(Ui(Un)))}function fy(Un){var Xo=++xg;return Ui(Un)+Xo}var py=Xu(function(Un,Xo){return Un+Xo},0),gy=rf("ceil"),my=Xu(function(Un,Xo){return Un/Xo},1),hy=rf("floor");function vy(Un){return Un&&Un.length?Hu(Un,Vl,zd):_n}function yy(Un,Xo){return Un&&Un.length?Hu(Un,Pi(Xo,2),zd):_n}function by(Un){return Hc(Un,Vl)}function $y(Un,Xo){return Hc(Un,Pi(Xo,2))}function Sy(Un){return Un&&Un.length?Hu(Un,Vl,Gd):_n}function Cy(Un,Xo){return Un&&Un.length?Hu(Un,Pi(Xo,2),Gd):_n}var xy=Xu(function(Un,Xo){return Un*Xo},1),wy=rf("round"),_y=Xu(function(Un,Xo){return Un-Xo},0);function Ty(Un){return Un&&Un.length?Kc(Un,Vl):0}function Py(Un,Xo){return Un&&Un.length?Kc(Un,Pi(Xo,2)):0}return Da.after=Xv,Da.ary=Yp,Da.assign=k0,Da.assignIn=sg,Da.assignInWith=sd,Da.assignWith=L0,Da.at=V0,Da.before=Xp,Da.bind=vf,Da.bindAll=z1,Da.bindKey=qp,Da.castArray=l0,Da.chain=Kp,Da.chunk=hh,Da.compact=vh,Da.concat=yh,Da.cond=W1,Da.conforms=K1,Da.constant=wf,Da.countBy=Tv,Da.create=F0,Da.curry=Zp,Da.curryRight=Qp,Da.debounce=Jp,Da.defaults=B0,Da.defaultsDeep=j0,Da.defer=qv,Da.delay=Zv,Da.difference=bh,Da.differenceBy=$h,Da.differenceWith=Sh,Da.drop=Ch,Da.dropRight=xh,Da.dropRightWhile=wh,Da.dropWhile=_h,Da.fill=Th,Da.filter=Iv,Da.flatMap=Nv,Da.flatMapDeep=Rv,Da.flatMapDepth=Av,Da.flatten=jp,Da.flattenDeep=Ph,Da.flattenDepth=Ih,Da.flip=Qv,Da.flow=G1,Da.flowRight=Y1,Da.fromPairs=Oh,Da.functions=Y0,Da.functionsIn=X0,Da.groupBy=Mv,Da.initial=Nh,Da.intersection=Rh,Da.intersectionBy=Ah,Da.intersectionWith=Mh,Da.invert=Z0,Da.invertBy=Q0,Da.invokeMap=kv,Da.iteratee=_f,Da.keyBy=Lv,Da.keys=$l,Da.keysIn=Ll,Da.map=nd,Da.mapKeys=e1,Da.mapValues=t1,Da.matches=X1,Da.matchesProperty=q1,Da.memoize=rd,Da.merge=n1,Da.mergeWith=cg,Da.method=Z1,Da.methodOf=Q1,Da.mixin=Tf,Da.negate=ad,Da.nthArg=ey,Da.omit=o1,Da.omitBy=r1,Da.once=Jv,Da.orderBy=Vv,Da.over=ty,Da.overArgs=e0,Da.overEvery=ny,Da.overSome=oy,Da.partial=yf,Da.partialRight=eg,Da.partition=Fv,Da.pick=a1,Da.pickBy=ug,Da.property=vg,Da.propertyOf=ry,Da.pull=Vh,Da.pullAll=zp,Da.pullAllBy=Fh,Da.pullAllWith=Bh,Da.pullAt=jh,Da.range=ay,Da.rangeRight=iy,Da.rearg=t0,Da.reject=Hv,Da.remove=Hh,Da.rest=n0,Da.reverse=mf,Da.sampleSize=Wv,Da.set=l1,Da.setWith=s1,Da.shuffle=Kv,Da.slice=zh,Da.sortBy=Yv,Da.sortedUniq=qh,Da.sortedUniqBy=Zh,Da.split=N1,Da.spread=o0,Da.tail=Qh,Da.take=Jh,Da.takeRight=ev,Da.takeRightWhile=tv,Da.takeWhile=nv,Da.tap=vv,Da.throttle=r0,Da.thru=td,Da.toArray=ag,Da.toPairs=dg,Da.toPairsIn=fg,Da.toPath=dy,Da.toPlainObject=lg,Da.transform=c1,Da.unary=a0,Da.union=ov,Da.unionBy=rv,Da.unionWith=av,Da.uniq=iv,Da.uniqBy=lv,Da.uniqWith=sv,Da.unset=u1,Da.unzip=hf,Da.unzipWith=Wp,Da.update=d1,Da.updateWith=f1,Da.values=Rc,Da.valuesIn=p1,Da.without=cv,Da.words=mg,Da.wrap=i0,Da.xor=uv,Da.xorBy=dv,Da.xorWith=fv,Da.zip=pv,Da.zipObject=gv,Da.zipObjectDeep=mv,Da.zipWith=hv,Da.entries=dg,Da.entriesIn=fg,Da.extend=sg,Da.extendWith=sd,Tf(Da,Da),Da.add=py,Da.attempt=hg,Da.camelCase=v1,Da.capitalize=pg,Da.ceil=gy,Da.clamp=g1,Da.clone=s0,Da.cloneDeep=u0,Da.cloneDeepWith=d0,Da.cloneWith=c0,Da.conformsTo=f0,Da.deburr=gg,Da.defaultTo=U1,Da.divide=my,Da.endsWith=y1,Da.eq=rs,Da.escape=b1,Da.escapeRegExp=$1,Da.every=Pv,Da.find=Ov,Da.findIndex=Fp,Da.findKey=H0,Da.findLast=Ev,Da.findLastIndex=Bp,Da.findLastKey=z0,Da.floor=hy,Da.forEach=Up,Da.forEachRight=Gp,Da.forIn=W0,Da.forInRight=K0,Da.forOwn=U0,Da.forOwnRight=G0,Da.get=Sf,Da.gt=p0,Da.gte=g0,Da.has=q0,Da.hasIn=Cf,Da.head=Hp,Da.identity=Vl,Da.includes=Dv,Da.indexOf=Eh,Da.inRange=m1,Da.invoke=J0,Da.isArguments=oc,Da.isArray=Mi,Da.isArrayBuffer=m0,Da.isArrayLike=kl,Da.isArrayLikeObject=sl,Da.isBoolean=h0,Da.isBuffer=Bs,Da.isDate=v0,Da.isElement=y0,Da.isEmpty=b0,Da.isEqual=$0,Da.isEqualWith=S0,Da.isError=bf,Da.isFinite=C0,Da.isFunction=ws,Da.isInteger=tg,Da.isLength=id,Da.isMap=ng,Da.isMatch=x0,Da.isMatchWith=w0,Da.isNaN=_0,Da.isNative=T0,Da.isNil=I0,Da.isNull=P0,Da.isNumber=og,Da.isObject=ol,Da.isObjectLike=al,Da.isPlainObject=su,Da.isRegExp=$f,Da.isSafeInteger=O0,Da.isSet=rg,Da.isString=ld,Da.isSymbol=zl,Da.isTypedArray=Nc,Da.isUndefined=E0,Da.isWeakMap=N0,Da.isWeakSet=R0,Da.join=Dh,Da.kebabCase=S1,Da.last=Jl,Da.lastIndexOf=kh,Da.lowerCase=C1,Da.lowerFirst=x1,Da.lt=A0,Da.lte=M0,Da.max=vy,Da.maxBy=yy,Da.mean=by,Da.meanBy=$y,Da.min=Sy,Da.minBy=Cy,Da.stubArray=If,Da.stubFalse=Of,Da.stubObject=ly,Da.stubString=sy,Da.stubTrue=cy,Da.multiply=xy,Da.nth=Lh,Da.noConflict=J1,Da.noop=Pf,Da.now=od,Da.pad=w1,Da.padEnd=_1,Da.padStart=T1,Da.parseInt=P1,Da.random=h1,Da.reduce=Bv,Da.reduceRight=jv,Da.repeat=I1,Da.replace=O1,Da.result=i1,Da.round=wy,Da.runInContext=Za,Da.sample=zv,Da.size=Uv,Da.snakeCase=E1,Da.some=Gv,Da.sortedIndex=Wh,Da.sortedIndexBy=Kh,Da.sortedIndexOf=Uh,Da.sortedLastIndex=Gh,Da.sortedLastIndexBy=Yh,Da.sortedLastIndexOf=Xh,Da.startCase=R1,Da.startsWith=A1,Da.subtract=_y,Da.sum=Ty,Da.sumBy=Py,Da.template=M1,Da.times=uy,Da.toFinite=_s,Da.toInteger=Di,Da.toLength=ig,Da.toLower=D1,Da.toNumber=es,Da.toSafeInteger=D0,Da.toString=Ui,Da.toUpper=k1,Da.trim=L1,Da.trimEnd=V1,Da.trimStart=F1,Da.truncate=B1,Da.unescape=j1,Da.uniqueId=fy,Da.upperCase=H1,Da.upperFirst=xf,Da.each=Up,Da.eachRight=Gp,Da.first=Hp,Tf(Da,function(){var Un={};return us(Da,function(Xo,na){Gi.call(Da.prototype,na)||(Un[na]=Xo)}),Un}(),{chain:!1}),Da.VERSION=Pn,Ml(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Un){Da[Un].placeholder=Da}),Ml(["drop","take"],function(Un,Xo){ji.prototype[Un]=function(na){na=na===_n?1:pl(Di(na),0);var ha=this.__filtered__&&!Xo?new ji(this):this.clone();return ha.__filtered__?ha.__takeCount__=wl(na,ha.__takeCount__):ha.__views__.push({size:wl(na,ya),type:Un+(ha.__dir__<0?"Right":"")}),ha},ji.prototype[Un+"Right"]=function(na){return this.reverse()[Un](na).reverse()}}),Ml(["filter","map","takeWhile"],function(Un,Xo){var na=Xo+1,ha=na==ga||na==ca;ji.prototype[Un]=function(Ca){var Va=this.clone();return Va.__iteratees__.push({iteratee:Pi(Ca,3),type:na}),Va.__filtered__=Va.__filtered__||ha,Va}}),Ml(["head","last"],function(Un,Xo){var na="take"+(Xo?"Right":"");ji.prototype[Un]=function(){return this[na](1).value()[0]}}),Ml(["initial","tail"],function(Un,Xo){var na="drop"+(Xo?"":"Right");ji.prototype[Un]=function(){return this.__filtered__?new ji(this):this[na](1)}}),ji.prototype.compact=function(){return this.filter(Vl)},ji.prototype.find=function(Un){return this.filter(Un).head()},ji.prototype.findLast=function(Un){return this.reverse().find(Un)},ji.prototype.invokeMap=Li(function(Un,Xo){return typeof Un=="function"?new ji(this):this.map(function(na){return nu(na,Un,Xo)})}),ji.prototype.reject=function(Un){return this.filter(ad(Pi(Un)))},ji.prototype.slice=function(Un,Xo){Un=Di(Un);var na=this;return na.__filtered__&&(Un>0||Xo<0)?new ji(na):(Un<0?na=na.takeRight(-Un):Un&&(na=na.drop(Un)),Xo!==_n&&(Xo=Di(Xo),na=Xo<0?na.dropRight(-Xo):na.take(Xo-Un)),na)},ji.prototype.takeRightWhile=function(Un){return this.reverse().takeWhile(Un).reverse()},ji.prototype.toArray=function(){return this.take(ya)},us(ji.prototype,function(Un,Xo){var na=/^(?:filter|find|map|reject)|While$/.test(Xo),ha=/^(?:head|last)$/.test(Xo),Ca=Da[ha?"take"+(Xo=="last"?"Right":""):Xo],Va=ha||/^find/.test(Xo);Ca&&(Da.prototype[Xo]=function(){var Ka=this.__wrapped__,Ga=ha?[1]:arguments,Ja=Ka instanceof ji,li=Ga[0],si=Ja||Mi(Ka),pi=function(Fi){var Hi=Ca.apply(Da,ss([Fi],Ga));return ha&&vi?Hi[0]:Hi};si&&na&&typeof li=="function"&&li.length!=1&&(Ja=si=!1);var vi=this.__chain__,xi=!!this.__actions__.length,Ii=Va&&!vi,ki=Ja&&!xi;if(!Va&&si){Ka=ki?Ka:new ji(this);var Oi=Un.apply(Ka,Ga);return Oi.__actions__.push({func:td,args:[pi],thisArg:_n}),new ql(Oi,vi)}return Ii&&ki?Un.apply(this,Ga):(Oi=this.thru(pi),Ii?ha?Oi.value()[0]:Oi.value():Oi)})}),Ml(["pop","push","shift","sort","splice","unshift"],function(Un){var Xo=Pu[Un],na=/^(?:push|sort|unshift)$/.test(Un)?"tap":"thru",ha=/^(?:pop|shift)$/.test(Un);Da.prototype[Un]=function(){var Ca=arguments;if(ha&&!this.__chain__){var Va=this.value();return Xo.apply(Mi(Va)?Va:[],Ca)}return this[na](function(Ka){return Xo.apply(Mi(Ka)?Ka:[],Ca)})}}),us(ji.prototype,function(Un,Xo){var na=Da[Xo];if(na){var ha=na.name+"";Gi.call(Tc,ha)||(Tc[ha]=[]),Tc[ha].push({name:Xo,func:na})}}),Tc[Yu(_n,Xn).name]=[{name:"wrapper",func:_n}],ji.prototype.clone=jg,ji.prototype.reverse=Hg,ji.prototype.value=zg,Da.prototype.at=yv,Da.prototype.chain=bv,Da.prototype.commit=$v,Da.prototype.next=Sv,Da.prototype.plant=xv,Da.prototype.reverse=wv,Da.prototype.toJSON=Da.prototype.valueOf=Da.prototype.value=_v,Da.prototype.first=Da.prototype.head,Xc&&(Da.prototype[Xc]=Cv),Da},xc=$g();hs?((hs.exports=xc)._=xc,dc._=xc):dl._=xc}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _$2=getDefaultExportFromCjs(lodashExports),PRIMARY_COLOR_DEFAULT="#17b392",LOCAL_STORAGE_LOCALE="LOCAL_STORAGE_LOCALE",LOCAL_STORAGE_THEME="LOCAL_STORAGE_THEME";let item=localStorage.getItem(LOCAL_STORAGE_THEME);const PRIMARY_COLOR=ref(item||PRIMARY_COLOR_DEFAULT),PRIMARY_COLOR_T=$n=>computed(()=>PRIMARY_COLOR.value+$n),INSTANCE_REGISTER_COLOR={HEALTHY:"green",REGISTED:"green"},TAB_HEADER_TITLE={functional:!0,props:["route"],render:($n,Cn,_n)=>{var Nn,Rn,Dn;let Pn=_n.route,In=(Rn=(Nn=Pn.meta)==null?void 0:Nn.slots)==null?void 0:Rn.header;return h$3(In)||h$3("div",(Dn=Pn.params)==null?void 0:Dn.pathId)}},INSTANCE_DEPLOY_COLOR={RUNNING:"green",PENDING:"yellow",TERMINATING:"red",CRASHING:"darkRed"},KEY_PREFIX="__PROVIDE_INJECT_KEY_",PROVIDE_INJECT_KEY={LOCALE:KEY_PREFIX+"LOCALE",GRAFANA:KEY_PREFIX+"GRAFANA",SEARCH_DOMAIN:KEY_PREFIX+"SEARCH_DOMAIN",COLLAPSED:KEY_PREFIX+"COLLAPSED",TAB_LAYOUT_STATE:KEY_PREFIX+"TAB_LAYOUT_STATE"},_hoisted_1$a={class:"__container_router_tab_index"},_hoisted_2$a={key:0,class:"header"},_hoisted_3={id:"layout-tab-body",style:{transition:"scroll-top 0.5s ease",overflow:"auto",height:"calc(100vh - 300px)","padding-bottom":"20px"}},_sfc_main$b=defineComponent({__name:"layout_tab",setup($n){useCssVars(Fn=>({"6b871b3a":unref(PRIMARY_COLOR)}));const Cn=reactive({});provide(PROVIDE_INJECT_KEY.PROVIDE_INJECT_KEY,Cn);const _n=useRouter(),Pn=useRoute();Pn.meta;const In=computed(()=>{var Bn,Hn;let Fn=Pn.meta;return(Hn=(Bn=Fn==null?void 0:Fn.parent)==null?void 0:Bn.children)==null?void 0:Hn.filter(zn=>zn.meta.tab)}),Nn=computed(()=>Pn.name+"_"+_$2.uniqueId());let Rn=ref(Pn.name),Dn=ref(!1),Ln=_$2.uniqueId("__tab_page");return _n.beforeEach((Fn,Bn,Hn)=>{Ln=_$2.uniqueId("__tab_page"),Dn.value=!0,Rn.value=Fn.name,Hn(),setTimeout(()=>{Dn.value=!1},500)}),(Fn,Bn)=>{const Hn=resolveComponent("a-col"),zn=resolveComponent("a-row"),Wn=resolveComponent("a-tab-pane"),Yn=resolveComponent("a-tabs"),Gn=resolveComponent("router-view"),Go=resolveComponent("a-spin");return openBlock(),createElementBlock("div",_hoisted_1$a,[(openBlock(),createElementBlock("div",{key:unref(Ln)},[unref(Pn).meta.tab?(openBlock(),createElementBlock("div",_hoisted_2$a,[createVNode(zn,null,{default:withCtx(()=>[createVNode(Hn,{span:1},{default:withCtx(()=>[createBaseVNode("span",{onClick:Bn[0]||(Bn[0]=Xn=>unref(_n).replace(unref(Pn).meta.back||"../")),style:{float:"left"}},[createVNode(unref(Icon),{icon:"material-symbols:keyboard-backspace-rounded",class:"back"})])]),_:1}),createVNode(Hn,{span:18},{default:withCtx(()=>[createVNode(unref(TAB_HEADER_TITLE),{route:unref(Pn)},null,8,["route"])]),_:1})]),_:1}),createVNode(Yn,{onChange:Bn[1]||(Bn[1]=Xn=>unref(_n).push({name:unref(Rn)||""})),activeKey:unref(Rn),"onUpdate:activeKey":Bn[2]||(Bn[2]=Xn=>isRef(Rn)?Rn.value=Xn:Rn=Xn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(In.value.filter(Xn=>!Xn.meta.hidden),Xn=>(openBlock(),createBlock(Wn,{key:Xn.name},{tab:withCtx(()=>[createBaseVNode("span",null,[createVNode(unref(Icon),{style:{"margin-bottom":"-2px"},icon:Xn.meta.icon},null,8,["icon"]),createTextVNode(" "+toDisplayString$1(Fn.$t(Xn.name)),1)])]),_:2},1024))),128))]),_:1},8,["activeKey"])])):createCommentVNode("",!0),createVNode(Go,{class:"tab-spin",spinning:unref(Dn)},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3,[unref(Dn)?createCommentVNode("",!0):(openBlock(),createBlock(Gn,{key:Nn.value}))])]),_:1},8,["spinning"])]))])}}}),_export_sfc=($n,Cn)=>{const _n=$n.__vccOpts||$n;for(const[Pn,In]of Cn)_n[Pn]=In;return _n},LayoutTab=_export_sfc(_sfc_main$b,[["__scopeId","data-v-e3c1cda1"]]),_hoisted_1$9={class:"__container_AppTabHeaderSlot"},_hoisted_2$9={class:"header-desc"},_sfc_main$a=defineComponent({__name:"AppTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$9,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$9,toDisplayString$1(_n.$t("applicationDomain.name"))+": "+toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.pathId),1)]}),_:1})]),_:1})])}}}),AppTabHeaderSlot=_export_sfc(_sfc_main$a,[["__scopeId","data-v-d9202124"]]),_hoisted_1$8={class:"__container_ServiceTabHeaderSlot"},_hoisted_2$8={class:"header-desc"},_sfc_main$9=defineComponent({__name:"ServiceTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{var In;return openBlock(),createElementBlock("div",_hoisted_1$8,[createBaseVNode("span",_hoisted_2$8,toDisplayString$1(_n.$t("serviceDomain.name"))+": "+toDisplayString$1((In=unref(Cn).params)==null?void 0:In.pathId),1)])}}}),ServiceTabHeaderSlot=_export_sfc(_sfc_main$9,[["__scopeId","data-v-3de51f62"]]),_hoisted_1$7={class:"__container_AppTabHeaderSlot"},_hoisted_2$7={class:"header-desc"},_sfc_main$8=defineComponent({__name:"InstanceTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$7,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$7,toDisplayString$1(_n.$t("instanceDomain.name"))+": "+toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.pathId),1)]}),_:1})]),_:1})])}}}),InstanceTabHeaderSlot=_export_sfc(_sfc_main$8,[["__scopeId","data-v-945638c8"]]),_sfc_main$7={},_withScopeId$1=$n=>(pushScopeId("data-v-0f2e35af"),$n=$n(),popScopeId(),$n),_hoisted_1$6={class:"__container_AppTabHeaderSlot"},_hoisted_2$6=_withScopeId$1(()=>createBaseVNode("span",{class:"header-desc"}," 新增条件路由 ",-1));function _sfc_render$1($n,Cn){const _n=resolveComponent("a-col"),Pn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$6,[createVNode(Pn,null,{default:withCtx(()=>[createVNode(_n,{span:12},{default:withCtx(()=>[_hoisted_2$6]),_:1})]),_:1})])}const AddConditionRuleTabHeaderSlot=_export_sfc(_sfc_main$7,[["render",_sfc_render$1],["__scopeId","data-v-0f2e35af"]]),_hoisted_1$5={class:"__container_AppTabHeaderSlot"},_hoisted_2$5={class:"header-desc"},_sfc_main$6=defineComponent({__name:"conditionRuleDetailTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$5,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$5,toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.ruleName),1)]}),_:1})]),_:1})])}}}),ConditionRuleDetailTabHeaderSlot=_export_sfc(_sfc_main$6,[["__scopeId","data-v-8b847dc2"]]),_hoisted_1$4={class:"__container_AppTabHeaderSlot"},_hoisted_2$4={class:"header-desc"},_sfc_main$5=defineComponent({__name:"updateConditionRuleTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$4,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$4," 修改 "+toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.ruleName),1)]}),_:1})]),_:1})])}}}),UpdateConditionRuleTabHeaderSlot=_export_sfc(_sfc_main$5,[["__scopeId","data-v-9e571c17"]]),_sfc_main$4={},_withScopeId=$n=>(pushScopeId("data-v-0f780945"),$n=$n(),popScopeId(),$n),_hoisted_1$3={class:"__container_AppTabHeaderSlot"},_hoisted_2$3=_withScopeId(()=>createBaseVNode("span",{class:"header-desc"}," 新增标签路由 ",-1));function _sfc_render($n,Cn){const _n=resolveComponent("a-col"),Pn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$3,[createVNode(Pn,null,{default:withCtx(()=>[createVNode(_n,{span:12},{default:withCtx(()=>[_hoisted_2$3]),_:1})]),_:1})])}const AddTagRuleTabHeaderSlot=_export_sfc(_sfc_main$4,[["render",_sfc_render],["__scopeId","data-v-0f780945"]]),_hoisted_1$2={class:"__container_AppTabHeaderSlot"},_hoisted_2$2={class:"header-desc"},_sfc_main$3=defineComponent({__name:"tagRuleDetailTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$2,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$2,toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.ruleName),1)]}),_:1})]),_:1})])}}}),TagRuleDetailTabHeaderSlot=_export_sfc(_sfc_main$3,[["__scopeId","data-v-49f86476"]]),_hoisted_1$1={class:"__container_AppTabHeaderSlot"},_hoisted_2$1={class:"header-desc"},_sfc_main$2=defineComponent({__name:"updateTagRuleTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1$1,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:12},{default:withCtx(()=>{var Rn;return[createBaseVNode("span",_hoisted_2$1," 修改 "+toDisplayString$1((Rn=unref(Cn).params)==null?void 0:Rn.ruleName),1)]}),_:1})]),_:1})])}}}),UpdateTagRuleTabHeaderSlot=_export_sfc(_sfc_main$2,[["__scopeId","data-v-91777569"]]),_hoisted_1={class:"__container_AppTabHeaderSlot"},_hoisted_2={class:"header-desc"},_sfc_main$1=defineComponent({__name:"updateDCTabHeaderSlot",setup($n){const Cn=useRoute();return(_n,Pn)=>{const In=resolveComponent("a-col"),Nn=resolveComponent("a-row");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode(Nn,null,{default:withCtx(()=>[createVNode(In,{span:20},{default:withCtx(()=>{var Rn,Dn;return[createBaseVNode("span",_hoisted_2,toDisplayString$1(((Rn=unref(Cn).params)==null?void 0:Rn.isEdit)==="1"?_n.$t("dynamicConfigDomain.updateByFormView"):_n.$t("dynamicConfigDomain.detailByFormView"))+" "+toDisplayString$1((Dn=unref(Cn).params)==null?void 0:Dn.pathId),1)]}),_:1})]),_:1})])}}}),UpdateDCTabHeaderSlot=_export_sfc(_sfc_main$1,[["__scopeId","data-v-4d4ee463"]]),routes=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./Login-imIhMlq6.js"),__vite__mapDeps([0,1,2,3])),meta:{skip:!0},children:[]},{path:"/",name:"Root",redirect:"/home",component:()=>__vitePreload(()=>import("./index-tgq9rPkt.js"),__vite__mapDeps([4,5,2,6,7,1,8])),meta:{skip:!0},children:[{path:"/home",name:"homePage",component:()=>__vitePreload(()=>import("./index-bidvosE-.js"),__vite__mapDeps([9,10,2,11])),meta:{icon:"carbon:web-services-cluster"}},{path:"/resources",name:"resources",meta:{icon:"carbon:web-services-cluster"},children:[{path:"/applications",name:"applications",component:LayoutTab,redirect:"list",meta:{tab_parent:!0,slots:{header:AppTabHeaderSlot}},children:[{path:"/list",name:"router.resource.app.list",component:()=>__vitePreload(()=>import("./index-1-DS2ySp.js"),__vite__mapDeps([12,5,2,13,14,15])),meta:{hidden:!0}},{path:"/detail/:pathId",name:"applicationDomain.detail",component:()=>__vitePreload(()=>import("./detail-c9-keEBq.js"),__vite__mapDeps([16,5,2,17])),meta:{tab:!0,icon:"tabler:list-details",back:"/resources/applications/list"}},{path:"/instance/:pathId",name:"applicationDomain.instance",component:()=>__vitePreload(()=>import("./instance-GgpcTYxF.js"),__vite__mapDeps([18,13,14,5,2,19,20,21,22])),meta:{tab:!0,icon:"ooui:instance-ltr",back:"/resources/applications/list"}},{path:"/service/:pathId",name:"applicationDomain.service",component:()=>__vitePreload(()=>import("./service-SHOGrh_I.js"),__vite__mapDeps([23,10,2,13,14,5,20,24])),meta:{tab:!0,icon:"carbon:web-services-definition",back:"/resources/applications/list"}},{path:"/monitor/:pathId",name:"applicationDomain.monitor",component:()=>__vitePreload(()=>import("./monitor-sGZqYA6v.js"),__vite__mapDeps([25,26,27,5,2])),meta:{tab:!0,icon:"material-symbols-light:monitor-heart-outline",back:"/resources/applications/list"}},{path:"/tracing/:pathId",name:"applicationDomain.tracing",component:()=>__vitePreload(()=>import("./tracing-92ETcaci.js"),__vite__mapDeps([28,26,27,5,2])),meta:{tab:!0,icon:"game-icons:digital-trace",back:"/resources/applications/list"}},{path:"/config/:pathId",name:"applicationDomain.config",component:()=>__vitePreload(()=>import("./config-Bcppce3q.js"),__vite__mapDeps([29,30,31,5,2,32])),meta:{tab:!0,icon:"material-symbols:settings",back:"/resources/applications/list"}},{path:"/event/:pathId",name:"applicationDomain.event",component:()=>__vitePreload(()=>import("./event-ympyACpm.js"),__vite__mapDeps([33,5,2,34])),meta:{tab:!0,hidden:!0,icon:"material-symbols:date-range",back:"/resources/applications/list"}}]},{path:"/instances",name:"instances",component:LayoutTab,redirect:"list",meta:{tab_parent:!0,slots:{header:InstanceTabHeaderSlot}},children:[{path:"/list",name:"router.resource.ins.list",component:()=>__vitePreload(()=>import("./index-VJs-1Ntn.js"),__vite__mapDeps([35,6,2,13,14,20,21,36])),meta:{hidden:!0}},{path:"/detail/:appName/:pathId?",name:"instanceDomain.details",component:()=>__vitePreload(()=>import("./detail-ZfcGZsJx.js"),__vite__mapDeps([37,17,6,2,19])),meta:{tab:!0,icon:"tabler:list-details",back:"/resources/instances/list"}},{path:"/monitor/:pathId/:appName",name:"instanceDomain.monitor",component:()=>__vitePreload(()=>import("./monitor-l-14_P1G.js"),__vite__mapDeps([38,26,27,6,2])),meta:{tab:!0,icon:"ooui:instance-ltr",back:"/resources/instances/list"}},{path:"/linktracking/:pathId/:appName",name:"instanceDomain.linkTracking",component:()=>__vitePreload(()=>import("./linkTracking-vLLhx3tk.js"),__vite__mapDeps([39,26,27,6,2])),meta:{tab:!0,icon:"material-symbols-light:monitor-heart-outline",back:"/resources/instances/list"}},{path:"/configuration/:pathId/:appName",name:"instanceDomain.configuration",component:()=>__vitePreload(()=>import("./configuration-c8iwuhKj.js"),__vite__mapDeps([40,30,31,6,2])),meta:{tab:!0,icon:"material-symbols:settings",back:"/resources/instances/list"}},{path:"/event/:pathId/:appName",name:"instanceDomain.event",component:()=>__vitePreload(()=>import("./event-WVUl-Hrs.js"),__vite__mapDeps([])),meta:{tab:!0,hidden:!0,icon:"material-symbols:date-range",back:"/resources/instances/list"}}]},{path:"/services",name:"services",redirect:"list",component:LayoutTab,meta:{tab_parent:!0,slots:{header:ServiceTabHeaderSlot}},children:[{path:"/list",name:"router.resource.svc.list",component:()=>__vitePreload(()=>import("./search-ZPtMszjO.js"),__vite__mapDeps([41,7,2,13,14,20,42])),meta:{hidden:!0}},{path:"/distribution/:pathId/:group?/:version?",name:"distribution",component:()=>__vitePreload(()=>import("./distribution-rzJg55IY.js"),__vite__mapDeps([43,7,2,19,44])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/monitor/:pathId/:group?/:version?",name:"monitor",component:()=>__vitePreload(()=>import("./monitor-4PTw3Hnl.js"),__vite__mapDeps([45,26,27,7,2])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/tracing/:pathId/:group?/:version?",name:"tracing",component:()=>__vitePreload(()=>import("./tracing-ga_5tnvN.js"),__vite__mapDeps([46,26,27,7,2])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/sceneConfig/:pathId/:group?/:version?",name:"sceneConfig",component:()=>__vitePreload(()=>import("./sceneConfig-b6LJLlLg.js"),__vite__mapDeps([47,30,31,7,2,48])),meta:{tab:!0,back:"/resources/services/list"}},{path:"/event/:pathId/:group?/:version?",name:"event",component:()=>__vitePreload(()=>import("./event-PfSKfl9X.js"),__vite__mapDeps([49,50])),meta:{tab:!0,hidden:!0,back:"/resources/services/list"}}]}]},{path:"/traffic",name:"trafficManagement",meta:{icon:"eos-icons:cluster-management"},children:[{path:"/routingRule",name:"routingRule",redirect:"index",component:LayoutTab,meta:{tab_parent:!0,slots:{header:ConditionRuleDetailTabHeaderSlot}},children:[{path:"/index",name:"routingRuleIndex",component:()=>__vitePreload(()=>import("./index-3ObQClF5.js"),__vite__mapDeps([51,52,2,13,14,19,53])),meta:{hidden:!0}},{path:"/formview/:ruleName",name:"routingRuleDomain.formView",component:()=>__vitePreload(()=>import("./formView-dr6vkirR.js"),__vite__mapDeps([54,17,52,2,55])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/yamlview/:ruleName",name:"routingRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./YAMLView-lT4dPq7F.js"),__vite__mapDeps([56,57,58,52,2,59])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/addRoutingRule",name:"addRoutingRule",component:LayoutTab,redirect:"addByFormView",meta:{tab_parent:!0,hidden:!0,slots:{header:AddConditionRuleTabHeaderSlot}},children:[{path:"/addByFormView",name:"addRoutingRuleDomain.formView",component:()=>__vitePreload(()=>import("./addByFormView-PDTQ6Oi5.js"),__vite__mapDeps([60,17,52,2,61])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/addByYamlView",name:"addRoutingRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./addByYAMLView-mp4IQp11.js"),__vite__mapDeps([62,57,58,52,2,63])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/updateRoutingRule",name:"updateRoutingRule",component:LayoutTab,meta:{tab_parent:!0,hidden:!0,slots:{header:UpdateConditionRuleTabHeaderSlot}},children:[{path:"/updateByFormView/:ruleName",name:"updateRoutingRuleDomain.formView",component:()=>__vitePreload(()=>import("./updateByFormView-ykpq9Kli.js"),__vite__mapDeps([64,17,52,2,65])),meta:{tab:!0}},{path:"/updateByYAMLView/:ruleName",name:"updateRoutingRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./updateByYAMLView-C-qbsfZ8.js"),__vite__mapDeps([66,57,58,52,2,67])),meta:{tab:!0}}]},{path:"/tagRule",name:"tagRule",redirect:"index",component:LayoutTab,meta:{tab_parent:!0,slots:{header:TagRuleDetailTabHeaderSlot}},children:[{path:"/index",name:"tagRuleIndex",component:()=>__vitePreload(()=>import("./index-JAGQH17O.js"),__vite__mapDeps([68,52,2,13,14,19,69])),meta:{hidden:!0}},{path:"/formview/:ruleName",name:"tagRuleDomain.formView",component:()=>__vitePreload(()=>import("./formView-yOHva0ty.js"),__vite__mapDeps([70,17,52,2,71])),meta:{tab:!0,icon:"oui:apm-trace",back:"/traffic/tagRule"}},{path:"/yamlview/:ruleName",name:"tagRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./YAMLView-q7Cf5xIc.js"),__vite__mapDeps([72,57,58,52,2,73])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/addTagRule",name:"addTagRule",component:LayoutTab,meta:{tab_parent:!0,hidden:!0,slots:{header:AddTagRuleTabHeaderSlot}},children:[{path:"/addByFormView",name:"addTagRuleDomain.formView",component:()=>__vitePreload(()=>import("./addByFormView-L619fQ34.js"),__vite__mapDeps([74,17,52,2,75])),meta:{tab:!0,icon:"oui:apm-trace"}},{path:"/addByYAMLView",name:"addTagRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./addByYAMLView-KSfwZr8J.js"),__vite__mapDeps([76,57,58,52,2,77])),meta:{tab:!0,icon:"oui:app-console"}}]},{path:"/updateTagRule",name:"updateTagRule",component:LayoutTab,meta:{tab_parent:!0,hidden:!0,slots:{header:UpdateTagRuleTabHeaderSlot}},children:[{path:"/updateByFormView/:ruleName",name:"updateTagRuleDomain.formView",component:()=>__vitePreload(()=>import("./updateByFormView-uqlnXIPo.js"),__vite__mapDeps([78,17,52,2,79])),meta:{tab:!0}},{path:"/updateByYAMLView/:ruleName",name:"updateTagRuleDomain.YAMLView",component:()=>__vitePreload(()=>import("./updateByYAMLView-CBQATUCs.js"),__vite__mapDeps([80,57,58,52,2,81])),meta:{tab:!0}}]},{path:"/dynamicConfig",name:"dynamicConfig",redirect:"index",component:LayoutTab,meta:{tab_parent:!0},children:[{path:"/index",name:"dynamicConfigIndex",component:()=>__vitePreload(()=>import("./index-6mDJigRo.js"),__vite__mapDeps([82,52,2,13,14,83])),meta:{hidden:!0}},{path:"/formview/:pathId/:isEdit",name:"dynamicConfigDomain.formView",component:()=>__vitePreload(()=>import("./formView--eWAQ02R.js"),__vite__mapDeps([84,17,52,2,85,86])),meta:{tab:!0,icon:"oui:apm-trace",back:"/traffic/dynamicConfig",slots:{header:UpdateDCTabHeaderSlot}}},{path:"/yamlview/:pathId/:isEdit",name:"dynamicConfigDomain.YAMLView",component:()=>__vitePreload(()=>import("./YAMLView-Kv0Zh07k.js"),__vite__mapDeps([87,57,58,52,2,85,88])),meta:{tab:!0,icon:"oui:app-console",back:"/traffic/dynamicConfig",slots:{header:UpdateDCTabHeaderSlot}}}]}]},{path:"/common",name:"commonDemo",redirect:"tab",meta:{hidden:!0,icon:"tdesign:play-demo"},children:[{path:"/tab",name:"tabDemo",component:LayoutTab,redirect:"index",meta:{tab_parent:!0},children:[{path:"/index",name:"tab_demo_index",component:()=>__vitePreload(()=>import("./index-BItwxFIb.js"),__vite__mapDeps([])),meta:{hidden:!0}},{path:"/tab1/:pathId",name:"tab1",component:()=>__vitePreload(()=>import("./tab1-y_fNgbfH.js"),__vite__mapDeps([])),meta:{icon:"simple-icons:podman",tab:!0}},{path:"/tab2/:pathId",name:"tab2",component:()=>__vitePreload(()=>import("./tab2-s33OHi_L.js"),__vite__mapDeps([])),meta:{icon:"fontisto:docker",tab:!0}}]},{path:"/placeholder",name:"placeholder_demo",component:()=>__vitePreload(()=>import("./index-PRmcKXGy.js"),__vite__mapDeps([])),meta:{}}]}]},{path:"/:catchAll(.*)",name:"notFound",component:()=>__vitePreload(()=>import("./notFound-gtHVn9y2.js"),__vite__mapDeps([89,90])),meta:{skip:!0}}];function handlePath(...$n){return $n.join("/").replace(/\/+/g,"/")}function handleRoutes($n,Cn){if($n)for(const _n of $n)Cn&&(_n.path=handlePath(Cn==null?void 0:Cn.path,_n.path)),_n.redirect&&(_n.redirect=handlePath(_n.path,_n.redirect||"")),_n.meta?(_n.meta._router_key=_$2.uniqueId("__router_key"),_n.meta.parent=Cn,_n.meta.skip=_n.meta.skip===!0):_n.meta={_router_key:_$2.uniqueId("__router_key"),skip:!1},handleRoutes(_n.children,_n)}handleRoutes(routes,void 0);const options={history:createWebHistory("/admin"),routes},router=createRouter(options),locale$2={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},CalendarLocale=locale$2,locale$1={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},TimePicker=locale$1,locale={lang:_extends$1({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},CalendarLocale),timePickerLocale:_extends$1({},TimePicker)};locale.lang.ok="确定";const DatePicker=locale,typeTemplate="${label}不是一个有效的${type}",localeValues={locale:"zh-cn",Pagination:Pagination$2,DatePicker,TimePicker,Calendar:DatePicker,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:typeTemplate,method:typeTemplate,array:typeTemplate,object:typeTemplate,number:typeTemplate,date:typeTemplate,boolean:typeTemplate,integer:typeTemplate,float:typeTemplate,regexp:typeTemplate,email:typeTemplate,url:typeTemplate,hex:typeTemplate},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码已过期",refresh:"点击刷新",scanned:"已扫描"}},zhCN=localeValues;var dayjs_min={exports:{}};(function($n,Cn){(function(_n,Pn){$n.exports=Pn()})(commonjsGlobal,function(){var _n=1e3,Pn=6e4,In=36e5,Nn="millisecond",Rn="second",Dn="minute",Ln="hour",Fn="day",Bn="week",Hn="month",zn="quarter",Wn="year",Yn="date",Gn="Invalid Date",Go=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Xn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Yo={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ga){var aa=["th","st","nd","rd"],ca=ga%100;return"["+ga+(aa[(ca-20)%10]||aa[ca]||aa[0])+"]"}},qo=function(ga,aa,ca){var sa=String(ga);return!sa||sa.length>=aa?ga:""+Array(aa+1-sa.length).join(ca)+ga},Jo={s:qo,z:function(ga){var aa=-ga.utcOffset(),ca=Math.abs(aa),sa=Math.floor(ca/60),ia=ca%60;return(aa<=0?"+":"-")+qo(sa,2,"0")+":"+qo(ia,2,"0")},m:function ga(aa,ca){if(aa.date()<ca.date())return-ga(ca,aa);var sa=12*(ca.year()-aa.year())+(ca.month()-aa.month()),ia=aa.clone().add(sa,Hn),fa=ca-ia<0,ma=aa.clone().add(sa+(fa?-1:1),Hn);return+(-(sa+(ca-ia)/(fa?ia-ma:ma-ia))||0)},a:function(ga){return ga<0?Math.ceil(ga)||0:Math.floor(ga)},p:function(ga){return{M:Hn,y:Wn,w:Bn,d:Fn,D:Yn,h:Ln,m:Dn,s:Rn,ms:Nn,Q:zn}[ga]||String(ga||"").toLowerCase().replace(/s$/,"")},u:function(ga){return ga===void 0}},Zo="en",rr={};rr[Zo]=Yo;var nr="$isDayjsObject",ta=function(ga){return ga instanceof la||!(!ga||!ga[nr])},oa=function ga(aa,ca,sa){var ia;if(!aa)return Zo;if(typeof aa=="string"){var fa=aa.toLowerCase();rr[fa]&&(ia=fa),ca&&(rr[fa]=ca,ia=fa);var ma=aa.split("-");if(!ia&&ma.length>1)return ga(ma[0])}else{var ya=aa.name;rr[ya]=aa,ia=ya}return!sa&&ia&&(Zo=ia),ia||!sa&&Zo},ra=function(ga,aa){if(ta(ga))return ga.clone();var ca=typeof aa=="object"?aa:{};return ca.date=ga,ca.args=arguments,new la(ca)},ea=Jo;ea.l=oa,ea.i=ta,ea.w=function(ga,aa){return ra(ga,{locale:aa.$L,utc:aa.$u,x:aa.$x,$offset:aa.$offset})};var la=function(){function ga(ca){this.$L=oa(ca.locale,null,!0),this.parse(ca),this.$x=this.$x||ca.x||{},this[nr]=!0}var aa=ga.prototype;return aa.parse=function(ca){this.$d=function(sa){var ia=sa.date,fa=sa.utc;if(ia===null)return new Date(NaN);if(ea.u(ia))return new Date;if(ia instanceof Date)return new Date(ia);if(typeof ia=="string"&&!/Z$/i.test(ia)){var ma=ia.match(Go);if(ma){var ya=ma[2]-1||0,ba=(ma[7]||"0").substring(0,3);return fa?new Date(Date.UTC(ma[1],ya,ma[3]||1,ma[4]||0,ma[5]||0,ma[6]||0,ba)):new Date(ma[1],ya,ma[3]||1,ma[4]||0,ma[5]||0,ma[6]||0,ba)}}return new Date(ia)}(ca),this.init()},aa.init=function(){var ca=this.$d;this.$y=ca.getFullYear(),this.$M=ca.getMonth(),this.$D=ca.getDate(),this.$W=ca.getDay(),this.$H=ca.getHours(),this.$m=ca.getMinutes(),this.$s=ca.getSeconds(),this.$ms=ca.getMilliseconds()},aa.$utils=function(){return ea},aa.isValid=function(){return this.$d.toString()!==Gn},aa.isSame=function(ca,sa){var ia=ra(ca);return this.startOf(sa)<=ia&&ia<=this.endOf(sa)},aa.isAfter=function(ca,sa){return ra(ca)<this.startOf(sa)},aa.isBefore=function(ca,sa){return this.endOf(sa)<ra(ca)},aa.$g=function(ca,sa,ia){return ea.u(ca)?this[sa]:this.set(ia,ca)},aa.unix=function(){return Math.floor(this.valueOf()/1e3)},aa.valueOf=function(){return this.$d.getTime()},aa.startOf=function(ca,sa){var ia=this,fa=!!ea.u(sa)||sa,ma=ea.p(ca),ya=function(Na,$a){var ka=ea.w(ia.$u?Date.UTC(ia.$y,$a,Na):new Date(ia.$y,$a,Na),ia);return fa?ka:ka.endOf(Fn)},ba=function(Na,$a){return ea.w(ia.toDate()[Na].apply(ia.toDate("s"),(fa?[0,0,0,0]:[23,59,59,999]).slice($a)),ia)},Ia=this.$W,Ea=this.$M,xa=this.$D,Ta="set"+(this.$u?"UTC":"");switch(ma){case Wn:return fa?ya(1,0):ya(31,11);case Hn:return fa?ya(1,Ea):ya(0,Ea+1);case Bn:var wa=this.$locale().weekStart||0,La=(Ia<wa?Ia+7:Ia)-wa;return ya(fa?xa-La:xa+(6-La),Ea);case Fn:case Yn:return ba(Ta+"Hours",0);case Ln:return ba(Ta+"Minutes",1);case Dn:return ba(Ta+"Seconds",2);case Rn:return ba(Ta+"Milliseconds",3);default:return this.clone()}},aa.endOf=function(ca){return this.startOf(ca,!1)},aa.$set=function(ca,sa){var ia,fa=ea.p(ca),ma="set"+(this.$u?"UTC":""),ya=(ia={},ia[Fn]=ma+"Date",ia[Yn]=ma+"Date",ia[Hn]=ma+"Month",ia[Wn]=ma+"FullYear",ia[Ln]=ma+"Hours",ia[Dn]=ma+"Minutes",ia[Rn]=ma+"Seconds",ia[Nn]=ma+"Milliseconds",ia)[fa],ba=fa===Fn?this.$D+(sa-this.$W):sa;if(fa===Hn||fa===Wn){var Ia=this.clone().set(Yn,1);Ia.$d[ya](ba),Ia.init(),this.$d=Ia.set(Yn,Math.min(this.$D,Ia.daysInMonth())).$d}else ya&&this.$d[ya](ba);return this.init(),this},aa.set=function(ca,sa){return this.clone().$set(ca,sa)},aa.get=function(ca){return this[ea.p(ca)]()},aa.add=function(ca,sa){var ia,fa=this;ca=Number(ca);var ma=ea.p(sa),ya=function(Ea){var xa=ra(fa);return ea.w(xa.date(xa.date()+Math.round(Ea*ca)),fa)};if(ma===Hn)return this.set(Hn,this.$M+ca);if(ma===Wn)return this.set(Wn,this.$y+ca);if(ma===Fn)return ya(1);if(ma===Bn)return ya(7);var ba=(ia={},ia[Dn]=Pn,ia[Ln]=In,ia[Rn]=_n,ia)[ma]||1,Ia=this.$d.getTime()+ca*ba;return ea.w(Ia,this)},aa.subtract=function(ca,sa){return this.add(-1*ca,sa)},aa.format=function(ca){var sa=this,ia=this.$locale();if(!this.isValid())return ia.invalidDate||Gn;var fa=ca||"YYYY-MM-DDTHH:mm:ssZ",ma=ea.z(this),ya=this.$H,ba=this.$m,Ia=this.$M,Ea=ia.weekdays,xa=ia.months,Ta=ia.meridiem,wa=function($a,ka,Ha,da){return $a&&($a[ka]||$a(sa,fa))||Ha[ka].slice(0,da)},La=function($a){return ea.s(ya%12||12,$a,"0")},Na=Ta||function($a,ka,Ha){var da=$a<12?"AM":"PM";return Ha?da.toLowerCase():da};return fa.replace(Xn,function($a,ka){return ka||function(Ha){switch(Ha){case"YY":return String(sa.$y).slice(-2);case"YYYY":return ea.s(sa.$y,4,"0");case"M":return Ia+1;case"MM":return ea.s(Ia+1,2,"0");case"MMM":return wa(ia.monthsShort,Ia,xa,3);case"MMMM":return wa(xa,Ia);case"D":return sa.$D;case"DD":return ea.s(sa.$D,2,"0");case"d":return String(sa.$W);case"dd":return wa(ia.weekdaysMin,sa.$W,Ea,2);case"ddd":return wa(ia.weekdaysShort,sa.$W,Ea,3);case"dddd":return Ea[sa.$W];case"H":return String(ya);case"HH":return ea.s(ya,2,"0");case"h":return La(1);case"hh":return La(2);case"a":return Na(ya,ba,!0);case"A":return Na(ya,ba,!1);case"m":return String(ba);case"mm":return ea.s(ba,2,"0");case"s":return String(sa.$s);case"ss":return ea.s(sa.$s,2,"0");case"SSS":return ea.s(sa.$ms,3,"0");case"Z":return ma}return null}($a)||ma.replace(":","")})},aa.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},aa.diff=function(ca,sa,ia){var fa,ma=this,ya=ea.p(sa),ba=ra(ca),Ia=(ba.utcOffset()-this.utcOffset())*Pn,Ea=this-ba,xa=function(){return ea.m(ma,ba)};switch(ya){case Wn:fa=xa()/12;break;case Hn:fa=xa();break;case zn:fa=xa()/3;break;case Bn:fa=(Ea-Ia)/6048e5;break;case Fn:fa=(Ea-Ia)/864e5;break;case Ln:fa=Ea/In;break;case Dn:fa=Ea/Pn;break;case Rn:fa=Ea/_n;break;default:fa=Ea}return ia?fa:ea.a(fa)},aa.daysInMonth=function(){return this.endOf(Hn).$D},aa.$locale=function(){return rr[this.$L]},aa.locale=function(ca,sa){if(!ca)return this.$L;var ia=this.clone(),fa=oa(ca,sa,!0);return fa&&(ia.$L=fa),ia},aa.clone=function(){return ea.w(this.$d,this)},aa.toDate=function(){return new Date(this.valueOf())},aa.toJSON=function(){return this.isValid()?this.toISOString():null},aa.toISOString=function(){return this.$d.toISOString()},aa.toString=function(){return this.$d.toUTCString()},ga}(),ua=la.prototype;return ra.prototype=ua,[["$ms",Nn],["$s",Rn],["$m",Dn],["$H",Ln],["$W",Fn],["$M",Hn],["$y",Wn],["$D",Yn]].forEach(function(ga){ua[ga[1]]=function(aa){return this.$g(aa,ga[0],ga[1])}}),ra.extend=function(ga,aa){return ga.$i||(ga(aa,la,ra),ga.$i=!0),ra},ra.locale=oa,ra.isDayjs=ta,ra.unix=function(ga){return ra(1e3*ga)},ra.en=rr[Zo],ra.Ls=rr,ra.p={},ra})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);/*!
- * shared v9.9.1
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */const inBrowser=typeof window<"u",makeSymbol=($n,Cn=!1)=>Cn?Symbol.for($n):Symbol($n),generateFormatCacheKey=($n,Cn,_n)=>friendlyJSONstringify({l:$n,k:Cn,s:_n}),friendlyJSONstringify=$n=>JSON.stringify($n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=$n=>typeof $n=="number"&&isFinite($n),isDate=$n=>toTypeString($n)==="[object Date]",isRegExp=$n=>toTypeString($n)==="[object RegExp]",isEmptyObject=$n=>isPlainObject$1($n)&&Object.keys($n).length===0,assign$2=Object.assign;let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function escapeHtml($n){return $n.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn($n,Cn){return hasOwnProperty.call($n,Cn)}const isArray=Array.isArray,isFunction=$n=>typeof $n=="function",isString$1=$n=>typeof $n=="string",isBoolean=$n=>typeof $n=="boolean",isObject$3=$n=>$n!==null&&typeof $n=="object",isPromise=$n=>isObject$3($n)&&isFunction($n.then)&&isFunction($n.catch),objectToString=Object.prototype.toString,toTypeString=$n=>objectToString.call($n),isPlainObject$1=$n=>{if(!isObject$3($n))return!1;const Cn=Object.getPrototypeOf($n);return Cn===null||Cn.constructor===Object},toDisplayString=$n=>$n==null?"":isArray($n)||isPlainObject$1($n)&&$n.toString===objectToString?JSON.stringify($n,null,2):String($n);function join$1($n,Cn=""){return $n.reduce((_n,Pn,In)=>In===0?_n+Pn:_n+Cn+Pn,"")}function incrementer($n){let Cn=$n;return()=>++Cn}function warn($n,Cn){typeof console<"u"&&(console.warn("[intlify] "+$n),Cn&&console.warn(Cn.stack))}const isNotObjectOrIsArray=$n=>!isObject$3($n)||isArray($n);function deepCopy($n,Cn){if(isNotObjectOrIsArray($n)||isNotObjectOrIsArray(Cn))throw new Error("Invalid value");const _n=[{src:$n,des:Cn}];for(;_n.length;){const{src:Pn,des:In}=_n.pop();Object.keys(Pn).forEach(Nn=>{isNotObjectOrIsArray(Pn[Nn])||isNotObjectOrIsArray(In[Nn])?In[Nn]=Pn[Nn]:_n.push({src:Pn[Nn],des:In[Nn]})})}}/*!
- * message-compiler v9.9.1
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */function createPosition($n,Cn,_n){return{line:$n,column:Cn,offset:_n}}function createLocation($n,Cn,_n){const Pn={start:$n,end:Cn};return _n!=null&&(Pn.source=_n),Pn}const RE_ARGS=/\{([0-9a-zA-Z]+)\}/g;function format$1($n,...Cn){return Cn.length===1&&isObject$2(Cn[0])&&(Cn=Cn[0]),(!Cn||!Cn.hasOwnProperty)&&(Cn={}),$n.replace(RE_ARGS,(_n,Pn)=>Cn.hasOwnProperty(Pn)?Cn[Pn]:"")}const assign$1=Object.assign,isString=$n=>typeof $n=="string",isObject$2=$n=>$n!==null&&typeof $n=="object";function join($n,Cn=""){return $n.reduce((_n,Pn,In)=>In===0?_n+Pn:_n+Cn+Pn,"")}const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},errorMessages={[CompileErrorCodes.EXPECTED_TOKEN]:"Expected token: '{0}'",[CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[CompileErrorCodes.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[CompileErrorCodes.EMPTY_PLACEHOLDER]:"Empty placeholder",[CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[CompileErrorCodes.INVALID_LINKED_FORMAT]:"Invalid linked format",[CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function createCompileError($n,Cn,_n={}){const{domain:Pn,messages:In,args:Nn}=_n,Rn=format$1((In||errorMessages)[$n]||"",...Nn||[]),Dn=new SyntaxError(String(Rn));return Dn.code=$n,Cn&&(Dn.location=Cn),Dn.domain=Pn,Dn}function defaultOnError($n){throw $n}const CHAR_SP=" ",CHAR_CR="\r",CHAR_LF=`
-`,CHAR_LS="\u2028",CHAR_PS="\u2029";function createScanner($n){const Cn=$n;let _n=0,Pn=1,In=1,Nn=0;const Rn=nr=>Cn[nr]===CHAR_CR&&Cn[nr+1]===CHAR_LF,Dn=nr=>Cn[nr]===CHAR_LF,Ln=nr=>Cn[nr]===CHAR_PS,Fn=nr=>Cn[nr]===CHAR_LS,Bn=nr=>Rn(nr)||Dn(nr)||Ln(nr)||Fn(nr),Hn=()=>_n,zn=()=>Pn,Wn=()=>In,Yn=()=>Nn,Gn=nr=>Rn(nr)||Ln(nr)||Fn(nr)?CHAR_LF:Cn[nr],Go=()=>Gn(_n),Xn=()=>Gn(_n+Nn);function Yo(){return Nn=0,Bn(_n)&&(Pn++,In=0),Rn(_n)&&_n++,_n++,In++,Cn[_n]}function qo(){return Rn(_n+Nn)&&Nn++,Nn++,Cn[_n+Nn]}function Jo(){_n=0,Pn=1,In=1,Nn=0}function Zo(nr=0){Nn=nr}function rr(){const nr=_n+Nn;for(;nr!==_n;)Yo();Nn=0}return{index:Hn,line:zn,column:Wn,peekOffset:Yn,charAt:Gn,currentChar:Go,currentPeek:Xn,next:Yo,peek:qo,reset:Jo,resetPeek:Zo,skipToPeek:rr}}const EOF=void 0,DOT=".",LITERAL_DELIMITER="'",ERROR_DOMAIN$3="tokenizer";function createTokenizer($n,Cn={}){const _n=Cn.location!==!1,Pn=createScanner($n),In=()=>Pn.index(),Nn=()=>createPosition(Pn.line(),Pn.column(),Pn.index()),Rn=Nn(),Dn=In(),Ln={currentType:14,offset:Dn,startLoc:Rn,endLoc:Rn,lastType:14,lastOffset:Dn,lastStartLoc:Rn,lastEndLoc:Rn,braceNest:0,inLinked:!1,text:""},Fn=()=>Ln,{onError:Bn}=Cn;function Hn(da,pa,Sa,...Aa){const Ra=Fn();if(pa.column+=Sa,pa.offset+=Sa,Bn){const Fa=_n?createLocation(Ra.startLoc,pa):null,za=createCompileError(da,Fa,{domain:ERROR_DOMAIN$3,args:Aa});Bn(za)}}function zn(da,pa,Sa){da.endLoc=Nn(),da.currentType=pa;const Aa={type:pa};return _n&&(Aa.loc=createLocation(da.startLoc,da.endLoc)),Sa!=null&&(Aa.value=Sa),Aa}const Wn=da=>zn(da,14);function Yn(da,pa){return da.currentChar()===pa?(da.next(),pa):(Hn(CompileErrorCodes.EXPECTED_TOKEN,Nn(),0,pa),"")}function Gn(da){let pa="";for(;da.currentPeek()===CHAR_SP||da.currentPeek()===CHAR_LF;)pa+=da.currentPeek(),da.peek();return pa}function Go(da){const pa=Gn(da);return da.skipToPeek(),pa}function Xn(da){if(da===EOF)return!1;const pa=da.charCodeAt(0);return pa>=97&&pa<=122||pa>=65&&pa<=90||pa===95}function Yo(da){if(da===EOF)return!1;const pa=da.charCodeAt(0);return pa>=48&&pa<=57}function qo(da,pa){const{currentType:Sa}=pa;if(Sa!==2)return!1;Gn(da);const Aa=Xn(da.currentPeek());return da.resetPeek(),Aa}function Jo(da,pa){const{currentType:Sa}=pa;if(Sa!==2)return!1;Gn(da);const Aa=da.currentPeek()==="-"?da.peek():da.currentPeek(),Ra=Yo(Aa);return da.resetPeek(),Ra}function Zo(da,pa){const{currentType:Sa}=pa;if(Sa!==2)return!1;Gn(da);const Aa=da.currentPeek()===LITERAL_DELIMITER;return da.resetPeek(),Aa}function rr(da,pa){const{currentType:Sa}=pa;if(Sa!==8)return!1;Gn(da);const Aa=da.currentPeek()===".";return da.resetPeek(),Aa}function nr(da,pa){const{currentType:Sa}=pa;if(Sa!==9)return!1;Gn(da);const Aa=Xn(da.currentPeek());return da.resetPeek(),Aa}function ta(da,pa){const{currentType:Sa}=pa;if(!(Sa===8||Sa===12))return!1;Gn(da);const Aa=da.currentPeek()===":";return da.resetPeek(),Aa}function oa(da,pa){const{currentType:Sa}=pa;if(Sa!==10)return!1;const Aa=()=>{const Fa=da.currentPeek();return Fa==="{"?Xn(da.peek()):Fa==="@"||Fa==="%"||Fa==="|"||Fa===":"||Fa==="."||Fa===CHAR_SP||!Fa?!1:Fa===CHAR_LF?(da.peek(),Aa()):Xn(Fa)},Ra=Aa();return da.resetPeek(),Ra}function ra(da){Gn(da);const pa=da.currentPeek()==="|";return da.resetPeek(),pa}function ea(da){const pa=Gn(da),Sa=da.currentPeek()==="%"&&da.peek()==="{";return da.resetPeek(),{isModulo:Sa,hasSpace:pa.length>0}}function la(da,pa=!0){const Sa=(Ra=!1,Fa="",za=!1)=>{const Wa=da.currentPeek();return Wa==="{"?Fa==="%"?!1:Ra:Wa==="@"||!Wa?Fa==="%"?!0:Ra:Wa==="%"?(da.peek(),Sa(Ra,"%",!0)):Wa==="|"?Fa==="%"||za?!0:!(Fa===CHAR_SP||Fa===CHAR_LF):Wa===CHAR_SP?(da.peek(),Sa(!0,CHAR_SP,za)):Wa===CHAR_LF?(da.peek(),Sa(!0,CHAR_LF,za)):!0},Aa=Sa();return pa&&da.resetPeek(),Aa}function ua(da,pa){const Sa=da.currentChar();return Sa===EOF?EOF:pa(Sa)?(da.next(),Sa):null}function ga(da){return ua(da,Sa=>{const Aa=Sa.charCodeAt(0);return Aa>=97&&Aa<=122||Aa>=65&&Aa<=90||Aa>=48&&Aa<=57||Aa===95||Aa===36})}function aa(da){return ua(da,Sa=>{const Aa=Sa.charCodeAt(0);return Aa>=48&&Aa<=57})}function ca(da){return ua(da,Sa=>{const Aa=Sa.charCodeAt(0);return Aa>=48&&Aa<=57||Aa>=65&&Aa<=70||Aa>=97&&Aa<=102})}function sa(da){let pa="",Sa="";for(;pa=aa(da);)Sa+=pa;return Sa}function ia(da){Go(da);const pa=da.currentChar();return pa!=="%"&&Hn(CompileErrorCodes.EXPECTED_TOKEN,Nn(),0,pa),da.next(),"%"}function fa(da){let pa="";for(;;){const Sa=da.currentChar();if(Sa==="{"||Sa==="}"||Sa==="@"||Sa==="|"||!Sa)break;if(Sa==="%")if(la(da))pa+=Sa,da.next();else break;else if(Sa===CHAR_SP||Sa===CHAR_LF)if(la(da))pa+=Sa,da.next();else{if(ra(da))break;pa+=Sa,da.next()}else pa+=Sa,da.next()}return pa}function ma(da){Go(da);let pa="",Sa="";for(;pa=ga(da);)Sa+=pa;return da.currentChar()===EOF&&Hn(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,Nn(),0),Sa}function ya(da){Go(da);let pa="";return da.currentChar()==="-"?(da.next(),pa+=`-${sa(da)}`):pa+=sa(da),da.currentChar()===EOF&&Hn(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,Nn(),0),pa}function ba(da){Go(da),Yn(da,"'");let pa="",Sa="";const Aa=Fa=>Fa!==LITERAL_DELIMITER&&Fa!==CHAR_LF;for(;pa=ua(da,Aa);)pa==="\\"?Sa+=Ia(da):Sa+=pa;const Ra=da.currentChar();return Ra===CHAR_LF||Ra===EOF?(Hn(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,Nn(),0),Ra===CHAR_LF&&(da.next(),Yn(da,"'")),Sa):(Yn(da,"'"),Sa)}function Ia(da){const pa=da.currentChar();switch(pa){case"\\":case"'":return da.next(),`\\${pa}`;case"u":return Ea(da,pa,4);case"U":return Ea(da,pa,6);default:return Hn(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,Nn(),0,pa),""}}function Ea(da,pa,Sa){Yn(da,pa);let Aa="";for(let Ra=0;Ra<Sa;Ra++){const Fa=ca(da);if(!Fa){Hn(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE,Nn(),0,`\\${pa}${Aa}${da.currentChar()}`);break}Aa+=Fa}return`\\${pa}${Aa}`}function xa(da){Go(da);let pa="",Sa="";const Aa=Ra=>Ra!=="{"&&Ra!=="}"&&Ra!==CHAR_SP&&Ra!==CHAR_LF;for(;pa=ua(da,Aa);)Sa+=pa;return Sa}function Ta(da){let pa="",Sa="";for(;pa=ga(da);)Sa+=pa;return Sa}function wa(da){const pa=(Sa=!1,Aa)=>{const Ra=da.currentChar();return Ra==="{"||Ra==="%"||Ra==="@"||Ra==="|"||Ra==="("||Ra===")"||!Ra||Ra===CHAR_SP?Aa:Ra===CHAR_LF||Ra===DOT?(Aa+=Ra,da.next(),pa(Sa,Aa)):(Aa+=Ra,da.next(),pa(!0,Aa))};return pa(!1,"")}function La(da){Go(da);const pa=Yn(da,"|");return Go(da),pa}function Na(da,pa){let Sa=null;switch(da.currentChar()){case"{":return pa.braceNest>=1&&Hn(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,Nn(),0),da.next(),Sa=zn(pa,2,"{"),Go(da),pa.braceNest++,Sa;case"}":return pa.braceNest>0&&pa.currentType===2&&Hn(CompileErrorCodes.EMPTY_PLACEHOLDER,Nn(),0),da.next(),Sa=zn(pa,3,"}"),pa.braceNest--,pa.braceNest>0&&Go(da),pa.inLinked&&pa.braceNest===0&&(pa.inLinked=!1),Sa;case"@":return pa.braceNest>0&&Hn(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,Nn(),0),Sa=$a(da,pa)||Wn(pa),pa.braceNest=0,Sa;default:let Ra=!0,Fa=!0,za=!0;if(ra(da))return pa.braceNest>0&&Hn(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,Nn(),0),Sa=zn(pa,1,La(da)),pa.braceNest=0,pa.inLinked=!1,Sa;if(pa.braceNest>0&&(pa.currentType===5||pa.currentType===6||pa.currentType===7))return Hn(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,Nn(),0),pa.braceNest=0,ka(da,pa);if(Ra=qo(da,pa))return Sa=zn(pa,5,ma(da)),Go(da),Sa;if(Fa=Jo(da,pa))return Sa=zn(pa,6,ya(da)),Go(da),Sa;if(za=Zo(da,pa))return Sa=zn(pa,7,ba(da)),Go(da),Sa;if(!Ra&&!Fa&&!za)return Sa=zn(pa,13,xa(da)),Hn(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,Nn(),0,Sa.value),Go(da),Sa;break}return Sa}function $a(da,pa){const{currentType:Sa}=pa;let Aa=null;const Ra=da.currentChar();switch((Sa===8||Sa===9||Sa===12||Sa===10)&&(Ra===CHAR_LF||Ra===CHAR_SP)&&Hn(CompileErrorCodes.INVALID_LINKED_FORMAT,Nn(),0),Ra){case"@":return da.next(),Aa=zn(pa,8,"@"),pa.inLinked=!0,Aa;case".":return Go(da),da.next(),zn(pa,9,".");case":":return Go(da),da.next(),zn(pa,10,":");default:return ra(da)?(Aa=zn(pa,1,La(da)),pa.braceNest=0,pa.inLinked=!1,Aa):rr(da,pa)||ta(da,pa)?(Go(da),$a(da,pa)):nr(da,pa)?(Go(da),zn(pa,12,Ta(da))):oa(da,pa)?(Go(da),Ra==="{"?Na(da,pa)||Aa:zn(pa,11,wa(da))):(Sa===8&&Hn(CompileErrorCodes.INVALID_LINKED_FORMAT,Nn(),0),pa.braceNest=0,pa.inLinked=!1,ka(da,pa))}}function ka(da,pa){let Sa={type:14};if(pa.braceNest>0)return Na(da,pa)||Wn(pa);if(pa.inLinked)return $a(da,pa)||Wn(pa);switch(da.currentChar()){case"{":return Na(da,pa)||Wn(pa);case"}":return Hn(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,Nn(),0),da.next(),zn(pa,3,"}");case"@":return $a(da,pa)||Wn(pa);default:if(ra(da))return Sa=zn(pa,1,La(da)),pa.braceNest=0,pa.inLinked=!1,Sa;const{isModulo:Ra,hasSpace:Fa}=ea(da);if(Ra)return Fa?zn(pa,0,fa(da)):zn(pa,4,ia(da));if(la(da))return zn(pa,0,fa(da));break}return Sa}function Ha(){const{currentType:da,offset:pa,startLoc:Sa,endLoc:Aa}=Ln;return Ln.lastType=da,Ln.lastOffset=pa,Ln.lastStartLoc=Sa,Ln.lastEndLoc=Aa,Ln.offset=In(),Ln.startLoc=Nn(),Pn.currentChar()===EOF?zn(Ln,14):ka(Pn,Ln)}return{nextToken:Ha,currentOffset:In,currentPosition:Nn,context:Fn}}const ERROR_DOMAIN$2="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence($n,Cn,_n){switch($n){case"\\\\":return"\\";case"\\'":return"'";default:{const Pn=parseInt(Cn||_n,16);return Pn<=55295||Pn>=57344?String.fromCodePoint(Pn):"�"}}}function createParser($n={}){const Cn=$n.location!==!1,{onError:_n}=$n;function Pn(Xn,Yo,qo,Jo,...Zo){const rr=Xn.currentPosition();if(rr.offset+=Jo,rr.column+=Jo,_n){const nr=Cn?createLocation(qo,rr):null,ta=createCompileError(Yo,nr,{domain:ERROR_DOMAIN$2,args:Zo});_n(ta)}}function In(Xn,Yo,qo){const Jo={type:Xn};return Cn&&(Jo.start=Yo,Jo.end=Yo,Jo.loc={start:qo,end:qo}),Jo}function Nn(Xn,Yo,qo,Jo){Jo&&(Xn.type=Jo),Cn&&(Xn.end=Yo,Xn.loc&&(Xn.loc.end=qo))}function Rn(Xn,Yo){const qo=Xn.context(),Jo=In(3,qo.offset,qo.startLoc);return Jo.value=Yo,Nn(Jo,Xn.currentOffset(),Xn.currentPosition()),Jo}function Dn(Xn,Yo){const qo=Xn.context(),{lastOffset:Jo,lastStartLoc:Zo}=qo,rr=In(5,Jo,Zo);return rr.index=parseInt(Yo,10),Xn.nextToken(),Nn(rr,Xn.currentOffset(),Xn.currentPosition()),rr}function Ln(Xn,Yo){const qo=Xn.context(),{lastOffset:Jo,lastStartLoc:Zo}=qo,rr=In(4,Jo,Zo);return rr.key=Yo,Xn.nextToken(),Nn(rr,Xn.currentOffset(),Xn.currentPosition()),rr}function Fn(Xn,Yo){const qo=Xn.context(),{lastOffset:Jo,lastStartLoc:Zo}=qo,rr=In(9,Jo,Zo);return rr.value=Yo.replace(KNOWN_ESCAPES,fromEscapeSequence),Xn.nextToken(),Nn(rr,Xn.currentOffset(),Xn.currentPosition()),rr}function Bn(Xn){const Yo=Xn.nextToken(),qo=Xn.context(),{lastOffset:Jo,lastStartLoc:Zo}=qo,rr=In(8,Jo,Zo);return Yo.type!==12?(Pn(Xn,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,qo.lastStartLoc,0),rr.value="",Nn(rr,Jo,Zo),{nextConsumeToken:Yo,node:rr}):(Yo.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,qo.lastStartLoc,0,getTokenCaption(Yo)),rr.value=Yo.value||"",Nn(rr,Xn.currentOffset(),Xn.currentPosition()),{node:rr})}function Hn(Xn,Yo){const qo=Xn.context(),Jo=In(7,qo.offset,qo.startLoc);return Jo.value=Yo,Nn(Jo,Xn.currentOffset(),Xn.currentPosition()),Jo}function zn(Xn){const Yo=Xn.context(),qo=In(6,Yo.offset,Yo.startLoc);let Jo=Xn.nextToken();if(Jo.type===9){const Zo=Bn(Xn);qo.modifier=Zo.node,Jo=Zo.nextConsumeToken||Xn.nextToken()}switch(Jo.type!==10&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(Jo)),Jo=Xn.nextToken(),Jo.type===2&&(Jo=Xn.nextToken()),Jo.type){case 11:Jo.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(Jo)),qo.key=Hn(Xn,Jo.value||"");break;case 5:Jo.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(Jo)),qo.key=Ln(Xn,Jo.value||"");break;case 6:Jo.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(Jo)),qo.key=Dn(Xn,Jo.value||"");break;case 7:Jo.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(Jo)),qo.key=Fn(Xn,Jo.value||"");break;default:Pn(Xn,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,Yo.lastStartLoc,0);const Zo=Xn.context(),rr=In(7,Zo.offset,Zo.startLoc);return rr.value="",Nn(rr,Zo.offset,Zo.startLoc),qo.key=rr,Nn(qo,Zo.offset,Zo.startLoc),{nextConsumeToken:Jo,node:qo}}return Nn(qo,Xn.currentOffset(),Xn.currentPosition()),{node:qo}}function Wn(Xn){const Yo=Xn.context(),qo=Yo.currentType===1?Xn.currentOffset():Yo.offset,Jo=Yo.currentType===1?Yo.endLoc:Yo.startLoc,Zo=In(2,qo,Jo);Zo.items=[];let rr=null;do{const oa=rr||Xn.nextToken();switch(rr=null,oa.type){case 0:oa.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(oa)),Zo.items.push(Rn(Xn,oa.value||""));break;case 6:oa.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(oa)),Zo.items.push(Dn(Xn,oa.value||""));break;case 5:oa.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(oa)),Zo.items.push(Ln(Xn,oa.value||""));break;case 7:oa.value==null&&Pn(Xn,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,Yo.lastStartLoc,0,getTokenCaption(oa)),Zo.items.push(Fn(Xn,oa.value||""));break;case 8:const ra=zn(Xn);Zo.items.push(ra.node),rr=ra.nextConsumeToken||null;break}}while(Yo.currentType!==14&&Yo.currentType!==1);const nr=Yo.currentType===1?Yo.lastOffset:Xn.currentOffset(),ta=Yo.currentType===1?Yo.lastEndLoc:Xn.currentPosition();return Nn(Zo,nr,ta),Zo}function Yn(Xn,Yo,qo,Jo){const Zo=Xn.context();let rr=Jo.items.length===0;const nr=In(1,Yo,qo);nr.cases=[],nr.cases.push(Jo);do{const ta=Wn(Xn);rr||(rr=ta.items.length===0),nr.cases.push(ta)}while(Zo.currentType!==14);return rr&&Pn(Xn,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,qo,0),Nn(nr,Xn.currentOffset(),Xn.currentPosition()),nr}function Gn(Xn){const Yo=Xn.context(),{offset:qo,startLoc:Jo}=Yo,Zo=Wn(Xn);return Yo.currentType===14?Zo:Yn(Xn,qo,Jo,Zo)}function Go(Xn){const Yo=createTokenizer(Xn,assign$1({},$n)),qo=Yo.context(),Jo=In(0,qo.offset,qo.startLoc);return Cn&&Jo.loc&&(Jo.loc.source=Xn),Jo.body=Gn(Yo),$n.onCacheKey&&(Jo.cacheKey=$n.onCacheKey(Xn)),qo.currentType!==14&&Pn(Yo,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,qo.lastStartLoc,0,Xn[qo.offset]||""),Nn(Jo,Yo.currentOffset(),Yo.currentPosition()),Jo}return{parse:Go}}function getTokenCaption($n){if($n.type===14)return"EOF";const Cn=($n.value||"").replace(/\r?\n/gu,"\\n");return Cn.length>10?Cn.slice(0,9)+"…":Cn}function createTransformer($n,Cn={}){const _n={ast:$n,helpers:new Set};return{context:()=>_n,helper:Nn=>(_n.helpers.add(Nn),Nn)}}function traverseNodes($n,Cn){for(let _n=0;_n<$n.length;_n++)traverseNode($n[_n],Cn)}function traverseNode($n,Cn){switch($n.type){case 1:traverseNodes($n.cases,Cn),Cn.helper("plural");break;case 2:traverseNodes($n.items,Cn);break;case 6:traverseNode($n.key,Cn),Cn.helper("linked"),Cn.helper("type");break;case 5:Cn.helper("interpolate"),Cn.helper("list");break;case 4:Cn.helper("interpolate"),Cn.helper("named");break}}function transform($n,Cn={}){const _n=createTransformer($n);_n.helper("normalize"),$n.body&&traverseNode($n.body,_n);const Pn=_n.context();$n.helpers=Array.from(Pn.helpers)}function optimize($n){const Cn=$n.body;return Cn.type===2?optimizeMessageNode(Cn):Cn.cases.forEach(_n=>optimizeMessageNode(_n)),$n}function optimizeMessageNode($n){if($n.items.length===1){const Cn=$n.items[0];(Cn.type===3||Cn.type===9)&&($n.static=Cn.value,delete Cn.value)}else{const Cn=[];for(let _n=0;_n<$n.items.length;_n++){const Pn=$n.items[_n];if(!(Pn.type===3||Pn.type===9)||Pn.value==null)break;Cn.push(Pn.value)}if(Cn.length===$n.items.length){$n.static=join(Cn);for(let _n=0;_n<$n.items.length;_n++){const Pn=$n.items[_n];(Pn.type===3||Pn.type===9)&&delete Pn.value}}}}const ERROR_DOMAIN$1="minifier";function minify($n){switch($n.t=$n.type,$n.type){case 0:const Cn=$n;minify(Cn.body),Cn.b=Cn.body,delete Cn.body;break;case 1:const _n=$n,Pn=_n.cases;for(let Bn=0;Bn<Pn.length;Bn++)minify(Pn[Bn]);_n.c=Pn,delete _n.cases;break;case 2:const In=$n,Nn=In.items;for(let Bn=0;Bn<Nn.length;Bn++)minify(Nn[Bn]);In.i=Nn,delete In.items,In.static&&(In.s=In.static,delete In.static);break;case 3:case 9:case 8:case 7:const Rn=$n;Rn.value&&(Rn.v=Rn.value,delete Rn.value);break;case 6:const Dn=$n;minify(Dn.key),Dn.k=Dn.key,delete Dn.key,Dn.modifier&&(minify(Dn.modifier),Dn.m=Dn.modifier,delete Dn.modifier);break;case 5:const Ln=$n;Ln.i=Ln.index,delete Ln.index;break;case 4:const Fn=$n;Fn.k=Fn.key,delete Fn.key;break;default:throw createCompileError(CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:ERROR_DOMAIN$1,args:[$n.type]})}delete $n.type}const ERROR_DOMAIN="parser";function createCodeGenerator($n,Cn){const{sourceMap:_n,filename:Pn,breakLineCode:In,needIndent:Nn}=Cn,Rn=Cn.location!==!1,Dn={filename:Pn,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:In,needIndent:Nn,indentLevel:0};Rn&&$n.loc&&(Dn.source=$n.loc.source);const Ln=()=>Dn;function Fn(Go,Xn){Dn.code+=Go}function Bn(Go,Xn=!0){const Yo=Xn?In:"";Fn(Nn?Yo+" ".repeat(Go):Yo)}function Hn(Go=!0){const Xn=++Dn.indentLevel;Go&&Bn(Xn)}function zn(Go=!0){const Xn=--Dn.indentLevel;Go&&Bn(Xn)}function Wn(){Bn(Dn.indentLevel)}return{context:Ln,push:Fn,indent:Hn,deindent:zn,newline:Wn,helper:Go=>`_${Go}`,needIndent:()=>Dn.needIndent}}function generateLinkedNode($n,Cn){const{helper:_n}=$n;$n.push(`${_n("linked")}(`),generateNode($n,Cn.key),Cn.modifier?($n.push(", "),generateNode($n,Cn.modifier),$n.push(", _type")):$n.push(", undefined, _type"),$n.push(")")}function generateMessageNode($n,Cn){const{helper:_n,needIndent:Pn}=$n;$n.push(`${_n("normalize")}([`),$n.indent(Pn());const In=Cn.items.length;for(let Nn=0;Nn<In&&(generateNode($n,Cn.items[Nn]),Nn!==In-1);Nn++)$n.push(", ");$n.deindent(Pn()),$n.push("])")}function generatePluralNode($n,Cn){const{helper:_n,needIndent:Pn}=$n;if(Cn.cases.length>1){$n.push(`${_n("plural")}([`),$n.indent(Pn());const In=Cn.cases.length;for(let Nn=0;Nn<In&&(generateNode($n,Cn.cases[Nn]),Nn!==In-1);Nn++)$n.push(", ");$n.deindent(Pn()),$n.push("])")}}function generateResource($n,Cn){Cn.body?generateNode($n,Cn.body):$n.push("null")}function generateNode($n,Cn){const{helper:_n}=$n;switch(Cn.type){case 0:generateResource($n,Cn);break;case 1:generatePluralNode($n,Cn);break;case 2:generateMessageNode($n,Cn);break;case 6:generateLinkedNode($n,Cn);break;case 8:$n.push(JSON.stringify(Cn.value),Cn);break;case 7:$n.push(JSON.stringify(Cn.value),Cn);break;case 5:$n.push(`${_n("interpolate")}(${_n("list")}(${Cn.index}))`,Cn);break;case 4:$n.push(`${_n("interpolate")}(${_n("named")}(${JSON.stringify(Cn.key)}))`,Cn);break;case 9:$n.push(JSON.stringify(Cn.value),Cn);break;case 3:$n.push(JSON.stringify(Cn.value),Cn);break;default:throw createCompileError(CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:ERROR_DOMAIN,args:[Cn.type]})}}const generate=($n,Cn={})=>{const _n=isString(Cn.mode)?Cn.mode:"normal",Pn=isString(Cn.filename)?Cn.filename:"message.intl",In=!!Cn.sourceMap,Nn=Cn.breakLineCode!=null?Cn.breakLineCode:_n==="arrow"?";":`
-`,Rn=Cn.needIndent?Cn.needIndent:_n!=="arrow",Dn=$n.helpers||[],Ln=createCodeGenerator($n,{mode:_n,filename:Pn,sourceMap:In,breakLineCode:Nn,needIndent:Rn});Ln.push(_n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),Ln.indent(Rn),Dn.length>0&&(Ln.push(`const { ${join(Dn.map(Hn=>`${Hn}: _${Hn}`),", ")} } = ctx`),Ln.newline()),Ln.push("return "),generateNode(Ln,$n),Ln.deindent(Rn),Ln.push("}"),delete $n.helpers;const{code:Fn,map:Bn}=Ln.context();return{ast:$n,code:Fn,map:Bn?Bn.toJSON():void 0}};function baseCompile$1($n,Cn={}){const _n=assign$1({},Cn),Pn=!!_n.jit,In=!!_n.minify,Nn=_n.optimize==null?!0:_n.optimize,Dn=createParser(_n).parse($n);return Pn?(Nn&&optimize(Dn),In&&minify(Dn),{ast:Dn,code:""}):(transform(Dn,_n),generate(Dn,_n))}/*!
- * core-base v9.9.1
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]};pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]};pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]};pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral($n){return literalValueRE.test($n)}function stripQuotes($n){const Cn=$n.charCodeAt(0),_n=$n.charCodeAt($n.length-1);return Cn===_n&&(Cn===34||Cn===39)?$n.slice(1,-1):$n}function getPathCharType($n){if($n==null)return"o";switch($n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return $n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath($n){const Cn=$n.trim();return $n.charAt(0)==="0"&&isNaN(parseInt($n))?!1:isLiteral(Cn)?stripQuotes(Cn):"*"+Cn}function parse$1($n){const Cn=[];let _n=-1,Pn=0,In=0,Nn,Rn,Dn,Ln,Fn,Bn,Hn;const zn=[];zn[0]=()=>{Rn===void 0?Rn=Dn:Rn+=Dn},zn[1]=()=>{Rn!==void 0&&(Cn.push(Rn),Rn=void 0)},zn[2]=()=>{zn[0](),In++},zn[3]=()=>{if(In>0)In--,Pn=4,zn[0]();else{if(In=0,Rn===void 0||(Rn=formatSubPath(Rn),Rn===!1))return!1;zn[1]()}};function Wn(){const Yn=$n[_n+1];if(Pn===5&&Yn==="'"||Pn===6&&Yn==='"')return _n++,Dn="\\"+Yn,zn[0](),!0}for(;Pn!==null;)if(_n++,Nn=$n[_n],!(Nn==="\\"&&Wn())){if(Ln=getPathCharType(Nn),Hn=pathStateMachine[Pn],Fn=Hn[Ln]||Hn.l||8,Fn===8||(Pn=Fn[0],Fn[1]!==void 0&&(Bn=zn[Fn[1]],Bn&&(Dn=Nn,Bn()===!1))))return;if(Pn===7)return Cn}}const cache=new Map;function resolveWithKeyValue($n,Cn){return isObject$3($n)?$n[Cn]:null}function resolveValue($n,Cn){if(!isObject$3($n))return null;let _n=cache.get(Cn);if(_n||(_n=parse$1(Cn),_n&&cache.set(Cn,_n)),!_n)return null;const Pn=_n.length;let In=$n,Nn=0;for(;Nn<Pn;){const Rn=In[_n[Nn]];if(Rn===void 0||isFunction(In))return null;In=Rn,Nn++}return In}const DEFAULT_MODIFIER=$n=>$n,DEFAULT_MESSAGE=$n=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=$n=>$n.length===0?"":join$1($n),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault($n,Cn){return $n=Math.abs($n),Cn===2?$n?$n>1?1:0:1:$n?Math.min($n,2):0}function getPluralIndex($n){const Cn=isNumber($n.pluralIndex)?$n.pluralIndex:-1;return $n.named&&(isNumber($n.named.count)||isNumber($n.named.n))?isNumber($n.named.count)?$n.named.count:isNumber($n.named.n)?$n.named.n:Cn:Cn}function normalizeNamed($n,Cn){Cn.count||(Cn.count=$n),Cn.n||(Cn.n=$n)}function createMessageContext($n={}){const Cn=$n.locale,_n=getPluralIndex($n),Pn=isObject$3($n.pluralRules)&&isString$1(Cn)&&isFunction($n.pluralRules[Cn])?$n.pluralRules[Cn]:pluralDefault,In=isObject$3($n.pluralRules)&&isString$1(Cn)&&isFunction($n.pluralRules[Cn])?pluralDefault:void 0,Nn=Xn=>Xn[Pn(_n,Xn.length,In)],Rn=$n.list||[],Dn=Xn=>Rn[Xn],Ln=$n.named||{};isNumber($n.pluralIndex)&&normalizeNamed(_n,Ln);const Fn=Xn=>Ln[Xn];function Bn(Xn){const Yo=isFunction($n.messages)?$n.messages(Xn):isObject$3($n.messages)?$n.messages[Xn]:!1;return Yo||($n.parent?$n.parent.message(Xn):DEFAULT_MESSAGE)}const Hn=Xn=>$n.modifiers?$n.modifiers[Xn]:DEFAULT_MODIFIER,zn=isPlainObject$1($n.processor)&&isFunction($n.processor.normalize)?$n.processor.normalize:DEFAULT_NORMALIZE,Wn=isPlainObject$1($n.processor)&&isFunction($n.processor.interpolate)?$n.processor.interpolate:DEFAULT_INTERPOLATE,Yn=isPlainObject$1($n.processor)&&isString$1($n.processor.type)?$n.processor.type:DEFAULT_MESSAGE_DATA_TYPE,Go={list:Dn,named:Fn,plural:Nn,linked:(Xn,...Yo)=>{const[qo,Jo]=Yo;let Zo="text",rr="";Yo.length===1?isObject$3(qo)?(rr=qo.modifier||rr,Zo=qo.type||Zo):isString$1(qo)&&(rr=qo||rr):Yo.length===2&&(isString$1(qo)&&(rr=qo||rr),isString$1(Jo)&&(Zo=Jo||Zo));const nr=Bn(Xn)(Go),ta=Zo==="vnode"&&isArray(nr)&&rr?nr[0]:nr;return rr?Hn(rr)(ta,Zo):ta},message:Bn,type:Yn,interpolate:Wn,normalize:zn,values:assign$2({},Rn,Ln)};return Go}let devtools=null;function setDevToolsHook($n){devtools=$n}function initI18nDevTools($n,Cn,_n){devtools&&devtools.emit("i18n:init",{timestamp:Date.now(),i18n:$n,version:Cn,meta:_n})}const translateDevTools=createDevToolsHook("function:translate");function createDevToolsHook($n){return Cn=>devtools&&devtools.emit($n,Cn)}const CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},code$2=CompileErrorCodes.__EXTEND_POINT__,inc$2=incrementer(code$2),CoreErrorCodes={INVALID_ARGUMENT:code$2,INVALID_DATE_ARGUMENT:inc$2(),INVALID_ISO_DATE_ARGUMENT:inc$2(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$2(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:inc$2(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:inc$2(),NOT_SUPPORT_LOCALE_TYPE:inc$2(),__EXTEND_POINT__:inc$2()};function createCoreError($n){return createCompileError($n,null,void 0)}function getLocale($n,Cn){return Cn.locale!=null?resolveLocale(Cn.locale):resolveLocale($n.locale)}let _resolveLocale;function resolveLocale($n){if(isString$1($n))return $n;if(isFunction($n)){if($n.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if($n.constructor.name==="Function"){const Cn=$n();if(isPromise(Cn))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=Cn}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple($n,Cn,_n){return[...new Set([_n,...isArray(Cn)?Cn:isObject$3(Cn)?Object.keys(Cn):isString$1(Cn)?[Cn]:[_n]])]}function fallbackWithLocaleChain($n,Cn,_n){const Pn=isString$1(_n)?_n:DEFAULT_LOCALE,In=$n;In.__localeChainCache||(In.__localeChainCache=new Map);let Nn=In.__localeChainCache.get(Pn);if(!Nn){Nn=[];let Rn=[_n];for(;isArray(Rn);)Rn=appendBlockToChain(Nn,Rn,Cn);const Dn=isArray(Cn)||!isPlainObject$1(Cn)?Cn:Cn.default?Cn.default:null;Rn=isString$1(Dn)?[Dn]:Dn,isArray(Rn)&&appendBlockToChain(Nn,Rn,!1),In.__localeChainCache.set(Pn,Nn)}return Nn}function appendBlockToChain($n,Cn,_n){let Pn=!0;for(let In=0;In<Cn.length&&isBoolean(Pn);In++){const Nn=Cn[In];isString$1(Nn)&&(Pn=appendLocaleToChain($n,Cn[In],_n))}return Pn}function appendLocaleToChain($n,Cn,_n){let Pn;const In=Cn.split("-");do{const Nn=In.join("-");Pn=appendItemToChain($n,Nn,_n),In.splice(-1,1)}while(In.length&&Pn===!0);return Pn}function appendItemToChain($n,Cn,_n){let Pn=!1;if(!$n.includes(Cn)&&(Pn=!0,Cn)){Pn=Cn[Cn.length-1]!=="!";const In=Cn.replace(/!/g,"");$n.push(In),(isArray(_n)||isPlainObject$1(_n))&&_n[In]&&(Pn=_n[In])}return Pn}const VERSION$1="9.9.1",NOT_REOSLVED=-1,DEFAULT_LOCALE="en-US",MISSING_RESOLVE_VALUE="",capitalize=$n=>`${$n.charAt(0).toLocaleUpperCase()}${$n.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:($n,Cn)=>Cn==="text"&&isString$1($n)?$n.toUpperCase():Cn==="vnode"&&isObject$3($n)&&"__v_isVNode"in $n?$n.children.toUpperCase():$n,lower:($n,Cn)=>Cn==="text"&&isString$1($n)?$n.toLowerCase():Cn==="vnode"&&isObject$3($n)&&"__v_isVNode"in $n?$n.children.toLowerCase():$n,capitalize:($n,Cn)=>Cn==="text"&&isString$1($n)?capitalize($n):Cn==="vnode"&&isObject$3($n)&&"__v_isVNode"in $n?capitalize($n.children):$n}}let _compiler;function registerMessageCompiler($n){_compiler=$n}let _resolver;function registerMessageResolver($n){_resolver=$n}let _fallbacker;function registerLocaleFallbacker($n){_fallbacker=$n}let _additionalMeta=null;const setAdditionalMeta=$n=>{_additionalMeta=$n},getAdditionalMeta=()=>_additionalMeta;let _fallbackContext=null;const setFallbackContext=$n=>{_fallbackContext=$n},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext($n={}){const Cn=isFunction($n.onWarn)?$n.onWarn:warn,_n=isString$1($n.version)?$n.version:VERSION$1,Pn=isString$1($n.locale)||isFunction($n.locale)?$n.locale:DEFAULT_LOCALE,In=isFunction(Pn)?DEFAULT_LOCALE:Pn,Nn=isArray($n.fallbackLocale)||isPlainObject$1($n.fallbackLocale)||isString$1($n.fallbackLocale)||$n.fallbackLocale===!1?$n.fallbackLocale:In,Rn=isPlainObject$1($n.messages)?$n.messages:{[In]:{}},Dn=isPlainObject$1($n.datetimeFormats)?$n.datetimeFormats:{[In]:{}},Ln=isPlainObject$1($n.numberFormats)?$n.numberFormats:{[In]:{}},Fn=assign$2({},$n.modifiers||{},getDefaultLinkedModifiers()),Bn=$n.pluralRules||{},Hn=isFunction($n.missing)?$n.missing:null,zn=isBoolean($n.missingWarn)||isRegExp($n.missingWarn)?$n.missingWarn:!0,Wn=isBoolean($n.fallbackWarn)||isRegExp($n.fallbackWarn)?$n.fallbackWarn:!0,Yn=!!$n.fallbackFormat,Gn=!!$n.unresolving,Go=isFunction($n.postTranslation)?$n.postTranslation:null,Xn=isPlainObject$1($n.processor)?$n.processor:null,Yo=isBoolean($n.warnHtmlMessage)?$n.warnHtmlMessage:!0,qo=!!$n.escapeParameter,Jo=isFunction($n.messageCompiler)?$n.messageCompiler:_compiler,Zo=isFunction($n.messageResolver)?$n.messageResolver:_resolver||resolveWithKeyValue,rr=isFunction($n.localeFallbacker)?$n.localeFallbacker:_fallbacker||fallbackWithSimple,nr=isObject$3($n.fallbackContext)?$n.fallbackContext:void 0,ta=$n,oa=isObject$3(ta.__datetimeFormatters)?ta.__datetimeFormatters:new Map,ra=isObject$3(ta.__numberFormatters)?ta.__numberFormatters:new Map,ea=isObject$3(ta.__meta)?ta.__meta:{};_cid++;const la={version:_n,cid:_cid,locale:Pn,fallbackLocale:Nn,messages:Rn,modifiers:Fn,pluralRules:Bn,missing:Hn,missingWarn:zn,fallbackWarn:Wn,fallbackFormat:Yn,unresolving:Gn,postTranslation:Go,processor:Xn,warnHtmlMessage:Yo,escapeParameter:qo,messageCompiler:Jo,messageResolver:Zo,localeFallbacker:rr,fallbackContext:nr,onWarn:Cn,__meta:ea};return la.datetimeFormats=Dn,la.numberFormats=Ln,la.__datetimeFormatters=oa,la.__numberFormatters=ra,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(la,_n,ea),la}function handleMissing($n,Cn,_n,Pn,In){const{missing:Nn,onWarn:Rn}=$n;if(Nn!==null){const Dn=Nn($n,_n,Cn,In);return isString$1(Dn)?Dn:Cn}else return Cn}function updateFallbackLocale($n,Cn,_n){const Pn=$n;Pn.__localeChainCache=new Map,$n.localeFallbacker($n,_n,Cn)}function format($n){return _n=>formatParts(_n,$n)}function formatParts($n,Cn){const _n=Cn.b||Cn.body;if((_n.t||_n.type)===1){const Pn=_n,In=Pn.c||Pn.cases;return $n.plural(In.reduce((Nn,Rn)=>[...Nn,formatMessageParts($n,Rn)],[]))}else return formatMessageParts($n,_n)}function formatMessageParts($n,Cn){const _n=Cn.s||Cn.static;if(_n)return $n.type==="text"?_n:$n.normalize([_n]);{const Pn=(Cn.i||Cn.items).reduce((In,Nn)=>[...In,formatMessagePart($n,Nn)],[]);return $n.normalize(Pn)}}function formatMessagePart($n,Cn){const _n=Cn.t||Cn.type;switch(_n){case 3:const Pn=Cn;return Pn.v||Pn.value;case 9:const In=Cn;return In.v||In.value;case 4:const Nn=Cn;return $n.interpolate($n.named(Nn.k||Nn.key));case 5:const Rn=Cn;return $n.interpolate($n.list(Rn.i!=null?Rn.i:Rn.index));case 6:const Dn=Cn,Ln=Dn.m||Dn.modifier;return $n.linked(formatMessagePart($n,Dn.k||Dn.key),Ln?formatMessagePart($n,Ln):void 0,$n.type);case 7:const Fn=Cn;return Fn.v||Fn.value;case 8:const Bn=Cn;return Bn.v||Bn.value;default:throw new Error(`unhandled node type on format message part: ${_n}`)}}const defaultOnCacheKey=$n=>$n;let compileCache=Object.create(null);const isMessageAST=$n=>isObject$3($n)&&($n.t===0||$n.type===0)&&("b"in $n||"body"in $n);function baseCompile($n,Cn={}){let _n=!1;const Pn=Cn.onError||defaultOnError;return Cn.onError=In=>{_n=!0,Pn(In)},{...baseCompile$1($n,Cn),detectError:_n}}const compileToFunction=($n,Cn)=>{if(!isString$1($n))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE);{isBoolean(Cn.warnHtmlMessage)&&Cn.warnHtmlMessage;const Pn=(Cn.onCacheKey||defaultOnCacheKey)($n),In=compileCache[Pn];if(In)return In;const{code:Nn,detectError:Rn}=baseCompile($n,Cn),Dn=new Function(`return ${Nn}`)();return Rn?Dn:compileCache[Pn]=Dn}};function compile($n,Cn){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString$1($n)){isBoolean(Cn.warnHtmlMessage)&&Cn.warnHtmlMessage;const Pn=(Cn.onCacheKey||defaultOnCacheKey)($n),In=compileCache[Pn];if(In)return In;const{ast:Nn,detectError:Rn}=baseCompile($n,{...Cn,location:!1,jit:!0}),Dn=format(Nn);return Rn?Dn:compileCache[Pn]=Dn}else{const _n=$n.cacheKey;if(_n){const Pn=compileCache[_n];return Pn||(compileCache[_n]=format($n))}else return format($n)}}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=$n=>isFunction($n);function translate($n,...Cn){const{fallbackFormat:_n,postTranslation:Pn,unresolving:In,messageCompiler:Nn,fallbackLocale:Rn,messages:Dn}=$n,[Ln,Fn]=parseTranslateArgs(...Cn),Bn=isBoolean(Fn.missingWarn)?Fn.missingWarn:$n.missingWarn,Hn=isBoolean(Fn.fallbackWarn)?Fn.fallbackWarn:$n.fallbackWarn,zn=isBoolean(Fn.escapeParameter)?Fn.escapeParameter:$n.escapeParameter,Wn=!!Fn.resolvedMessage,Yn=isString$1(Fn.default)||isBoolean(Fn.default)?isBoolean(Fn.default)?Nn?Ln:()=>Ln:Fn.default:_n?Nn?Ln:()=>Ln:"",Gn=_n||Yn!=="",Go=getLocale($n,Fn);zn&&escapeParams(Fn);let[Xn,Yo,qo]=Wn?[Ln,Go,Dn[Go]||{}]:resolveMessageFormat($n,Ln,Go,Rn,Hn,Bn),Jo=Xn,Zo=Ln;if(!Wn&&!(isString$1(Jo)||isMessageAST(Jo)||isMessageFunction(Jo))&&Gn&&(Jo=Yn,Zo=Jo),!Wn&&(!(isString$1(Jo)||isMessageAST(Jo)||isMessageFunction(Jo))||!isString$1(Yo)))return In?NOT_REOSLVED:Ln;let rr=!1;const nr=()=>{rr=!0},ta=isMessageFunction(Jo)?Jo:compileMessageFormat($n,Ln,Yo,Jo,Zo,nr);if(rr)return Jo;const oa=getMessageContextOptions($n,Yo,qo,Fn),ra=createMessageContext(oa),ea=evaluateMessage($n,ta,ra),la=Pn?Pn(ea,Ln):ea;if(__INTLIFY_PROD_DEVTOOLS__){const ua={timestamp:Date.now(),key:isString$1(Ln)?Ln:isMessageFunction(Jo)?Jo.key:"",locale:Yo||(isMessageFunction(Jo)?Jo.locale:""),format:isString$1(Jo)?Jo:isMessageFunction(Jo)?Jo.source:"",message:la};ua.meta=assign$2({},$n.__meta,getAdditionalMeta()||{}),translateDevTools(ua)}return la}function escapeParams($n){isArray($n.list)?$n.list=$n.list.map(Cn=>isString$1(Cn)?escapeHtml(Cn):Cn):isObject$3($n.named)&&Object.keys($n.named).forEach(Cn=>{isString$1($n.named[Cn])&&($n.named[Cn]=escapeHtml($n.named[Cn]))})}function resolveMessageFormat($n,Cn,_n,Pn,In,Nn){const{messages:Rn,onWarn:Dn,messageResolver:Ln,localeFallbacker:Fn}=$n,Bn=Fn($n,Pn,_n);let Hn={},zn,Wn=null;const Yn="translate";for(let Gn=0;Gn<Bn.length&&(zn=Bn[Gn],Hn=Rn[zn]||{},(Wn=Ln(Hn,Cn))===null&&(Wn=Hn[Cn]),!(isString$1(Wn)||isMessageAST(Wn)||isMessageFunction(Wn)));Gn++){const Go=handleMissing($n,Cn,zn,Nn,Yn);Go!==Cn&&(Wn=Go)}return[Wn,zn,Hn]}function compileMessageFormat($n,Cn,_n,Pn,In,Nn){const{messageCompiler:Rn,warnHtmlMessage:Dn}=$n;if(isMessageFunction(Pn)){const Fn=Pn;return Fn.locale=Fn.locale||_n,Fn.key=Fn.key||Cn,Fn}if(Rn==null){const Fn=()=>Pn;return Fn.locale=_n,Fn.key=Cn,Fn}const Ln=Rn(Pn,getCompileContext($n,_n,In,Pn,Dn,Nn));return Ln.locale=_n,Ln.key=Cn,Ln.source=Pn,Ln}function evaluateMessage($n,Cn,_n){return Cn(_n)}function parseTranslateArgs(...$n){const[Cn,_n,Pn]=$n,In={};if(!isString$1(Cn)&&!isNumber(Cn)&&!isMessageFunction(Cn)&&!isMessageAST(Cn))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const Nn=isNumber(Cn)?String(Cn):(isMessageFunction(Cn),Cn);return isNumber(_n)?In.plural=_n:isString$1(_n)?In.default=_n:isPlainObject$1(_n)&&!isEmptyObject(_n)?In.named=_n:isArray(_n)&&(In.list=_n),isNumber(Pn)?In.plural=Pn:isString$1(Pn)?In.default=Pn:isPlainObject$1(Pn)&&assign$2(In,Pn),[Nn,In]}function getCompileContext($n,Cn,_n,Pn,In,Nn){return{locale:Cn,key:_n,warnHtmlMessage:In,onError:Rn=>{throw Nn&&Nn(Rn),Rn},onCacheKey:Rn=>generateFormatCacheKey(Cn,_n,Rn)}}function getMessageContextOptions($n,Cn,_n,Pn){const{modifiers:In,pluralRules:Nn,messageResolver:Rn,fallbackLocale:Dn,fallbackWarn:Ln,missingWarn:Fn,fallbackContext:Bn}=$n,zn={locale:Cn,modifiers:In,pluralRules:Nn,messages:Wn=>{let Yn=Rn(_n,Wn);if(Yn==null&&Bn){const[,,Gn]=resolveMessageFormat(Bn,Wn,Cn,Dn,Ln,Fn);Yn=Rn(Gn,Wn)}if(isString$1(Yn)||isMessageAST(Yn)){let Gn=!1;const Xn=compileMessageFormat($n,Wn,Cn,Yn,Wn,()=>{Gn=!0});return Gn?NOOP_MESSAGE_FUNCTION:Xn}else return isMessageFunction(Yn)?Yn:NOOP_MESSAGE_FUNCTION}};return $n.processor&&(zn.processor=$n.processor),Pn.list&&(zn.list=Pn.list),Pn.named&&(zn.named=Pn.named),isNumber(Pn.plural)&&(zn.pluralIndex=Pn.plural),zn}function datetime($n,...Cn){const{datetimeFormats:_n,unresolving:Pn,fallbackLocale:In,onWarn:Nn,localeFallbacker:Rn}=$n,{__datetimeFormatters:Dn}=$n,[Ln,Fn,Bn,Hn]=parseDateTimeArgs(...Cn),zn=isBoolean(Bn.missingWarn)?Bn.missingWarn:$n.missingWarn;isBoolean(Bn.fallbackWarn)?Bn.fallbackWarn:$n.fallbackWarn;const Wn=!!Bn.part,Yn=getLocale($n,Bn),Gn=Rn($n,In,Yn);if(!isString$1(Ln)||Ln==="")return new Intl.DateTimeFormat(Yn,Hn).format(Fn);let Go={},Xn,Yo=null;const qo="datetime format";for(let rr=0;rr<Gn.length&&(Xn=Gn[rr],Go=_n[Xn]||{},Yo=Go[Ln],!isPlainObject$1(Yo));rr++)handleMissing($n,Ln,Xn,zn,qo);if(!isPlainObject$1(Yo)||!isString$1(Xn))return Pn?NOT_REOSLVED:Ln;let Jo=`${Xn}__${Ln}`;isEmptyObject(Hn)||(Jo=`${Jo}__${JSON.stringify(Hn)}`);let Zo=Dn.get(Jo);return Zo||(Zo=new Intl.DateTimeFormat(Xn,assign$2({},Yo,Hn)),Dn.set(Jo,Zo)),Wn?Zo.formatToParts(Fn):Zo.format(Fn)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...$n){const[Cn,_n,Pn,In]=$n,Nn={};let Rn={},Dn;if(isString$1(Cn)){const Ln=Cn.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!Ln)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const Fn=Ln[3]?Ln[3].trim().startsWith("T")?`${Ln[1].trim()}${Ln[3].trim()}`:`${Ln[1].trim()}T${Ln[3].trim()}`:Ln[1].trim();Dn=new Date(Fn);try{Dn.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate(Cn)){if(isNaN(Cn.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);Dn=Cn}else if(isNumber(Cn))Dn=Cn;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$1(_n)?Nn.key=_n:isPlainObject$1(_n)&&Object.keys(_n).forEach(Ln=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(Ln)?Rn[Ln]=_n[Ln]:Nn[Ln]=_n[Ln]}),isString$1(Pn)?Nn.locale=Pn:isPlainObject$1(Pn)&&(Rn=Pn),isPlainObject$1(In)&&(Rn=In),[Nn.key||"",Dn,Nn,Rn]}function clearDateTimeFormat($n,Cn,_n){const Pn=$n;for(const In in _n){const Nn=`${Cn}__${In}`;Pn.__datetimeFormatters.has(Nn)&&Pn.__datetimeFormatters.delete(Nn)}}function number($n,...Cn){const{numberFormats:_n,unresolving:Pn,fallbackLocale:In,onWarn:Nn,localeFallbacker:Rn}=$n,{__numberFormatters:Dn}=$n,[Ln,Fn,Bn,Hn]=parseNumberArgs(...Cn),zn=isBoolean(Bn.missingWarn)?Bn.missingWarn:$n.missingWarn;isBoolean(Bn.fallbackWarn)?Bn.fallbackWarn:$n.fallbackWarn;const Wn=!!Bn.part,Yn=getLocale($n,Bn),Gn=Rn($n,In,Yn);if(!isString$1(Ln)||Ln==="")return new Intl.NumberFormat(Yn,Hn).format(Fn);let Go={},Xn,Yo=null;const qo="number format";for(let rr=0;rr<Gn.length&&(Xn=Gn[rr],Go=_n[Xn]||{},Yo=Go[Ln],!isPlainObject$1(Yo));rr++)handleMissing($n,Ln,Xn,zn,qo);if(!isPlainObject$1(Yo)||!isString$1(Xn))return Pn?NOT_REOSLVED:Ln;let Jo=`${Xn}__${Ln}`;isEmptyObject(Hn)||(Jo=`${Jo}__${JSON.stringify(Hn)}`);let Zo=Dn.get(Jo);return Zo||(Zo=new Intl.NumberFormat(Xn,assign$2({},Yo,Hn)),Dn.set(Jo,Zo)),Wn?Zo.formatToParts(Fn):Zo.format(Fn)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...$n){const[Cn,_n,Pn,In]=$n,Nn={};let Rn={};if(!isNumber(Cn))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const Dn=Cn;return isString$1(_n)?Nn.key=_n:isPlainObject$1(_n)&&Object.keys(_n).forEach(Ln=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(Ln)?Rn[Ln]=_n[Ln]:Nn[Ln]=_n[Ln]}),isString$1(Pn)?Nn.locale=Pn:isPlainObject$1(Pn)&&(Rn=Pn),isPlainObject$1(In)&&(Rn=In),[Nn.key||"",Dn,Nn,Rn]}function clearNumberFormat($n,Cn,_n){const Pn=$n;for(const In in _n){const Nn=`${Cn}__${In}`;Pn.__numberFormatters.has(Nn)&&Pn.__numberFormatters.delete(Nn)}}initFeatureFlags$1();/*!
- * vue-i18n v9.9.1
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */const VERSION="9.9.1";function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(getGlobalThis().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const code$1=CoreWarnCodes.__EXTEND_POINT__,inc$1=incrementer(code$1);inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1();const code=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError($n,...Cn){return createCompileError($n,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson($n){if(!isObject$3($n))return $n;for(const Cn in $n)if(hasOwn($n,Cn))if(!Cn.includes("."))isObject$3($n[Cn])&&handleFlatJson($n[Cn]);else{const _n=Cn.split("."),Pn=_n.length-1;let In=$n,Nn=!1;for(let Rn=0;Rn<Pn;Rn++){if(_n[Rn]in In||(In[_n[Rn]]={}),!isObject$3(In[_n[Rn]])){Nn=!0;break}In=In[_n[Rn]]}Nn||(In[_n[Pn]]=$n[Cn],delete $n[Cn]),isObject$3(In[_n[Pn]])&&handleFlatJson(In[_n[Pn]])}return $n}function getLocaleMessages($n,Cn){const{messages:_n,__i18n:Pn,messageResolver:In,flatJson:Nn}=Cn,Rn=isPlainObject$1(_n)?_n:isArray(Pn)?{}:{[$n]:{}};if(isArray(Pn)&&Pn.forEach(Dn=>{if("locale"in Dn&&"resource"in Dn){const{locale:Ln,resource:Fn}=Dn;Ln?(Rn[Ln]=Rn[Ln]||{},deepCopy(Fn,Rn[Ln])):deepCopy(Fn,Rn)}else isString$1(Dn)&&deepCopy(JSON.parse(Dn),Rn)}),In==null&&Nn)for(const Dn in Rn)hasOwn(Rn,Dn)&&handleFlatJson(Rn[Dn]);return Rn}function getComponentOptions($n){return $n.type}function adjustI18nResources($n,Cn,_n){let Pn=isObject$3(Cn.messages)?Cn.messages:{};"__i18nGlobal"in _n&&(Pn=getLocaleMessages($n.locale.value,{messages:Pn,__i18n:_n.__i18nGlobal}));const In=Object.keys(Pn);In.length&&In.forEach(Nn=>{$n.mergeLocaleMessage(Nn,Pn[Nn])});{if(isObject$3(Cn.datetimeFormats)){const Nn=Object.keys(Cn.datetimeFormats);Nn.length&&Nn.forEach(Rn=>{$n.mergeDateTimeFormat(Rn,Cn.datetimeFormats[Rn])})}if(isObject$3(Cn.numberFormats)){const Nn=Object.keys(Cn.numberFormats);Nn.length&&Nn.forEach(Rn=>{$n.mergeNumberFormat(Rn,Cn.numberFormats[Rn])})}}}function createTextNode($n){return createVNode(Text$2,null,$n,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler($n){return(Cn,_n,Pn,In)=>$n(_n,Pn,getCurrentInstance()||void 0,In)}const getMetaInfo=()=>{const $n=getCurrentInstance();let Cn=null;return $n&&(Cn=getComponentOptions($n)[DEVTOOLS_META])?{[DEVTOOLS_META]:Cn}:null};function createComposer($n={},Cn){const{__root:_n,__injectWithOption:Pn}=$n,In=_n===void 0,Nn=$n.flatJson,Rn=inBrowser?ref:shallowRef;let Dn=isBoolean($n.inheritLocale)?$n.inheritLocale:!0;const Ln=Rn(_n&&Dn?_n.locale.value:isString$1($n.locale)?$n.locale:DEFAULT_LOCALE),Fn=Rn(_n&&Dn?_n.fallbackLocale.value:isString$1($n.fallbackLocale)||isArray($n.fallbackLocale)||isPlainObject$1($n.fallbackLocale)||$n.fallbackLocale===!1?$n.fallbackLocale:Ln.value),Bn=Rn(getLocaleMessages(Ln.value,$n)),Hn=Rn(isPlainObject$1($n.datetimeFormats)?$n.datetimeFormats:{[Ln.value]:{}}),zn=Rn(isPlainObject$1($n.numberFormats)?$n.numberFormats:{[Ln.value]:{}});let Wn=_n?_n.missingWarn:isBoolean($n.missingWarn)||isRegExp($n.missingWarn)?$n.missingWarn:!0,Yn=_n?_n.fallbackWarn:isBoolean($n.fallbackWarn)||isRegExp($n.fallbackWarn)?$n.fallbackWarn:!0,Gn=_n?_n.fallbackRoot:isBoolean($n.fallbackRoot)?$n.fallbackRoot:!0,Go=!!$n.fallbackFormat,Xn=isFunction($n.missing)?$n.missing:null,Yo=isFunction($n.missing)?defineCoreMissingHandler($n.missing):null,qo=isFunction($n.postTranslation)?$n.postTranslation:null,Jo=_n?_n.warnHtmlMessage:isBoolean($n.warnHtmlMessage)?$n.warnHtmlMessage:!0,Zo=!!$n.escapeParameter;const rr=_n?_n.modifiers:isPlainObject$1($n.modifiers)?$n.modifiers:{};let nr=$n.pluralRules||_n&&_n.pluralRules,ta;ta=(()=>{In&&setFallbackContext(null);const Oa={version:VERSION,locale:Ln.value,fallbackLocale:Fn.value,messages:Bn.value,modifiers:rr,pluralRules:nr,missing:Yo===null?void 0:Yo,missingWarn:Wn,fallbackWarn:Yn,fallbackFormat:Go,unresolving:!0,postTranslation:qo===null?void 0:qo,warnHtmlMessage:Jo,escapeParameter:Zo,messageResolver:$n.messageResolver,messageCompiler:$n.messageCompiler,__meta:{framework:"vue"}};Oa.datetimeFormats=Hn.value,Oa.numberFormats=zn.value,Oa.__datetimeFormatters=isPlainObject$1(ta)?ta.__datetimeFormatters:void 0,Oa.__numberFormatters=isPlainObject$1(ta)?ta.__numberFormatters:void 0;const Ma=createCoreContext(Oa);return In&&setFallbackContext(Ma),Ma})(),updateFallbackLocale(ta,Ln.value,Fn.value);function ra(){return[Ln.value,Fn.value,Bn.value,Hn.value,zn.value]}const ea=computed({get:()=>Ln.value,set:Oa=>{Ln.value=Oa,ta.locale=Ln.value}}),la=computed({get:()=>Fn.value,set:Oa=>{Fn.value=Oa,ta.fallbackLocale=Fn.value,updateFallbackLocale(ta,Ln.value,Oa)}}),ua=computed(()=>Bn.value),ga=computed(()=>Hn.value),aa=computed(()=>zn.value);function ca(){return isFunction(qo)?qo:null}function sa(Oa){qo=Oa,ta.postTranslation=Oa}function ia(){return Xn}function fa(Oa){Oa!==null&&(Yo=defineCoreMissingHandler(Oa)),Xn=Oa,ta.missing=Yo}const ma=(Oa,Ma,Ua,Qa,ri,fi)=>{ra();let ei;try{__INTLIFY_PROD_DEVTOOLS__,In||(ta.fallbackContext=_n?getFallbackContext():void 0),ei=Oa(ta)}finally{__INTLIFY_PROD_DEVTOOLS__,In||(ta.fallbackContext=void 0)}if(Ua!=="translate exists"&&isNumber(ei)&&ei===NOT_REOSLVED||Ua==="translate exists"&&!ei){const[ti,ni]=Ma();return _n&&Gn?Qa(_n):ri(ti)}else{if(fi(ei))return ei;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function ya(...Oa){return ma(Ma=>Reflect.apply(translate,null,[Ma,...Oa]),()=>parseTranslateArgs(...Oa),"translate",Ma=>Reflect.apply(Ma.t,Ma,[...Oa]),Ma=>Ma,Ma=>isString$1(Ma))}function ba(...Oa){const[Ma,Ua,Qa]=Oa;if(Qa&&!isObject$3(Qa))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return ya(Ma,Ua,assign$2({resolvedMessage:!0},Qa||{}))}function Ia(...Oa){return ma(Ma=>Reflect.apply(datetime,null,[Ma,...Oa]),()=>parseDateTimeArgs(...Oa),"datetime format",Ma=>Reflect.apply(Ma.d,Ma,[...Oa]),()=>MISSING_RESOLVE_VALUE,Ma=>isString$1(Ma))}function Ea(...Oa){return ma(Ma=>Reflect.apply(number,null,[Ma,...Oa]),()=>parseNumberArgs(...Oa),"number format",Ma=>Reflect.apply(Ma.n,Ma,[...Oa]),()=>MISSING_RESOLVE_VALUE,Ma=>isString$1(Ma))}function xa(Oa){return Oa.map(Ma=>isString$1(Ma)||isNumber(Ma)||isBoolean(Ma)?createTextNode(String(Ma)):Ma)}const wa={normalize:xa,interpolate:Oa=>Oa,type:"vnode"};function La(...Oa){return ma(Ma=>{let Ua;const Qa=Ma;try{Qa.processor=wa,Ua=Reflect.apply(translate,null,[Qa,...Oa])}finally{Qa.processor=null}return Ua},()=>parseTranslateArgs(...Oa),"translate",Ma=>Ma[TranslateVNodeSymbol](...Oa),Ma=>[createTextNode(Ma)],Ma=>isArray(Ma))}function Na(...Oa){return ma(Ma=>Reflect.apply(number,null,[Ma,...Oa]),()=>parseNumberArgs(...Oa),"number format",Ma=>Ma[NumberPartsSymbol](...Oa),NOOP_RETURN_ARRAY,Ma=>isString$1(Ma)||isArray(Ma))}function $a(...Oa){return ma(Ma=>Reflect.apply(datetime,null,[Ma,...Oa]),()=>parseDateTimeArgs(...Oa),"datetime format",Ma=>Ma[DatetimePartsSymbol](...Oa),NOOP_RETURN_ARRAY,Ma=>isString$1(Ma)||isArray(Ma))}function ka(Oa){nr=Oa,ta.pluralRules=nr}function Ha(Oa,Ma){return ma(()=>{if(!Oa)return!1;const Ua=isString$1(Ma)?Ma:Ln.value,Qa=Sa(Ua),ri=ta.messageResolver(Qa,Oa);return isMessageAST(ri)||isMessageFunction(ri)||isString$1(ri)},()=>[Oa],"translate exists",Ua=>Reflect.apply(Ua.te,Ua,[Oa,Ma]),NOOP_RETURN_FALSE,Ua=>isBoolean(Ua))}function da(Oa){let Ma=null;const Ua=fallbackWithLocaleChain(ta,Fn.value,Ln.value);for(let Qa=0;Qa<Ua.length;Qa++){const ri=Bn.value[Ua[Qa]]||{},fi=ta.messageResolver(ri,Oa);if(fi!=null){Ma=fi;break}}return Ma}function pa(Oa){const Ma=da(Oa);return Ma??(_n?_n.tm(Oa)||{}:{})}function Sa(Oa){return Bn.value[Oa]||{}}function Aa(Oa,Ma){if(Nn){const Ua={[Oa]:Ma};for(const Qa in Ua)hasOwn(Ua,Qa)&&handleFlatJson(Ua[Qa]);Ma=Ua[Oa]}Bn.value[Oa]=Ma,ta.messages=Bn.value}function Ra(Oa,Ma){Bn.value[Oa]=Bn.value[Oa]||{};const Ua={[Oa]:Ma};if(Nn)for(const Qa in Ua)hasOwn(Ua,Qa)&&handleFlatJson(Ua[Qa]);Ma=Ua[Oa],deepCopy(Ma,Bn.value[Oa]),ta.messages=Bn.value}function Fa(Oa){return Hn.value[Oa]||{}}function za(Oa,Ma){Hn.value[Oa]=Ma,ta.datetimeFormats=Hn.value,clearDateTimeFormat(ta,Oa,Ma)}function Wa(Oa,Ma){Hn.value[Oa]=assign$2(Hn.value[Oa]||{},Ma),ta.datetimeFormats=Hn.value,clearDateTimeFormat(ta,Oa,Ma)}function Ya(Oa){return zn.value[Oa]||{}}function ja(Oa,Ma){zn.value[Oa]=Ma,ta.numberFormats=zn.value,clearNumberFormat(ta,Oa,Ma)}function qa(Oa,Ma){zn.value[Oa]=assign$2(zn.value[Oa]||{},Ma),ta.numberFormats=zn.value,clearNumberFormat(ta,Oa,Ma)}composerID++,_n&&inBrowser&&(watch(_n.locale,Oa=>{Dn&&(Ln.value=Oa,ta.locale=Oa,updateFallbackLocale(ta,Ln.value,Fn.value))}),watch(_n.fallbackLocale,Oa=>{Dn&&(Fn.value=Oa,ta.fallbackLocale=Oa,updateFallbackLocale(ta,Ln.value,Fn.value))}));const Xa={id:composerID,locale:ea,fallbackLocale:la,get inheritLocale(){return Dn},set inheritLocale(Oa){Dn=Oa,Oa&&_n&&(Ln.value=_n.locale.value,Fn.value=_n.fallbackLocale.value,updateFallbackLocale(ta,Ln.value,Fn.value))},get availableLocales(){return Object.keys(Bn.value).sort()},messages:ua,get modifiers(){return rr},get pluralRules(){return nr||{}},get isGlobal(){return In},get missingWarn(){return Wn},set missingWarn(Oa){Wn=Oa,ta.missingWarn=Wn},get fallbackWarn(){return Yn},set fallbackWarn(Oa){Yn=Oa,ta.fallbackWarn=Yn},get fallbackRoot(){return Gn},set fallbackRoot(Oa){Gn=Oa},get fallbackFormat(){return Go},set fallbackFormat(Oa){Go=Oa,ta.fallbackFormat=Go},get warnHtmlMessage(){return Jo},set warnHtmlMessage(Oa){Jo=Oa,ta.warnHtmlMessage=Oa},get escapeParameter(){return Zo},set escapeParameter(Oa){Zo=Oa,ta.escapeParameter=Oa},t:ya,getLocaleMessage:Sa,setLocaleMessage:Aa,mergeLocaleMessage:Ra,getPostTranslationHandler:ca,setPostTranslationHandler:sa,getMissingHandler:ia,setMissingHandler:fa,[SetPluralRulesSymbol]:ka};return Xa.datetimeFormats=ga,Xa.numberFormats=aa,Xa.rt=ba,Xa.te=Ha,Xa.tm=pa,Xa.d=Ia,Xa.n=Ea,Xa.getDateTimeFormat=Fa,Xa.setDateTimeFormat=za,Xa.mergeDateTimeFormat=Wa,Xa.getNumberFormat=Ya,Xa.setNumberFormat=ja,Xa.mergeNumberFormat=qa,Xa[InejctWithOptionSymbol]=Pn,Xa[TranslateVNodeSymbol]=La,Xa[DatetimePartsSymbol]=$a,Xa[NumberPartsSymbol]=Na,Xa}function convertComposerOptions($n){const Cn=isString$1($n.locale)?$n.locale:DEFAULT_LOCALE,_n=isString$1($n.fallbackLocale)||isArray($n.fallbackLocale)||isPlainObject$1($n.fallbackLocale)||$n.fallbackLocale===!1?$n.fallbackLocale:Cn,Pn=isFunction($n.missing)?$n.missing:void 0,In=isBoolean($n.silentTranslationWarn)||isRegExp($n.silentTranslationWarn)?!$n.silentTranslationWarn:!0,Nn=isBoolean($n.silentFallbackWarn)||isRegExp($n.silentFallbackWarn)?!$n.silentFallbackWarn:!0,Rn=isBoolean($n.fallbackRoot)?$n.fallbackRoot:!0,Dn=!!$n.formatFallbackMessages,Ln=isPlainObject$1($n.modifiers)?$n.modifiers:{},Fn=$n.pluralizationRules,Bn=isFunction($n.postTranslation)?$n.postTranslation:void 0,Hn=isString$1($n.warnHtmlInMessage)?$n.warnHtmlInMessage!=="off":!0,zn=!!$n.escapeParameterHtml,Wn=isBoolean($n.sync)?$n.sync:!0;let Yn=$n.messages;if(isPlainObject$1($n.sharedMessages)){const Zo=$n.sharedMessages;Yn=Object.keys(Zo).reduce((nr,ta)=>{const oa=nr[ta]||(nr[ta]={});return assign$2(oa,Zo[ta]),nr},Yn||{})}const{__i18n:Gn,__root:Go,__injectWithOption:Xn}=$n,Yo=$n.datetimeFormats,qo=$n.numberFormats,Jo=$n.flatJson;return{locale:Cn,fallbackLocale:_n,messages:Yn,flatJson:Jo,datetimeFormats:Yo,numberFormats:qo,missing:Pn,missingWarn:In,fallbackWarn:Nn,fallbackRoot:Rn,fallbackFormat:Dn,modifiers:Ln,pluralRules:Fn,postTranslation:Bn,warnHtmlMessage:Hn,escapeParameter:zn,messageResolver:$n.messageResolver,inheritLocale:Wn,__i18n:Gn,__root:Go,__injectWithOption:Xn}}function createVueI18n($n={},Cn){{const _n=createComposer(convertComposerOptions($n)),{__extender:Pn}=$n,In={id:_n.id,get locale(){return _n.locale.value},set locale(Nn){_n.locale.value=Nn},get fallbackLocale(){return _n.fallbackLocale.value},set fallbackLocale(Nn){_n.fallbackLocale.value=Nn},get messages(){return _n.messages.value},get datetimeFormats(){return _n.datetimeFormats.value},get numberFormats(){return _n.numberFormats.value},get availableLocales(){return _n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(Nn){},get missing(){return _n.getMissingHandler()},set missing(Nn){_n.setMissingHandler(Nn)},get silentTranslationWarn(){return isBoolean(_n.missingWarn)?!_n.missingWarn:_n.missingWarn},set silentTranslationWarn(Nn){_n.missingWarn=isBoolean(Nn)?!Nn:Nn},get silentFallbackWarn(){return isBoolean(_n.fallbackWarn)?!_n.fallbackWarn:_n.fallbackWarn},set silentFallbackWarn(Nn){_n.fallbackWarn=isBoolean(Nn)?!Nn:Nn},get modifiers(){return _n.modifiers},get formatFallbackMessages(){return _n.fallbackFormat},set formatFallbackMessages(Nn){_n.fallbackFormat=Nn},get postTranslation(){return _n.getPostTranslationHandler()},set postTranslation(Nn){_n.setPostTranslationHandler(Nn)},get sync(){return _n.inheritLocale},set sync(Nn){_n.inheritLocale=Nn},get warnHtmlInMessage(){return _n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(Nn){_n.warnHtmlMessage=Nn!=="off"},get escapeParameterHtml(){return _n.escapeParameter},set escapeParameterHtml(Nn){_n.escapeParameter=Nn},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(Nn){},get pluralizationRules(){return _n.pluralRules||{}},__composer:_n,t(...Nn){const[Rn,Dn,Ln]=Nn,Fn={};let Bn=null,Hn=null;if(!isString$1(Rn))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const zn=Rn;return isString$1(Dn)?Fn.locale=Dn:isArray(Dn)?Bn=Dn:isPlainObject$1(Dn)&&(Hn=Dn),isArray(Ln)?Bn=Ln:isPlainObject$1(Ln)&&(Hn=Ln),Reflect.apply(_n.t,_n,[zn,Bn||Hn||{},Fn])},rt(...Nn){return Reflect.apply(_n.rt,_n,[...Nn])},tc(...Nn){const[Rn,Dn,Ln]=Nn,Fn={plural:1};let Bn=null,Hn=null;if(!isString$1(Rn))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const zn=Rn;return isString$1(Dn)?Fn.locale=Dn:isNumber(Dn)?Fn.plural=Dn:isArray(Dn)?Bn=Dn:isPlainObject$1(Dn)&&(Hn=Dn),isString$1(Ln)?Fn.locale=Ln:isArray(Ln)?Bn=Ln:isPlainObject$1(Ln)&&(Hn=Ln),Reflect.apply(_n.t,_n,[zn,Bn||Hn||{},Fn])},te(Nn,Rn){return _n.te(Nn,Rn)},tm(Nn){return _n.tm(Nn)},getLocaleMessage(Nn){return _n.getLocaleMessage(Nn)},setLocaleMessage(Nn,Rn){_n.setLocaleMessage(Nn,Rn)},mergeLocaleMessage(Nn,Rn){_n.mergeLocaleMessage(Nn,Rn)},d(...Nn){return Reflect.apply(_n.d,_n,[...Nn])},getDateTimeFormat(Nn){return _n.getDateTimeFormat(Nn)},setDateTimeFormat(Nn,Rn){_n.setDateTimeFormat(Nn,Rn)},mergeDateTimeFormat(Nn,Rn){_n.mergeDateTimeFormat(Nn,Rn)},n(...Nn){return Reflect.apply(_n.n,_n,[...Nn])},getNumberFormat(Nn){return _n.getNumberFormat(Nn)},setNumberFormat(Nn,Rn){_n.setNumberFormat(Nn,Rn)},mergeNumberFormat(Nn,Rn){_n.mergeNumberFormat(Nn,Rn)},getChoiceIndex(Nn,Rn){return-1}};return In.__extender=Pn,In}}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:$n=>$n==="parent"||$n==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:$n},Cn){return Cn.length===1&&Cn[0]==="default"?($n.default?$n.default():[]).reduce((Pn,In)=>[...Pn,...In.type===Fragment?In.children:[In]],[]):Cn.reduce((_n,Pn)=>{const In=$n[Pn];return In&&(_n[Pn]=In()),_n},{})}function getFragmentableTag($n){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign$2({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:$n=>isNumber($n)||!isNaN($n)}},baseFormatProps),setup($n,Cn){const{slots:_n,attrs:Pn}=Cn,In=$n.i18n||useI18n({useScope:$n.scope,__useComponent:!0});return()=>{const Nn=Object.keys(_n).filter(Hn=>Hn!=="_"),Rn={};$n.locale&&(Rn.locale=$n.locale),$n.plural!==void 0&&(Rn.plural=isString$1($n.plural)?+$n.plural:$n.plural);const Dn=getInterpolateArg(Cn,Nn),Ln=In[TranslateVNodeSymbol]($n.keypath,Dn,Rn),Fn=assign$2({},Pn),Bn=isString$1($n.tag)||isObject$3($n.tag)?$n.tag:getFragmentableTag();return h$3(Bn,Fn,Ln)}}}),Translation=TranslationImpl;function isVNode($n){return isArray($n)&&!isString$1($n[0])}function renderFormatter($n,Cn,_n,Pn){const{slots:In,attrs:Nn}=Cn;return()=>{const Rn={part:!0};let Dn={};$n.locale&&(Rn.locale=$n.locale),isString$1($n.format)?Rn.key=$n.format:isObject$3($n.format)&&(isString$1($n.format.key)&&(Rn.key=$n.format.key),Dn=Object.keys($n.format).reduce((zn,Wn)=>_n.includes(Wn)?assign$2({},zn,{[Wn]:$n.format[Wn]}):zn,{}));const Ln=Pn($n.value,Rn,Dn);let Fn=[Rn.key];isArray(Ln)?Fn=Ln.map((zn,Wn)=>{const Yn=In[zn.type],Gn=Yn?Yn({[zn.type]:zn.value,index:Wn,parts:Ln}):[zn.value];return isVNode(Gn)&&(Gn[0].key=`${zn.type}-${Wn}`),Gn}):isString$1(Ln)&&(Fn=[Ln]);const Bn=assign$2({},Nn),Hn=isString$1($n.tag)||isObject$3($n.tag)?$n.tag:getFragmentableTag();return h$3(Hn,Bn,Fn)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign$2({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup($n,Cn){const _n=$n.i18n||useI18n({useScope:"parent",__useComponent:!0});return renderFormatter($n,Cn,NUMBER_FORMAT_OPTIONS_KEYS,(...Pn)=>_n[NumberPartsSymbol](...Pn))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign$2({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup($n,Cn){const _n=$n.i18n||useI18n({useScope:"parent",__useComponent:!0});return renderFormatter($n,Cn,DATETIME_FORMAT_OPTIONS_KEYS,(...Pn)=>_n[DatetimePartsSymbol](...Pn))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$2($n,Cn){const _n=$n;if($n.mode==="composition")return _n.__getInstance(Cn)||$n.global;{const Pn=_n.__getInstance(Cn);return Pn!=null?Pn.__composer:$n.global.__composer}}function vTDirective($n){const Cn=Rn=>{const{instance:Dn,modifiers:Ln,value:Fn}=Rn;if(!Dn||!Dn.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const Bn=getComposer$2($n,Dn.$),Hn=parseValue(Fn);return[Reflect.apply(Bn.t,Bn,[...makeParams(Hn)]),Bn]};return{created:(Rn,Dn)=>{const[Ln,Fn]=Cn(Dn);inBrowser&&$n.global===Fn&&(Rn.__i18nWatcher=watch(Fn.locale,()=>{Dn.instance&&Dn.instance.$forceUpdate()})),Rn.__composer=Fn,Rn.textContent=Ln},unmounted:Rn=>{inBrowser&&Rn.__i18nWatcher&&(Rn.__i18nWatcher(),Rn.__i18nWatcher=void 0,delete Rn.__i18nWatcher),Rn.__composer&&(Rn.__composer=void 0,delete Rn.__composer)},beforeUpdate:(Rn,{value:Dn})=>{if(Rn.__composer){const Ln=Rn.__composer,Fn=parseValue(Dn);Rn.textContent=Reflect.apply(Ln.t,Ln,[...makeParams(Fn)])}},getSSRProps:Rn=>{const[Dn]=Cn(Rn);return{textContent:Dn}}}}function parseValue($n){if(isString$1($n))return{path:$n};if(isPlainObject$1($n)){if(!("path"in $n))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return $n}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams($n){const{path:Cn,locale:_n,args:Pn,choice:In,plural:Nn}=$n,Rn={},Dn=Pn||{};return isString$1(_n)&&(Rn.locale=_n),isNumber(In)&&(Rn.plural=In),isNumber(Nn)&&(Rn.plural=Nn),[Cn,Dn,Rn]}function apply($n,Cn,..._n){const Pn=isPlainObject$1(_n[0])?_n[0]:{},In=!!Pn.useI18nComponentName;(isBoolean(Pn.globalInstall)?Pn.globalInstall:!0)&&([In?"i18n":Translation.name,"I18nT"].forEach(Rn=>$n.component(Rn,Translation)),[NumberFormat.name,"I18nN"].forEach(Rn=>$n.component(Rn,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(Rn=>$n.component(Rn,DatetimeFormat))),$n.directive("t",vTDirective(Cn))}function defineMixin($n,Cn,_n){return{beforeCreate(){const Pn=getCurrentInstance();if(!Pn)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const In=this.$options;if(In.i18n){const Nn=In.i18n;if(In.__i18n&&(Nn.__i18n=In.__i18n),Nn.__root=Cn,this===this.$root)this.$i18n=mergeToGlobal($n,Nn);else{Nn.__injectWithOption=!0,Nn.__extender=_n.__vueI18nExtend,this.$i18n=createVueI18n(Nn);const Rn=this.$i18n;Rn.__extender&&(Rn.__disposer=Rn.__extender(this.$i18n))}}else if(In.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal($n,In);else{this.$i18n=createVueI18n({__i18n:In.__i18n,__injectWithOption:!0,__extender:_n.__vueI18nExtend,__root:Cn});const Nn=this.$i18n;Nn.__extender&&(Nn.__disposer=Nn.__extender(this.$i18n))}else this.$i18n=$n;In.__i18nGlobal&&adjustI18nResources(Cn,In,In),this.$t=(...Nn)=>this.$i18n.t(...Nn),this.$rt=(...Nn)=>this.$i18n.rt(...Nn),this.$tc=(...Nn)=>this.$i18n.tc(...Nn),this.$te=(Nn,Rn)=>this.$i18n.te(Nn,Rn),this.$d=(...Nn)=>this.$i18n.d(...Nn),this.$n=(...Nn)=>this.$i18n.n(...Nn),this.$tm=Nn=>this.$i18n.tm(Nn),_n.__setInstance(Pn,this.$i18n)},mounted(){},unmounted(){const Pn=getCurrentInstance();if(!Pn)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const In=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,In.__disposer&&(In.__disposer(),delete In.__disposer,delete In.__extender),_n.__deleteInstance(Pn),delete this.$i18n}}}function mergeToGlobal($n,Cn){$n.locale=Cn.locale||$n.locale,$n.fallbackLocale=Cn.fallbackLocale||$n.fallbackLocale,$n.missing=Cn.missing||$n.missing,$n.silentTranslationWarn=Cn.silentTranslationWarn||$n.silentFallbackWarn,$n.silentFallbackWarn=Cn.silentFallbackWarn||$n.silentFallbackWarn,$n.formatFallbackMessages=Cn.formatFallbackMessages||$n.formatFallbackMessages,$n.postTranslation=Cn.postTranslation||$n.postTranslation,$n.warnHtmlInMessage=Cn.warnHtmlInMessage||$n.warnHtmlInMessage,$n.escapeParameterHtml=Cn.escapeParameterHtml||$n.escapeParameterHtml,$n.sync=Cn.sync||$n.sync,$n.__composer[SetPluralRulesSymbol](Cn.pluralizationRules||$n.pluralizationRules);const _n=getLocaleMessages($n.locale,{messages:Cn.messages,__i18n:Cn.__i18n});return Object.keys(_n).forEach(Pn=>$n.mergeLocaleMessage(Pn,_n[Pn])),Cn.datetimeFormats&&Object.keys(Cn.datetimeFormats).forEach(Pn=>$n.mergeDateTimeFormat(Pn,Cn.datetimeFormats[Pn])),Cn.numberFormats&&Object.keys(Cn.numberFormats).forEach(Pn=>$n.mergeNumberFormat(Pn,Cn.numberFormats[Pn])),$n}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n($n={},Cn){const _n=__VUE_I18N_LEGACY_API__&&isBoolean($n.legacy)?$n.legacy:__VUE_I18N_LEGACY_API__,Pn=isBoolean($n.globalInjection)?$n.globalInjection:!0,In=__VUE_I18N_LEGACY_API__&&_n?!!$n.allowComposition:!0,Nn=new Map,[Rn,Dn]=createGlobal($n,_n),Ln=makeSymbol("");function Fn(zn){return Nn.get(zn)||null}function Bn(zn,Wn){Nn.set(zn,Wn)}function Hn(zn){Nn.delete(zn)}{const zn={get mode(){return __VUE_I18N_LEGACY_API__&&_n?"legacy":"composition"},get allowComposition(){return In},async install(Wn,...Yn){if(Wn.__VUE_I18N_SYMBOL__=Ln,Wn.provide(Wn.__VUE_I18N_SYMBOL__,zn),isPlainObject$1(Yn[0])){const Xn=Yn[0];zn.__composerExtend=Xn.__composerExtend,zn.__vueI18nExtend=Xn.__vueI18nExtend}let Gn=null;!_n&&Pn&&(Gn=injectGlobalFields(Wn,zn.global)),__VUE_I18N_FULL_INSTALL__&&apply(Wn,zn,...Yn),__VUE_I18N_LEGACY_API__&&_n&&Wn.mixin(defineMixin(Dn,Dn.__composer,zn));const Go=Wn.unmount;Wn.unmount=()=>{Gn&&Gn(),zn.dispose(),Go()}},get global(){return Dn},dispose(){Rn.stop()},__instances:Nn,__getInstance:Fn,__setInstance:Bn,__deleteInstance:Hn};return zn}}function useI18n($n={}){const Cn=getCurrentInstance();if(Cn==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!Cn.isCE&&Cn.appContext.app!=null&&!Cn.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const _n=getI18nInstance(Cn),Pn=getGlobalComposer(_n),In=getComponentOptions(Cn),Nn=getScope($n,In);if(__VUE_I18N_LEGACY_API__&&_n.mode==="legacy"&&!$n.__useComponent){if(!_n.allowComposition)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);return useI18nForLegacy(Cn,Nn,Pn,$n)}if(Nn==="global")return adjustI18nResources(Pn,$n,In),Pn;if(Nn==="parent"){let Ln=getComposer(_n,Cn,$n.__useComponent);return Ln==null&&(Ln=Pn),Ln}const Rn=_n;let Dn=Rn.__getInstance(Cn);if(Dn==null){const Ln=assign$2({},$n);"__i18n"in In&&(Ln.__i18n=In.__i18n),Pn&&(Ln.__root=Pn),Dn=createComposer(Ln),Rn.__composerExtend&&(Dn[DisposeSymbol]=Rn.__composerExtend(Dn)),setupLifeCycle(Rn,Cn,Dn),Rn.__setInstance(Cn,Dn)}return Dn}function createGlobal($n,Cn,_n){const Pn=effectScope();{const In=__VUE_I18N_LEGACY_API__&&Cn?Pn.run(()=>createVueI18n($n)):Pn.run(()=>createComposer($n));if(In==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[Pn,In]}}function getI18nInstance($n){{const Cn=inject($n.isCE?I18nInjectionKey:$n.appContext.app.__VUE_I18N_SYMBOL__);if(!Cn)throw createI18nError($n.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return Cn}}function getScope($n,Cn){return isEmptyObject($n)?"__i18n"in Cn?"local":"global":$n.useScope?$n.useScope:"local"}function getGlobalComposer($n){return $n.mode==="composition"?$n.global:$n.global.__composer}function getComposer($n,Cn,_n=!1){let Pn=null;const In=Cn.root;let Nn=getParentComponentInstance(Cn,_n);for(;Nn!=null;){const Rn=$n;if($n.mode==="composition")Pn=Rn.__getInstance(Nn);else if(__VUE_I18N_LEGACY_API__){const Dn=Rn.__getInstance(Nn);Dn!=null&&(Pn=Dn.__composer,_n&&Pn&&!Pn[InejctWithOptionSymbol]&&(Pn=null))}if(Pn!=null||In===Nn)break;Nn=Nn.parent}return Pn}function getParentComponentInstance($n,Cn=!1){return $n==null?null:Cn&&$n.vnode.ctx||$n.parent}function setupLifeCycle($n,Cn,_n){onMounted(()=>{},Cn),onUnmounted(()=>{const Pn=_n;$n.__deleteInstance(Cn);const In=Pn[DisposeSymbol];In&&(In(),delete Pn[DisposeSymbol])},Cn)}function useI18nForLegacy($n,Cn,_n,Pn={}){const In=Cn==="local",Nn=shallowRef(null);if(In&&$n.proxy&&!($n.proxy.$options.i18n||$n.proxy.$options.__i18n))throw createI18nError(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const Rn=isBoolean(Pn.inheritLocale)?Pn.inheritLocale:!isString$1(Pn.locale),Dn=ref(!In||Rn?_n.locale.value:isString$1(Pn.locale)?Pn.locale:DEFAULT_LOCALE),Ln=ref(!In||Rn?_n.fallbackLocale.value:isString$1(Pn.fallbackLocale)||isArray(Pn.fallbackLocale)||isPlainObject$1(Pn.fallbackLocale)||Pn.fallbackLocale===!1?Pn.fallbackLocale:Dn.value),Fn=ref(getLocaleMessages(Dn.value,Pn)),Bn=ref(isPlainObject$1(Pn.datetimeFormats)?Pn.datetimeFormats:{[Dn.value]:{}}),Hn=ref(isPlainObject$1(Pn.numberFormats)?Pn.numberFormats:{[Dn.value]:{}}),zn=In?_n.missingWarn:isBoolean(Pn.missingWarn)||isRegExp(Pn.missingWarn)?Pn.missingWarn:!0,Wn=In?_n.fallbackWarn:isBoolean(Pn.fallbackWarn)||isRegExp(Pn.fallbackWarn)?Pn.fallbackWarn:!0,Yn=In?_n.fallbackRoot:isBoolean(Pn.fallbackRoot)?Pn.fallbackRoot:!0,Gn=!!Pn.fallbackFormat,Go=isFunction(Pn.missing)?Pn.missing:null,Xn=isFunction(Pn.postTranslation)?Pn.postTranslation:null,Yo=In?_n.warnHtmlMessage:isBoolean(Pn.warnHtmlMessage)?Pn.warnHtmlMessage:!0,qo=!!Pn.escapeParameter,Jo=In?_n.modifiers:isPlainObject$1(Pn.modifiers)?Pn.modifiers:{},Zo=Pn.pluralRules||In&&_n.pluralRules;function rr(){return[Dn.value,Ln.value,Fn.value,Bn.value,Hn.value]}const nr=computed({get:()=>Nn.value?Nn.value.locale.value:Dn.value,set:pa=>{Nn.value&&(Nn.value.locale.value=pa),Dn.value=pa}}),ta=computed({get:()=>Nn.value?Nn.value.fallbackLocale.value:Ln.value,set:pa=>{Nn.value&&(Nn.value.fallbackLocale.value=pa),Ln.value=pa}}),oa=computed(()=>Nn.value?Nn.value.messages.value:Fn.value),ra=computed(()=>Bn.value),ea=computed(()=>Hn.value);function la(){return Nn.value?Nn.value.getPostTranslationHandler():Xn}function ua(pa){Nn.value&&Nn.value.setPostTranslationHandler(pa)}function ga(){return Nn.value?Nn.value.getMissingHandler():Go}function aa(pa){Nn.value&&Nn.value.setMissingHandler(pa)}function ca(pa){return rr(),pa()}function sa(...pa){return Nn.value?ca(()=>Reflect.apply(Nn.value.t,null,[...pa])):ca(()=>"")}function ia(...pa){return Nn.value?Reflect.apply(Nn.value.rt,null,[...pa]):""}function fa(...pa){return Nn.value?ca(()=>Reflect.apply(Nn.value.d,null,[...pa])):ca(()=>"")}function ma(...pa){return Nn.value?ca(()=>Reflect.apply(Nn.value.n,null,[...pa])):ca(()=>"")}function ya(pa){return Nn.value?Nn.value.tm(pa):{}}function ba(pa,Sa){return Nn.value?Nn.value.te(pa,Sa):!1}function Ia(pa){return Nn.value?Nn.value.getLocaleMessage(pa):{}}function Ea(pa,Sa){Nn.value&&(Nn.value.setLocaleMessage(pa,Sa),Fn.value[pa]=Sa)}function xa(pa,Sa){Nn.value&&Nn.value.mergeLocaleMessage(pa,Sa)}function Ta(pa){return Nn.value?Nn.value.getDateTimeFormat(pa):{}}function wa(pa,Sa){Nn.value&&(Nn.value.setDateTimeFormat(pa,Sa),Bn.value[pa]=Sa)}function La(pa,Sa){Nn.value&&Nn.value.mergeDateTimeFormat(pa,Sa)}function Na(pa){return Nn.value?Nn.value.getNumberFormat(pa):{}}function $a(pa,Sa){Nn.value&&(Nn.value.setNumberFormat(pa,Sa),Hn.value[pa]=Sa)}function ka(pa,Sa){Nn.value&&Nn.value.mergeNumberFormat(pa,Sa)}const Ha={get id(){return Nn.value?Nn.value.id:-1},locale:nr,fallbackLocale:ta,messages:oa,datetimeFormats:ra,numberFormats:ea,get inheritLocale(){return Nn.value?Nn.value.inheritLocale:Rn},set inheritLocale(pa){Nn.value&&(Nn.value.inheritLocale=pa)},get availableLocales(){return Nn.value?Nn.value.availableLocales:Object.keys(Fn.value)},get modifiers(){return Nn.value?Nn.value.modifiers:Jo},get pluralRules(){return Nn.value?Nn.value.pluralRules:Zo},get isGlobal(){return Nn.value?Nn.value.isGlobal:!1},get missingWarn(){return Nn.value?Nn.value.missingWarn:zn},set missingWarn(pa){Nn.value&&(Nn.value.missingWarn=pa)},get fallbackWarn(){return Nn.value?Nn.value.fallbackWarn:Wn},set fallbackWarn(pa){Nn.value&&(Nn.value.missingWarn=pa)},get fallbackRoot(){return Nn.value?Nn.value.fallbackRoot:Yn},set fallbackRoot(pa){Nn.value&&(Nn.value.fallbackRoot=pa)},get fallbackFormat(){return Nn.value?Nn.value.fallbackFormat:Gn},set fallbackFormat(pa){Nn.value&&(Nn.value.fallbackFormat=pa)},get warnHtmlMessage(){return Nn.value?Nn.value.warnHtmlMessage:Yo},set warnHtmlMessage(pa){Nn.value&&(Nn.value.warnHtmlMessage=pa)},get escapeParameter(){return Nn.value?Nn.value.escapeParameter:qo},set escapeParameter(pa){Nn.value&&(Nn.value.escapeParameter=pa)},t:sa,getPostTranslationHandler:la,setPostTranslationHandler:ua,getMissingHandler:ga,setMissingHandler:aa,rt:ia,d:fa,n:ma,tm:ya,te:ba,getLocaleMessage:Ia,setLocaleMessage:Ea,mergeLocaleMessage:xa,getDateTimeFormat:Ta,setDateTimeFormat:wa,mergeDateTimeFormat:La,getNumberFormat:Na,setNumberFormat:$a,mergeNumberFormat:ka};function da(pa){pa.locale.value=Dn.value,pa.fallbackLocale.value=Ln.value,Object.keys(Fn.value).forEach(Sa=>{pa.mergeLocaleMessage(Sa,Fn.value[Sa])}),Object.keys(Bn.value).forEach(Sa=>{pa.mergeDateTimeFormat(Sa,Bn.value[Sa])}),Object.keys(Hn.value).forEach(Sa=>{pa.mergeNumberFormat(Sa,Hn.value[Sa])}),pa.escapeParameter=qo,pa.fallbackFormat=Gn,pa.fallbackRoot=Yn,pa.fallbackWarn=Wn,pa.missingWarn=zn,pa.warnHtmlMessage=Yo}return onBeforeMount(()=>{if($n.proxy==null||$n.proxy.$i18n==null)throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const pa=Nn.value=$n.proxy.$i18n.__composer;Cn==="global"?(Dn.value=pa.locale.value,Ln.value=pa.fallbackLocale.value,Fn.value=pa.messages.value,Bn.value=pa.datetimeFormats.value,Hn.value=pa.numberFormats.value):In&&da(pa)}),Ha}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields($n,Cn){const _n=Object.create(null);return globalExportProps.forEach(In=>{const Nn=Object.getOwnPropertyDescriptor(Cn,In);if(!Nn)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const Rn=isRef(Nn.value)?{get(){return Nn.value.value},set(Dn){Nn.value.value=Dn}}:{get(){return Nn.get&&Nn.get()}};Object.defineProperty(_n,In,Rn)}),$n.config.globalProperties.$i18n=_n,globalExportMethods.forEach(In=>{const Nn=Object.getOwnPropertyDescriptor(Cn,In);if(!Nn||!Nn.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty($n.config.globalProperties,`$${In}`,Nn)}),()=>{delete $n.config.globalProperties.$i18n,globalExportMethods.forEach(In=>{delete $n.config.globalProperties[`$${In}`]})}}initFeatureFlags();__INTLIFY_JIT_COMPILATION__?registerMessageCompiler(compile):registerMessageCompiler(compileToFunction);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);if(__INTLIFY_PROD_DEVTOOLS__){const $n=getGlobalThis();$n.__INTLIFY__=!0,setDevToolsHook($n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const words$1={destinationRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},virtualServiceDomain:{YAMLView:"YAML视图",formView:"表单视图"},loginDomain:{username:"用户名",password:"密码",login:"登录",authFail:"认证失败"},dynamicConfigDomain:{addConfig:"增加配置",addByFormView:"新增动态配置",updateByFormView:"修改动态配置",detailByFormView:"查看动态配置",addMatches:"增加匹配条件",matchType:"匹配条件类型",configType:"配置项类型",notSaved:"*改动未保存",saved:"配置无改动",YAMLView:"YAML视图",formView:"表单视图",event:"事件",save:"保存",reset:"重置"},routingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},updateRoutingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},addRoutingRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},tagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},updateTagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},addTagRuleDomain:{YAMLView:"YAML视图",formView:"表单视图"},flowControlDomain:{notSet:"未设置",versionRecords:"版本记录",YAMLView:"YAML视图",addConfiguration:"增加配置",addConfigurationItem:"增加配置项",addFilter:"增加筛选",configurationItem:"配置项",actuatingRange:"作用范围",matches:"作用范围",scopeScreening:"作用范围筛选",endOfAction:"作用端",side:"作用端",actions:"操作",filterType:"筛选类型",labelName:"标签名",formView:"表单视图",addMatch:"增加匹配",addRouter:"增加路由",addLabel:"增加标签",addressSubsetMatching:"地址子集匹配",value:"值",relation:"关系",requestParameterMatching:"请求参数匹配",matchingDimension:"匹配维度",parameter:"参数",ruleName:"规则名",actionObject:"作用对象",key:"作用对象",faultTolerantProtection:"容错保护",runTimeEffective:"运行时生效",ruleGranularity:"规则粒度",scope:"规则粒度",effectTime:"生效时间",enabledState:"启用状态",priority:"优先级",off:"关",on:"开",opened:"开启",closed:"关闭",enabled:"启用",disabled:"禁用"},instanceDomain:{flowDisabled:"流量禁用",operatorLog:"执行日志",CPU:"CPU",enableAppInstanceLogs:"开启该应用所有实例的访问日志",appServiceLoadBalance:"调整应用提供服务的负载均衡策略",appServiceNegativeClusteringMethod:"调整应用提供服务的的集群方式",appServiceRetries:"调整该应用提供服务的重试次数",appServiceTimeout:"调整应用提供服务的超时时间",close:"关闭",enable:"开启",executionLog:"执行日志",retryCount:"重试次数",clusterApproach:"集群方式",timeout_ms:"超时时间(ms)",details:"详情",loadBalance:"负载均衡",monitor:"监控",linkTracking:"链路追踪",configuration:"场景配置",event:"事件",healthExamination_k8s:"健康检查(k8s)",instanceLabel:"实例标签",instanceImage_k8s:"镜像(k8s)",owningWorkload_k8s:"所属工作负载(k8s)",node:"节点",whichApplication:"所属应用",registerCluster:"注册集群",dubboPort:"Dubbo端口",instanceIP:"实例IP",ip:"IP",name:"实例名称",deployState:"部署状态",deployCluster:"部署集群",deployClusters:"部署集群",registerState:"注册状态",registerClusters:"注册集群",registryClusters:"注册集群",cpu:"CPU",memory:"内存",startTime:"启动时间",registerTime:"注册时间",labels:"标签",instanceCount:"实例数量",instanceName:"实例名称",creationTime_k8s:"创建时间(k8s)",startTime_k8s:"启动时间(k8s)"},serviceDomain:{name:"服务名",notSpecified:"不指定",timeout:"超时时间",retryNum:"重试次数",sameAreaFirst:"同区域优先",closed:"关闭",opened:"开启",paramRoute:"参数路由"},service:"服务",versionGroup:"版本&分组",avgQPS:"QPS",avgRT:"RT",requestTotal:"近1min请求总量",serviceSearch:"服务查询",serviceGovernance:"路由规则",trafficManagement:"流量管控",serviceMetrics:"服务统计",serviceRelation:"服务关系",routingRule:"条件路由",tagRule:"标签路由",meshRule:"Mesh路由",dynamicConfig:"动态配置",accessControl:"黑白名单",weightAdjust:"权重调整",loadBalance:"负载均衡",serviceTest:"服务测试",serviceMock:"服务Mock",services:"服务",providers:"提供者",consumers:"消费者",application:"应用",instance:"实例",all:"全部",common:"通用",metrics:"可观测",relation:"关系",group:"组",version:"版本",app:"应用",ip:"IP地址",qps:"qps",rt:"rt",successRate:"成功率",serviceInfo:"服务信息",port:"端口",timeout:"超时(毫秒)",serialization:"序列化",appName:"应用名",instanceNum:"实例数量",deployCluster:"部署集群",registerClusters:"注册集群列表",serviceName:"服务名",provideServiceName:"提供服务",registrySource:"注册来源",instanceRegistry:"应用级",interfaceRegistry:"接口级",allRegistry:"应用级/接口级",operation:"操作",searchResult:"查询结果",search:"搜索",methodName:"方法名",enabled:"开启",disabled:"禁用",method:"方法",weight:"权重",create:"创建",save:"保存",cancel:"取消",close:"关闭",confirm:"确认",ruleContent:"规则内容",createNewRoutingRule:"创建新路由规则",createNewTagRule:"创建新标签规则",createMeshTagRule:"创建新mesh规则",createNewDynamicConfigRule:"创建新动态配置规则",createNewWeightRule:"新建权重规则",createNewLoadBalanceRule:"新建负载均衡规则",createTimeoutRule:"创建超时时间规则",createRetryRule:"创建重试规则",createRegionRule:"创建同区域优先规则",createArgumentRule:"创建参数路由规则",createMockCircuitRule:"创建调用降级规则",createAccesslogRule:"创建访问日志规则",createGrayRule:"创建灰度隔离规则",createWeightRule:"创建权重比例规则",serviceIdHint:"服务名",view:"查看",edit:"编辑",delete:"删除",searchRoutingRule:"搜索路由规则",searchAccessRule:"搜索黑白名单",searchWeightRule:"搜索权重调整规则",dataIdClassHint:"服务接口的类完整包路径",dataIdVersionHint:"服务接口的Version,根据接口实际情况选填",dataIdGroupHint:"服务接口的Group,根据接口实际情况选填",agree:"同意",disagree:"不同意",searchDynamicConfig:"搜索动态配置",appNameHint:"服务所属的应用名称",basicInfo:"基础信息",metaData:"元数据",methodMetrics:"服务方法统计",searchDubboService:"搜索Dubbo服务或应用",serviceSearchHint:"服务ID, org.apache.dubbo.demo.api.DemoService, * 代表所有服务",ipSearchHint:"在指定的IP地址上查找目标服务器提供的所有服务",appSearchHint:"输入应用名称以查找由一个特定应用提供的所有服务, * 代表所有",searchTagRule:"根据应用名搜索标签规则",searchMeshRule:"根据应用名搜索mesh规则",searchSingleMetrics:"输入IP搜索Metrics信息",searchBalanceRule:"搜索负载均衡规则",parameterList:"参数列表",returnType:"返回值",noMetadataHint:"无元数据信息,请升级至Dubbo2.7及以上版本,或者查看application.properties中关于config center的配置,详见",here:"这里",configAddress:"https://github.com/apache/incubator-dubbo-admin/wiki/Dubbo-Admin%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E",whiteList:"白名单",whiteListHint:"白名单IP列表, 多个地址用逗号分隔: 1.1.1.1,2.2.2.2",blackList:"黑名单",blackListHint:"黑名单IP列表, 多个地址用逗号分隔: 3.3.3.3,4.4.4.4",address:"地址列表",weightAddressHint:"此权重设置的IP地址,用逗号分隔: 1.1.1.1,2.2.2.2",weightHint:"权重值,默认100",methodHint:"负载均衡生效的方法,*代表所有方法",strategy:"策略",balanceStrategyHint:"负载均衡策略",goIndex:"返回首页",releaseLater:"在后续版本中发布,敬请期待",later:{metrics:"Metrics会在后续版本中发布,敬请期待",serviceTest:"服务测试会在后续版本中发布,敬请期待",serviceMock:"服务Mock会在后续版本中发布,敬请期待"},by:"按",$vuetify:{dataIterator:{rowsPerPageText:"每页记录数:",rowsPerPageAll:"全部",pageText:"{0}-{1} 共 {2} 条",noResultsText:"没有找到匹配记录",nextPage:"下一页",prevPage:"上一页"},dataTable:{rowsPerPageText:"每页行数:"},noDataText:"无可用数据"},configManage:"配置管理",configCenterAddress:"配置中心地址",searchDubboConfig:"搜索Dubbo配置",createNewDubboConfig:"新建Dubbo配置",scope:"范围",name:"名称",warnDeleteConfig:" 是否要删除Dubbo配置: ",warnDeleteRouteRule:"是否要删除路由规则",warnDeleteDynamicConfig:"是否要删除动态配置",warnDeleteBalancing:"是否要删除负载均衡规则",warnDeleteAccessControl:"是否要删除黑白名单",warnDeleteTagRule:"是否要删除标签路由",warnDeleteMeshRule:"是否要删除mesh路由",warnDeleteWeightAdjust:"是否要删除权重规则",configNameHint:"配置所属的应用名, global 表示全局配置",configContent:"配置内容",testMethod:"测试方法",execute:"执行",result:"结果: ",success:" 成功",fail:"失败",detail:"详情",more:"更多",copyUrl:"复制 URL",copy:"复制",url:"URL",copySuccessfully:"已复制",test:"测试",placeholders:{searchService:"通过服务名搜索服务"},methods:"方法列表",testModule:{searchServiceHint:"完整服务ID, org.apache.dubbo.demo.api.DemoService, 按回车键查询"},userName:"用户名",password:"密码",login:"登录",apiDocs:"接口文档",apiDocsRes:{dubboProviderIP:"Dubbo 提供者Ip",dubboProviderPort:"Dubbo 提供者端口",loadApiList:"加载接口列表",apiListText:"接口列表",apiForm:{missingInterfaceInfo:"缺少接口信息",getApiInfoErr:"获取接口信息异常",api404Err:"接口名称不正确,没有查找到接口参数和响应信息",apiRespDecShowLabel:"响应说明",apiNameShowLabel:"接口名称",apiPathShowLabel:"接口位置",apiMethodParamInfoLabel:"接口参数",apiVersionShowLabel:"接口版本",apiGroupShowLabel:"接口分组",apiDescriptionShowLabel:"接口说明",isAsyncFormLabel:"是否异步调用(此参数不可修改,根据接口定义的是否异步显示)",apiModuleFormLabel:"接口模块(此参数不可修改)",apiFunctionNameFormLabel:"接口方法名(此参数不可修改)",registryCenterUrlFormLabel:"注册中心地址, 如果为空将使用Dubbo 提供者Ip和端口进行直连",paramNameLabel:"参数名",paramPathLabel:"参数位置",paramDescriptionLabel:"说明",paramRequiredLabel:"该参数为必填",doTestBtn:"测试",responseLabel:"响应",responseExampleLabel:"响应示例",apiResponseLabel:"接口响应",LoadingLabel:"加载中...",requireTip:"有未填写的必填项",requireItemTip:"该项为必填!",requestApiErrorTip:"请求接口发生异常,请检查提交的数据,特别是JSON类数据和其中的枚举部分",unsupportedHtmlTypeTip:"暂不支持的表单类型",none:"无"}},authFailed:"权限验证失败",ruleList:"规则列表",mockRule:"规则配置",mockData:"模拟数据",globalDisable:"全局禁用",globalEnable:"全局启用",saveRuleSuccess:"保存规则成功",deleteRuleSuccess:"删除成功",disableRuleSuccess:"禁用成功",enableRuleSuccess:"启用成功",methodNameHint:"服务方法名",createMockRule:"创建规则",editMockRule:"修改规则",deleteRuleTitle:"确定要删除此服务Mock规则吗?",ruleName:"规则名",ruleGranularity:"规则粒度",createTime:"创建时间",lastModifiedTime:"最后修改时间",enable:"是否启用",protection:"容错保护",trafficTimeout:"超时时间",trafficRetry:"调用重试",trafficRegion:"同区域优先",trafficIsolation:"环境隔离",trafficWeight:"权重比例",trafficArguments:"参数路由",trafficMock:"调用降级",trafficAccesslog:"访问日志",trafficHost:"固定机器导流",trafficGray:"流量灰度",homePage:"集群概览",serviceManagement:"开发测试",groupInputPrompt:"请输入服务group(可选)",versionInputPrompt:"请输入服务version(可选)",resources:"资源详情",applications:"应用",instances:"实例",applicationDomain:{instanceCount:"实例数量",deployClusters:"部署集群",registryClusters:"注册集群",registerClusters:"注册集群",registerModes:"注册模式",operatorLog:"执行日志",flowWeight:"流量权重",gray:"灰度隔离",name:"应用名",detail:"详情",instance:"实例",service:"服务",monitor:"监控",tracing:"链路追踪",config:"配置",event:"事件",appName:"应用名",rpcProtocols:"RPC 协议",dubboVersions:"Dubbo 版本",dubboPorts:"Dubbo 端口",serialProtocols:"序列化协议",appTypes:"应用类型",images:"应用镜像",workloads:"工作负载",deployCluster:"部署集群",registerCluster:"注册集群",registerMode:"注册模式"},searchDomain:{total:"共计",unit:"条"},messageDomain:{success:{copy:"您已经成功复制一条信息"}},backHome:"回到首页",noPageTip:"抱歉,你访问的页面不存在",globalSearchTip:"搜索ip,应用,实例,服务",placeholder:{typeAppName:"请输入应用名,支持前缀搜索",typeDefault:"请输入",typeRoutingRules:"搜索路由规则,支持前缀过滤"},none:"无",details:"详情",debug:"调试",distribution:"分布",monitor:"监控",tracing:"链路追踪",sceneConfig:"场景配置",event:"事件",provideService:"提供服务",dependentService:"依赖服务",idx:"序号",submit:"提交",reset:"重置",router:{resource:{app:{list:"列表"},ins:{list:"列表"},svc:{list:"列表"}}},form:{save:"保存"}},words={loginDomain:{username:"Username",password:"Password",login:"Login",authFail:"Auth Fail"},destinationRuleDomain:{YAMLView:"YAML view",formView:"Form view"},virtualServiceDomain:{YAMLView:"YAML view",formView:"Form view"},dynamicConfigDomain:{YAMLView:"YAML view",formView:"Form view",event:"Event"},updateRoutingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},routingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},addRoutingRuleDomain:{YAMLView:"YAML view",formView:"Form view"},tagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},updateTagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},addTagRuleDomain:{YAMLView:"YAML view",formView:"Form view"},flowControlDomain:{actuatingRange:"Actuating range",notSet:"Not set",versionRecords:"Version records",YAMLView:"YAML View",addConfiguration:"Add configuration",addConfigurationItem:"Add configurationItem",addFilter:"Add filter",configurationItem:"Configuration item",scopeScreening:"Scope screening",endOfAction:"End of action",addLabel:"Add label",actions:"Actions",filterType:"Filter type",labelName:"Label name",formView:"Form view",addMatch:"Add match",addRouter:"Add router",addressSubsetMatching:"Address subset matching",value:"Value",relation:"Relation",parameter:"Parameter",matchingDimension:"Matching dimension",requestParameterMatching:"Request parameter matching",ruleName:"Rule name",actionObject:"Action object",faultTolerantProtection:"Fault-tolerant protection",runTimeEffective:"Run time effective",ruleGranularity:"Rule granularity",effectTime:"Time of taking effect",enabledState:"Enabled status",priority:"Priority",off:"off",on:"on",opened:"Opened",closed:"Closed",enabled:"Enabled",disabled:"Disabled"},instanceDomain:{flowDisabled:"Flow disabled",operatorLog:"Operator log",enableAppInstanceLogs:"Enable access logs for all instances of this application",appServiceRetries:"Adjust the number of retries for the service provided by this application",appServiceLoadBalance:"Adjusting the load balancing strategy for application service provision",appServiceNegativeClusteringMethod:"Adjusting the clustering approach for application service provision",appServiceTimeout:"Adjusting the timeout for application service provision",close:"Close",enable:"Enable",executionLog:"ExecutionLog",loadBalance:"LoadBalance",instanceIP:"InstanceIP",clusterApproach:"ClusterApproach",details:"Detail",retryCount:"RetryCount",timeout_ms:"Timeout(ms)",monitor:"Monitor",linkTracking:"LinkTracking",configuration:"Configuration",event:"Event",instanceName:"InstanceName",ip:"Ip",name:"Name",deployState:"Deploy State",deployCluster:"Deploy Cluster",deployClusters:"Deploy Clusters",registerState:"Register State",registerCluster:"Register Cluster",registryClusters:"Registry Clusters",CPU:"CPU",node:"Node",memory:"Memory",owningWorkload_k8s:"Owning Workload(k8s)",creationTime_k8s:"CreationTime(k8s)",startTime:"StartTime",dubboPort:"DubboPort",instanceImage_k8s:"Image(k8s)",instanceLabel:"Instance Label",whichApplication:"Owning Application",healthExamination_k8s:"Health Examination(k8s)",registerTime:"RegisterTime",labels:"Labels",startTime_k8s:"StartTime(k8s)",instanceCount:"Instance Count"},serviceDomain:{name:"Name",timeout:"Timeout",retryNum:"Retry Num",sameAreaFirst:"Same Area First",closed:"Closed",opened:"Opened",paramRoute:"Param Route"},appServiceTimeout:"Adjusting the timeout for application service provision",enableAppInstanceLogs:"Enable access logs for all instances of this application",appServiceLoadBalance:"Adjusting the load balancing strategy for application service provision",appServiceRetries:"Adjusting the number of retries for application provided services",appServiceNegativeClusteringMethod:"Adjusting the negative clustering method for application service provision",executionLog:"Execution Log",clusterApproach:"Cluster Approach",retryCount:"Retry Count",event:"Event",configuration:"Configuration",linkTracking:"Link Tracking",monitor:"Monitor",details:"Details",creationTime_k8s:"creationTime(k8s)",dubboPort:"Dubbo Port",whichApplication:"application",registerTime:"Register Time",startTime_k8s:"Start Time(k8s)",registerStates:"Register States",deployState:"Deployment Status",owningWorkload_k8s:"Owning Workload(k8s)",creationTime:"Creation Time",nodeIP:"Node IP",healthExamination:"Health Examination",instanceImage_k8s:"Image(k8s)",instanceLabel:"Instance Label",instanceDetail:"Instance Detail",state:"State",memory:"Memory",CPU:"CPU",node:"Node",labels:"Labels",instanceIP:"Instance IP",instanceName:"Instance Name",instance:"Instance",resourceDetails:"Resource Details",service:"Service",versionGroup:"Version & Group",avgQPS:"last 1min QPS",avgRT:"last 1min RT",requestTotal:"last 1min request total",serviceSearch:"Search Service",serviceGovernance:"Routing Rule",trafficManagement:"Traffic Management",routingRule:"Condition Rule",tagRule:"Tag Rule",meshRule:"Mesh Rule",dynamicConfig:"Dynamic Config",accessControl:"Black White List",weightAdjust:"Weight Adjust",loadBalance:"Load Balance",serviceTest:"Service Test",serviceMock:"Service Mock",serviceMetrics:"Service Metrics",serviceRelation:"Service Relation",metrics:"Metrics",relation:"Relation",group:"Group",serviceInfo:"Service Info",providers:"Providers",consumers:"Consumers",common:"Common",version:"Version",app:"Application",services:"Services",application:"Application",all:"All",ip:"IP",qps:"qps",rt:"rt",successRate:"success rate",port:"PORT",timeout:"timeout(ms)",serialization:"serialization",appName:"Application Name",instanceNum:"Instance Number",deployCluster:"Deploy Cluster",registerCluster:"Register Cluster",serviceName:"Service Name",registrySource:"Registry Source",instanceRegistry:"Instance Registry",interfaceRegistry:"Interface Registry",allRegistry:"Instance / Interface Registry",operation:"Operation",searchResult:"Search Result",search:"Search",methodName:"Method Name",enabled:"Enabled",disabled:"Disabled",method:"Method",weight:"Weight",create:"CREATE",save:"SAVE",cancel:"CANCEL",close:"CLOSE",confirm:"CONFIRM",ruleContent:"RULE CONTENT",createNewRoutingRule:"Create New Routing Rule",createNewTagRule:"Create New Tag Rule",createNewMeshRule:"Create New Mesh Rule",createNewDynamicConfigRule:"Create New Dynamic Config Rule",createNewWeightRule:"Create New Weight Rule",createNewLoadBalanceRule:"Create new load balancing rule",createTimeoutRule:"Create timeout rule",createRetryRule:"Create timeout rule",createRegionRule:"Create retry rule",createArgumentRule:"Create argument routing rule",createMockCircuitRule:"Create mock (circuit breaking) rule",createAccesslogRule:"Create accesslog rule",createGrayRule:"Create gray rule",createWeightRule:"Create weighting rule",serviceIdHint:"Service ID",view:"View",edit:"Edit",delete:"Delete",searchRoutingRule:"Search Routing Rule",searchAccess:"Search Access Rule",searchWeightRule:"Search Weight Adjust Rule",dataIdClassHint:"Complete package path of service interface class",dataIdVersionHint:"The version of the service interface, which can be filled in according to the actual situation of the interface",dataIdGroupHint:"The group of the service interface, which can be filled in according to the actual situation of the interface",agree:"Agree",disagree:"Disagree",searchDynamicConfig:"Search Dynamic Config",appNameHint:"Application name the service belongs to",basicInfo:"BasicInfo",metaData:"MetaData",methodMetrics:"Method Statistics",searchDubboService:"Search Dubbo Services or applications",serviceSearchHint:"Service ID, org.apache.dubbo.demo.api.DemoService, * for all services",ipSearchHint:"Find all services provided by the target server on the specified IP address",appSearchHint:"Input an application name to find all services provided by one particular application, * for all",searchTagRule:"Search Tag Rule by application name",searchMeshRule:"Search Mesh Rule by application name",searchSingleMetrics:"Search Metrics by IP",searchBalanceRule:"Search Balancing Rule",noMetadataHint:"There is no metadata available, please update to Dubbo2.7, or check your config center configuration in application.properties, please check ",parameterList:"parameterList",returnType:"returnType",here:"here",configAddress:"https://github.com/apache/incubator-dubbo-admin/wiki/Dubbo-Admin-configuration",whiteList:"White List",whiteListHint:"White list IP address, divided by comma: 1.1.1.1,2.2.2.2",blackList:"Black List",blackListHint:"Black list IP address, divided by comma: 3.3.3.3,4.4.4.4",address:"Address",weightAddressHint:"IP addresses to set this weight, divided by comma: 1.1.1.1,2.2.2.2",weightHint:"weight value, default is 100",methodHint:"choose method of load balancing, * for all methods",strategy:"Strategy",balanceStrategyHint:"load balancing strategy",goIndex:"Go To Index",releaseLater:"will release later",later:{metrics:"Metrics will release later",serviceTest:"Service Test will release later",serviceMock:"Service Mock will release later"},by:"by ",$vuetify:{dataIterator:{rowsPerPageText:"Items per page:",rowsPerPageAll:"All",pageText:"{0}-{1} of {2}",noResultsText:"No matching records found",nextPage:"Next page",prevPage:"Previous page"},dataTable:{rowsPerPageText:"Rows per page:"},noDataText:"No data available"},configManage:"Configuration Management",configCenterAddress:"ConfigCenter Address",searchDubboConfig:"Search Dubbo Config",createNewDubboConfig:"Create New Dubbo Config",scope:"Scope",name:"Name",warnDeleteConfig:" Are you sure to Delete Dubbo Config: ",warnDeleteRouteRule:"Are you sure to Delete routing rule",warnDeleteDynamicConfig:"Are you sure to Delete dynamic config",warnDeleteBalancing:"Are you sure to Delete load balancing",warnDeleteAccessControl:"Are you sure to Delete access control",warnDeleteTagRule:"Are you sure to Delete tag rule",warnDeleteMeshRule:"Are you sure to Delete mesh rule",warnDeleteWeightAdjust:"Are you sure to Delete weight adjust",configNameHint:"Application name the config belongs to, use 'global'(without quotes) for global config",configContent:"Config Content",testMethod:"Test Method",execute:"EXECUTE",result:"Result: ",success:"SUCCESS",fail:"FAIL",detail:"Detail",more:"More",copyUrl:"Copy URL",copy:"Copy",url:"URL",copySuccessfully:"Copied",test:"Test",placeholders:{searchService:"Search by service name"},methods:"Methods",testModule:{searchServiceHint:"Entire service ID, org.apache.dubbo.demo.api.DemoService, press Enter to search"},userName:"User Name",password:"Password",login:"Login",apiDocs:"API Docs",apiDocsRes:{dubboProviderIP:"Dubbo Provider Ip",dubboProviderPort:"Dubbo Provider Port",loadApiList:"Load Api List",apiListText:"Api List",apiForm:{missingInterfaceInfo:"Missing interface information",getApiInfoErr:"Exception in obtaining interface information",api404Err:"Interface name is incorrect, interface parameters and response information are not found",apiRespDecShowLabel:"Response Description",apiNameShowLabel:"Api Name",apiPathShowLabel:"Api Path",apiMethodParamInfoLabel:"Api method parameters",apiVersionShowLabel:"Api Version",apiGroupShowLabel:"Api Group",apiDescriptionShowLabel:"Api Description",isAsyncFormLabel:"Whether to call asynchronously (this parameter cannot be modified, according to whether to display asynchronously defined by the interface)",apiModuleFormLabel:"Api module (this parameter cannot be modified)",apiFunctionNameFormLabel:"Api function name(this parameter cannot be modified)",registryCenterUrlFormLabel:"Registry address. If it is empty, Dubbo provider IP and port will be used for direct connection",paramNameLabel:"Parameter name",paramPathLabel:"Parameter path",paramDescriptionLabel:"Description",paramRequiredLabel:"This parameter is required",doTestBtn:"Do Test",responseLabel:"Response",responseExampleLabel:"Response Example",apiResponseLabel:"Api Response",LoadingLabel:"Loading...",requireTip:"There are required items not filled in",requireItemTip:"This field is required",requestApiErrorTip:"There is an exception in the request interface. Please check the submitted data, especially the JSON class data and the enumeration part",unsupportedHtmlTypeTip:"Temporarily unsupported form type",none:"none"}},authFailed:"Authorized failed,please login.",ruleList:"Rule List",mockRule:"Mock Rule",mockData:"Mock Data",globalDisable:"Global Disable",globalEnable:"Global Enable",saveRuleSuccess:"Save Rule Successfully",deleteRuleSuccess:"Delete Rule Successfully",disableRuleSuccess:"Disable Rule Successfully",enableRuleSuccess:"Enable Rule Successfully",methodNameHint:"The method name of Service",createMockRule:"Create Mock Rule",editMockRule:"Edit Mock Rule",deleteRuleTitle:"Are you sure to delete this mock rule?",createTime:"Create Time",lastModifiedTime:"Last Modified Time",trafficTimeout:"Timeout",trafficRetry:"Retry",trafficRegion:"Region Aware",trafficIsolation:"Isolation",trafficWeight:"Weight Percentage",trafficArguments:"Arg Routing",trafficMock:"Mock",trafficAccesslog:"Accesslog",trafficHost:"Host",homePage:"Cluster Overview",serviceManagement:"Dev & Test",resources:"Resources",applications:"Applications",instances:"Instances",applicationDomain:{instanceCount:"Instance Count",deployClusters:"Deploy Clusters",registryClusters:"Registry Clusters",registerClusters:"Registry Clusters",registerModes:"Register Modes",operatorLog:"OperatorLog",flowWeight:"FlowWeight",gray:"Gray",detail:"Detail",instance:"Instance",service:"Service",monitor:"Monitor",tracing:"Tracing",config:"Config",event:"Event",appName:"Application Name",rpcProtocols:"Rpc Protocols",dubboVersions:"Dubbo Versions",dubboPorts:"Dubbo Ports",serialProtocols:"Serial Protocols",appTypes:"Application Types",images:"Images",workloads:"Workloads",deployCluster:"Deploy Cluster",registerCluster:"Register Cluster",registerMode:"Register Mode"},searchDomain:{total:"Total",unit:"items"},messageDomain:{success:{copy:"You have successfully copied a piece of information"}},backHome:"Back Home",noPageTip:"Sorry, the page you visited does not exist.",globalSearchTip:"Search ip, application, instance, service",placeholder:{typeAppName:"please type appName, support for prefix",typeDefault:"please type "},none:"No Select",debug:"Debug",distribution:"Distribution",tracing:"Tracing",sceneConfig:"Scene Config",provideService:"Provide Service",dependentService:"Dependent Service",submit:"Submit",reset:"Reset",router:{resource:{app:{list:"List"},ins:{list:"List"},svc:{list:"List"}}},form:{save:"SAVE"}},messages={cn:{content:"内容",Home:"主页",home:"主页",...words$1},en:{content:"content",Home:"Home",home:"home",...words}},localeConfig=reactive({locale:localStorage.getItem(LOCAL_STORAGE_LOCALE)||"cn",opts:[{value:"en",title:"en"},{value:"cn",title:"中文"}]}),i18n=createI18n({locale:localeConfig.locale,legacy:!1,globalInjection:!0,messages}),changeLanguage=$n=>{localStorage.setItem(LOCAL_STORAGE_LOCALE,$n),i18n.global.locale.value=$n};function getCurrentFunctionLocation($n=0){try{throw new Error}catch(Cn){const _n=Cn.stack.split(`
-`),Pn=2+$n;return Pn>=0&&_n.length>=Pn?_n[Pn].trim():"wrong location"}}const todo=$n=>{notification.warn({message:`TODO: ${$n} =>: ${devTool.getCurrentFunctionLocation(1)}`})},mockUrl=$n=>RegExp($n+".*"),devTool={getCurrentFunctionLocation,todo,mockUrl};/*! js-cookie v3.0.5 | MIT */function assign($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn];for(var Pn in _n)$n[Pn]=_n[Pn]}return $n}var defaultConverter={read:function($n){return $n[0]==='"'&&($n=$n.slice(1,-1)),$n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function($n){return encodeURIComponent($n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init($n,Cn){function _n(In,Nn,Rn){if(!(typeof document>"u")){Rn=assign({},Cn,Rn),typeof Rn.expires=="number"&&(Rn.expires=new Date(Date.now()+Rn.expires*864e5)),Rn.expires&&(Rn.expires=Rn.expires.toUTCString()),In=encodeURIComponent(In).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var Dn="";for(var Ln in Rn)Rn[Ln]&&(Dn+="; "+Ln,Rn[Ln]!==!0&&(Dn+="="+Rn[Ln].split(";")[0]));return document.cookie=In+"="+$n.write(Nn,In)+Dn}}function Pn(In){if(!(typeof document>"u"||arguments.length&&!In)){for(var Nn=document.cookie?document.cookie.split("; "):[],Rn={},Dn=0;Dn<Nn.length;Dn++){var Ln=Nn[Dn].split("="),Fn=Ln.slice(1).join("=");try{var Bn=decodeURIComponent(Ln[0]);if(Rn[Bn]=$n.read(Fn,Bn),In===Bn)break}catch{}}return In?Rn[In]:Rn}}return Object.create({set:_n,get:Pn,remove:function(In,Nn){_n(In,"",assign({},Nn,{expires:-1}))},withAttributes:function(In){return init(this.converter,assign({},this.attributes,In))},withConverter:function(In){return init(assign({},this.converter,In),this.attributes)}},{attributes:{value:Object.freeze(Cn)},converter:{value:Object.freeze($n)}})}var api=init(defaultConverter,{path:"/"});function updateAuthState($n,Cn){let _n={state:$n,userinfo:{username:Cn}};api.set("auth-state",JSON.stringify(_n))}function getAuthState(){return JSON.parse(api.get("auth-state")||"{}")}function removeAuthState(){api.remove("auth-state")}const _sfc_main=defineComponent({__name:"App",setup($n){useCssVars(In=>({"74d14fde":unref(PRIMARY_COLOR)})),dayjs.locale("en");const Cn=reactive(localeConfig);watch(Cn,In=>{dayjs.locale(In.locale)}),provide(PROVIDE_INJECT_KEY.LOCALE,Cn);function _n(){window.open("https://cn.dubbo.apache.org/zh-cn/overview/what/")}const Pn=reactive(i18n.global.locale);return useRouter(),(In,Nn)=>{const Rn=resolveComponent("a-float-button"),Dn=resolveComponent("a-config-provider");return openBlock(),createBlock(Dn,{locale:unref(Pn==="en"?localeValues$1:zhCN),theme:{token:{colorPrimary:unref(PRIMARY_COLOR)}}},{default:withCtx(()=>[createVNode(unref(RouterView)),createVNode(Rn,{type:"primary",class:"__global_float_button_question",onClick:_n},{icon:withCtx(()=>[createVNode(unref(QuestionCircleOutlined$1))]),_:1})]),_:1},8,["locale","theme"])}}});var mock={exports:{}};(function(module,exports){(function(Cn,_n){module.exports=_n()})(commonjsGlobal,function(){return function($n){var Cn={};function _n(Pn){if(Cn[Pn])return Cn[Pn].exports;var In=Cn[Pn]={exports:{},id:Pn,loaded:!1};return $n[Pn].call(In.exports,In,In.exports,_n),In.loaded=!0,In.exports}return _n.m=$n,_n.c=Cn,_n.p="",_n(0)}([function($n,Cn,_n){var Pn=_n(1),In=_n(3),Nn=_n(5),Rn=_n(20),Dn=_n(23),Ln=_n(25),Fn;typeof window<"u"&&(Fn=_n(27));/*!
- Mock - 模拟请求 & 模拟数据
- https://github.com/nuysoft/Mock
- 墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
-*/var Bn={Handler:Pn,Random:Nn,Util:In,XHR:Fn,RE:Rn,toJSONSchema:Dn,valid:Ln,heredoc:In.heredoc,setup:function(Hn){return Fn.setup(Hn)},_mocked:{}};Bn.version="1.0.1-beta3",Fn&&(Fn.Mock=Bn),Bn.mock=function(Hn,zn,Wn){return arguments.length===1?Pn.gen(Hn):(arguments.length===2&&(Wn=zn,zn=void 0),Fn&&(window.XMLHttpRequest=Fn),Bn._mocked[Hn+(zn||"")]={rurl:Hn,rtype:zn,template:Wn},Bn)},$n.exports=Bn},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function($n,Cn,_n){Cn=Cn==null?"":Cn+"",_n=_n||{},_n={path:_n.path||[Constant.GUID],templatePath:_n.templatePath||[Constant.GUID++],currentContext:_n.currentContext,templateCurrentContext:_n.templateCurrentContext||$n,root:_n.root||_n.currentContext,templateRoot:_n.templateRoot||_n.templateCurrentContext||$n};var Pn=Parser.parse(Cn),In=Util.type($n),Nn;return Handler[In]?(Nn=Handler[In]({type:In,template:$n,name:Cn,parsedName:Cn&&Cn.replace(Constant.RE_KEY,"$1"),rule:Pn,context:_n}),_n.root||(_n.root=Nn),Nn):$n},Handler.extend({array:function($n){var Cn=[],_n,Pn;if($n.template.length===0)return Cn;if($n.rule.parameters)if($n.rule.min===1&&$n.rule.max===void 0)$n.context.path.push($n.name),$n.context.templatePath.push($n.name),Cn=Random.pick(Handler.gen($n.template,void 0,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template})),$n.context.path.pop(),$n.context.templatePath.pop();else if($n.rule.parameters[2])$n.template.__order_index=$n.template.__order_index||0,$n.context.path.push($n.name),$n.context.templatePath.push($n.name),Cn=Handler.gen($n.template,void 0,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template})[$n.template.__order_index%$n.template.length],$n.template.__order_index+=+$n.rule.parameters[2],$n.context.path.pop(),$n.context.templatePath.pop();else for(_n=0;_n<$n.rule.count;_n++)for(Pn=0;Pn<$n.template.length;Pn++)$n.context.path.push(Cn.length),$n.context.templatePath.push(Pn),Cn.push(Handler.gen($n.template[Pn],Cn.length,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template})),$n.context.path.pop(),$n.context.templatePath.pop();else for(_n=0;_n<$n.template.length;_n++)$n.context.path.push(_n),$n.context.templatePath.push(_n),Cn.push(Handler.gen($n.template[_n],_n,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template})),$n.context.path.pop(),$n.context.templatePath.pop();return Cn},object:function($n){var Cn={},_n,Pn,In,Nn,Rn,Dn;if($n.rule.min!=null)for(_n=Util.keys($n.template),_n=Random.shuffle(_n),_n=_n.slice(0,$n.rule.count),Dn=0;Dn<_n.length;Dn++)In=_n[Dn],Nn=In.replace(Constant.RE_KEY,"$1"),$n.context.path.push(Nn),$n.context.templatePath.push(In),Cn[Nn]=Handler.gen($n.template[In],In,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template}),$n.context.path.pop(),$n.context.templatePath.pop();else{_n=[],Pn=[];for(In in $n.template)(typeof $n.template[In]=="function"?Pn:_n).push(In);for(_n=_n.concat(Pn),Dn=0;Dn<_n.length;Dn++)In=_n[Dn],Nn=In.replace(Constant.RE_KEY,"$1"),$n.context.path.push(Nn),$n.context.templatePath.push(In),Cn[Nn]=Handler.gen($n.template[In],In,{path:$n.context.path,templatePath:$n.context.templatePath,currentContext:Cn,templateCurrentContext:$n.template,root:$n.context.root||Cn,templateRoot:$n.context.templateRoot||$n.template}),$n.context.path.pop(),$n.context.templatePath.pop(),Rn=In.match(Constant.RE_KEY),Rn&&Rn[2]&&Util.type($n.template[In])==="number"&&($n.template[In]+=parseInt(Rn[2],10))}return Cn},number:function($n){var Cn,_n;if($n.rule.decimal){for($n.template+="",_n=$n.template.split("."),_n[0]=$n.rule.range?$n.rule.count:_n[0],_n[1]=(_n[1]||"").slice(0,$n.rule.dcount);_n[1].length<$n.rule.dcount;)_n[1]+=_n[1].length<$n.rule.dcount-1?Random.character("number"):Random.character("123456789");Cn=parseFloat(_n.join("."),10)}else Cn=$n.rule.range&&!$n.rule.parameters[2]?$n.rule.count:$n.template;return Cn},boolean:function($n){var Cn;return Cn=$n.rule.parameters?Random.bool($n.rule.min,$n.rule.max,$n.template):$n.template,Cn},string:function($n){var Cn="",_n,Pn,In,Nn;if($n.template.length){for($n.rule.count==null&&(Cn+=$n.template),_n=0;_n<$n.rule.count;_n++)Cn+=$n.template;for(Pn=Cn.match(Constant.RE_PLACEHOLDER)||[],_n=0;_n<Pn.length;_n++){if(In=Pn[_n],/^\\/.test(In)){Pn.splice(_n--,1);continue}if(Nn=Handler.placeholder(In,$n.context.currentContext,$n.context.templateCurrentContext,$n),Pn.length===1&&In===Cn&&typeof Nn!=typeof Cn){Cn=Nn;break}Cn=Cn.replace(In,Nn)}}else Cn=$n.rule.range?Random.string($n.rule.count):$n.template;return Cn},function:function($n){return $n.template.call($n.context.currentContext,$n)},regexp:function($n){var Cn="";$n.rule.count==null&&(Cn+=$n.template.source);for(var _n=0;_n<$n.rule.count;_n++)Cn+=$n.template.source;return RE.Handler.gen(RE.Parser.parse(Cn))}}),Handler.extend({_all:function(){var $n={};for(var Cn in Random)$n[Cn.toLowerCase()]=Cn;return $n},placeholder:function(placeholder,obj,templateContext,options){Constant.RE_PLACEHOLDER.exec("");var parts=Constant.RE_PLACEHOLDER.exec(placeholder),key=parts&&parts[1],lkey=key&&key.toLowerCase(),okey=this._all()[lkey],params=parts&&parts[2]||"",pathParts=this.splitPathToArray(key);try{params=eval("(function(){ return [].splice.call(arguments, 0 ) })("+params+")")}catch($n){params=parts[2].split(/,\s*/)}if(obj&&key in obj)return obj[key];if(key.charAt(0)==="/"||pathParts.length>1)return this.getValueByKeyPath(key,options);if(templateContext&&typeof templateContext=="object"&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i<params.length;i++)Constant.RE_PLACEHOLDER.exec(""),Constant.RE_PLACEHOLDER.test(params[i])&&(params[i]=Handler.placeholder(params[i],obj,templateContext,options));var handle=Random[key]||Random[lkey]||Random[okey];switch(Util.type(handle)){case"array":return Random.pick(handle);case"function":handle.options=options;var re=handle.apply(Random,params);return re===void 0&&(re=""),delete handle.options,re}},getValueByKeyPath:function($n,Cn){var _n=$n,Pn=this.splitPathToArray($n),In=[];$n.charAt(0)==="/"?In=[Cn.context.path[0]].concat(this.normalizePath(Pn)):Pn.length>1&&(In=Cn.context.path.slice(0),In.pop(),In=this.normalizePath(In.concat(Pn)));try{$n=Pn[Pn.length-1];for(var Nn=Cn.context.root,Rn=Cn.context.templateRoot,Dn=1;Dn<In.length-1;Dn++)Nn=Nn[In[Dn]],Rn=Rn[In[Dn]];if(Nn&&$n in Nn)return Nn[$n];if(Rn&&typeof Rn=="object"&&$n in Rn&&_n!==Rn[$n])return Rn[$n]=Handler.gen(Rn[$n],$n,{currentContext:Nn,templateCurrentContext:Rn}),Rn[$n]}catch{}return"@"+Pn.join("/")},normalizePath:function($n){for(var Cn=[],_n=0;_n<$n.length;_n++)switch($n[_n]){case"..":Cn.pop();break;case".":break;default:Cn.push($n[_n])}return Cn},splitPathToArray:function($n){var Cn=$n.split(/\/+/);return Cn[Cn.length-1]||(Cn=Cn.slice(0,-1)),Cn[0]||(Cn=Cn.slice(1)),Cn}}),module.exports=Handler},function($n,Cn){$n.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function($n,Cn){var _n={};_n.extend=function(){var In=arguments[0]||{},Nn=1,Rn=arguments.length,Dn,Ln,Fn,Bn,Hn;for(Rn===1&&(In=this,Nn=0);Nn<Rn;Nn++)if(Dn=arguments[Nn],!!Dn)for(Ln in Dn)Fn=In[Ln],Bn=Dn[Ln],In!==Bn&&Bn!==void 0&&(_n.isArray(Bn)||_n.isObject(Bn)?(_n.isArray(Bn)&&(Hn=Fn&&_n.isArray(Fn)?Fn:[]),_n.isObject(Bn)&&(Hn=Fn&&_n.isObject(Fn)?Fn:{}),In[Ln]=_n.extend(Hn,Bn)):In[Ln]=Bn);return In},_n.each=function(In,Nn,Rn){var Dn,Ln;if(this.type(In)==="number")for(Dn=0;Dn<In;Dn++)Nn(Dn,Dn);else if(In.length===+In.length)for(Dn=0;Dn<In.length&&Nn.call(Rn,In[Dn],Dn,In)!==!1;Dn++);else for(Ln in In)if(Nn.call(Rn,In[Ln],Ln,In)===!1)break},_n.type=function(In){return In==null?String(In):Object.prototype.toString.call(In).match(/\[object (\w+)\]/)[1].toLowerCase()},_n.each("String Object Array RegExp Function".split(" "),function(Pn){_n["is"+Pn]=function(In){return _n.type(In)===Pn.toLowerCase()}}),_n.isObjectOrArray=function(Pn){return _n.isObject(Pn)||_n.isArray(Pn)},_n.isNumeric=function(Pn){return!isNaN(parseFloat(Pn))&&isFinite(Pn)},_n.keys=function(Pn){var In=[];for(var Nn in Pn)Pn.hasOwnProperty(Nn)&&In.push(Nn);return In},_n.values=function(Pn){var In=[];for(var Nn in Pn)Pn.hasOwnProperty(Nn)&&In.push(Pn[Nn]);return In},_n.heredoc=function(In){return In.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},_n.noop=function(){},$n.exports=_n},function($n,Cn,_n){var Pn=_n(2),In=_n(5);$n.exports={parse:function(Nn){Nn=Nn==null?"":Nn+"";var Rn=(Nn||"").match(Pn.RE_KEY),Dn=Rn&&Rn[3]&&Rn[3].match(Pn.RE_RANGE),Ln=Dn&&Dn[1]&&parseInt(Dn[1],10),Fn=Dn&&Dn[2]&&parseInt(Dn[2],10),Bn=Dn?Dn[2]?In.integer(Ln,Fn):parseInt(Dn[1],10):void 0,Hn=Rn&&Rn[4]&&Rn[4].match(Pn.RE_RANGE),zn=Hn&&Hn[1]&&parseInt(Hn[1],10),Wn=Hn&&Hn[2]&&parseInt(Hn[2],10),Yn=Hn?!Hn[2]&&parseInt(Hn[1],10)||In.integer(zn,Wn):void 0,Gn={parameters:Rn,range:Dn,min:Ln,max:Fn,count:Bn,decimal:Hn,dmin:zn,dmax:Wn,dcount:Yn};for(var Go in Gn)if(Gn[Go]!=null)return Gn;return{}}}},function($n,Cn,_n){var Pn=_n(3),In={extend:Pn.extend};In.extend(_n(6)),In.extend(_n(7)),In.extend(_n(8)),In.extend(_n(10)),In.extend(_n(13)),In.extend(_n(15)),In.extend(_n(16)),In.extend(_n(17)),In.extend(_n(14)),In.extend(_n(19)),$n.exports=In},function($n,Cn){$n.exports={boolean:function(_n,Pn,In){return In!==void 0?(_n=typeof _n<"u"&&!isNaN(_n)?parseInt(_n,10):1,Pn=typeof Pn<"u"&&!isNaN(Pn)?parseInt(Pn,10):1,Math.random()>1/(_n+Pn)*_n?!In:In):Math.random()>=.5},bool:function(_n,Pn,In){return this.boolean(_n,Pn,In)},natural:function(_n,Pn){return _n=typeof _n<"u"?parseInt(_n,10):0,Pn=typeof Pn<"u"?parseInt(Pn,10):9007199254740992,Math.round(Math.random()*(Pn-_n))+_n},integer:function(_n,Pn){return _n=typeof _n<"u"?parseInt(_n,10):-9007199254740992,Pn=typeof Pn<"u"?parseInt(Pn,10):9007199254740992,Math.round(Math.random()*(Pn-_n))+_n},int:function(_n,Pn){return this.integer(_n,Pn)},float:function(_n,Pn,In,Nn){In=In===void 0?0:In,In=Math.max(Math.min(In,17),0),Nn=Nn===void 0?17:Nn,Nn=Math.max(Math.min(Nn,17),0);for(var Rn=this.integer(_n,Pn)+".",Dn=0,Ln=this.natural(In,Nn);Dn<Ln;Dn++)Rn+=Dn<Ln-1?this.character("number"):this.character("123456789");return parseFloat(Rn,10)},character:function(_n){var Pn={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return Pn.alpha=Pn.lower+Pn.upper,Pn.undefined=Pn.lower+Pn.upper+Pn.number+Pn.symbol,_n=Pn[(""+_n).toLowerCase()]||_n,_n.charAt(this.natural(0,_n.length-1))},char:function(_n){return this.character(_n)},string:function(_n,Pn,In){var Nn;switch(arguments.length){case 0:Nn=this.natural(3,7);break;case 1:Nn=_n,_n=void 0;break;case 2:typeof arguments[0]=="string"?Nn=Pn:(Nn=this.natural(_n,Pn),_n=void 0);break;case 3:Nn=this.natural(Pn,In);break}for(var Rn="",Dn=0;Dn<Nn;Dn++)Rn+=this.character(_n);return Rn},str:function(){return this.string.apply(this,arguments)},range:function(_n,Pn,In){arguments.length<=1&&(Pn=_n||0,_n=0),In=arguments[2]||1,_n=+_n,Pn=+Pn,In=+In;for(var Nn=Math.max(Math.ceil((Pn-_n)/In),0),Rn=0,Dn=new Array(Nn);Rn<Nn;)Dn[Rn++]=_n,_n+=In;return Dn}}},function($n,Cn){var _n={yyyy:"getFullYear",yy:function(Pn){return(""+Pn.getFullYear()).slice(2)},y:"yy",MM:function(Pn){var In=Pn.getMonth()+1;return In<10?"0"+In:In},M:function(Pn){return Pn.getMonth()+1},dd:function(Pn){var In=Pn.getDate();return In<10?"0"+In:In},d:"getDate",HH:function(Pn){var In=Pn.getHours();return In<10?"0"+In:In},H:"getHours",hh:function(Pn){var In=Pn.getHours()%12;return In<10?"0"+In:In},h:function(Pn){return Pn.getHours()%12},mm:function(Pn){var In=Pn.getMinutes();return In<10?"0"+In:In},m:"getMinutes",ss:function(Pn){var In=Pn.getSeconds();return In<10?"0"+In:In},s:"getSeconds",SS:function(Pn){var In=Pn.getMilliseconds();return In<10&&"00"+In||In<100&&"0"+In||In},S:"getMilliseconds",A:function(Pn){return Pn.getHours()<12?"AM":"PM"},a:function(Pn){return Pn.getHours()<12?"am":"pm"},T:"getTime"};$n.exports={_patternLetters:_n,_rformat:new RegExp(function(){var Pn=[];for(var In in _n)Pn.push(In);return"("+Pn.join("|")+")"}(),"g"),_formatDate:function(Pn,In){return In.replace(this._rformat,function Nn(Rn,Dn){return typeof _n[Dn]=="function"?_n[Dn](Pn):_n[Dn]in _n?Nn(Rn,_n[Dn]):Pn[_n[Dn]]()})},_randomDate:function(Pn,In){return Pn=Pn===void 0?new Date(0):Pn,In=In===void 0?new Date:In,new Date(Math.random()*(In.getTime()-Pn.getTime()))},date:function(Pn){return Pn=Pn||"yyyy-MM-dd",this._formatDate(this._randomDate(),Pn)},time:function(Pn){return Pn=Pn||"HH:mm:ss",this._formatDate(this._randomDate(),Pn)},datetime:function(Pn){return Pn=Pn||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),Pn)},now:function(Pn,In){arguments.length===1&&(/year|month|day|hour|minute|second|week/.test(Pn)||(In=Pn,Pn="")),Pn=(Pn||"").toLowerCase(),In=In||"yyyy-MM-dd HH:mm:ss";var Nn=new Date;switch(Pn){case"year":Nn.setMonth(0);case"month":Nn.setDate(1);case"week":case"day":Nn.setHours(0);case"hour":Nn.setMinutes(0);case"minute":Nn.setSeconds(0);case"second":Nn.setMilliseconds(0)}switch(Pn){case"week":Nn.setDate(Nn.getDate()-Nn.getDay())}return this._formatDate(Nn,In)}}},function($n,Cn,_n){(function(Pn){Pn.exports={_adSize:["300x250","250x250","240x400","336x280","180x150","720x300","468x60","234x60","88x31","120x90","120x60","120x240","125x125","728x90","160x600","120x600","300x600"],_screenSize:["320x200","320x240","640x480","800x480","800x480","1024x600","1024x768","1280x800","1440x900","1920x1200","2560x1600"],_videoSize:["720x480","768x576","1280x720","1920x1080"],image:function(In,Nn,Rn,Dn,Ln){return arguments.length===4&&(Ln=Dn,Dn=void 0),arguments.length===3&&(Ln=Rn,Rn=void 0),In||(In=this.pick(this._adSize)),Nn&&~Nn.indexOf("#")&&(Nn=Nn.slice(1)),Rn&&~Rn.indexOf("#")&&(Rn=Rn.slice(1)),"http://dummyimage.com/"+In+(Nn?"/"+Nn:"")+(Rn?"/"+Rn:"")+(Dn?"."+Dn:"")+(Ln?"&text="+Ln:"")},img:function(){return this.image.apply(this,arguments)},_brandColors:{"4ormat":"#fb0a2a","500px":"#02adea","About.me (blue)":"#00405d","About.me (yellow)":"#ffcc33",Addvocate:"#ff6138",Adobe:"#ff0000",Aim:"#fcd20b",Amazon:"#e47911",Android:"#a4c639","Angie's List":"#7fbb00",AOL:"#0060a3",Atlassian:"#003366",Behance:"#053eff","Big Cartel":"#97b538",bitly:"#ee6123",Blogger:"#fc4f08",Boeing:"#0039a6","Booking.com":"#003580",Carbonmade:"#613854",Cheddar:"#ff7243","Code School":"#3d4944",Delicious:"#205cc0",Dell:"#3287c1",Designmoo:"#e54a4f",Deviantart:"#4e6252","Designer News":"#2d72da",Devour:"#fd0001",DEWALT:"#febd17","Disqus (blue)":"#59a3fc","Disqus (orange)":"#db7132",Dribbble:"#ea4c89",Dropbox:"#3d9ae8",Drupal:"#0c76ab",Dunked:"#2a323a",eBay:"#89c507",Ember:"#f05e1b",Engadget:"#00bdf6",Envato:"#528036",Etsy:"#eb6d20",Evernote:"#5ba525","Fab.com":"#dd0017",Facebook:"#3b5998",Firefox:"#e66000","Flickr (blue)":"#0063dc","Flickr (pink)":"#ff0084",Forrst:"#5b9a68",Foursquare:"#25a0ca",Garmin:"#007cc3",GetGlue:"#2d75a2",Gimmebar:"#f70078",GitHub:"#171515","Google Blue":"#0140ca","Google Green":"#16a61e","Google Red":"#dd1812","Google Yellow":"#fcca03","Google+":"#dd4b39",Grooveshark:"#f77f00",Groupon:"#82b548","Hacker News":"#ff6600",HelloWallet:"#0085ca","Heroku (light)":"#c7c5e6","Heroku (dark)":"#6567a5",HootSuite:"#003366",Houzz:"#73ba37",HTML5:"#ec6231",IKEA:"#ffcc33",IMDb:"#f3ce13",Instagram:"#3f729b",Intel:"#0071c5",Intuit:"#365ebf",Kickstarter:"#76cc1e",kippt:"#e03500",Kodery:"#00af81",LastFM:"#c3000d",LinkedIn:"#0e76a8",Livestream:"#cf0005",Lumo:"#576396",Mixpanel:"#a086d3",Meetup:"#e51937",Nokia:"#183693",NVIDIA:"#76b900",Opera:"#cc0f16",Path:"#e41f11","PayPal (dark)":"#1e477a","PayPal (light)":"#3b7bbf",Pinboard:"#0000e6",Pinterest:"#c8232c",PlayStation:"#665cbe",Pocket:"#ee4056",Prezi:"#318bff",Pusha:"#0f71b4",Quora:"#a82400","QUOTE.fm":"#66ceff",Rdio:"#008fd5",Readability:"#9c0000","Red Hat":"#cc0000",Resource:"#7eb400",Rockpack:"#0ba6ab",Roon:"#62b0d9",RSS:"#ee802f",Salesforce:"#1798c1",Samsung:"#0c4da2",Shopify:"#96bf48",Skype:"#00aff0",Snagajob:"#f47a20",Softonic:"#008ace",SoundCloud:"#ff7700","Space Box":"#f86960",Spotify:"#81b71a",Sprint:"#fee100",Squarespace:"#121212",StackOverflow:"#ef8236",Staples:"#cc0000","Status Chart":"#d7584f",Stripe:"#008cdd",StudyBlue:"#00afe1",StumbleUpon:"#f74425","T-Mobile":"#ea0a8e",Technorati:"#40a800","The Next Web":"#ef4423",Treehouse:"#5cb868",Trulia:"#5eab1f",Tumblr:"#34526f","Twitch.tv":"#6441a5",Twitter:"#00acee",TYPO3:"#ff8700",Ubuntu:"#dd4814",Ustream:"#3388ff",Verizon:"#ef1d1d",Vimeo:"#86c9ef",Vine:"#00a478",Virb:"#06afd8","Virgin Media":"#cc0000",Wooga:"#5b009c","WordPress (blue)":"#21759b","WordPress (orange)":"#d54e21","WordPress (grey)":"#464646",Wunderlist:"#2b88d9",XBOX:"#9bc848",XING:"#126567","Yahoo!":"#720e9e",Yandex:"#ffcc00",Yelp:"#c41200",YouTube:"#c4302b",Zalongo:"#5498dc",Zendesk:"#78a300",Zerply:"#9dcc7a",Zootool:"#5e8b1d"},_brandNames:function(){var In=[];for(var Nn in this._brandColors)In.push(Nn);return In},dataImage:function(In,Nn){var Rn;if(typeof document<"u")Rn=document.createElement("canvas");else{var Dn=Pn.require("canvas");Rn=new Dn}var Ln=Rn&&Rn.getContext&&Rn.getContext("2d");if(!Rn||!Ln)return"";In||(In=this.pick(this._adSize)),Nn=Nn!==void 0?Nn:In,In=In.split("x");var Fn=parseInt(In[0],10),Bn=parseInt(In[1],10),Hn=this._brandColors[this.pick(this._brandNames())],zn="#FFF",Wn=14,Yn="sans-serif";return Rn.width=Fn,Rn.height=Bn,Ln.textAlign="center",Ln.textBaseline="middle",Ln.fillStyle=Hn,Ln.fillRect(0,0,Fn,Bn),Ln.fillStyle=zn,Ln.font="bold "+Wn+"px "+Yn,Ln.fillText(Nn,Fn/2,Bn/2,Fn),Rn.toDataURL("image/png")}}}).call(Cn,_n(9)($n))},function($n,Cn){$n.exports=function(_n){return _n.webpackPolyfill||(_n.deprecate=function(){},_n.paths=[],_n.children=[],_n.webpackPolyfill=1),_n}},function($n,Cn,_n){var Pn=_n(11),In=_n(12);$n.exports={color:function(Nn){return Nn||In[Nn]?In[Nn].nicer:this.hex()},hex:function(){var Nn=this._goldenRatioColor(),Rn=Pn.hsv2rgb(Nn),Dn=Pn.rgb2hex(Rn[0],Rn[1],Rn[2]);return Dn},rgb:function(){var Nn=this._goldenRatioColor(),Rn=Pn.hsv2rgb(Nn);return"rgb("+parseInt(Rn[0],10)+", "+parseInt(Rn[1],10)+", "+parseInt(Rn[2],10)+")"},rgba:function(){var Nn=this._goldenRatioColor(),Rn=Pn.hsv2rgb(Nn);return"rgba("+parseInt(Rn[0],10)+", "+parseInt(Rn[1],10)+", "+parseInt(Rn[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var Nn=this._goldenRatioColor(),Rn=Pn.hsv2hsl(Nn);return"hsl("+parseInt(Rn[0],10)+", "+parseInt(Rn[1],10)+", "+parseInt(Rn[2],10)+")"},_goldenRatioColor:function(Nn,Rn){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,typeof Nn!="number"&&(Nn=.5),typeof Rn!="number"&&(Rn=.95),[this._hue*360,Nn*100,Rn*100]}}},function($n,Cn){$n.exports={rgb2hsl:function(Pn){var In=Pn[0]/255,Nn=Pn[1]/255,Rn=Pn[2]/255,Dn=Math.min(In,Nn,Rn),Ln=Math.max(In,Nn,Rn),Fn=Ln-Dn,Bn,Hn,zn;return Ln==Dn?Bn=0:In==Ln?Bn=(Nn-Rn)/Fn:Nn==Ln?Bn=2+(Rn-In)/Fn:Rn==Ln&&(Bn=4+(In-Nn)/Fn),Bn=Math.min(Bn*60,360),Bn<0&&(Bn+=360),zn=(Dn+Ln)/2,Ln==Dn?Hn=0:zn<=.5?Hn=Fn/(Ln+Dn):Hn=Fn/(2-Ln-Dn),[Bn,Hn*100,zn*100]},rgb2hsv:function(Pn){var In=Pn[0],Nn=Pn[1],Rn=Pn[2],Dn=Math.min(In,Nn,Rn),Ln=Math.max(In,Nn,Rn),Fn=Ln-Dn,Bn,Hn,zn;return Ln===0?Hn=0:Hn=Fn/Ln*1e3/10,Ln==Dn?Bn=0:In==Ln?Bn=(Nn-Rn)/Fn:Nn==Ln?Bn=2+(Rn-In)/Fn:Rn==Ln&&(Bn=4+(In-Nn)/Fn),Bn=Math.min(Bn*60,360),Bn<0&&(Bn+=360),zn=Ln/255*1e3/10,[Bn,Hn,zn]},hsl2rgb:function(Pn){var In=Pn[0]/360,Nn=Pn[1]/100,Rn=Pn[2]/100,Dn,Ln,Fn,Bn,Hn;if(Nn===0)return Hn=Rn*255,[Hn,Hn,Hn];Rn<.5?Ln=Rn*(1+Nn):Ln=Rn+Nn-Rn*Nn,Dn=2*Rn-Ln,Bn=[0,0,0];for(var zn=0;zn<3;zn++)Fn=In+1/3*-(zn-1),Fn<0&&Fn++,Fn>1&&Fn--,6*Fn<1?Hn=Dn+(Ln-Dn)*6*Fn:2*Fn<1?Hn=Ln:3*Fn<2?Hn=Dn+(Ln-Dn)*(2/3-Fn)*6:Hn=Dn,Bn[zn]=Hn*255;return Bn},hsl2hsv:function(Pn){var In=Pn[0],Nn=Pn[1]/100,Rn=Pn[2]/100,Dn,Ln;return Rn*=2,Nn*=Rn<=1?Rn:2-Rn,Ln=(Rn+Nn)/2,Dn=2*Nn/(Rn+Nn),[In,Dn*100,Ln*100]},hsv2rgb:function(Pn){var In=Pn[0]/60,Nn=Pn[1]/100,Rn=Pn[2]/100,Dn=Math.floor(In)%6,Ln=In-Math.floor(In),Fn=255*Rn*(1-Nn),Bn=255*Rn*(1-Nn*Ln),Hn=255*Rn*(1-Nn*(1-Ln));switch(Rn=255*Rn,Dn){case 0:return[Rn,Hn,Fn];case 1:return[Bn,Rn,Fn];case 2:return[Fn,Rn,Hn];case 3:return[Fn,Bn,Rn];case 4:return[Hn,Fn,Rn];case 5:return[Rn,Fn,Bn]}},hsv2hsl:function(Pn){var In=Pn[0],Nn=Pn[1]/100,Rn=Pn[2]/100,Dn,Ln;return Ln=(2-Nn)*Rn,Dn=Nn*Rn,Dn/=Ln<=1?Ln:2-Ln,Ln/=2,[In,Dn*100,Ln*100]},rgb2hex:function(_n,Pn,In){return"#"+((256+_n<<8|Pn)<<8|In).toString(16).slice(1)},hex2rgb:function(_n){return _n="0x"+_n.slice(1).replace(_n.length>4?_n:/./g,"$&$&")|0,[_n>>16,_n>>8&255,_n&255]}}},function($n,Cn){$n.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function($n,Cn,_n){var Pn=_n(6),In=_n(14);function Nn(Rn,Dn,Ln,Fn){return Ln===void 0?Pn.natural(Rn,Dn):Fn===void 0?Ln:Pn.natural(parseInt(Ln,10),parseInt(Fn,10))}$n.exports={paragraph:function(Rn,Dn){for(var Ln=Nn(3,7,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.sentence());return Fn.join(" ")},cparagraph:function(Rn,Dn){for(var Ln=Nn(3,7,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.csentence());return Fn.join("")},sentence:function(Rn,Dn){for(var Ln=Nn(12,18,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.word());return In.capitalize(Fn.join(" "))+"."},csentence:function(Rn,Dn){for(var Ln=Nn(12,18,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.cword());return Fn.join("")+"。"},word:function(Rn,Dn){for(var Ln=Nn(3,10,Rn,Dn),Fn="",Bn=0;Bn<Ln;Bn++)Fn+=Pn.character("lower");return Fn},cword:function(Rn,Dn,Ln){var Fn="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞",Bn;switch(arguments.length){case 0:Rn=Fn,Bn=1;break;case 1:typeof arguments[0]=="string"?Bn=1:(Bn=Rn,Rn=Fn);break;case 2:typeof arguments[0]=="string"?Bn=Dn:(Bn=this.natural(Rn,Dn),Rn=Fn);break;case 3:Bn=this.natural(Dn,Ln);break}for(var Hn="",zn=0;zn<Bn;zn++)Hn+=Rn.charAt(this.natural(0,Rn.length-1));return Hn},title:function(Rn,Dn){for(var Ln=Nn(3,7,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.capitalize(this.word()));return Fn.join(" ")},ctitle:function(Rn,Dn){for(var Ln=Nn(3,7,Rn,Dn),Fn=[],Bn=0;Bn<Ln;Bn++)Fn.push(this.cword());return Fn.join("")}}},function($n,Cn,_n){var Pn=_n(3);$n.exports={capitalize:function(In){return(In+"").charAt(0).toUpperCase()+(In+"").substr(1)},upper:function(In){return(In+"").toUpperCase()},lower:function(In){return(In+"").toLowerCase()},pick:function(Nn,Rn,Dn){return Pn.isArray(Nn)?(Rn===void 0&&(Rn=1),Dn===void 0&&(Dn=Rn)):(Nn=[].slice.call(arguments),Rn=1,Dn=1),Rn===1&&Dn===1?Nn[this.natural(0,Nn.length-1)]:this.shuffle(Nn,Rn,Dn)},shuffle:function(Nn,Rn,Dn){Nn=Nn||[];for(var Ln=Nn.slice(0),Fn=[],Bn=0,Hn=Ln.length,zn=0;zn<Hn;zn++)Bn=this.natural(0,Ln.length-1),Fn.push(Ln[Bn]),Ln.splice(Bn,1);switch(arguments.length){case 0:case 1:return Fn;case 2:Dn=Rn;case 3:return Rn=parseInt(Rn,10),Dn=parseInt(Dn,10),Fn.slice(0,this.natural(Rn,Dn))}},order:function In(Nn){In.cache=In.cache||{},arguments.length>1&&(Nn=[].slice.call(arguments,0));var Rn=In.options,Dn=Rn.context.templatePath.join("."),Ln=In.cache[Dn]=In.cache[Dn]||{index:0,array:Nn};return Ln.array[Ln.index++%Ln.array.length]}}},function($n,Cn){$n.exports={first:function(){var _n=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(_n)},last:function(){var _n=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(_n)},name:function(_n){return this.first()+" "+(_n?this.first()+" ":"")+this.last()},cfirst:function(){var _n="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(_n)},clast:function(){var _n="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(_n)},cname:function(){return this.cfirst()+this.clast()}}},function($n,Cn){$n.exports={url:function(_n,Pn){return(_n||this.protocol())+"://"+(Pn||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(_n){return this.word()+"."+(_n||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(_n){return this.character("lower")+"."+this.word()+"@"+(_n||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function($n,Cn,_n){var Pn=_n(18),In=["东北","华北","华东","华中","华南","西南","西北"];$n.exports={region:function(){return this.pick(In)},province:function(){return this.pick(Pn).name},city:function(Nn){var Rn=this.pick(Pn),Dn=this.pick(Rn.children);return Nn?[Rn.name,Dn.name].join(" "):Dn.name},county:function(Nn){var Rn=this.pick(Pn),Dn=this.pick(Rn.children),Ln=this.pick(Dn.children)||{name:"-"};return Nn?[Rn.name,Dn.name,Ln.name].join(" "):Ln.name},zip:function(Nn){for(var Rn="",Dn=0;Dn<(Nn||6);Dn++)Rn+=this.natural(0,9);return Rn}}},function($n,Cn){var _n={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function Pn(Nn){for(var Rn={},Dn=0,Ln;Dn<Nn.length;Dn++)Ln=Nn[Dn],!(!Ln||!Ln.id)&&(Rn[Ln.id]=Ln);for(var Fn=[],Bn=0;Bn<Nn.length;Bn++)if(Ln=Nn[Bn],!!Ln){if(Ln.pid==null&&Ln.parentId==null){Fn.push(Ln);continue}var Hn=Rn[Ln.pid]||Rn[Ln.parentId];Hn&&(Hn.children||(Hn.children=[]),Hn.children.push(Ln))}return Fn}var In=function(){var Nn=[];for(var Rn in _n){var Dn=Rn.slice(2,6)==="0000"?void 0:Rn.slice(4,6)=="00"?Rn.slice(0,2)+"0000":Rn.slice(0,4)+"00";Nn.push({id:Rn,pid:Dn,name:_n[Rn]})}return Pn(Nn)}();$n.exports=In},function($n,Cn,_n){var Pn=_n(18);$n.exports={d4:function(){return this.natural(1,4)},d6:function(){return this.natural(1,6)},d8:function(){return this.natural(1,8)},d12:function(){return this.natural(1,12)},d20:function(){return this.natural(1,20)},d100:function(){return this.natural(1,100)},guid:function(){var In="abcdefABCDEF1234567890",Nn=this.string(In,8)+"-"+this.string(In,4)+"-"+this.string(In,4)+"-"+this.string(In,4)+"-"+this.string(In,12);return Nn},uuid:function(){return this.guid()},id:function(){var In,Nn=0,Rn=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],Dn=["1","0","X","9","8","7","6","5","4","3","2"];In=this.pick(Pn).id+this.date("yyyyMMdd")+this.string("number",3);for(var Ln=0;Ln<In.length;Ln++)Nn+=In[Ln]*Rn[Ln];return In+=Dn[Nn%11],In},increment:function(){var In=0;return function(Nn){return In+=+Nn||1}}(),inc:function(In){return this.increment(In)}}},function($n,Cn,_n){var Pn=_n(21),In=_n(22);$n.exports={Parser:Pn,Handler:In}},function($n,Cn){function _n(Jo){this.type=Jo,this.offset=_n.offset(),this.text=_n.text()}function Pn(Jo,Zo){_n.call(this,"alternate"),this.left=Jo,this.right=Zo}function In(Jo){_n.call(this,"match"),this.body=Jo.filter(Boolean)}function Nn(Jo,Zo){_n.call(this,Jo),this.body=Zo}function Rn(Jo){Nn.call(this,"capture-group"),this.index=qo[this.offset]||(qo[this.offset]=Yo++),this.body=Jo}function Dn(Jo,Zo){_n.call(this,"quantified"),this.body=Jo,this.quantifier=Zo}function Ln(Jo,Zo){_n.call(this,"quantifier"),this.min=Jo,this.max=Zo,this.greedy=!0}function Fn(Jo,Zo){_n.call(this,"charset"),this.invert=Jo,this.body=Zo}function Bn(Jo,Zo){_n.call(this,"range"),this.start=Jo,this.end=Zo}function Hn(Jo){_n.call(this,"literal"),this.body=Jo,this.escaped=this.body!=this.text}function zn(Jo){_n.call(this,"unicode"),this.code=Jo.toUpperCase()}function Wn(Jo){_n.call(this,"hex"),this.code=Jo.toUpperCase()}function Yn(Jo){_n.call(this,"octal"),this.code=Jo.toUpperCase()}function Gn(Jo){_n.call(this,"back-reference"),this.code=Jo.toUpperCase()}function Go(Jo){_n.call(this,"control-character"),this.code=Jo.toUpperCase()}var Xn=function(){function Jo(nr,ta){function oa(){this.constructor=nr}oa.prototype=ta.prototype,nr.prototype=new oa}function Zo(nr,ta,oa,ra,ea){function la(ua,ga){function aa(ia){function fa(ma){return ma.charCodeAt(0).toString(16).toUpperCase()}return ia.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ma){return"\\x0"+fa(ma)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ma){return"\\x"+fa(ma)}).replace(/[\u0180-\u0FFF]/g,function(ma){return"\\u0"+fa(ma)}).replace(/[\u1080-\uFFFF]/g,function(ma){return"\\u"+fa(ma)})}var ca,sa;switch(ua.length){case 0:ca="end of input";break;case 1:ca=ua[0];break;default:ca=ua.slice(0,-1).join(", ")+" or "+ua[ua.length-1]}return sa=ga?'"'+aa(ga)+'"':"end of input","Expected "+ca+" but "+sa+" found."}this.expected=nr,this.found=ta,this.offset=oa,this.line=ra,this.column=ea,this.name="SyntaxError",this.message=la(nr,ta)}function rr(nr){function ta(){return nr.substring(_i,Ba)}function oa(){return _i}function ra(va){function Pa(ai,$i,Vi){var cs,Xs;for(cs=$i;Vi>cs;cs++)Xs=nr.charAt(cs),Xs===`
-`?(ai.seenCR||ai.line++,ai.column=1,ai.seenCR=!1):Xs==="\r"||Xs==="\u2028"||Xs==="\u2029"?(ai.line++,ai.column=1,ai.seenCR=!0):(ai.column++,ai.seenCR=!1)}return Ms!==va&&(Ms>va&&(Ms=0,Yl={line:1,column:1,seenCR:!1}),Pa(Yl,Ms,va),Ms=va),Yl}function ea(va){vs>Ba||(Ba>vs&&(vs=Ba,Cc=[]),Cc.push(va))}function la(va){var Pa=0;for(va.sort();Pa<va.length;)va[Pa-1]===va[Pa]?va.splice(Pa,1):Pa++}function ua(){var va,Pa,ai,$i,Vi;return va=Ba,Pa=ga(),Pa!==null?(ai=Ba,nr.charCodeAt(Ba)===124?($i=Tl,Ba++):($i=null,hi===0&&ea(ul)),$i!==null?(Vi=ua(),Vi!==null?($i=[$i,Vi],ai=$i):(Ba=ai,ai=yi)):(Ba=ai,ai=yi),ai===null&&(ai=il),ai!==null?(_i=va,Pa=ts(Pa,ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function ga(){var va,Pa,ai,$i,Vi;if(va=Ba,Pa=ca(),Pa===null&&(Pa=il),Pa!==null)if(ai=Ba,hi++,$i=fa(),hi--,$i===null?ai=il:(Ba=ai,ai=yi),ai!==null){for($i=[],Vi=ia(),Vi===null&&(Vi=aa());Vi!==null;)$i.push(Vi),Vi=ia(),Vi===null&&(Vi=aa());$i!==null?(Vi=sa(),Vi===null&&(Vi=il),Vi!==null?(_i=va,Pa=ci(Pa,$i,Vi),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)}else Ba=va,va=yi;else Ba=va,va=yi;return va}function aa(){var va;return va=Na(),va===null&&(va=pa(),va===null&&(va=za())),va}function ca(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===94?(Pa=Ci,Ba++):(Pa=null,hi===0&&ea(bi)),Pa!==null&&(_i=va,Pa=Bi()),Pa===null&&(Ba=va),va=Pa,va}function sa(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===36?(Pa=nl,Ba++):(Pa=null,hi===0&&ea(el)),Pa!==null&&(_i=va,Pa=gl()),Pa===null&&(Ba=va),va=Pa,va}function ia(){var va,Pa,ai;return va=Ba,Pa=aa(),Pa!==null?(ai=fa(),ai!==null?(_i=va,Pa=ll(Pa,ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function fa(){var va,Pa,ai;return hi++,va=Ba,Pa=ma(),Pa!==null?(ai=wa(),ai===null&&(ai=il),ai!==null?(_i=va,Pa=ml(Pa,ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),hi--,va===null&&(Pa=null,hi===0&&ea(Rl)),va}function ma(){var va;return va=ya(),va===null&&(va=ba(),va===null&&(va=Ia(),va===null&&(va=Ea(),va===null&&(va=xa(),va===null&&(va=Ta()))))),va}function ya(){var va,Pa,ai,$i,Vi,cs;return va=Ba,nr.charCodeAt(Ba)===123?(Pa=hl,Ba++):(Pa=null,hi===0&&ea(zi)),Pa!==null?(ai=La(),ai!==null?(nr.charCodeAt(Ba)===44?($i=Pl,Ba++):($i=null,hi===0&&ea(Cl)),$i!==null?(Vi=La(),Vi!==null?(nr.charCodeAt(Ba)===125?(cs=Fl,Ba++):(cs=null,hi===0&&ea(Bl)),cs!==null?(_i=va,Pa=vl(ai,Vi),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi),va}function ba(){var va,Pa,ai,$i;return va=Ba,nr.charCodeAt(Ba)===123?(Pa=hl,Ba++):(Pa=null,hi===0&&ea(zi)),Pa!==null?(ai=La(),ai!==null?(nr.substr(Ba,2)===ns?($i=ns,Ba+=2):($i=null,hi===0&&ea(yl)),$i!==null?(_i=va,Pa=js(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi),va}function Ia(){var va,Pa,ai,$i;return va=Ba,nr.charCodeAt(Ba)===123?(Pa=hl,Ba++):(Pa=null,hi===0&&ea(zi)),Pa!==null?(ai=La(),ai!==null?(nr.charCodeAt(Ba)===125?($i=Fl,Ba++):($i=null,hi===0&&ea(Bl)),$i!==null?(_i=va,Pa=Ac(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi),va}function Ea(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===43?(Pa=Mc,Ba++):(Pa=null,hi===0&&ea(rc)),Pa!==null&&(_i=va,Pa=ac()),Pa===null&&(Ba=va),va=Pa,va}function xa(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===42?(Pa=Hs,Ba++):(Pa=null,hi===0&&ea(Dc)),Pa!==null&&(_i=va,Pa=ps()),Pa===null&&(Ba=va),va=Pa,va}function Ta(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===63?(Pa=zs,Ba++):(Pa=null,hi===0&&ea(ic)),Pa!==null&&(_i=va,Pa=lc()),Pa===null&&(Ba=va),va=Pa,va}function wa(){var va;return nr.charCodeAt(Ba)===63?(va=zs,Ba++):(va=null,hi===0&&ea(ic)),va}function La(){var va,Pa,ai;if(va=Ba,Pa=[],Ws.test(nr.charAt(Ba))?(ai=nr.charAt(Ba),Ba++):(ai=null,hi===0&&ea(Ps)),ai!==null)for(;ai!==null;)Pa.push(ai),Ws.test(nr.charAt(Ba))?(ai=nr.charAt(Ba),Ba++):(ai=null,hi===0&&ea(Ps));else Pa=yi;return Pa!==null&&(_i=va,Pa=Is(Pa)),Pa===null&&(Ba=va),va=Pa,va}function Na(){var va,Pa,ai,$i;return va=Ba,nr.charCodeAt(Ba)===40?(Pa=sc,Ba++):(Pa=null,hi===0&&ea(Os)),Pa!==null?(ai=Ha(),ai===null&&(ai=da(),ai===null&&(ai=ka(),ai===null&&(ai=$a()))),ai!==null?(nr.charCodeAt(Ba)===41?($i=is,Ba++):($i=null,hi===0&&ea(cc)),$i!==null?(_i=va,Pa=bl(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi),va}function $a(){var va,Pa;return va=Ba,Pa=ua(),Pa!==null&&(_i=va,Pa=jl(Pa)),Pa===null&&(Ba=va),va=Pa,va}function ka(){var va,Pa,ai;return va=Ba,nr.substr(Ba,2)===Es?(Pa=Es,Ba+=2):(Pa=null,hi===0&&ea(gs)),Pa!==null?(ai=ua(),ai!==null?(_i=va,Pa=Ul(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function Ha(){var va,Pa,ai;return va=Ba,nr.substr(Ba,2)===Ks?(Pa=Ks,Ba+=2):(Pa=null,hi===0&&ea(uc)),Pa!==null?(ai=ua(),ai!==null?(_i=va,Pa=ms(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function da(){var va,Pa,ai;return va=Ba,nr.substr(Ba,2)===Gl?(Pa=Gl,Ba+=2):(Pa=null,hi===0&&ea(Us)),Pa!==null?(ai=ua(),ai!==null?(_i=va,Pa=Ns(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function pa(){var va,Pa,ai,$i,Vi;if(hi++,va=Ba,nr.charCodeAt(Ba)===91?(Pa=cu,Ba++):(Pa=null,hi===0&&ea(uu)),Pa!==null)if(nr.charCodeAt(Ba)===94?(ai=Ci,Ba++):(ai=null,hi===0&&ea(bi)),ai===null&&(ai=il),ai!==null){for($i=[],Vi=Sa(),Vi===null&&(Vi=Aa());Vi!==null;)$i.push(Vi),Vi=Sa(),Vi===null&&(Vi=Aa());$i!==null?(nr.charCodeAt(Ba)===93?(Vi=du,Ba++):(Vi=null,hi===0&&ea(fu)),Vi!==null?(_i=va,Pa=ud(ai,$i),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)}else Ba=va,va=yi;else Ba=va,va=yi;return hi--,va===null&&(Pa=null,hi===0&&ea(cd)),va}function Sa(){var va,Pa,ai,$i;return hi++,va=Ba,Pa=Aa(),Pa!==null?(nr.charCodeAt(Ba)===45?(ai=fd,Ba++):(ai=null,hi===0&&ea(pu)),ai!==null?($i=Aa(),$i!==null?(_i=va,Pa=pd(Pa,$i),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi)):(Ba=va,va=yi),hi--,va===null&&(Pa=null,hi===0&&ea(dd)),va}function Aa(){var va;return hi++,va=Fa(),va===null&&(va=Ra()),hi--,va===null&&hi===0&&ea(gd),va}function Ra(){var va,Pa;return va=Ba,md.test(nr.charAt(Ba))?(Pa=nr.charAt(Ba),Ba++):(Pa=null,hi===0&&ea(hd)),Pa!==null&&(_i=va,Pa=Gs(Pa)),Pa===null&&(Ba=va),va=Pa,va}function Fa(){var va;return va=qa(),va===null&&(va=gi(),va===null&&(va=Ma(),va===null&&(va=Ua(),va===null&&(va=Qa(),va===null&&(va=ri(),va===null&&(va=fi(),va===null&&(va=ei(),va===null&&(va=ti(),va===null&&(va=ni(),va===null&&(va=ui(),va===null&&(va=mi(),va===null&&(va=di(),va===null&&(va=Ti(),va===null&&(va=Ei(),va===null&&(va=Ni(),va===null&&(va=Ri(),va===null&&(va=Zi()))))))))))))))))),va}function za(){var va;return va=Wa(),va===null&&(va=ja(),va===null&&(va=Ya())),va}function Wa(){var va,Pa;return va=Ba,nr.charCodeAt(Ba)===46?(Pa=vd,Ba++):(Pa=null,hi===0&&ea(yd)),Pa!==null&&(_i=va,Pa=bd()),Pa===null&&(Ba=va),va=Pa,va}function Ya(){var va,Pa;return hi++,va=Ba,Sd.test(nr.charAt(Ba))?(Pa=nr.charAt(Ba),Ba++):(Pa=null,hi===0&&ea(Xi)),Pa!==null&&(_i=va,Pa=Gs(Pa)),Pa===null&&(Ba=va),va=Pa,hi--,va===null&&(Pa=null,hi===0&&ea($d)),va}function ja(){var va;return va=Xa(),va===null&&(va=Oa(),va===null&&(va=gi(),va===null&&(va=Ma(),va===null&&(va=Ua(),va===null&&(va=Qa(),va===null&&(va=ri(),va===null&&(va=fi(),va===null&&(va=ei(),va===null&&(va=ti(),va===null&&(va=ni(),va===null&&(va=ui(),va===null&&(va=mi(),va===null&&(va=di(),va===null&&(va=wi(),va===null&&(va=Ti(),va===null&&(va=Ei(),va===null&&(va=Ni(),va===null&&(va=Ri(),va===null&&(va=Zi()))))))))))))))))))),va}function qa(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Wi?(Pa=Wi,Ba+=2):(Pa=null,hi===0&&ea(gu)),Pa!==null&&(_i=va,Pa=Cd()),Pa===null&&(Ba=va),va=Pa,va}function Xa(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Wi?(Pa=Wi,Ba+=2):(Pa=null,hi===0&&ea(gu)),Pa!==null&&(_i=va,Pa=xd()),Pa===null&&(Ba=va),va=Pa,va}function Oa(){var va,Pa;return va=Ba,nr.substr(Ba,2)===mu?(Pa=mu,Ba+=2):(Pa=null,hi===0&&ea(wd)),Pa!==null&&(_i=va,Pa=_d()),Pa===null&&(Ba=va),va=Pa,va}function Ma(){var va,Pa;return va=Ba,nr.substr(Ba,2)===kc?(Pa=kc,Ba+=2):(Pa=null,hi===0&&ea(Td)),Pa!==null&&(_i=va,Pa=dl()),Pa===null&&(Ba=va),va=Pa,va}function Ua(){var va,Pa;return va=Ba,nr.substr(Ba,2)===dc?(Pa=dc,Ba+=2):(Pa=null,hi===0&&ea(hs)),Pa!==null&&(_i=va,Pa=hu()),Pa===null&&(Ba=va),va=Pa,va}function Qa(){var va,Pa;return va=Ba,nr.substr(Ba,2)===fc?(Pa=fc,Ba+=2):(Pa=null,hi===0&&ea(Al)),Pa!==null&&(_i=va,Pa=vu()),Pa===null&&(Ba=va),va=Pa,va}function ri(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Lc?(Pa=Lc,Ba+=2):(Pa=null,hi===0&&ea(yu)),Pa!==null&&(_i=va,Pa=bu()),Pa===null&&(Ba=va),va=Pa,va}function fi(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Vc?(Pa=Vc,Ba+=2):(Pa=null,hi===0&&ea($u)),Pa!==null&&(_i=va,Pa=Il()),Pa===null&&(Ba=va),va=Pa,va}function ei(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Su?(Pa=Su,Ba+=2):(Pa=null,hi===0&&ea(Ml)),Pa!==null&&(_i=va,Pa=Pd()),Pa===null&&(Ba=va),va=Pa,va}function ti(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Fc?(Pa=Fc,Ba+=2):(Pa=null,hi===0&&ea(ls)),Pa!==null&&(_i=va,Pa=pc()),Pa===null&&(Ba=va),va=Pa,va}function ni(){var va,Pa;return va=Ba,nr.substr(Ba,2)===gc?(Pa=gc,Ba+=2):(Pa=null,hi===0&&ea(tl)),Pa!==null&&(_i=va,Pa=ss()),Pa===null&&(Ba=va),va=Pa,va}function ui(){var va,Pa;return va=Ba,nr.substr(Ba,2)===mc?(Pa=mc,Ba+=2):(Pa=null,hi===0&&ea(Id)),Pa!==null&&(_i=va,Pa=Bc()),Pa===null&&(Ba=va),va=Pa,va}function mi(){var va,Pa;return va=Ba,nr.substr(Ba,2)===Cu?(Pa=Cu,Ba+=2):(Pa=null,hi===0&&ea(Od)),Pa!==null&&(_i=va,Pa=Ed()),Pa===null&&(Ba=va),va=Pa,va}function di(){var va,Pa;return va=Ba,nr.substr(Ba,2)===jc?(Pa=jc,Ba+=2):(Pa=null,hi===0&&ea(hc)),Pa!==null&&(_i=va,Pa=Rs()),Pa===null&&(Ba=va),va=Pa,va}function gi(){var va,Pa,ai;return va=Ba,nr.substr(Ba,2)===xu?(Pa=xu,Ba+=2):(Pa=null,hi===0&&ea(wu)),Pa!==null?(nr.length>Ba?(ai=nr.charAt(Ba),Ba++):(ai=null,hi===0&&ea(Hc)),ai!==null?(_i=va,Pa=zc(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function wi(){var va,Pa,ai;return va=Ba,nr.charCodeAt(Ba)===92?(Pa=vc,Ba++):(Pa=null,hi===0&&ea(Wc)),Pa!==null?(Nd.test(nr.charAt(Ba))?(ai=nr.charAt(Ba),Ba++):(ai=null,hi===0&&ea(Kc)),ai!==null?(_i=va,Pa=Uc(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}function Ti(){var va,Pa,ai,$i;if(va=Ba,nr.substr(Ba,2)===yc?(Pa=yc,Ba+=2):(Pa=null,hi===0&&ea(Gc)),Pa!==null){if(ai=[],xl.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(bc)),$i!==null)for(;$i!==null;)ai.push($i),xl.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(bc));else ai=yi;ai!==null?(_i=va,Pa=Ys(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)}else Ba=va,va=yi;return va}function Ei(){var va,Pa,ai,$i;if(va=Ba,nr.substr(Ba,2)===Yc?(Pa=Yc,Ba+=2):(Pa=null,hi===0&&ea(_u)),Pa!==null){if(ai=[],$c.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(Sc)),$i!==null)for(;$i!==null;)ai.push($i),$c.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(Sc));else ai=yi;ai!==null?(_i=va,Pa=Rd(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)}else Ba=va,va=yi;return va}function Ni(){var va,Pa,ai,$i;if(va=Ba,nr.substr(Ba,2)===Tu?(Pa=Tu,Ba+=2):(Pa=null,hi===0&&ea(Ad)),Pa!==null){if(ai=[],$c.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(Sc)),$i!==null)for(;$i!==null;)ai.push($i),$c.test(nr.charAt(Ba))?($i=nr.charAt(Ba),Ba++):($i=null,hi===0&&ea(Sc));else ai=yi;ai!==null?(_i=va,Pa=As(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)}else Ba=va,va=yi;return va}function Ri(){var va,Pa;return va=Ba,nr.substr(Ba,2)===yc?(Pa=yc,Ba+=2):(Pa=null,hi===0&&ea(Gc)),Pa!==null&&(_i=va,Pa=Md()),Pa===null&&(Ba=va),va=Pa,va}function Zi(){var va,Pa,ai;return va=Ba,nr.charCodeAt(Ba)===92?(Pa=vc,Ba++):(Pa=null,hi===0&&ea(Wc)),Pa!==null?(nr.length>Ba?(ai=nr.charAt(Ba),Ba++):(ai=null,hi===0&&ea(Hc)),ai!==null?(_i=va,Pa=Gs(ai),Pa===null&&(Ba=va),va=Pa):(Ba=va,va=yi)):(Ba=va,va=yi),va}var Qi,Ji=arguments.length>1?arguments[1]:{},Yi={regexp:ua},rl=ua,yi=null,il="",Tl="|",ul='"|"',ts=function(va,Pa){return Pa?new Pn(va,Pa[1]):va},ci=function(va,Pa,ai){return new In([va].concat(Pa).concat([ai]))},Ci="^",bi='"^"',Bi=function(){return new _n("start")},nl="$",el='"$"',gl=function(){return new _n("end")},ll=function(va,Pa){return new Dn(va,Pa)},Rl="Quantifier",ml=function(va,Pa){return Pa&&(va.greedy=!1),va},hl="{",zi='"{"',Pl=",",Cl='","',Fl="}",Bl='"}"',vl=function(va,Pa){return new Ln(va,Pa)},ns=",}",yl='",}"',js=function(va){return new Ln(va,1/0)},Ac=function(va){return new Ln(va,va)},Mc="+",rc='"+"',ac=function(){return new Ln(1,1/0)},Hs="*",Dc='"*"',ps=function(){return new Ln(0,1/0)},zs="?",ic='"?"',lc=function(){return new Ln(0,1)},Ws=/^[0-9]/,Ps="[0-9]",Is=function(va){return+va.join("")},sc="(",Os='"("',is=")",cc='")"',bl=function(va){return va},jl=function(va){return new Rn(va)},Es="?:",gs='"?:"',Ul=function(va){return new Nn("non-capture-group",va)},Ks="?=",uc='"?="',ms=function(va){return new Nn("positive-lookahead",va)},Gl="?!",Us='"?!"',Ns=function(va){return new Nn("negative-lookahead",va)},cd="CharacterSet",cu="[",uu='"["',du="]",fu='"]"',ud=function(va,Pa){return new Fn(!!va,Pa)},dd="CharacterRange",fd="-",pu='"-"',pd=function(va,Pa){return new Bn(va,Pa)},gd="Character",md=/^[^\\\]]/,hd="[^\\\\\\]]",Gs=function(va){return new Hn(va)},vd=".",yd='"."',bd=function(){return new _n("any-character")},$d="Literal",Sd=/^[^|\\\/.[()?+*$\^]/,Xi="[^|\\\\\\/.[()?+*$\\^]",Wi="\\b",gu='"\\\\b"',Cd=function(){return new _n("backspace")},xd=function(){return new _n("word-boundary")},mu="\\B",wd='"\\\\B"',_d=function(){return new _n("non-word-boundary")},kc="\\d",Td='"\\\\d"',dl=function(){return new _n("digit")},dc="\\D",hs='"\\\\D"',hu=function(){return new _n("non-digit")},fc="\\f",Al='"\\\\f"',vu=function(){return new _n("form-feed")},Lc="\\n",yu='"\\\\n"',bu=function(){return new _n("line-feed")},Vc="\\r",$u='"\\\\r"',Il=function(){return new _n("carriage-return")},Su="\\s",Ml='"\\\\s"',Pd=function(){return new _n("white-space")},Fc="\\S",ls='"\\\\S"',pc=function(){return new _n("non-white-space")},gc="\\t",tl='"\\\\t"',ss=function(){return new _n("tab")},mc="\\v",Id='"\\\\v"',Bc=function(){return new _n("vertical-tab")},Cu="\\w",Od='"\\\\w"',Ed=function(){return new _n("word")},jc="\\W",hc='"\\\\W"',Rs=function(){return new _n("non-word")},xu="\\c",wu='"\\\\c"',Hc="any character",zc=function(va){return new Go(va)},vc="\\",Wc='"\\\\"',Nd=/^[1-9]/,Kc="[1-9]",Uc=function(va){return new Gn(va)},yc="\\0",Gc='"\\\\0"',xl=/^[0-7]/,bc="[0-7]",Ys=function(va){return new Yn(va.join(""))},Yc="\\x",_u='"\\\\x"',$c=/^[0-9a-fA-F]/,Sc="[0-9a-fA-F]",Rd=function(va){return new Wn(va.join(""))},Tu="\\u",Ad='"\\\\u"',As=function(va){return new zn(va.join(""))},Md=function(){return new _n("null-character")},Ba=0,_i=0,Ms=0,Yl={line:1,column:1,seenCR:!1},vs=0,Cc=[],hi=0;if("startRule"in Ji){if(!(Ji.startRule in Yi))throw new Error(`Can't start parsing from rule "`+Ji.startRule+'".');rl=Yi[Ji.startRule]}if(_n.offset=oa,_n.text=ta,Qi=rl(),Qi!==null&&Ba===nr.length)return Qi;throw la(Cc),_i=Math.max(Ba,vs),new Zo(Cc,_i<nr.length?nr.charAt(_i):null,_i,ra(_i).line,ra(_i).column)}return Jo(Zo,Error),{SyntaxError:Zo,parse:rr}}(),Yo=1,qo={};$n.exports=Xn},function($n,Cn,_n){var Pn=_n(3),In=_n(5),Nn={extend:Pn.extend},Rn=Wn(97,122),Dn=Wn(65,90),Ln=Wn(48,57),Fn=Wn(32,47)+Wn(58,64)+Wn(91,96)+Wn(123,126),Bn=Wn(32,126),Hn=` \f
-\r \v \u2028\u2029`,zn={"\\w":Rn+Dn+Ln+"_","\\W":Fn.replace("_",""),"\\s":Hn,"\\S":function(){for(var Yn=Bn,Gn=0;Gn<Hn.length;Gn++)Yn=Yn.replace(Hn[Gn],"");return Yn}(),"\\d":Ln,"\\D":Rn+Dn+Fn};function Wn(Yn,Gn){for(var Go="",Xn=Yn;Xn<=Gn;Xn++)Go+=String.fromCharCode(Xn);return Go}Nn.gen=function(Yn,Gn,Go){return Go=Go||{guid:1},Nn[Yn.type]?Nn[Yn.type](Yn,Gn,Go):Nn.token(Yn,Gn,Go)},Nn.extend({token:function(Yn,Gn,Go){switch(Yn.type){case"start":case"end":return"";case"any-character":return In.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return In.pick(Ln.split(""));case"non-digit":return In.pick((Rn+Dn+Fn).split(""));case"form-feed":break;case"line-feed":return Yn.body||Yn.text;case"carriage-return":break;case"white-space":return In.pick(Hn.split(""));case"non-white-space":return In.pick((Rn+Dn+Ln).split(""));case"tab":break;case"vertical-tab":break;case"word":return In.pick((Rn+Dn+Ln).split(""));case"non-word":return In.pick(Fn.replace("_","").split(""))}return Yn.body||Yn.text},alternate:function(Yn,Gn,Go){return this.gen(In.boolean()?Yn.left:Yn.right,Gn,Go)},match:function(Yn,Gn,Go){Gn="";for(var Xn=0;Xn<Yn.body.length;Xn++)Gn+=this.gen(Yn.body[Xn],Gn,Go);return Gn},"capture-group":function(Yn,Gn,Go){return Gn=this.gen(Yn.body,Gn,Go),Go[Go.guid++]=Gn,Gn},"non-capture-group":function(Yn,Gn,Go){return this.gen(Yn.body,Gn,Go)},"positive-lookahead":function(Yn,Gn,Go){return this.gen(Yn.body,Gn,Go)},"negative-lookahead":function(Yn,Gn,Go){return""},quantified:function(Yn,Gn,Go){Gn="";for(var Xn=this.quantifier(Yn.quantifier),Yo=0;Yo<Xn;Yo++)Gn+=this.gen(Yn.body,Gn,Go);return Gn},quantifier:function(Yn,Gn,Go){var Xn=Math.max(Yn.min,0),Yo=isFinite(Yn.max)?Yn.max:Xn+In.integer(3,7);return In.integer(Xn,Yo)},charset:function(Yn,Gn,Go){if(Yn.invert)return this["invert-charset"](Yn,Gn,Go);var Xn=In.pick(Yn.body);return this.gen(Xn,Gn,Go)},"invert-charset":function(Yn,Gn,Go){for(var Xn=Bn,Yo=0,qo;Yo<Yn.body.length;Yo++)switch(qo=Yn.body[Yo],qo.type){case"literal":Xn=Xn.replace(qo.body,"");break;case"range":for(var Jo=this.gen(qo.start,Gn,Go).charCodeAt(),Zo=this.gen(qo.end,Gn,Go).charCodeAt(),rr=Jo;rr<=Zo;rr++)Xn=Xn.replace(String.fromCharCode(rr),"");default:var nr=zn[qo.text];if(nr)for(var ta=0;ta<=nr.length;ta++)Xn=Xn.replace(nr[ta],"")}return In.pick(Xn.split(""))},range:function(Yn,Gn,Go){var Xn=this.gen(Yn.start,Gn,Go).charCodeAt(),Yo=this.gen(Yn.end,Gn,Go).charCodeAt();return String.fromCharCode(In.integer(Xn,Yo))},literal:function(Yn,Gn,Go){return Yn.escaped?Yn.body:Yn.text},unicode:function(Yn,Gn,Go){return String.fromCharCode(parseInt(Yn.code,16))},hex:function(Yn,Gn,Go){return String.fromCharCode(parseInt(Yn.code,16))},octal:function(Yn,Gn,Go){return String.fromCharCode(parseInt(Yn.code,8))},"back-reference":function(Yn,Gn,Go){return Go[Yn.code]||""},CONTROL_CHARACTER_MAP:function(){for(var Yn="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),Gn=`\0 \x07 \b
- \v \f \r \x1B `.split(" "),Go={},Xn=0;Xn<Yn.length;Xn++)Go[Yn[Xn]]=Gn[Xn];return Go}(),"control-character":function(Yn,Gn,Go){return this.CONTROL_CHARACTER_MAP[Yn.code]}}),$n.exports=Nn},function($n,Cn,_n){$n.exports=_n(24)},function($n,Cn,_n){var Pn=_n(2),In=_n(3),Nn=_n(4);function Rn(Dn,Ln,Fn){Fn=Fn||[];var Bn={name:typeof Ln=="string"?Ln.replace(Pn.RE_KEY,"$1"):Ln,template:Dn,type:In.type(Dn),rule:Nn.parse(Ln)};switch(Bn.path=Fn.slice(0),Bn.path.push(Ln===void 0?"ROOT":Bn.name),Bn.type){case"array":Bn.items=[],In.each(Dn,function(Hn,zn){Bn.items.push(Rn(Hn,zn,Bn.path))});break;case"object":Bn.properties=[],In.each(Dn,function(Hn,zn){Bn.properties.push(Rn(Hn,zn,Bn.path))});break}return Bn}$n.exports=Rn},function($n,Cn,_n){$n.exports=_n(26)},function($n,Cn,_n){var Pn=_n(2),In=_n(3),Nn=_n(23);function Rn(Fn,Bn){for(var Hn=Nn(Fn),zn=Dn.diff(Hn,Bn),Wn=0;Wn<zn.length;Wn++);return zn}var Dn={diff:function(Bn,Hn,zn){var Wn=[];return this.name(Bn,Hn,zn,Wn)&&this.type(Bn,Hn,zn,Wn)&&(this.value(Bn,Hn,zn,Wn),this.properties(Bn,Hn,zn,Wn),this.items(Bn,Hn,zn,Wn)),Wn},name:function(Fn,Bn,Hn,zn){var Wn=zn.length;return Ln.equal("name",Fn.path,Hn+"",Fn.name+"",zn),zn.length===Wn},type:function(Fn,Bn,Hn,zn){var Wn=zn.length;switch(Fn.type){case"string":if(Fn.template.match(Pn.RE_PLACEHOLDER))return!0;break;case"array":if(Fn.rule.parameters&&(Fn.rule.min!==void 0&&Fn.rule.max===void 0&&Fn.rule.count===1||Fn.rule.parameters[2]))return!0;break;case"function":return!0}return Ln.equal("type",Fn.path,In.type(Bn),Fn.type,zn),zn.length===Wn},value:function(Fn,Bn,Hn,zn){var Wn=zn.length,Yn=Fn.rule,Gn=Fn.type;if(Gn==="object"||Gn==="array"||Gn==="function")return!0;if(!Yn.parameters){switch(Gn){case"regexp":return Ln.match("value",Fn.path,Bn,Fn.template,zn),zn.length===Wn;case"string":if(Fn.template.match(Pn.RE_PLACEHOLDER))return zn.length===Wn;break}return Ln.equal("value",Fn.path,Bn,Fn.template,zn),zn.length===Wn}var Go;switch(Gn){case"number":var Xn=(Bn+"").split(".");Xn[0]=+Xn[0],Yn.min!==void 0&&Yn.max!==void 0&&(Ln.greaterThanOrEqualTo("value",Fn.path,Xn[0],Math.min(Yn.min,Yn.max),zn),Ln.lessThanOrEqualTo("value",Fn.path,Xn[0],Math.max(Yn.min,Yn.max),zn)),Yn.min!==void 0&&Yn.max===void 0&&Ln.equal("value",Fn.path,Xn[0],Yn.min,zn,"[value] "+Hn),Yn.decimal&&(Yn.dmin!==void 0&&Yn.dmax!==void 0&&(Ln.greaterThanOrEqualTo("value",Fn.path,Xn[1].length,Yn.dmin,zn),Ln.lessThanOrEqualTo("value",Fn.path,Xn[1].length,Yn.dmax,zn)),Yn.dmin!==void 0&&Yn.dmax===void 0&&Ln.equal("value",Fn.path,Xn[1].length,Yn.dmin,zn));break;case"boolean":break;case"string":Go=Bn.match(new RegExp(Fn.template,"g")),Go=Go?Go.length:0,Yn.min!==void 0&&Yn.max!==void 0&&(Ln.greaterThanOrEqualTo("repeat count",Fn.path,Go,Yn.min,zn),Ln.lessThanOrEqualTo("repeat count",Fn.path,Go,Yn.max,zn)),Yn.min!==void 0&&Yn.max===void 0&&Ln.equal("repeat count",Fn.path,Go,Yn.min,zn);break;case"regexp":Go=Bn.match(new RegExp(Fn.template.source.replace(/^\^|\$$/g,""),"g")),Go=Go?Go.length:0,Yn.min!==void 0&&Yn.max!==void 0&&(Ln.greaterThanOrEqualTo("repeat count",Fn.path,Go,Yn.min,zn),Ln.lessThanOrEqualTo("repeat count",Fn.path,Go,Yn.max,zn)),Yn.min!==void 0&&Yn.max===void 0&&Ln.equal("repeat count",Fn.path,Go,Yn.min,zn);break}return zn.length===Wn},properties:function(Fn,Bn,Hn,zn){var Wn=zn.length,Yn=Fn.rule,Gn=In.keys(Bn);if(Fn.properties){if(Fn.rule.parameters?(Yn.min!==void 0&&Yn.max!==void 0&&(Ln.greaterThanOrEqualTo("properties length",Fn.path,Gn.length,Math.min(Yn.min,Yn.max),zn),Ln.lessThanOrEqualTo("properties length",Fn.path,Gn.length,Math.max(Yn.min,Yn.max),zn)),Yn.min!==void 0&&Yn.max===void 0&&Yn.count!==1&&Ln.equal("properties length",Fn.path,Gn.length,Yn.min,zn)):Ln.equal("properties length",Fn.path,Gn.length,Fn.properties.length,zn),zn.length!==Wn)return!1;for(var Go=0;Go<Gn.length;Go++)zn.push.apply(zn,this.diff(function(){var Xn;return In.each(Fn.properties,function(Yo){Yo.name===Gn[Go]&&(Xn=Yo)}),Xn||Fn.properties[Go]}(),Bn[Gn[Go]],Gn[Go]));return zn.length===Wn}},items:function(Fn,Bn,Hn,zn){var Wn=zn.length;if(Fn.items){var Yn=Fn.rule;if(!Fn.rule.parameters)Ln.equal("items length",Fn.path,Bn.length,Fn.items.length,zn);else{if(Yn.min!==void 0&&Yn.max!==void 0&&(Ln.greaterThanOrEqualTo("items",Fn.path,Bn.length,Math.min(Yn.min,Yn.max)*Fn.items.length,zn,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),Ln.lessThanOrEqualTo("items",Fn.path,Bn.length,Math.max(Yn.min,Yn.max)*Fn.items.length,zn,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),Yn.min!==void 0&&Yn.max===void 0){if(Yn.count===1)return zn.length===Wn;Ln.equal("items length",Fn.path,Bn.length,Yn.min*Fn.items.length,zn)}if(Yn.parameters[2])return zn.length===Wn}if(zn.length!==Wn)return!1;for(var Gn=0;Gn<Bn.length;Gn++)zn.push.apply(zn,this.diff(Fn.items[Gn%Fn.items.length],Bn[Gn],Gn%Fn.items.length));return zn.length===Wn}}},Ln={message:function(Fn){return(Fn.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",Fn.type.toUpperCase()).replace("{ltype}",Fn.type.toLowerCase()).replace("{path}",In.isArray(Fn.path)&&Fn.path.join(".")||Fn.path).replace("{action}",Fn.action).replace("{expected}",Fn.expected).replace("{actual}",Fn.actual)},equal:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn===zn)return!0;switch(Fn){case"type":if(zn==="regexp"&&Hn==="string")return!0;break}var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is equal to",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},match:function(Fn,Bn,Hn,zn,Wn,Yn){if(zn.test(Hn))return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"matches",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},notEqual:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn!==zn)return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is not equal to",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},greaterThan:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn>zn)return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is greater than",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},lessThan:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn<zn)return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is less to",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},greaterThanOrEqualTo:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn>=zn)return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is greater than or equal to",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1},lessThanOrEqualTo:function(Fn,Bn,Hn,zn,Wn,Yn){if(Hn<=zn)return!0;var Gn={path:Bn,type:Fn,actual:Hn,expected:zn,action:"is less than or equal to",message:Yn};return Gn.message=Ln.message(Gn),Wn.push(Gn),!1}};Rn.Diff=Dn,Rn.Assert=Ln,$n.exports=Rn},function($n,Cn,_n){$n.exports=_n(28)},function($n,Cn,_n){var Pn=_n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(Yn,Gn,Go,Xn){var Yo=document.createEvent("CustomEvent");return Yo.initCustomEvent(Yn,Gn,Go,Xn),Yo}}var In={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Nn="readystatechange loadstart progress abort error load timeout loadend".split(" "),Rn="timeout withCredentials".split(" "),Dn="readyState responseURL status statusText responseType response responseText responseXML".split(" "),Ln={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function Fn(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}Fn._settings={timeout:"10-100"},Fn.setup=function(Wn){return Pn.extend(Fn._settings,Wn),Fn._settings},Pn.extend(Fn,In),Pn.extend(Fn.prototype,In),Fn.prototype.mock=!0,Fn.prototype.match=!1,Pn.extend(Fn.prototype,{open:function(Wn,Yn,Gn,Go,Xn){var Yo=this;Pn.extend(this.custom,{method:Wn,url:Yn,async:typeof Gn=="boolean"?Gn:!0,username:Go,password:Xn,options:{url:Yn,type:Wn}}),this.custom.timeout=function(ta){if(typeof ta=="number")return ta;if(typeof ta=="string"&&!~ta.indexOf("-"))return parseInt(ta,10);if(typeof ta=="string"&&~ta.indexOf("-")){var oa=ta.split("-"),ra=parseInt(oa[0],10),ea=parseInt(oa[1],10);return Math.round(Math.random()*(ea-ra))+ra}}(Fn._settings.timeout);var qo=Hn(this.custom.options);function Jo(ta){for(var oa=0;oa<Dn.length;oa++)try{Yo[Dn[oa]]=Zo[Dn[oa]]}catch{}Yo.dispatchEvent(new Event(ta.type))}if(!qo){var Zo=Bn();this.custom.xhr=Zo;for(var rr=0;rr<Nn.length;rr++)Zo.addEventListener(Nn[rr],Jo);Go?Zo.open(Wn,Yn,Gn,Go,Xn):Zo.open(Wn,Yn,Gn);for(var nr=0;nr<Rn.length;nr++)try{Zo[Rn[nr]]=Yo[Rn[nr]]}catch{}return}this.match=!0,this.custom.template=qo,this.readyState=Fn.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(Wn,Yn){if(!this.match){this.custom.xhr.setRequestHeader(Wn,Yn);return}var Gn=this.custom.requestHeaders;Gn[Wn]?Gn[Wn]+=","+Yn:Gn[Wn]=Yn},timeout:0,withCredentials:!1,upload:{},send:function(Yn){var Gn=this;if(this.custom.options.body=Yn,!this.match){this.custom.xhr.send(Yn);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(Go,this.custom.timeout):Go();function Go(){Gn.readyState=Fn.HEADERS_RECEIVED,Gn.dispatchEvent(new Event("readystatechange")),Gn.readyState=Fn.LOADING,Gn.dispatchEvent(new Event("readystatechange")),Gn.status=200,Gn.statusText=Ln[200],Gn.response=Gn.responseText=JSON.stringify(zn(Gn.custom.template,Gn.custom.options),null,4),Gn.readyState=Fn.DONE,Gn.dispatchEvent(new Event("readystatechange")),Gn.dispatchEvent(new Event("load")),Gn.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=Fn.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),Pn.extend(Fn.prototype,{responseURL:"",status:Fn.UNSENT,statusText:"",getResponseHeader:function(Wn){return this.match?this.custom.responseHeaders[Wn.toLowerCase()]:this.custom.xhr.getResponseHeader(Wn)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var Wn=this.custom.responseHeaders,Yn="";for(var Gn in Wn)Wn.hasOwnProperty(Gn)&&(Yn+=Gn+": "+Wn[Gn]+`\r
-`);return Yn},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),Pn.extend(Fn.prototype,{addEventListener:function(Yn,Gn){var Go=this.custom.events;Go[Yn]||(Go[Yn]=[]),Go[Yn].push(Gn)},removeEventListener:function(Yn,Gn){for(var Go=this.custom.events[Yn]||[],Xn=0;Xn<Go.length;Xn++)Go[Xn]===Gn&&Go.splice(Xn--,1)},dispatchEvent:function(Yn){for(var Gn=this.custom.events[Yn.type]||[],Go=0;Go<Gn.length;Go++)Gn[Go].call(this,Yn);var Xn="on"+Yn.type;this[Xn]&&this[Xn](Yn)}});function Bn(){var Wn=function(){var Go=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Yo=location.href,qo=Xn.exec(Yo.toLowerCase())||[];return Go.test(qo[1])}();return window.ActiveXObject?!Wn&&Yn()||Gn():Yn();function Yn(){try{return new window._XMLHttpRequest}catch{}}function Gn(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function Hn(Wn){for(var Yn in Fn.Mock._mocked){var Gn=Fn.Mock._mocked[Yn];if((!Gn.rurl||Go(Gn.rurl,Wn.url))&&(!Gn.rtype||Go(Gn.rtype,Wn.type.toLowerCase())))return Gn}function Go(Xn,Yo){if(Pn.type(Xn)==="string")return Xn===Yo;if(Pn.type(Xn)==="regexp")return Xn.test(Yo)}}function zn(Wn,Yn){return Pn.isFunction(Wn.template)?Wn.template(Yn):Fn.Mock.mock(Wn.template)}$n.exports=Fn}])})})(mock);var mockExports=mock.exports;const Mock=getDefaultExportFromCjs(mockExports);Mock.mock("/mock/application/metrics","get",()=>({code:200,message:"success",data:"http://8.147.104.101:3000/d/a0b114ca-edf7-4dfe-ac2c-34a4fc545fed/application?orgId=1&refresh=1m&from=1711855893859&to=1711877493859&theme=light"}));Mock.mock(devTool.mockUrl("/mock/application/search"),"get",()=>{const $n=Mock.mock("@integer(3, 20)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({appName:Mock.Random.pick(["QuickStartApplication","shop-comment","shop-detail","shop-order","shop-user"]),deployClusters:[Mock.Random.pick(["default","prod","test"])],instanceCount:Mock.mock("@integer(1, 5)"),registryClusters:[`${Mock.mock("@ip")}:8848`]});return{code:200,msg:"success",data:{list:Cn,pageInfo:{Total:$n,NextOffset:""}}}});Mock.mock("/mock/application/instance/statistics","get",()=>({code:1e3,message:"success",data:{instanceTotal:43,versionTotal:4,cpuTotal:"56c",memoryTotal:"108.2GB"}}));Mock.mock(devTool.mockUrl("/mock/application/instance/info"),"get",()=>{let $n=Mock.mock("@integer(8, 100)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ip:"121.90.211.162",name:"shop-user",deployState:Mock.Random.pick(["Running","Pending","Terminating","Crashing"]),deployCluster:"tx-shanghai-1",registerState:"Registed",registerClusters:["ali-hangzhou-1","ali-hangzhou-2"],cpu:"1.2c",memory:"2349MB",startTime:"2023-06-09 03:47:10",registerTime:"2023-06-09 03:48:20",labels:{region:"beijing",version:"v1"}});return{code:200,msg:"success",data:Mock.mock({pageInfo:{Total:Cn.length,NextOffset:0},list:Cn})}});Mock.mock(devTool.mockUrl("/mock/application/detail"),"get",()=>({code:200,msg:"success",data:{appName:Mock.mock("@word(10,20)"),appTypes:Mock.mock({"array|2-5":["@word(5,10)"]}).array,deployClusters:Mock.mock({"array|3-6":["@word(8,15)"]}).array,dubboPorts:Mock.mock({"array|1-3":["@integer(10000,65535)"]}).array,dubboVersions:Mock.mock({"array|2-4":["@word(3,8)"]}).array,images:Mock.mock({"array|2-5":["@word(10,20)"]}).array,registerClusters:Mock.mock({"array|2-4":["@word(8,15)"]}).array,registerModes:Mock.mock({"array|1-3":["@word(5,10)"]}).array,rpcProtocols:Mock.mock({"array|2-4":["@word(3,8)"]}).array,serialProtocols:Mock.mock({"array|2-4":["@word(4,8)"]}).array,workloads:Mock.mock({"array|3-6":["@word(6,12)"]}).array}}));Mock.mock("/mock/application/event","get",()=>({code:200,message:"success",data:{...Mock.mock({"list|10":[{desc:"Scaled down replica set shop-detail-v1-5847b7cdfd to @integer(3,10) from @integer(3,10)",time:'@DATETIME("yyyy-MM-dd HH:mm:ss")',type:"deployment-controller"}]})}}));Mock.mock(devTool.mockUrl("/mock/application/service/form"),"get",()=>({code:200,message:"success",data:{list:[],pageInfo:{Total:0,NextOffset:""}}}));const __vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/metrics/cluster","get",{code:200,message:"成功",data:{all:Mock.mock("@integer(100, 500)"),application:Mock.mock("@integer(80, 200)"),consumers:Mock.mock("@integer(80, 200)"),providers:Mock.mock("@integer(80, 200)"),services:Mock.mock("@integer(80, 200)")}});const __vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/destinationRule/search","get",()=>{const $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ruleName:"app_"+Mock.mock("@string(2,10)"),createTime:Mock.mock("@datetime")});return{code:200,message:"success",data:Mock.mock({total:$n,curPage:1,pageSize:10,data:Cn})}});const __vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/dynamicConfig/search","get",()=>{const $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ruleName:"app_"+Mock.mock("@string(2,10)"),ruleGranularity:Mock.mock("@boolean"),enable:Mock.mock("@boolean"),createTime:Mock.mock("@datetime")});return{code:200,message:"success",data:Mock.mock({total:$n,curPage:1,pageSize:10,data:Cn})}});const __vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(/\/search\?searchType=\w+&keywords=\w*/,"get",{code:200,message:"成功",data:{find:!0,candidates:["test1","test2","tset3"]}});const __vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(devTool.mockUrl("/mock/instance/search"),"get",()=>{let $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ip:"121.90.211.162",name:"shop-user",deployState:Mock.Random.pick(["Running","Pending","Terminating","Crashing"]),deployCluster:"tx-shanghai-1",registerState:"Registed",registerClusters:["ali-hangzhou-1","ali-hangzhou-2"],cpu:"1.2c",memory:"2349MB",startTime_k8s:"2023-06-09 03:47:10",registerTime:"2023-06-09 03:48:20",labels:{region:"beijing",version:"v1"}});return{code:200,msg:"success",data:Mock.mock({pageInfo:{Total:$n,NextOffset:"0"},list:Cn})}});Mock.mock(devTool.mockUrl("/mock/instance/detail"),"get",()=>({code:200,msg:"success",data:{deployState:"Running",registerStates:"Unregisted",ip:"45.7.37.227",rpcPort:"20880",appName:"shop-user",workloadName:"shop-user-prod(deployment)",labels:{app:"shop-user",version:"v1",region:"beijing"},createTime:"2023/12/19 22:09:34",readyTime:"2023/12/19 22:12:34",registerTime:"2023/12/19 22:16:56",registerClusters:["sz-ali-zk-f8otyo4r","hz-ali-zk-oqgiq9gq"],deployCluster:"tx-shanghai-1",node:"hz-ali-30.33.0.1",image:"apache/org.apahce.dubbo.samples.shop-user:v1",probes:{startupProbe:{type:"http",open:!0},readinessProbe:{type:"http",open:!0},livenessProbe:{type:"http",open:!0}}}}));Mock.mock("/mock/instance/metrics","get",()=>({code:200,message:"success",data:"http://8.147.104.101:3000/d/dcf5defe-d198-4704-9edf-6520838880e9/instance?orgId=1&refresh=1m&from=1710644821536&to=1710731221536&theme=light"}));const __vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(devTool.mockUrl("/mock/condition-rule/search"),"get",()=>{const $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ruleName:"app_"+Mock.mock("@string(2,10)"),ruleGranularity:Mock.mock("@boolean"),enable:Mock.mock("@boolean"),createTime:Mock.mock("@datetime")});return{code:200,msg:"success",data:{pageInfo:{Total:$n,NextOffset:"0"},list:Cn}}});const __vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(devTool.mockUrl("/mock/metadata"),"get",{code:200,msg:"success",data:{registry:"nacos://47.101.215.139:8848?username=nacos&password=nacos",metadata:"nacos://47.101.215.139:8848?username=nacos&password=nacos",config:"nacos://47.101.215.139:8848?username=nacos&password=nacos",prometheus:"http://prometheus.observability.svc.cluster.local:9090/",grafana:"http://47.251.100.138:3000/d/a0b114ca-edf7-4dfe-ac2c-34a4fc545fed/application",tracing:"http://47.251.100.138:3000/d/e968a89b-f03d-42e3-8ad3-930ae815cb0f/application"}});Mock.mock(devTool.mockUrl("/mock/overview"),"get",{code:200,msg:"success",data:{appCount:0,serviceCount:0,insCount:0,protocols:{},releases:{},discoveries:{}}});const __vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(devTool.mockUrl("/mock/service/search"),"get",{code:200,msg:"success",data:{pageInfo:{Total:8,NextOffset:"0"},list:[{serviceName:"org.apache.dubbo.samples.UserService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:6,avgRT:"194ms",requestTotal:200},{serviceName:"org.apache.dubbo.samples.OrderService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:13,avgRT:"189ms",requestTotal:164},{serviceName:"org.apache.dubbo.samples.DetailService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:.5,avgRT:"268ms",requestTotal:1324},{serviceName:"org.apache.dubbo.samples.PayService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:9,avgRT:"346ms",requestTotal:189},{serviceName:"org.apache.dubbo.samples.CommentService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:8,avgRT:"936ms",requestTotal:200},{serviceName:"org.apache.dubbo.samples.RepayService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:17,avgRT:"240ms",requestTotal:146},{serviceName:"org.apche.dubbo.samples.TransportService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:43,avgRT:"89ms",requestTotal:367},{serviceName:"org.apche.dubbo.samples.DistributionService",versionGroups:[{version:"1.0.0",group:"group1"},{version:"1.0.0",group:null},{version:null,group:"group1"},{version:null,group:null}],avgQPS:4,avgRT:"78ms",requestTotal:145}]}});Mock.mock(devTool.mockUrl("/mock/service/distribution"),"get",()=>({code:200,msg:"success",data:{pageInfo:{Total:8,NextOffset:"0"},list:[]}}));const __vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/service/detail","get",{code:200,message:"success",data:{total:8,curPage:1,pageSize:1,data:{serviceName:"org.apache.dubbo.samples.UserService",versionGroup:["version=v1","version=2.0,group=group1"],protocol:"triple",delay:"3000ms",timeOut:"3000ms",retry:3,requestTotal:1384,avgRT:"96ms",avgQPS:12,obsolete:!1}}});const __vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/service/distribution","get",{code:200,message:"success",data:{total:8,curPage:1,pageSize:1,data:[{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order0",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=beijing"},{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order1",rpcPort:"172.168.45.24:20888",timeout:"500ms",retryNum:"1",label:"region=wuhan"},{applicationName:"shop-user",instanceNum:12,instanceName:"shop-order2",rpcPort:"172.161.23.89:20888",timeout:"200ms",retryNum:"1",label:"region=shanghai"},{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order3",rpcPort:"172.168.45.89:12423",timeout:"2000ms",retryNum:"2",label:"region=hangzhou"},{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order4",rpcPort:"172.168.45.89:20888",timeout:"100ms",retryNum:"0",label:"region=wuxi"},{applicationName:"shop-user",instanceNum:12,instanceName:"shop-order5",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=beijing"},{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order6",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=ningbo"},{applicationName:"shop-user",instanceNum:12,instanceName:"shop-order7",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=shenzhen"},{applicationName:"shop-user",instanceNum:12,instanceName:"shop-order8",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=guangzhou"},{applicationName:"shop-order",instanceNum:15,instanceName:"shop-order9",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=nanjing"},{applicationName:"shop-user",instanceNum:12,instanceName:"shop-order10",rpcPort:"172.168.45.89:20888",timeout:"1000ms",retryNum:"2",label:"region=beijing"}]}});const __vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock(devTool.mockUrl("/mock/tag-rule/search"),"get",()=>{const $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ruleName:"app_"+Mock.mock("@string(2,10)"),enable:Mock.mock("@boolean"),createTime:Mock.mock("@datetime")});return{code:200,msg:"success",data:{pageInfo:{Total:$n,NextOffset:"0"},list:Cn}}});const __vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/version","get",{code:200,message:"成功",data:{gitVersion:"dubbo-admin-",gitCommit:"$Format:%H$",gitTreeState:"",buildDate:"1970-01-01T00:00:00Z",goVersion:"go1.20.4",compiler:"gc",platform:"darwin/arm64"}});const __vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Mock.mock("/mock/virtualService/search","get",()=>{const $n=Mock.mock("@integer(8, 1000)"),Cn=[];for(let _n=0;_n<$n;_n++)Cn.push({ruleName:"app_"+Mock.mock("@string(2,10)"),createTime:Mock.mock("@datetime"),lastModifiedTime:Mock.mock("@datetime")});return{code:200,message:"success",data:Mock.mock({total:$n,curPage:1,pageSize:10,data:Cn})}});const __vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),modulesFiles=Object.assign({"./mockApp.ts":__vite_glob_0_0,"./mockCluster.ts":__vite_glob_0_1,"./mockDestinationRule.ts":__vite_glob_0_2,"./mockDynamicConfig.ts":__vite_glob_0_3,"./mockGlobalSearch.ts":__vite_glob_0_4,"./mockInstance.ts":__vite_glob_0_5,"./mockRoutingRule.ts":__vite_glob_0_6,"./mockServer.ts":__vite_glob_0_7,"./mockService.ts":__vite_glob_0_8,"./mockServiceDetail.ts":__vite_glob_0_9,"./mockServiceDistribution.ts":__vite_glob_0_10,"./mockTagRule.ts":__vite_glob_0_11,"./mockVersion.ts":__vite_glob_0_12,"./mockVirtualService.ts":__vite_glob_0_13}),fileList=[];for(const $n of Object.keys(modulesFiles))fileList.push(modulesFiles[$n].default);function tryOnScopeDispose($n){return getCurrentScope()?(onScopeDispose($n),!0):!1}function toValue($n){return typeof $n=="function"?$n():unref($n)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString=Object.prototype.toString,isObject$1=$n=>toString.call($n)==="[object Object]",noop=()=>{},isIOS=getIsIOS();function getIsIOS(){var $n,Cn;return isClient&&(($n=window==null?void 0:window.navigator)==null?void 0:$n.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((Cn=window==null?void 0:window.navigator)==null?void 0:Cn.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function createFilterWrapper($n,Cn){function _n(...Pn){return new Promise((In,Nn)=>{Promise.resolve($n(()=>Cn.apply(this,Pn),{fn:Cn,thisArg:this,args:Pn})).then(In).catch(Nn)})}return _n}const bypassFilter=$n=>$n();function debounceFilter($n,Cn={}){let _n,Pn,In=noop;const Nn=Dn=>{clearTimeout(Dn),In(),In=noop};return Dn=>{const Ln=toValue($n),Fn=toValue(Cn.maxWait);return _n&&Nn(_n),Ln<=0||Fn!==void 0&&Fn<=0?(Pn&&(Nn(Pn),Pn=null),Promise.resolve(Dn())):new Promise((Bn,Hn)=>{In=Cn.rejectOnCancel?Hn:Bn,Fn&&!Pn&&(Pn=setTimeout(()=>{_n&&Nn(_n),Pn=null,Bn(Dn())},Fn)),_n=setTimeout(()=>{Pn&&Nn(Pn),Pn=null,Bn(Dn())},Ln)})}}function pausableFilter($n=bypassFilter){const Cn=ref(!0);function _n(){Cn.value=!1}function Pn(){Cn.value=!0}const In=(...Nn)=>{Cn.value&&$n(...Nn)};return{isActive:readonly(Cn),pause:_n,resume:Pn,eventFilter:In}}function getLifeCycleTarget($n){return $n||getCurrentInstance()}function useDebounceFn($n,Cn=200,_n={}){return createFilterWrapper(debounceFilter(Cn,_n),$n)}function watchWithFilter($n,Cn,_n={}){const{eventFilter:Pn=bypassFilter,...In}=_n;return watch($n,createFilterWrapper(Pn,Cn),In)}function watchPausable($n,Cn,_n={}){const{eventFilter:Pn,...In}=_n,{eventFilter:Nn,pause:Rn,resume:Dn,isActive:Ln}=pausableFilter(Pn);return{stop:watchWithFilter($n,Cn,{...In,eventFilter:Nn}),pause:Rn,resume:Dn,isActive:Ln}}function tryOnMounted($n,Cn=!0,_n){getLifeCycleTarget()?onMounted($n,_n):Cn?$n():nextTick($n)}function whenever($n,Cn,_n){return watch($n,(Pn,In,Nn)=>{Pn&&Cn(Pn,In,Nn)},_n)}function unrefElement($n){var Cn;const _n=toValue($n);return(Cn=_n==null?void 0:_n.$el)!=null?Cn:_n}const defaultWindow=isClient?window:void 0;function useEventListener(...$n){let Cn,_n,Pn,In;if(typeof $n[0]=="string"||Array.isArray($n[0])?([_n,Pn,In]=$n,Cn=defaultWindow):[Cn,_n,Pn,In]=$n,!Cn)return noop;Array.isArray(_n)||(_n=[_n]),Array.isArray(Pn)||(Pn=[Pn]);const Nn=[],Rn=()=>{Nn.forEach(Bn=>Bn()),Nn.length=0},Dn=(Bn,Hn,zn,Wn)=>(Bn.addEventListener(Hn,zn,Wn),()=>Bn.removeEventListener(Hn,zn,Wn)),Ln=watch(()=>[unrefElement(Cn),toValue(In)],([Bn,Hn])=>{if(Rn(),!Bn)return;const zn=isObject$1(Hn)?{...Hn}:Hn;Nn.push(..._n.flatMap(Wn=>Pn.map(Yn=>Dn(Bn,Wn,Yn,zn))))},{immediate:!0,flush:"post"}),Fn=()=>{Ln(),Rn()};return tryOnScopeDispose(Fn),Fn}let _iOSWorkaround=!1;function onClickOutside($n,Cn,_n={}){const{window:Pn=defaultWindow,ignore:In=[],capture:Nn=!0,detectIframe:Rn=!1}=_n;if(!Pn)return noop;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(Pn.document.body.children).forEach(zn=>zn.addEventListener("click",noop)),Pn.document.documentElement.addEventListener("click",noop));let Dn=!0;const Ln=zn=>In.some(Wn=>{if(typeof Wn=="string")return Array.from(Pn.document.querySelectorAll(Wn)).some(Yn=>Yn===zn.target||zn.composedPath().includes(Yn));{const Yn=unrefElement(Wn);return Yn&&(zn.target===Yn||zn.composedPath().includes(Yn))}}),Bn=[useEventListener(Pn,"click",zn=>{const Wn=unrefElement($n);if(!(!Wn||Wn===zn.target||zn.composedPath().includes(Wn))){if(zn.detail===0&&(Dn=!Ln(zn)),!Dn){Dn=!0;return}Cn(zn)}},{passive:!0,capture:Nn}),useEventListener(Pn,"pointerdown",zn=>{const Wn=unrefElement($n);Dn=!Ln(zn)&&!!(Wn&&!zn.composedPath().includes(Wn))},{passive:!0}),Rn&&useEventListener(Pn,"blur",zn=>{setTimeout(()=>{var Wn;const Yn=unrefElement($n);((Wn=Pn.document.activeElement)==null?void 0:Wn.tagName)==="IFRAME"&&!(Yn!=null&&Yn.contains(Pn.document.activeElement))&&Cn(zn)},0)})].filter(Boolean);return()=>Bn.forEach(zn=>zn())}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global||(_global[globalKey]=_global[globalKey]||{}),_global[globalKey]}function getSSRHandler($n,Cn){return handlers[$n]||Cn}function guessSerializerType($n){return $n==null?"any":$n instanceof Set?"set":$n instanceof Map?"map":$n instanceof Date?"date":typeof $n=="boolean"?"boolean":typeof $n=="string"?"string":typeof $n=="object"?"object":Number.isNaN($n)?"any":"number"}const StorageSerializers={boolean:{read:$n=>$n==="true",write:$n=>String($n)},object:{read:$n=>JSON.parse($n),write:$n=>JSON.stringify($n)},number:{read:$n=>Number.parseFloat($n),write:$n=>String($n)},any:{read:$n=>$n,write:$n=>String($n)},string:{read:$n=>$n,write:$n=>String($n)},map:{read:$n=>new Map(JSON.parse($n)),write:$n=>JSON.stringify(Array.from($n.entries()))},set:{read:$n=>new Set(JSON.parse($n)),write:$n=>JSON.stringify(Array.from($n))},date:{read:$n=>new Date($n),write:$n=>$n.toISOString()}},customStorageEventName="vueuse-storage";function useStorage($n,Cn,_n,Pn={}){var In;const{flush:Nn="pre",deep:Rn=!0,listenToStorageChanges:Dn=!0,writeDefaults:Ln=!0,mergeDefaults:Fn=!1,shallow:Bn,window:Hn=defaultWindow,eventFilter:zn,onError:Wn=oa=>{console.error(oa)},initOnMounted:Yn}=Pn,Gn=(Bn?shallowRef:ref)(typeof Cn=="function"?Cn():Cn);if(!_n)try{_n=getSSRHandler("getDefaultStorage",()=>{var oa;return(oa=defaultWindow)==null?void 0:oa.localStorage})()}catch(oa){Wn(oa)}if(!_n)return Gn;const Go=toValue(Cn),Xn=guessSerializerType(Go),Yo=(In=Pn.serializer)!=null?In:StorageSerializers[Xn],{pause:qo,resume:Jo}=watchPausable(Gn,()=>Zo(Gn.value),{flush:Nn,deep:Rn,eventFilter:zn});return Hn&&Dn&&tryOnMounted(()=>{useEventListener(Hn,"storage",ta),useEventListener(Hn,customStorageEventName,nr),Yn&&ta()}),Yn||ta(),Gn;function Zo(oa){try{if(oa==null)_n.removeItem($n);else{const ra=Yo.write(oa),ea=_n.getItem($n);ea!==ra&&(_n.setItem($n,ra),Hn&&Hn.dispatchEvent(new CustomEvent(customStorageEventName,{detail:{key:$n,oldValue:ea,newValue:ra,storageArea:_n}})))}}catch(ra){Wn(ra)}}function rr(oa){const ra=oa?oa.newValue:_n.getItem($n);if(ra==null)return Ln&&Go!=null&&_n.setItem($n,Yo.write(Go)),Go;if(!oa&&Fn){const ea=Yo.read(ra);return typeof Fn=="function"?Fn(ea,Go):Xn==="object"&&!Array.isArray(ea)?{...Go,...ea}:ea}else return typeof ra!="string"?ra:Yo.read(ra)}function nr(oa){ta(oa.detail)}function ta(oa){if(!(oa&&oa.storageArea!==_n)){if(oa&&oa.key==null){Gn.value=Go;return}if(!(oa&&oa.key!==$n)){qo();try{(oa==null?void 0:oa.newValue)!==Yo.write(Gn.value)&&(Gn.value=rr(oa))}catch(ra){Wn(ra)}finally{oa?nextTick(Jo):Jo()}}}}}function useLocalStorage($n,Cn,_n={}){const{window:Pn=defaultWindow}=_n;return useStorage($n,Cn,Pn==null?void 0:Pn.localStorage,_n)}function _typeof($n){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Cn){return typeof Cn}:function(Cn){return Cn&&typeof Symbol=="function"&&Cn.constructor===Symbol&&Cn!==Symbol.prototype?"symbol":typeof Cn},_typeof($n)}var trimLeft=/^\s+/,trimRight=/\s+$/;function tinycolor($n,Cn){if($n=$n||"",Cn=Cn||{},$n instanceof tinycolor)return $n;if(!(this instanceof tinycolor))return new tinycolor($n,Cn);var _n=inputToRGB($n);this._originalInput=$n,this._r=_n.r,this._g=_n.g,this._b=_n.b,this._a=_n.a,this._roundA=Math.round(100*this._a)/100,this._format=Cn.format||_n.format,this._gradientType=Cn.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=_n.ok}tinycolor.prototype={isDark:function $n(){return this.getBrightness()<128},isLight:function $n(){return!this.isDark()},isValid:function $n(){return this._ok},getOriginalInput:function $n(){return this._originalInput},getFormat:function $n(){return this._format},getAlpha:function $n(){return this._a},getBrightness:function $n(){var Cn=this.toRgb();return(Cn.r*299+Cn.g*587+Cn.b*114)/1e3},getLuminance:function $n(){var Cn=this.toRgb(),_n,Pn,In,Nn,Rn,Dn;return _n=Cn.r/255,Pn=Cn.g/255,In=Cn.b/255,_n<=.03928?Nn=_n/12.92:Nn=Math.pow((_n+.055)/1.055,2.4),Pn<=.03928?Rn=Pn/12.92:Rn=Math.pow((Pn+.055)/1.055,2.4),In<=.03928?Dn=In/12.92:Dn=Math.pow((In+.055)/1.055,2.4),.2126*Nn+.7152*Rn+.0722*Dn},setAlpha:function $n(Cn){return this._a=boundAlpha(Cn),this._roundA=Math.round(100*this._a)/100,this},toHsv:function $n(){var Cn=rgbToHsv(this._r,this._g,this._b);return{h:Cn.h*360,s:Cn.s,v:Cn.v,a:this._a}},toHsvString:function $n(){var Cn=rgbToHsv(this._r,this._g,this._b),_n=Math.round(Cn.h*360),Pn=Math.round(Cn.s*100),In=Math.round(Cn.v*100);return this._a==1?"hsv("+_n+", "+Pn+"%, "+In+"%)":"hsva("+_n+", "+Pn+"%, "+In+"%, "+this._roundA+")"},toHsl:function $n(){var Cn=rgbToHsl(this._r,this._g,this._b);return{h:Cn.h*360,s:Cn.s,l:Cn.l,a:this._a}},toHslString:function $n(){var Cn=rgbToHsl(this._r,this._g,this._b),_n=Math.round(Cn.h*360),Pn=Math.round(Cn.s*100),In=Math.round(Cn.l*100);return this._a==1?"hsl("+_n+", "+Pn+"%, "+In+"%)":"hsla("+_n+", "+Pn+"%, "+In+"%, "+this._roundA+")"},toHex:function $n(Cn){return rgbToHex(this._r,this._g,this._b,Cn)},toHexString:function $n(Cn){return"#"+this.toHex(Cn)},toHex8:function $n(Cn){return rgbaToHex(this._r,this._g,this._b,this._a,Cn)},toHex8String:function $n(Cn){return"#"+this.toHex8(Cn)},toRgb:function $n(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function $n(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function $n(){return{r:Math.round(bound01(this._r,255)*100)+"%",g:Math.round(bound01(this._g,255)*100)+"%",b:Math.round(bound01(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function $n(){return this._a==1?"rgb("+Math.round(bound01(this._r,255)*100)+"%, "+Math.round(bound01(this._g,255)*100)+"%, "+Math.round(bound01(this._b,255)*100)+"%)":"rgba("+Math.round(bound01(this._r,255)*100)+"%, "+Math.round(bound01(this._g,255)*100)+"%, "+Math.round(bound01(this._b,255)*100)+"%, "+this._roundA+")"},toName:function $n(){return this._a===0?"transparent":this._a<1?!1:hexNames[rgbToHex(this._r,this._g,this._b,!0)]||!1},toFilter:function $n(Cn){var _n="#"+rgbaToArgbHex(this._r,this._g,this._b,this._a),Pn=_n,In=this._gradientType?"GradientType = 1, ":"";if(Cn){var Nn=tinycolor(Cn);Pn="#"+rgbaToArgbHex(Nn._r,Nn._g,Nn._b,Nn._a)}return"progid:DXImageTransform.Microsoft.gradient("+In+"startColorstr="+_n+",endColorstr="+Pn+")"},toString:function $n(Cn){var _n=!!Cn;Cn=Cn||this._format;var Pn=!1,In=this._a<1&&this._a>=0,Nn=!_n&&In&&(Cn==="hex"||Cn==="hex6"||Cn==="hex3"||Cn==="hex4"||Cn==="hex8"||Cn==="name");return Nn?Cn==="name"&&this._a===0?this.toName():this.toRgbString():(Cn==="rgb"&&(Pn=this.toRgbString()),Cn==="prgb"&&(Pn=this.toPercentageRgbString()),(Cn==="hex"||Cn==="hex6")&&(Pn=this.toHexString()),Cn==="hex3"&&(Pn=this.toHexString(!0)),Cn==="hex4"&&(Pn=this.toHex8String(!0)),Cn==="hex8"&&(Pn=this.toHex8String()),Cn==="name"&&(Pn=this.toName()),Cn==="hsl"&&(Pn=this.toHslString()),Cn==="hsv"&&(Pn=this.toHsvString()),Pn||this.toHexString())},clone:function $n(){return tinycolor(this.toString())},_applyModification:function $n(Cn,_n){var Pn=Cn.apply(null,[this].concat([].slice.call(_n)));return this._r=Pn._r,this._g=Pn._g,this._b=Pn._b,this.setAlpha(Pn._a),this},lighten:function $n(){return this._applyModification(_lighten,arguments)},brighten:function $n(){return this._applyModification(_brighten,arguments)},darken:function $n(){return this._applyModification(_darken,arguments)},desaturate:function $n(){return this._applyModification(_desaturate,arguments)},saturate:function $n(){return this._applyModification(_saturate,arguments)},greyscale:function $n(){return this._applyModification(_greyscale,arguments)},spin:function $n(){return this._applyModification(_spin,arguments)},_applyCombination:function $n(Cn,_n){return Cn.apply(null,[this].concat([].slice.call(_n)))},analogous:function $n(){return this._applyCombination(_analogous,arguments)},complement:function $n(){return this._applyCombination(_complement,arguments)},monochromatic:function $n(){return this._applyCombination(_monochromatic,arguments)},splitcomplement:function $n(){return this._applyCombination(_splitcomplement,arguments)},triad:function $n(){return this._applyCombination(polyad,[3])},tetrad:function $n(){return this._applyCombination(polyad,[4])}};tinycolor.fromRatio=function($n,Cn){if(_typeof($n)=="object"){var _n={};for(var Pn in $n)$n.hasOwnProperty(Pn)&&(Pn==="a"?_n[Pn]=$n[Pn]:_n[Pn]=convertToPercentage($n[Pn]));$n=_n}return tinycolor($n,Cn)};function inputToRGB($n){var Cn={r:0,g:0,b:0},_n=1,Pn=null,In=null,Nn=null,Rn=!1,Dn=!1;return typeof $n=="string"&&($n=stringInputToObject($n)),_typeof($n)=="object"&&(isValidCSSUnit($n.r)&&isValidCSSUnit($n.g)&&isValidCSSUnit($n.b)?(Cn=rgbToRgb($n.r,$n.g,$n.b),Rn=!0,Dn=String($n.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit($n.h)&&isValidCSSUnit($n.s)&&isValidCSSUnit($n.v)?(Pn=convertToPercentage($n.s),In=convertToPercentage($n.v),Cn=hsvToRgb($n.h,Pn,In),Rn=!0,Dn="hsv"):isValidCSSUnit($n.h)&&isValidCSSUnit($n.s)&&isValidCSSUnit($n.l)&&(Pn=convertToPercentage($n.s),Nn=convertToPercentage($n.l),Cn=hslToRgb($n.h,Pn,Nn),Rn=!0,Dn="hsl"),$n.hasOwnProperty("a")&&(_n=$n.a)),_n=boundAlpha(_n),{ok:Rn,format:$n.format||Dn,r:Math.min(255,Math.max(Cn.r,0)),g:Math.min(255,Math.max(Cn.g,0)),b:Math.min(255,Math.max(Cn.b,0)),a:_n}}function rgbToRgb($n,Cn,_n){return{r:bound01($n,255)*255,g:bound01(Cn,255)*255,b:bound01(_n,255)*255}}function rgbToHsl($n,Cn,_n){$n=bound01($n,255),Cn=bound01(Cn,255),_n=bound01(_n,255);var Pn=Math.max($n,Cn,_n),In=Math.min($n,Cn,_n),Nn,Rn,Dn=(Pn+In)/2;if(Pn==In)Nn=Rn=0;else{var Ln=Pn-In;switch(Rn=Dn>.5?Ln/(2-Pn-In):Ln/(Pn+In),Pn){case $n:Nn=(Cn-_n)/Ln+(Cn<_n?6:0);break;case Cn:Nn=(_n-$n)/Ln+2;break;case _n:Nn=($n-Cn)/Ln+4;break}Nn/=6}return{h:Nn,s:Rn,l:Dn}}function hslToRgb($n,Cn,_n){var Pn,In,Nn;$n=bound01($n,360),Cn=bound01(Cn,100),_n=bound01(_n,100);function Rn(Fn,Bn,Hn){return Hn<0&&(Hn+=1),Hn>1&&(Hn-=1),Hn<1/6?Fn+(Bn-Fn)*6*Hn:Hn<1/2?Bn:Hn<2/3?Fn+(Bn-Fn)*(2/3-Hn)*6:Fn}if(Cn===0)Pn=In=Nn=_n;else{var Dn=_n<.5?_n*(1+Cn):_n+Cn-_n*Cn,Ln=2*_n-Dn;Pn=Rn(Ln,Dn,$n+1/3),In=Rn(Ln,Dn,$n),Nn=Rn(Ln,Dn,$n-1/3)}return{r:Pn*255,g:In*255,b:Nn*255}}function rgbToHsv($n,Cn,_n){$n=bound01($n,255),Cn=bound01(Cn,255),_n=bound01(_n,255);var Pn=Math.max($n,Cn,_n),In=Math.min($n,Cn,_n),Nn,Rn,Dn=Pn,Ln=Pn-In;if(Rn=Pn===0?0:Ln/Pn,Pn==In)Nn=0;else{switch(Pn){case $n:Nn=(Cn-_n)/Ln+(Cn<_n?6:0);break;case Cn:Nn=(_n-$n)/Ln+2;break;case _n:Nn=($n-Cn)/Ln+4;break}Nn/=6}return{h:Nn,s:Rn,v:Dn}}function hsvToRgb($n,Cn,_n){$n=bound01($n,360)*6,Cn=bound01(Cn,100),_n=bound01(_n,100);var Pn=Math.floor($n),In=$n-Pn,Nn=_n*(1-Cn),Rn=_n*(1-In*Cn),Dn=_n*(1-(1-In)*Cn),Ln=Pn%6,Fn=[_n,Rn,Nn,Nn,Dn,_n][Ln],Bn=[Dn,_n,_n,Rn,Nn,Nn][Ln],Hn=[Nn,Nn,Dn,_n,_n,Rn][Ln];return{r:Fn*255,g:Bn*255,b:Hn*255}}function rgbToHex($n,Cn,_n,Pn){var In=[pad2(Math.round($n).toString(16)),pad2(Math.round(Cn).toString(16)),pad2(Math.round(_n).toString(16))];return Pn&&In[0].charAt(0)==In[0].charAt(1)&&In[1].charAt(0)==In[1].charAt(1)&&In[2].charAt(0)==In[2].charAt(1)?In[0].charAt(0)+In[1].charAt(0)+In[2].charAt(0):In.join("")}function rgbaToHex($n,Cn,_n,Pn,In){var Nn=[pad2(Math.round($n).toString(16)),pad2(Math.round(Cn).toString(16)),pad2(Math.round(_n).toString(16)),pad2(convertDecimalToHex(Pn))];return In&&Nn[0].charAt(0)==Nn[0].charAt(1)&&Nn[1].charAt(0)==Nn[1].charAt(1)&&Nn[2].charAt(0)==Nn[2].charAt(1)&&Nn[3].charAt(0)==Nn[3].charAt(1)?Nn[0].charAt(0)+Nn[1].charAt(0)+Nn[2].charAt(0)+Nn[3].charAt(0):Nn.join("")}function rgbaToArgbHex($n,Cn,_n,Pn){var In=[pad2(convertDecimalToHex(Pn)),pad2(Math.round($n).toString(16)),pad2(Math.round(Cn).toString(16)),pad2(Math.round(_n).toString(16))];return In.join("")}tinycolor.equals=function($n,Cn){return!$n||!Cn?!1:tinycolor($n).toRgbString()==tinycolor(Cn).toRgbString()};tinycolor.random=function(){return tinycolor.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function _desaturate($n,Cn){Cn=Cn===0?0:Cn||10;var _n=tinycolor($n).toHsl();return _n.s-=Cn/100,_n.s=clamp01(_n.s),tinycolor(_n)}function _saturate($n,Cn){Cn=Cn===0?0:Cn||10;var _n=tinycolor($n).toHsl();return _n.s+=Cn/100,_n.s=clamp01(_n.s),tinycolor(_n)}function _greyscale($n){return tinycolor($n).desaturate(100)}function _lighten($n,Cn){Cn=Cn===0?0:Cn||10;var _n=tinycolor($n).toHsl();return _n.l+=Cn/100,_n.l=clamp01(_n.l),tinycolor(_n)}function _brighten($n,Cn){Cn=Cn===0?0:Cn||10;var _n=tinycolor($n).toRgb();return _n.r=Math.max(0,Math.min(255,_n.r-Math.round(255*-(Cn/100)))),_n.g=Math.max(0,Math.min(255,_n.g-Math.round(255*-(Cn/100)))),_n.b=Math.max(0,Math.min(255,_n.b-Math.round(255*-(Cn/100)))),tinycolor(_n)}function _darken($n,Cn){Cn=Cn===0?0:Cn||10;var _n=tinycolor($n).toHsl();return _n.l-=Cn/100,_n.l=clamp01(_n.l),tinycolor(_n)}function _spin($n,Cn){var _n=tinycolor($n).toHsl(),Pn=(_n.h+Cn)%360;return _n.h=Pn<0?360+Pn:Pn,tinycolor(_n)}function _complement($n){var Cn=tinycolor($n).toHsl();return Cn.h=(Cn.h+180)%360,tinycolor(Cn)}function polyad($n,Cn){if(isNaN(Cn)||Cn<=0)throw new Error("Argument to polyad must be a positive number");for(var _n=tinycolor($n).toHsl(),Pn=[tinycolor($n)],In=360/Cn,Nn=1;Nn<Cn;Nn++)Pn.push(tinycolor({h:(_n.h+Nn*In)%360,s:_n.s,l:_n.l}));return Pn}function _splitcomplement($n){var Cn=tinycolor($n).toHsl(),_n=Cn.h;return[tinycolor($n),tinycolor({h:(_n+72)%360,s:Cn.s,l:Cn.l}),tinycolor({h:(_n+216)%360,s:Cn.s,l:Cn.l})]}function _analogous($n,Cn,_n){Cn=Cn||6,_n=_n||30;var Pn=tinycolor($n).toHsl(),In=360/_n,Nn=[tinycolor($n)];for(Pn.h=(Pn.h-(In*Cn>>1)+720)%360;--Cn;)Pn.h=(Pn.h+In)%360,Nn.push(tinycolor(Pn));return Nn}function _monochromatic($n,Cn){Cn=Cn||6;for(var _n=tinycolor($n).toHsv(),Pn=_n.h,In=_n.s,Nn=_n.v,Rn=[],Dn=1/Cn;Cn--;)Rn.push(tinycolor({h:Pn,s:In,v:Nn})),Nn=(Nn+Dn)%1;return Rn}tinycolor.mix=function($n,Cn,_n){_n=_n===0?0:_n||50;var Pn=tinycolor($n).toRgb(),In=tinycolor(Cn).toRgb(),Nn=_n/100,Rn={r:(In.r-Pn.r)*Nn+Pn.r,g:(In.g-Pn.g)*Nn+Pn.g,b:(In.b-Pn.b)*Nn+Pn.b,a:(In.a-Pn.a)*Nn+Pn.a};return tinycolor(Rn)};tinycolor.readability=function($n,Cn){var _n=tinycolor($n),Pn=tinycolor(Cn);return(Math.max(_n.getLuminance(),Pn.getLuminance())+.05)/(Math.min(_n.getLuminance(),Pn.getLuminance())+.05)};tinycolor.isReadable=function($n,Cn,_n){var Pn=tinycolor.readability($n,Cn),In,Nn;switch(Nn=!1,In=validateWCAG2Parms(_n),In.level+In.size){case"AAsmall":case"AAAlarge":Nn=Pn>=4.5;break;case"AAlarge":Nn=Pn>=3;break;case"AAAsmall":Nn=Pn>=7;break}return Nn};tinycolor.mostReadable=function($n,Cn,_n){var Pn=null,In=0,Nn,Rn,Dn,Ln;_n=_n||{},Rn=_n.includeFallbackColors,Dn=_n.level,Ln=_n.size;for(var Fn=0;Fn<Cn.length;Fn++)Nn=tinycolor.readability($n,Cn[Fn]),Nn>In&&(In=Nn,Pn=tinycolor(Cn[Fn]));return tinycolor.isReadable($n,Pn,{level:Dn,size:Ln})||!Rn?Pn:(_n.includeFallbackColors=!1,tinycolor.mostReadable($n,["#fff","#000"],_n))};var names=tinycolor.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},hexNames=tinycolor.hexNames=flip$2(names);function flip$2($n){var Cn={};for(var _n in $n)$n.hasOwnProperty(_n)&&(Cn[$n[_n]]=_n);return Cn}function boundAlpha($n){return $n=parseFloat($n),(isNaN($n)||$n<0||$n>1)&&($n=1),$n}function bound01($n,Cn){isOnePointZero($n)&&($n="100%");var _n=isPercentage($n);return $n=Math.min(Cn,Math.max(0,parseFloat($n))),_n&&($n=parseInt($n*Cn,10)/100),Math.abs($n-Cn)<1e-6?1:$n%Cn/parseFloat(Cn)}function clamp01($n){return Math.min(1,Math.max(0,$n))}function parseIntFromHex($n){return parseInt($n,16)}function isOnePointZero($n){return typeof $n=="string"&&$n.indexOf(".")!=-1&&parseFloat($n)===1}function isPercentage($n){return typeof $n=="string"&&$n.indexOf("%")!=-1}function pad2($n){return $n.length==1?"0"+$n:""+$n}function convertToPercentage($n){return $n<=1&&($n=$n*100+"%"),$n}function convertDecimalToHex($n){return Math.round(parseFloat($n)*255).toString(16)}function convertHexToDecimal($n){return parseIntFromHex($n)/255}var matchers=function(){var $n="[-\\+]?\\d+%?",Cn="[-\\+]?\\d*\\.\\d+%?",_n="(?:"+Cn+")|(?:"+$n+")",Pn="[\\s|\\(]+("+_n+")[,|\\s]+("+_n+")[,|\\s]+("+_n+")\\s*\\)?",In="[\\s|\\(]+("+_n+")[,|\\s]+("+_n+")[,|\\s]+("+_n+")[,|\\s]+("+_n+")\\s*\\)?";return{CSS_UNIT:new RegExp(_n),rgb:new RegExp("rgb"+Pn),rgba:new RegExp("rgba"+In),hsl:new RegExp("hsl"+Pn),hsla:new RegExp("hsla"+In),hsv:new RegExp("hsv"+Pn),hsva:new RegExp("hsva"+In),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function isValidCSSUnit($n){return!!matchers.CSS_UNIT.exec($n)}function stringInputToObject($n){$n=$n.replace(trimLeft,"").replace(trimRight,"").toLowerCase();var Cn=!1;if(names[$n])$n=names[$n],Cn=!0;else if($n=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var _n;return(_n=matchers.rgb.exec($n))?{r:_n[1],g:_n[2],b:_n[3]}:(_n=matchers.rgba.exec($n))?{r:_n[1],g:_n[2],b:_n[3],a:_n[4]}:(_n=matchers.hsl.exec($n))?{h:_n[1],s:_n[2],l:_n[3]}:(_n=matchers.hsla.exec($n))?{h:_n[1],s:_n[2],l:_n[3],a:_n[4]}:(_n=matchers.hsv.exec($n))?{h:_n[1],s:_n[2],v:_n[3]}:(_n=matchers.hsva.exec($n))?{h:_n[1],s:_n[2],v:_n[3],a:_n[4]}:(_n=matchers.hex8.exec($n))?{r:parseIntFromHex(_n[1]),g:parseIntFromHex(_n[2]),b:parseIntFromHex(_n[3]),a:convertHexToDecimal(_n[4]),format:Cn?"name":"hex8"}:(_n=matchers.hex6.exec($n))?{r:parseIntFromHex(_n[1]),g:parseIntFromHex(_n[2]),b:parseIntFromHex(_n[3]),format:Cn?"name":"hex"}:(_n=matchers.hex4.exec($n))?{r:parseIntFromHex(_n[1]+""+_n[1]),g:parseIntFromHex(_n[2]+""+_n[2]),b:parseIntFromHex(_n[3]+""+_n[3]),a:convertHexToDecimal(_n[4]+""+_n[4]),format:Cn?"name":"hex8"}:(_n=matchers.hex3.exec($n))?{r:parseIntFromHex(_n[1]+""+_n[1]),g:parseIntFromHex(_n[2]+""+_n[2]),b:parseIntFromHex(_n[3]+""+_n[3]),format:Cn?"name":"hex"}:!1}function validateWCAG2Parms($n){var Cn,_n;return $n=$n||{level:"AA",size:"small"},Cn=($n.level||"AA").toUpperCase(),_n=($n.size||"small").toLowerCase(),Cn!=="AA"&&Cn!=="AAA"&&(Cn="AA"),_n!=="small"&&_n!=="large"&&(_n="small"),{level:Cn,size:_n}}var GradientParser=GradientParser||{};GradientParser.stringify=function(){var $n={"visit_linear-gradient":function(Cn){return $n.visit_gradient(Cn)},"visit_repeating-linear-gradient":function(Cn){return $n.visit_gradient(Cn)},"visit_radial-gradient":function(Cn){return $n.visit_gradient(Cn)},"visit_repeating-radial-gradient":function(Cn){return $n.visit_gradient(Cn)},visit_gradient:function(Cn){var _n=$n.visit(Cn.orientation);return _n&&(_n+=", "),Cn.type+"("+_n+$n.visit(Cn.colorStops)+")"},visit_shape:function(Cn){var _n=Cn.value,Pn=$n.visit(Cn.at),In=$n.visit(Cn.style);return In&&(_n+=" "+In),Pn&&(_n+=" at "+Pn),_n},"visit_default-radial":function(Cn){var _n="",Pn=$n.visit(Cn.at);return Pn&&(_n+=Pn),_n},"visit_extent-keyword":function(Cn){var _n=Cn.value,Pn=$n.visit(Cn.at);return Pn&&(_n+=" at "+Pn),_n},"visit_position-keyword":function(Cn){return Cn.value},visit_position:function(Cn){return $n.visit(Cn.value.x)+" "+$n.visit(Cn.value.y)},"visit_%":function(Cn){return Cn.value+"%"},visit_em:function(Cn){return Cn.value+"em"},visit_px:function(Cn){return Cn.value+"px"},visit_literal:function(Cn){return $n.visit_color(Cn.value,Cn)},visit_hex:function(Cn){return $n.visit_color("#"+Cn.value,Cn)},visit_rgb:function(Cn){return $n.visit_color("rgb("+Cn.value.join(", ")+")",Cn)},visit_rgba:function(Cn){return $n.visit_color("rgba("+Cn.value.join(", ")+")",Cn)},visit_color:function(Cn,_n){var Pn=Cn,In=$n.visit(_n.length);return In&&(Pn+=" "+In),Pn},visit_angular:function(Cn){return Cn.value+"deg"},visit_directional:function(Cn){return"to "+Cn.value},visit_array:function(Cn){var _n="",Pn=Cn.length;return Cn.forEach(function(In,Nn){_n+=$n.visit(In),Nn<Pn-1&&(_n+=", ")}),_n},visit:function(Cn){if(!Cn)return"";var _n="";if(Cn instanceof Array)return $n.visit_array(Cn,_n);if(Cn.type){var Pn=$n["visit_"+Cn.type];if(Pn)return Pn(Cn);throw Error("Missing visitor visit_"+Cn.type)}else throw Error("Invalid node.")}};return function(Cn){return $n.visit(Cn)}}();var GradientParser=GradientParser||{};GradientParser.parse=function(){var $n={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},Cn="";function _n(sa){var ia=new Error(Cn+": "+sa);throw ia.source=Cn,ia}function Pn(){var sa=In();return Cn.length>0&&_n("Invalid input not EOF"),sa}function In(){return qo(Nn)}function Nn(){return Rn("linear-gradient",$n.linearGradient,Ln)||Rn("repeating-linear-gradient",$n.repeatingLinearGradient,Ln)||Rn("radial-gradient",$n.radialGradient,Hn)||Rn("repeating-radial-gradient",$n.repeatingRadialGradient,Hn)}function Rn(sa,ia,fa){return Dn(ia,function(ma){var ya=fa();return ya&&(aa($n.comma)||_n("Missing comma before color stops")),{type:sa,orientation:ya,colorStops:qo(Jo)}})}function Dn(sa,ia){var fa=aa(sa);if(fa){aa($n.startCall)||_n("Missing (");var ma=ia(fa);return aa($n.endCall)||_n("Missing )"),ma}}function Ln(){return Fn()||Bn()}function Fn(){return ga("directional",$n.sideOrCorner,1)}function Bn(){return ga("angular",$n.angleValue,1)}function Hn(){var sa,ia=zn(),fa;return ia&&(sa=[],sa.push(ia),fa=Cn,aa($n.comma)&&(ia=zn(),ia?sa.push(ia):Cn=fa)),sa}function zn(){var sa=Wn()||Yn();if(sa)sa.at=Go();else{var ia=Gn();if(ia){sa=ia;var fa=Go();fa&&(sa.at=fa)}else{var ma=Xn();ma&&(sa={type:"default-radial",at:ma})}}return sa}function Wn(){var sa=ga("shape",/^(circle)/i,0);return sa&&(sa.style=ua()||Gn()),sa}function Yn(){var sa=ga("shape",/^(ellipse)/i,0);return sa&&(sa.style=ea()||Gn()),sa}function Gn(){return ga("extent-keyword",$n.extentKeywords,1)}function Go(){if(ga("position",/^at/,0)){var sa=Xn();return sa||_n("Missing positioning value"),sa}}function Xn(){var sa=Yo();if(sa.x||sa.y)return{type:"position",value:sa}}function Yo(){return{x:ea(),y:ea()}}function qo(sa){var ia=sa(),fa=[];if(ia)for(fa.push(ia);aa($n.comma);)ia=sa(),ia?fa.push(ia):_n("One extra comma");return fa}function Jo(){var sa=Zo();return sa||_n("Expected color definition"),sa.length=ea(),sa}function Zo(){return nr()||oa()||ta()||rr()}function rr(){return ga("literal",$n.literalColor,0)}function nr(){return ga("hex",$n.hexColor,1)}function ta(){return Dn($n.rgbColor,function(){return{type:"rgb",value:qo(ra)}})}function oa(){return Dn($n.rgbaColor,function(){return{type:"rgba",value:qo(ra)}})}function ra(){return aa($n.number)[1]}function ea(){return ga("%",$n.percentageValue,1)||la()||ua()}function la(){return ga("position-keyword",$n.positionKeywords,1)}function ua(){return ga("px",$n.pixelValue,1)||ga("em",$n.emValue,1)}function ga(sa,ia,fa){var ma=aa(ia);if(ma)return{type:sa,value:ma[fa]}}function aa(sa){var ia,fa;return fa=/^[\n\r\t\s]+/.exec(Cn),fa&&ca(fa[0].length),ia=sa.exec(Cn),ia&&ca(ia[0].length),ia}function ca(sa){Cn=Cn.substr(sa)}return function(sa){return Cn=sa.toString(),Pn()}}();var parse=GradientParser.parse,stringify=GradientParser.stringify,top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function($n,Cn){return $n.concat([Cn+"-"+start,Cn+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function($n,Cn){return $n.concat([Cn,Cn+"-"+start,Cn+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName($n){return $n?($n.nodeName||"").toLowerCase():null}function getWindow($n){if($n==null)return window;if($n.toString()!=="[object Window]"){var Cn=$n.ownerDocument;return Cn&&Cn.defaultView||window}return $n}function isElement($n){var Cn=getWindow($n).Element;return $n instanceof Cn||$n instanceof Element}function isHTMLElement($n){var Cn=getWindow($n).HTMLElement;return $n instanceof Cn||$n instanceof HTMLElement}function isShadowRoot($n){if(typeof ShadowRoot>"u")return!1;var Cn=getWindow($n).ShadowRoot;return $n instanceof Cn||$n instanceof ShadowRoot}function applyStyles($n){var Cn=$n.state;Object.keys(Cn.elements).forEach(function(_n){var Pn=Cn.styles[_n]||{},In=Cn.attributes[_n]||{},Nn=Cn.elements[_n];!isHTMLElement(Nn)||!getNodeName(Nn)||(Object.assign(Nn.style,Pn),Object.keys(In).forEach(function(Rn){var Dn=In[Rn];Dn===!1?Nn.removeAttribute(Rn):Nn.setAttribute(Rn,Dn===!0?"":Dn)}))})}function effect$2($n){var Cn=$n.state,_n={popper:{position:Cn.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(Cn.elements.popper.style,_n.popper),Cn.styles=_n,Cn.elements.arrow&&Object.assign(Cn.elements.arrow.style,_n.arrow),function(){Object.keys(Cn.elements).forEach(function(Pn){var In=Cn.elements[Pn],Nn=Cn.attributes[Pn]||{},Rn=Object.keys(Cn.styles.hasOwnProperty(Pn)?Cn.styles[Pn]:_n[Pn]),Dn=Rn.reduce(function(Ln,Fn){return Ln[Fn]="",Ln},{});!isHTMLElement(In)||!getNodeName(In)||(Object.assign(In.style,Dn),Object.keys(Nn).forEach(function(Ln){In.removeAttribute(Ln)}))})}}const applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement($n){return $n.split("-")[0]}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var $n=navigator.userAgentData;return $n!=null&&$n.brands&&Array.isArray($n.brands)?$n.brands.map(function(Cn){return Cn.brand+"/"+Cn.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect($n,Cn,_n){Cn===void 0&&(Cn=!1),_n===void 0&&(_n=!1);var Pn=$n.getBoundingClientRect(),In=1,Nn=1;Cn&&isHTMLElement($n)&&(In=$n.offsetWidth>0&&round(Pn.width)/$n.offsetWidth||1,Nn=$n.offsetHeight>0&&round(Pn.height)/$n.offsetHeight||1);var Rn=isElement($n)?getWindow($n):window,Dn=Rn.visualViewport,Ln=!isLayoutViewport()&&_n,Fn=(Pn.left+(Ln&&Dn?Dn.offsetLeft:0))/In,Bn=(Pn.top+(Ln&&Dn?Dn.offsetTop:0))/Nn,Hn=Pn.width/In,zn=Pn.height/Nn;return{width:Hn,height:zn,top:Bn,right:Fn+Hn,bottom:Bn+zn,left:Fn,x:Fn,y:Bn}}function getLayoutRect($n){var Cn=getBoundingClientRect($n),_n=$n.offsetWidth,Pn=$n.offsetHeight;return Math.abs(Cn.width-_n)<=1&&(_n=Cn.width),Math.abs(Cn.height-Pn)<=1&&(Pn=Cn.height),{x:$n.offsetLeft,y:$n.offsetTop,width:_n,height:Pn}}function contains($n,Cn){var _n=Cn.getRootNode&&Cn.getRootNode();if($n.contains(Cn))return!0;if(_n&&isShadowRoot(_n)){var Pn=Cn;do{if(Pn&&$n.isSameNode(Pn))return!0;Pn=Pn.parentNode||Pn.host}while(Pn)}return!1}function getComputedStyle$1($n){return getWindow($n).getComputedStyle($n)}function isTableElement($n){return["table","td","th"].indexOf(getNodeName($n))>=0}function getDocumentElement($n){return((isElement($n)?$n.ownerDocument:$n.document)||window.document).documentElement}function getParentNode($n){return getNodeName($n)==="html"?$n:$n.assignedSlot||$n.parentNode||(isShadowRoot($n)?$n.host:null)||getDocumentElement($n)}function getTrueOffsetParent($n){return!isHTMLElement($n)||getComputedStyle$1($n).position==="fixed"?null:$n.offsetParent}function getContainingBlock($n){var Cn=/firefox/i.test(getUAString()),_n=/Trident/i.test(getUAString());if(_n&&isHTMLElement($n)){var Pn=getComputedStyle$1($n);if(Pn.position==="fixed")return null}var In=getParentNode($n);for(isShadowRoot(In)&&(In=In.host);isHTMLElement(In)&&["html","body"].indexOf(getNodeName(In))<0;){var Nn=getComputedStyle$1(In);if(Nn.transform!=="none"||Nn.perspective!=="none"||Nn.contain==="paint"||["transform","perspective"].indexOf(Nn.willChange)!==-1||Cn&&Nn.willChange==="filter"||Cn&&Nn.filter&&Nn.filter!=="none")return In;In=In.parentNode}return null}function getOffsetParent($n){for(var Cn=getWindow($n),_n=getTrueOffsetParent($n);_n&&isTableElement(_n)&&getComputedStyle$1(_n).position==="static";)_n=getTrueOffsetParent(_n);return _n&&(getNodeName(_n)==="html"||getNodeName(_n)==="body"&&getComputedStyle$1(_n).position==="static")?Cn:_n||getContainingBlock($n)||Cn}function getMainAxisFromPlacement($n){return["top","bottom"].indexOf($n)>=0?"x":"y"}function within($n,Cn,_n){return max($n,min(Cn,_n))}function withinMaxClamp($n,Cn,_n){var Pn=within($n,Cn,_n);return Pn>_n?_n:Pn}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject($n){return Object.assign({},getFreshSideObject(),$n)}function expandToHashMap($n,Cn){return Cn.reduce(function(_n,Pn){return _n[Pn]=$n,_n},{})}var toPaddingObject=function $n(Cn,_n){return Cn=typeof Cn=="function"?Cn(Object.assign({},_n.rects,{placement:_n.placement})):Cn,mergePaddingObject(typeof Cn!="number"?Cn:expandToHashMap(Cn,basePlacements))};function arrow($n){var Cn,_n=$n.state,Pn=$n.name,In=$n.options,Nn=_n.elements.arrow,Rn=_n.modifiersData.popperOffsets,Dn=getBasePlacement(_n.placement),Ln=getMainAxisFromPlacement(Dn),Fn=[left,right].indexOf(Dn)>=0,Bn=Fn?"height":"width";if(!(!Nn||!Rn)){var Hn=toPaddingObject(In.padding,_n),zn=getLayoutRect(Nn),Wn=Ln==="y"?top:left,Yn=Ln==="y"?bottom:right,Gn=_n.rects.reference[Bn]+_n.rects.reference[Ln]-Rn[Ln]-_n.rects.popper[Bn],Go=Rn[Ln]-_n.rects.reference[Ln],Xn=getOffsetParent(Nn),Yo=Xn?Ln==="y"?Xn.clientHeight||0:Xn.clientWidth||0:0,qo=Gn/2-Go/2,Jo=Hn[Wn],Zo=Yo-zn[Bn]-Hn[Yn],rr=Yo/2-zn[Bn]/2+qo,nr=within(Jo,rr,Zo),ta=Ln;_n.modifiersData[Pn]=(Cn={},Cn[ta]=nr,Cn.centerOffset=nr-rr,Cn)}}function effect$1($n){var Cn=$n.state,_n=$n.options,Pn=_n.element,In=Pn===void 0?"[data-popper-arrow]":Pn;In!=null&&(typeof In=="string"&&(In=Cn.elements.popper.querySelector(In),!In)||contains(Cn.elements.popper,In)&&(Cn.elements.arrow=In))}const arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation($n){return $n.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR($n,Cn){var _n=$n.x,Pn=$n.y,In=Cn.devicePixelRatio||1;return{x:round(_n*In)/In||0,y:round(Pn*In)/In||0}}function mapToStyles($n){var Cn,_n=$n.popper,Pn=$n.popperRect,In=$n.placement,Nn=$n.variation,Rn=$n.offsets,Dn=$n.position,Ln=$n.gpuAcceleration,Fn=$n.adaptive,Bn=$n.roundOffsets,Hn=$n.isFixed,zn=Rn.x,Wn=zn===void 0?0:zn,Yn=Rn.y,Gn=Yn===void 0?0:Yn,Go=typeof Bn=="function"?Bn({x:Wn,y:Gn}):{x:Wn,y:Gn};Wn=Go.x,Gn=Go.y;var Xn=Rn.hasOwnProperty("x"),Yo=Rn.hasOwnProperty("y"),qo=left,Jo=top,Zo=window;if(Fn){var rr=getOffsetParent(_n),nr="clientHeight",ta="clientWidth";if(rr===getWindow(_n)&&(rr=getDocumentElement(_n),getComputedStyle$1(rr).position!=="static"&&Dn==="absolute"&&(nr="scrollHeight",ta="scrollWidth")),rr=rr,In===top||(In===left||In===right)&&Nn===end){Jo=bottom;var oa=Hn&&rr===Zo&&Zo.visualViewport?Zo.visualViewport.height:rr[nr];Gn-=oa-Pn.height,Gn*=Ln?1:-1}if(In===left||(In===top||In===bottom)&&Nn===end){qo=right;var ra=Hn&&rr===Zo&&Zo.visualViewport?Zo.visualViewport.width:rr[ta];Wn-=ra-Pn.width,Wn*=Ln?1:-1}}var ea=Object.assign({position:Dn},Fn&&unsetSides),la=Bn===!0?roundOffsetsByDPR({x:Wn,y:Gn},getWindow(_n)):{x:Wn,y:Gn};if(Wn=la.x,Gn=la.y,Ln){var ua;return Object.assign({},ea,(ua={},ua[Jo]=Yo?"0":"",ua[qo]=Xn?"0":"",ua.transform=(Zo.devicePixelRatio||1)<=1?"translate("+Wn+"px, "+Gn+"px)":"translate3d("+Wn+"px, "+Gn+"px, 0)",ua))}return Object.assign({},ea,(Cn={},Cn[Jo]=Yo?Gn+"px":"",Cn[qo]=Xn?Wn+"px":"",Cn.transform="",Cn))}function computeStyles($n){var Cn=$n.state,_n=$n.options,Pn=_n.gpuAcceleration,In=Pn===void 0?!0:Pn,Nn=_n.adaptive,Rn=Nn===void 0?!0:Nn,Dn=_n.roundOffsets,Ln=Dn===void 0?!0:Dn,Fn={placement:getBasePlacement(Cn.placement),variation:getVariation(Cn.placement),popper:Cn.elements.popper,popperRect:Cn.rects.popper,gpuAcceleration:In,isFixed:Cn.options.strategy==="fixed"};Cn.modifiersData.popperOffsets!=null&&(Cn.styles.popper=Object.assign({},Cn.styles.popper,mapToStyles(Object.assign({},Fn,{offsets:Cn.modifiersData.popperOffsets,position:Cn.options.strategy,adaptive:Rn,roundOffsets:Ln})))),Cn.modifiersData.arrow!=null&&(Cn.styles.arrow=Object.assign({},Cn.styles.arrow,mapToStyles(Object.assign({},Fn,{offsets:Cn.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Ln})))),Cn.attributes.popper=Object.assign({},Cn.attributes.popper,{"data-popper-placement":Cn.placement})}const computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:!0};function effect($n){var Cn=$n.state,_n=$n.instance,Pn=$n.options,In=Pn.scroll,Nn=In===void 0?!0:In,Rn=Pn.resize,Dn=Rn===void 0?!0:Rn,Ln=getWindow(Cn.elements.popper),Fn=[].concat(Cn.scrollParents.reference,Cn.scrollParents.popper);return Nn&&Fn.forEach(function(Bn){Bn.addEventListener("scroll",_n.update,passive)}),Dn&&Ln.addEventListener("resize",_n.update,passive),function(){Nn&&Fn.forEach(function(Bn){Bn.removeEventListener("scroll",_n.update,passive)}),Dn&&Ln.removeEventListener("resize",_n.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function $n(){},effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement($n){return $n.replace(/left|right|bottom|top/g,function(Cn){return hash$1[Cn]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement($n){return $n.replace(/start|end/g,function(Cn){return hash[Cn]})}function getWindowScroll($n){var Cn=getWindow($n),_n=Cn.pageXOffset,Pn=Cn.pageYOffset;return{scrollLeft:_n,scrollTop:Pn}}function getWindowScrollBarX($n){return getBoundingClientRect(getDocumentElement($n)).left+getWindowScroll($n).scrollLeft}function getViewportRect($n,Cn){var _n=getWindow($n),Pn=getDocumentElement($n),In=_n.visualViewport,Nn=Pn.clientWidth,Rn=Pn.clientHeight,Dn=0,Ln=0;if(In){Nn=In.width,Rn=In.height;var Fn=isLayoutViewport();(Fn||!Fn&&Cn==="fixed")&&(Dn=In.offsetLeft,Ln=In.offsetTop)}return{width:Nn,height:Rn,x:Dn+getWindowScrollBarX($n),y:Ln}}function getDocumentRect($n){var Cn,_n=getDocumentElement($n),Pn=getWindowScroll($n),In=(Cn=$n.ownerDocument)==null?void 0:Cn.body,Nn=max(_n.scrollWidth,_n.clientWidth,In?In.scrollWidth:0,In?In.clientWidth:0),Rn=max(_n.scrollHeight,_n.clientHeight,In?In.scrollHeight:0,In?In.clientHeight:0),Dn=-Pn.scrollLeft+getWindowScrollBarX($n),Ln=-Pn.scrollTop;return getComputedStyle$1(In||_n).direction==="rtl"&&(Dn+=max(_n.clientWidth,In?In.clientWidth:0)-Nn),{width:Nn,height:Rn,x:Dn,y:Ln}}function isScrollParent($n){var Cn=getComputedStyle$1($n),_n=Cn.overflow,Pn=Cn.overflowX,In=Cn.overflowY;return/auto|scroll|overlay|hidden/.test(_n+In+Pn)}function getScrollParent($n){return["html","body","#document"].indexOf(getNodeName($n))>=0?$n.ownerDocument.body:isHTMLElement($n)&&isScrollParent($n)?$n:getScrollParent(getParentNode($n))}function listScrollParents($n,Cn){var _n;Cn===void 0&&(Cn=[]);var Pn=getScrollParent($n),In=Pn===((_n=$n.ownerDocument)==null?void 0:_n.body),Nn=getWindow(Pn),Rn=In?[Nn].concat(Nn.visualViewport||[],isScrollParent(Pn)?Pn:[]):Pn,Dn=Cn.concat(Rn);return In?Dn:Dn.concat(listScrollParents(getParentNode(Rn)))}function rectToClientRect($n){return Object.assign({},$n,{left:$n.x,top:$n.y,right:$n.x+$n.width,bottom:$n.y+$n.height})}function getInnerBoundingClientRect($n,Cn){var _n=getBoundingClientRect($n,!1,Cn==="fixed");return _n.top=_n.top+$n.clientTop,_n.left=_n.left+$n.clientLeft,_n.bottom=_n.top+$n.clientHeight,_n.right=_n.left+$n.clientWidth,_n.width=$n.clientWidth,_n.height=$n.clientHeight,_n.x=_n.left,_n.y=_n.top,_n}function getClientRectFromMixedType($n,Cn,_n){return Cn===viewport?rectToClientRect(getViewportRect($n,_n)):isElement(Cn)?getInnerBoundingClientRect(Cn,_n):rectToClientRect(getDocumentRect(getDocumentElement($n)))}function getClippingParents($n){var Cn=listScrollParents(getParentNode($n)),_n=["absolute","fixed"].indexOf(getComputedStyle$1($n).position)>=0,Pn=_n&&isHTMLElement($n)?getOffsetParent($n):$n;return isElement(Pn)?Cn.filter(function(In){return isElement(In)&&contains(In,Pn)&&getNodeName(In)!=="body"}):[]}function getClippingRect($n,Cn,_n,Pn){var In=Cn==="clippingParents"?getClippingParents($n):[].concat(Cn),Nn=[].concat(In,[_n]),Rn=Nn[0],Dn=Nn.reduce(function(Ln,Fn){var Bn=getClientRectFromMixedType($n,Fn,Pn);return Ln.top=max(Bn.top,Ln.top),Ln.right=min(Bn.right,Ln.right),Ln.bottom=min(Bn.bottom,Ln.bottom),Ln.left=max(Bn.left,Ln.left),Ln},getClientRectFromMixedType($n,Rn,Pn));return Dn.width=Dn.right-Dn.left,Dn.height=Dn.bottom-Dn.top,Dn.x=Dn.left,Dn.y=Dn.top,Dn}function computeOffsets($n){var Cn=$n.reference,_n=$n.element,Pn=$n.placement,In=Pn?getBasePlacement(Pn):null,Nn=Pn?getVariation(Pn):null,Rn=Cn.x+Cn.width/2-_n.width/2,Dn=Cn.y+Cn.height/2-_n.height/2,Ln;switch(In){case top:Ln={x:Rn,y:Cn.y-_n.height};break;case bottom:Ln={x:Rn,y:Cn.y+Cn.height};break;case right:Ln={x:Cn.x+Cn.width,y:Dn};break;case left:Ln={x:Cn.x-_n.width,y:Dn};break;default:Ln={x:Cn.x,y:Cn.y}}var Fn=In?getMainAxisFromPlacement(In):null;if(Fn!=null){var Bn=Fn==="y"?"height":"width";switch(Nn){case start:Ln[Fn]=Ln[Fn]-(Cn[Bn]/2-_n[Bn]/2);break;case end:Ln[Fn]=Ln[Fn]+(Cn[Bn]/2-_n[Bn]/2);break}}return Ln}function detectOverflow($n,Cn){Cn===void 0&&(Cn={});var _n=Cn,Pn=_n.placement,In=Pn===void 0?$n.placement:Pn,Nn=_n.strategy,Rn=Nn===void 0?$n.strategy:Nn,Dn=_n.boundary,Ln=Dn===void 0?clippingParents:Dn,Fn=_n.rootBoundary,Bn=Fn===void 0?viewport:Fn,Hn=_n.elementContext,zn=Hn===void 0?popper:Hn,Wn=_n.altBoundary,Yn=Wn===void 0?!1:Wn,Gn=_n.padding,Go=Gn===void 0?0:Gn,Xn=mergePaddingObject(typeof Go!="number"?Go:expandToHashMap(Go,basePlacements)),Yo=zn===popper?reference:popper,qo=$n.rects.popper,Jo=$n.elements[Yn?Yo:zn],Zo=getClippingRect(isElement(Jo)?Jo:Jo.contextElement||getDocumentElement($n.elements.popper),Ln,Bn,Rn),rr=getBoundingClientRect($n.elements.reference),nr=computeOffsets({reference:rr,element:qo,strategy:"absolute",placement:In}),ta=rectToClientRect(Object.assign({},qo,nr)),oa=zn===popper?ta:rr,ra={top:Zo.top-oa.top+Xn.top,bottom:oa.bottom-Zo.bottom+Xn.bottom,left:Zo.left-oa.left+Xn.left,right:oa.right-Zo.right+Xn.right},ea=$n.modifiersData.offset;if(zn===popper&&ea){var la=ea[In];Object.keys(ra).forEach(function(ua){var ga=[right,bottom].indexOf(ua)>=0?1:-1,aa=[top,bottom].indexOf(ua)>=0?"y":"x";ra[ua]+=la[aa]*ga})}return ra}function computeAutoPlacement($n,Cn){Cn===void 0&&(Cn={});var _n=Cn,Pn=_n.placement,In=_n.boundary,Nn=_n.rootBoundary,Rn=_n.padding,Dn=_n.flipVariations,Ln=_n.allowedAutoPlacements,Fn=Ln===void 0?placements:Ln,Bn=getVariation(Pn),Hn=Bn?Dn?variationPlacements:variationPlacements.filter(function(Yn){return getVariation(Yn)===Bn}):basePlacements,zn=Hn.filter(function(Yn){return Fn.indexOf(Yn)>=0});zn.length===0&&(zn=Hn);var Wn=zn.reduce(function(Yn,Gn){return Yn[Gn]=detectOverflow($n,{placement:Gn,boundary:In,rootBoundary:Nn,padding:Rn})[getBasePlacement(Gn)],Yn},{});return Object.keys(Wn).sort(function(Yn,Gn){return Wn[Yn]-Wn[Gn]})}function getExpandedFallbackPlacements($n){if(getBasePlacement($n)===auto)return[];var Cn=getOppositePlacement($n);return[getOppositeVariationPlacement($n),Cn,getOppositeVariationPlacement(Cn)]}function flip($n){var Cn=$n.state,_n=$n.options,Pn=$n.name;if(!Cn.modifiersData[Pn]._skip){for(var In=_n.mainAxis,Nn=In===void 0?!0:In,Rn=_n.altAxis,Dn=Rn===void 0?!0:Rn,Ln=_n.fallbackPlacements,Fn=_n.padding,Bn=_n.boundary,Hn=_n.rootBoundary,zn=_n.altBoundary,Wn=_n.flipVariations,Yn=Wn===void 0?!0:Wn,Gn=_n.allowedAutoPlacements,Go=Cn.options.placement,Xn=getBasePlacement(Go),Yo=Xn===Go,qo=Ln||(Yo||!Yn?[getOppositePlacement(Go)]:getExpandedFallbackPlacements(Go)),Jo=[Go].concat(qo).reduce(function(Ea,xa){return Ea.concat(getBasePlacement(xa)===auto?computeAutoPlacement(Cn,{placement:xa,boundary:Bn,rootBoundary:Hn,padding:Fn,flipVariations:Yn,allowedAutoPlacements:Gn}):xa)},[]),Zo=Cn.rects.reference,rr=Cn.rects.popper,nr=new Map,ta=!0,oa=Jo[0],ra=0;ra<Jo.length;ra++){var ea=Jo[ra],la=getBasePlacement(ea),ua=getVariation(ea)===start,ga=[top,bottom].indexOf(la)>=0,aa=ga?"width":"height",ca=detectOverflow(Cn,{placement:ea,boundary:Bn,rootBoundary:Hn,altBoundary:zn,padding:Fn}),sa=ga?ua?right:left:ua?bottom:top;Zo[aa]>rr[aa]&&(sa=getOppositePlacement(sa));var ia=getOppositePlacement(sa),fa=[];if(Nn&&fa.push(ca[la]<=0),Dn&&fa.push(ca[sa]<=0,ca[ia]<=0),fa.every(function(Ea){return Ea})){oa=ea,ta=!1;break}nr.set(ea,fa)}if(ta)for(var ma=Yn?3:1,ya=function(xa){var Ta=Jo.find(function(wa){var La=nr.get(wa);if(La)return La.slice(0,xa).every(function(Na){return Na})});if(Ta)return oa=Ta,"break"},ba=ma;ba>0;ba--){var Ia=ya(ba);if(Ia==="break")break}Cn.placement!==oa&&(Cn.modifiersData[Pn]._skip=!0,Cn.placement=oa,Cn.reset=!0)}}const flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets($n,Cn,_n){return _n===void 0&&(_n={x:0,y:0}),{top:$n.top-Cn.height-_n.y,right:$n.right-Cn.width+_n.x,bottom:$n.bottom-Cn.height+_n.y,left:$n.left-Cn.width-_n.x}}function isAnySideFullyClipped($n){return[top,right,bottom,left].some(function(Cn){return $n[Cn]>=0})}function hide($n){var Cn=$n.state,_n=$n.name,Pn=Cn.rects.reference,In=Cn.rects.popper,Nn=Cn.modifiersData.preventOverflow,Rn=detectOverflow(Cn,{elementContext:"reference"}),Dn=detectOverflow(Cn,{altBoundary:!0}),Ln=getSideOffsets(Rn,Pn),Fn=getSideOffsets(Dn,In,Nn),Bn=isAnySideFullyClipped(Ln),Hn=isAnySideFullyClipped(Fn);Cn.modifiersData[_n]={referenceClippingOffsets:Ln,popperEscapeOffsets:Fn,isReferenceHidden:Bn,hasPopperEscaped:Hn},Cn.attributes.popper=Object.assign({},Cn.attributes.popper,{"data-popper-reference-hidden":Bn,"data-popper-escaped":Hn})}const hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY($n,Cn,_n){var Pn=getBasePlacement($n),In=[left,top].indexOf(Pn)>=0?-1:1,Nn=typeof _n=="function"?_n(Object.assign({},Cn,{placement:$n})):_n,Rn=Nn[0],Dn=Nn[1];return Rn=Rn||0,Dn=(Dn||0)*In,[left,right].indexOf(Pn)>=0?{x:Dn,y:Rn}:{x:Rn,y:Dn}}function offset($n){var Cn=$n.state,_n=$n.options,Pn=$n.name,In=_n.offset,Nn=In===void 0?[0,0]:In,Rn=placements.reduce(function(Bn,Hn){return Bn[Hn]=distanceAndSkiddingToXY(Hn,Cn.rects,Nn),Bn},{}),Dn=Rn[Cn.placement],Ln=Dn.x,Fn=Dn.y;Cn.modifiersData.popperOffsets!=null&&(Cn.modifiersData.popperOffsets.x+=Ln,Cn.modifiersData.popperOffsets.y+=Fn),Cn.modifiersData[Pn]=Rn}const offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets($n){var Cn=$n.state,_n=$n.name;Cn.modifiersData[_n]=computeOffsets({reference:Cn.rects.reference,element:Cn.rects.popper,strategy:"absolute",placement:Cn.placement})}const popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis($n){return $n==="x"?"y":"x"}function preventOverflow($n){var Cn=$n.state,_n=$n.options,Pn=$n.name,In=_n.mainAxis,Nn=In===void 0?!0:In,Rn=_n.altAxis,Dn=Rn===void 0?!1:Rn,Ln=_n.boundary,Fn=_n.rootBoundary,Bn=_n.altBoundary,Hn=_n.padding,zn=_n.tether,Wn=zn===void 0?!0:zn,Yn=_n.tetherOffset,Gn=Yn===void 0?0:Yn,Go=detectOverflow(Cn,{boundary:Ln,rootBoundary:Fn,padding:Hn,altBoundary:Bn}),Xn=getBasePlacement(Cn.placement),Yo=getVariation(Cn.placement),qo=!Yo,Jo=getMainAxisFromPlacement(Xn),Zo=getAltAxis(Jo),rr=Cn.modifiersData.popperOffsets,nr=Cn.rects.reference,ta=Cn.rects.popper,oa=typeof Gn=="function"?Gn(Object.assign({},Cn.rects,{placement:Cn.placement})):Gn,ra=typeof oa=="number"?{mainAxis:oa,altAxis:oa}:Object.assign({mainAxis:0,altAxis:0},oa),ea=Cn.modifiersData.offset?Cn.modifiersData.offset[Cn.placement]:null,la={x:0,y:0};if(rr){if(Nn){var ua,ga=Jo==="y"?top:left,aa=Jo==="y"?bottom:right,ca=Jo==="y"?"height":"width",sa=rr[Jo],ia=sa+Go[ga],fa=sa-Go[aa],ma=Wn?-ta[ca]/2:0,ya=Yo===start?nr[ca]:ta[ca],ba=Yo===start?-ta[ca]:-nr[ca],Ia=Cn.elements.arrow,Ea=Wn&&Ia?getLayoutRect(Ia):{width:0,height:0},xa=Cn.modifiersData["arrow#persistent"]?Cn.modifiersData["arrow#persistent"].padding:getFreshSideObject(),Ta=xa[ga],wa=xa[aa],La=within(0,nr[ca],Ea[ca]),Na=qo?nr[ca]/2-ma-La-Ta-ra.mainAxis:ya-La-Ta-ra.mainAxis,$a=qo?-nr[ca]/2+ma+La+wa+ra.mainAxis:ba+La+wa+ra.mainAxis,ka=Cn.elements.arrow&&getOffsetParent(Cn.elements.arrow),Ha=ka?Jo==="y"?ka.clientTop||0:ka.clientLeft||0:0,da=(ua=ea==null?void 0:ea[Jo])!=null?ua:0,pa=sa+Na-da-Ha,Sa=sa+$a-da,Aa=within(Wn?min(ia,pa):ia,sa,Wn?max(fa,Sa):fa);rr[Jo]=Aa,la[Jo]=Aa-sa}if(Dn){var Ra,Fa=Jo==="x"?top:left,za=Jo==="x"?bottom:right,Wa=rr[Zo],Ya=Zo==="y"?"height":"width",ja=Wa+Go[Fa],qa=Wa-Go[za],Xa=[top,left].indexOf(Xn)!==-1,Oa=(Ra=ea==null?void 0:ea[Zo])!=null?Ra:0,Ma=Xa?ja:Wa-nr[Ya]-ta[Ya]-Oa+ra.altAxis,Ua=Xa?Wa+nr[Ya]+ta[Ya]-Oa-ra.altAxis:qa,Qa=Wn&&Xa?withinMaxClamp(Ma,Wa,Ua):within(Wn?Ma:ja,Wa,Wn?Ua:qa);rr[Zo]=Qa,la[Zo]=Qa-Wa}Cn.modifiersData[Pn]=la}}const preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll($n){return{scrollLeft:$n.scrollLeft,scrollTop:$n.scrollTop}}function getNodeScroll($n){return $n===getWindow($n)||!isHTMLElement($n)?getWindowScroll($n):getHTMLElementScroll($n)}function isElementScaled($n){var Cn=$n.getBoundingClientRect(),_n=round(Cn.width)/$n.offsetWidth||1,Pn=round(Cn.height)/$n.offsetHeight||1;return _n!==1||Pn!==1}function getCompositeRect($n,Cn,_n){_n===void 0&&(_n=!1);var Pn=isHTMLElement(Cn),In=isHTMLElement(Cn)&&isElementScaled(Cn),Nn=getDocumentElement(Cn),Rn=getBoundingClientRect($n,In,_n),Dn={scrollLeft:0,scrollTop:0},Ln={x:0,y:0};return(Pn||!Pn&&!_n)&&((getNodeName(Cn)!=="body"||isScrollParent(Nn))&&(Dn=getNodeScroll(Cn)),isHTMLElement(Cn)?(Ln=getBoundingClientRect(Cn,!0),Ln.x+=Cn.clientLeft,Ln.y+=Cn.clientTop):Nn&&(Ln.x=getWindowScrollBarX(Nn))),{x:Rn.left+Dn.scrollLeft-Ln.x,y:Rn.top+Dn.scrollTop-Ln.y,width:Rn.width,height:Rn.height}}function order($n){var Cn=new Map,_n=new Set,Pn=[];$n.forEach(function(Nn){Cn.set(Nn.name,Nn)});function In(Nn){_n.add(Nn.name);var Rn=[].concat(Nn.requires||[],Nn.requiresIfExists||[]);Rn.forEach(function(Dn){if(!_n.has(Dn)){var Ln=Cn.get(Dn);Ln&&In(Ln)}}),Pn.push(Nn)}return $n.forEach(function(Nn){_n.has(Nn.name)||In(Nn)}),Pn}function orderModifiers($n){var Cn=order($n);return modifierPhases.reduce(function(_n,Pn){return _n.concat(Cn.filter(function(In){return In.phase===Pn}))},[])}function debounce($n){var Cn;return function(){return Cn||(Cn=new Promise(function(_n){Promise.resolve().then(function(){Cn=void 0,_n($n())})})),Cn}}function mergeByName($n){var Cn=$n.reduce(function(_n,Pn){var In=_n[Pn.name];return _n[Pn.name]=In?Object.assign({},In,Pn,{options:Object.assign({},In.options,Pn.options),data:Object.assign({},In.data,Pn.data)}):Pn,_n},{});return Object.keys(Cn).map(function(_n){return Cn[_n]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var $n=arguments.length,Cn=new Array($n),_n=0;_n<$n;_n++)Cn[_n]=arguments[_n];return!Cn.some(function(Pn){return!(Pn&&typeof Pn.getBoundingClientRect=="function")})}function popperGenerator($n){$n===void 0&&($n={});var Cn=$n,_n=Cn.defaultModifiers,Pn=_n===void 0?[]:_n,In=Cn.defaultOptions,Nn=In===void 0?DEFAULT_OPTIONS:In;return function(Dn,Ln,Fn){Fn===void 0&&(Fn=Nn);var Bn={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,Nn),modifiersData:{},elements:{reference:Dn,popper:Ln},attributes:{},styles:{}},Hn=[],zn=!1,Wn={state:Bn,setOptions:function(Xn){var Yo=typeof Xn=="function"?Xn(Bn.options):Xn;Gn(),Bn.options=Object.assign({},Nn,Bn.options,Yo),Bn.scrollParents={reference:isElement(Dn)?listScrollParents(Dn):Dn.contextElement?listScrollParents(Dn.contextElement):[],popper:listScrollParents(Ln)};var qo=orderModifiers(mergeByName([].concat(Pn,Bn.options.modifiers)));return Bn.orderedModifiers=qo.filter(function(Jo){return Jo.enabled}),Yn(),Wn.update()},forceUpdate:function(){if(!zn){var Xn=Bn.elements,Yo=Xn.reference,qo=Xn.popper;if(areValidElements(Yo,qo)){Bn.rects={reference:getCompositeRect(Yo,getOffsetParent(qo),Bn.options.strategy==="fixed"),popper:getLayoutRect(qo)},Bn.reset=!1,Bn.placement=Bn.options.placement,Bn.orderedModifiers.forEach(function(ra){return Bn.modifiersData[ra.name]=Object.assign({},ra.data)});for(var Jo=0;Jo<Bn.orderedModifiers.length;Jo++){if(Bn.reset===!0){Bn.reset=!1,Jo=-1;continue}var Zo=Bn.orderedModifiers[Jo],rr=Zo.fn,nr=Zo.options,ta=nr===void 0?{}:nr,oa=Zo.name;typeof rr=="function"&&(Bn=rr({state:Bn,options:ta,name:oa,instance:Wn})||Bn)}}}},update:debounce(function(){return new Promise(function(Go){Wn.forceUpdate(),Go(Bn)})}),destroy:function(){Gn(),zn=!0}};if(!areValidElements(Dn,Ln))return Wn;Wn.setOptions(Fn).then(function(Go){!zn&&Fn.onFirstUpdate&&Fn.onFirstUpdate(Go)});function Yn(){Bn.orderedModifiers.forEach(function(Go){var Xn=Go.name,Yo=Go.options,qo=Yo===void 0?{}:Yo,Jo=Go.effect;if(typeof Jo=="function"){var Zo=Jo({state:Bn,name:Xn,instance:Wn,options:qo}),rr=function(){};Hn.push(Zo||rr)}})}function Gn(){Hn.forEach(function(Go){return Go()}),Hn=[]}return Wn}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1],createPopper=popperGenerator({defaultModifiers});/*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */function isObject($n){return Object.prototype.toString.call($n)==="[object Object]"}function isPlainObject($n){var Cn,_n;return isObject($n)===!1?!1:(Cn=$n.constructor,Cn===void 0?!0:(_n=Cn.prototype,!(isObject(_n)===!1||_n.hasOwnProperty("isPrototypeOf")===!1)))}function t$1(){return t$1=Object.assign?Object.assign.bind():function($n){for(var Cn=1;Cn<arguments.length;Cn++){var _n=arguments[Cn];for(var Pn in _n)Object.prototype.hasOwnProperty.call(_n,Pn)&&($n[Pn]=_n[Pn])}return $n},t$1.apply(this,arguments)}function r$1($n,Cn){if($n==null)return{};var _n,Pn,In={},Nn=Object.keys($n);for(Pn=0;Pn<Nn.length;Pn++)Cn.indexOf(_n=Nn[Pn])>=0||(In[_n]=$n[_n]);return In}const n$1={silent:!1,logLevel:"warn"},i$1=["validator"],o$1=Object.prototype,a$1=o$1.toString,s$1=o$1.hasOwnProperty,u$1=/^\s*function (\w+)/;function l$1($n){var Cn;const _n=(Cn=$n==null?void 0:$n.type)!==null&&Cn!==void 0?Cn:$n;if(_n){const Pn=_n.toString().match(u$1);return Pn?Pn[1]:""}return""}const c$1=isPlainObject,f$1=$n=>$n;let d$1=f$1;const p$1=($n,Cn)=>s$1.call($n,Cn),y$1=Number.isInteger||function($n){return typeof $n=="number"&&isFinite($n)&&Math.floor($n)===$n},v$1=Array.isArray||function($n){return a$1.call($n)==="[object Array]"},h$1=$n=>a$1.call($n)==="[object Function]",b$1=$n=>c$1($n)&&p$1($n,"_vueTypes_name"),g$1=$n=>c$1($n)&&(p$1($n,"type")||["_vueTypes_name","validator","default","required"].some(Cn=>p$1($n,Cn)));function O$1($n,Cn){return Object.defineProperty($n.bind(Cn),"__original",{value:$n})}function m$1($n,Cn,_n=!1){let Pn,In=!0,Nn="";Pn=c$1($n)?$n:{type:$n};const Rn=b$1(Pn)?Pn._vueTypes_name+" - ":"";if(g$1(Pn)&&Pn.type!==null){if(Pn.type===void 0||Pn.type===!0||!Pn.required&&Cn===void 0)return In;v$1(Pn.type)?(In=Pn.type.some(Dn=>m$1(Dn,Cn,!0)===!0),Nn=Pn.type.map(Dn=>l$1(Dn)).join(" or ")):(Nn=l$1(Pn),In=Nn==="Array"?v$1(Cn):Nn==="Object"?c$1(Cn):Nn==="String"||Nn==="Number"||Nn==="Boolean"||Nn==="Function"?function(Dn){if(Dn==null)return"";const Ln=Dn.constructor.toString().match(u$1);return Ln?Ln[1]:""}(Cn)===Nn:Cn instanceof Pn.type)}if(!In){const Dn=`${Rn}value "${Cn}" should be of type "${Nn}"`;return _n===!1?(d$1(Dn),!1):Dn}if(p$1(Pn,"validator")&&h$1(Pn.validator)){const Dn=d$1,Ln=[];if(d$1=Fn=>{Ln.push(Fn)},In=Pn.validator(Cn),d$1=Dn,!In){const Fn=(Ln.length>1?"* ":"")+Ln.join(`
-* `);return Ln.length=0,_n===!1?(d$1(Fn),In):Fn}}return In}function j$1($n,Cn){const _n=Object.defineProperties(Cn,{_vueTypes_name:{value:$n,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(In){return In===void 0?(p$1(this,"default")&&delete this.default,this):h$1(In)||m$1(this,In,!0)===!0?(this.default=v$1(In)?()=>[...In]:c$1(In)?()=>Object.assign({},In):In,this):(d$1(`${this._vueTypes_name} - invalid default value: "${In}"`),this)}}}),{validator:Pn}=_n;return h$1(Pn)&&(_n.validator=O$1(Pn,_n)),_n}function _$1($n,Cn){const _n=j$1($n,Cn);return Object.defineProperty(_n,"validate",{value(Pn){return h$1(this.validator)&&d$1(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
-${JSON.stringify(this)}`),this.validator=O$1(Pn,this),this}})}function T$1($n,Cn,_n){const Pn=function(Ln){const Fn={};return Object.getOwnPropertyNames(Ln).forEach(Bn=>{Fn[Bn]=Object.getOwnPropertyDescriptor(Ln,Bn)}),Object.defineProperties({},Fn)}(Cn);if(Pn._vueTypes_name=$n,!c$1(_n))return Pn;const{validator:In}=_n,Nn=r$1(_n,i$1);if(h$1(In)){let{validator:Ln}=Pn;Ln&&(Ln=(Dn=(Rn=Ln).__original)!==null&&Dn!==void 0?Dn:Rn),Pn.validator=O$1(Ln?function(Fn){return Ln.call(this,Fn)&&In.call(this,Fn)}:In,Pn)}var Rn,Dn;return Object.assign(Pn,Nn)}function $$1($n){return $n.replace(/^(?!\s*$)/gm," ")}const w$1=()=>_$1("any",{}),P$1=()=>_$1("function",{type:Function}),x$1=()=>_$1("boolean",{type:Boolean}),E$1=()=>_$1("string",{type:String}),N$1=()=>_$1("number",{type:Number}),q$1=()=>_$1("array",{type:Array}),A$1=()=>_$1("object",{type:Object}),V$2=()=>j$1("integer",{type:Number,validator:$n=>y$1($n)}),S$1=()=>j$1("symbol",{validator:$n=>typeof $n=="symbol"});function D$1($n,Cn="custom validation failed"){if(typeof $n!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return j$1($n.name||"<<anonymous function>>",{type:null,validator(_n){const Pn=$n(_n);return Pn||d$1(`${this._vueTypes_name} - ${Cn}`),Pn}})}function L$2($n){if(!v$1($n))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const Cn=`oneOf - value should be one of "${$n.join('", "')}".`,_n=$n.reduce((Pn,In)=>{if(In!=null){const Nn=In.constructor;Pn.indexOf(Nn)===-1&&Pn.push(Nn)}return Pn},[]);return j$1("oneOf",{type:_n.length>0?_n:void 0,validator(Pn){const In=$n.indexOf(Pn)!==-1;return In||d$1(Cn),In}})}function F$1($n){if(!v$1($n))throw new TypeError("[VueTypes error]: You must provide an array as argument");let Cn=!1,_n=[];for(let In=0;In<$n.length;In+=1){const Nn=$n[In];if(g$1(Nn)){if(b$1(Nn)&&Nn._vueTypes_name==="oneOf"&&Nn.type){_n=_n.concat(Nn.type);continue}if(h$1(Nn.validator)&&(Cn=!0),Nn.type===!0||!Nn.type){d$1('oneOfType - invalid usage of "true" or "null" as types.');continue}_n=_n.concat(Nn.type)}else _n.push(Nn)}_n=_n.filter((In,Nn)=>_n.indexOf(In)===Nn);const Pn=_n.length>0?_n:null;return j$1("oneOfType",Cn?{type:Pn,validator(In){const Nn=[],Rn=$n.some(Dn=>{const Ln=m$1(b$1(Dn)&&Dn._vueTypes_name==="oneOf"?Dn.type||null:Dn,In,!0);return typeof Ln=="string"&&Nn.push(Ln),Ln===!0});return Rn||d$1(`oneOfType - provided value does not match any of the ${Nn.length} passed-in validators:
-${$$1(Nn.join(`
-`))}`),Rn}}:{type:Pn})}function Y$1($n){return j$1("arrayOf",{type:Array,validator(Cn){let _n="";const Pn=Cn.every(In=>(_n=m$1($n,In,!0),_n===!0));return Pn||d$1(`arrayOf - value validation error:
-${$$1(_n)}`),Pn}})}function B$2($n){return j$1("instanceOf",{type:$n})}function I$1($n){return j$1("objectOf",{type:Object,validator(Cn){let _n="";const Pn=Object.keys(Cn).every(In=>(_n=m$1($n,Cn[In],!0),_n===!0));return Pn||d$1(`objectOf - value validation error:
-${$$1(_n)}`),Pn}})}function J$1($n){const Cn=Object.keys($n),_n=Cn.filter(In=>{var Nn;return!((Nn=$n[In])===null||Nn===void 0||!Nn.required)}),Pn=j$1("shape",{type:Object,validator(In){if(!c$1(In))return!1;const Nn=Object.keys(In);if(_n.length>0&&_n.some(Rn=>Nn.indexOf(Rn)===-1)){const Rn=_n.filter(Dn=>Nn.indexOf(Dn)===-1);return d$1(Rn.length===1?`shape - required property "${Rn[0]}" is not defined.`:`shape - required properties "${Rn.join('", "')}" are not defined.`),!1}return Nn.every(Rn=>{if(Cn.indexOf(Rn)===-1)return this._vueTypes_isLoose===!0||(d$1(`shape - shape definition does not include a "${Rn}" property. Allowed keys: "${Cn.join('", "')}".`),!1);const Dn=m$1($n[Rn],In[Rn],!0);return typeof Dn=="string"&&d$1(`shape - "${Rn}" property validation error:
- ${$$1(Dn)}`),Dn===!0})}});return Object.defineProperty(Pn,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(Pn,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),Pn}const M$1=["name","validate","getter"],R$1=(()=>{var $n;return($n=class{static get any(){return w$1()}static get func(){return P$1().def(this.defaults.func)}static get bool(){return x$1().def(this.defaults.bool)}static get string(){return E$1().def(this.defaults.string)}static get number(){return N$1().def(this.defaults.number)}static get array(){return q$1().def(this.defaults.array)}static get object(){return A$1().def(this.defaults.object)}static get integer(){return V$2().def(this.defaults.integer)}static get symbol(){return S$1()}static get nullable(){return{type:null}}static extend(Cn){if(v$1(Cn))return Cn.forEach(Ln=>this.extend(Ln)),this;const{name:_n,validate:Pn=!1,getter:In=!1}=Cn,Nn=r$1(Cn,M$1);if(p$1(this,_n))throw new TypeError(`[VueTypes error]: Type "${_n}" already defined`);const{type:Rn}=Nn;if(b$1(Rn))return delete Nn.type,Object.defineProperty(this,_n,In?{get:()=>T$1(_n,Rn,Nn)}:{value(...Ln){const Fn=T$1(_n,Rn,Nn);return Fn.validator&&(Fn.validator=Fn.validator.bind(Fn,...Ln)),Fn}});let Dn;return Dn=In?{get(){const Ln=Object.assign({},Nn);return Pn?_$1(_n,Ln):j$1(_n,Ln)},enumerable:!0}:{value(...Ln){const Fn=Object.assign({},Nn);let Bn;return Bn=Pn?_$1(_n,Fn):j$1(_n,Fn),Fn.validator&&(Bn.validator=Fn.validator.bind(Bn,...Ln)),Bn},enumerable:!0},Object.defineProperty(this,_n,Dn)}}).defaults={},$n.sensibleDefaults=void 0,$n.config=n$1,$n.custom=D$1,$n.oneOf=L$2,$n.instanceOf=B$2,$n.oneOfType=F$1,$n.arrayOf=Y$1,$n.objectOf=I$1,$n.shape=J$1,$n.utils={validate:(Cn,_n)=>m$1(_n,Cn,!0)===!0,toType:(Cn,_n,Pn=!1)=>Pn?_$1(Cn,_n):j$1(Cn,_n)},$n})();function z$1($n={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var Cn;return(Cn=class extends R$1{static get sensibleDefaults(){return t$1({},this.defaults)}static set sensibleDefaults(_n){this.defaults=_n!==!1?t$1({},_n!==!0?_n:$n):{}}}).defaults=t$1({},$n),Cn}let C$1=class extends z$1(){};var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e($n){var Cn={exports:{}};return $n(Cn,Cn.exports),Cn.exports}var n=function($n){return $n&&$n.Math==Math&&$n},r=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t=="object"&&t)||function(){return this}()||Function("return this")(),o=function($n){try{return!!$n()}catch{return!0}},i=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),u={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,c={f:a&&!u.call({1:2},1)?function($n){var Cn=a(this,$n);return!!Cn&&Cn.enumerable}:u},l=function($n,Cn){return{enumerable:!(1&$n),configurable:!(2&$n),writable:!(4&$n),value:Cn}},f={}.toString,s=function($n){return f.call($n).slice(8,-1)},d="".split,v=o(function(){return!Object("z").propertyIsEnumerable(0)})?function($n){return s($n)=="String"?d.call($n,""):Object($n)}:Object,p=function($n){if($n==null)throw TypeError("Can't call method on "+$n);return $n},g=function($n){return v(p($n))},h=function($n){return typeof $n=="object"?$n!==null:typeof $n=="function"},y=function($n,Cn){if(!h($n))return $n;var _n,Pn;if(Cn&&typeof(_n=$n.toString)=="function"&&!h(Pn=_n.call($n))||typeof(_n=$n.valueOf)=="function"&&!h(Pn=_n.call($n))||!Cn&&typeof(_n=$n.toString)=="function"&&!h(Pn=_n.call($n)))return Pn;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,S=function($n,Cn){return m.call($n,Cn)},x=r.document,b=h(x)&&h(x.createElement),E=function($n){return b?x.createElement($n):{}},w=!i&&!o(function(){return Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a!=7}),O=Object.getOwnPropertyDescriptor,T={f:i?O:function($n,Cn){if($n=g($n),Cn=y(Cn,!0),w)try{return O($n,Cn)}catch{}if(S($n,Cn))return l(!c.f.call($n,Cn),$n[Cn])}},A=function($n){if(!h($n))throw TypeError(String($n)+" is not an object");return $n},k=Object.defineProperty,R={f:i?k:function($n,Cn,_n){if(A($n),Cn=y(Cn,!0),A(_n),w)try{return k($n,Cn,_n)}catch{}if("get"in _n||"set"in _n)throw TypeError("Accessors not supported");return"value"in _n&&($n[Cn]=_n.value),$n}},I=i?function($n,Cn,_n){return R.f($n,Cn,l(1,_n))}:function($n,Cn,_n){return $n[Cn]=_n,$n},j=function($n,Cn){try{I(r,$n,Cn)}catch{r[$n]=Cn}return Cn},C=r["__core-js_shared__"]||j("__core-js_shared__",{}),L$1=Function.toString;typeof C.inspectSource!="function"&&(C.inspectSource=function($n){return L$1.call($n)});var P,M,_,D=C.inspectSource,U=r.WeakMap,N=typeof U=="function"&&/native code/.test(D(U)),F=e(function($n){($n.exports=function(Cn,_n){return C[Cn]||(C[Cn]=_n!==void 0?_n:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),W=0,z=Math.random(),$=function($n){return"Symbol("+String($n===void 0?"":$n)+")_"+(++W+z).toString(36)},B$1=F("keys"),Y=function($n){return B$1[$n]||(B$1[$n]=$($n))},G={},H=r.WeakMap;if(N){var X$1=C.state||(C.state=new H),V$1=X$1.get,K=X$1.has,q=X$1.set;P=function($n,Cn){return Cn.facade=$n,q.call(X$1,$n,Cn),Cn},M=function($n){return V$1.call(X$1,$n)||{}},_=function($n){return K.call(X$1,$n)}}else{var Q=Y("state");G[Q]=!0,P=function($n,Cn){return Cn.facade=$n,I($n,Q,Cn),Cn},M=function($n){return S($n,Q)?$n[Q]:{}},_=function($n){return S($n,Q)}}var J={set:P,get:M,has:_,enforce:function($n){return _($n)?M($n):P($n,{})},getterFor:function($n){return function(Cn){var _n;if(!h(Cn)||(_n=M(Cn)).type!==$n)throw TypeError("Incompatible receiver, "+$n+" required");return _n}}},Z=e(function($n){var Cn=J.get,_n=J.enforce,Pn=String(String).split("String");($n.exports=function(In,Nn,Rn,Dn){var Ln,Fn=!!Dn&&!!Dn.unsafe,Bn=!!Dn&&!!Dn.enumerable,Hn=!!Dn&&!!Dn.noTargetGet;typeof Rn=="function"&&(typeof Nn!="string"||S(Rn,"name")||I(Rn,"name",Nn),(Ln=_n(Rn)).source||(Ln.source=Pn.join(typeof Nn=="string"?Nn:""))),In!==r?(Fn?!Hn&&In[Nn]&&(Bn=!0):delete In[Nn],Bn?In[Nn]=Rn:I(In,Nn,Rn)):Bn?In[Nn]=Rn:j(Nn,Rn)})(Function.prototype,"toString",function(){return typeof this=="function"&&Cn(this).source||D(this)})}),tt$1=r,et=function($n){return typeof $n=="function"?$n:void 0},nt$1=function($n,Cn){return arguments.length<2?et(tt$1[$n])||et(r[$n]):tt$1[$n]&&tt$1[$n][Cn]||r[$n]&&r[$n][Cn]},rt$1=Math.ceil,ot$1=Math.floor,it$1=function($n){return isNaN($n=+$n)?0:($n>0?ot$1:rt$1)($n)},ut$1=Math.min,at$1=function($n){return $n>0?ut$1(it$1($n),9007199254740991):0},ct$1=Math.max,lt$1=Math.min,ft$1=function($n,Cn){var _n=it$1($n);return _n<0?ct$1(_n+Cn,0):lt$1(_n,Cn)},st$1=function($n){return function(Cn,_n,Pn){var In,Nn=g(Cn),Rn=at$1(Nn.length),Dn=ft$1(Pn,Rn);if($n&&_n!=_n){for(;Rn>Dn;)if((In=Nn[Dn++])!=In)return!0}else for(;Rn>Dn;Dn++)if(($n||Dn in Nn)&&Nn[Dn]===_n)return $n||Dn||0;return!$n&&-1}},dt$1={includes:st$1(!0),indexOf:st$1(!1)},vt$1=dt$1.indexOf,pt$1=function($n,Cn){var _n,Pn=g($n),In=0,Nn=[];for(_n in Pn)!S(G,_n)&&S(Pn,_n)&&Nn.push(_n);for(;Cn.length>In;)S(Pn,_n=Cn[In++])&&(~vt$1(Nn,_n)||Nn.push(_n));return Nn},gt$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht$1=gt$1.concat("length","prototype"),yt$1={f:Object.getOwnPropertyNames||function($n){return pt$1($n,ht$1)}},mt$1={f:Object.getOwnPropertySymbols},St$1=nt$1("Reflect","ownKeys")||function($n){var Cn=yt$1.f(A($n)),_n=mt$1.f;return _n?Cn.concat(_n($n)):Cn},xt$1=function($n,Cn){for(var _n=St$1(Cn),Pn=R.f,In=T.f,Nn=0;Nn<_n.length;Nn++){var Rn=_n[Nn];S($n,Rn)||Pn($n,Rn,In(Cn,Rn))}},bt$1=/#|\.prototype\./,Et$1=function($n,Cn){var _n=Ot$1[wt$1($n)];return _n==At$1||_n!=Tt$1&&(typeof Cn=="function"?o(Cn):!!Cn)},wt$1=Et$1.normalize=function($n){return String($n).replace(bt$1,".").toLowerCase()},Ot$1=Et$1.data={},Tt$1=Et$1.NATIVE="N",At$1=Et$1.POLYFILL="P",kt$1=Et$1,Rt$1=T.f,It$1=function($n,Cn){var _n,Pn,In,Nn,Rn,Dn=$n.target,Ln=$n.global,Fn=$n.stat;if(_n=Ln?r:Fn?r[Dn]||j(Dn,{}):(r[Dn]||{}).prototype)for(Pn in Cn){if(Nn=Cn[Pn],In=$n.noTargetGet?(Rn=Rt$1(_n,Pn))&&Rn.value:_n[Pn],!kt$1(Ln?Pn:Dn+(Fn?".":"#")+Pn,$n.forced)&&In!==void 0){if(typeof Nn==typeof In)continue;xt$1(Nn,In)}($n.sham||In&&In.sham)&&I(Nn,"sham",!0),Z(_n,Pn,Nn,$n)}},jt$1=function($n,Cn){var _n=[][$n];return!!_n&&o(function(){_n.call(null,Cn||function(){throw 1},1)})},Ct$1=Object.defineProperty,Lt$1={},Pt$1=function($n){throw $n},Mt$1=function($n,Cn){if(S(Lt$1,$n))return Lt$1[$n];Cn||(Cn={});var _n=[][$n],Pn=!!S(Cn,"ACCESSORS")&&Cn.ACCESSORS,In=S(Cn,0)?Cn[0]:Pt$1,Nn=S(Cn,1)?Cn[1]:void 0;return Lt$1[$n]=!!_n&&!o(function(){if(Pn&&!i)return!0;var Rn={length:-1};Pn?Ct$1(Rn,1,{enumerable:!0,get:Pt$1}):Rn[1]=1,_n.call(Rn,In,Nn)})},_t$1=dt$1.indexOf,Dt$1=[].indexOf,Ut$1=!!Dt$1&&1/[1].indexOf(1,-0)<0,Nt$1=jt$1("indexOf"),Ft$1=Mt$1("indexOf",{ACCESSORS:!0,1:0});function Wt$1($n,Cn){if(!($n instanceof Cn))throw new TypeError("Cannot call a class as a function")}function zt$1($n,Cn){for(var _n=0;_n<Cn.length;_n++){var Pn=Cn[_n];Pn.enumerable=Pn.enumerable||!1,Pn.configurable=!0,"value"in Pn&&(Pn.writable=!0),Object.defineProperty($n,Pn.key,Pn)}}function $t$1($n,Cn,_n){return Cn&&zt$1($n.prototype,Cn),_n&&zt$1($n,_n),$n}It$1({target:"Array",proto:!0,forced:Ut$1||!Nt$1||!Ft$1},{indexOf:function($n){return Ut$1?Dt$1.apply(this,arguments)||0:_t$1(this,$n,arguments.length>1?arguments[1]:void 0)}});(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"isInBrowser",value:function(){return typeof window<"u"}},{key:"isServer",value:function(){return typeof window>"u"}},{key:"getUA",value:function(){return $n.isInBrowser()?window.navigator.userAgent.toLowerCase():""}},{key:"isMobile",value:function(){return/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion)}},{key:"isOpera",value:function(){return navigator.userAgent.indexOf("Opera")!==-1}},{key:"isIE",value:function(){var Cn=$n.getUA();return Cn!==""&&Cn.indexOf("msie")>0}},{key:"isIE9",value:function(){var Cn=$n.getUA();return Cn!==""&&Cn.indexOf("msie 9.0")>0}},{key:"isEdge",value:function(){var Cn=$n.getUA();return Cn!==""&&Cn.indexOf("edge/")>0}},{key:"isChrome",value:function(){var Cn=$n.getUA();return Cn!==""&&/chrome\/\d+/.test(Cn)&&!$n.isEdge()}},{key:"isPhantomJS",value:function(){var Cn=$n.getUA();return Cn!==""&&/phantomjs/.test(Cn)}},{key:"isFirefox",value:function(){var Cn=$n.getUA();return Cn!==""&&/firefox/.test(Cn)}}]),$n})();var Yt$1=[].join,Gt$1=v!=Object,Ht$1=jt$1("join",",");It$1({target:"Array",proto:!0,forced:Gt$1||!Ht$1},{join:function($n){return Yt$1.call(g(this),$n===void 0?",":$n)}});var Xt$1,Vt$1,Kt$1=function($n){return Object(p($n))},qt$1=Array.isArray||function($n){return s($n)=="Array"},Qt$1=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Jt$1=Qt$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zt$1=F("wks"),te=r.Symbol,ee=Jt$1?te:te&&te.withoutSetter||$,ne=function($n){return S(Zt$1,$n)||(Qt$1&&S(te,$n)?Zt$1[$n]=te[$n]:Zt$1[$n]=ee("Symbol."+$n)),Zt$1[$n]},re=ne("species"),oe=function($n,Cn){var _n;return qt$1($n)&&(typeof(_n=$n.constructor)!="function"||_n!==Array&&!qt$1(_n.prototype)?h(_n)&&(_n=_n[re])===null&&(_n=void 0):_n=void 0),new(_n===void 0?Array:_n)(Cn===0?0:Cn)},ie$1=function($n,Cn,_n){var Pn=y(Cn);Pn in $n?R.f($n,Pn,l(0,_n)):$n[Pn]=_n},ue=nt$1("navigator","userAgent")||"",ae$1=r.process,ce$1=ae$1&&ae$1.versions,le=ce$1&&ce$1.v8;le?Vt$1=(Xt$1=le.split("."))[0]+Xt$1[1]:ue&&(!(Xt$1=ue.match(/Edge\/(\d+)/))||Xt$1[1]>=74)&&(Xt$1=ue.match(/Chrome\/(\d+)/))&&(Vt$1=Xt$1[1]);var fe$1=Vt$1&&+Vt$1,se=ne("species"),de=function($n){return fe$1>=51||!o(function(){var Cn=[];return(Cn.constructor={})[se]=function(){return{foo:1}},Cn[$n](Boolean).foo!==1})},ve$1=de("splice"),pe$1=Mt$1("splice",{ACCESSORS:!0,0:0,1:2}),ge=Math.max,he$1=Math.min;It$1({target:"Array",proto:!0,forced:!ve$1||!pe$1},{splice:function($n,Cn){var _n,Pn,In,Nn,Rn,Dn,Ln=Kt$1(this),Fn=at$1(Ln.length),Bn=ft$1($n,Fn),Hn=arguments.length;if(Hn===0?_n=Pn=0:Hn===1?(_n=0,Pn=Fn-Bn):(_n=Hn-2,Pn=he$1(ge(it$1(Cn),0),Fn-Bn)),Fn+_n-Pn>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(In=oe(Ln,Pn),Nn=0;Nn<Pn;Nn++)(Rn=Bn+Nn)in Ln&&ie$1(In,Nn,Ln[Rn]);if(In.length=Pn,_n<Pn){for(Nn=Bn;Nn<Fn-Pn;Nn++)Dn=Nn+_n,(Rn=Nn+Pn)in Ln?Ln[Dn]=Ln[Rn]:delete Ln[Dn];for(Nn=Fn;Nn>Fn-Pn+_n;Nn--)delete Ln[Nn-1]}else if(_n>Pn)for(Nn=Fn-Pn;Nn>Bn;Nn--)Dn=Nn+_n-1,(Rn=Nn+Pn-1)in Ln?Ln[Dn]=Ln[Rn]:delete Ln[Dn];for(Nn=0;Nn<_n;Nn++)Ln[Nn+Bn]=arguments[Nn+2];return Ln.length=Fn-Pn+_n,In}});var ye$1={};ye$1[ne("toStringTag")]="z";var me$1=String(ye$1)==="[object z]",Se=ne("toStringTag"),xe=s(function(){return arguments}())=="Arguments",be$1=me$1?s:function($n){var Cn,_n,Pn;return $n===void 0?"Undefined":$n===null?"Null":typeof(_n=function(In,Nn){try{return In[Nn]}catch{}}(Cn=Object($n),Se))=="string"?_n:xe?s(Cn):(Pn=s(Cn))=="Object"&&typeof Cn.callee=="function"?"Arguments":Pn},Ee=me$1?{}.toString:function(){return"[object "+be$1(this)+"]"};me$1||Z(Object.prototype,"toString",Ee,{unsafe:!0});var we=function(){var $n=A(this),Cn="";return $n.global&&(Cn+="g"),$n.ignoreCase&&(Cn+="i"),$n.multiline&&(Cn+="m"),$n.dotAll&&(Cn+="s"),$n.unicode&&(Cn+="u"),$n.sticky&&(Cn+="y"),Cn};function Oe($n,Cn){return RegExp($n,Cn)}var Te,Ae$1,ke={UNSUPPORTED_Y:o(function(){var $n=Oe("a","y");return $n.lastIndex=2,$n.exec("abcd")!=null}),BROKEN_CARET:o(function(){var $n=Oe("^r","gy");return $n.lastIndex=2,$n.exec("str")!=null})},Re$1=RegExp.prototype.exec,Ie$1=String.prototype.replace,je=Re$1,Ce$1=(Te=/a/,Ae$1=/b*/g,Re$1.call(Te,"a"),Re$1.call(Ae$1,"a"),Te.lastIndex!==0||Ae$1.lastIndex!==0),Le=ke.UNSUPPORTED_Y||ke.BROKEN_CARET,Pe=/()??/.exec("")[1]!==void 0;(Ce$1||Pe||Le)&&(je=function($n){var Cn,_n,Pn,In,Nn=this,Rn=Le&&Nn.sticky,Dn=we.call(Nn),Ln=Nn.source,Fn=0,Bn=$n;return Rn&&((Dn=Dn.replace("y","")).indexOf("g")===-1&&(Dn+="g"),Bn=String($n).slice(Nn.lastIndex),Nn.lastIndex>0&&(!Nn.multiline||Nn.multiline&&$n[Nn.lastIndex-1]!==`
-`)&&(Ln="(?: "+Ln+")",Bn=" "+Bn,Fn++),_n=new RegExp("^(?:"+Ln+")",Dn)),Pe&&(_n=new RegExp("^"+Ln+"$(?!\\s)",Dn)),Ce$1&&(Cn=Nn.lastIndex),Pn=Re$1.call(Rn?_n:Nn,Bn),Rn?Pn?(Pn.input=Pn.input.slice(Fn),Pn[0]=Pn[0].slice(Fn),Pn.index=Nn.lastIndex,Nn.lastIndex+=Pn[0].length):Nn.lastIndex=0:Ce$1&&Pn&&(Nn.lastIndex=Nn.global?Pn.index+Pn[0].length:Cn),Pe&&Pn&&Pn.length>1&&Ie$1.call(Pn[0],_n,function(){for(In=1;In<arguments.length-2;In++)arguments[In]===void 0&&(Pn[In]=void 0)}),Pn});var Me$1=je;It$1({target:"RegExp",proto:!0,forced:/./.exec!==Me$1},{exec:Me$1});var _e$1=RegExp.prototype,De=_e$1.toString,Ue=o(function(){return De.call({source:"a",flags:"b"})!="/a/b"}),Ne=De.name!="toString";(Ue||Ne)&&Z(RegExp.prototype,"toString",function(){var $n=A(this),Cn=String($n.source),_n=$n.flags;return"/"+Cn+"/"+String(_n===void 0&&$n instanceof RegExp&&!("flags"in _e$1)?we.call($n):_n)},{unsafe:!0});var Fe=ne("species"),We=!o(function(){var $n=/./;return $n.exec=function(){var Cn=[];return Cn.groups={a:"7"},Cn},"".replace($n,"$<a>")!=="7"}),ze$1="a".replace(/./,"$0")==="$0",$e=ne("replace"),Be$1=!!/./[$e]&&/./[$e]("a","$0")==="",Ye=!o(function(){var $n=/(?:)/,Cn=$n.exec;$n.exec=function(){return Cn.apply(this,arguments)};var _n="ab".split($n);return _n.length!==2||_n[0]!=="a"||_n[1]!=="b"}),Ge$1=function($n,Cn,_n,Pn){var In=ne($n),Nn=!o(function(){var Hn={};return Hn[In]=function(){return 7},""[$n](Hn)!=7}),Rn=Nn&&!o(function(){var Hn=!1,zn=/a/;return $n==="split"&&((zn={}).constructor={},zn.constructor[Fe]=function(){return zn},zn.flags="",zn[In]=/./[In]),zn.exec=function(){return Hn=!0,null},zn[In](""),!Hn});if(!Nn||!Rn||$n==="replace"&&(!We||!ze$1||Be$1)||$n==="split"&&!Ye){var Dn=/./[In],Ln=_n(In,""[$n],function(Hn,zn,Wn,Yn,Gn){return zn.exec===Me$1?Nn&&!Gn?{done:!0,value:Dn.call(zn,Wn,Yn)}:{done:!0,value:Hn.call(Wn,zn,Yn)}:{done:!1}},{REPLACE_KEEPS_$0:ze$1,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Be$1}),Fn=Ln[0],Bn=Ln[1];Z(String.prototype,$n,Fn),Z(RegExp.prototype,In,Cn==2?function(Hn,zn){return Bn.call(Hn,this,zn)}:function(Hn){return Bn.call(Hn,this)})}Pn&&I(RegExp.prototype[In],"sham",!0)},He$1=ne("match"),Xe=function($n){var Cn;return h($n)&&((Cn=$n[He$1])!==void 0?!!Cn:s($n)=="RegExp")},Ve$1=function($n){if(typeof $n!="function")throw TypeError(String($n)+" is not a function");return $n},Ke=ne("species"),qe=function($n){return function(Cn,_n){var Pn,In,Nn=String(p(Cn)),Rn=it$1(_n),Dn=Nn.length;return Rn<0||Rn>=Dn?$n?"":void 0:(Pn=Nn.charCodeAt(Rn))<55296||Pn>56319||Rn+1===Dn||(In=Nn.charCodeAt(Rn+1))<56320||In>57343?$n?Nn.charAt(Rn):Pn:$n?Nn.slice(Rn,Rn+2):In-56320+(Pn-55296<<10)+65536}},Qe={codeAt:qe(!1),charAt:qe(!0)},Je=Qe.charAt,Ze=function($n,Cn,_n){return Cn+(_n?Je($n,Cn).length:1)},tn=function($n,Cn){var _n=$n.exec;if(typeof _n=="function"){var Pn=_n.call($n,Cn);if(typeof Pn!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return Pn}if(s($n)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return Me$1.call($n,Cn)},en=[].push,nn=Math.min,rn=!o(function(){return!RegExp(4294967295,"y")});Ge$1("split",2,function($n,Cn,_n){var Pn;return Pn="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(In,Nn){var Rn=String(p(this)),Dn=Nn===void 0?4294967295:Nn>>>0;if(Dn===0)return[];if(In===void 0)return[Rn];if(!Xe(In))return Cn.call(Rn,In,Dn);for(var Ln,Fn,Bn,Hn=[],zn=(In.ignoreCase?"i":"")+(In.multiline?"m":"")+(In.unicode?"u":"")+(In.sticky?"y":""),Wn=0,Yn=new RegExp(In.source,zn+"g");(Ln=Me$1.call(Yn,Rn))&&!((Fn=Yn.lastIndex)>Wn&&(Hn.push(Rn.slice(Wn,Ln.index)),Ln.length>1&&Ln.index<Rn.length&&en.apply(Hn,Ln.slice(1)),Bn=Ln[0].length,Wn=Fn,Hn.length>=Dn));)Yn.lastIndex===Ln.index&&Yn.lastIndex++;return Wn===Rn.length?!Bn&&Yn.test("")||Hn.push(""):Hn.push(Rn.slice(Wn)),Hn.length>Dn?Hn.slice(0,Dn):Hn}:"0".split(void 0,0).length?function(In,Nn){return In===void 0&&Nn===0?[]:Cn.call(this,In,Nn)}:Cn,[function(In,Nn){var Rn=p(this),Dn=In==null?void 0:In[$n];return Dn!==void 0?Dn.call(In,Rn,Nn):Pn.call(String(Rn),In,Nn)},function(In,Nn){var Rn=_n(Pn,In,this,Nn,Pn!==Cn);if(Rn.done)return Rn.value;var Dn=A(In),Ln=String(this),Fn=function(Jo,Zo){var rr,nr=A(Jo).constructor;return nr===void 0||(rr=A(nr)[Ke])==null?Zo:Ve$1(rr)}(Dn,RegExp),Bn=Dn.unicode,Hn=(Dn.ignoreCase?"i":"")+(Dn.multiline?"m":"")+(Dn.unicode?"u":"")+(rn?"y":"g"),zn=new Fn(rn?Dn:"^(?:"+Dn.source+")",Hn),Wn=Nn===void 0?4294967295:Nn>>>0;if(Wn===0)return[];if(Ln.length===0)return tn(zn,Ln)===null?[Ln]:[];for(var Yn=0,Gn=0,Go=[];Gn<Ln.length;){zn.lastIndex=rn?Gn:0;var Xn,Yo=tn(zn,rn?Ln:Ln.slice(Gn));if(Yo===null||(Xn=nn(at$1(zn.lastIndex+(rn?0:Gn)),Ln.length))===Yn)Gn=Ze(Ln,Gn,Bn);else{if(Go.push(Ln.slice(Yn,Gn)),Go.length===Wn)return Go;for(var qo=1;qo<=Yo.length-1;qo++)if(Go.push(Yo[qo]),Go.length===Wn)return Go;Gn=Yn=Xn}}return Go.push(Ln.slice(Yn)),Go}]},!rn);var on=`
-\v\f\r \u2028\u2029\uFEFF`,un="["+on+"]",an=RegExp("^"+un+un+"*"),cn=RegExp(un+un+"*$"),ln=function($n){return function(Cn){var _n=String(p(Cn));return 1&$n&&(_n=_n.replace(an,"")),2&$n&&(_n=_n.replace(cn,"")),_n}},fn={start:ln(1),end:ln(2),trim:ln(3)},sn=fn.trim;It$1({target:"String",proto:!0,forced:function($n){return o(function(){return!!on[$n]()||"
"[$n]()!="
"||on[$n].name!==$n})}("trim")},{trim:function(){return sn(this)}});var dn=de("slice"),vn=Mt$1("slice",{ACCESSORS:!0,0:0,1:2}),pn=ne("species"),gn=[].slice,hn=Math.max;It$1({target:"Array",proto:!0,forced:!dn||!vn},{slice:function($n,Cn){var _n,Pn,In,Nn=g(this),Rn=at$1(Nn.length),Dn=ft$1($n,Rn),Ln=ft$1(Cn===void 0?Rn:Cn,Rn);if(qt$1(Nn)&&(typeof(_n=Nn.constructor)!="function"||_n!==Array&&!qt$1(_n.prototype)?h(_n)&&(_n=_n[pn])===null&&(_n=void 0):_n=void 0,_n===Array||_n===void 0))return gn.call(Nn,Dn,Ln);for(Pn=new(_n===void 0?Array:_n)(hn(Ln-Dn,0)),In=0;Dn<Ln;Dn++,In++)Dn in Nn&&ie$1(Pn,In,Nn[Dn]);return Pn.length=In,Pn}});var yn=Object.keys||function($n){return pt$1($n,gt$1)},mn=o(function(){yn(1)});It$1({target:"Object",stat:!0,forced:mn},{keys:function($n){return yn(Kt$1($n))}});var Sn,xn=function($n){if(Xe($n))throw TypeError("The method doesn't accept regular expressions");return $n},bn=ne("match"),En=T.f,wn="".startsWith,On=Math.min,Tn=function($n){var Cn=/./;try{"/./"[$n](Cn)}catch{try{return Cn[bn]=!1,"/./"[$n](Cn)}catch{}}return!1}("startsWith"),An=!(Tn||(Sn=En(String.prototype,"startsWith"),!Sn||Sn.writable));function kn($n){return(kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Cn){return typeof Cn}:function(Cn){return Cn&&typeof Symbol=="function"&&Cn.constructor===Symbol&&Cn!==Symbol.prototype?"symbol":typeof Cn})($n)}It$1({target:"String",proto:!0,forced:!An&&!Tn},{startsWith:function($n){var Cn=String(p(this));xn($n);var _n=at$1(On(arguments.length>1?arguments[1]:void 0,Cn.length)),Pn=String($n);return wn?wn.call(Cn,Pn,_n):Cn.slice(_n,_n+Pn.length)===Pn}});var jn=function($n){return typeof $n=="string"},Mn=function($n){return $n!==null&&kn($n)==="object"},Vn=function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"isWindow",value:function(Cn){return Cn===window}},{key:"addEventListener",value:function(Cn,_n,Pn){var In=arguments.length>3&&arguments[3]!==void 0&&arguments[3];Cn&&_n&&Pn&&Cn.addEventListener(_n,Pn,In)}},{key:"removeEventListener",value:function(Cn,_n,Pn){var In=arguments.length>3&&arguments[3]!==void 0&&arguments[3];Cn&&_n&&Pn&&Cn.removeEventListener(_n,Pn,In)}},{key:"triggerDragEvent",value:function(Cn,_n){var Pn=!1,In=function(Rn){var Dn;(Dn=_n.drag)===null||Dn===void 0||Dn.call(_n,Rn)},Nn=function Rn(Dn){var Ln;$n.removeEventListener(document,"mousemove",In),$n.removeEventListener(document,"mouseup",Rn),document.onselectstart=null,document.ondragstart=null,Pn=!1,(Ln=_n.end)===null||Ln===void 0||Ln.call(_n,Dn)};$n.addEventListener(Cn,"mousedown",function(Rn){var Dn;Pn||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},$n.addEventListener(document,"mousemove",In),$n.addEventListener(document,"mouseup",Nn),Pn=!0,(Dn=_n.start)===null||Dn===void 0||Dn.call(_n,Rn))})}},{key:"getBoundingClientRect",value:function(Cn){return Cn&&Mn(Cn)&&Cn.nodeType===1?Cn.getBoundingClientRect():null}},{key:"hasClass",value:function(Cn,_n){return!!(Cn&&Mn(Cn)&&jn(_n)&&Cn.nodeType===1)&&Cn.classList.contains(_n.trim())}},{key:"addClass",value:function(Cn,_n){if(Cn&&Mn(Cn)&&jn(_n)&&Cn.nodeType===1&&(_n=_n.trim(),!$n.hasClass(Cn,_n))){var Pn=Cn.className;Cn.className=Pn?Pn+" "+_n:_n}}},{key:"removeClass",value:function(Cn,_n){if(Cn&&Mn(Cn)&&jn(_n)&&Cn.nodeType===1&&typeof Cn.className=="string"){_n=_n.trim();for(var Pn=Cn.className.trim().split(" "),In=Pn.length-1;In>=0;In--)Pn[In]=Pn[In].trim(),Pn[In]&&Pn[In]!==_n||Pn.splice(In,1);Cn.className=Pn.join(" ")}}},{key:"toggleClass",value:function(Cn,_n,Pn){Cn&&Mn(Cn)&&jn(_n)&&Cn.nodeType===1&&Cn.classList.toggle(_n,Pn)}},{key:"replaceClass",value:function(Cn,_n,Pn){Cn&&Mn(Cn)&&jn(_n)&&jn(Pn)&&Cn.nodeType===1&&(_n=_n.trim(),Pn=Pn.trim(),$n.removeClass(Cn,_n),$n.addClass(Cn,Pn))}},{key:"getScrollTop",value:function(Cn){var _n="scrollTop"in Cn?Cn.scrollTop:Cn.pageYOffset;return Math.max(_n,0)}},{key:"setScrollTop",value:function(Cn,_n){"scrollTop"in Cn?Cn.scrollTop=_n:Cn.scrollTo(Cn.scrollX,_n)}},{key:"getRootScrollTop",value:function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},{key:"setRootScrollTop",value:function(Cn){$n.setScrollTop(window,Cn),$n.setScrollTop(document.body,Cn)}},{key:"getElementTop",value:function(Cn,_n){if($n.isWindow(Cn))return 0;var Pn=_n?$n.getScrollTop(_n):$n.getRootScrollTop();return Cn.getBoundingClientRect().top+Pn}},{key:"getVisibleHeight",value:function(Cn){return $n.isWindow(Cn)?Cn.innerHeight:Cn.getBoundingClientRect().height}},{key:"isHidden",value:function(Cn){if(!Cn)return!1;var _n=window.getComputedStyle(Cn),Pn=_n.display==="none",In=Cn.offsetParent===null&&_n.position!=="fixed";return Pn||In}},{key:"triggerEvent",value:function(Cn,_n){if("createEvent"in document){var Pn=document.createEvent("HTMLEvents");Pn.initEvent(_n,!1,!0),Cn.dispatchEvent(Pn)}}},{key:"calcAngle",value:function(Cn,_n){var Pn=Cn.getBoundingClientRect(),In=Pn.left+Pn.width/2,Nn=Pn.top+Pn.height/2,Rn=Math.abs(In-_n.clientX),Dn=Math.abs(Nn-_n.clientY),Ln=Dn/Math.sqrt(Math.pow(Rn,2)+Math.pow(Dn,2)),Fn=Math.acos(Ln),Bn=Math.floor(180/(Math.PI/Fn));return _n.clientX>In&&_n.clientY>Nn&&(Bn=180-Bn),_n.clientX==In&&_n.clientY>Nn&&(Bn=180),_n.clientX>In&&_n.clientY==Nn&&(Bn=90),_n.clientX<In&&_n.clientY>Nn&&(Bn=180+Bn),_n.clientX<In&&_n.clientY==Nn&&(Bn=270),_n.clientX<In&&_n.clientY<Nn&&(Bn=360-Bn),Bn}},{key:"querySelector",value:function(Cn,_n){return _n?_n.querySelector(Cn):document.querySelector(Cn)}},{key:"createElement",value:function(Cn){for(var _n=document.createElement(Cn),Pn=arguments.length,In=new Array(Pn>1?Pn-1:0),Nn=1;Nn<Pn;Nn++)In[Nn-1]=arguments[Nn];for(var Rn=0;Rn<In.length;Rn++)In[Rn]&&_n.classList.add(In[Rn]);return _n}},{key:"appendChild",value:function(Cn){for(var _n=0;_n<(arguments.length<=1?0:arguments.length-1);_n++)Cn.appendChild(_n+1<1||arguments.length<=_n+1?void 0:arguments[_n+1])}},{key:"getWindow",value:function(Cn){if(Cn.toString()!=="[object Window]"){var _n=Cn.ownerDocument;return _n&&_n.defaultView||window}return Cn}},{key:"isElement",value:function(Cn){return Cn instanceof this.getWindow(Cn).Element||Cn instanceof Element}},{key:"isHTMLElement",value:function(Cn){return Cn instanceof this.getWindow(Cn).HTMLElement||Cn instanceof HTMLElement}},{key:"isShadowRoot",value:function(Cn){return typeof ShadowRoot<"u"&&(Cn instanceof this.getWindow(Cn).ShadowRoot||Cn instanceof ShadowRoot)}},{key:"getWindowScroll",value:function(Cn){var _n=this.getWindow(Cn);return{scrollLeft:_n.pageXOffset||0,scrollTop:_n.pageYOffset||0}}}]),$n}(),Kn=Math.floor,qn="".replace,Qn=/\$([$&'`]|\d\d?|<[^>]*>)/g,Jn=/\$([$&'`]|\d\d?)/g,Zn=function($n,Cn,_n,Pn,In,Nn){var Rn=_n+$n.length,Dn=Pn.length,Ln=Jn;return In!==void 0&&(In=Kt$1(In),Ln=Qn),qn.call(Nn,Ln,function(Fn,Bn){var Hn;switch(Bn.charAt(0)){case"$":return"$";case"&":return $n;case"`":return Cn.slice(0,_n);case"'":return Cn.slice(Rn);case"<":Hn=In[Bn.slice(1,-1)];break;default:var zn=+Bn;if(zn===0)return Fn;if(zn>Dn){var Wn=Kn(zn/10);return Wn===0?Fn:Wn<=Dn?Pn[Wn-1]===void 0?Bn.charAt(1):Pn[Wn-1]+Bn.charAt(1):Fn}Hn=Pn[zn-1]}return Hn===void 0?"":Hn})},tr=Math.max,er=Math.min;Ge$1("replace",2,function($n,Cn,_n,Pn){var In=Pn.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,Nn=Pn.REPLACE_KEEPS_$0,Rn=In?"$":"$0";return[function(Dn,Ln){var Fn=p(this),Bn=Dn==null?void 0:Dn[$n];return Bn!==void 0?Bn.call(Dn,Fn,Ln):Cn.call(String(Fn),Dn,Ln)},function(Dn,Ln){if(!In&&Nn||typeof Ln=="string"&&Ln.indexOf(Rn)===-1){var Fn=_n(Cn,Dn,this,Ln);if(Fn.done)return Fn.value}var Bn=A(Dn),Hn=String(this),zn=typeof Ln=="function";zn||(Ln=String(Ln));var Wn=Bn.global;if(Wn){var Yn=Bn.unicode;Bn.lastIndex=0}for(var Gn=[];;){var Go=tn(Bn,Hn);if(Go===null||(Gn.push(Go),!Wn))break;String(Go[0])===""&&(Bn.lastIndex=Ze(Hn,at$1(Bn.lastIndex),Yn))}for(var Xn,Yo="",qo=0,Jo=0;Jo<Gn.length;Jo++){Go=Gn[Jo];for(var Zo=String(Go[0]),rr=tr(er(it$1(Go.index),Hn.length),0),nr=[],ta=1;ta<Go.length;ta++)nr.push((Xn=Go[ta])===void 0?Xn:String(Xn));var oa=Go.groups;if(zn){var ra=[Zo].concat(nr,rr,Hn);oa!==void 0&&ra.push(oa);var ea=String(Ln.apply(void 0,ra))}else ea=Zn(Zo,Hn,rr,nr,oa,Ln);rr>=qo&&(Yo+=Hn.slice(qo,rr)+ea,qo=rr+Zo.length)}return Yo+Hn.slice(qo)}]});(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"camelize",value:function(Cn){return Cn.replace(/-(\w)/g,function(_n,Pn){return Pn?Pn.toUpperCase():""})}},{key:"capitalize",value:function(Cn){return Cn.charAt(0).toUpperCase()+Cn.slice(1)}}]),$n})();(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"_clone",value:function(){}}]),$n})();var or=ne("isConcatSpreadable"),ir=fe$1>=51||!o(function(){var $n=[];return $n[or]=!1,$n.concat()[0]!==$n}),ur=de("concat"),ar=function($n){if(!h($n))return!1;var Cn=$n[or];return Cn!==void 0?!!Cn:qt$1($n)};It$1({target:"Array",proto:!0,forced:!ir||!ur},{concat:function($n){var Cn,_n,Pn,In,Nn,Rn=Kt$1(this),Dn=oe(Rn,0),Ln=0;for(Cn=-1,Pn=arguments.length;Cn<Pn;Cn++)if(ar(Nn=Cn===-1?Rn:arguments[Cn])){if(Ln+(In=at$1(Nn.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_n=0;_n<In;_n++,Ln++)_n in Nn&&ie$1(Dn,Ln,Nn[_n])}else{if(Ln>=9007199254740991)throw TypeError("Maximum allowed index exceeded");ie$1(Dn,Ln++,Nn)}return Dn.length=Ln,Dn}});var cr,lr=function($n,Cn,_n){if(Ve$1($n),Cn===void 0)return $n;switch(_n){case 0:return function(){return $n.call(Cn)};case 1:return function(Pn){return $n.call(Cn,Pn)};case 2:return function(Pn,In){return $n.call(Cn,Pn,In)};case 3:return function(Pn,In,Nn){return $n.call(Cn,Pn,In,Nn)}}return function(){return $n.apply(Cn,arguments)}},fr=[].push,sr=function($n){var Cn=$n==1,_n=$n==2,Pn=$n==3,In=$n==4,Nn=$n==6,Rn=$n==7,Dn=$n==5||Nn;return function(Ln,Fn,Bn,Hn){for(var zn,Wn,Yn=Kt$1(Ln),Gn=v(Yn),Go=lr(Fn,Bn,3),Xn=at$1(Gn.length),Yo=0,qo=Hn||oe,Jo=Cn?qo(Ln,Xn):_n||Rn?qo(Ln,0):void 0;Xn>Yo;Yo++)if((Dn||Yo in Gn)&&(Wn=Go(zn=Gn[Yo],Yo,Yn),$n))if(Cn)Jo[Yo]=Wn;else if(Wn)switch($n){case 3:return!0;case 5:return zn;case 6:return Yo;case 2:fr.call(Jo,zn)}else switch($n){case 4:return!1;case 7:fr.call(Jo,zn)}return Nn?-1:Pn||In?In:Jo}},dr={forEach:sr(0),map:sr(1),filter:sr(2),some:sr(3),every:sr(4),find:sr(5),findIndex:sr(6),filterOut:sr(7)},vr=i?Object.defineProperties:function($n,Cn){A($n);for(var _n,Pn=yn(Cn),In=Pn.length,Nn=0;In>Nn;)R.f($n,_n=Pn[Nn++],Cn[_n]);return $n},pr=nt$1("document","documentElement"),gr=Y("IE_PROTO"),hr=function(){},yr=function($n){return"<script>"+$n+"<\/script>"},mr=function(){try{cr=document.domain&&new ActiveXObject("htmlfile")}catch{}var $n,Cn;mr=cr?function(Pn){Pn.write(yr("")),Pn.close();var In=Pn.parentWindow.Object;return Pn=null,In}(cr):((Cn=E("iframe")).style.display="none",pr.appendChild(Cn),Cn.src="javascript:",($n=Cn.contentWindow.document).open(),$n.write(yr("document.F=Object")),$n.close(),$n.F);for(var _n=gt$1.length;_n--;)delete mr.prototype[gt$1[_n]];return mr()};G[gr]=!0;var Sr=Object.create||function($n,Cn){var _n;return $n!==null?(hr.prototype=A($n),_n=new hr,hr.prototype=null,_n[gr]=$n):_n=mr(),Cn===void 0?_n:vr(_n,Cn)},xr=ne("unscopables"),br=Array.prototype;br[xr]==null&&R.f(br,xr,{configurable:!0,value:Sr(null)});var Er=function($n){br[xr][$n]=!0},wr=dr.find,Or=!0,Tr=Mt$1("find");"find"in[]&&Array(1).find(function(){Or=!1}),It$1({target:"Array",proto:!0,forced:Or||!Tr},{find:function($n){return wr(this,$n,arguments.length>1?arguments[1]:void 0)}}),Er("find");var Ar=dr.findIndex,kr=!0,Rr=Mt$1("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){kr=!1}),It$1({target:"Array",proto:!0,forced:kr||!Rr},{findIndex:function($n){return Ar(this,$n,arguments.length>1?arguments[1]:void 0)}}),Er("findIndex");var Ir=function($n,Cn,_n,Pn,In,Nn,Rn,Dn){for(var Ln,Fn=In,Bn=0,Hn=!!Rn&&lr(Rn,Dn,3);Bn<Pn;){if(Bn in _n){if(Ln=Hn?Hn(_n[Bn],Bn,Cn):_n[Bn],Nn>0&&qt$1(Ln))Fn=Ir($n,Cn,Ln,at$1(Ln.length),Fn,Nn-1)-1;else{if(Fn>=9007199254740991)throw TypeError("Exceed the acceptable array length");$n[Fn]=Ln}Fn++}Bn++}return Fn},jr=Ir;It$1({target:"Array",proto:!0},{flat:function(){var $n=arguments.length?arguments[0]:void 0,Cn=Kt$1(this),_n=at$1(Cn.length),Pn=oe(Cn,0);return Pn.length=jr(Pn,Cn,Cn,_n,0,$n===void 0?1:it$1($n)),Pn}});var Cr=function($n){var Cn=$n.return;if(Cn!==void 0)return A(Cn.call($n)).value},Lr=function($n,Cn,_n,Pn){try{return Pn?Cn(A(_n)[0],_n[1]):Cn(_n)}catch(In){throw Cr($n),In}},Pr={},Mr=ne("iterator"),_r=Array.prototype,Dr=function($n){return $n!==void 0&&(Pr.Array===$n||_r[Mr]===$n)},Ur=ne("iterator"),Nr=function($n){if($n!=null)return $n[Ur]||$n["@@iterator"]||Pr[be$1($n)]},Fr=ne("iterator"),Wr=!1;try{var zr=0,$r={next:function(){return{done:!!zr++}},return:function(){Wr=!0}};$r[Fr]=function(){return this},Array.from($r,function(){throw 2})}catch($n){}var Br=function($n,Cn){if(!Cn&&!Wr)return!1;var _n=!1;try{var Pn={};Pn[Fr]=function(){return{next:function(){return{done:_n=!0}}}},$n(Pn)}catch{}return _n},Yr=!Br(function($n){Array.from($n)});It$1({target:"Array",stat:!0,forced:Yr},{from:function($n){var Cn,_n,Pn,In,Nn,Rn,Dn=Kt$1($n),Ln=typeof this=="function"?this:Array,Fn=arguments.length,Bn=Fn>1?arguments[1]:void 0,Hn=Bn!==void 0,zn=Nr(Dn),Wn=0;if(Hn&&(Bn=lr(Bn,Fn>2?arguments[2]:void 0,2)),zn==null||Ln==Array&&Dr(zn))for(_n=new Ln(Cn=at$1(Dn.length));Cn>Wn;Wn++)Rn=Hn?Bn(Dn[Wn],Wn):Dn[Wn],ie$1(_n,Wn,Rn);else for(Nn=(In=zn.call(Dn)).next,_n=new Ln;!(Pn=Nn.call(In)).done;Wn++)Rn=Hn?Lr(In,Bn,[Pn.value,Wn],!0):Pn.value,ie$1(_n,Wn,Rn);return _n.length=Wn,_n}});var Gr=function($n){return function(Cn,_n,Pn,In){Ve$1(_n);var Nn=Kt$1(Cn),Rn=v(Nn),Dn=at$1(Nn.length),Ln=$n?Dn-1:0,Fn=$n?-1:1;if(Pn<2)for(;;){if(Ln in Rn){In=Rn[Ln],Ln+=Fn;break}if(Ln+=Fn,$n?Ln<0:Dn<=Ln)throw TypeError("Reduce of empty array with no initial value")}for(;$n?Ln>=0:Dn>Ln;Ln+=Fn)Ln in Rn&&(In=_n(In,Rn[Ln],Ln,Nn));return In}},Hr={left:Gr(!1),right:Gr(!0)},Xr=s(r.process)=="process",Vr=Hr.left,Kr=jt$1("reduce"),qr=Mt$1("reduce",{1:0});It$1({target:"Array",proto:!0,forced:!Kr||!qr||!Xr&&fe$1>79&&fe$1<83},{reduce:function($n){return Vr(this,$n,arguments.length,arguments.length>1?arguments[1]:void 0)}}),Er("flat");var Qr,Jr,Zr,to$1=!o(function(){return Object.isExtensible(Object.preventExtensions({}))}),eo$1=e(function($n){var Cn=R.f,_n=$("meta"),Pn=0,In=Object.isExtensible||function(){return!0},Nn=function(Dn){Cn(Dn,_n,{value:{objectID:"O"+ ++Pn,weakData:{}}})},Rn=$n.exports={REQUIRED:!1,fastKey:function(Dn,Ln){if(!h(Dn))return typeof Dn=="symbol"?Dn:(typeof Dn=="string"?"S":"P")+Dn;if(!S(Dn,_n)){if(!In(Dn))return"F";if(!Ln)return"E";Nn(Dn)}return Dn[_n].objectID},getWeakData:function(Dn,Ln){if(!S(Dn,_n)){if(!In(Dn))return!0;if(!Ln)return!1;Nn(Dn)}return Dn[_n].weakData},onFreeze:function(Dn){return to$1&&Rn.REQUIRED&&In(Dn)&&!S(Dn,_n)&&Nn(Dn),Dn}};G[_n]=!0}),no$1=function($n,Cn){this.stopped=$n,this.result=Cn},ro$1=function($n,Cn,_n){var Pn,In,Nn,Rn,Dn,Ln,Fn,Bn=_n&&_n.that,Hn=!(!_n||!_n.AS_ENTRIES),zn=!(!_n||!_n.IS_ITERATOR),Wn=!(!_n||!_n.INTERRUPTED),Yn=lr(Cn,Bn,1+Hn+Wn),Gn=function(Xn){return Pn&&Cr(Pn),new no$1(!0,Xn)},Go=function(Xn){return Hn?(A(Xn),Wn?Yn(Xn[0],Xn[1],Gn):Yn(Xn[0],Xn[1])):Wn?Yn(Xn,Gn):Yn(Xn)};if(zn)Pn=$n;else{if(typeof(In=Nr($n))!="function")throw TypeError("Target is not iterable");if(Dr(In)){for(Nn=0,Rn=at$1($n.length);Rn>Nn;Nn++)if((Dn=Go($n[Nn]))&&Dn instanceof no$1)return Dn;return new no$1(!1)}Pn=In.call($n)}for(Ln=Pn.next;!(Fn=Ln.call(Pn)).done;){try{Dn=Go(Fn.value)}catch(Xn){throw Cr(Pn),Xn}if(typeof Dn=="object"&&Dn&&Dn instanceof no$1)return Dn}return new no$1(!1)},oo$1=function($n,Cn,_n){if(!($n instanceof Cn))throw TypeError("Incorrect "+(_n?_n+" ":"")+"invocation");return $n},io$1=R.f,uo$1=ne("toStringTag"),ao$1=function($n,Cn,_n){$n&&!S($n=_n?$n:$n.prototype,uo$1)&&io$1($n,uo$1,{configurable:!0,value:Cn})},co$1=Object.setPrototypeOf||("__proto__"in{}?function(){var $n,Cn=!1,_n={};try{($n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(_n,[]),Cn=_n instanceof Array}catch{}return function(Pn,In){return A(Pn),function(Nn){if(!h(Nn)&&Nn!==null)throw TypeError("Can't set "+String(Nn)+" as a prototype")}(In),Cn?$n.call(Pn,In):Pn.__proto__=In,Pn}}():void 0),lo$1=function($n,Cn,_n){for(var Pn in Cn)Z($n,Pn,Cn[Pn],_n);return $n},fo$1=!o(function(){function $n(){}return $n.prototype.constructor=null,Object.getPrototypeOf(new $n)!==$n.prototype}),so$1=Y("IE_PROTO"),vo$1=Object.prototype,po$1=fo$1?Object.getPrototypeOf:function($n){return $n=Kt$1($n),S($n,so$1)?$n[so$1]:typeof $n.constructor=="function"&&$n instanceof $n.constructor?$n.constructor.prototype:$n instanceof Object?vo$1:null},go$1=ne("iterator"),ho$1=!1;[].keys&&("next"in(Zr=[].keys())?(Jr=po$1(po$1(Zr)))!==Object.prototype&&(Qr=Jr):ho$1=!0),(Qr==null||o(function(){var $n={};return Qr[go$1].call($n)!==$n}))&&(Qr={}),S(Qr,go$1)||I(Qr,go$1,function(){return this});var yo$1={IteratorPrototype:Qr,BUGGY_SAFARI_ITERATORS:ho$1},mo$1=yo$1.IteratorPrototype,So$1=function(){return this},xo=yo$1.IteratorPrototype,bo$1=yo$1.BUGGY_SAFARI_ITERATORS,Eo$1=ne("iterator"),wo$1=function(){return this},Oo$1=function($n,Cn,_n,Pn,In,Nn,Rn){(function(Xn,Yo,qo){var Jo=Yo+" Iterator";Xn.prototype=Sr(mo$1,{next:l(1,qo)}),ao$1(Xn,Jo,!1),Pr[Jo]=So$1})(_n,Cn,Pn);var Dn,Ln,Fn,Bn=function(Xn){if(Xn===In&&Gn)return Gn;if(!bo$1&&Xn in Wn)return Wn[Xn];switch(Xn){case"keys":case"values":case"entries":return function(){return new _n(this,Xn)}}return function(){return new _n(this)}},Hn=Cn+" Iterator",zn=!1,Wn=$n.prototype,Yn=Wn[Eo$1]||Wn["@@iterator"]||In&&Wn[In],Gn=!bo$1&&Yn||Bn(In),Go=Cn=="Array"&&Wn.entries||Yn;if(Go&&(Dn=po$1(Go.call(new $n)),xo!==Object.prototype&&Dn.next&&(po$1(Dn)!==xo&&(co$1?co$1(Dn,xo):typeof Dn[Eo$1]!="function"&&I(Dn,Eo$1,wo$1)),ao$1(Dn,Hn,!0))),In=="values"&&Yn&&Yn.name!=="values"&&(zn=!0,Gn=function(){return Yn.call(this)}),Wn[Eo$1]!==Gn&&I(Wn,Eo$1,Gn),Pr[Cn]=Gn,In)if(Ln={values:Bn("values"),keys:Nn?Gn:Bn("keys"),entries:Bn("entries")},Rn)for(Fn in Ln)(bo$1||zn||!(Fn in Wn))&&Z(Wn,Fn,Ln[Fn]);else It$1({target:Cn,proto:!0,forced:bo$1||zn},Ln);return Ln},To$1=ne("species"),Ao$1=R.f,ko$1=eo$1.fastKey,Ro$1=J.set,Io$1=J.getterFor;(function($n,Cn,_n){var Pn=$n.indexOf("Map")!==-1,In=$n.indexOf("Weak")!==-1,Nn=Pn?"set":"add",Rn=r[$n],Dn=Rn&&Rn.prototype,Ln=Rn,Fn={},Bn=function(Go){var Xn=Dn[Go];Z(Dn,Go,Go=="add"?function(Yo){return Xn.call(this,Yo===0?0:Yo),this}:Go=="delete"?function(Yo){return!(In&&!h(Yo))&&Xn.call(this,Yo===0?0:Yo)}:Go=="get"?function(Yo){return In&&!h(Yo)?void 0:Xn.call(this,Yo===0?0:Yo)}:Go=="has"?function(Yo){return!(In&&!h(Yo))&&Xn.call(this,Yo===0?0:Yo)}:function(Yo,qo){return Xn.call(this,Yo===0?0:Yo,qo),this})};if(kt$1($n,typeof Rn!="function"||!(In||Dn.forEach&&!o(function(){new Rn().entries().next()}))))Ln=_n.getConstructor(Cn,$n,Pn,Nn),eo$1.REQUIRED=!0;else if(kt$1($n,!0)){var Hn=new Ln,zn=Hn[Nn](In?{}:-0,1)!=Hn,Wn=o(function(){Hn.has(1)}),Yn=Br(function(Go){new Rn(Go)}),Gn=!In&&o(function(){for(var Go=new Rn,Xn=5;Xn--;)Go[Nn](Xn,Xn);return!Go.has(-0)});Yn||((Ln=Cn(function(Go,Xn){oo$1(Go,Ln,$n);var Yo=function(qo,Jo,Zo){var rr,nr;return co$1&&typeof(rr=Jo.constructor)=="function"&&rr!==Zo&&h(nr=rr.prototype)&&nr!==Zo.prototype&&co$1(qo,nr),qo}(new Rn,Go,Ln);return Xn!=null&&ro$1(Xn,Yo[Nn],{that:Yo,AS_ENTRIES:Pn}),Yo})).prototype=Dn,Dn.constructor=Ln),(Wn||Gn)&&(Bn("delete"),Bn("has"),Pn&&Bn("get")),(Gn||zn)&&Bn(Nn),In&&Dn.clear&&delete Dn.clear}Fn[$n]=Ln,It$1({global:!0,forced:Ln!=Rn},Fn),ao$1(Ln,$n),In||_n.setStrong(Ln,$n,Pn)})("Set",function($n){return function(){return $n(this,arguments.length?arguments[0]:void 0)}},{getConstructor:function($n,Cn,_n,Pn){var In=$n(function(Ln,Fn){oo$1(Ln,In,Cn),Ro$1(Ln,{type:Cn,index:Sr(null),first:void 0,last:void 0,size:0}),i||(Ln.size=0),Fn!=null&&ro$1(Fn,Ln[Pn],{that:Ln,AS_ENTRIES:_n})}),Nn=Io$1(Cn),Rn=function(Ln,Fn,Bn){var Hn,zn,Wn=Nn(Ln),Yn=Dn(Ln,Fn);return Yn?Yn.value=Bn:(Wn.last=Yn={index:zn=ko$1(Fn,!0),key:Fn,value:Bn,previous:Hn=Wn.last,next:void 0,removed:!1},Wn.first||(Wn.first=Yn),Hn&&(Hn.next=Yn),i?Wn.size++:Ln.size++,zn!=="F"&&(Wn.index[zn]=Yn)),Ln},Dn=function(Ln,Fn){var Bn,Hn=Nn(Ln),zn=ko$1(Fn);if(zn!=="F")return Hn.index[zn];for(Bn=Hn.first;Bn;Bn=Bn.next)if(Bn.key==Fn)return Bn};return lo$1(In.prototype,{clear:function(){for(var Ln=Nn(this),Fn=Ln.index,Bn=Ln.first;Bn;)Bn.removed=!0,Bn.previous&&(Bn.previous=Bn.previous.next=void 0),delete Fn[Bn.index],Bn=Bn.next;Ln.first=Ln.last=void 0,i?Ln.size=0:this.size=0},delete:function(Ln){var Fn=this,Bn=Nn(Fn),Hn=Dn(Fn,Ln);if(Hn){var zn=Hn.next,Wn=Hn.previous;delete Bn.index[Hn.index],Hn.removed=!0,Wn&&(Wn.next=zn),zn&&(zn.previous=Wn),Bn.first==Hn&&(Bn.first=zn),Bn.last==Hn&&(Bn.last=Wn),i?Bn.size--:Fn.size--}return!!Hn},forEach:function(Ln){for(var Fn,Bn=Nn(this),Hn=lr(Ln,arguments.length>1?arguments[1]:void 0,3);Fn=Fn?Fn.next:Bn.first;)for(Hn(Fn.value,Fn.key,this);Fn&&Fn.removed;)Fn=Fn.previous},has:function(Ln){return!!Dn(this,Ln)}}),lo$1(In.prototype,_n?{get:function(Ln){var Fn=Dn(this,Ln);return Fn&&Fn.value},set:function(Ln,Fn){return Rn(this,Ln===0?0:Ln,Fn)}}:{add:function(Ln){return Rn(this,Ln=Ln===0?0:Ln,Ln)}}),i&&Ao$1(In.prototype,"size",{get:function(){return Nn(this).size}}),In},setStrong:function($n,Cn,_n){var Pn=Cn+" Iterator",In=Io$1(Cn),Nn=Io$1(Pn);Oo$1($n,Cn,function(Rn,Dn){Ro$1(this,{type:Pn,target:Rn,state:In(Rn),kind:Dn,last:void 0})},function(){for(var Rn=Nn(this),Dn=Rn.kind,Ln=Rn.last;Ln&&Ln.removed;)Ln=Ln.previous;return Rn.target&&(Rn.last=Ln=Ln?Ln.next:Rn.state.first)?Dn=="keys"?{value:Ln.key,done:!1}:Dn=="values"?{value:Ln.value,done:!1}:{value:[Ln.key,Ln.value],done:!1}:(Rn.target=void 0,{value:void 0,done:!0})},_n?"entries":"values",!_n,!0),function(Rn){var Dn=nt$1(Rn),Ln=R.f;i&&Dn&&!Dn[To$1]&&Ln(Dn,To$1,{configurable:!0,get:function(){return this}})}(Cn)}});var jo=Qe.charAt,Co$1=J.set,Lo$1=J.getterFor("String Iterator");Oo$1(String,"String",function($n){Co$1(this,{type:"String Iterator",string:String($n),index:0})},function(){var $n,Cn=Lo$1(this),_n=Cn.string,Pn=Cn.index;return Pn>=_n.length?{value:void 0,done:!0}:($n=jo(_n,Pn),Cn.index+=$n.length,{value:$n,done:!1})});var Po$1={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Mo$1=J.set,_o$1=J.getterFor("Array Iterator"),Do$1=Oo$1(Array,"Array",function($n,Cn){Mo$1(this,{type:"Array Iterator",target:g($n),index:0,kind:Cn})},function(){var $n=_o$1(this),Cn=$n.target,_n=$n.kind,Pn=$n.index++;return!Cn||Pn>=Cn.length?($n.target=void 0,{value:void 0,done:!0}):_n=="keys"?{value:Pn,done:!1}:_n=="values"?{value:Cn[Pn],done:!1}:{value:[Pn,Cn[Pn]],done:!1}},"values");Pr.Arguments=Pr.Array,Er("keys"),Er("values"),Er("entries");var Uo=ne("iterator"),No$1=ne("toStringTag"),Fo=Do$1.values;for(var Wo$1 in Po$1){var zo$1=r[Wo$1],$o$1=zo$1&&zo$1.prototype;if($o$1){if($o$1[Uo]!==Fo)try{I($o$1,Uo,Fo)}catch{$o$1[Uo]=Fo}if($o$1[No$1]||I($o$1,No$1,Wo$1),Po$1[Wo$1]){for(var Bo$1 in Do$1)if($o$1[Bo$1]!==Do$1[Bo$1])try{I($o$1,Bo$1,Do$1[Bo$1])}catch{$o$1[Bo$1]=Do$1[Bo$1]}}}}(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"deduplicate",value:function(Cn){return Array.from(new Set(Cn))}},{key:"flat",value:function(Cn){return Cn.reduce(function(_n,Pn){var In=Array.isArray(Pn)?$n.flat(Pn):Pn;return _n.concat(In)},[])}},{key:"find",value:function(Cn,_n){return Cn.find(_n)}},{key:"findIndex",value:function(Cn,_n){return Cn.findIndex(_n)}}]),$n})();(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"today",value:function(){return new Date}}]),$n})();(function(){function $n(){Wt$1(this,$n)}return $t$1($n,null,[{key:"range",value:function(Cn,_n,Pn){return Math.min(Math.max(Cn,_n),Pn)}},{key:"clamp",value:function(Cn,_n,Pn){return _n<Pn?Cn<_n?_n:Cn>Pn?Pn:Cn:Cn<Pn?Pn:Cn>_n?_n:Cn}}]),$n})();var ze=Object.defineProperty,Ge=($n,Cn,_n)=>Cn in $n?ze($n,Cn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):$n[Cn]=_n,L=($n,Cn,_n)=>(Ge($n,typeof Cn!="symbol"?Cn+"":Cn,_n),_n);const V=$n=>Math.round($n*100)/100;class B{constructor(Cn){L(this,"instance"),L(this,"alphaValue",0),L(this,"redValue",0),L(this,"greenValue",0),L(this,"blueValue",0),L(this,"hueValue",0),L(this,"saturationValue",0),L(this,"brightnessValue",0),L(this,"hslSaturationValue",0),L(this,"lightnessValue",0),L(this,"initAlpha",()=>{const _n=this.instance.getAlpha();this.alphaValue=Math.min(1,_n)*100}),L(this,"initLightness",()=>{const{s:_n,l:Pn}=this.instance.toHsl();this.hslSaturationValue=V(_n),this.lightnessValue=V(Pn)}),L(this,"initRgb",()=>{const{r:_n,g:Pn,b:In}=this.instance.toRgb();this.redValue=V(_n),this.greenValue=V(Pn),this.blueValue=V(In)}),L(this,"initHsb",()=>{const{h:_n,s:Pn,v:In}=this.instance.toHsv();this.hueValue=Math.min(360,Math.ceil(_n)),this.saturationValue=V(Pn),this.brightnessValue=V(In)}),L(this,"toHexString",()=>this.instance.toHexString()),L(this,"toRgbString",()=>this.instance.toRgbString()),this.instance=tinycolor(Cn),this.initRgb(),this.initHsb(),this.initLightness(),this.initAlpha()}toString(Cn){return this.instance.toString(Cn)}get hex(){return this.instance.toHex()}set hex(Cn){this.instance=tinycolor(Cn),this.initHsb(),this.initRgb(),this.initAlpha(),this.initLightness()}set hue(Cn){this.saturation===0&&this.brightness===0&&(this.saturationValue=1,this.brightnessValue=1),this.instance=tinycolor({h:V(Cn),s:this.saturation,v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.hueValue=V(Cn)}get hue(){return this.hueValue}set saturation(Cn){this.instance=tinycolor({h:this.hue,s:V(Cn),v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.saturationValue=V(Cn)}get saturation(){return this.saturationValue}set brightness(Cn){this.instance=tinycolor({h:this.hue,s:this.saturation,v:V(Cn),a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.brightnessValue=V(Cn)}get brightness(){return this.brightnessValue}set lightness(Cn){this.instance=tinycolor({h:this.hue,s:this.hslSaturationValue,l:V(Cn),a:this.alphaValue/100}),this.initRgb(),this.initHsb(),this.lightnessValue=V(Cn)}get lightness(){return this.lightnessValue}set red(Cn){const _n=this.instance.toRgb();this.instance=tinycolor({..._n,r:V(Cn),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.redValue=V(Cn)}get red(){return this.redValue}set green(Cn){const _n=this.instance.toRgb();this.instance=tinycolor({..._n,g:V(Cn),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.greenValue=V(Cn)}get green(){return this.greenValue}set blue(Cn){const _n=this.instance.toRgb();this.instance=tinycolor({..._n,b:V(Cn),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.blueValue=V(Cn)}get blue(){return this.blueValue}set alpha(Cn){this.instance.setAlpha(Cn/100),this.alphaValue=Cn}get alpha(){return this.alphaValue}get RGB(){return[this.red,this.green,this.blue,this.alpha/100]}get HSB(){return[this.hue,this.saturation,this.brightness,this.alpha/100]}get HSL(){return[this.hue,this.hslSaturationValue,this.lightness,this.alpha/100]}}function He($n,Cn,_n,Pn){return`rgba(${[$n,Cn,_n,Pn/100].join(",")})`}const ie=($n,Cn,_n)=>Cn<_n?$n<Cn?Cn:$n>_n?_n:$n:$n<_n?_n:$n>Cn?Cn:$n,he="color-history",pe=8,X=($n,Cn)=>{const _n=$n.__vccOpts||$n;for(const[Pn,In]of Cn)_n[Pn]=In;return _n},tt=defineComponent({name:"Alpha",props:{color:C$1.instanceOf(B),size:C$1.oneOf(["small","default"]).def("default")},emits:["change"],setup($n,{emit:Cn}){const _n=ref(null),Pn=ref(null);let In=$n.color||new B;const Nn=reactive({red:In.red,green:In.green,blue:In.blue,alpha:In.alpha});watch(()=>$n.color,Hn=>{Hn&&(In=Hn,le$1(Nn,{red:Hn.red,green:Hn.green,blue:Hn.blue,alpha:Hn.alpha}))},{deep:!0});const Rn=computed(()=>{const Hn=He(Nn.red,Nn.green,Nn.blue,0),zn=He(Nn.red,Nn.green,Nn.blue,100);return{background:`linear-gradient(to right, ${Hn} , ${zn})`}}),Dn=()=>{if(_n.value&&Pn.value){const Hn=Nn.alpha/100,zn=_n.value.getBoundingClientRect(),Wn=Pn.value.offsetWidth;return Math.round(Hn*(zn.width-Wn)+Wn/2)}return 0},Ln=computed(()=>({left:Dn()+"px",top:0})),Fn=Hn=>{Hn.target!==_n.value&&Bn(Hn)},Bn=Hn=>{if(Hn.stopPropagation(),_n.value&&Pn.value){const zn=_n.value.getBoundingClientRect(),Wn=Pn.value.offsetWidth;let Yn=Hn.clientX-zn.left;Yn=Math.max(Wn/2,Yn),Yn=Math.min(Yn,zn.width-Wn/2);const Gn=Math.round((Yn-Wn/2)/(zn.width-Wn)*100);In.alpha=Gn,Nn.alpha=Gn,Cn("change",Gn)}};return tryOnMounted(()=>{const Hn={drag:zn=>{Bn(zn)},end:zn=>{Bn(zn)}};_n.value&&Pn.value&&Vn.triggerDragEvent(_n.value,Hn)}),{barElement:_n,cursorElement:Pn,getCursorStyle:Ln,getBackgroundStyle:Rn,onClickSider:Fn}}}),ot=$n=>(pushScopeId("data-v-18925ba6"),$n=$n(),popScopeId(),$n),nt=ot(()=>createBaseVNode("div",{class:"vc-alpha-slider__bar-handle"},null,-1)),at=[nt];function rt($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-alpha-slider","transparent",{"small-slider":$n.size==="small"}])},[createBaseVNode("div",{ref:"barElement",class:"vc-alpha-slider__bar",style:normalizeStyle$1($n.getBackgroundStyle),onClick:Cn[0]||(Cn[0]=(...Rn)=>$n.onClickSider&&$n.onClickSider(...Rn))},[createBaseVNode("div",{class:normalizeClass(["vc-alpha-slider__bar-pointer",{"small-bar":$n.size==="small"}]),ref:"cursorElement",style:normalizeStyle$1($n.getCursorStyle)},at,6)],4)],2)}const fe=X(tt,[["render",rt],["__scopeId","data-v-18925ba6"]]),lt=[["#fcc02e","#f67c01","#e64a19","#d81b43","#8e24aa","#512da7","#1f87e8","#008781","#05a045"],["#fed835","#fb8c00","#f5511e","#eb1d4e","#9c28b1","#5d35b0","#2097f3","#029688","#4cb050"],["#ffeb3c","#ffa727","#fe5722","#eb4165","#aa47bc","#673bb7","#42a5f6","#26a59a","#83c683"],["#fff176","#ffb74e","#ff8a66","#f1627e","#b968c7","#7986cc","#64b5f6","#80cbc4","#a5d6a7"],["#fff59c","#ffcc80","#ffab91","#fb879e","#cf93d9","#9ea8db","#90caf8","#b2dfdc","#c8e6ca"],["transparent","#ffffff","#dedede","#a9a9a9","#4b4b4b","#353535","#212121","#000000","advance"]],st=defineComponent({name:"Palette",emits:["change"],setup($n,{emit:Cn}){return{palettes:lt,computedBgStyle:_n=>_n==="transparent"?_n:_n==="advance"?{}:{background:tinycolor(_n).toRgbString()},onColorChange:_n=>{Cn("change",_n)}}}}),it={class:"vc-compact"},ct=["onClick"];function ut($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",it,[(openBlock(!0),createElementBlock(Fragment,null,renderList($n.palettes,(Rn,Dn)=>(openBlock(),createElementBlock("div",{key:Dn,class:"vc-compact__row"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Rn,(Ln,Fn)=>(openBlock(),createElementBlock("div",{key:Fn,class:"vc-compact__color-cube--wrap",onClick:Bn=>$n.onColorChange(Ln)},[createBaseVNode("div",{class:normalizeClass(["vc-compact__color_cube",{advance:Ln==="advance",transparent:Ln==="transparent"}]),style:normalizeStyle$1($n.computedBgStyle(Ln))},null,6)],8,ct))),128))]))),128))])}const Ve=X(st,[["render",ut],["__scopeId","data-v-b969fd48"]]),dt=defineComponent({name:"Board",props:{color:C$1.instanceOf(B),round:C$1.bool.def(!1),hide:C$1.bool.def(!0)},emits:["change"],setup($n,{emit:Cn}){var _n,Pn,In;const Nn=getCurrentInstance(),Rn={h:((_n=$n.color)==null?void 0:_n.hue)||0,s:1,v:1},Dn=new B(Rn).toHexString(),Ln=reactive({hueColor:Dn,saturation:((Pn=$n.color)==null?void 0:Pn.saturation)||0,brightness:((In=$n.color)==null?void 0:In.brightness)||0}),Fn=ref(0),Bn=ref(0),Hn=ref(),zn=ref(),Wn=computed(()=>({top:Fn.value+"px",left:Bn.value+"px"})),Yn=()=>{if(Nn){const Xn=Nn.vnode.el;Bn.value=Ln.saturation*(Xn==null?void 0:Xn.clientWidth),Fn.value=(1-Ln.brightness)*(Xn==null?void 0:Xn.clientHeight)}},Gn=Xn=>{Xn.target!==zn.value&&Go(Xn)},Go=Xn=>{if(Nn){const Yo=Nn.vnode.el,qo=Yo==null?void 0:Yo.getBoundingClientRect();let Jo=Xn.clientX-qo.left,Zo=Xn.clientY-qo.top;Jo=ie(Jo,0,qo.width),Zo=ie(Zo,0,qo.height);const rr=Jo/qo.width,nr=ie(-(Zo/qo.height)+1,0,1);Bn.value=Jo,Fn.value=Zo,Ln.saturation=rr,Ln.brightness=nr,Cn("change",rr,nr)}};return tryOnMounted(()=>{Nn&&Nn.vnode.el&&Hn.value&&(Vn.triggerDragEvent(Hn.value,{drag:Xn=>{Go(Xn)},end:Xn=>{Go(Xn)}}),nextTick(()=>{Yn()}))}),whenever(()=>$n.color,Xn=>{le$1(Ln,{hueColor:new B({h:Xn.hue,s:1,v:1}).toHexString(),saturation:Xn.saturation,brightness:Xn.brightness}),Yn()},{deep:!0}),{state:Ln,cursorElement:Hn,getCursorStyle:Wn,onClickBoard:Gn}}}),Ce=$n=>(pushScopeId("data-v-058e5db2"),$n=$n(),popScopeId(),$n),gt=Ce(()=>createBaseVNode("div",{class:"vc-saturation__white"},null,-1)),ht=Ce(()=>createBaseVNode("div",{class:"vc-saturation__black"},null,-1)),pt=Ce(()=>createBaseVNode("div",null,null,-1)),ft=[pt];function Ct($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",{ref:"boardElement",class:normalizeClass(["vc-saturation",{"vc-saturation__chrome":$n.round,"vc-saturation__hidden":$n.hide}]),style:normalizeStyle$1({backgroundColor:$n.state.hueColor}),onClick:Cn[0]||(Cn[0]=(...Rn)=>$n.onClickBoard&&$n.onClickBoard(...Rn))},[gt,ht,createBaseVNode("div",{class:"vc-saturation__cursor",ref:"cursorElement",style:normalizeStyle$1($n.getCursorStyle)},ft,4)],6)}const ve=X(dt,[["render",Ct],["__scopeId","data-v-058e5db2"]]),vt=defineComponent({name:"Hue",props:{color:C$1.instanceOf(B),size:C$1.oneOf(["small","default"]).def("default")},emits:["change"],setup($n,{emit:Cn}){const _n=ref(null),Pn=ref(null);let In=$n.color||new B;const Nn=reactive({hue:In.hue||0});watch(()=>$n.color,Bn=>{Bn&&(In=Bn,le$1(Nn,{hue:In.hue}))},{deep:!0});const Rn=()=>{if(_n.value&&Pn.value){const Bn=_n.value.getBoundingClientRect(),Hn=Pn.value.offsetWidth;return Nn.hue===360?Bn.width-Hn/2:Nn.hue%360*(Bn.width-Hn)/360+Hn/2}return 0},Dn=computed(()=>({left:Rn()+"px",top:0})),Ln=Bn=>{Bn.target!==_n.value&&Fn(Bn)},Fn=Bn=>{if(Bn.stopPropagation(),_n.value&&Pn.value){const Hn=_n.value.getBoundingClientRect(),zn=Pn.value.offsetWidth;let Wn=Bn.clientX-Hn.left;Wn=Math.min(Wn,Hn.width-zn/2),Wn=Math.max(zn/2,Wn);const Yn=Math.round((Wn-zn/2)/(Hn.width-zn)*360);In.hue=Yn,Nn.hue=Yn,Cn("change",Yn)}};return tryOnMounted(()=>{const Bn={drag:Hn=>{Fn(Hn)},end:Hn=>{Fn(Hn)}};_n.value&&Pn.value&&Vn.triggerDragEvent(_n.value,Bn)}),{barElement:_n,cursorElement:Pn,getCursorStyle:Dn,onClickSider:Ln}}}),bt=$n=>(pushScopeId("data-v-e1a08576"),$n=$n(),popScopeId(),$n),yt=bt(()=>createBaseVNode("div",{class:"vc-hue-slider__bar-handle"},null,-1)),_t=[yt];function mt($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-hue-slider",{"small-slider":$n.size==="small"}])},[createBaseVNode("div",{ref:"barElement",class:"vc-hue-slider__bar",onClick:Cn[0]||(Cn[0]=(...Rn)=>$n.onClickSider&&$n.onClickSider(...Rn))},[createBaseVNode("div",{class:normalizeClass(["vc-hue-slider__bar-pointer",{"small-bar":$n.size==="small"}]),ref:"cursorElement",style:normalizeStyle$1($n.getCursorStyle)},_t,6)],512)],2)}const be=X(vt,[["render",mt],["__scopeId","data-v-e1a08576"]]),St=defineComponent({name:"Lightness",props:{color:C$1.instanceOf(B),size:C$1.oneOf(["small","default"]).def("default")},emits:["change"],setup($n,{emit:Cn}){const _n=ref(null),Pn=ref(null);let In=$n.color||new B;const[Nn,Rn,Dn]=In.HSL,Ln=reactive({hue:Nn,saturation:Rn,lightness:Dn});watch(()=>$n.color,Yn=>{if(Yn){In=Yn;const[Gn,Go,Xn]=In.HSL;le$1(Ln,{hue:Gn,saturation:Go,lightness:Xn})}},{deep:!0});const Fn=computed(()=>{const Yn=tinycolor({h:Ln.hue,s:Ln.saturation,l:.8}).toPercentageRgbString(),Gn=tinycolor({h:Ln.hue,s:Ln.saturation,l:.6}).toPercentageRgbString(),Go=tinycolor({h:Ln.hue,s:Ln.saturation,l:.4}).toPercentageRgbString(),Xn=tinycolor({h:Ln.hue,s:Ln.saturation,l:.2}).toPercentageRgbString();return{background:[`linear-gradient(to right, rgb(255, 255, 255), ${Yn}, ${Gn}, ${Go}, ${Xn}, rgb(0, 0, 0))`,`-webkit-linear-gradient(left, rgb(255, 255, 255), ${Yn}, ${Gn}, ${Go}, ${Xn}, rgb(0, 0, 0))`,`-moz-linear-gradient(left, rgb(255, 255, 255), ${Yn}, ${Gn}, ${Go}, ${Xn}, rgb(0, 0, 0))`,`-ms-linear-gradient(left, rgb(255, 255, 255), ${Yn}, ${Gn}, ${Go}, ${Xn}, rgb(0, 0, 0))`]}}),Bn=()=>{if(_n.value&&Pn.value){const Yn=Ln.lightness,Gn=_n.value.getBoundingClientRect(),Go=Pn.value.offsetWidth;return(1-Yn)*(Gn.width-Go)+Go/2}return 0},Hn=computed(()=>({left:Bn()+"px",top:0})),zn=Yn=>{Yn.target!==_n.value&&Wn(Yn)},Wn=Yn=>{if(Yn.stopPropagation(),_n.value&&Pn.value){const Gn=_n.value.getBoundingClientRect(),Go=Pn.value.offsetWidth;let Xn=Yn.clientX-Gn.left;Xn=Math.max(Go/2,Xn),Xn=Math.min(Xn,Gn.width-Go/2);const Yo=1-(Xn-Go/2)/(Gn.width-Go);In.lightness=Yo,Cn("change",Yo)}};return tryOnMounted(()=>{const Yn={drag:Gn=>{Wn(Gn)},end:Gn=>{Wn(Gn)}};_n.value&&Pn.value&&Vn.triggerDragEvent(_n.value,Yn)}),{barElement:_n,cursorElement:Pn,getCursorStyle:Hn,getBackgroundStyle:Fn,onClickSider:zn}}}),kt=$n=>(pushScopeId("data-v-94a50a9e"),$n=$n(),popScopeId(),$n),$t=kt(()=>createBaseVNode("div",{class:"vc-lightness-slider__bar-handle"},null,-1)),wt=[$t];function Ht($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-lightness-slider",{"small-slider":$n.size==="small"}])},[createBaseVNode("div",{ref:"barElement",class:"vc-lightness-slider__bar",style:normalizeStyle$1($n.getBackgroundStyle),onClick:Cn[0]||(Cn[0]=(...Rn)=>$n.onClickSider&&$n.onClickSider(...Rn))},[createBaseVNode("div",{class:normalizeClass(["vc-lightness-slider__bar-pointer",{"small-bar":$n.size==="small"}]),ref:"cursorElement",style:normalizeStyle$1($n.getCursorStyle)},wt,6)],4)],2)}const Me=X(St,[["render",Ht],["__scopeId","data-v-94a50a9e"]]),Rt=defineComponent({name:"History",props:{colors:C$1.arrayOf(String).def(()=>[]),round:C$1.bool.def(!1)},emits:["change"],setup($n,{emit:Cn}){return{onColorSelect:_n=>{Cn("change",_n)}}}}),Bt={key:0,class:"vc-colorPicker__record"},At={class:"color-list"},Pt=["onClick"];function Vt($n,Cn,_n,Pn,In,Nn){return $n.colors&&$n.colors.length>0?(openBlock(),createElementBlock("div",Bt,[createBaseVNode("div",At,[(openBlock(!0),createElementBlock(Fragment,null,renderList($n.colors,(Rn,Dn)=>(openBlock(),createElementBlock("div",{key:Dn,class:normalizeClass(["color-item","transparent",{"color-item__round":$n.round}]),onClick:Ln=>$n.onColorSelect(Rn)},[createBaseVNode("div",{class:"color-item__display",style:normalizeStyle$1({backgroundColor:Rn})},null,4)],10,Pt))),128))])])):createCommentVNode("",!0)}const ye=X(Rt,[["render",Vt],["__scopeId","data-v-0f657238"]]),Mt=defineComponent({name:"Display",props:{color:C$1.instanceOf(B),disableAlpha:C$1.bool.def(!1)},emits:["update:color","change"],setup($n,{emit:Cn}){var _n,Pn,In,Nn;const Rn=ref("hex"),Dn=reactive({color:$n.color,hex:(_n=$n.color)==null?void 0:_n.hex,alpha:Math.floor(((Pn=$n.color)==null?void 0:Pn.alpha)||100)+"%",rgba:(In=$n.color)==null?void 0:In.RGB,previewBgColor:(Nn=$n.color)==null?void 0:Nn.toRgbString()}),Ln=computed(()=>({background:Dn.previewBgColor})),Fn=()=>{Rn.value=Rn.value==="rgba"?"hex":"rgba"},Bn=useDebounceFn(zn=>{if(!zn.target.value)return;let Wn=parseInt(zn.target.value.replace("%",""));Wn>100&&(zn.target.value="100%",Wn=100),Wn<0&&(zn.target.value="0%",Wn=0),isNaN(Wn)&&(zn.target.value="100%",Wn=100),!isNaN(Wn)&&Dn.color&&(Dn.color.alpha=Wn),Cn("update:color",Dn.color),Cn("change",Dn.color)},300),Hn=useDebounceFn((zn,Wn)=>{if(zn.target.value){if(Rn.value==="hex"){const Yn=zn.target.value.replace("#","");tinycolor(Yn).isValid()&&Dn.color&&(Dn.color.hex=Yn)}else if(Wn!==void 0&&Dn.rgba&&Dn.color){zn.target.value<0&&(zn.target.value=0),Wn===3&&zn.target.value>1&&(zn.target.value=1),Wn<3&&zn.target.value>255&&(zn.target.value=255),Dn.rgba[Wn]=Number(zn.target.value);const[Yn,Gn,Go,Xn]=Dn.rgba;Dn.color.hex=tinycolor({r:Yn,g:Gn,b:Go}).toHex(),Dn.color.alpha=Math.floor(Xn*100)}Cn("update:color",Dn.color),Cn("change",Dn.color)}},300);return whenever(()=>$n.color,zn=>{zn&&(Dn.color=zn,Dn.alpha=Math.floor(Dn.color.alpha)+"%",Dn.hex=Dn.color.hex,Dn.rgba=Dn.color.RGB)},{deep:!0}),whenever(()=>Dn.color,()=>{Dn.color&&(Dn.previewBgColor=Dn.color.toRgbString())},{deep:!0}),{state:Dn,getBgColorStyle:Ln,inputType:Rn,onInputTypeChange:Fn,onAlphaBlur:Bn,onInputChange:Hn}}}),It={class:"vc-display"},Kt={class:"vc-current-color vc-transparent"},Lt={key:0,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},Et={class:"vc-color-input"},Nt=["value"],Wt={key:0,class:"vc-alpha-input"},Tt=["value"],Dt={key:1,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},Ot=["value","onInput"];function zt($n,Cn,_n,Pn,In,Nn){return openBlock(),createElementBlock("div",It,[createBaseVNode("div",Kt,[createBaseVNode("div",{class:"color-cube",style:normalizeStyle$1($n.getBgColorStyle)},null,4)]),$n.inputType==="hex"?(openBlock(),createElementBlock("div",Lt,[createBaseVNode("div",Et,[createBaseVNode("input",{value:$n.state.hex,onInput:Cn[0]||(Cn[0]=(...Rn)=>$n.onInputChange&&$n.onInputChange(...Rn))},null,40,Nt)]),$n.disableAlpha?createCommentVNode("",!0):(openBlock(),createElementBlock("div",Wt,[createBaseVNode("input",{class:"vc-alpha-input__inner",value:$n.state.alpha,onInput:Cn[1]||(Cn[1]=(...Rn)=>$n.onAlphaBlur&&$n.onAlphaBlur(...Rn))},null,40,Tt)]))])):$n.state.rgba?(openBlock(),createElementBlock("div",Dt,[(openBlock(!0),createElementBlock(Fragment,null,renderList($n.state.rgba,(Rn,Dn)=>(openBlock(),createElementBlock("div",{class:"vc-color-input",key:Dn},[createBaseVNode("input",{value:Rn,onInput:Ln=>$n.onInputChange(Ln,Dn)},null,40,Ot)]))),128))])):createCommentVNode("",!0),createBaseVNode("div",{class:"vc-input-toggle",onClick:Cn[2]||(Cn[2]=(...Rn)=>$n.onInputTypeChange&&$n.onInputTypeChange(...Rn))},toDisplayString$1($n.inputType),1)])}const _e=X(Mt,[["render",zt],["__scopeId","data-v-80d589ba"]]),Gt=defineComponent({name:"FkColorPicker",components:{Display:_e,Alpha:fe,Palette:Ve,Board:ve,Hue:be,Lightness:Me,History:ye},props:{color:C$1.instanceOf(B),disableHistory:C$1.bool.def(!1),roundHistory:C$1.bool.def(!1),disableAlpha:C$1.bool.def(!1)},emits:["update:color","change","advanceChange"],setup($n,{emit:Cn}){const _n=$n.color||new B,Pn=reactive({color:_n,hex:_n.toHexString(),rgb:_n.toRgbString()}),In=ref(!1),Nn=computed(()=>({background:Pn.rgb})),Rn=()=>{In.value=!1,Cn("advanceChange",!1)},Dn=useLocalStorage(he,[],{}),Ln=useDebounceFn(()=>{if($n.disableHistory)return;const Gn=Pn.color.toRgbString();if(Dn.value=Dn.value.filter(Go=>!tinycolor.equals(Go,Gn)),!Dn.value.includes(Gn)){for(;Dn.value.length>pe;)Dn.value.pop();Dn.value.unshift(Gn)}},500),Fn=Gn=>{Gn==="advance"?(In.value=!0,Cn("advanceChange",!0)):(Pn.color.hex=Gn,Cn("advanceChange",!1))},Bn=Gn=>{Pn.color.alpha=Gn},Hn=Gn=>{Pn.color.hue=Gn},zn=(Gn,Go)=>{Pn.color.saturation=Gn,Pn.color.brightness=Go},Wn=Gn=>{Pn.color.lightness=Gn},Yn=Gn=>{const Go=Gn.target.value.replace("#","");tinycolor(Go).isValid()&&(Pn.color.hex=Go)};return whenever(()=>$n.color,Gn=>{Gn&&(Pn.color=Gn)},{deep:!0}),whenever(()=>Pn.color,()=>{Pn.hex=Pn.color.hex,Pn.rgb=Pn.color.toRgbString(),Ln(),Cn("update:color",Pn.color),Cn("change",Pn.color)},{deep:!0}),{state:Pn,advancePanelShow:In,onBack:Rn,onCompactChange:Fn,onAlphaChange:Bn,onHueChange:Hn,onBoardChange:zn,onLightChange:Wn,onInputChange:Yn,previewStyle:Nn,historyColors:Dn}}}),Xt=$n=>(pushScopeId("data-v-0d5bef46"),$n=$n(),popScopeId(),$n),qt={class:"vc-fk-colorPicker"},Ft={class:"vc-fk-colorPicker__inner"},Yt={class:"vc-fk-colorPicker__header"},Ut=Xt(()=>createBaseVNode("div",{class:"back"},null,-1)),jt=[Ut];function Zt($n,Cn,_n,Pn,In,Nn){const Rn=resolveComponent("Palette"),Dn=resolveComponent("Board"),Ln=resolveComponent("Hue"),Fn=resolveComponent("Lightness"),Bn=resolveComponent("Alpha"),Hn=resolveComponent("Display"),zn=resolveComponent("History");return openBlock(),createElementBlock("div",qt,[createBaseVNode("div",Ft,[createBaseVNode("div",Yt,[$n.advancePanelShow?(openBlock(),createElementBlock("span",{key:0,style:{cursor:"pointer"},onClick:Cn[0]||(Cn[0]=(...Wn)=>$n.onBack&&$n.onBack(...Wn))},jt)):createCommentVNode("",!0)]),$n.advancePanelShow?createCommentVNode("",!0):(openBlock(),createBlock(Rn,{key:0,onChange:$n.onCompactChange},null,8,["onChange"])),$n.advancePanelShow?(openBlock(),createBlock(Dn,{key:1,color:$n.state.color,onChange:$n.onBoardChange},null,8,["color","onChange"])):createCommentVNode("",!0),$n.advancePanelShow?(openBlock(),createBlock(Ln,{key:2,color:$n.state.color,onChange:$n.onHueChange},null,8,["color","onChange"])):createCommentVNode("",!0),$n.advancePanelShow?createCommentVNode("",!0):(openBlock(),createBlock(Fn,{key:3,color:$n.state.color,onChange:$n.onLightChange},null,8,["color","onChange"])),$n.disableAlpha?createCommentVNode("",!0):(openBlock(),createBlock(Bn,{key:4,color:$n.state.color,onChange:$n.onAlphaChange},null,8,["color","onChange"])),createVNode(Hn,{color:$n.state.color,"disable-alpha":$n.disableAlpha},null,8,["color","disable-alpha"]),$n.disableHistory?createCommentVNode("",!0):(openBlock(),createBlock(zn,{key:5,round:$n.roundHistory,colors:$n.historyColors,onChange:$n.onCompactChange},null,8,["round","colors","onChange"]))])])}const Re=X(Gt,[["render",Zt],["__scopeId","data-v-0d5bef46"]]),Jt=defineComponent({name:"ChromeColorPicker",components:{Display:_e,Alpha:fe,Board:ve,Hue:be,History:ye},props:{color:C$1.instanceOf(B),disableHistory:C$1.bool.def(!1),roundHistory:C$1.bool.def(!1),disableAlpha:C$1.bool.def(!1)},emits:["update:color","change"],setup($n,{emit:Cn}){const _n=$n.color||new B,Pn=reactive({color:_n,hex:_n.toHexString(),rgb:_n.toRgbString()}),In=computed(()=>({background:Pn.rgb})),Nn=useLocalStorage(he,[],{}),Rn=useDebounceFn(()=>{if($n.disableHistory)return;const Hn=Pn.color.toRgbString();if(Nn.value=Nn.value.filter(zn=>!tinycolor.equals(zn,Hn)),!Nn.value.includes(Hn)){for(;Nn.value.length>pe;)Nn.value.pop();Nn.value.unshift(Hn)}},500),Dn=Hn=>{Pn.color.alpha=Hn},Ln=Hn=>{Pn.color.hue=Hn},Fn=(Hn,zn)=>{Pn.color.saturation=Hn,Pn.color.brightness=zn},Bn=Hn=>{Hn!=="advance"&&(Pn.color.hex=Hn)};return whenever(()=>$n.color,Hn=>{Hn&&(Pn.color=Hn)},{deep:!0}),whenever(()=>Pn.color,()=>{Pn.hex=Pn.color.hex,Pn.rgb=Pn.color.toRgbString(),Rn(),Cn("update:color",Pn.color),Cn("change",Pn.color)},{deep:!0}),{state:Pn,previewStyle:In,historyColors:Nn,onAlphaChange:Dn,onHueChange:Ln,onBoardChange:Fn,onCompactChange:Bn}}}),Qt={class:"vc-chrome-colorPicker"},xt={class:"vc-chrome-colorPicker-body"},eo={class:"chrome-controls"},to={class:"chrome-sliders"};function oo($n,Cn,_n,Pn,In,Nn){const Rn=resolveComponent("Board"),Dn=resolveComponent("Hue"),Ln=resolveComponent("Alpha"),Fn=resolveComponent("Display"),Bn=resolveComponent("History");return openBlock(),createElementBlock("div",Qt,[createVNode(Rn,{round:!0,hide:!1,color:$n.state.color,onChange:$n.onBoardChange},null,8,["color","onChange"]),createBaseVNode("div",xt,[createBaseVNode("div",eo,[createBaseVNode("div",to,[createVNode(Dn,{size:"small",color:$n.state.color,onChange:$n.onHueChange},null,8,["color","onChange"]),$n.disableAlpha?createCommentVNode("",!0):(openBlock(),createBlock(Ln,{key:0,size:"small",color:$n.state.color,onChange:$n.onAlphaChange},null,8,["color","onChange"]))])]),createVNode(Fn,{color:$n.state.color,"disable-alpha":$n.disableAlpha},null,8,["color","disable-alpha"]),$n.disableHistory?createCommentVNode("",!0):(openBlock(),createBlock(Bn,{key:0,round:$n.roundHistory,colors:$n.historyColors,onChange:$n.onCompactChange},null,8,["round","colors","onChange"]))])])}const Be=X(Jt,[["render",oo],["__scopeId","data-v-33636434"]]),me="Vue3ColorPickerProvider",no=($n,Cn)=>{const _n=$n.getBoundingClientRect(),Pn=_n.left+_n.width/2,In=_n.top+_n.height/2,Nn=Math.abs(Pn-Cn.clientX),Rn=Math.abs(In-Cn.clientY),Dn=Math.sqrt(Math.pow(Nn,2)+Math.pow(Rn,2)),Ln=Rn/Dn,Fn=Math.acos(Ln);let Bn=Math.floor(180/(Math.PI/Fn));return Cn.clientX>Pn&&Cn.clientY>In&&(Bn=180-Bn),Cn.clientX==Pn&&Cn.clientY>In&&(Bn=180),Cn.clientX>Pn&&Cn.clientY==In&&(Bn=90),Cn.clientX<Pn&&Cn.clientY>In&&(Bn=180+Bn),Cn.clientX<Pn&&Cn.clientY==In&&(Bn=270),Cn.clientX<Pn&&Cn.clientY<In&&(Bn=360-Bn),Bn};let ce=!1;const ao=($n,Cn)=>{const _n=function(In){var Nn;(Nn=Cn.drag)==null||Nn.call(Cn,In)},Pn=function(In){var Nn;document.removeEventListener("mousemove",_n,!1),document.removeEventListener("mouseup",Pn,!1),document.onselectstart=null,document.ondragstart=null,ce=!1,(Nn=Cn.end)==null||Nn.call(Cn,In)};$n&&$n.addEventListener("mousedown",In=>{var Nn;ce||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",_n,!1),document.addEventListener("mouseup",Pn,!1),ce=!0,(Nn=Cn.start)==null||Nn.call(Cn,In))})},ro={angle:{type:Number,default:0},size:{type:Number,default:16,validator:$n=>$n>=16},borderWidth:{type:Number,default:1,validator:$n=>$n>=1},borderColor:{type:String,default:"#666"}},lo=defineComponent({name:"Angle",props:ro,emits:["update:angle","change"],setup($n,{emit:Cn}){const _n=ref(null),Pn=ref(0);watch(()=>$n.angle,Dn=>{Pn.value=Dn});const In=()=>{let Dn=Number(Pn.value);isNaN(Dn)||(Dn=Dn>360||Dn<0?$n.angle:Dn,Pn.value=Dn===360?0:Dn,Cn("update:angle",Pn.value),Cn("change",Pn.value))},Nn=computed(()=>({width:$n.size+"px",height:$n.size+"px",borderWidth:$n.borderWidth+"px",borderColor:$n.borderColor,transform:`rotate(${Pn.value}deg)`})),Rn=Dn=>{_n.value&&(Pn.value=no(_n.value,Dn)%360,In())};return onMounted(()=>{const Dn={drag:Ln=>{Rn(Ln)},end:Ln=>{Rn(Ln)}};_n.value&&ao(_n.value,Dn)}),()=>createVNode("div",{class:"bee-angle"},[createVNode("div",{class:"bee-angle__round",ref:_n,style:Nn.value},null)])}}),so=defineComponent({name:"GradientColorPicker",components:{Angle:lo,Display:_e,Alpha:fe,Palette:Ve,Board:ve,Hue:be,Lightness:Me,History:ye},props:{startColor:C$1.instanceOf(B).isRequired,endColor:C$1.instanceOf(B).isRequired,startColorStop:C$1.number.def(0),endColorStop:C$1.number.def(100),angle:C$1.number.def(0),type:C$1.oneOf(["linear","radial"]).def("linear"),disableHistory:C$1.bool.def(!1),roundHistory:C$1.bool.def(!1),disableAlpha:C$1.bool.def(!1),pickerType:C$1.oneOf(["fk","chrome"]).def("fk")},emits:["update:startColor","update:endColor","update:angle","update:startColorStop","update:endColorStop","startColorChange","endColorChange","advanceChange","angleChange","startColorStopChange","endColorStopChange","typeChange"],setup($n,{emit:Cn}){const _n=reactive({startActive:!0,startColor:$n.startColor,endColor:$n.endColor,startColorStop:$n.startColorStop,endColorStop:$n.endColorStop,angle:$n.angle,type:$n.type,startColorRgba:$n.startColor.toRgbString(),endColorRgba:$n.endColor.toRgbString()}),Pn=inject(me),In=ref($n.pickerType==="chrome"),Nn=ref(),Rn=ref(),Dn=ref();watch(()=>[$n.startColor,$n.endColor,$n.angle],ea=>{_n.startColor=ea[0],_n.endColor=ea[1],_n.angle=ea[2]}),watch(()=>$n.type,ea=>{_n.type=ea});const Ln=computed({get:()=>_n.startActive?_n.startColor:_n.endColor,set:ea=>{if(_n.startActive){_n.startColor=ea;return}_n.endColor=ea}}),Fn=computed(()=>{if(Dn.value&&Nn.value){const ea=_n.startColorStop/100,la=Dn.value.getBoundingClientRect(),ua=Nn.value.offsetWidth;return Math.round(ea*(la.width-ua)+ua/2)}return 0}),Bn=computed(()=>{if(Dn.value&&Rn.value){const ea=_n.endColorStop/100,la=Dn.value.getBoundingClientRect(),ua=Rn.value.offsetWidth;return Math.round(ea*(la.width-ua)+ua/2)}return 0}),Hn=computed(()=>{let ea=`background: linear-gradient(${_n.angle}deg, ${_n.startColorRgba} ${_n.startColorStop}%, ${_n.endColorRgba} ${_n.endColorStop}%)`;return _n.type==="radial"&&(ea=`background: radial-gradient(circle, ${_n.startColorRgba} ${_n.startColorStop}%, ${_n.endColorRgba} ${_n.endColorStop}%)`),ea}),zn=ea=>{var la;if(_n.startActive=!0,Dn.value&&Nn.value){const ua=(la=Dn.value)==null?void 0:la.getBoundingClientRect();let ga=ea.clientX-ua.left;ga=Math.max(Nn.value.offsetWidth/2,ga),ga=Math.min(ga,ua.width-Nn.value.offsetWidth/2),_n.startColorStop=Math.round((ga-Nn.value.offsetWidth/2)/(ua.width-Nn.value.offsetWidth)*100),Cn("update:startColorStop",_n.startColorStop),Cn("startColorStopChange",_n.startColorStop)}},Wn=ea=>{var la;if(_n.startActive=!1,Dn.value&&Rn.value){const ua=(la=Dn.value)==null?void 0:la.getBoundingClientRect();let ga=ea.clientX-ua.left;ga=Math.max(Rn.value.offsetWidth/2,ga),ga=Math.min(ga,ua.width-Rn.value.offsetWidth/2),_n.endColorStop=Math.round((ga-Rn.value.offsetWidth/2)/(ua.width-Rn.value.offsetWidth)*100),Cn("update:endColorStop",_n.endColorStop),Cn("endColorStopChange",_n.endColorStop)}},Yn=ea=>{const la=ea.target,ua=parseInt(la.value.replace("°",""));isNaN(ua)||(_n.angle=ua%360),Cn("update:angle",_n.angle),Cn("angleChange",_n.angle)},Gn=ea=>{_n.angle=ea,Cn("update:angle",_n.angle),Cn("angleChange",_n.angle)},Go=ea=>{ea==="advance"?(In.value=!0,Cn("advanceChange",!0)):(Ln.value.hex=ea,Cn("advanceChange",!1)),rr()},Xn=ea=>{Ln.value.alpha=ea,rr()},Yo=ea=>{Ln.value.hue=ea,rr()},qo=(ea,la)=>{Ln.value.saturation=ea,Ln.value.brightness=la,rr()},Jo=ea=>{Ln.value.lightness=ea,rr()},Zo=()=>{rr()},rr=()=>{_n.startActive?(Cn("update:startColor",_n.startColor),Cn("startColorChange",_n.startColor)):(Cn("update:endColor",_n.endColor),Cn("endColorChange",_n.endColor))},nr=()=>{In.value=!1,Cn("advanceChange",!1)},ta=()=>{_n.type=_n.type==="linear"?"radial":"linear",Cn("typeChange",_n.type)},oa=useLocalStorage(he,[],{}),ra=useDebounceFn(()=>{if($n.disableHistory)return;const ea=Ln.value.toRgbString();if(oa.value=oa.value.filter(la=>!tinycolor.equals(la,ea)),!oa.value.includes(ea)){for(;oa.value.length>pe;)oa.value.pop();oa.value.unshift(ea)}},500);return tryOnMounted(()=>{Rn.value&&Nn.value&&(Vn.triggerDragEvent(Rn.value,{drag:ea=>{Wn(ea)},end:ea=>{Wn(ea)}}),Vn.triggerDragEvent(Nn.value,{drag:ea=>{zn(ea)},end:ea=>{zn(ea)}}))}),whenever(()=>_n.startColor,ea=>{_n.startColorRgba=ea.toRgbString()},{deep:!0}),whenever(()=>_n.endColor,ea=>{_n.endColorRgba=ea.toRgbString()},{deep:!0}),whenever(()=>Ln.value,()=>{ra()},{deep:!0}),{startGradientRef:Nn,stopGradientRef:Rn,colorRangeRef:Dn,state:_n,currentColor:Ln,getStartColorLeft:Fn,getEndColorLeft:Bn,gradientBg:Hn,advancePanelShow:In,onDegreeBlur:Yn,onCompactChange:Go,onAlphaChange:Xn,onHueChange:Yo,onBoardChange:qo,onLightChange:Jo,historyColors:oa,onBack:nr,onDegreeChange:Gn,onDisplayChange:Zo,onTypeChange:ta,lang:Pn==null?void 0:Pn.lang}}}),Ie=$n=>(pushScopeId("data-v-431cadee"),$n=$n(),popScopeId(),$n),io={class:"vc-gradient-picker"},co={class:"vc-gradient-picker__header"},uo={class:"vc-gradient__types"},go={class:"vc-gradient-wrap__types"},ho={class:"vc-picker-degree-input vc-degree-input"},po={class:"vc-degree-input__control"},fo=["value"],Co={class:"vc-degree-input__panel"},vo={class:"vc-degree-input__disk"},bo={class:"vc-gradient-picker__body"},yo={class:"vc-color-range",ref:"colorRangeRef"},_o={class:"vc-color-range__container"},mo={class:"vc-gradient__stop__container"},So=["title"],ko=Ie(()=>createBaseVNode("span",{class:"vc-gradient__stop--inner"},null,-1)),$o=[ko],wo=["title"],Ho=Ie(()=>createBaseVNode("span",{class:"vc-gradient__stop--inner"},null,-1)),Ro=[Ho];function Bo($n,Cn,_n,Pn,In,Nn){var Rn,Dn;const Ln=resolveComponent("Angle"),Fn=resolveComponent("Board"),Bn=resolveComponent("Hue"),Hn=resolveComponent("Palette"),zn=resolveComponent("Lightness"),Wn=resolveComponent("Alpha"),Yn=resolveComponent("Display"),Gn=resolveComponent("History");return openBlock(),createElementBlock("div",io,[createBaseVNode("div",co,[createBaseVNode("div",null,[withDirectives(createBaseVNode("div",{class:"back",style:{cursor:"pointer"},onClick:Cn[0]||(Cn[0]=(...Go)=>$n.onBack&&$n.onBack(...Go))},null,512),[[vShow,$n.pickerType==="fk"&&$n.advancePanelShow]])]),createBaseVNode("div",uo,[createBaseVNode("div",go,[(openBlock(),createElementBlock(Fragment,null,renderList(["linear","radial"],Go=>createBaseVNode("div",{class:normalizeClass(["vc-gradient__type",{active:$n.state.type===Go}]),key:Go,onClick:Cn[1]||(Cn[1]=(...Xn)=>$n.onTypeChange&&$n.onTypeChange(...Xn))},toDisplayString$1($n.lang?$n.lang[Go]:Go),3)),64))]),withDirectives(createBaseVNode("div",ho,[createBaseVNode("div",po,[createBaseVNode("input",{value:$n.state.angle,onBlur:Cn[2]||(Cn[2]=(...Go)=>$n.onDegreeBlur&&$n.onDegreeBlur(...Go))},null,40,fo),createTextVNode("deg ")]),createBaseVNode("div",Co,[createBaseVNode("div",vo,[createVNode(Ln,{angle:$n.state.angle,"onUpdate:angle":Cn[3]||(Cn[3]=Go=>$n.state.angle=Go),size:40,onChange:$n.onDegreeChange},null,8,["angle","onChange"])])])],512),[[vShow,$n.state.type==="linear"]])])]),createBaseVNode("div",bo,[createBaseVNode("div",yo,[createBaseVNode("div",_o,[createBaseVNode("div",{class:"vc-background",style:normalizeStyle$1($n.gradientBg)},null,4),createBaseVNode("div",mo,[createBaseVNode("div",{class:normalizeClass(["vc-gradient__stop",{"vc-gradient__stop--current":$n.state.startActive}]),ref:"startGradientRef",title:(Rn=$n.lang)==null?void 0:Rn.start,style:normalizeStyle$1({left:$n.getStartColorLeft+"px",backgroundColor:$n.state.startColorRgba})},$o,14,So),createBaseVNode("div",{class:normalizeClass(["vc-gradient__stop",{"vc-gradient__stop--current":!$n.state.startActive}]),ref:"stopGradientRef",title:(Dn=$n.lang)==null?void 0:Dn.end,style:normalizeStyle$1({left:$n.getEndColorLeft+"px",backgroundColor:$n.state.endColorRgba})},Ro,14,wo)])])],512)]),$n.advancePanelShow?(openBlock(),createBlock(Fn,{key:0,color:$n.currentColor,onChange:$n.onBoardChange},null,8,["color","onChange"])):createCommentVNode("",!0),$n.advancePanelShow?(openBlock(),createBlock(Bn,{key:1,color:$n.currentColor,onChange:$n.onHueChange},null,8,["color","onChange"])):createCommentVNode("",!0),$n.advancePanelShow?createCommentVNode("",!0):(openBlock(),createBlock(Hn,{key:2,onChange:$n.onCompactChange},null,8,["onChange"])),$n.advancePanelShow?createCommentVNode("",!0):(openBlock(),createBlock(zn,{key:3,color:$n.currentColor,onChange:$n.onLightChange},null,8,["color","onChange"])),$n.disableAlpha?createCommentVNode("",!0):(openBlock(),createBlock(Wn,{key:4,color:$n.currentColor,onChange:$n.onAlphaChange},null,8,["color","onChange"])),createVNode(Yn,{color:$n.currentColor,"disable-alpha":$n.disableAlpha,onChange:$n.onDisplayChange},null,8,["color","disable-alpha","onChange"]),$n.disableHistory?createCommentVNode("",!0):(openBlock(),createBlock(Gn,{key:5,round:$n.roundHistory,colors:$n.historyColors,onChange:$n.onCompactChange},null,8,["round","colors","onChange"]))])}const Ae=X(so,[["render",Bo],["__scopeId","data-v-431cadee"]]),Ao=defineComponent({name:"WrapContainer",props:{theme:C$1.oneOf(["white","black"]).def("white"),showTab:C$1.bool.def(!1),activeKey:C$1.oneOf(["pure","gradient"]).def("pure")},emits:["update:activeKey","change"],setup($n,{emit:Cn}){const _n=reactive({activeKey:$n.activeKey}),Pn=inject(me),In=Nn=>{_n.activeKey=Nn,Cn("update:activeKey",Nn),Cn("change",Nn)};return whenever(()=>$n.activeKey,Nn=>{_n.activeKey=Nn}),{state:_n,onActiveKeyChange:In,lang:Pn==null?void 0:Pn.lang}}}),Po={class:"vc-colorpicker--container"},Vo={key:0,class:"vc-colorpicker--tabs"},Mo={class:"vc-colorpicker--tabs__inner"},Io={class:"vc-btn__content"},Ko={class:"vc-btn__content"};function Lo($n,Cn,_n,Pn,In,Nn){var Rn,Dn;return openBlock(),createElementBlock("div",{class:normalizeClass(["vc-colorpicker",$n.theme])},[createBaseVNode("div",Po,[$n.showTab?(openBlock(),createElementBlock("div",Vo,[createBaseVNode("div",Mo,[createBaseVNode("div",{class:normalizeClass(["vc-colorpicker--tabs__btn",{"vc-btn-active":$n.state.activeKey==="pure"}]),onClick:Cn[0]||(Cn[0]=Ln=>$n.onActiveKeyChange("pure"))},[createBaseVNode("button",null,[createBaseVNode("div",Io,toDisplayString$1((Rn=$n.lang)==null?void 0:Rn.pure),1)])],2),createBaseVNode("div",{class:normalizeClass(["vc-colorpicker--tabs__btn",{"vc-btn-active":$n.state.activeKey==="gradient"}]),onClick:Cn[1]||(Cn[1]=Ln=>$n.onActiveKeyChange("gradient"))},[createBaseVNode("button",null,[createBaseVNode("div",Ko,toDisplayString$1((Dn=$n.lang)==null?void 0:Dn.gradient),1)])],2),createBaseVNode("div",{class:"vc-colorpicker--tabs__bg",style:normalizeStyle$1({width:"50%",left:`calc(${$n.state.activeKey==="gradient"?50:0}%)`})},null,4)])])):createCommentVNode("",!0),renderSlot($n.$slots,"default",{},void 0,!0)])],2)}const Eo=X(Ao,[["render",Lo],["__scopeId","data-v-0492277d"]]),No={start:"Start",end:"End",pure:"Pure",gradient:"Gradient",linear:"linear",radial:"radial"},Wo={start:"开始",end:"结束",pure:"纯色",gradient:"渐变",linear:"线性",radial:"径向"},To={En:No,"ZH-cn":Wo},Do={isWidget:C$1.bool.def(!1),pickerType:C$1.oneOf(["fk","chrome"]).def("fk"),shape:C$1.oneOf(["circle","square"]).def("square"),pureColor:{type:[String,Object],default:"#000000"},gradientColor:C$1.string.def("linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%)"),format:{type:String,default:"rgb"},disableAlpha:C$1.bool.def(!1),disableHistory:C$1.bool.def(!1),roundHistory:C$1.bool.def(!1),useType:C$1.oneOf(["pure","gradient","both"]).def("pure"),activeKey:C$1.oneOf(["pure","gradient"]).def("pure"),lang:{type:String,default:"ZH-cn"},zIndex:C$1.number.def(9999),pickerContainer:{type:[String,HTMLElement],default:"body"},debounce:C$1.number.def(100),theme:C$1.oneOf(["white","black"]).def("white")},Oo=defineComponent({name:"ColorPicker",components:{FkColorPicker:Re,ChromeColorPicker:Be,GradientColorPicker:Ae,WrapContainer:Eo},inheritAttrs:!1,props:Do,emits:["update:pureColor","pureColorChange","update:gradientColor","gradientColorChange","update:activeKey","activeKeyChange"],setup($n,{emit:Cn}){provide(me,{lang:computed(()=>To[$n.lang||"ZH-cn"])});const _n=reactive({pureColor:$n.pureColor||"",activeKey:$n.useType==="gradient"?"gradient":$n.activeKey,isAdvanceMode:!1}),Pn=new B("#000"),In=new B("#000"),Nn=new B(_n.pureColor),Rn=reactive({startColor:Pn,endColor:In,startColorStop:0,endColorStop:100,angle:0,type:"linear",gradientColor:$n.gradientColor}),Dn=ref(Nn),Ln=ref(!1),Fn=ref(null),Bn=ref(null);let Hn=null;const zn=computed(()=>({background:_n.activeKey!=="gradient"?tinycolor(_n.pureColor).toRgbString():Rn.gradientColor})),Wn=computed(()=>_n.activeKey==="gradient"?Ae.name:$n.pickerType==="fk"?Re.name:Be.name),Yn=oa=>{_n.isAdvanceMode=oa},Gn=computed(()=>{const oa={disableAlpha:$n.disableAlpha,disableHistory:$n.disableHistory,roundHistory:$n.roundHistory,pickerType:$n.pickerType};return _n.activeKey==="gradient"?{...oa,startColor:Rn.startColor,endColor:Rn.endColor,angle:Rn.angle,type:Rn.type,startColorStop:Rn.startColorStop,endColorStop:Rn.endColorStop,onStartColorChange:ra=>{Rn.startColor=ra,qo()},onEndColorChange:ra=>{Rn.endColor=ra,qo()},onStartColorStopChange:ra=>{Rn.startColorStop=ra,qo()},onEndColorStopChange:ra=>{Rn.endColorStop=ra,qo()},onAngleChange:ra=>{Rn.angle=ra,qo()},onTypeChange:ra=>{Rn.type=ra,qo()},onAdvanceChange:Yn}:{...oa,disableAlpha:$n.disableAlpha,disableHistory:$n.disableHistory,roundHistory:$n.roundHistory,color:Dn.value,onChange:rr,onAdvanceChange:Yn}}),Go=()=>{Ln.value=!0,Hn?Hn.update():Zo()},Xn=()=>{Ln.value=!1},Yo=()=>{var oa,ra,ea,la;try{const[ua]=parse(Rn.gradientColor);if(ua&&ua.type.includes("gradient")&&ua.colorStops.length>=2){const ga=ua.colorStops[0],aa=ua.colorStops[1];Rn.startColorStop=Number((oa=ga.length)==null?void 0:oa.value)||0,Rn.endColorStop=Number((ra=aa.length)==null?void 0:ra.value)||0,ua.type==="linear-gradient"&&((ea=ua.orientation)==null?void 0:ea.type)==="angular"&&(Rn.angle=Number((la=ua.orientation)==null?void 0:la.value)||0),Rn.type=ua.type.split("-")[0];const[ca,sa,ia,fa]=ga.value,[ma,ya,ba,Ia]=aa.value;Rn.startColor=new B({r:Number(ca),g:Number(sa),b:Number(ia),a:Number(fa)}),Rn.endColor=new B({r:Number(ma),g:Number(ya),b:Number(ba),a:Number(Ia)})}}catch(ua){console.log(`[Parse Color]: ${ua}`)}},qo=useDebounceFn(()=>{const oa=Jo();try{Rn.gradientColor=stringify(oa),Cn("update:gradientColor",Rn.gradientColor),Cn("gradientColorChange",Rn.gradientColor)}catch(ra){console.log(ra)}},$n.debounce),Jo=()=>{const oa=[],ra=Rn.startColor.RGB.map(ua=>ua.toString()),ea=Rn.endColor.RGB.map(ua=>ua.toString()),la=[{type:"rgba",value:[ra[0],ra[1],ra[2],ra[3]],length:{value:Rn.startColorStop+"",type:"%"}},{type:"rgba",value:[ea[0],ea[1],ea[2],ea[3]],length:{value:Rn.endColorStop+"",type:"%"}}];return Rn.type==="linear"?oa.push({type:"linear-gradient",orientation:{type:"angular",value:Rn.angle+""},colorStops:la}):Rn.type==="radial"&&oa.push({type:"radial-gradient",orientation:[{type:"shape",value:"circle"}],colorStops:la}),oa},Zo=()=>{Fn.value&&Bn.value&&(Hn=createPopper(Fn.value,Bn.value,{placement:"auto",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{allowedAutoPlacements:["top","bottom","left","right"],rootBoundary:"viewport"}}]}))},rr=oa=>{Dn.value=oa,_n.pureColor=oa.toString($n.format),nr()},nr=useDebounceFn(()=>{Cn("update:pureColor",_n.pureColor),Cn("pureColorChange",_n.pureColor)},$n.debounce);onClickOutside(Bn,()=>{Xn()});const ta=oa=>{_n.activeKey=oa,Cn("update:activeKey",oa),Cn("activeKeyChange",oa)};return tryOnMounted(()=>{Yo()}),whenever(()=>$n.gradientColor,oa=>{oa!=Rn.gradientColor&&(Rn.gradientColor=oa)}),whenever(()=>Rn.gradientColor,()=>{Yo()}),whenever(()=>$n.activeKey,oa=>{_n.activeKey=oa}),whenever(()=>$n.useType,oa=>{_n.activeKey!=="gradient"&&oa==="gradient"?_n.activeKey="gradient":_n.activeKey="pure"}),whenever(()=>$n.pureColor,oa=>{tinycolor.equals(oa,_n.pureColor)||(_n.pureColor=oa,Dn.value=new B(oa))},{deep:!0}),{colorCubeRef:Fn,pickerRef:Bn,showPicker:Ln,colorInstance:Dn,getBgColorStyle:zn,onColorChange:rr,onShowPicker:Go,onActiveKeyChange:ta,getComponentName:Wn,getBindArgs:Gn,state:_n}}});function zo($n,Cn,_n,Pn,In,Nn){const Rn=resolveComponent("WrapContainer");return openBlock(),createElementBlock(Fragment,null,[$n.isWidget?(openBlock(),createBlock(Rn,{key:0,"active-key":$n.state.activeKey,"onUpdate:activeKey":Cn[0]||(Cn[0]=Dn=>$n.state.activeKey=Dn),"show-tab":$n.useType==="both",onChange:$n.onActiveKeyChange,style:normalizeStyle$1({zIndex:$n.zIndex}),theme:$n.theme},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.getComponentName),mergeProps({key:$n.getComponentName},$n.getBindArgs),null,16))]),_:1},8,["active-key","show-tab","onChange","style","theme"])):createCommentVNode("",!0),$n.isWidget?createCommentVNode("",!0):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",{class:normalizeClass(["vc-color-wrap transparent",{round:$n.shape==="circle"}]),ref:"colorCubeRef"},[createBaseVNode("div",{class:"current-color",style:normalizeStyle$1($n.getBgColorStyle),onClick:Cn[1]||(Cn[1]=(...Dn)=>$n.onShowPicker&&$n.onShowPicker(...Dn))},null,4)],2),(openBlock(),createBlock(Teleport,{to:$n.pickerContainer},[withDirectives(createBaseVNode("div",{ref:"pickerRef",style:normalizeStyle$1({zIndex:$n.zIndex})},[$n.showPicker?(openBlock(),createBlock(Rn,{key:0,"show-tab":$n.useType==="both"&&!$n.state.isAdvanceMode,"active-key":$n.state.activeKey,"onUpdate:activeKey":Cn[2]||(Cn[2]=Dn=>$n.state.activeKey=Dn),onChange:$n.onActiveKeyChange,theme:$n.theme},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.getComponentName),mergeProps({key:$n.getComponentName},$n.getBindArgs),null,16))]),_:1},8,["show-tab","active-key","onChange","theme"])):createCommentVNode("",!0)],4),[[vShow,$n.showPicker]])],8,["to"]))],64))],64)}const ae=X(Oo,[["render",zo],["__scopeId","data-v-3ba84123"]]),Qo={install:$n=>{$n.component(ae.name,ae),$n.component("Vue3"+ae.name,ae)}},app=createApp(_sfc_main);app.use(Antd).use(Qo).use(i18n).use(router).mount("#app");router.beforeEach(($n,Cn,_n)=>{const Pn=getAuthState();Pn!=null&&Pn.state||$n.path.startsWith("/login")?_n():(console.log(222),_n({path:`/login?redirect=${Cn.path}`}))});export{CopyOutlined$1 as $,AntdIcon as A,localeConfig as B,getAuthState as C,watch as D,changeLanguage as E,lodashExports as F,createBlock as G,withKeys as H,Icon as I,Fragment as J,renderList as K,isRef as L,LOCAL_STORAGE_THEME as M,PRIMARY_COLOR_DEFAULT as N,removeAuthState as O,PRIMARY_COLOR as P,createCommentVNode as Q,provide as R,SearchOutlined$1 as S,Transition as T,resolveDynamicComponent as U,getDefaultExportFromCjs as V,onMounted as W,router as X,PRIMARY_COLOR_T as Y,withDirectives as Z,_export_sfc as _,useRoute as a,vShow as a0,INSTANCE_DEPLOY_COLOR as a1,INSTANCE_REGISTER_COLOR as a2,nextTick as a3,createSlots as a4,ClockCircleOutlined$1 as a5,normalizeClass as a6,DeleteOutlined$1 as a7,renderSlot as a8,DoubleLeftOutlined$1 as a9,DoubleRightOutlined$1 as aa,dayjs as ab,commonjsGlobal as ac,normalizeStyle$1 as ad,withModifiers as ae,__vitePreload as af,Modal as ag,createVNode as b,createElementBlock as c,defineComponent as d,resolveComponent as e,createTextVNode as f,updateAuthState as g,popScopeId as h,i18n as i,createBaseVNode as j,getCurrentInstance as k,computed as l,message as m,unref as n,openBlock as o,pushScopeId as p,routes as q,reactive as r,h$3 as s,toDisplayString$1 as t,useRouter as u,useCssVars as v,withCtx as w,inject as x,PROVIDE_INJECT_KEY as y,ref as z};
-function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["assets/Login-imIhMlq6.js","assets/login-9T-XtNdg.js","assets/request-8jI_GZey.js","assets/Login-OEOmZzrT.css","assets/index-tgq9rPkt.js","assets/app-duU6O0cq.js","assets/instance-9-P3Wy8N.js","assets/service-HiIVI9X0.js","assets/index-1FKHxc4J.css","assets/index-bidvosE-.js","assets/serverInfo-j8z5RY-E.js","assets/index-bVXendlO.css","assets/index-1-DS2ySp.js","assets/SearchUtil-sOWd6ofa.js","assets/SearchUtil-Fi_1zs66.css","assets/index-ymIevjDI.css","assets/detail-c9-keEBq.js","assets/index-Va7nxJVK.js","assets/instance-GgpcTYxF.js","assets/DateUtil-BI1mUH_z.js","assets/PromQueryUtil-2EbGMcmH.js","assets/ByteUtil-YdHlSEeW.js","assets/instance-q0PmH8ZQ.css","assets/service-SHOGrh_I.js","assets/service-ExPGSUQV.css","assets/monitor-sGZqYA6v.js","assets/GrafanaPage-_hmQyI5w.js","assets/GrafanaPage-RVDi4ROE.css","assets/tracing-92ETcaci.js","assets/config-Bcppce3q.js","assets/ConfigPage--FZz2L2D.js","assets/ConfigPage-cVEIcX7I.css","assets/config-c0xW8oe-.css","assets/event-ympyACpm.js","assets/event-0p00qhH9.css","assets/index-VJs-1Ntn.js","assets/index-ZwzA_cjG.css","assets/detail-ZfcGZsJx.js","assets/monitor-l-14_P1G.js","assets/linkTracking-vLLhx3tk.js","assets/configuration-c8iwuhKj.js","assets/search-ZPtMszjO.js","assets/search-WG_H-dj7.css","assets/distribution-rzJg55IY.js","assets/distribution-6xS25HWj.css","assets/monitor-4PTw3Hnl.js","assets/tracing-ga_5tnvN.js","assets/sceneConfig-b6LJLlLg.js","assets/sceneConfig-ym7dtk3_.css","assets/event-PfSKfl9X.js","assets/event-lmBmBbXg.css","assets/index-3ObQClF5.js","assets/traffic-C2a-KjHH.js","assets/index-frGZziTc.css","assets/formView-dr6vkirR.js","assets/formView-vPzA7v6e.css","assets/YAMLView-lT4dPq7F.js","assets/js-yaml-8Gkz3BRW.js","assets/js-yaml-TGthJqWD.css","assets/YAMLView-pRLW5CcG.css","assets/addByFormView-PDTQ6Oi5.js","assets/addByFormView-dOXVpw6L.css","assets/addByYAMLView-mp4IQp11.js","assets/addByYAMLView-BhMg41Un.css","assets/updateByFormView-ykpq9Kli.js","assets/updateByFormView-xj5SSwKL.css","assets/updateByYAMLView-C-qbsfZ8.js","assets/updateByYAMLView--JNoYLc_.css","assets/index-JAGQH17O.js","assets/index-DgO44mZ7.css","assets/formView-yOHva0ty.js","assets/formView-94FyHCnm.css","assets/YAMLView-q7Cf5xIc.js","assets/YAMLView-aVJMfs-Z.css","assets/addByFormView-L619fQ34.js","assets/addByFormView-WZtXwxTg.css","assets/addByYAMLView-KSfwZr8J.js","assets/addByYAMLView-JtG8ss_3.css","assets/updateByFormView-uqlnXIPo.js","assets/updateByFormView-4kEkTPi2.css","assets/updateByYAMLView-CBQATUCs.js","assets/updateByYAMLView-p2OY6kUu.css","assets/index-6mDJigRo.js","assets/index-sqj_NuZt.css","assets/formView--eWAQ02R.js","assets/ConfigModel-QFNd-Zdd.js","assets/formView-IqMlu-2J.css","assets/YAMLView-Kv0Zh07k.js","assets/YAMLView-G9GNoDTj.css","assets/notFound-gtHVn9y2.js","assets/notFound-DMLJUJ6x.css"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
-}
diff --git a/app/dubbo-ui/dist/admin/assets/index-jbm-YZ4W.js b/app/dubbo-ui/dist/admin/assets/index-jbm-YZ4W.js
new file mode 100644
index 0000000..6e09439
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/index-jbm-YZ4W.js
@@ -0,0 +1 @@
+import{d as N,v as g,a as w,r as b,D,F as S,c as n,b as _,w as l,n as p,P as v,U as V,e as q,o as t,L as y,M as C,J as h,f as d,t as c,Y as R,j as A,I as E,T as B,z as M,_ as O}from"./index-3zDsduUv.js";import{s as T}from"./app-mdoSebGq.js";import{S as Y,a as F,s as x}from"./SearchUtil-bfid3zNl.js";import"./request-3an337VF.js";const L={class:"__container_resources_application_index"},P=["onClick"],J=N({__name:"index",setup($){g(e=>({d89413de:p(v)}));let u=w(),k=u.query.query,f=[{title:"appName",key:"appName",dataIndex:"appName",sorter:(e,s)=>x(e.appName,s.appName),width:140,ellipsis:!0},{title:"applicationDomain.instanceCount",key:"instanceCount",dataIndex:"instanceCount",width:100,sorter:(e,s)=>x(e.instanceCount,s.instanceCount)},{title:"applicationDomain.deployClusters",key:"deployClusters",dataIndex:"deployClusters",width:120},{title:"applicationDomain.registryClusters",key:"registryClusters",dataIndex:"registryClusters",width:200}];const a=b(new Y([{label:"appName",param:"keywords",defaultValue:k,placeholder:"typeAppName",style:{width:"200px"}}],T,f));return D(()=>{a.onSearch(),a.tableStyle={scrollX:"100",scrollY:"367px"}}),V(M.SEARCH_DOMAIN,a),S(u,(e,s)=>{a.queryForm.keywords=e.query.query,a.onSearch(),console.log(e)}),(e,s)=>{const m=q("a-tag");return t(),n("div",L,[_(F,{"search-domain":a},{bodyCell:l(({text:i,record:I,index:j,column:r})=>[r.dataIndex==="registryClusters"?(t(!0),n(y,{key:0},C(i,o=>(t(),h(m,null,{default:l(()=>[d(c(o),1)]),_:2},1024))),256)):r.dataIndex==="deployClusters"?(t(!0),n(y,{key:1},C(i,o=>(t(),h(m,null,{default:l(()=>[d(c(o),1)]),_:2},1024))),256)):r.dataIndex==="appName"?(t(),n("span",{key:2,class:"app-link",onClick:o=>p(R).push(`/resources/applications/detail/${I[r.key]}`)},[A("b",null,[_(p(E),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),d(" "+c(i),1)])],8,P)):B("",!0)]),_:1},8,["search-domain"])])}}}),X=O(J,[["__scopeId","data-v-2d6e7df7"]]);export{X as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-BItwxFIb.js b/app/dubbo-ui/dist/admin/assets/index-tIlk8-2z.js
similarity index 90%
rename from app/dubbo-ui/dist/admin/assets/index-BItwxFIb.js
rename to app/dubbo-ui/dist/admin/assets/index-tIlk8-2z.js
index d032dcd..3bccca4 100644
--- a/app/dubbo-ui/dist/admin/assets/index-BItwxFIb.js
+++ b/app/dubbo-ui/dist/admin/assets/index-tIlk8-2z.js
@@ -1 +1 @@
-import{d as b,u as d,c as u,f as o,b as s,w as r,n as _,j as t,e as c,o as i}from"./index-hmLAZQYT.js";const h={class:"__container_tab_index"},p=t("br",null,null,-1),f=t("a",{href:"/admin/common/tab/tab1/pathId1"},"to tab1 by href",-1),m=t("br",null,null,-1),x=t("a",{href:"tab2/pathId1"},"to tab2 by href",-1),C=t("br",null,null,-1),k=t("br",null,null,-1),B=b({__name:"index",setup(v){const n=d();return(y,e)=>{const a=c("a-button");return i(),u("div",h,[o(" tab page "),p,f,m,x,C,s(a,{onClick:e[0]||(e[0]=l=>_(n).push("/common/tab/tab1/pathId1"))},{default:r(()=>[o("to tab1 by href")]),_:1}),k,s(a,{onClick:e[1]||(e[1]=l=>_(n).push("tab2/pathId1"))},{default:r(()=>[o("to tab2 by href")]),_:1})])}}});export{B as default};
+import{d as b,u as d,c as u,f as o,b as s,w as r,n as _,j as t,e as c,o as i}from"./index-3zDsduUv.js";const h={class:"__container_tab_index"},p=t("br",null,null,-1),f=t("a",{href:"/admin/common/tab/tab1/pathId1"},"to tab1 by href",-1),m=t("br",null,null,-1),x=t("a",{href:"tab2/pathId1"},"to tab2 by href",-1),C=t("br",null,null,-1),k=t("br",null,null,-1),B=b({__name:"index",setup(v){const n=d();return(y,e)=>{const a=c("a-button");return i(),u("div",h,[o(" tab page "),p,f,m,x,C,s(a,{onClick:e[0]||(e[0]=l=>_(n).push("/common/tab/tab1/pathId1"))},{default:r(()=>[o("to tab1 by href")]),_:1}),k,s(a,{onClick:e[1]||(e[1]=l=>_(n).push("tab2/pathId1"))},{default:r(()=>[o("to tab2 by href")]),_:1})])}}});export{B as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-tgq9rPkt.js b/app/dubbo-ui/dist/admin/assets/index-tgq9rPkt.js
deleted file mode 100644
index 7a6a3fc..0000000
--- a/app/dubbo-ui/dist/admin/assets/index-tgq9rPkt.js
+++ /dev/null
@@ -1 +0,0 @@
-import{b as n,A as X,d as T,k as re,a as Z,l as z,r as E,u as q,e as u,o as f,c as j,n as i,q as xe,s as le,I as ue,_ as Q,v as ie,P as L,x as te,y as V,z as U,B as Pe,C as be,D as ne,E as ye,F as Ae,w as c,G as F,H as De,J as I,K as de,f as K,t as G,S as Me,L as we,j as R,M as ae,N as ze,O as je,p as Be,h as Ye,Q as pe,R as Fe,T as Ke,U as Re}from"./index-hmLAZQYT.js";import{s as Le}from"./app-duU6O0cq.js";import{s as Ue}from"./instance-9-P3Wy8N.js";import{s as He}from"./service-HiIVI9X0.js";import{a as Ne}from"./login-9T-XtNdg.js";import"./request-8jI_GZey.js";var Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"};const Ce=Se;function oe(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},s=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),s.forEach(function(o){Ee(a,o,t[o])})}return a}function Ee(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var k=function(e,t){var s=oe({},e,t.attrs);return n(X,oe({},s,{icon:Ce}),null)};k.displayName="MenuFoldOutlined";k.inheritAttrs=!1;const Ge=k;var Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"};const Qe=Te;function ce(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},s=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),s.forEach(function(o){Ve(a,o,t[o])})}return a}function Ve(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var J=function(e,t){var s=ce({},e,t.attrs);return n(X,ce({},s,{icon:Qe}),null)};J.displayName="MenuUnfoldOutlined";J.inheritAttrs=!1;const Xe=J;var Ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const qe=Ze;function se(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},s=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(t).filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),s.forEach(function(o){Ie(a,o,t[o])})}return a}function Ie(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var W=function(e,t){var s=se({},e,t.attrs);return n(X,se({},s,{icon:qe}),null)};W.displayName="UserOutlined";W.inheritAttrs=!1;const ke=W,Je={class:"__container_menu"},We=T({__name:"layout_menu",setup(a){const{appContext:{config:{globalProperties:e}}}=re(),t=xe,s=Z();let o=z(()=>[O(s.meta)]),P=E([]);function O(l){var d;return l.tab||l.hidden?O((d=l.parent)==null?void 0:d.meta):l._router_key}function D(){var d,x;let l=s.meta.parent;for(;l;)P.push((d=l.meta)==null?void 0:d._router_key),l=(x=l.meta)==null?void 0:x.parent}D();function b(l){o[0]=l.key}function _(l,d,x,h,B,m){return h&&(h=le(ue,{icon:h})),{key:x,title:d,icon:h,children:B,label:z(()=>e.$t(l)),type:m}}const y=E([]);function A(l,d,x="root"){var h,B,m,p,g,M,Y,w,S;if(!(!l||l.length===0))for(let r of l){if((h=r.meta)!=null&&h.skip){A(r.children,d,r.name);continue}if(!((B=r.meta)!=null&&B.hidden))if(!r.children||r.children.length===0||(m=r.meta)!=null&&m.tab_parent)d.push(_(r.name,r.path,(p=r.meta)==null?void 0:p._router_key,(g=r.meta)==null?void 0:g.icon));else if(r.children.length===1)d.push(_(r.children[0].name,r.path,(M=r.meta)==null?void 0:M._router_key,(Y=r.children[0].meta)==null?void 0:Y.icon));else{const C=E([]);A(r.children,C,r.name),d.push(_(r.name,r.path,(w=r.meta)==null?void 0:w._router_key,(S=r.meta)==null?void 0:S.icon,C))}}}A(t,y);const H=q(),N=l=>{var d;H.push((d=l.item)==null?void 0:d.title)};return(l,d)=>{const x=u("a-menu");return f(),j("div",Je,[n(x,{mode:"inline",selectedKeys:i(o),"open-keys":i(P),onSelect:b,items:y,onClick:N},null,8,["selectedKeys","open-keys","items"])])}}}),$e=Q(We,[["__scopeId","data-v-0c21c672"]]),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ0AAAENCAYAAAAVEjAIAAAOg0lEQVR4Xu3dYXXjSBSE0YUwEAJhIQjCQDCEgSAIA8EQBoIhLARDWAa17mQzZ1KJbcVx8rq7vnuO/3eXyi+SLDt//XVHkhYB0r+n1+H/18/Taz29dnrqxzfvDYL9Xwrgmueh0gZKGyZ/e5cQQgwNfEwbJO2sZPFuYVLtYFsJgI9oQ+TH6fXgXcMkxNDA5znq6XKGS5mZiKGBr9EGSLuMefAOYjBiaODrtUuYnXcRgxBDA3XaJzLt8uXBe4mOiaGBPuzFJzBjaAfKjx5QqF26LN5TdKQdID9qQAcYHr1qB8aPFtCRNjz4yLYnYmhgDO2eB9+B6YEYGhhH+7Rl9Q7ji4mhgfEcxf2OOi18PyLAINozHlyyfDUxNDA2zjq+WgvcjwIwIM46vooYGpjHP+Lj2c8nhgbm88N7jjsSQwNz2ovLlc8hhgbmxeXKZxBDA3NrD4Qt3nt8QAvUUwYmtPPu40ZiaCDH3vuPG4ihgSx7fw/gncTQQJ52g5RPVm4lhgYyMThuJYYGcjE4biGGBrIxON5LDA2AwfEeYmgADYNjKzE0gGcMji3E0AD+tPf3CIwYGoDb+/sEfxBDA3gLv8lxjhgawDk7f7/gL4YGcEH7Wj2/x+HE0AAuOYpPVF4SQwO45uDvm2hiaABbrP7eiSWGxmdp18OHDl+43Xd//0QSQ+Me2oDYn16702vxjHti68b7tOPM/Q0xNG71PCiGurvum8C7HTzTOGJovFcbFqsG/Yvjm8FNsh/8EkNjq6GHxTPfFG421BnmXYmhscXh9Hrw7EbkG8PN/vFsY4ihcc3qmY3MN4cPWT3fCGJonDPlf+byTeLD8i5TxNB4y7TfOfCN4sMOnvH0xNBw0w6MxjeLu8j6NEUMjT9NPTAa3zDuIuuhLzE0/rTzfGbjG8bd7D3raYmh8eynZzMj3zTuauqz1N/E0GiOCjm99I3jrg6e95TE0GgWz2VWvnHc3eKZT6dt0ncdZu+ZzMw3j7s7eubTEUPjwTOZmW8en2LnuU9F2UNj73nMzgPApzh67lNR9tDIuNv9Bw8An2bn2U9DuUNjyG8pntb9t56O2a0vfI2jH7tpKLdIQzz6e1rnQ1urnv45Mcay8+M5BeUOja4vTU7r+6annxPEuI5+XKegzKHxr+fQk9P6vrc1+qIxpJ0f3+Epc2j88hx6oaefFMQ8Dn6Mh6fMobF6Dj3Q070LzGfxYz20tiHfYYDvnkO1tiZfJKax9+M9NGUOjcVzqKSnm57cw5jbPF+IFEOjnLiPkWD14z4sBQ4Nz6CSOMtIcfRjPywxNErp6f+/IsPix39IbSO+s9l5BpVOy/nl68O09n78hySGRilxaZKk64cKNxNDo5SvDdPr7uP+dxNDo4yevrGKLHvvwXDE0CijwOwxwSWKAovrGVRRYPZ4NPYligKL6xlUUWD2eLT3LgxFgcX1DKooMHs8OnoXhqLA4noGVRSYPX7r+kegLlJgcT2DKgrMHr+t3odhKLC4nkEVBWaP34b8YetHCiyuZ1BFgdnjhTG/Lq/A4noGVRSYPV4Y86NXBRbXM6iiwOzxwk/vxBAUWFzPoIoCs8cLY97XUGBxPYMqCswer4x3X0OBxfUMqigwe7wy3n0NBRbXM6iiwOzxynj3NRRYXM+gigKzxysH70X3FFhcz6CKArPHa96L7imwuJ5BFQVmjzct3o2utQX7DmbnGVRRYPZ40w/vRtcUWFzPoIoCs8eb9t6NrimwuJ5BFQVmjzeN9ZCXAovrGVRRYPZ4m3ejawosrmdQRYHZ46zF+9Gttlhf/ew8gyoKzB5n7bwf3VJgcT2DKgrMHmeN82SoAovrGVRRYPY46+D96JYCi+sZVFFg9jhrnH+ipMDiegZVFJg9zvN+dEuBxfUMqigwe1y0eEe61BbqK5+dZ1BFgdnjop13pEsKLK5nUEWB2eOi1TvSJQUW1zOoosDscdHeO9IlBRbXM6iiwOxx0cE70iUFFtczqKLA7HHRGB+7KrC4nkEVBWaPy7wjXVJgcT2DKgrMHlc9eE+6o8DiegZVFJg9rlq8J91pi/RVz84zqKLA7HFV//8HRYHF9QyqKDB7XLV6T7qjwOJ6BlUUmD2uWr0n3VFgcT2DKgrMHlf98p50R4HF9QyqKDB7XHXwnnRHgcX1DKooMHtcdfCedEeBxfUMqigwe1zV/1OhCiyuZ1BFgdnjOu9JdxRYXM+gigKzx3Xek+4osLieQRUFZo/rvCfdUWBxPYMqCswemyzela60BfqKZ+cZVFFg9thk8a50pS3QVzw7z6CKArPHJot3pSttgb7i2XkGVRSYPTZZvCtdaQv0Fc/OM6iiwOyxyeJd6UpboK94dp5BFQVmj00W70pX2gJ9xbPzDKooMHtssnpXuqLA4noGVRSYPTZZvStdUWBxPYMqCswem6zela4osLieQRUFZo9NVu9KVxRYXM+gigKzxyard6UrCiyuZ1BFgdljk9W70hUFFtczqKLA7LHJ6l3pigKL6xlUUWD22GT1rnRFgcX1DKooMHtssnpXuqLA4noGVRSYPTZZvStdUWBxPYMqCswem6zela4osLieQRUFZo9NVu9KVxRYXM+gigKzxyY/vCtdUWBxPYMqCswemyzela60BfqKZ+cZVFFg9thk8a50pS3QVzw7z6CKArPHJot3pSttgb7i2XkGVRSYPTZZvCtdaQv0Fc/OM6iiwOyxyeJd6UpboK94dp5BFQVmj00evCtdUWBxPYMqCswe13lPuqPA4noGVRSYPa7znnRHgcX1DKooMHtc5z3pjgKL6xlUUWD2uOroPemOAovrGVRRYPa46uA96Y4Ci+sZVFFg9rjq4D3pjgKL6xlUUWD2uGrvPemOAovrGVRRYPa4avWedEeBxfUMqigwe1y1ek+6o8DiegZVFJg9rlq8J91pi/RVz84zqKLA7HHV4j3pTlukr3p2nkEVBWaPq755T7qjwOJ6BlUUmD0u8450SYHF9QyqKDB7XPSPd6RLCiyuZ1BFgdnjooN3pEsKLK5nUEWB2eOin96RLimwuJ5BFQVmj4tW70iXFFhcz6CKArPHRYt3pEttob7y2XkGVRSYPS762zvSJQUW1zOoosDscZ73o1sKLK5nUEWB2eOsMT5ubRRYXM+gigKzx1m/vB/dUmBxPYMqCsweZ63ej24psLieQRUFZo+zvns/uqXA4noGVRSYPc4a45OTRoHF9QyqKDB7vM270TUFFtczqKLA7PGmg3ejawosrmdQRYHZ401jfOfkmQKL6xlUUWD2eNPOu9E1BRbXM6iiwOzxpgfvRtcUWFzPoIoCs8cr/3ovuqfA4noGVRSYPV4Z50nQZwosrmdQRYHZ45XVe9E9BRbXM6iiwOzxyuK96F5btO9idp5BFQVmj5e8E0NQYHE9gyoKzB4vHLwTQ1BgcT2DKgrMHi+s3okhKLC4nkEVBWaPFxbvxBDawn0ns/MMqigwe/w23vMZzxRYXM+gigKzx2/jPZ/xTIHF9QyqKDB7/LbzPgxDgcX1DKooMHv89uB9GIYCi+sZVFFg9ng0zi+Pv0WBxfUMqigwezwa6/cznAKL6xlUUWD2eDTO74G+RYHF9QyqKDB76Og9GI4Ci+sZVDkt5ZuvDdMb+9KkEUOjlK8N0xv70qQRQ6PUaTlHXx+mdfTjPyQxNEqdlrP39WFa41+aNGJolDot57uvD9N68OM/JAUOjZNvnkMlcYmSYNzvmjhlDo3Fc6h0Ws/OF4jpLH7ch9U247sLsHgO1U5rOvgiMY2jH++hKXNo7DyHaqc1PZxe//pCMYWdH++hKXNorJ5DD07r+lsMjtm049nVPbQPU+bQOHgOvRCDYzarH+PhKXNodPWxq9PT4+Xc4xjffGcZjUKHxsl3z6I3ejo2DI9xrX5Mp6DcobH3LHqlp0uWH6fXr9Prn5fbQKfmPMtolDs0xv016A/wEPBpVs9+GsodGs3O85idB4BPMe9ZRqPsoXHwPGbnAeBTrJ77VJQ9NJrFM5mZbx53N/dZRiOGxti/DP1Ovnnc3Q/PfDpiaDTzH+j/+cZxV0fPe0piaDTtlPLBs5mRbxx31f2zP3chhsaziMsU3zTu5uBZT0sMjT/tPZ/Z+IZxNw+e9bTE0HA7z2gmvlncxeo5T00MjbfsPKdZ+EbxYUfN/hGrE0PjnJ1nNQPfJD4s4+bnn8TQuGTveY3ON4gPmefHgt9DDI1r2rdKHzy3UfnmcLP5n/w8RwyNLVpBpngAzDeGm+VdljwTQ+M92lnH4hmOxDeEm2ReljwTQ+MWBw36l8Y3gnc7KvWy5JkYGh/RCvRTA/0ncN8A3m3xTOO0EDwV3KTd92hnIKue/j9ry7W7v0gvVoz3Wj3PSGJoAFsc/L0TSwwN4Jrcj1ffIoYGcM3i75toLRBPCMBvUzyfc1diaADn7P39gr8YGsAZET/KdBMxNADXnvzlxuc5YmgAf2qflAzzsF4JMTSAZwyMLcTQAJ4N+X2iLyeGBtDs/L2BM8TQAHb+vsAFYmgg287fE7hCDA3k2vn7ARuIoYFMO38vYCMxNJBn5+8DvIMYGsjBcxj3IIYGMjAw7kUMDcyP75LckxgamNteDIz7EkMD81q977gDMTQwn3b/gu+RfBYxNDCXqf73bpfE0MA8fnq/8QnE0MD4jqfX4t3GJ2lh+xEABvJLfDrytcTQwJg4u6jSgvejAXSu/dNtzi6qiKGBcRzEo+D1xNBA/9qlCM9d9EIMDfSrPaS1emdRTAwN9OdxWIj7Fn0SQwP9YFiMQAwN1Gv3LHZiWIxBDA3UaQ9mcYNzNGJo4Gu1s4p2CfLgXcQgxNDA52v3KvbiCc45tANpBxi4h3ZG0QYFlx+zEUMD93M4vX6IpzbnJoYGbtPOJNqNzHZ/YvFeYWLtgL/sAvBKO4NolxqPA0J8NJrt/xIgSxsC/moD4fnVOrF4VwAAAIDX/gMpuapHNnE8KQAAAABJRU5ErkJggg==",$=a=>(Be("data-v-8929dc94"),a=a(),Ye(),a),tt={class:"__container_layout_header"},nt=$(()=>R("div",null,null,-1)),at=$(()=>R("div",null,null,-1)),ot=$(()=>R("a",{href:"javascript:;"},"logout",-1)),ct={class:"username"},st=T({__name:"layout_header",setup(a){ie(m=>({"5b012264":i(L)}));const{appContext:{config:{globalProperties:e}}}=re(),t=te(V.COLLAPSED),s=te(V.LOCALE);let o=U(Pe.locale);function P(m){localStorage.setItem(ae,m),L.value=m}function O(m){localStorage.removeItem(ae),L.value=ze}function D(){je(),Ne().then(()=>{d.replace(`/login?redirect=${x.path}`)})}const b=be();ne(o,m=>{ye(m)});const _=E([{label:z(()=>e.$t("application")),value:"applications"},{label:z(()=>e.$t("instance")),value:"instances"},{label:z(()=>e.$t("service")),value:"services"}]),y=U(_[0].value),A=U(""),H=async()=>{const m={keywords:A.value},p=async(g,M)=>{const{data:{list:Y}}=await g(m);N.value=Y.map(w=>({label:w[M],value:w[M]}))};switch(y.value){case"ip":break;case"applications":await p(Le,"appName");break;case"instances":await p(Ue,"name");break;case"services":await p(He,"serviceName");break}};ne(y,async m=>{await H()});const N=U([]),l=Ae.debounce(H,300),d=q(),x=Z(),h=()=>{d.replace(`/resources/${y.value}/list?query=${A.value}`)},B=()=>{};return(m,p)=>{const g=u("a-flex"),M=u("a-select-option"),Y=u("a-select"),w=u("a-auto-complete"),S=u("a-button"),r=u("a-input-group"),C=u("a-segmented"),me=u("color-picker"),fe=u("a-popover"),ge=u("a-avatar"),ve=u("a-menu-item"),_e=u("a-menu"),he=u("a-dropdown"),Oe=u("a-layout-header");return f(),j("div",tt,[n(Oe,{class:"header"},{default:c(()=>[n(g,{style:{height:"100%"},justify:"space-between",align:"center"},{default:c(()=>[n(g,null,{default:c(()=>[i(t)?(f(),F(i(Xe),{key:0,class:"trigger",onClick:p[0]||(p[0]=()=>t.value=!i(t))})):(f(),F(i(Ge),{key:1,class:"trigger",onClick:p[1]||(p[1]=()=>t.value=!i(t))}))]),_:1}),nt,n(g,null,{default:c(()=>[n(r,{onKeyup:De(h,["enter"]),class:"search-group",compact:""},{default:c(()=>[n(Y,{value:y.value,"onUpdate:value":p[2]||(p[2]=v=>y.value=v),class:"select-type"},{default:c(()=>[(f(!0),j(I,null,de(_,v=>(f(),F(M,{value:v.value},{default:c(()=>[K(G(v.label),1)]),_:2},1032,["value"]))),256))]),_:1},8,["value"]),n(w,{value:A.value,"onUpdate:value":p[3]||(p[3]=v=>A.value=v),class:"input-keywords",placeholder:m.$t("globalSearchTip"),options:N.value,onSelect:B,onSearch:i(l)},null,8,["value","placeholder","options","onSearch"]),n(S,{icon:le(i(Me)),class:"search-icon",onClick:h},null,8,["icon"])]),_:1})]),_:1}),at,n(g,{align:"center",gap:"middle"},{default:c(()=>[n(g,{align:"center"},{default:c(()=>[n(C,{value:i(o),"onUpdate:value":p[4]||(p[4]=v=>we(o)?o.value=v:o=v),options:i(s).opts},null,8,["value","options"])]),_:1}),n(g,{align:"center"},{default:c(()=>[n(me,{pureColor:i(L),onPureColorChange:P,format:"hex6",shape:"circle",useType:"pure"},null,8,["pureColor"]),n(fe,null,{content:c(()=>[K("reset the theme")]),default:c(()=>[n(i(ue),{class:"reset-icon",icon:"material-symbols:reset-tv-outline",onClick:O})]),_:1})]),_:1}),n(g,{align:"center"},{default:c(()=>{var v,ee;return[n(he,null,{overlay:c(()=>[n(_e,null,{default:c(()=>[n(ve,{onClick:D},{default:c(()=>[ot]),_:1})]),_:1})]),default:c(()=>[n(ge,{onClick:p[5]||(p[5]=()=>{})},{icon:c(()=>[n(i(ke))]),_:1})]),_:1}),R("span",ct,G((ee=(v=i(b))==null?void 0:v.userinfo)==null?void 0:ee.username),1)]}),_:1})]),_:1})]),_:1})]),_:1})])}}}),rt=Q(st,[["__scopeId","data-v-8929dc94"]]),lt={class:"__container_layout_bread"},ut=T({__name:"layout_bread",setup(a){const e=Z();q();let t=z(()=>{var o;return(o=e.params)!=null&&o.pathId?e.params.pathId:""});const s=z(()=>e.matched.slice(1).map((o,P)=>({name:o.name})));return(o,P)=>{const O=u("a-breadcrumb-item"),D=u("a-breadcrumb");return f(),j("div",lt,[n(D,null,{default:c(()=>[(f(!0),j(I,null,de(s.value,b=>(f(),F(O,null,{default:c(()=>[K(G(o.$t(b.name)),1)]),_:2},1024))),256)),i(t)?(f(),F(O,{key:0},{default:c(()=>[K(G(i(t)),1)]),_:1})):pe("",!0)]),_:1})])}}}),it=Q(ut,[["__scopeId","data-v-97925c3f"]]),dt={class:"__container_layout_index"},pt={class:"logo"},mt=["src"],ft=T({__name:"index",setup(a){ie(t=>({"0345b33d":i(L)}));const e=U(!1);return Fe(V.COLLAPSED,e),(t,s)=>{const o=u("a-layout-sider"),P=u("router-view"),O=u("a-layout-content"),D=u("a-layout-footer"),b=u("a-layout");return f(),j("div",dt,[n(b,{style:{height:"100vh"}},{default:c(()=>[n(o,{width:"268",collapsed:e.value,"onUpdate:collapsed":s[0]||(s[0]=_=>e.value=_),theme:"light",trigger:null,collapsible:""},{default:c(()=>[R("div",pt,[R("img",{src:i(et)},null,8,mt),e.value?pe("",!0):(f(),j(I,{key:0},[K("Dubbo Admin")],64))]),n($e)]),_:1},8,["collapsed"]),n(b,null,{default:c(()=>[n(rt,{collapsed:e.value},null,8,["collapsed"]),n(it),n(O,{class:"layout-content"},{default:c(()=>[n(P,null,{default:c(({Component:_})=>[n(Ke,{name:"slide-fade"},{default:c(()=>[(f(),F(Re(_)))]),_:2},1024)]),_:1})]),_:1}),n(D,{class:"layout-footer"},{default:c(()=>[K("© 2024 The Apache Software Foundation. ")]),_:1})]),_:1})]),_:1})])}}}),Pt=Q(ft,[["__scopeId","data-v-bf34dde3"]]);export{Pt as default};
diff --git a/app/dubbo-ui/dist/admin/assets/index-6mDJigRo.js b/app/dubbo-ui/dist/admin/assets/index-ytKGiqRq.js
similarity index 72%
rename from app/dubbo-ui/dist/admin/assets/index-6mDJigRo.js
rename to app/dubbo-ui/dist/admin/assets/index-ytKGiqRq.js
index 9def9d6..aac9d8f 100644
--- a/app/dubbo-ui/dist/admin/assets/index-6mDJigRo.js
+++ b/app/dubbo-ui/dist/admin/assets/index-ytKGiqRq.js
@@ -1 +1 @@
-import{d as D,v as R,u as S,x as T,y as N,r as k,W as E,c as o,b as t,w as n,n as r,P as V,R as $,e as x,o as s,f as i,j as G,I as O,t as C,Q as p,J as h,_ as A}from"./index-hmLAZQYT.js";import{i as B,j as P}from"./traffic-C2a-KjHH.js";import{S as Y,a as j,s as f}from"./SearchUtil-sOWd6ofa.js";import"./request-8jI_GZey.js";const J={class:"__container_traffic_config_index"},M=["onClick"],F=D({__name:"index",setup(K){R(e=>({"2f10a2da":r(V)}));const c=S(),v=T(N.PROVIDE_INJECT_KEY);v.dynamicConfigForm=k({});let I=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,a)=>f(e.appName,a.appName),width:200,ellipsis:!0},{title:"ruleGranularity",key:"ruleGranularity",dataIndex:"ruleGranularity",render:(e,a)=>a.isService?"服务":"应用",width:100,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"createTime",key:"createTime",dataIndex:"createTime",width:200,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"enabled",key:"enabled",dataIndex:"enabled",render:(e,a)=>a.enabled?"是":"否",width:120,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const l=k(new Y([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],B,I)),g=()=>{c.push("/traffic/dynamicConfig/formview/_tmp/1")};E(async()=>{await l.onSearch()});const w=async e=>{await P({name:e.ruleName}),await l.onSearch()};return $(N.SEARCH_DOMAIN,l),(e,a)=>{const d=x("a-button"),b=x("a-popconfirm");return s(),o("div",J,[t(j,{"search-domain":l},{customOperation:n(()=>[t(d,{type:"primary",onClick:g},{default:n(()=>[i("新增动态配置")]),_:1})]),bodyCell:n(({text:_,column:m,record:u})=>[m.dataIndex==="ruleName"?(s(),o("span",{key:0,class:"config-link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/0`)},[G("b",null,[t(r(O),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),i(" "+C(_),1)])],8,M)):p("",!0),m.dataIndex==="ruleGranularity"?(s(),o(h,{key:1},[i(C(_?"服务":"应用"),1)],64)):p("",!0),m.dataIndex==="enabled"?(s(),o(h,{key:2},[i(C(_?"启用":"禁用"),1)],64)):p("",!0),m.dataIndex==="operation"?(s(),o(h,{key:3},[t(d,{type:"link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/0`)},{default:n(()=>[i("查看")]),_:2},1032,["onClick"]),t(d,{type:"link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/1`)},{default:n(()=>[i(" 修改 ")]),_:2},1032,["onClick"]),t(b,{title:"确认删除该动态配置?","ok-text":"Yes","cancel-text":"No",onConfirm:y=>w(u)},{default:n(()=>[t(d,{type:"link"},{default:n(()=>[i("删除")]),_:1})]),_:2},1032,["onConfirm"])],64)):p("",!0)]),_:1},8,["search-domain"])])}}}),q=A(F,[["__scopeId","data-v-25acc517"]]);export{q as default};
+import{d as D,v as T,u as S,y as E,z as N,r as k,D as R,c as o,b as t,w as n,n as r,P as V,U as $,e as x,o as s,f as i,j as G,I as O,t as C,T as p,L as h,_ as A}from"./index-3zDsduUv.js";import{i as B,j as P}from"./traffic-dHGZ6qwp.js";import{S as Y,a as j,s as f}from"./SearchUtil-bfid3zNl.js";import"./request-3an337VF.js";const M={class:"__container_traffic_config_index"},F=["onClick"],J=D({__name:"index",setup(K){T(e=>({"2f10a2da":r(V)}));const c=S(),v=E(N.PROVIDE_INJECT_KEY);v.dynamicConfigForm=k({});let I=[{title:"ruleName",key:"ruleName",dataIndex:"ruleName",sorter:(e,a)=>f(e.appName,a.appName),width:200,ellipsis:!0},{title:"ruleGranularity",key:"ruleGranularity",dataIndex:"ruleGranularity",render:(e,a)=>a.isService?"服务":"应用",width:100,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"createTime",key:"createTime",dataIndex:"createTime",width:200,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"enabled",key:"enabled",dataIndex:"enabled",render:(e,a)=>a.enabled?"是":"否",width:120,sorter:(e,a)=>f(e.instanceNum,a.instanceNum)},{title:"operation",key:"operation",dataIndex:"operation",width:200}];const l=k(new Y([{label:"serviceGovernance",param:"serviceGovernance",placeholder:"typeRoutingRules",style:{width:"200px"}}],B,I)),g=()=>{c.push("/traffic/dynamicConfig/formview/_tmp/1")};R(async()=>{await l.onSearch()});const w=async e=>{await P({name:e.ruleName}),await l.onSearch()};return $(N.SEARCH_DOMAIN,l),(e,a)=>{const d=x("a-button"),b=x("a-popconfirm");return s(),o("div",M,[t(j,{"search-domain":l},{customOperation:n(()=>[t(d,{type:"primary",onClick:g},{default:n(()=>[i("新增动态配置")]),_:1})]),bodyCell:n(({text:_,column:m,record:u})=>[m.dataIndex==="ruleName"?(s(),o("span",{key:0,class:"config-link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/0`)},[G("b",null,[t(r(O),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),i(" "+C(_),1)])],8,F)):p("",!0),m.dataIndex==="ruleGranularity"?(s(),o(h,{key:1},[i(C(_?"服务":"应用"),1)],64)):p("",!0),m.dataIndex==="enabled"?(s(),o(h,{key:2},[i(C(_?"启用":"禁用"),1)],64)):p("",!0),m.dataIndex==="operation"?(s(),o(h,{key:3},[t(d,{type:"link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/0`)},{default:n(()=>[i("查看")]),_:2},1032,["onClick"]),t(d,{type:"link",onClick:y=>r(c).push(`/traffic/dynamicConfig/formview/${u.ruleName}/1`)},{default:n(()=>[i(" 修改 ")]),_:2},1032,["onClick"]),t(b,{title:"确认删除该动态配置?","ok-text":"Yes","cancel-text":"No",onConfirm:y=>w(u)},{default:n(()=>[t(d,{type:"link"},{default:n(()=>[i("删除")]),_:1})]),_:2},1032,["onConfirm"])],64)):p("",!0)]),_:1},8,["search-domain"])])}}}),q=A(J,[["__scopeId","data-v-25acc517"]]);export{q as default};
diff --git a/app/dubbo-ui/dist/admin/assets/instance-9-P3Wy8N.js b/app/dubbo-ui/dist/admin/assets/instance-qriYfOrq.js
similarity index 91%
rename from app/dubbo-ui/dist/admin/assets/instance-9-P3Wy8N.js
rename to app/dubbo-ui/dist/admin/assets/instance-qriYfOrq.js
index 44c9d17..0ff6469 100644
--- a/app/dubbo-ui/dist/admin/assets/instance-9-P3Wy8N.js
+++ b/app/dubbo-ui/dist/admin/assets/instance-qriYfOrq.js
@@ -1 +1 @@
-import{r as e}from"./request-8jI_GZey.js";const s=t=>e({url:"/instance/search",method:"get",params:t}),c=t=>e({url:"/instance/detail",method:"get",params:t}),o=t=>e({url:"/instance/metric-dashboard",method:"get",params:t}),i=t=>e({url:"/instance/trace-dashboard",method:"get",params:t}),u=(t,a)=>e({url:"/instance/config/operatorLog",method:"get",params:{instanceIP:t,appName:a}}),g=(t,a,n)=>e({url:"/instance/config/operatorLog",method:"put",params:{instanceIP:t,appName:a,operatorLog:n}}),d=(t,a)=>e({url:"/instance/config/trafficDisable",method:"get",params:{instanceIP:t,appName:a}}),h=(t,a,n)=>e({url:"/instance/config/trafficDisable",method:"put",params:{instanceIP:t,appName:a,trafficDisable:n}});export{o as a,i as b,h as c,u as d,d as e,c as g,s,g as u};
+import{r as e}from"./request-3an337VF.js";const s=t=>e({url:"/instance/search",method:"get",params:t}),c=t=>e({url:"/instance/detail",method:"get",params:t}),o=t=>e({url:"/instance/metric-dashboard",method:"get",params:t}),i=t=>e({url:"/instance/trace-dashboard",method:"get",params:t}),u=(t,a)=>e({url:"/instance/config/operatorLog",method:"get",params:{instanceIP:t,appName:a}}),g=(t,a,n)=>e({url:"/instance/config/operatorLog",method:"put",params:{instanceIP:t,appName:a,operatorLog:n}}),d=(t,a)=>e({url:"/instance/config/trafficDisable",method:"get",params:{instanceIP:t,appName:a}}),h=(t,a,n)=>e({url:"/instance/config/trafficDisable",method:"put",params:{instanceIP:t,appName:a,trafficDisable:n}});export{o as a,i as b,h as c,u as d,d as e,c as g,s,g as u};
diff --git a/app/dubbo-ui/dist/admin/assets/instance-GgpcTYxF.js b/app/dubbo-ui/dist/admin/assets/instance-u5IY96cv.js
similarity index 66%
rename from app/dubbo-ui/dist/admin/assets/instance-GgpcTYxF.js
rename to app/dubbo-ui/dist/admin/assets/instance-u5IY96cv.js
index 4130b14..5066e94 100644
--- a/app/dubbo-ui/dist/admin/assets/instance-GgpcTYxF.js
+++ b/app/dubbo-ui/dist/admin/assets/instance-u5IY96cv.js
@@ -1,4 +1,4 @@
-import{d as $,v as M,a as B,u as Y,r as x,W as S,c as I,b as d,w as t,e as y,n as r,P as g,F as j,R as F,o as a,J as h,K as D,G as l,I as v,f as n,t as o,j as q,Q as c,a1 as G,a2 as H,y as J,_ as K}from"./index-hmLAZQYT.js";import{S as Q,a as U}from"./SearchUtil-sOWd6ofa.js";import{a as z}from"./app-duU6O0cq.js";import{f as W}from"./DateUtil-BI1mUH_z.js";import{p as X,q as N}from"./PromQueryUtil-2EbGMcmH.js";import{b as Z}from"./ByteUtil-YdHlSEeW.js";import"./request-8jI_GZey.js";const ee={class:"__container_app_instance"},te={class:"statistic-icon-big"},ae=$({__name:"instance",setup(se){var C;M(i=>({"4b565263":r(g)+"22","7b2014ad":r(g)}));const T=B(),E=Y();let R=x({info:{},report:{}}),O=(C=T.params)==null?void 0:C.pathId;S(async()=>{});const A=[{title:"instanceDomain.ip",dataIndex:"ip",key:"ip",sorter:!0,width:150,fixed:"left"},{title:"instanceDomain.name",dataIndex:"name",key:"name",sorter:!0,width:180},{title:"instanceDomain.deployState",dataIndex:"deployState",key:"deployState",sorter:!0,width:150},{title:"instanceDomain.deployCluster",dataIndex:"deployClusters",key:"deployClusters",sorter:!0,width:180},{title:"instanceDomain.registerState",dataIndex:"registerState",key:"registerState",sorter:!0,width:150},{title:"instanceDomain.registerClusters",dataIndex:"registerCluster",key:"registerCluster",sorter:!0,width:200},{title:"instanceDomain.cpu",dataIndex:"cpu",key:"cpu",sorter:!0,width:120},{title:"instanceDomain.memory",dataIndex:"memory",key:"memory",sorter:!0,width:120},{title:"instanceDomain.startTime",dataIndex:"startTime",key:"startTime",sorter:!0,width:150}];function V(i){return z(i).then(async k=>X(k,["cpu","memory"],async p=>{let u=p.ip.split(":")[0],_=await N(`sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container!=""}) by (pod) * on (pod) group_left(pod_ip)
+import{d as M,v as $,a as B,u as Y,r as x,D as S,c as I,b as d,w as t,e as y,n as r,P as g,H as j,U as H,o as a,L as h,M as D,J as l,I as v,f as n,t as o,j as U,T as c,a2 as q,a3 as z,z as F,_ as J}from"./index-3zDsduUv.js";import{S as G,a as K}from"./SearchUtil-bfid3zNl.js";import{a as Q}from"./app-mdoSebGq.js";import{f as X}from"./DateUtil-QXt7LnE3.js";import{p as W,q as N}from"./PromQueryUtil-4K1j3sa5.js";import{b as Z}from"./ByteUtil-YdHlSEeW.js";import"./request-3an337VF.js";const ee={class:"__container_app_instance"},te={class:"statistic-icon-big"},ae=M({__name:"instance",setup(se){var C;$(i=>({"4b565263":r(g)+"22","7b2014ad":r(g)}));const T=B(),E=Y();let R=x({info:{},report:{}}),O=(C=T.params)==null?void 0:C.pathId;S(async()=>{});const A=[{title:"instanceDomain.ip",dataIndex:"ip",key:"ip",sorter:!0,width:150,fixed:"left"},{title:"instanceDomain.name",dataIndex:"name",key:"name",sorter:!0,width:180},{title:"instanceDomain.deployState",dataIndex:"deployState",key:"deployState",sorter:!0,width:150},{title:"instanceDomain.deployCluster",dataIndex:"deployClusters",key:"deployClusters",sorter:!0,width:180},{title:"instanceDomain.registerState",dataIndex:"registerState",key:"registerState",sorter:!0,width:150},{title:"instanceDomain.registerClusters",dataIndex:"registerCluster",key:"registerCluster",sorter:!0,width:200},{title:"instanceDomain.cpu",dataIndex:"cpu",key:"cpu",sorter:!0,width:120},{title:"instanceDomain.memory",dataIndex:"memory",key:"memory",sorter:!0,width:120},{title:"instanceDomain.startTime",dataIndex:"startTime",key:"startTime",sorter:!0,width:150}];function L(i){return Q(i).then(async k=>W(k,["cpu","memory"],async p=>{let u=p.ip.split(":")[0],_=await N(`sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container!=""}) by (pod) * on (pod) group_left(pod_ip)
kube_pod_info{pod_ip="${u}"}`),b=await N(`sum(container_memory_working_set_bytes{container!=""}) by (pod)
* on (pod) group_left(pod_ip)
-kube_pod_info{pod_ip="${u}"}`);p.cpu=j.isNumber(_)?_.toFixed(3)+"u":_,p.memory=Z(b)}))}const f=x(new Q([{label:"",param:"type",defaultValue:1,dict:[{label:"ip",value:1},{label:"name",value:2},{label:"label",value:3}],style:{width:"100px"}},{label:"",param:"search",style:{width:"300px"}},{label:"",param:"appName",defaultValue:O,dict:[],dictType:"APPLICATION_NAME"}],V,A,{pageSize:10},!0));S(()=>{f.tableStyle={scrollX:"100",scrollY:"calc(100vh - 400px)"},f.onSearch()});const L=i=>{E.replace(`/resources/instances/detail/${i.split(":")[0]}/${i}`)};return F(J.SEARCH_DOMAIN,f),(i,k)=>{const p=y("a-statistic"),u=y("a-flex"),_=y("a-card"),b=y("a-button"),m=y("a-tag");return a(),I("div",ee,[d(u,{wrap:"wrap",gap:"small",vertical:!1,justify:"space-around",align:"left"},{default:t(()=>[(a(!0),I(h,null,D(r(R).report,(s,e)=>(a(),l(_,{class:"statistic-card"},{default:t(()=>[d(u,{gap:"middle",vertical:!1,justify:"space-between",align:"center"},{default:t(()=>[d(p,{value:s.value,class:"statistic"},{prefix:t(()=>[d(r(v),{class:"statistic-icon",icon:"solar:target-line-duotone"})]),title:t(()=>[n(o(i.$t(e.toString())),1)]),_:2},1032,["value"]),q("div",te,[d(r(v),{icon:s.icon},null,8,["icon"])])]),_:2},1024)]),_:2},1024))),256))]),_:1}),d(U,{"search-domain":f},{bodyCell:t(({column:s,text:e})=>[s.dataIndex==="name"?(a(),l(b,{key:0,type:"link",onClick:w=>L(e)},{default:t(()=>[n(o(e),1)]),_:2},1032,["onClick"])):c("",!0),s.dataIndex==="deployState"?(a(),l(m,{key:1,color:r(G)[e.toUpperCase()]},{default:t(()=>[n(o(e),1)]),_:2},1032,["color"])):c("",!0),s.dataIndex==="deployClusters"?(a(),l(m,{key:2},{default:t(()=>[n(o(e),1)]),_:2},1024)):c("",!0),s.dataIndex==="registerState"?(a(),l(m,{key:3,color:r(H)[e.toUpperCase()]},{default:t(()=>[n(o(e),1)]),_:2},1032,["color"])):c("",!0),s.dataIndex==="registerCluster"?(a(),l(m,{key:4},{default:t(()=>[n(o(e),1)]),_:2},1024)):c("",!0),s.dataIndex==="labels"?(a(!0),I(h,{key:5},D(e,(w,P)=>(a(),l(m,{color:r(g)},{default:t(()=>[n(o(P)+" : "+o(w),1)]),_:2},1032,["color"]))),256)):c("",!0),s.dataIndex==="registerTime"?(a(),I(h,{key:6},[n(o(r(W)(e)),1)],64)):c("",!0)]),_:1},8,["search-domain"])])}}}),pe=K(ae,[["__scopeId","data-v-de9e0d35"]]);export{pe as default};
+kube_pod_info{pod_ip="${u}"}`);p.cpu=j.isNumber(_)?_.toFixed(3)+"u":_,p.memory=Z(b)}))}const f=x(new G([{label:"",param:"type",defaultValue:1,dict:[{label:"ip",value:1},{label:"name",value:2},{label:"label",value:3}],style:{width:"100px"}},{label:"",param:"search",style:{width:"300px"}},{label:"",param:"appName",defaultValue:O,dict:[],dictType:"APPLICATION_NAME"}],L,A,{pageSize:10},!0));S(()=>{f.tableStyle={scrollX:"100",scrollY:"calc(100vh - 400px)"},f.onSearch()});const V=i=>{E.replace(`/resources/instances/detail/${i.split(":")[0]}/${i}`)};return H(F.SEARCH_DOMAIN,f),(i,k)=>{const p=y("a-statistic"),u=y("a-flex"),_=y("a-card"),b=y("a-button"),m=y("a-tag");return a(),I("div",ee,[d(u,{wrap:"wrap",gap:"small",vertical:!1,justify:"space-around",align:"left"},{default:t(()=>[(a(!0),I(h,null,D(r(R).report,(s,e)=>(a(),l(_,{class:"statistic-card"},{default:t(()=>[d(u,{gap:"middle",vertical:!1,justify:"space-between",align:"center"},{default:t(()=>[d(p,{value:s.value,class:"statistic"},{prefix:t(()=>[d(r(v),{class:"statistic-icon",icon:"solar:target-line-duotone"})]),title:t(()=>[n(o(i.$t(e.toString())),1)]),_:2},1032,["value"]),U("div",te,[d(r(v),{icon:s.icon},null,8,["icon"])])]),_:2},1024)]),_:2},1024))),256))]),_:1}),d(K,{"search-domain":f},{bodyCell:t(({column:s,text:e})=>[s.dataIndex==="name"?(a(),l(b,{key:0,type:"link",onClick:w=>V(e)},{default:t(()=>[n(o(e),1)]),_:2},1032,["onClick"])):c("",!0),s.dataIndex==="deployState"?(a(),l(m,{key:1,color:r(q)[e.toUpperCase()]},{default:t(()=>[n(o(e),1)]),_:2},1032,["color"])):c("",!0),s.dataIndex==="deployClusters"?(a(),l(m,{key:2},{default:t(()=>[n(o(e),1)]),_:2},1024)):c("",!0),s.dataIndex==="registerState"?(a(),l(m,{key:3,color:r(z)[e.toUpperCase()]},{default:t(()=>[n(o(e),1)]),_:2},1032,["color"])):c("",!0),s.dataIndex==="registerCluster"?(a(),l(m,{key:4},{default:t(()=>[n(o(e),1)]),_:2},1024)):c("",!0),s.dataIndex==="labels"?(a(!0),I(h,{key:5},D(e,(w,P)=>(a(),l(m,{color:r(g)},{default:t(()=>[n(o(P)+" : "+o(w),1)]),_:2},1032,["color"]))),256)):c("",!0),s.dataIndex==="registerTime"?(a(),I(h,{key:6},[n(o(r(X)(e)),1)],64)):c("",!0)]),_:1},8,["search-domain"])])}}}),pe=J(ae,[["__scopeId","data-v-de9e0d35"]]);export{pe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/javascript-co0piviO.js b/app/dubbo-ui/dist/admin/assets/javascript-aILp5GNb.js
similarity index 89%
rename from app/dubbo-ui/dist/admin/assets/javascript-co0piviO.js
rename to app/dubbo-ui/dist/admin/assets/javascript-aILp5GNb.js
index cf25827..f7c82ab 100644
--- a/app/dubbo-ui/dist/admin/assets/javascript-co0piviO.js
+++ b/app/dubbo-ui/dist/admin/assets/javascript-aILp5GNb.js
@@ -1,4 +1,4 @@
-import{conf as t,language as e}from"./typescript-rFPVZWyT.js";import"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{conf as t,language as e}from"./typescript-jSqLomXD.js";import"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/js-yaml-8Gkz3BRW.js b/app/dubbo-ui/dist/admin/assets/js-yaml-eElisXzH.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/js-yaml-8Gkz3BRW.js
rename to app/dubbo-ui/dist/admin/assets/js-yaml-eElisXzH.js
index 8933367..2ef947b 100644
--- a/app/dubbo-ui/dist/admin/assets/js-yaml-8Gkz3BRW.js
+++ b/app/dubbo-ui/dist/admin/assets/js-yaml-eElisXzH.js
@@ -1,4 +1,4 @@
-var pQ=Object.defineProperty;var mQ=(s,e,t)=>e in s?pQ(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var Fi=(s,e,t)=>(mQ(s,typeof e!="symbol"?e+"":e,t),t);import{af as Se,d as _Q,D as bQ,W as CQ,o as vQ,c as wQ,ad as SQ}from"./index-hmLAZQYT.js";function ar(s,e=0){return s[s.length-(1+e)]}function yQ(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function ti(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function LQ(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function Zv(s,e,t){return xQ(s.length,i=>t(s[i],e))}function xQ(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function LR(s,e,t){if(s=s|0,s>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],o=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?o.push(a):r.push(a)}return s<n.length?LR(s,n,t):s<n.length+r.length?r[0]:LR(s-(n.length+r.length),o,t)}function t7(s,e){const t=[];let i;for(const n of s.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*J4(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function Zz(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function kQ(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function Xr(s){return s.filter(e=>!!e)}function i7(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function Yz(s){return!Array.isArray(s)||s.length===0}function es(s){return Array.isArray(s)&&s.length>0}function Xc(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function e5(s,e){return s.length>0?s[0]:e}function Ts(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function xI(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function fN(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function F0(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function xR(s,e){for(const t of e)s.push(t)}function t5(s){return Array.isArray(s)?s:[s]}function DQ(s,e,t){const i=Xz(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function n7(s,e,t,i){const n=Xz(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),DQ(s,n,i),o}function Xz(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var Yv;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(Yv||(Yv={}));function ps(s,e){return(t,i)=>e(s(t),s(i))}function IQ(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!Yv.isNeitherLessOrGreaterThan(n))return n}return Yv.neitherLessOrGreaterThan}}const Zr=(s,e)=>s-e,EQ=(s,e)=>Zr(s?1:0,e?1:0);function Qz(s){return(e,t)=>-s(e,t)}class Qc{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Hp=class Hp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Hp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Hp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||Yv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Hp.empty=new Hp(e=>{});let sg=Hp;class Wy{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,o)=>t(e[n],e[o]));return new Wy(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new Wy(e)}}function Fs(s){return typeof s=="string"}function on(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function NQ(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function Lh(s){return typeof s=="number"&&!isNaN(s)}function s7(s){return!!s&&typeof s[Symbol.iterator]=="function"}function Jz(s){return s===!0||s===!1}function Jn(s){return typeof s>"u"}function Al(s){return!Fo(s)}function Fo(s){return Jn(s)||s===null}function ft(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Zd(s){if(Fo(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function Xv(s){return typeof s=="function"}function TQ(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)RQ(s[i],e[i])}function RQ(s,e){if(Fs(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(Xv(e)){try{if(s instanceof e)return}catch{}if(!Fo(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function yc(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?yc(i):i}),e}function MQ(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(eU.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!NQ(n)&&e.push(n)}}return s}const eU=Object.prototype.hasOwnProperty;function tU(s,e){return kR(s,e,new Set)}function kR(s,e,t){if(Fo(s))return s;const i=e(s);if(typeof i<"u")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(kR(o,e,t));return n}if(on(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)eU.call(s,o)&&(n[o]=kR(s[o],e,t));return t.delete(s),n}return s}function kI(s,e,t=!0){return on(s)?(on(e)&&Object.keys(e).forEach(i=>{i in s?t&&(on(s[i])&&on(e[i])?kI(s[i],e[i],t):s[i]=e[i]):s[i]=e[i]}),s):e}function ho(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!ho(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!ho(n,o))return!1;for(t=0;t<n.length;t++)if(!ho(s[n[t]],e[n[t]]))return!1}return!0}function AQ(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function DR(s){const e=[];for(const t of AQ(s))typeof s[t]=="function"&&e.push(t);return e}function PQ(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}function iU(){return globalThis._VSCODE_NLS_MESSAGES}function i5(){return globalThis._VSCODE_NLS_LANGUAGE}const OQ=i5()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function By(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),OQ&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return By(typeof s=="number"?nU(s,e):e,t)}function nU(s,e){var i;const t=(i=iU())==null?void 0:i[s];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${s} !!!`)}return t}function Ee(s,e,...t){let i;typeof s=="number"?i=nU(s,e):i=e;const n=By(i,t);return{value:n,original:e===i?n:By(e,t)}}const gp="en";let Hy=!1,Vy=!1,ZS=!1,sU=!1,n5=!1,s5=!1,oU=!1,W0,YS=gp,o7=gp,FQ,ha;const $c=globalThis;let rs;var jz;typeof $c.vscode<"u"&&typeof $c.vscode.process<"u"?rs=$c.vscode.process:typeof process<"u"&&typeof((jz=process==null?void 0:process.versions)==null?void 0:jz.node)=="string"&&(rs=process);var Kz;const WQ=typeof((Kz=rs==null?void 0:rs.versions)==null?void 0:Kz.electron)=="string",BQ=WQ&&(rs==null?void 0:rs.type)==="renderer";var qz;if(typeof rs=="object"){Hy=rs.platform==="win32",Vy=rs.platform==="darwin",ZS=rs.platform==="linux",ZS&&rs.env.SNAP&&rs.env.SNAP_REVISION,rs.env.CI||rs.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=gp,YS=gp;const s=rs.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s);W0=e.userLocale,o7=e.osLocale,YS=e.resolvedLanguage||gp,FQ=(qz=e.languagePack)==null?void 0:qz.translationsConfigFile}catch{}sU=!0}else typeof navigator=="object"&&!BQ?(ha=navigator.userAgent,Hy=ha.indexOf("Windows")>=0,Vy=ha.indexOf("Macintosh")>=0,s5=(ha.indexOf("Macintosh")>=0||ha.indexOf("iPad")>=0||ha.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ZS=ha.indexOf("Linux")>=0,oU=(ha==null?void 0:ha.indexOf("Mobi"))>=0,n5=!0,YS=i5()||gp,W0=navigator.language.toLowerCase(),o7=W0):console.error("Unable to resolve platform.");const Nn=Hy,Je=Vy,Cs=ZS,Na=sU,uf=n5,HQ=n5&&typeof $c.importScripts=="function",VQ=HQ?$c.origin:void 0,Wa=s5,rU=oU,Bl=ha,zQ=YS,UQ=typeof $c.postMessage=="function"&&!$c.importScripts,aU=(()=>{if(UQ){const s=[];$c.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),$c.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),co=Vy||s5?2:Hy?1:3;let r7=!0,a7=!1;function lU(){if(!a7){a7=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,r7=new Uint16Array(s.buffer)[0]===513}return r7}const cU=!!(Bl&&Bl.indexOf("Chrome")>=0),$Q=!!(Bl&&Bl.indexOf("Firefox")>=0),jQ=!!(!cU&&Bl&&Bl.indexOf("Safari")>=0),KQ=!!(Bl&&Bl.indexOf("Edg/")>=0),qQ=!!(Bl&&Bl.indexOf("Android")>=0),Pn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var ot;(function(s){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(w){yield w}s.single=n;function o(w){return e(w)?w:n(w)}s.wrap=o;function r(w){return w||t}s.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}s.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}s.first=c;function d(w,S){let L=0;for(const k of w)if(S(k,L++))return!0;return!1}s.some=d;function h(w,S){for(const L of w)if(S(L))return L}s.find=h;function*u(w,S){for(const L of w)S(L)&&(yield L)}s.filter=u;function*g(w,S){let L=0;for(const k of w)yield S(k,L++)}s.map=g;function*f(w,S){let L=0;for(const k of w)yield*S(k,L++)}s.flatMap=f;function*m(...w){for(const S of w)yield*S}s.concat=m;function _(w,S,L){let k=L;for(const D of w)k=S(k,D);return k}s.reduce=_;function*b(w,S,L=w.length){for(S<0&&(S+=w.length),L<0?L+=w.length:L>w.length&&(L=w.length);S<L;S++)yield w[S]}s.slice=b;function C(w,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,w];const k=w[Symbol.iterator]();for(let D=0;D<S;D++){const T=k.next();if(T.done)return[L,s.empty()];L.push(T.value)}return[L,{[Symbol.iterator](){return k}}]}s.consume=C;async function v(w){const S=[];for await(const L of w)S.push(L);return Promise.resolve(S)}s.asyncToArray=v})(ot||(ot={}));var ch;let Ki=(ch=class{constructor(e){this.element=e,this.next=ch.Undefined,this.prev=ch.Undefined}},ch.Undefined=new ch(void 0),ch);class hs{constructor(){this._first=Ki.Undefined,this._last=Ki.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Ki.Undefined}clear(){let e=this._first;for(;e!==Ki.Undefined;){const t=e.next;e.prev=Ki.Undefined,e.next=Ki.Undefined,e=t}this._first=Ki.Undefined,this._last=Ki.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Ki(e);if(this._first===Ki.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Ki.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Ki.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Ki.Undefined&&e.next!==Ki.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Ki.Undefined&&e.next===Ki.Undefined?(this._first=Ki.Undefined,this._last=Ki.Undefined):e.next===Ki.Undefined?(this._last=this._last.prev,this._last.next=Ki.Undefined):e.prev===Ki.Undefined&&(this._first=this._first.next,this._first.prev=Ki.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Ki.Undefined;)yield e.element,e=e.next}}const zy="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function GQ(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of zy)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const o5=GQ();function r5(s){let e=o5;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const dU=new hs;dU.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Qv(s,e,t,i,n){if(e=r5(e),n||(n=ot.first(dU)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),Qv(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=ZQ(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function ZQ(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const rl=8;class hU{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class uU{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Qt{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return DI(e,t)}compute(e,t,i){return i}}class jC{constructor(e,t){this.newValue=e,this.didChange=t}}function DI(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new jC(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&ti(s,e);return new jC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=DI(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new jC(s,t)}class K1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return DI(e,t)}validate(e){return this.defaultValue}}class ub{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return DI(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function be(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class ut extends ub{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return be(e,this.defaultValue)}}function Cu(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class At extends ub{static clampedInt(e,t,i,n){return Cu(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return At.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function YQ(s,e,t,i){if(typeof s>"u")return e;const n=Vo.float(s,e);return Vo.clamp(n,t,i)}class Vo extends ub{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(Vo.float(e,this.defaultValue))}}class Xn extends ub{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Xn.string(e,this.defaultValue)}}function gi(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class ui extends ub{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return gi(e,this.defaultValue,this._allowedValues)}}class B0 extends Qt{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function XQ(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class QQ extends Qt{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class JQ extends Qt{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:be(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:be(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function eJ(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var fn;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(fn||(fn={}));function tJ(s){switch(s){case"line":return fn.Line;case"block":return fn.Block;case"underline":return fn.Underline;case"line-thin":return fn.LineThin;case"block-outline":return fn.BlockOutline;case"underline-thin":return fn.UnderlineThin}}class iJ extends K1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class nJ extends ut{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class sJ extends Qt{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Je},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:be(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":gi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":gi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:be(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:be(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:be(t.loop,this.defaultValue.loop)}}}const bc=class bc extends Qt{constructor(){super(51,"fontLigatures",bc.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?bc.OFF:e==="true"?bc.ON:e:e?bc.ON:bc.OFF}};bc.OFF='"liga" off, "calt" off',bc.ON='"liga" on, "calt" on';let xh=bc;const Cc=class Cc extends Qt{constructor(){super(54,"fontVariations",Cc.OFF,{anyOf:[{type:"boolean",description:p("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:p("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:p("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Cc.OFF:e==="true"?Cc.TRANSLATE:e:e?Cc.TRANSLATE:Cc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};Cc.OFF="normal",Cc.TRANSLATE="translate";let Jv=Cc;class oJ extends K1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class rJ extends ub{constructor(){super(52,"fontSize",ms.fontSize,{type:"number",minimum:6,maximum:100,default:ms.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=Vo.float(e,this.defaultValue);return t===0?ms.fontSize:Vo.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const hl=class hl extends Qt{constructor(){super(53,"fontWeight",ms.fontWeight,{anyOf:[{type:"number",minimum:hl.MINIMUM_VALUE,maximum:hl.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:hl.SUGGESTION_VALUES}],default:ms.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(At.clampedInt(e,ms.fontWeight,hl.MINIMUM_VALUE,hl.MAXIMUM_VALUE))}};hl.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],hl.MINIMUM_VALUE=1,hl.MAXIMUM_VALUE=1e3;let IR=hl;class aJ extends Qt{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:gi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??gi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??gi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??gi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??gi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??gi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??gi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Xn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Xn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Xn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Xn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Xn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Xn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class lJ extends Qt{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:p("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),delay:At.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:be(t.sticky,this.defaultValue.sticky),hidingDelay:At.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:be(t.above,this.defaultValue.above)}}}class im extends K1{constructor(){super(146)}compute(e,t,i){return im.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(o*n);const L=S/o;let k=!1,D=!1,T=w*u,U=u/o,W=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:me,extraLinesBeforeFirstLine:ge,extraLinesBeyondLastLine:Ae,desiredRatio:Pe,minimapLineCount:hi}=im.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(b/hi>1)k=!0,D=!0,u=1,T=1,U=u/o;else{let It=!1,St=u+1;if(f==="fit"){const Ti=Math.ceil((ge+b+Ae)*T);v&&a&&C<=t.stableFitRemainingWidth?(It=!0,St=t.stableFitMaxMinimapScale):It=Ti>S}if(f==="fill"||It){k=!0;const Ti=u;T=Math.min(l*o,Math.max(1,Math.floor(1/Pe))),v&&a&&C<=t.stableFitRemainingWidth&&(St=t.stableFitMaxMinimapScale),u=Math.min(St,Math.max(1,Math.floor(T/w))),u>Ti&&(W=Math.min(2,u/Ti)),U=u/o/W,S=Math.ceil(Math.max(me,ge+b+Ae)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const V=Math.floor(g*U),$=Math.min(V,Math.max(0,Math.floor((C-_-2)*U/(c+U)))+rl);let B=Math.floor(o*$);const X=B/o;B=Math.floor(B*W);const ae=h?1:2,ue=m==="left"?0:i-$-_;return{renderMinimap:ae,minimapLeft:ue,minimapWidth:$,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:B,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),m=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),L=e.get(104),k=L.verticalScrollbarSize,D=L.verticalHasArrows,T=L.arrowSize,U=L.horizontalScrollbarSize,W=e.get(43),V=e.get(111)!=="never";let $=e.get(66);W&&V&&($+=16);let B=0;if(b){const Is=Math.max(r,C);B=Math.round(Is*l)}let X=0;_&&(X=o*t.glyphMarginDecorationLaneCount);let ae=0,ue=ae+X,me=ue+B,ge=me+$;const Ae=i-X-B-$;let Pe=!1,hi=!1,Be=-1;u==="inherit"&&m?(Pe=!0,hi=!0):g==="on"||g==="bounded"?hi=!0:g==="wordWrapColumn"&&(Be=f);const It=im._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Ae,isViewportWrapping:hi},t.memory||new uU);It.renderMinimap!==0&&It.minimapLeft===0&&(ae+=It.minimapWidth,ue+=It.minimapWidth,me+=It.minimapWidth,ge+=It.minimapWidth);const St=Ae-It.minimapWidth,Ti=Math.max(1,Math.floor((St-k-2)/a)),ns=D?T:0;return hi&&(Be=Math.max(1,Ti),g==="bounded"&&(Be=Math.min(Be,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:X,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:B,decorationsLeft:me,decorationsWidth:$,contentLeft:ge,contentWidth:St,minimap:It,viewportColumn:Ti,isWordWrapMinified:Pe,isViewportWrapping:hi,wrappingColumn:Be,verticalScrollbarWidth:k,horizontalScrollbarHeight:U,overviewRuler:{top:ns,width:k,height:n-2*ns,right:0}}}}class cJ extends Qt{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),p("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:p("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return gi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Vr;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(Vr||(Vr={}));class dJ extends Qt{constructor(){const e={enabled:Vr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Vr.Off,Vr.OnCode,Vr.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:gi(e.enabled,this.defaultValue.enabled,[Vr.Off,Vr.OnCode,Vr.On])}}}class hJ extends Qt{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:p("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:p("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:p("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),maxLineCount:At.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:gi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:be(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class uJ extends Qt{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:gi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:At.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Xn.string(t.fontFamily,this.defaultValue.fontFamily),padding:be(t.padding,this.defaultValue.padding)}}}class gJ extends Qt{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):At.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?At.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class fJ extends Vo{constructor(){super(67,"lineHeight",ms.lineHeight,e=>Vo.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height.
+var pQ=Object.defineProperty;var mQ=(s,e,t)=>e in s?pQ(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var Fi=(s,e,t)=>(mQ(s,typeof e!="symbol"?e+"":e,t),t);import{ah as Se,d as _Q,F as bQ,D as CQ,o as vQ,c as wQ,af as SQ}from"./index-3zDsduUv.js";function ar(s,e=0){return s[s.length-(1+e)]}function yQ(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function ti(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function LQ(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function Zv(s,e,t){return xQ(s.length,i=>t(s[i],e))}function xQ(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function LR(s,e,t){if(s=s|0,s>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],o=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?o.push(a):r.push(a)}return s<n.length?LR(s,n,t):s<n.length+r.length?r[0]:LR(s-(n.length+r.length),o,t)}function t7(s,e){const t=[];let i;for(const n of s.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*J4(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function Zz(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function kQ(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function Xr(s){return s.filter(e=>!!e)}function i7(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function Yz(s){return!Array.isArray(s)||s.length===0}function es(s){return Array.isArray(s)&&s.length>0}function Xc(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function e5(s,e){return s.length>0?s[0]:e}function Ts(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function xI(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function fN(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function F0(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function xR(s,e){for(const t of e)s.push(t)}function t5(s){return Array.isArray(s)?s:[s]}function DQ(s,e,t){const i=Xz(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function n7(s,e,t,i){const n=Xz(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),DQ(s,n,i),o}function Xz(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var Yv;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(Yv||(Yv={}));function ps(s,e){return(t,i)=>e(s(t),s(i))}function IQ(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!Yv.isNeitherLessOrGreaterThan(n))return n}return Yv.neitherLessOrGreaterThan}}const Zr=(s,e)=>s-e,EQ=(s,e)=>Zr(s?1:0,e?1:0);function Qz(s){return(e,t)=>-s(e,t)}class Qc{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Hp=class Hp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Hp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Hp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||Yv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Hp.empty=new Hp(e=>{});let sg=Hp;class Wy{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,o)=>t(e[n],e[o]));return new Wy(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new Wy(e)}}function Fs(s){return typeof s=="string"}function on(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function NQ(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function Lh(s){return typeof s=="number"&&!isNaN(s)}function s7(s){return!!s&&typeof s[Symbol.iterator]=="function"}function Jz(s){return s===!0||s===!1}function Jn(s){return typeof s>"u"}function Al(s){return!Fo(s)}function Fo(s){return Jn(s)||s===null}function ft(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Zd(s){if(Fo(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function Xv(s){return typeof s=="function"}function TQ(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)RQ(s[i],e[i])}function RQ(s,e){if(Fs(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(Xv(e)){try{if(s instanceof e)return}catch{}if(!Fo(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function yc(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?yc(i):i}),e}function MQ(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(eU.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!NQ(n)&&e.push(n)}}return s}const eU=Object.prototype.hasOwnProperty;function tU(s,e){return kR(s,e,new Set)}function kR(s,e,t){if(Fo(s))return s;const i=e(s);if(typeof i<"u")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(kR(o,e,t));return n}if(on(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)eU.call(s,o)&&(n[o]=kR(s[o],e,t));return t.delete(s),n}return s}function kI(s,e,t=!0){return on(s)?(on(e)&&Object.keys(e).forEach(i=>{i in s?t&&(on(s[i])&&on(e[i])?kI(s[i],e[i],t):s[i]=e[i]):s[i]=e[i]}),s):e}function ho(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!ho(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!ho(n,o))return!1;for(t=0;t<n.length;t++)if(!ho(s[n[t]],e[n[t]]))return!1}return!0}function AQ(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function DR(s){const e=[];for(const t of AQ(s))typeof s[t]=="function"&&e.push(t);return e}function PQ(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}function iU(){return globalThis._VSCODE_NLS_MESSAGES}function i5(){return globalThis._VSCODE_NLS_LANGUAGE}const OQ=i5()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function By(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),OQ&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return By(typeof s=="number"?nU(s,e):e,t)}function nU(s,e){var i;const t=(i=iU())==null?void 0:i[s];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${s} !!!`)}return t}function Ee(s,e,...t){let i;typeof s=="number"?i=nU(s,e):i=e;const n=By(i,t);return{value:n,original:e===i?n:By(e,t)}}const gp="en";let Hy=!1,Vy=!1,ZS=!1,sU=!1,n5=!1,s5=!1,oU=!1,W0,YS=gp,o7=gp,FQ,ha;const $c=globalThis;let rs;var jz;typeof $c.vscode<"u"&&typeof $c.vscode.process<"u"?rs=$c.vscode.process:typeof process<"u"&&typeof((jz=process==null?void 0:process.versions)==null?void 0:jz.node)=="string"&&(rs=process);var Kz;const WQ=typeof((Kz=rs==null?void 0:rs.versions)==null?void 0:Kz.electron)=="string",BQ=WQ&&(rs==null?void 0:rs.type)==="renderer";var qz;if(typeof rs=="object"){Hy=rs.platform==="win32",Vy=rs.platform==="darwin",ZS=rs.platform==="linux",ZS&&rs.env.SNAP&&rs.env.SNAP_REVISION,rs.env.CI||rs.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=gp,YS=gp;const s=rs.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s);W0=e.userLocale,o7=e.osLocale,YS=e.resolvedLanguage||gp,FQ=(qz=e.languagePack)==null?void 0:qz.translationsConfigFile}catch{}sU=!0}else typeof navigator=="object"&&!BQ?(ha=navigator.userAgent,Hy=ha.indexOf("Windows")>=0,Vy=ha.indexOf("Macintosh")>=0,s5=(ha.indexOf("Macintosh")>=0||ha.indexOf("iPad")>=0||ha.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ZS=ha.indexOf("Linux")>=0,oU=(ha==null?void 0:ha.indexOf("Mobi"))>=0,n5=!0,YS=i5()||gp,W0=navigator.language.toLowerCase(),o7=W0):console.error("Unable to resolve platform.");const Nn=Hy,Je=Vy,Cs=ZS,Na=sU,uf=n5,HQ=n5&&typeof $c.importScripts=="function",VQ=HQ?$c.origin:void 0,Wa=s5,rU=oU,Bl=ha,zQ=YS,UQ=typeof $c.postMessage=="function"&&!$c.importScripts,aU=(()=>{if(UQ){const s=[];$c.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),$c.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),co=Vy||s5?2:Hy?1:3;let r7=!0,a7=!1;function lU(){if(!a7){a7=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,r7=new Uint16Array(s.buffer)[0]===513}return r7}const cU=!!(Bl&&Bl.indexOf("Chrome")>=0),$Q=!!(Bl&&Bl.indexOf("Firefox")>=0),jQ=!!(!cU&&Bl&&Bl.indexOf("Safari")>=0),KQ=!!(Bl&&Bl.indexOf("Edg/")>=0),qQ=!!(Bl&&Bl.indexOf("Android")>=0),Pn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var ot;(function(s){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(w){yield w}s.single=n;function o(w){return e(w)?w:n(w)}s.wrap=o;function r(w){return w||t}s.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}s.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}s.first=c;function d(w,S){let L=0;for(const k of w)if(S(k,L++))return!0;return!1}s.some=d;function h(w,S){for(const L of w)if(S(L))return L}s.find=h;function*u(w,S){for(const L of w)S(L)&&(yield L)}s.filter=u;function*g(w,S){let L=0;for(const k of w)yield S(k,L++)}s.map=g;function*f(w,S){let L=0;for(const k of w)yield*S(k,L++)}s.flatMap=f;function*m(...w){for(const S of w)yield*S}s.concat=m;function _(w,S,L){let k=L;for(const D of w)k=S(k,D);return k}s.reduce=_;function*b(w,S,L=w.length){for(S<0&&(S+=w.length),L<0?L+=w.length:L>w.length&&(L=w.length);S<L;S++)yield w[S]}s.slice=b;function C(w,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,w];const k=w[Symbol.iterator]();for(let D=0;D<S;D++){const T=k.next();if(T.done)return[L,s.empty()];L.push(T.value)}return[L,{[Symbol.iterator](){return k}}]}s.consume=C;async function v(w){const S=[];for await(const L of w)S.push(L);return Promise.resolve(S)}s.asyncToArray=v})(ot||(ot={}));var ch;let Ki=(ch=class{constructor(e){this.element=e,this.next=ch.Undefined,this.prev=ch.Undefined}},ch.Undefined=new ch(void 0),ch);class hs{constructor(){this._first=Ki.Undefined,this._last=Ki.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Ki.Undefined}clear(){let e=this._first;for(;e!==Ki.Undefined;){const t=e.next;e.prev=Ki.Undefined,e.next=Ki.Undefined,e=t}this._first=Ki.Undefined,this._last=Ki.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Ki(e);if(this._first===Ki.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Ki.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Ki.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Ki.Undefined&&e.next!==Ki.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Ki.Undefined&&e.next===Ki.Undefined?(this._first=Ki.Undefined,this._last=Ki.Undefined):e.next===Ki.Undefined?(this._last=this._last.prev,this._last.next=Ki.Undefined):e.prev===Ki.Undefined&&(this._first=this._first.next,this._first.prev=Ki.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Ki.Undefined;)yield e.element,e=e.next}}const zy="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function GQ(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of zy)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const o5=GQ();function r5(s){let e=o5;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const dU=new hs;dU.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Qv(s,e,t,i,n){if(e=r5(e),n||(n=ot.first(dU)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),Qv(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=ZQ(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function ZQ(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const rl=8;class hU{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class uU{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Qt{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return DI(e,t)}compute(e,t,i){return i}}class jC{constructor(e,t){this.newValue=e,this.didChange=t}}function DI(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new jC(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&ti(s,e);return new jC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=DI(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new jC(s,t)}class K1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return DI(e,t)}validate(e){return this.defaultValue}}class ub{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return DI(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function be(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class ut extends ub{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return be(e,this.defaultValue)}}function Cu(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class At extends ub{static clampedInt(e,t,i,n){return Cu(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return At.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function YQ(s,e,t,i){if(typeof s>"u")return e;const n=Vo.float(s,e);return Vo.clamp(n,t,i)}class Vo extends ub{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(Vo.float(e,this.defaultValue))}}class Xn extends ub{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Xn.string(e,this.defaultValue)}}function gi(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class ui extends ub{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return gi(e,this.defaultValue,this._allowedValues)}}class B0 extends Qt{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function XQ(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class QQ extends Qt{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class JQ extends Qt{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:be(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:be(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function eJ(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var fn;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(fn||(fn={}));function tJ(s){switch(s){case"line":return fn.Line;case"block":return fn.Block;case"underline":return fn.Underline;case"line-thin":return fn.LineThin;case"block-outline":return fn.BlockOutline;case"underline-thin":return fn.UnderlineThin}}class iJ extends K1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class nJ extends ut{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class sJ extends Qt{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Je},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:be(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":gi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":gi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:be(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:be(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:be(t.loop,this.defaultValue.loop)}}}const bc=class bc extends Qt{constructor(){super(51,"fontLigatures",bc.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?bc.OFF:e==="true"?bc.ON:e:e?bc.ON:bc.OFF}};bc.OFF='"liga" off, "calt" off',bc.ON='"liga" on, "calt" on';let xh=bc;const Cc=class Cc extends Qt{constructor(){super(54,"fontVariations",Cc.OFF,{anyOf:[{type:"boolean",description:p("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:p("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:p("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Cc.OFF:e==="true"?Cc.TRANSLATE:e:e?Cc.TRANSLATE:Cc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};Cc.OFF="normal",Cc.TRANSLATE="translate";let Jv=Cc;class oJ extends K1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class rJ extends ub{constructor(){super(52,"fontSize",ms.fontSize,{type:"number",minimum:6,maximum:100,default:ms.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=Vo.float(e,this.defaultValue);return t===0?ms.fontSize:Vo.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const hl=class hl extends Qt{constructor(){super(53,"fontWeight",ms.fontWeight,{anyOf:[{type:"number",minimum:hl.MINIMUM_VALUE,maximum:hl.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:hl.SUGGESTION_VALUES}],default:ms.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(At.clampedInt(e,ms.fontWeight,hl.MINIMUM_VALUE,hl.MAXIMUM_VALUE))}};hl.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],hl.MINIMUM_VALUE=1,hl.MAXIMUM_VALUE=1e3;let IR=hl;class aJ extends Qt{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:gi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??gi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??gi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??gi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??gi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??gi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??gi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Xn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Xn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Xn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Xn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Xn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Xn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class lJ extends Qt{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:p("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),delay:At.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:be(t.sticky,this.defaultValue.sticky),hidingDelay:At.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:be(t.above,this.defaultValue.above)}}}class im extends K1{constructor(){super(146)}compute(e,t,i){return im.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(o*n);const L=S/o;let k=!1,D=!1,T=w*u,U=u/o,W=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:me,extraLinesBeforeFirstLine:ge,extraLinesBeyondLastLine:Ae,desiredRatio:Pe,minimapLineCount:hi}=im.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(b/hi>1)k=!0,D=!0,u=1,T=1,U=u/o;else{let It=!1,St=u+1;if(f==="fit"){const Ti=Math.ceil((ge+b+Ae)*T);v&&a&&C<=t.stableFitRemainingWidth?(It=!0,St=t.stableFitMaxMinimapScale):It=Ti>S}if(f==="fill"||It){k=!0;const Ti=u;T=Math.min(l*o,Math.max(1,Math.floor(1/Pe))),v&&a&&C<=t.stableFitRemainingWidth&&(St=t.stableFitMaxMinimapScale),u=Math.min(St,Math.max(1,Math.floor(T/w))),u>Ti&&(W=Math.min(2,u/Ti)),U=u/o/W,S=Math.ceil(Math.max(me,ge+b+Ae)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const V=Math.floor(g*U),$=Math.min(V,Math.max(0,Math.floor((C-_-2)*U/(c+U)))+rl);let B=Math.floor(o*$);const X=B/o;B=Math.floor(B*W);const ae=h?1:2,ue=m==="left"?0:i-$-_;return{renderMinimap:ae,minimapLeft:ue,minimapWidth:$,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:B,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),m=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),L=e.get(104),k=L.verticalScrollbarSize,D=L.verticalHasArrows,T=L.arrowSize,U=L.horizontalScrollbarSize,W=e.get(43),V=e.get(111)!=="never";let $=e.get(66);W&&V&&($+=16);let B=0;if(b){const Is=Math.max(r,C);B=Math.round(Is*l)}let X=0;_&&(X=o*t.glyphMarginDecorationLaneCount);let ae=0,ue=ae+X,me=ue+B,ge=me+$;const Ae=i-X-B-$;let Pe=!1,hi=!1,Be=-1;u==="inherit"&&m?(Pe=!0,hi=!0):g==="on"||g==="bounded"?hi=!0:g==="wordWrapColumn"&&(Be=f);const It=im._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Ae,isViewportWrapping:hi},t.memory||new uU);It.renderMinimap!==0&&It.minimapLeft===0&&(ae+=It.minimapWidth,ue+=It.minimapWidth,me+=It.minimapWidth,ge+=It.minimapWidth);const St=Ae-It.minimapWidth,Ti=Math.max(1,Math.floor((St-k-2)/a)),ns=D?T:0;return hi&&(Be=Math.max(1,Ti),g==="bounded"&&(Be=Math.min(Be,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:X,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:B,decorationsLeft:me,decorationsWidth:$,contentLeft:ge,contentWidth:St,minimap:It,viewportColumn:Ti,isWordWrapMinified:Pe,isViewportWrapping:hi,wrappingColumn:Be,verticalScrollbarWidth:k,horizontalScrollbarHeight:U,overviewRuler:{top:ns,width:k,height:n-2*ns,right:0}}}}class cJ extends Qt{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),p("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:p("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return gi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Vr;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(Vr||(Vr={}));class dJ extends Qt{constructor(){const e={enabled:Vr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Vr.Off,Vr.OnCode,Vr.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:gi(e.enabled,this.defaultValue.enabled,[Vr.Off,Vr.OnCode,Vr.On])}}}class hJ extends Qt{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:p("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:p("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:p("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),maxLineCount:At.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:gi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:be(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class uJ extends Qt{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",Je?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:gi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:At.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Xn.string(t.fontFamily,this.defaultValue.fontFamily),padding:be(t.padding,this.defaultValue.padding)}}}class gJ extends Qt{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):At.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?At.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class fJ extends Vo{constructor(){super(67,"lineHeight",ms.lineHeight,e=>Vo.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height.
- Use 0 to automatically compute the line height from the font size.
- Values between 0 and 8 will be used as a multiplier with the font size.
- Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class pJ extends Qt{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:p("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:p("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[p("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),p("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),p("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:p("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:p("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:p("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:p("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:p("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:p("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:p("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:p("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:p("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:p("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),autohide:be(t.autohide,this.defaultValue.autohide),size:gi(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:gi(t.side,this.defaultValue.side,["right","left"]),showSlider:gi(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:be(t.renderCharacters,this.defaultValue.renderCharacters),scale:At.clampedInt(t.scale,1,1,3),maxColumn:At.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:be(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:be(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:Vo.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:Vo.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}}function mJ(s){return s==="ctrlCmd"?Je?"metaKey":"ctrlKey":"altKey"}class _J extends Qt{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:At.clampedInt(t.top,0,0,1e3),bottom:At.clampedInt(t.bottom,0,0,1e3)}}}class bJ extends Qt{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:p("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:p("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),cycle:be(t.cycle,this.defaultValue.cycle)}}}class CJ extends K1{constructor(){super(144)}compute(e,t,i){return e.pixelRatio}}class vJ extends Qt{constructor(){super(88,"placeholder",void 0)}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e:this.defaultValue}}class wJ extends Qt{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[p("on","Quick suggestions show inside the suggest widget"),p("inline","Quick suggestions show as ghost text"),p("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:p("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:p("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:p("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:p("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=gi(t,this.defaultValue.other,o),typeof i=="boolean"?a=i?"on":"off":a=gi(i,this.defaultValue.comments,o),typeof n=="boolean"?l=n?"on":"off":l=gi(n,this.defaultValue.strings,o),{other:r,comments:a,strings:l}}}class SJ extends Qt{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[p("lineNumbers.off","Line numbers are not rendered."),p("lineNumbers.on","Line numbers are rendered as absolute number."),p("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),p("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:p("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Uy(s){const e=s.get(99);return e==="editable"?s.get(92):e!=="on"}class yJ extends Qt{constructor(){const e=[],t={type:"number",description:p("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:p("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:p("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:At.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:At.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class LJ extends Qt{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function l7(s,e){if(typeof s!="string")return e;switch(s){case"hidden":return 2;case"visible":return 3;default:return 1}}let xJ=class extends Qt{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),p("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),p("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),p("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),p("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:p("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:p("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:p("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:p("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=At.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=At.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:At.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:l7(t.vertical,this.defaultValue.vertical),horizontal:l7(t.horizontal,this.defaultValue.horizontal),useShadows:be(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:be(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:be(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:be(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:be(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:At.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:At.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:be(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:be(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const No="inUntrustedWorkspace",Rs={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class kJ extends Qt{constructor(){const e={nonBasicASCII:No,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:No,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[Rs.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,No],default:e.nonBasicASCII,description:p("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Rs.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:p("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Rs.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:p("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Rs.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,No],default:e.includeComments,description:p("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Rs.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,No],default:e.includeStrings,description:p("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Rs.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:p("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Rs.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:p("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(ho(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(ho(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new jC(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:nm(t.nonBasicASCII,No,[!0,!1,No]),invisibleCharacters:be(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:be(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:nm(t.includeComments,No,[!0,!1,No]),includeStrings:nm(t.includeStrings,No,[!0,!1,No]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,o]of Object.entries(e))o===!0&&(i[n]=!0);return i}}class DJ extends Qt{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:p("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[p("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),p("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),p("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:p("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:p("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:p("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),mode:gi(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:gi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:be(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:be(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:Xn.string(t.fontFamily,this.defaultValue.fontFamily)}}}class IJ extends Qt{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:p("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[p("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),p("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),p("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:p("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:p("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showToolbar:gi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:Xn.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:be(t.keepOnBlur,this.defaultValue.keepOnBlur)}}}class EJ extends Qt{constructor(){const e={enabled:Pn.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Pn.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:p("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:be(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class NJ extends Qt{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairs.true","Enables bracket pair guides."),p("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),p("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:p("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),p("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),p("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:p("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:p("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:p("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[p("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),p("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),p("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:p("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:nm(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:nm(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:be(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:be(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:nm(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function nm(s,e,t){const i=t.indexOf(s);return i===-1?e:t[i]}class TJ extends Qt{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[p("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),p("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:p("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:p("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:p("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:p("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[p("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),p("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:p("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:p("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:p("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:p("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:p("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:p("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:p("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:p("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:gi(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:be(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:be(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:be(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:be(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:gi(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:be(t.showIcons,this.defaultValue.showIcons),showStatusBar:be(t.showStatusBar,this.defaultValue.showStatusBar),preview:be(t.preview,this.defaultValue.preview),previewMode:gi(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:be(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:be(t.showMethods,this.defaultValue.showMethods),showFunctions:be(t.showFunctions,this.defaultValue.showFunctions),showConstructors:be(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:be(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:be(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:be(t.showFields,this.defaultValue.showFields),showVariables:be(t.showVariables,this.defaultValue.showVariables),showClasses:be(t.showClasses,this.defaultValue.showClasses),showStructs:be(t.showStructs,this.defaultValue.showStructs),showInterfaces:be(t.showInterfaces,this.defaultValue.showInterfaces),showModules:be(t.showModules,this.defaultValue.showModules),showProperties:be(t.showProperties,this.defaultValue.showProperties),showEvents:be(t.showEvents,this.defaultValue.showEvents),showOperators:be(t.showOperators,this.defaultValue.showOperators),showUnits:be(t.showUnits,this.defaultValue.showUnits),showValues:be(t.showValues,this.defaultValue.showValues),showConstants:be(t.showConstants,this.defaultValue.showConstants),showEnums:be(t.showEnums,this.defaultValue.showEnums),showEnumMembers:be(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:be(t.showKeywords,this.defaultValue.showKeywords),showWords:be(t.showWords,this.defaultValue.showWords),showColors:be(t.showColors,this.defaultValue.showColors),showFiles:be(t.showFiles,this.defaultValue.showFiles),showReferences:be(t.showReferences,this.defaultValue.showReferences),showFolders:be(t.showFolders,this.defaultValue.showFolders),showTypeParameters:be(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:be(t.showSnippets,this.defaultValue.showSnippets),showUsers:be(t.showUsers,this.defaultValue.showUsers),showIssues:be(t.showIssues,this.defaultValue.showIssues)}}}class RJ extends Qt{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:p("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:p("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:be(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:be(e.selectSubwords,this.defaultValue.selectSubwords)}}}class MJ extends Qt{constructor(){const e=[];super(131,"wordSegmenterLocales",e,{anyOf:[{description:p("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:p("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if(typeof e=="string"&&(e=[e]),Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="string")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch{}return t}return this.defaultValue}}class AJ extends Qt{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[p("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),p("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),p("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),p("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:p("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class PJ extends K1{constructor(){super(147)}compute(e,t,i){const n=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class OJ extends Qt{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:p("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[p("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),p("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showDropSelector:gi(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class FJ extends Qt{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:p("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[p("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),p("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:be(t.enabled,this.defaultValue.enabled),showPasteSelector:gi(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const WJ="Consolas, 'Courier New', monospace",BJ="Menlo, Monaco, 'Courier New', monospace",HJ="'Droid Sans Mono', 'monospace', monospace",ms={fontFamily:Je?BJ:Cs?HJ:WJ,fontWeight:"normal",fontSize:Je?12:14,lineHeight:0,letterSpacing:0},fp=[];function ne(s){return fp[s.id]=s,s}const ja={acceptSuggestionOnCommitCharacter:ne(new ut(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:p("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ne(new ui(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",p("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:p("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ne(new QQ),accessibilityPageSize:ne(new At(3,"accessibilityPageSize",10,1,1073741824,{description:p("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:ne(new Xn(4,"ariaLabel",p("editorViewAccessibleLabel","Editor content"))),ariaRequired:ne(new ut(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:ne(new ut(8,"screenReaderAnnounceInlineSuggestion",!0,{description:p("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:ne(new ui(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),p("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:p("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:ne(new ui(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),p("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:p("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:ne(new ui(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ne(new ui(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ne(new ui(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),p("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:p("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ne(new B0(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],XQ,{enumDescriptions:[p("editor.autoIndent.none","The editor will not insert indentation automatically."),p("editor.autoIndent.keep","The editor will keep the current line's indentation."),p("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),p("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),p("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:p("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ne(new ut(13,"automaticLayout",!1)),autoSurround:ne(new ui(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[p("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),p("editor.autoSurround.quotes","Surround with quotes but not brackets."),p("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:p("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ne(new EJ),bracketPairGuides:ne(new NJ),stickyTabStops:ne(new ut(117,"stickyTabStops",!1,{description:p("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ne(new ut(17,"codeLens",!0,{description:p("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ne(new Xn(18,"codeLensFontFamily","",{description:p("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ne(new At(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:p("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:ne(new ut(20,"colorDecorators",!0,{description:p("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:ne(new ui(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[p("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),p("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),p("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:p("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:ne(new At(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:p("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:ne(new ut(22,"columnSelection",!1,{description:p("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ne(new JQ),contextmenu:ne(new ut(24,"contextmenu",!0)),copyWithSyntaxHighlighting:ne(new ut(25,"copyWithSyntaxHighlighting",!0,{description:p("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ne(new B0(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],eJ,{description:p("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ne(new ui(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[p("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),p("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),p("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:p("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ne(new B0(28,"cursorStyle",fn.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],tJ,{description:p("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ne(new At(29,"cursorSurroundingLines",0,0,1073741824,{description:p("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ne(new ui(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[p("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),p("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:p("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:ne(new At(31,"cursorWidth",0,0,1073741824,{markdownDescription:p("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ne(new ut(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:ne(new ut(33,"disableMonospaceOptimizations",!1)),domReadOnly:ne(new ut(34,"domReadOnly",!1)),dragAndDrop:ne(new ut(35,"dragAndDrop",!0,{description:p("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ne(new nJ),dropIntoEditor:ne(new OJ),stickyScroll:ne(new hJ),experimentalWhitespaceRendering:ne(new ui(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[p("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),p("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),p("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:p("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:ne(new Xn(39,"extraEditorClassName","")),fastScrollSensitivity:ne(new Vo(40,"fastScrollSensitivity",5,s=>s<=0?5:s,{markdownDescription:p("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ne(new sJ),fixedOverflowWidgets:ne(new ut(42,"fixedOverflowWidgets",!1)),folding:ne(new ut(43,"folding",!0,{description:p("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ne(new ui(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[p("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),p("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:p("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ne(new ut(45,"foldingHighlight",!0,{description:p("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ne(new ut(46,"foldingImportsByDefault",!1,{description:p("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:ne(new At(47,"foldingMaximumRegions",5e3,10,65e3,{description:p("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:ne(new ut(48,"unfoldOnClickAfterEndOfLine",!1,{description:p("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ne(new Xn(49,"fontFamily",ms.fontFamily,{description:p("fontFamily","Controls the font family.")})),fontInfo:ne(new oJ),fontLigatures2:ne(new xh),fontSize:ne(new rJ),fontWeight:ne(new IR),fontVariations:ne(new Jv),formatOnPaste:ne(new ut(55,"formatOnPaste",!1,{description:p("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ne(new ut(56,"formatOnType",!1,{description:p("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ne(new ut(57,"glyphMargin",!0,{description:p("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ne(new aJ),hideCursorInOverviewRuler:ne(new ut(59,"hideCursorInOverviewRuler",!1,{description:p("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:ne(new lJ),inDiffEditor:ne(new ut(61,"inDiffEditor",!1)),letterSpacing:ne(new Vo(64,"letterSpacing",ms.letterSpacing,s=>Vo.clamp(s,-5,20),{description:p("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ne(new dJ),lineDecorationsWidth:ne(new gJ),lineHeight:ne(new fJ),lineNumbers:ne(new SJ),lineNumbersMinChars:ne(new At(69,"lineNumbersMinChars",5,1,300)),linkedEditing:ne(new ut(70,"linkedEditing",!1,{description:p("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:ne(new ut(71,"links",!0,{description:p("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ne(new ui(72,"matchBrackets","always",["always","near","never"],{description:p("matchBrackets","Highlight matching brackets.")})),minimap:ne(new pJ),mouseStyle:ne(new ui(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ne(new Vo(75,"mouseWheelScrollSensitivity",1,s=>s===0?1:s,{markdownDescription:p("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ne(new ut(76,"mouseWheelZoom",!1,{markdownDescription:Je?p("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):p("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ne(new ut(77,"multiCursorMergeOverlapping",!0,{description:p("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ne(new B0(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],mJ,{markdownEnumDescriptions:[p("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),p("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:p({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ne(new ui(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[p("multiCursorPaste.spread","Each cursor pastes a single line of the text."),p("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:p("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:ne(new At(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:p("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:ne(new ui(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[p("occurrencesHighlight.off","Does not highlight occurrences."),p("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),p("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:p("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:ne(new ut(82,"overviewRulerBorder",!0,{description:p("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ne(new At(83,"overviewRulerLanes",3,0,3)),padding:ne(new _J),pasteAs:ne(new FJ),parameterHints:ne(new bJ),peekWidgetDefaultFocus:ne(new ui(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[p("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),p("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:p("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:ne(new vJ),definitionLinkOpensInPeek:ne(new ut(89,"definitionLinkOpensInPeek",!1,{description:p("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ne(new wJ),quickSuggestionsDelay:ne(new At(91,"quickSuggestionsDelay",10,0,1073741824,{description:p("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ne(new ut(92,"readOnly",!1)),readOnlyMessage:ne(new LJ),renameOnType:ne(new ut(94,"renameOnType",!1,{description:p("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:p("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ne(new ut(95,"renderControlCharacters",!0,{description:p("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:ne(new ui(96,"renderFinalNewline",Cs?"dimmed":"on",["off","on","dimmed"],{description:p("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ne(new ui(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",p("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:p("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ne(new ut(98,"renderLineHighlightOnlyWhenFocus",!1,{description:p("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ne(new ui(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ne(new ui(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",p("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),p("renderWhitespace.selection","Render whitespace characters only on selected text."),p("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:p("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ne(new At(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:ne(new ut(102,"roundedSelection",!0,{description:p("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ne(new yJ),scrollbar:ne(new xJ),scrollBeyondLastColumn:ne(new At(105,"scrollBeyondLastColumn",4,0,1073741824,{description:p("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ne(new ut(106,"scrollBeyondLastLine",!0,{description:p("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ne(new ut(107,"scrollPredominantAxis",!0,{description:p("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ne(new ut(108,"selectionClipboard",!0,{description:p("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Cs})),selectionHighlight:ne(new ut(109,"selectionHighlight",!0,{description:p("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ne(new ut(110,"selectOnLineNumbers",!0)),showFoldingControls:ne(new ui(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[p("showFoldingControls.always","Always show the folding controls."),p("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),p("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:p("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ne(new ut(112,"showUnused",!0,{description:p("showUnused","Controls fading out of unused code.")})),showDeprecated:ne(new ut(141,"showDeprecated",!0,{description:p("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ne(new uJ),snippetSuggestions:ne(new ui(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[p("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),p("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),p("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),p("snippetSuggestions.none","Do not show snippet suggestions.")],description:p("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ne(new RJ),smoothScrolling:ne(new ut(115,"smoothScrolling",!1,{description:p("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ne(new At(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ne(new TJ),inlineSuggest:ne(new DJ),inlineEdit:ne(new IJ),inlineCompletionsAccessibilityVerbose:ne(new ut(150,"inlineCompletionsAccessibilityVerbose",!1,{description:p("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:ne(new At(120,"suggestFontSize",0,0,1e3,{markdownDescription:p("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:ne(new At(121,"suggestLineHeight",0,0,1e3,{markdownDescription:p("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:ne(new ut(122,"suggestOnTriggerCharacters",!0,{description:p("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ne(new ui(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[p("suggestSelection.first","Always select the first suggestion."),p("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),p("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:p("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ne(new ui(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[p("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),p("tabCompletion.off","Disable tab completions."),p("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:p("tabCompletion","Enables tab completions.")})),tabIndex:ne(new At(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:ne(new kJ),unusualLineTerminators:ne(new ui(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[p("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),p("unusualLineTerminators.off","Unusual line terminators are ignored."),p("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:p("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ne(new ut(128,"useShadowDOM",!0)),useTabStops:ne(new ut(129,"useTabStops",!0,{description:p("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:ne(new ui(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[p("wordBreak.normal","Use the default line break rule."),p("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:p("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:ne(new MJ),wordSeparators:ne(new Xn(132,"wordSeparators",zy,{description:p("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ne(new ui(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[p("wordWrap.off","Lines will never wrap."),p("wordWrap.on","Lines will wrap at the viewport width."),p({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),p({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:p({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ne(new Xn(134,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ne(new Xn(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ne(new At(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:p({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ne(new ui(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ne(new ui(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:ne(new iJ),defaultColorDecorators:ne(new ut(148,"defaultColorDecorators",!1,{markdownDescription:p("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:ne(new CJ),tabFocusMode:ne(new ut(145,"tabFocusMode",!1,{markdownDescription:p("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:ne(new im),wrappingInfo:ne(new PJ),wrappingIndent:ne(new AJ),wrappingStrategy:ne(new cJ)};class VJ{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?Im.isErrorNoTelemetry(e)?new Im(e.message+`
@@ -666,27 +666,27 @@
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
- *-----------------------------------------------------------------------------*/var Y1e=Object.defineProperty,X1e=Object.getOwnPropertyDescriptor,Q1e=Object.getOwnPropertyNames,J1e=Object.prototype.hasOwnProperty,W6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Q1e(e))!J1e.call(s,n)&&n!==t&&Y1e(s,n,{get:()=>e[n],enumerable:!(i=X1e(e,n))||i.enumerable});return s},e0e=(s,e,t)=>(W6(s,e,"default"),t&&W6(t,e,"default")),MC={};e0e(MC,w0);var AG={},zT={},t0e=class PG{static getOrCreate(e){return zT[e]||(zT[e]=new PG(e)),zT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,AG[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function xe(s){const e=s.id;AG[e]=s,MC.languages.register(s);const t=t0e.getOrCreate(e);MC.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),MC.languages.onLanguageEncountered(e,async()=>{const i=await t.load();MC.languages.setLanguageConfiguration(e,i.conf)})}xe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Se(()=>import("./abap-ze8r6a4j.js"),__vite__mapDeps([]))});xe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Se(()=>import("./apex-l4wq3GX1.js"),__vite__mapDeps([]))});xe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Se(()=>import("./azcli-bA_AuLZG.js"),__vite__mapDeps([]))});xe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Se(()=>import("./bat-0sCTlecs.js"),__vite__mapDeps([]))});xe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Se(()=>import("./bicep-qAe7PV0A.js"),__vite__mapDeps([]))});xe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Se(()=>import("./cameligo-MxzRDM6f.js"),__vite__mapDeps([]))});xe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Se(()=>import("./clojure-aJ1F8HHH.js"),__vite__mapDeps([]))});xe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Se(()=>import("./coffee-dz-c8Bgx.js"),__vite__mapDeps([]))});xe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Se(()=>import("./cpp-2U_pDMGk.js"),__vite__mapDeps([]))});xe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Se(()=>import("./cpp-2U_pDMGk.js"),__vite__mapDeps([]))});xe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Se(()=>import("./csharp-4Zs2zOBj.js"),__vite__mapDeps([]))});xe({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Se(()=>import("./csp-lGMKRGPG.js"),__vite__mapDeps([]))});xe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Se(()=>import("./css-QeSqfO15.js"),__vite__mapDeps([]))});xe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Se(()=>import("./cypher-5YIL2BCq.js"),__vite__mapDeps([]))});xe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Se(()=>import("./dart-qjFgolkP.js"),__vite__mapDeps([]))});xe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Se(()=>import("./dockerfile-5toe0RAn.js"),__vite__mapDeps([]))});xe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Se(()=>import("./ecl-1L3WRmRU.js"),__vite__mapDeps([]))});xe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Se(()=>import("./elixir-4vH1gF-H.js"),__vite__mapDeps([]))});xe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Se(()=>import("./flow9-7owDGJzV.js"),__vite__mapDeps([]))});xe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Se(()=>import("./fsharp-bDkC0eEG.js"),__vite__mapDeps([]))});xe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAngleInterpolationDollar)});xe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagBracketInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAngleInterpolationBracket)});xe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagBracketInterpolationBracket)});xe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Se(()=>import("./freemarker2-7czNGzoq.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationBracket)});xe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Se(()=>import("./go-B7tkULuP.js"),__vite__mapDeps([]))});xe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Se(()=>import("./graphql-CtVT9S5J.js"),__vite__mapDeps([]))});xe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Se(()=>import("./handlebars-WxO52qam.js"),__vite__mapDeps([3,1,2]))});xe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Se(()=>import("./hcl-rcnRcHhv.js"),__vite__mapDeps([]))});xe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Se(()=>import("./html-uljtN73o.js"),__vite__mapDeps([4,1,2]))});xe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Se(()=>import("./ini-B-F8H_48.js"),__vite__mapDeps([]))});xe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Se(()=>import("./java-QsCSWwE3.js"),__vite__mapDeps([]))});xe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Se(()=>import("./javascript-co0piviO.js"),__vite__mapDeps([5,6,1,2]))});xe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Se(()=>import("./julia-IAetV4Uj.js"),__vite__mapDeps([]))});xe({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Se(()=>import("./kotlin-alSTuGQa.js"),__vite__mapDeps([]))});xe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Se(()=>import("./less-hZfaYD2w.js"),__vite__mapDeps([]))});xe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Se(()=>import("./lexon-dAwoDiDP.js"),__vite__mapDeps([]))});xe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Se(()=>import("./lua-oETFoaFl.js"),__vite__mapDeps([]))});xe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Se(()=>import("./liquid-JQLAJlRU.js"),__vite__mapDeps([7,1,2]))});xe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Se(()=>import("./m3-pfNrzY-g.js"),__vite__mapDeps([]))});xe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Se(()=>import("./markdown-8sLQQPwY.js"),__vite__mapDeps([]))});xe({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Se(()=>import("./mdx--MEc7-59.js"),__vite__mapDeps([8,1,2]))});xe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Se(()=>import("./mips-8z7PytKi.js"),__vite__mapDeps([]))});xe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Se(()=>import("./msdax-J3g5vy9V.js"),__vite__mapDeps([]))});xe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Se(()=>import("./mysql-HnGTccPx.js"),__vite__mapDeps([]))});xe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Se(()=>import("./objective-c-ozrejCV4.js"),__vite__mapDeps([]))});xe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Se(()=>import("./pascal-pJZfFvIz.js"),__vite__mapDeps([]))});xe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Se(()=>import("./pascaligo-0DtATwAu.js"),__vite__mapDeps([]))});xe({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Se(()=>import("./perl-do3rkI9Q.js"),__vite__mapDeps([]))});xe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Se(()=>import("./pgsql-ryXbWXdn.js"),__vite__mapDeps([]))});xe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Se(()=>import("./php-aHuupjla.js"),__vite__mapDeps([]))});xe({id:"pla",extensions:[".pla"],loader:()=>Se(()=>import("./pla-h3tpWKqn.js"),__vite__mapDeps([]))});xe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Se(()=>import("./postiats-wHg1rUaH.js"),__vite__mapDeps([]))});xe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Se(()=>import("./powerquery-2Tt3HzPs.js"),__vite__mapDeps([]))});xe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Se(()=>import("./powershell--E8XKnlp.js"),__vite__mapDeps([]))});xe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Se(()=>import("./protobuf-5supJPAn.js"),__vite__mapDeps([]))});xe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Se(()=>import("./pug-z8IO2Fo8.js"),__vite__mapDeps([]))});xe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Se(()=>import("./python-jcEZ1nxp.js"),__vite__mapDeps([9,1,2]))});xe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Se(()=>import("./qsharp-CPlGHk-t.js"),__vite__mapDeps([]))});xe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Se(()=>import("./r-fxI4Is36.js"),__vite__mapDeps([]))});xe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Se(()=>import("./razor-dzNkTErc.js"),__vite__mapDeps([10,1,2]))});xe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Se(()=>import("./redis-BX8G37Y7.js"),__vite__mapDeps([]))});xe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Se(()=>import("./redshift-sRh-NLhN.js"),__vite__mapDeps([]))});xe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Se(()=>import("./restructuredtext-YfUmf862.js"),__vite__mapDeps([]))});xe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Se(()=>import("./ruby-8wQ3Zh8u.js"),__vite__mapDeps([]))});xe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Se(()=>import("./rust-v86rzylm.js"),__vite__mapDeps([]))});xe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Se(()=>import("./sb-_rkMImWM.js"),__vite__mapDeps([]))});xe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Se(()=>import("./scala-40tTdy2H.js"),__vite__mapDeps([]))});xe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Se(()=>import("./scheme-5-wDu3JQ.js"),__vite__mapDeps([]))});xe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Se(()=>import("./scss-pQydS_eS.js"),__vite__mapDeps([]))});xe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Se(()=>import("./shell-Ki-wZYQ1.js"),__vite__mapDeps([]))});xe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Se(()=>import("./solidity-N2qlMzF2.js"),__vite__mapDeps([]))});xe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Se(()=>import("./sophia-SjREo0Ok.js"),__vite__mapDeps([]))});xe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Se(()=>import("./sparql-pazIw3FY.js"),__vite__mapDeps([]))});xe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Se(()=>import("./sql-2toitEz_.js"),__vite__mapDeps([]))});xe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Se(()=>import("./st-PaES2HSd.js"),__vite__mapDeps([]))});xe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Se(()=>import("./swift-EwstTa4z.js"),__vite__mapDeps([]))});xe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Se(()=>import("./systemverilog-hLklPNsR.js"),__vite__mapDeps([]))});xe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Se(()=>import("./systemverilog-hLklPNsR.js"),__vite__mapDeps([]))});xe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Se(()=>import("./tcl-nuZs0K-6.js"),__vite__mapDeps([]))});xe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Se(()=>import("./twig-mN8sjoV_.js"),__vite__mapDeps([]))});xe({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Se(()=>import("./typescript-rFPVZWyT.js"),__vite__mapDeps([6,1,2]))});xe({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Se(()=>import("./typespec-W2nuLCQv.js"),__vite__mapDeps([]))});xe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Se(()=>import("./vb-z8sR6fTG.js"),__vite__mapDeps([]))});xe({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Se(()=>import("./wgsl-2VbyLW9i.js"),__vite__mapDeps([]))});xe({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Se(()=>import("./xml-vsTTX_Cj.js"),__vite__mapDeps([11,1,2]))});xe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Se(()=>import("./yaml-1sMNGfO1.js"),__vite__mapDeps([12,1,2]))});/*!-----------------------------------------------------------------------------
+ *-----------------------------------------------------------------------------*/var Y1e=Object.defineProperty,X1e=Object.getOwnPropertyDescriptor,Q1e=Object.getOwnPropertyNames,J1e=Object.prototype.hasOwnProperty,W6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Q1e(e))!J1e.call(s,n)&&n!==t&&Y1e(s,n,{get:()=>e[n],enumerable:!(i=X1e(e,n))||i.enumerable});return s},e0e=(s,e,t)=>(W6(s,e,"default"),t&&W6(t,e,"default")),MC={};e0e(MC,w0);var AG={},zT={},t0e=class PG{static getOrCreate(e){return zT[e]||(zT[e]=new PG(e)),zT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,AG[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function xe(s){const e=s.id;AG[e]=s,MC.languages.register(s);const t=t0e.getOrCreate(e);MC.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),MC.languages.onLanguageEncountered(e,async()=>{const i=await t.load();MC.languages.setLanguageConfiguration(e,i.conf)})}xe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Se(()=>import("./abap-ze8r6a4j.js"),__vite__mapDeps([]))});xe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Se(()=>import("./apex-l4wq3GX1.js"),__vite__mapDeps([]))});xe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Se(()=>import("./azcli-bA_AuLZG.js"),__vite__mapDeps([]))});xe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Se(()=>import("./bat-0sCTlecs.js"),__vite__mapDeps([]))});xe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Se(()=>import("./bicep-qAe7PV0A.js"),__vite__mapDeps([]))});xe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Se(()=>import("./cameligo-MxzRDM6f.js"),__vite__mapDeps([]))});xe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Se(()=>import("./clojure-aJ1F8HHH.js"),__vite__mapDeps([]))});xe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Se(()=>import("./coffee-dz-c8Bgx.js"),__vite__mapDeps([]))});xe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Se(()=>import("./cpp-2U_pDMGk.js"),__vite__mapDeps([]))});xe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Se(()=>import("./cpp-2U_pDMGk.js"),__vite__mapDeps([]))});xe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Se(()=>import("./csharp-4Zs2zOBj.js"),__vite__mapDeps([]))});xe({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Se(()=>import("./csp-lGMKRGPG.js"),__vite__mapDeps([]))});xe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Se(()=>import("./css-QeSqfO15.js"),__vite__mapDeps([]))});xe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Se(()=>import("./cypher-5YIL2BCq.js"),__vite__mapDeps([]))});xe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Se(()=>import("./dart-qjFgolkP.js"),__vite__mapDeps([]))});xe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Se(()=>import("./dockerfile-5toe0RAn.js"),__vite__mapDeps([]))});xe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Se(()=>import("./ecl-1L3WRmRU.js"),__vite__mapDeps([]))});xe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Se(()=>import("./elixir-4vH1gF-H.js"),__vite__mapDeps([]))});xe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Se(()=>import("./flow9-7owDGJzV.js"),__vite__mapDeps([]))});xe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Se(()=>import("./fsharp-bDkC0eEG.js"),__vite__mapDeps([]))});xe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAngleInterpolationDollar)});xe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagBracketInterpolationDollar)});xe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAngleInterpolationBracket)});xe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagBracketInterpolationBracket)});xe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationDollar)});xe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Se(()=>import("./freemarker2-UxhOxt-M.js"),__vite__mapDeps([0,1,2])).then(s=>s.TagAutoInterpolationBracket)});xe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Se(()=>import("./go-B7tkULuP.js"),__vite__mapDeps([]))});xe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Se(()=>import("./graphql-CtVT9S5J.js"),__vite__mapDeps([]))});xe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Se(()=>import("./handlebars-feyIBGtU.js"),__vite__mapDeps([3,1,2]))});xe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Se(()=>import("./hcl-rcnRcHhv.js"),__vite__mapDeps([]))});xe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Se(()=>import("./html-XW1o38ac.js"),__vite__mapDeps([4,1,2]))});xe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Se(()=>import("./ini-B-F8H_48.js"),__vite__mapDeps([]))});xe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Se(()=>import("./java-QsCSWwE3.js"),__vite__mapDeps([]))});xe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Se(()=>import("./javascript-aILp5GNb.js"),__vite__mapDeps([5,6,1,2]))});xe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Se(()=>import("./julia-IAetV4Uj.js"),__vite__mapDeps([]))});xe({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Se(()=>import("./kotlin-alSTuGQa.js"),__vite__mapDeps([]))});xe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Se(()=>import("./less-hZfaYD2w.js"),__vite__mapDeps([]))});xe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Se(()=>import("./lexon-dAwoDiDP.js"),__vite__mapDeps([]))});xe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Se(()=>import("./lua-oETFoaFl.js"),__vite__mapDeps([]))});xe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Se(()=>import("./liquid-Xdf0sURN.js"),__vite__mapDeps([7,1,2]))});xe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Se(()=>import("./m3-pfNrzY-g.js"),__vite__mapDeps([]))});xe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Se(()=>import("./markdown-8sLQQPwY.js"),__vite__mapDeps([]))});xe({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Se(()=>import("./mdx-gQ43aWZ0.js"),__vite__mapDeps([8,1,2]))});xe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Se(()=>import("./mips-8z7PytKi.js"),__vite__mapDeps([]))});xe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Se(()=>import("./msdax-J3g5vy9V.js"),__vite__mapDeps([]))});xe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Se(()=>import("./mysql-HnGTccPx.js"),__vite__mapDeps([]))});xe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Se(()=>import("./objective-c-ozrejCV4.js"),__vite__mapDeps([]))});xe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Se(()=>import("./pascal-pJZfFvIz.js"),__vite__mapDeps([]))});xe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Se(()=>import("./pascaligo-0DtATwAu.js"),__vite__mapDeps([]))});xe({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Se(()=>import("./perl-do3rkI9Q.js"),__vite__mapDeps([]))});xe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Se(()=>import("./pgsql-ryXbWXdn.js"),__vite__mapDeps([]))});xe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Se(()=>import("./php-aHuupjla.js"),__vite__mapDeps([]))});xe({id:"pla",extensions:[".pla"],loader:()=>Se(()=>import("./pla-h3tpWKqn.js"),__vite__mapDeps([]))});xe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Se(()=>import("./postiats-wHg1rUaH.js"),__vite__mapDeps([]))});xe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Se(()=>import("./powerquery-2Tt3HzPs.js"),__vite__mapDeps([]))});xe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Se(()=>import("./powershell--E8XKnlp.js"),__vite__mapDeps([]))});xe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Se(()=>import("./protobuf-5supJPAn.js"),__vite__mapDeps([]))});xe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Se(()=>import("./pug-z8IO2Fo8.js"),__vite__mapDeps([]))});xe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Se(()=>import("./python-1HHjXB9h.js"),__vite__mapDeps([9,1,2]))});xe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Se(()=>import("./qsharp-CPlGHk-t.js"),__vite__mapDeps([]))});xe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Se(()=>import("./r-fxI4Is36.js"),__vite__mapDeps([]))});xe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Se(()=>import("./razor-TyEeYTJH.js"),__vite__mapDeps([10,1,2]))});xe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Se(()=>import("./redis-BX8G37Y7.js"),__vite__mapDeps([]))});xe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Se(()=>import("./redshift-sRh-NLhN.js"),__vite__mapDeps([]))});xe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Se(()=>import("./restructuredtext-YfUmf862.js"),__vite__mapDeps([]))});xe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Se(()=>import("./ruby-8wQ3Zh8u.js"),__vite__mapDeps([]))});xe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Se(()=>import("./rust-v86rzylm.js"),__vite__mapDeps([]))});xe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Se(()=>import("./sb-_rkMImWM.js"),__vite__mapDeps([]))});xe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Se(()=>import("./scala-40tTdy2H.js"),__vite__mapDeps([]))});xe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Se(()=>import("./scheme-5-wDu3JQ.js"),__vite__mapDeps([]))});xe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Se(()=>import("./scss-pQydS_eS.js"),__vite__mapDeps([]))});xe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Se(()=>import("./shell-Ki-wZYQ1.js"),__vite__mapDeps([]))});xe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Se(()=>import("./solidity-N2qlMzF2.js"),__vite__mapDeps([]))});xe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Se(()=>import("./sophia-SjREo0Ok.js"),__vite__mapDeps([]))});xe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Se(()=>import("./sparql-pazIw3FY.js"),__vite__mapDeps([]))});xe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Se(()=>import("./sql-2toitEz_.js"),__vite__mapDeps([]))});xe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Se(()=>import("./st-PaES2HSd.js"),__vite__mapDeps([]))});xe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Se(()=>import("./swift-EwstTa4z.js"),__vite__mapDeps([]))});xe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Se(()=>import("./systemverilog-hLklPNsR.js"),__vite__mapDeps([]))});xe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Se(()=>import("./systemverilog-hLklPNsR.js"),__vite__mapDeps([]))});xe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Se(()=>import("./tcl-nuZs0K-6.js"),__vite__mapDeps([]))});xe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Se(()=>import("./twig-mN8sjoV_.js"),__vite__mapDeps([]))});xe({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Se(()=>import("./typescript-jSqLomXD.js"),__vite__mapDeps([6,1,2]))});xe({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Se(()=>import("./typespec-W2nuLCQv.js"),__vite__mapDeps([]))});xe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Se(()=>import("./vb-z8sR6fTG.js"),__vite__mapDeps([]))});xe({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Se(()=>import("./wgsl-2VbyLW9i.js"),__vite__mapDeps([]))});xe({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Se(()=>import("./xml-PQ1W1vQC.js"),__vite__mapDeps([11,1,2]))});xe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Se(()=>import("./yaml-QORSracL.js"),__vite__mapDeps([12,1,2]))});/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
- *-----------------------------------------------------------------------------*/var i0e=Object.defineProperty,n0e=Object.getOwnPropertyDescriptor,s0e=Object.getOwnPropertyNames,o0e=Object.prototype.hasOwnProperty,B6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s0e(e))!o0e.call(s,n)&&n!==t&&i0e(s,n,{get:()=>e[n],enumerable:!(i=n0e(e,n))||i.enumerable});return s},r0e=(s,e,t)=>(B6(s,e,"default"),t&&B6(t,e,"default")),Mb={};r0e(Mb,w0);var zW=class{constructor(e,t,i){this._onDidChange=new Mb.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},UW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},$W={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},OG=new zW("css",UW,$W),FG=new zW("scss",UW,$W),WG=new zW("less",UW,$W);Mb.languages.css={cssDefaults:OG,lessDefaults:WG,scssDefaults:FG};function jW(){return Se(()=>import("./cssMode-3d_RQH6d.js"),__vite__mapDeps([13,1,2]))}Mb.languages.onLanguage("less",()=>{jW().then(s=>s.setupMode(WG))});Mb.languages.onLanguage("scss",()=>{jW().then(s=>s.setupMode(FG))});Mb.languages.onLanguage("css",()=>{jW().then(s=>s.setupMode(OG))});/*!-----------------------------------------------------------------------------
+ *-----------------------------------------------------------------------------*/var i0e=Object.defineProperty,n0e=Object.getOwnPropertyDescriptor,s0e=Object.getOwnPropertyNames,o0e=Object.prototype.hasOwnProperty,B6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s0e(e))!o0e.call(s,n)&&n!==t&&i0e(s,n,{get:()=>e[n],enumerable:!(i=n0e(e,n))||i.enumerable});return s},r0e=(s,e,t)=>(B6(s,e,"default"),t&&B6(t,e,"default")),Mb={};r0e(Mb,w0);var zW=class{constructor(e,t,i){this._onDidChange=new Mb.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},UW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},$W={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},OG=new zW("css",UW,$W),FG=new zW("scss",UW,$W),WG=new zW("less",UW,$W);Mb.languages.css={cssDefaults:OG,lessDefaults:WG,scssDefaults:FG};function jW(){return Se(()=>import("./cssMode-RYNyR8Bq.js"),__vite__mapDeps([13,1,2]))}Mb.languages.onLanguage("less",()=>{jW().then(s=>s.setupMode(WG))});Mb.languages.onLanguage("scss",()=>{jW().then(s=>s.setupMode(FG))});Mb.languages.onLanguage("css",()=>{jW().then(s=>s.setupMode(OG))});/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
- *-----------------------------------------------------------------------------*/var a0e=Object.defineProperty,l0e=Object.getOwnPropertyDescriptor,c0e=Object.getOwnPropertyNames,d0e=Object.prototype.hasOwnProperty,H6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c0e(e))!d0e.call(s,n)&&n!==t&&a0e(s,n,{get:()=>e[n],enumerable:!(i=l0e(e,n))||i.enumerable});return s},h0e=(s,e,t)=>(H6(s,e,"default"),t&&H6(t,e,"default")),WE={};h0e(WE,w0);var u0e=class{constructor(e,t,i){this._onDidChange=new WE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},g0e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},BE={format:g0e,suggest:{},data:{useDefaultDataProvider:!0}};function HE(s){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:s===vv,documentFormattingEdits:s===vv,documentRangeFormattingEdits:s===vv}}var vv="html",V6="handlebars",z6="razor",BG=VE(vv,BE,HE(vv)),f0e=BG.defaults,HG=VE(V6,BE,HE(V6)),p0e=HG.defaults,VG=VE(z6,BE,HE(z6)),m0e=VG.defaults;WE.languages.html={htmlDefaults:f0e,razorDefaults:m0e,handlebarDefaults:p0e,htmlLanguageService:BG,handlebarLanguageService:HG,razorLanguageService:VG,registerHTMLLanguageService:VE};function _0e(){return Se(()=>import("./htmlMode-X6nY_fAl.js"),__vite__mapDeps([14,1,2]))}function VE(s,e=BE,t=HE(s)){const i=new u0e(s,e,t);let n;const o=WE.languages.onLanguage(s,async()=>{n=(await _0e()).setupMode(i)});return{defaults:i,dispose(){o.dispose(),n==null||n.dispose(),n=void 0}}}/*!-----------------------------------------------------------------------------
+ *-----------------------------------------------------------------------------*/var a0e=Object.defineProperty,l0e=Object.getOwnPropertyDescriptor,c0e=Object.getOwnPropertyNames,d0e=Object.prototype.hasOwnProperty,H6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c0e(e))!d0e.call(s,n)&&n!==t&&a0e(s,n,{get:()=>e[n],enumerable:!(i=l0e(e,n))||i.enumerable});return s},h0e=(s,e,t)=>(H6(s,e,"default"),t&&H6(t,e,"default")),WE={};h0e(WE,w0);var u0e=class{constructor(e,t,i){this._onDidChange=new WE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},g0e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},BE={format:g0e,suggest:{},data:{useDefaultDataProvider:!0}};function HE(s){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:s===vv,documentFormattingEdits:s===vv,documentRangeFormattingEdits:s===vv}}var vv="html",V6="handlebars",z6="razor",BG=VE(vv,BE,HE(vv)),f0e=BG.defaults,HG=VE(V6,BE,HE(V6)),p0e=HG.defaults,VG=VE(z6,BE,HE(z6)),m0e=VG.defaults;WE.languages.html={htmlDefaults:f0e,razorDefaults:m0e,handlebarDefaults:p0e,htmlLanguageService:BG,handlebarLanguageService:HG,razorLanguageService:VG,registerHTMLLanguageService:VE};function _0e(){return Se(()=>import("./htmlMode-GNYYzuyz.js"),__vite__mapDeps([14,1,2]))}function VE(s,e=BE,t=HE(s)){const i=new u0e(s,e,t);let n;const o=WE.languages.onLanguage(s,async()=>{n=(await _0e()).setupMode(i)});return{defaults:i,dispose(){o.dispose(),n==null||n.dispose(),n=void 0}}}/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
- *-----------------------------------------------------------------------------*/var b0e=Object.defineProperty,C0e=Object.getOwnPropertyDescriptor,v0e=Object.getOwnPropertyNames,w0e=Object.prototype.hasOwnProperty,U6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of v0e(e))!w0e.call(s,n)&&n!==t&&b0e(s,n,{get:()=>e[n],enumerable:!(i=C0e(e,n))||i.enumerable});return s},S0e=(s,e,t)=>(U6(s,e,"default"),t&&U6(t,e,"default")),S0={};S0e(S0,w0);var y0e=class{constructor(e,t,i){this._onDidChange=new S0.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},L0e={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},x0e={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},zG=new y0e("json",L0e,x0e),k0e=()=>UG().then(s=>s.getWorker());S0.languages.json={jsonDefaults:zG,getWorker:k0e};function UG(){return Se(()=>import("./jsonMode-KM143a9D.js"),__vite__mapDeps([15,1,2]))}S0.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});S0.languages.onLanguage("json",()=>{UG().then(s=>s.setupMode(zG))});/*!-----------------------------------------------------------------------------
+ *-----------------------------------------------------------------------------*/var b0e=Object.defineProperty,C0e=Object.getOwnPropertyDescriptor,v0e=Object.getOwnPropertyNames,w0e=Object.prototype.hasOwnProperty,U6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of v0e(e))!w0e.call(s,n)&&n!==t&&b0e(s,n,{get:()=>e[n],enumerable:!(i=C0e(e,n))||i.enumerable});return s},S0e=(s,e,t)=>(U6(s,e,"default"),t&&U6(t,e,"default")),S0={};S0e(S0,w0);var y0e=class{constructor(e,t,i){this._onDidChange=new S0.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},L0e={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},x0e={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},zG=new y0e("json",L0e,x0e),k0e=()=>UG().then(s=>s.getWorker());S0.languages.json={jsonDefaults:zG,getWorker:k0e};function UG(){return Se(()=>import("./jsonMode-KjD1007i.js"),__vite__mapDeps([15,1,2]))}S0.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});S0.languages.onLanguage("json",()=>{UG().then(s=>s.setupMode(zG))});/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
- *-----------------------------------------------------------------------------*/var D0e=Object.defineProperty,I0e=Object.getOwnPropertyDescriptor,E0e=Object.getOwnPropertyNames,N0e=Object.prototype.hasOwnProperty,$6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of E0e(e))!N0e.call(s,n)&&n!==t&&D0e(s,n,{get:()=>e[n],enumerable:!(i=I0e(e,n))||i.enumerable});return s},T0e=(s,e,t)=>($6(s,e,"default"),t&&$6(t,e,"default")),R0e="5.4.5",e_={};T0e(e_,w0);var $G=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))($G||{}),jG=(s=>(s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev",s))(jG||{}),KG=(s=>(s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed",s))(KG||{}),qG=(s=>(s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest",s))(qG||{}),GG=(s=>(s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs",s))(GG||{}),ZG=class{constructor(s,e,t,i,n){this._onDidChange=new e_.Emitter,this._onDidExtraLibsChange=new e_.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(s),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(s,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===s)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:s,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(s){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),s&&s.length>0)for(const e of s){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(s){this._compilerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(s){this._diagnosticsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(s){this._workerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(s){this._inlayHintsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(s){}setEagerModelSync(s){this._eagerModelSync=s}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(s){this._modeConfiguration=s||Object.create(null),this._onDidChange.fire(void 0)}},M0e=R0e,YG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},XG=new ZG({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},YG),QG=new ZG({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},YG),A0e=()=>zE().then(s=>s.getTypeScriptWorker()),P0e=()=>zE().then(s=>s.getJavaScriptWorker());e_.languages.typescript={ModuleKind:$G,JsxEmit:jG,NewLineKind:KG,ScriptTarget:qG,ModuleResolutionKind:GG,typescriptVersion:M0e,typescriptDefaults:XG,javascriptDefaults:QG,getTypeScriptWorker:A0e,getJavaScriptWorker:P0e};function zE(){return Se(()=>import("./tsMode-i1fWJZVb.js"),__vite__mapDeps([16,1,2]))}e_.languages.onLanguage("typescript",()=>zE().then(s=>s.setupTypeScript(XG)));e_.languages.onLanguage("javascript",()=>zE().then(s=>s.setupJavaScript(QG)));class O0e extends Ls{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ee("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ee.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:fe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class JG extends Ls{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ee("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class eZ extends Ls{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ee("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const y0=Ee("diffEditor","Diff Editor");class F0e extends Ka{constructor(){super({id:"diffEditor.switchSide",title:Ee("switchSide","Switch Side"),icon:ee.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,i){const n=Ab(e);if(n instanceof ad){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class W0e extends Ka{constructor(){super({id:"diffEditor.exitCompareMove",title:Ee("exitCompareMove","Exit Compare Move"),icon:ee.close,precondition:I.comparingMovedCode,f1:!1,category:y0,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.exitCompareMove()}}class B0e extends Ka{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ee("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ee.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.collapseAllUnchangedRegions()}}class H0e extends Ka{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ee("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ee.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.showAllUnchangedRegions()}}class cO extends Ls{constructor(){super({id:"diffEditor.revert",title:Ee("revert","Revert"),f1:!1,category:y0})}run(e,t){const i=V0e(e,t.originalUri,t.modifiedUri);i instanceof ad&&i.revertRangeMappings(t.mapping.innerChanges??[])}}const tZ=Ee("accessibleDiffViewer","Accessible Diff Viewer"),FD=class FD extends Ls{constructor(){super({id:FD.id,title:Ee("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:tZ,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Ab(e);t==null||t.accessibleDiffViewerNext()}};FD.id="editor.action.accessibleDiffViewer.next";let i1=FD;const WD=class WD extends Ls{constructor(){super({id:WD.id,title:Ee("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:tZ,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Ab(e);t==null||t.accessibleDiffViewerPrev()}};WD.id="editor.action.accessibleDiffViewer.prev";let Bx=WD;function V0e(s,e,t){return s.get(pt).listDiffEditors().find(o=>{var l,c;const r=o.getModifiedEditor(),a=o.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Ab(s){const t=s.get(pt).listDiffEditors(),i=In();if(i)for(const n of t){const o=n.getContainerDomNode();if(z0e(o,i))return n}return null}function z0e(s,e){let t=e;for(;t;){if(t===s)return!0;t=t.parentElement}return!1}Ot(O0e);Ot(JG);Ot(eZ);rn.appendMenuItem(fe.EditorTitle,{command:{id:new eZ().desc.id,title:p("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(I.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});rn.appendMenuItem(fe.EditorTitle,{command:{id:new JG().desc.id,title:p("showMoves","Show Moved Code Blocks"),icon:ee.move,toggled:mb.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});Ot(cO);for(const s of[{icon:ee.arrowRight,key:I.diffEditorInlineMode.toNegated()},{icon:ee.discard,key:I.diffEditorInlineMode}])rn.appendMenuItem(fe.DiffEditorHunkToolbar,{command:{id:new cO().desc.id,title:p("revertHunk","Revert Block"),icon:s.icon},when:q.and(I.diffEditorModifiedWritable,s.key),order:5,group:"primary"}),rn.appendMenuItem(fe.DiffEditorSelectionToolbar,{command:{id:new cO().desc.id,title:p("revertSelection","Revert Selection"),icon:s.icon},when:q.and(I.diffEditorModifiedWritable,s.key),order:5,group:"primary"});Ot(F0e);Ot(W0e);Ot(B0e);Ot(H0e);rn.appendMenuItem(fe.EditorTitle,{command:{id:i1.id,title:p("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(I.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});rt.registerCommandAlias("editor.action.diffReview.next",i1.id);Ot(i1);rt.registerCommandAlias("editor.action.diffReview.prev",Bx.id);Ot(Bx);var U0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},$0e=function(s,e){return function(t,i){e(t,i,s)}},dO;const UE=new le("selectionAnchorSet",!1);var x_;let Hh=(x_=class{static get(e){return e.getContribution(dO.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=UE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(pe.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new On().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Ss(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(pe.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},dO=x_,x_.ID="editor.contrib.selectionAnchorController",x_);Hh=dO=U0e([$0e(1,Ie)],Hh);class j0e extends de{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:Hi(2089,2080),weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.setSelectionAnchor()}}class K0e extends de{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:UE})}async run(e,t){var i;(i=Hh.get(t))==null||i.goToSelectionAnchor()}}class q0e extends de{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:UE,kbOpts:{kbExpr:I.editorTextFocus,primary:Hi(2089,2089),weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.selectFromAnchorToCursor()}}class G0e extends de{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:UE,kbOpts:{kbExpr:I.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.cancelSelectionAnchor()}}ct(Hh.ID,Hh,4);Q(j0e);Q(K0e);Q(q0e);Q(G0e);const Z0e=E("editorOverviewRuler.bracketMatchForeground","#A0A0A0",p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Y0e extends de{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Jg.get(t))==null||i.jumpToBracket()}}class X0e extends de{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ee("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var o;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(o=Jg.get(t))==null||o.selectToBracket(n)}}class Q0e extends de{constructor(){super({id:"editor.action.removeBrackets",label:p("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Jg.get(t))==null||i.removeBrackets(this.id)}}class J0e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const Wd=class Wd extends F{static get(e){return e.getContribution(Wd.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Dt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.bracketPairs.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)&&!o[1].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new pe(r.lineNumber,r.column,r.lineNumber,r.column):new pe(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.bracketPairs.matchBracket(o);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(o),!r)){const c=t.bracketPairs.findNextBracket(o);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(o)){const h=a;a=l,l=h}}a&&l&&i.push(new pe(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let o=t.bracketPairs.matchBracket(n);o||(o=t.bracketPairs.findEnclosingBrackets(n)),o&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:o[0],text:""},{range:o[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const o=[];let r=0;for(let h=0,u=e.length;h<u;h++){const g=e[h];g.isEmpty()&&(o[r++]=g.getStartPosition())}o.length>1&&o.sort(A.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=o.length;h<u;h++){const g=o[h];for(;c<d&&n[c].position.isBefore(g);)c++;if(c<d&&n[c].position.equals(g))a[l++]=n[c];else{let f=t.bracketPairs.matchBracket(g,20),m=Wd._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!f&&this._matchBrackets==="always"&&(f=t.bracketPairs.findEnclosingBrackets(g,20),m=Wd._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[l++]=new J0e(g,f,m)}}this._lastBracketsData=a,this._lastVersionId=i}};Wd.ID="editor.contrib.bracketMatchingController",Wd._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Fe.register({description:"bracket-match-overview",stickiness:1,className:"bracket-match",overviewRuler:{color:pi(Z0e),position:Ko.Center}}),Wd._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Fe.register({description:"bracket-match-no-overview",stickiness:1,className:"bracket-match"});let Jg=Wd;ct(Jg.ID,Jg,1);Q(X0e);Q(Y0e);Q(Q0e);rn.appendMenuItem(fe.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class eSe{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,o,i,o),a)}else{const r=new x(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new pe(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new pe(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class iZ extends de{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const o of n)i.push(new eSe(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class tSe extends iZ{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:I.writable})}}class iSe extends iZ{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:I.writable})}}Q(tSe);Q(iSe);class nSe extends de{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:I.writable,kbOpts:{kbExpr:I.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],o=t.getSelections();for(const r of o){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():yt.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=yt.leftPosition(i,d),u=yt.leftPosition(i,h),g=i.getValueInRange(x.fromPositions(u,h)),f=i.getValueInRange(x.fromPositions(h,d)),m=x.fromPositions(u,d);n.push(new kn(m,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q(nSe);const $E=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let s;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?s=crypto.getRandomValues.bind(crypto):s=function(i){for(let n=0;n<i.length;n++)i[n]=Math.floor(Math.random()*256);return i};const e=new Uint8Array(16),t=[];for(let i=0;i<256;i++)t.push(i.toString(16).padStart(2,"0"));return function(){s(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let n=0,o="";return o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o}}();function KW(s){return{asString:async()=>s,asFile:()=>{},value:typeof s=="string"?s:void 0}}function sSe(s,e,t){const i={id:$E(),name:s,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class nZ{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return ot.some(this,([i,n])=>n.asFile())&&t.push("files"),oZ(Hx(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return Hx(e)}}function Hx(s){return s.toLowerCase()}function sZ(s,e){return oZ(Hx(s),e.map(Hx))}function oZ(s,e){if(s==="*/*")return e.length>0;if(e.includes(s))return!0;const t=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,o]=t;return o==="*"?e.some(r=>r.startsWith(n+"/")):!1}const jE=Object.freeze({create:s=>Xc(s.map(e=>e.toString())).join(`\r
+ *-----------------------------------------------------------------------------*/var D0e=Object.defineProperty,I0e=Object.getOwnPropertyDescriptor,E0e=Object.getOwnPropertyNames,N0e=Object.prototype.hasOwnProperty,$6=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of E0e(e))!N0e.call(s,n)&&n!==t&&D0e(s,n,{get:()=>e[n],enumerable:!(i=I0e(e,n))||i.enumerable});return s},T0e=(s,e,t)=>($6(s,e,"default"),t&&$6(t,e,"default")),R0e="5.4.5",e_={};T0e(e_,w0);var $G=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))($G||{}),jG=(s=>(s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev",s))(jG||{}),KG=(s=>(s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed",s))(KG||{}),qG=(s=>(s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest",s))(qG||{}),GG=(s=>(s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs",s))(GG||{}),ZG=class{constructor(s,e,t,i,n){this._onDidChange=new e_.Emitter,this._onDidExtraLibsChange=new e_.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(s),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(s,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===s)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:s,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(s){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),s&&s.length>0)for(const e of s){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(s){this._compilerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(s){this._diagnosticsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(s){this._workerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(s){this._inlayHintsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(s){}setEagerModelSync(s){this._eagerModelSync=s}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(s){this._modeConfiguration=s||Object.create(null),this._onDidChange.fire(void 0)}},M0e=R0e,YG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},XG=new ZG({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},YG),QG=new ZG({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},YG),A0e=()=>zE().then(s=>s.getTypeScriptWorker()),P0e=()=>zE().then(s=>s.getJavaScriptWorker());e_.languages.typescript={ModuleKind:$G,JsxEmit:jG,NewLineKind:KG,ScriptTarget:qG,ModuleResolutionKind:GG,typescriptVersion:M0e,typescriptDefaults:XG,javascriptDefaults:QG,getTypeScriptWorker:A0e,getJavaScriptWorker:P0e};function zE(){return Se(()=>import("./tsMode-uoK2x2Py.js"),__vite__mapDeps([16,1,2]))}e_.languages.onLanguage("typescript",()=>zE().then(s=>s.setupTypeScript(XG)));e_.languages.onLanguage("javascript",()=>zE().then(s=>s.setupJavaScript(QG)));class O0e extends Ls{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ee("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ee.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:fe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class JG extends Ls{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ee("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class eZ extends Ls{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ee("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const y0=Ee("diffEditor","Diff Editor");class F0e extends Ka{constructor(){super({id:"diffEditor.switchSide",title:Ee("switchSide","Switch Side"),icon:ee.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,i){const n=Ab(e);if(n instanceof ad){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class W0e extends Ka{constructor(){super({id:"diffEditor.exitCompareMove",title:Ee("exitCompareMove","Exit Compare Move"),icon:ee.close,precondition:I.comparingMovedCode,f1:!1,category:y0,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.exitCompareMove()}}class B0e extends Ka{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ee("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ee.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.collapseAllUnchangedRegions()}}class H0e extends Ka{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ee("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ee.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:y0})}runEditorCommand(e,t,...i){const n=Ab(e);n instanceof ad&&n.showAllUnchangedRegions()}}class cO extends Ls{constructor(){super({id:"diffEditor.revert",title:Ee("revert","Revert"),f1:!1,category:y0})}run(e,t){const i=V0e(e,t.originalUri,t.modifiedUri);i instanceof ad&&i.revertRangeMappings(t.mapping.innerChanges??[])}}const tZ=Ee("accessibleDiffViewer","Accessible Diff Viewer"),FD=class FD extends Ls{constructor(){super({id:FD.id,title:Ee("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:tZ,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Ab(e);t==null||t.accessibleDiffViewerNext()}};FD.id="editor.action.accessibleDiffViewer.next";let i1=FD;const WD=class WD extends Ls{constructor(){super({id:WD.id,title:Ee("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:tZ,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Ab(e);t==null||t.accessibleDiffViewerPrev()}};WD.id="editor.action.accessibleDiffViewer.prev";let Bx=WD;function V0e(s,e,t){return s.get(pt).listDiffEditors().find(o=>{var l,c;const r=o.getModifiedEditor(),a=o.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Ab(s){const t=s.get(pt).listDiffEditors(),i=In();if(i)for(const n of t){const o=n.getContainerDomNode();if(z0e(o,i))return n}return null}function z0e(s,e){let t=e;for(;t;){if(t===s)return!0;t=t.parentElement}return!1}Ot(O0e);Ot(JG);Ot(eZ);rn.appendMenuItem(fe.EditorTitle,{command:{id:new eZ().desc.id,title:p("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(I.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});rn.appendMenuItem(fe.EditorTitle,{command:{id:new JG().desc.id,title:p("showMoves","Show Moved Code Blocks"),icon:ee.move,toggled:mb.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});Ot(cO);for(const s of[{icon:ee.arrowRight,key:I.diffEditorInlineMode.toNegated()},{icon:ee.discard,key:I.diffEditorInlineMode}])rn.appendMenuItem(fe.DiffEditorHunkToolbar,{command:{id:new cO().desc.id,title:p("revertHunk","Revert Block"),icon:s.icon},when:q.and(I.diffEditorModifiedWritable,s.key),order:5,group:"primary"}),rn.appendMenuItem(fe.DiffEditorSelectionToolbar,{command:{id:new cO().desc.id,title:p("revertSelection","Revert Selection"),icon:s.icon},when:q.and(I.diffEditorModifiedWritable,s.key),order:5,group:"primary"});Ot(F0e);Ot(W0e);Ot(B0e);Ot(H0e);rn.appendMenuItem(fe.EditorTitle,{command:{id:i1.id,title:p("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(I.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});rt.registerCommandAlias("editor.action.diffReview.next",i1.id);Ot(i1);rt.registerCommandAlias("editor.action.diffReview.prev",Bx.id);Ot(Bx);var U0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},$0e=function(s,e){return function(t,i){e(t,i,s)}},dO;const UE=new le("selectionAnchorSet",!1);var x_;let Hh=(x_=class{static get(e){return e.getContribution(dO.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=UE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(pe.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new On().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Ss(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(pe.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},dO=x_,x_.ID="editor.contrib.selectionAnchorController",x_);Hh=dO=U0e([$0e(1,Ie)],Hh);class j0e extends de{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:Hi(2089,2080),weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.setSelectionAnchor()}}class K0e extends de{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:UE})}async run(e,t){var i;(i=Hh.get(t))==null||i.goToSelectionAnchor()}}class q0e extends de{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:UE,kbOpts:{kbExpr:I.editorTextFocus,primary:Hi(2089,2089),weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.selectFromAnchorToCursor()}}class G0e extends de{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:UE,kbOpts:{kbExpr:I.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Hh.get(t))==null||i.cancelSelectionAnchor()}}ct(Hh.ID,Hh,4);Q(j0e);Q(K0e);Q(q0e);Q(G0e);const Z0e=E("editorOverviewRuler.bracketMatchForeground","#A0A0A0",p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Y0e extends de{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Jg.get(t))==null||i.jumpToBracket()}}class X0e extends de{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ee("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var o;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(o=Jg.get(t))==null||o.selectToBracket(n)}}class Q0e extends de{constructor(){super({id:"editor.action.removeBrackets",label:p("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:I.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Jg.get(t))==null||i.removeBrackets(this.id)}}class J0e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const Wd=class Wd extends F{static get(e){return e.getContribution(Wd.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Dt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.bracketPairs.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)&&!o[1].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new pe(r.lineNumber,r.column,r.lineNumber,r.column):new pe(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.bracketPairs.matchBracket(o);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(o),!r)){const c=t.bracketPairs.findNextBracket(o);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(o)){const h=a;a=l,l=h}}a&&l&&i.push(new pe(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let o=t.bracketPairs.matchBracket(n);o||(o=t.bracketPairs.findEnclosingBrackets(n)),o&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:o[0],text:""},{range:o[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const o=[];let r=0;for(let h=0,u=e.length;h<u;h++){const g=e[h];g.isEmpty()&&(o[r++]=g.getStartPosition())}o.length>1&&o.sort(A.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=o.length;h<u;h++){const g=o[h];for(;c<d&&n[c].position.isBefore(g);)c++;if(c<d&&n[c].position.equals(g))a[l++]=n[c];else{let f=t.bracketPairs.matchBracket(g,20),m=Wd._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!f&&this._matchBrackets==="always"&&(f=t.bracketPairs.findEnclosingBrackets(g,20),m=Wd._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[l++]=new J0e(g,f,m)}}this._lastBracketsData=a,this._lastVersionId=i}};Wd.ID="editor.contrib.bracketMatchingController",Wd._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Fe.register({description:"bracket-match-overview",stickiness:1,className:"bracket-match",overviewRuler:{color:pi(Z0e),position:Ko.Center}}),Wd._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Fe.register({description:"bracket-match-no-overview",stickiness:1,className:"bracket-match"});let Jg=Wd;ct(Jg.ID,Jg,1);Q(X0e);Q(Y0e);Q(Q0e);rn.appendMenuItem(fe.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class eSe{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,o,i,o),a)}else{const r=new x(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new pe(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new pe(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class iZ extends de{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const o of n)i.push(new eSe(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class tSe extends iZ{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:I.writable})}}class iSe extends iZ{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:I.writable})}}Q(tSe);Q(iSe);class nSe extends de{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:I.writable,kbOpts:{kbExpr:I.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],o=t.getSelections();for(const r of o){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():yt.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=yt.leftPosition(i,d),u=yt.leftPosition(i,h),g=i.getValueInRange(x.fromPositions(u,h)),f=i.getValueInRange(x.fromPositions(h,d)),m=x.fromPositions(u,d);n.push(new kn(m,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q(nSe);const $E=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let s;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?s=crypto.getRandomValues.bind(crypto):s=function(i){for(let n=0;n<i.length;n++)i[n]=Math.floor(Math.random()*256);return i};const e=new Uint8Array(16),t=[];for(let i=0;i<256;i++)t.push(i.toString(16).padStart(2,"0"));return function(){s(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let n=0,o="";return o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+="-",o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o}}();function KW(s){return{asString:async()=>s,asFile:()=>{},value:typeof s=="string"?s:void 0}}function sSe(s,e,t){const i={id:$E(),name:s,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class nZ{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return ot.some(this,([i,n])=>n.asFile())&&t.push("files"),oZ(Hx(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return Hx(e)}}function Hx(s){return s.toLowerCase()}function sZ(s,e){return oZ(Hx(s),e.map(Hx))}function oZ(s,e){if(s==="*/*")return e.length>0;if(e.includes(s))return!0;const t=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,o]=t;return o==="*"?e.some(r=>r.startsWith(n+"/")):!1}const jE=Object.freeze({create:s=>Xc(s.map(e=>e.toString())).join(`\r
`),split:s=>s.split(`\r
`),parse:s=>jE.split(s).filter(e=>!e.startsWith("#"))}),fl=class fl{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+fl.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new fl((this.value?[this.value,...e]:e).join(fl.sep))}};fl.sep=".",fl.None=new fl("@@none@@"),fl.Empty=new fl("");let ei=fl;const j6={EDITORS:"CodeEditors",FILES:"CodeFiles"};class oSe{}const rSe={DragAndDropContribution:"workbench.contributions.dragAndDrop"};li.add(rSe.DragAndDropContribution,new oSe);const jv=class jv{constructor(){}static getInstance(){return jv.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}};jv.INSTANCE=new jv;let hO=jv;function rZ(s){const e=new nZ;for(const t of s.items){const i=t.type;if(t.kind==="string"){const n=new Promise(o=>t.getAsString(o));e.append(i,KW(n))}else if(t.kind==="file"){const n=t.getAsFile();n&&e.append(i,aSe(n))}}return e}function aSe(s){const e=s.path?we.parse(s.path):void 0;return sSe(s.name,e,async()=>new Uint8Array(await s.arrayBuffer()))}const lSe=Object.freeze([j6.EDITORS,j6.FILES,Iw.RESOURCES,Iw.INTERNAL_URI_LIST]);function aZ(s,e=!1){const t=rZ(s),i=t.get(Iw.INTERNAL_URI_LIST);if(i)t.replace(vi.uriList,i);else if(e||!t.has(vi.uriList)){const n=[];for(const o of s.items){const r=o.getAsFile();if(r){const a=r.path;try{a?n.push(we.file(a).toString()):n.push(we.parse(r.name,!0).toString())}catch{}}}n.length&&t.replace(vi.uriList,KW(jE.create(n)))}for(const n of lSe)t.delete(n);return t}var qW=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},n1=function(s,e){return function(t,i){e(t,i,s)}};class GW{async provideDocumentPasteEdits(e,t,i,n,o){const r=await this.getEdit(i,o);if(r)return{edits:[{insertText:r.insertText,title:r.title,kind:r.kind,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}],dispose(){}}}async provideDocumentDropEdits(e,t,i,n){const o=await this.getEdit(i,n);if(o)return{edits:[{insertText:o.insertText,title:o.title,kind:o.kind,handledMimeType:o.handledMimeType,yieldTo:o.yieldTo}],dispose(){}}}}const Kv=class Kv extends GW{constructor(){super(...arguments),this.kind=Kv.kind,this.dropMimeTypes=[vi.text],this.pasteMimeTypes=[vi.text]}async getEdit(e,t){const i=e.get(vi.text);if(!i||e.has(vi.uriList))return;const n=await i.asString();return{handledMimeType:vi.text,title:p("text.label","Insert Plain Text"),insertText:n,kind:this.kind}}};Kv.id="text",Kv.kind=new ei("text.plain");let ef=Kv;class lZ extends GW{constructor(){super(...arguments),this.kind=new ei("uri.absolute"),this.dropMimeTypes=[vi.uriList],this.pasteMimeTypes=[vi.uriList]}async getEdit(e,t){const i=await cZ(e);if(!i.length||t.isCancellationRequested)return;let n=0;const o=i.map(({uri:a,originalText:l})=>a.scheme===Oe.file?a.fsPath:(n++,l)).join(" ");let r;return n>0?r=i.length>1?p("defaultDropProvider.uriList.uris","Insert Uris"):p("defaultDropProvider.uriList.uri","Insert Uri"):r=i.length>1?p("defaultDropProvider.uriList.paths","Insert Paths"):p("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:vi.uriList,insertText:o,title:r,kind:this.kind}}}let Vx=class extends GW{constructor(e){super(),this._workspaceContextService=e,this.kind=new ei("uri.relative"),this.dropMimeTypes=[vi.uriList],this.pasteMimeTypes=[vi.uriList]}async getEdit(e,t){const i=await cZ(e);if(!i.length||t.isCancellationRequested)return;const n=Xr(i.map(({uri:o})=>{const r=this._workspaceContextService.getWorkspaceFolder(o);return r?_le(r.uri,o):void 0}));if(n.length)return{handledMimeType:vi.uriList,insertText:n.join(" "),title:i.length>1?p("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):p("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}}};Vx=qW([n1(0,qg)],Vx);class cSe{constructor(){this.kind=new ei("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:vi.text}]}async provideDocumentPasteEdits(e,t,i,n,o){var l;if(n.triggerKind!==iw.PasteAs&&!((l=n.only)!=null&&l.contains(this.kind)))return;const r=i.get("text/html"),a=await(r==null?void 0:r.asString());if(!(!a||o.isCancellationRequested))return{dispose(){},edits:[{insertText:a,yieldTo:this._yieldTo,title:p("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}}}async function cZ(s){const e=s.get(vi.uriList);if(!e)return[];const t=await e.asString(),i=[];for(const n of jE.parse(t))try{i.push({uri:we.parse(n),originalText:n})}catch{}return i}let uO=class extends F{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new ef)),this._register(e.documentDropEditProvider.register("*",new lZ)),this._register(e.documentDropEditProvider.register("*",new Vx(t)))}};uO=qW([n1(0,he),n1(1,qg)],uO);let gO=class extends F{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new ef)),this._register(e.documentPasteEditProvider.register("*",new lZ)),this._register(e.documentPasteEditProvider.register("*",new Vx(t))),this._register(e.documentPasteEditProvider.register("*",new cSe))}};gO=qW([n1(0,he),n1(1,qg)],gO);const Fr=class Fr{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=Fr._table[i],typeof n=="number")return this.pos+=1,{type:n,pos:e,len:1};if(Fr.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(Fr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(Fr.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(Fr.isVariableCharacter(i)||Fr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof Fr._table[i]>"u"&&!Fr.isDigitCharacter(i)&&!Fr.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}};Fr._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};let fO=Fr;class Pb{constructor(){this._children=[]}appendChild(e){return e instanceof ds&&this._children[this._children.length-1]instanceof ds?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),o=i.children.slice(0);o.splice(n,1,...t),i._children=o,function r(a,l){for(const c of a)c.parent=l,r(c.children,c)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof L0)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class ds extends Pb{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new ds(this.value)}}class dZ extends Pb{}class hr extends dZ{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof Ob?this._children[0]:void 0}clone(){const e=new hr(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class Ob extends Pb{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof ds&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new Ob;return this.options.forEach(e.appendChild,e),e}}class ZW extends Pb{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(o=>o instanceof ya&&!!o.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(const i of this._children)if(i instanceof ya){let n=e[i.index]||"";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return""}clone(){const e=new ZW;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class ya extends Pb{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":this.shorthandName==="camelcase"?e?this._toCamelCase(e):"":e&&typeof this.ifValue=="string"?this.ifValue:!e&&typeof this.elseValue=="string"?this.elseValue:e||""}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}clone(){return new ya(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class s1 extends dZ{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0?(this._children=[new ds(t)],!0):!1}clone(){const e=new s1(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function K6(s,e){const t=[...s];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class L0 extends Pb{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof hr&&(e.push(i),t=!t||t.index<i.index?i:t),!0}),this._placeholders={all:e,last:t}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,i=!1;return this.walk(n=>n===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return K6([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof hr&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof s1&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new L0;return this._children=this.children.map(t=>t.clone()),e}walk(e){K6(this.children,e)}}class tf{constructor(){this._scanner=new fO,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new L0;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i??!1,t??!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,o=[];t.walk(l=>(l instanceof hr&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):o.push(l)),!0));const r=(l,c)=>{const d=n.get(l.index);if(!d)return;const h=new hr(l.index);h.transform=l.transform;for(const u of d){const g=u.clone();h.appendChild(g),g instanceof hr&&n.has(g.index)&&!c.has(g.index)&&(c.add(g.index),r(g,c),c.delete(g.index))}t.replace(l,[h])},a=new Set;for(const l of o)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(o=>o.index===0)||e.appendChild(new hr(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new ds(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new hr(Number(t)):new s1(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const o=new hr(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new ds("${"+t+":")),o.children.forEach(e.appendChild,e),!0}else if(o.index>0&&this._accept(7)){const r=new Ob;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(o.appendChild(r),this._accept(4)))return e.appendChild(o),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(o),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new ds(i.join(""))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const o=new s1(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new ds("${"+t+":")),o.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(o),!0):this._backTo(i)}_parseTransform(e){const t=new ZW;let i="",n="";for(;!this._accept(6);){let o;if(o=this._accept(5,!0)){o=this._accept(6,!0)||o,i+=o;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let o;if(o=this._accept(5,!0)){o=this._accept(5,!0)||this._accept(6,!0)||o,t.appendChild(new ds(o));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new ya(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new ya(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const o=this._accept(9,!0);return!o||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new ya(Number(n),o)),!0)}else if(this._accept(11)){const o=this._until(4);if(o)return e.appendChild(new ya(Number(n),void 0,o,void 0)),!0}else if(this._accept(12)){const o=this._until(4);if(o)return e.appendChild(new ya(Number(n),void 0,void 0,o)),!0}else if(this._accept(13)){const o=this._until(1);if(o){const r=this._until(4);if(r)return e.appendChild(new ya(Number(n),void 0,o,r)),!0}}else{const o=this._until(4);if(o)return e.appendChild(new ya(Number(n),void 0,void 0,o)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new ds(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function hZ(s,e,t){var i,n;return(typeof t.insertText=="string"?t.insertText==="":t.insertText.snippet==="")?{edits:((i=t.additionalEdit)==null?void 0:i.edits)??[]}:{edits:[...e.map(o=>new Ch(s,{range:o,text:typeof t.insertText=="string"?tf.escape(t.insertText)+"$0":t.insertText.snippet,insertAsSnippet:!0})),...((n=t.additionalEdit)==null?void 0:n.edits)??[]]}}function uZ(s){function e(r,a){return"mimeType"in r?r.mimeType===a.handledMimeType:!!a.kind&&r.kind.contains(a.kind)}const t=new Map;for(const r of s)for(const a of r.yieldTo??[])for(const l of s)if(l!==r&&e(a,l)){let c=t.get(r);c||(c=[],t.set(r,c)),c.push(l)}if(!t.size)return Array.from(s);const i=new Set,n=[];function o(r){if(!r.length)return[];const a=r[0];if(n.includes(a))return console.warn("Yield to cycle detected",a),r;if(i.has(a))return o(r.slice(1));let l=[];const c=t.get(a);return c&&(n.push(a),l=o(c),n.pop()),i.add(a),[...l,a,...o(r.slice(1))]}return o(Array.from(s))}var dSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},hSe=function(s,e){return function(t,i){e(t,i,s)}};const uSe=Fe.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:FU,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}}),BD=class BD extends F{constructor(e,t,i,n,o){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=o,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=ie(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;const t=ie("span.icon");this.domNode.append(t),t.classList.add(...De.asClassNameArray(ee.loading),"codicon-modifier-spin");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register(z(this.domNode,te.CLICK,n=>{this.delegate.cancel()}))}getId(){return BD.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}};BD.baseId="editor.widget.inlineProgressWidget";let pO=BD,zx=class extends F{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new Ji),this._currentWidget=this._register(new Ji),this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}dispose(){super.dispose(),this._currentDecorations.clear()}async showWhile(e,t,i,n,o){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=Nh(()=>{const a=x.fromPositions(e);this._currentDecorations.set([{range:a,options:uSe}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(pO,this.id,this._editor,a,t,n))},o??this._showDelay);try{return await i}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};zx=dSe([hSe(2,ve)],zx);var gSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},q6=function(s,e){return function(t,i){e(t,i,s)}},xy,wg;let fo=(wg=class{static get(e){return e.getContribution(xy.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new Ji,this._messageListeners=new K,this._mouseOverMessage=!1,this._editor=e,this._visible=xy.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)==null||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Ss(Fa(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=Fa(e)?hE(e,{actionHandler:{callback:n=>{this.closeMessage(),f3(this._openerService,n,Fa(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new G6(this._editor,t,typeof e=="string"?e:this._message.element),this._messageListeners.add(se.debounce(this._editor.onDidBlurEditorText,(n,o)=>o,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&Zi(In(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(z(this._messageWidget.value.getDomNode(),te.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(z(this._messageWidget.value.getDomNode(),te.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(G6.fadeOut(this._messageWidget.value))}},xy=wg,wg.ID="editor.contrib.messageController",wg.MESSAGE_VISIBLE=new le("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message")),wg);fo=xy=gSe([q6(1,Ie),q6(2,js)],fo);const fSe=$i.bindToContribution(fo.get);oe(new fSe({id:"leaveEditorMessage",precondition:fo.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:130,primary:9}}));let G6=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");typeof n=="string"?(r.classList.add("message"),r.textContent=n):(n.classList.add("message"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};ct(fo.ID,fo,4);function UT(s,e){return e&&(s.stack||s.stacktrace)?p("stackTrace.format","{0}: {1}",Y6(s),Z6(s.stack)||Z6(s.stacktrace)):Y6(s)}function Z6(s){return Array.isArray(s)?s.join(`
`):s}function Y6(s){return s.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${s.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof s.code=="string"&&typeof s.errno=="number"&&typeof s.syscall=="string"?p("nodeExceptionMessage","A system error occurred ({0})",s.message):s.message||p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Ux(s=null,e=!1){if(!s)return p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(s)){const t=Xr(s),i=Ux(t[0],e);return t.length>1?p("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Fs(s))return s;if(s.detail){const t=s.detail;if(t.error)return UT(t.error,e);if(t.exception)return UT(t.exception,e)}return s.stack?UT(s,e):s.message?s.message:p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var gZ=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},xm=function(s,e){return function(t,i){e(t,i,s)}},mO,k_;let _O=(k_=class extends F{constructor(e,t,i,n,o,r,a,l,c,d){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=o,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=d,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(c),this.visibleContext.set(!0),this._register(Ce(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Ce(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(h=>{o.containsPosition(h.position)||this.dispose()})),this._register(se.runAndSubscribe(d.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var t;const e=(t=this._keybindingService.lookupKeybinding(this.showCommand.id))==null?void 0:t.getLabel();this.button.element.title=this.showCommand.label+(e?` (${e})`:"")}create(){this.domNode=ie(".post-edit-widget"),this.button=this._register(new ZL(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(z(this.domNode,te.CLICK,()=>this.showSelector()))}getId(){return mO.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=wi(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>lg({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}},mO=k_,k_.baseId="editor.widget.postEditWidget",k_);_O=mO=gZ([xm(7,vo),xm(8,Ie),xm(9,wt)],_O);let $x=class extends F{constructor(e,t,i,n,o,r,a){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=o,this._bulkEditService=r,this._notificationService=a,this._currentWidget=this._register(new Ji),this._register(se.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,o){const r=this._editor.getModel();if(!r||!e.length)return;const a=t.allEdits.at(t.activeEditIndex);if(!a)return;const l=async _=>{const b=this._editor.getModel();b&&(await b.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:_,allEdits:t.allEdits},i,n,o))},c=(_,b)=>{Dr(_)||(this._notificationService.error(b),i&&this.show(e[0],t,l))};let d;try{d=await n(a,o)}catch(_){return c(_,p("resolveError",`Error resolving edit '{0}':
@@ -785,7 +785,7 @@
`:""}var BAe=WAe,HAe={dump:BAe};function UB(s,e){return function(){throw new Error("Function yaml."+s+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var VAe=bs,zAe=NX,UAe=AX,$Ae=BX,jAe=HX,KAe=BB,qAe=nQ.load,GAe=nQ.loadAll,ZAe=HAe.dump,YAe=lo,XAe={binary:jX,float:WX,map:MX,null:PX,pairs:qX,set:GX,timestamp:UX,bool:OX,int:FX,merge:$X,omap:KX,seq:RX,str:TX},QAe=UB("safeLoad","load"),JAe=UB("safeLoadAll","loadAll"),e2e=UB("safeDump","dump"),t2e={Type:VAe,Schema:zAe,FAILSAFE_SCHEMA:UAe,JSON_SCHEMA:$Ae,CORE_SCHEMA:jAe,DEFAULT_SCHEMA:KAe,load:qAe,loadAll:GAe,dump:ZAe,YAMLException:YAe,types:XAe,safeLoad:QAe,safeLoadAll:JAe,safeDump:e2e};const FFe=t2e;export{OFe as _,w0 as m,XG as t,FFe as y};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["assets/freemarker2-7czNGzoq.js","assets/index-hmLAZQYT.js","assets/index-YSfCu-V6.css","assets/handlebars-WxO52qam.js","assets/html-uljtN73o.js","assets/javascript-co0piviO.js","assets/typescript-rFPVZWyT.js","assets/liquid-JQLAJlRU.js","assets/mdx--MEc7-59.js","assets/python-jcEZ1nxp.js","assets/razor-dzNkTErc.js","assets/xml-vsTTX_Cj.js","assets/yaml-1sMNGfO1.js","assets/cssMode-3d_RQH6d.js","assets/htmlMode-X6nY_fAl.js","assets/jsonMode-KM143a9D.js","assets/tsMode-i1fWJZVb.js"]
+ __vite__mapDeps.viteFileDeps = ["assets/freemarker2-UxhOxt-M.js","assets/index-3zDsduUv.js","assets/index-YSfCu-V6.css","assets/handlebars-feyIBGtU.js","assets/html-XW1o38ac.js","assets/javascript-aILp5GNb.js","assets/typescript-jSqLomXD.js","assets/liquid-Xdf0sURN.js","assets/mdx-gQ43aWZ0.js","assets/python-1HHjXB9h.js","assets/razor-TyEeYTJH.js","assets/xml-PQ1W1vQC.js","assets/yaml-QORSracL.js","assets/cssMode-RYNyR8Bq.js","assets/htmlMode-GNYYzuyz.js","assets/jsonMode-KjD1007i.js","assets/tsMode-uoK2x2Py.js"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
diff --git a/app/dubbo-ui/dist/admin/assets/jsonMode-KM143a9D.js b/app/dubbo-ui/dist/admin/assets/jsonMode-KjD1007i.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/jsonMode-KM143a9D.js
rename to app/dubbo-ui/dist/admin/assets/jsonMode-KjD1007i.js
index 55799d3..cbeaf08 100644
--- a/app/dubbo-ui/dist/admin/assets/jsonMode-KM143a9D.js
+++ b/app/dubbo-ui/dist/admin/assets/jsonMode-KjD1007i.js
@@ -1,4 +1,4 @@
-import{m as Lt}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as Lt}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/linkTracking-gLhWXj25.js b/app/dubbo-ui/dist/admin/assets/linkTracking-gLhWXj25.js
new file mode 100644
index 0000000..290dfa4
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/linkTracking-gLhWXj25.js
@@ -0,0 +1 @@
+import{G as s}from"./GrafanaPage-tT3NMW70.js";import{d as t,a as r,U as o,r as n,z as c,c as i,b as _,o as p}from"./index-3zDsduUv.js";import{b as m}from"./instance-qriYfOrq.js";import"./request-3an337VF.js";const d={class:"__container_ins_tracing"},E=t({__name:"linkTracking",setup(f){var a;const e=r();return o(c.GRAFANA,n({api:m,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"instance"})),(l,u)=>(p(),i("div",d,[_(s)]))}});export{E as default};
diff --git a/app/dubbo-ui/dist/admin/assets/linkTracking-vLLhx3tk.js b/app/dubbo-ui/dist/admin/assets/linkTracking-vLLhx3tk.js
deleted file mode 100644
index c33619b..0000000
--- a/app/dubbo-ui/dist/admin/assets/linkTracking-vLLhx3tk.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as s}from"./GrafanaPage-_hmQyI5w.js";import{d as t,a as r,R as o,r as n,y as c,c as i,b as _,o as p}from"./index-hmLAZQYT.js";import{b as m}from"./instance-9-P3Wy8N.js";import"./request-8jI_GZey.js";const d={class:"__container_ins_tracing"},E=t({__name:"linkTracking",setup(f){var a;const e=r();return o(c.GRAFANA,n({api:m,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"instance"})),(l,u)=>(p(),i("div",d,[_(s)]))}});export{E as default};
diff --git a/app/dubbo-ui/dist/admin/assets/liquid-JQLAJlRU.js b/app/dubbo-ui/dist/admin/assets/liquid-Xdf0sURN.js
similarity index 96%
rename from app/dubbo-ui/dist/admin/assets/liquid-JQLAJlRU.js
rename to app/dubbo-ui/dist/admin/assets/liquid-Xdf0sURN.js
index 534587b..7e0c3a5 100644
--- a/app/dubbo-ui/dist/admin/assets/liquid-JQLAJlRU.js
+++ b/app/dubbo-ui/dist/admin/assets/liquid-Xdf0sURN.js
@@ -1,4 +1,4 @@
-import{m as d}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as d}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/login-9T-XtNdg.js b/app/dubbo-ui/dist/admin/assets/login-9T-XtNdg.js
deleted file mode 100644
index 0e5c226..0000000
--- a/app/dubbo-ui/dist/admin/assets/login-9T-XtNdg.js
+++ /dev/null
@@ -1 +0,0 @@
-import{r as t}from"./request-8jI_GZey.js";const e=o=>t({url:"/auth/login",method:"post",data:o,headers:{"Content-Type":"multipart/form-data"}}),a=()=>t({url:"/auth/logout",method:"post"});export{a,e as l};
diff --git a/app/dubbo-ui/dist/admin/assets/mdx--MEc7-59.js b/app/dubbo-ui/dist/admin/assets/mdx-gQ43aWZ0.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/mdx--MEc7-59.js
rename to app/dubbo-ui/dist/admin/assets/mdx-gQ43aWZ0.js
index a4610f4..c62e6be 100644
--- a/app/dubbo-ui/dist/admin/assets/mdx--MEc7-59.js
+++ b/app/dubbo-ui/dist/admin/assets/mdx-gQ43aWZ0.js
@@ -1,4 +1,4 @@
-import{m as d}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as d}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-4PTw3Hnl.js b/app/dubbo-ui/dist/admin/assets/monitor-4PTw3Hnl.js
deleted file mode 100644
index 3ebc8ba..0000000
--- a/app/dubbo-ui/dist/admin/assets/monitor-4PTw3Hnl.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as o}from"./GrafanaPage-_hmQyI5w.js";import{d as r,a as t,R as s,r as c,y as n,c as i,b as p,o as m}from"./index-hmLAZQYT.js";import{a as _}from"./service-HiIVI9X0.js";import"./request-8jI_GZey.js";const d={class:"__container_app_monitor"},R=r({__name:"monitor",setup(f){var e;const a=t();return s(n.GRAFANA,c({api:_,showIframe:!1,name:((e=a.params)==null?void 0:e.pathId)+":22222",type:"service"})),(u,l)=>(m(),i("div",d,[p(o)]))}});export{R as default};
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-JE2IXQk_.js b/app/dubbo-ui/dist/admin/assets/monitor-JE2IXQk_.js
new file mode 100644
index 0000000..f0253d2
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/monitor-JE2IXQk_.js
@@ -0,0 +1 @@
+import{G as o}from"./GrafanaPage-tT3NMW70.js";import{d as r,a as t,U as s,r as c,z as n,c as i,b as p,o as m}from"./index-3zDsduUv.js";import{a as _}from"./service-Hb3ldtV6.js";import"./request-3an337VF.js";const d={class:"__container_app_monitor"},A=r({__name:"monitor",setup(f){var e;const a=t();return s(n.GRAFANA,c({api:_,showIframe:!1,name:((e=a.params)==null?void 0:e.pathId)+":22222",type:"service"})),(u,l)=>(m(),i("div",d,[p(o)]))}});export{A as default};
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-Yx9RU22f.js b/app/dubbo-ui/dist/admin/assets/monitor-Yx9RU22f.js
new file mode 100644
index 0000000..0f5d8c9
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/monitor-Yx9RU22f.js
@@ -0,0 +1 @@
+import{G as o}from"./GrafanaPage-tT3NMW70.js";import{d as t,a as s,U as r,r as n,z as c,c as i,b as m,o as _}from"./index-3zDsduUv.js";import{a as p}from"./instance-qriYfOrq.js";import"./request-3an337VF.js";const d={class:"__container_ins_monitor"},A=t({__name:"monitor",setup(f){var a;const e=s();return r(c.GRAFANA,n({api:p,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"instance"})),(u,l)=>(_(),i("div",d,[m(o)]))}});export{A as default};
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-kZ_wOjob.js b/app/dubbo-ui/dist/admin/assets/monitor-kZ_wOjob.js
new file mode 100644
index 0000000..5d78caf
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/monitor-kZ_wOjob.js
@@ -0,0 +1 @@
+import{G as o}from"./GrafanaPage-tT3NMW70.js";import{c as t}from"./app-mdoSebGq.js";import{d as r,a as s,U as n,r as p,z as c,c as i,b as m,n as _,o as f}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const d={class:"__container_app_monitor"},G=r({__name:"monitor",setup(l){var a;const e=s();return n(c.GRAFANA,p({api:t,showIframe:!1,name:(a=e.params)==null?void 0:a.pathId,type:"application"})),(u,h)=>(f(),i("div",d,[m(_(o))]))}});export{G as default};
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-l-14_P1G.js b/app/dubbo-ui/dist/admin/assets/monitor-l-14_P1G.js
deleted file mode 100644
index 27e6315..0000000
--- a/app/dubbo-ui/dist/admin/assets/monitor-l-14_P1G.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as o}from"./GrafanaPage-_hmQyI5w.js";import{d as t,a as s,R as r,r as n,y as c,c as i,b as m,o as _}from"./index-hmLAZQYT.js";import{a as p}from"./instance-9-P3Wy8N.js";import"./request-8jI_GZey.js";const d={class:"__container_ins_monitor"},v=t({__name:"monitor",setup(f){var a;const e=s();return r(c.GRAFANA,n({api:p,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"instance"})),(u,l)=>(_(),i("div",d,[m(o)]))}});export{v as default};
diff --git a/app/dubbo-ui/dist/admin/assets/monitor-sGZqYA6v.js b/app/dubbo-ui/dist/admin/assets/monitor-sGZqYA6v.js
deleted file mode 100644
index 4d663c3..0000000
--- a/app/dubbo-ui/dist/admin/assets/monitor-sGZqYA6v.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as o}from"./GrafanaPage-_hmQyI5w.js";import{c as t}from"./app-duU6O0cq.js";import{d as r,a as s,R as n,r as p,y as c,c as i,b as m,n as _,o as f}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const d={class:"__container_app_monitor"},v=r({__name:"monitor",setup(l){var a;const e=s();return n(c.GRAFANA,p({api:t,showIframe:!1,name:(a=e.params)==null?void 0:a.pathId,type:"application"})),(u,h)=>(f(),i("div",d,[m(_(o))]))}});export{v as default};
diff --git a/app/dubbo-ui/dist/admin/assets/notFound-gtHVn9y2.js b/app/dubbo-ui/dist/admin/assets/notFound-hYD9Tscu.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/notFound-gtHVn9y2.js
rename to app/dubbo-ui/dist/admin/assets/notFound-hYD9Tscu.js
index ddc869b..2420e98 100644
--- a/app/dubbo-ui/dist/admin/assets/notFound-gtHVn9y2.js
+++ b/app/dubbo-ui/dist/admin/assets/notFound-hYD9Tscu.js
@@ -1 +1 @@
-import{d as B,u as w,c,b as e,w as A,e as o,o as g,j as m,n as E,f as r,t as u,_ as h}from"./index-hmLAZQYT.js";const I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAAoCAMAAACfFQXaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACuUExURUdwTDan7xfJ5wzU5jCt8zeo7WZ2+Dip62V391qG9VSJ9YdV/2px9yuz61GN9Htg/BTM5z+e8Htj/G1w+im27EeX8h3C6TSq7oBb/jSq7hDQ5hPM6HFr+lCM9GB9+FqE9wjZ5hPM6DGu7T6h8UOc8n1g/U+Q9Gd2+XVo/F9+93hk/EuU8yy07mtz+iK/7IRY/w7S6BjJ6ohV/yW67APe5mR6+UeY8yi37DWu84Vf/xmiDNwAAAAfdFJOUwC+TtUHJuQUITLlyz8+8WObb5f17OzHkejgbu6zufJfV5qDAAAIpklEQVRYw5WZiXaqyhKGERrBgS0a0TgRnKJGRI3G6Pu/2K3quRs055ZmZy2X29TvV1NXO2GFBU7JSPjaiPE2Xz3xUfq8wK+wgDhPzXfHA2+SnbxB7Prm+1rvZWtNew3rExr1+hs8qKX4xEczpQ80n/+hZtJMEvqjbJTUuqaGWn80GvXxCQ98UhsMo0rvg3E8OTHLsus188b6p7W+lT0ej/VjDfZYv0/bxoe037YHtJ/DD9oO7IP+fFBrhlznv0+0/R6e+9ttdVtxG3W1743U7mCLRb7I0X7BLmBF0Y/DCve9Obg+FxJOoGESB2UBx8dxfVxT+/r62q6/eoEhgPq/QfuRGpSAhi6Aur+/gQIpYLmcBYaAhTBdQ3HxbAjR4DQ/n+ZzoSCjFK6eawk4cv+PQsHX9qulxVHjTfj/gwJ2pv9lAlQBGkJYgv/Le42UBeSLX1DwywRQCX1TgTs5nc9z6X9GBVAJY6ILOFKTBJiCg6bAJsAVCAlPCXAEKGE11AQslkKBFUXFQAc/PlP3mSkEKOAaawKY9w9TwNd22wpNASqCmICP6hDSCLAsoAiWy0YlAXgwYwKKof79c/9lAGWMAGNgE+g1aA3srYX/28OUGCHEFWx2PyaAD1GFuAClAEI/9GtUwOo+1AhIA//zyygK/GHBGEwkgtBDADSCJvAGKL6uJxQgA9cg8Ojw/9ZjCLaoYNspE9CS+EMwsEKIu79f3ZKIONGNI0h8RWBpEABppF8wAoUrvrX4LCLo5PEuEQyumUTgKQHwmDIPOp2pIAAKDq2gTGC3gSaQprvnZVQRgMwls+WKhdAyKhOgSfwLysYMwKU4C1DR5KwIjMdMV3RSMUQRCALf9Ltu017Akxjt0KkgUG9DsLVTvQpVJTFmcRdeS5bCutU5cIlB5iDnOVDERAPAcxi9psWfeFfpP0UgCVBPew+tjFIJPAt0Amk9wKEhfVqFJIBVE945hPBnCO7dUhVCAr931yERrUJIoBiwNwX9syRAa1CGAAMvywwELSMFmACNwPYtVJ2YA9igACesywz4+KzuA/sVeBwmKxFBVQSAQT6AL6lWYB9A/wteH92TTgDLkC6AEsBSyqvQNyVAOAFZhmQalwg4QfpHJwYCCejqqjIq6qiWA5gCOeiK+pfLxaijJD4XGgFQkLk0hHQCHikReEgAVMBh26vIAay37fTjxSzEAIArQe0mCYwcuwrRKjrCOBMAQAJLdTI4WwQmbonANTAJGCHECLxNLQIwSsA4Wm/Wd38SSGAg7LJRYqWlgCKAEZRfQKbfv4gcOA9Y1vlmCmASuKUcuEaVOaAR2G7r/6kPVBG4zeCVGZ/lEIA8NWjD3G/exxqaX+gshBE0VkW0mJcIEEmAKhhX5oBO4IsGvNmJS6OQXYV4FsMfjPgotFIprFchHIUwzgaXX0FAFNGIpYCdA5KAyOKKHGACRA68By9mIe6/VYV4EcIBeraSBGpV43Se4/jp3tWRwHeMIvQsB7JrpgTYOcAAiBCqIiBmoSd9gDUy+Mb9RA6jy8QgIJMAp+zahU/ToECcVcZAoDBygPYB8heBtVmFQEBo9YEN/f6taTQsJ3ESYA29KQUjt1yF8hwmBKihapyWbYCGj9EHjCqUXSsIlPvAGw8hcxb6+XmdA+j/J8Z2ovm/XI2CUh/IRwAgvohxGiVcmM4u5rCRxf+NwKNEIChVoc3OyoGqKpQ0sIaKAwGzYakTYxPz+ywFaBXCUYIIAuf5/5kDFVXo0JJ9YCMI1DvtdruTvjyRYQ0NZvI8YyDQqtAIcnaY6wBwnmZlFACYOaAJ4BHEy+iLPnDg0xzbSohOHBBCwubu1Sz0SQ8CYi8hxtHIJkBrqHakRAVsnvZxmIYYetIHuIToz07MRwm9E7NZyK+/yIHP2wx0z4wzserFWhUCAN1cnemZAhpDOEoUCEAdKiv6gP93H+ioTryRBHAaTV92YjwIUAA3NctBEhCjCuXsIKBCiEYQP9fHeg7Mq3PAezKNan1AjtP2NPqCAOQAHATI8GYT4FksCdwjOAgscl0BavACvpGgZWheNY3KKvpnFZIHGoXgJ51OZ71Ziu4LAcQi0CVwENhbW4mFEkAV5LUAm5jtf9GnnxZMMAH0KhSVQsi1CDid9eNhngf4kTKsH7TN1oc9S8wcU8A/n9ZQtZpb2jmAIcRqqA6AxRCroySeKwJwHrsOAvs8AMcBRYCNzW15qGcE6mJnPLWmUXMzN3TMWQiLS1PuhVQOREQjcKcHgVwKECeyM1+6wTwqCUzGLlvpRjqAsaMR+FZrFa0KiRedzqvN3K5hEvhsQ2zbmzkcJgI9ByiAEfq/UAQuog/QM5naSvAmHsQ6gMBRBI7f770wQOtpBKZqSVx/e76ZmzkmgVkYhLNbaTN3HxqzUD8KgrEE8GtFkGwFc77YQnNxJyE3W66+F3ocH9/frXd8yE52aGnb7s7b083cv4Zj5cAsaZrr6cpZCC8J8lzuFgUB11gt8hjy0CbPVotst/tYH7UUBgWthn4Z0ttoOSBzGBV0HYvAJ/hO91pmH4jsE1meLyz/IQNiYix35WKX+n1SAmJCdAJ0N82Xu+yGYNsyr2nIVE6jBoFd1ykJ2FsXBMsnJzIqgiuwTmRcwUTthcz9eqyt149qu35U54GpfVtCeimvoyhB+J/qdy/mVoIDYP4nbtX9gB5BvxdtLScvOLwz7wNztV3Prt7YuOBAAuujRmC9bbUrbqs6U3Rf+g8K0pmBydoL7Vd7ngFJTQtHezvNqxDM0gO3fMU09E4n/YaDXjH51hUTZDBkMb0igyx4n/bapPLOkHSmqZYDTesmTScgqig8k5p5fcfuyO73nBuLn/6g5lbeVPrjwSTTQsjT3IcW2yhZGAbk2ZUncfx2r54CgnTWa5fuT4n4DJ/90Gf5ntWP6OvwTwS/IvbLh/HpyR8l/jimV32ZF4/Na9b/AZLRNtBnM80jAAAAAElFTkSuQmCC",Q={class:"__container_error_notFound"},V=["src"],G=B({__name:"notFound",setup(i){const s=w(),C=()=>{s.push("/home")};return(t,K)=>{const a=o("a-button"),n=o("a-result");return g(),c("div",Q,[e(n,{class:"result",title:"404","sub-title":t.$t("noPageTip")},{icon:A(()=>[m("img",{src:E(I)},null,8,V)]),extra:A(()=>[e(a,{type:"primary",onClick:C},{default:A(()=>[r(u(t.$t("backHome")),1)]),_:1})]),_:1},8,["sub-title"])])}}}),p=h(G,[["__scopeId","data-v-d64d284c"]]);export{p as default};
+import{d as B,u as w,c,b as e,w as A,e as o,o as g,j as m,n as E,f as r,t as u,_ as h}from"./index-3zDsduUv.js";const I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAAoCAMAAACfFQXaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACuUExURUdwTDan7xfJ5wzU5jCt8zeo7WZ2+Dip62V391qG9VSJ9YdV/2px9yuz61GN9Htg/BTM5z+e8Htj/G1w+im27EeX8h3C6TSq7oBb/jSq7hDQ5hPM6HFr+lCM9GB9+FqE9wjZ5hPM6DGu7T6h8UOc8n1g/U+Q9Gd2+XVo/F9+93hk/EuU8yy07mtz+iK/7IRY/w7S6BjJ6ohV/yW67APe5mR6+UeY8yi37DWu84Vf/xmiDNwAAAAfdFJOUwC+TtUHJuQUITLlyz8+8WObb5f17OzHkejgbu6zufJfV5qDAAAIpklEQVRYw5WZiXaqyhKGERrBgS0a0TgRnKJGRI3G6Pu/2K3quRs055ZmZy2X29TvV1NXO2GFBU7JSPjaiPE2Xz3xUfq8wK+wgDhPzXfHA2+SnbxB7Prm+1rvZWtNew3rExr1+hs8qKX4xEczpQ80n/+hZtJMEvqjbJTUuqaGWn80GvXxCQ98UhsMo0rvg3E8OTHLsus188b6p7W+lT0ej/VjDfZYv0/bxoe037YHtJ/DD9oO7IP+fFBrhlznv0+0/R6e+9ttdVtxG3W1743U7mCLRb7I0X7BLmBF0Y/DCve9Obg+FxJOoGESB2UBx8dxfVxT+/r62q6/eoEhgPq/QfuRGpSAhi6Aur+/gQIpYLmcBYaAhTBdQ3HxbAjR4DQ/n+ZzoSCjFK6eawk4cv+PQsHX9qulxVHjTfj/gwJ2pv9lAlQBGkJYgv/Le42UBeSLX1DwywRQCX1TgTs5nc9z6X9GBVAJY6ILOFKTBJiCg6bAJsAVCAlPCXAEKGE11AQslkKBFUXFQAc/PlP3mSkEKOAaawKY9w9TwNd22wpNASqCmICP6hDSCLAsoAiWy0YlAXgwYwKKof79c/9lAGWMAGNgE+g1aA3srYX/28OUGCHEFWx2PyaAD1GFuAClAEI/9GtUwOo+1AhIA//zyygK/GHBGEwkgtBDADSCJvAGKL6uJxQgA9cg8Ojw/9ZjCLaoYNspE9CS+EMwsEKIu79f3ZKIONGNI0h8RWBpEABppF8wAoUrvrX4LCLo5PEuEQyumUTgKQHwmDIPOp2pIAAKDq2gTGC3gSaQprvnZVQRgMwls+WKhdAyKhOgSfwLysYMwKU4C1DR5KwIjMdMV3RSMUQRCALf9Ltu017Akxjt0KkgUG9DsLVTvQpVJTFmcRdeS5bCutU5cIlB5iDnOVDERAPAcxi9psWfeFfpP0UgCVBPew+tjFIJPAt0Amk9wKEhfVqFJIBVE945hPBnCO7dUhVCAr931yERrUJIoBiwNwX9syRAa1CGAAMvywwELSMFmACNwPYtVJ2YA9igACesywz4+KzuA/sVeBwmKxFBVQSAQT6AL6lWYB9A/wteH92TTgDLkC6AEsBSyqvQNyVAOAFZhmQalwg4QfpHJwYCCejqqjIq6qiWA5gCOeiK+pfLxaijJD4XGgFQkLk0hHQCHikReEgAVMBh26vIAay37fTjxSzEAIArQe0mCYwcuwrRKjrCOBMAQAJLdTI4WwQmbonANTAJGCHECLxNLQIwSsA4Wm/Wd38SSGAg7LJRYqWlgCKAEZRfQKbfv4gcOA9Y1vlmCmASuKUcuEaVOaAR2G7r/6kPVBG4zeCVGZ/lEIA8NWjD3G/exxqaX+gshBE0VkW0mJcIEEmAKhhX5oBO4IsGvNmJS6OQXYV4FsMfjPgotFIprFchHIUwzgaXX0FAFNGIpYCdA5KAyOKKHGACRA68By9mIe6/VYV4EcIBeraSBGpV43Se4/jp3tWRwHeMIvQsB7JrpgTYOcAAiBCqIiBmoSd9gDUy+Mb9RA6jy8QgIJMAp+zahU/ToECcVcZAoDBygPYB8heBtVmFQEBo9YEN/f6taTQsJ3ESYA29KQUjt1yF8hwmBKihapyWbYCGj9EHjCqUXSsIlPvAGw8hcxb6+XmdA+j/J8Z2ovm/XI2CUh/IRwAgvohxGiVcmM4u5rCRxf+NwKNEIChVoc3OyoGqKpQ0sIaKAwGzYakTYxPz+ywFaBXCUYIIAuf5/5kDFVXo0JJ9YCMI1DvtdruTvjyRYQ0NZvI8YyDQqtAIcnaY6wBwnmZlFACYOaAJ4BHEy+iLPnDg0xzbSohOHBBCwubu1Sz0SQ8CYi8hxtHIJkBrqHakRAVsnvZxmIYYetIHuIToz07MRwm9E7NZyK+/yIHP2wx0z4wzserFWhUCAN1cnemZAhpDOEoUCEAdKiv6gP93H+ioTryRBHAaTV92YjwIUAA3NctBEhCjCuXsIKBCiEYQP9fHeg7Mq3PAezKNan1AjtP2NPqCAOQAHATI8GYT4FksCdwjOAgscl0BavACvpGgZWheNY3KKvpnFZIHGoXgJ51OZ71Ziu4LAcQi0CVwENhbW4mFEkAV5LUAm5jtf9GnnxZMMAH0KhSVQsi1CDid9eNhngf4kTKsH7TN1oc9S8wcU8A/n9ZQtZpb2jmAIcRqqA6AxRCroySeKwJwHrsOAvs8AMcBRYCNzW15qGcE6mJnPLWmUXMzN3TMWQiLS1PuhVQOREQjcKcHgVwKECeyM1+6wTwqCUzGLlvpRjqAsaMR+FZrFa0KiRedzqvN3K5hEvhsQ2zbmzkcJgI9ByiAEfq/UAQuog/QM5naSvAmHsQ6gMBRBI7f770wQOtpBKZqSVx/e76ZmzkmgVkYhLNbaTN3HxqzUD8KgrEE8GtFkGwFc77YQnNxJyE3W66+F3ocH9/frXd8yE52aGnb7s7b083cv4Zj5cAsaZrr6cpZCC8J8lzuFgUB11gt8hjy0CbPVotst/tYH7UUBgWthn4Z0ttoOSBzGBV0HYvAJ/hO91pmH4jsE1meLyz/IQNiYix35WKX+n1SAmJCdAJ0N82Xu+yGYNsyr2nIVE6jBoFd1ykJ2FsXBMsnJzIqgiuwTmRcwUTthcz9eqyt149qu35U54GpfVtCeimvoyhB+J/qdy/mVoIDYP4nbtX9gB5BvxdtLScvOLwz7wNztV3Prt7YuOBAAuujRmC9bbUrbqs6U3Rf+g8K0pmBydoL7Vd7ngFJTQtHezvNqxDM0gO3fMU09E4n/YaDXjH51hUTZDBkMb0igyx4n/bapPLOkHSmqZYDTesmTScgqig8k5p5fcfuyO73nBuLn/6g5lbeVPrjwSTTQsjT3IcW2yhZGAbk2ZUncfx2r54CgnTWa5fuT4n4DJ/90Gf5ntWP6OvwTwS/IvbLh/HpyR8l/jimV32ZF4/Na9b/AZLRNtBnM80jAAAAAElFTkSuQmCC",Q={class:"__container_error_notFound"},V=["src"],G=B({__name:"notFound",setup(i){const s=w(),C=()=>{s.push("/home")};return(t,K)=>{const a=o("a-button"),n=o("a-result");return g(),c("div",Q,[e(n,{class:"result",title:"404","sub-title":t.$t("noPageTip")},{icon:A(()=>[m("img",{src:E(I)},null,8,V)]),extra:A(()=>[e(a,{type:"primary",onClick:C},{default:A(()=>[r(u(t.$t("backHome")),1)]),_:1})]),_:1},8,["sub-title"])])}}}),p=h(G,[["__scopeId","data-v-d64d284c"]]);export{p as default};
diff --git a/app/dubbo-ui/dist/admin/assets/python-jcEZ1nxp.js b/app/dubbo-ui/dist/admin/assets/python-1HHjXB9h.js
similarity index 96%
rename from app/dubbo-ui/dist/admin/assets/python-jcEZ1nxp.js
rename to app/dubbo-ui/dist/admin/assets/python-1HHjXB9h.js
index 15d968f..c05781d 100644
--- a/app/dubbo-ui/dist/admin/assets/python-jcEZ1nxp.js
+++ b/app/dubbo-ui/dist/admin/assets/python-1HHjXB9h.js
@@ -1,4 +1,4 @@
-import{m as a}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as a}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/razor-dzNkTErc.js b/app/dubbo-ui/dist/admin/assets/razor-TyEeYTJH.js
similarity index 98%
rename from app/dubbo-ui/dist/admin/assets/razor-dzNkTErc.js
rename to app/dubbo-ui/dist/admin/assets/razor-TyEeYTJH.js
index a87eba3..b6dbdad 100644
--- a/app/dubbo-ui/dist/admin/assets/razor-dzNkTErc.js
+++ b/app/dubbo-ui/dist/admin/assets/razor-TyEeYTJH.js
@@ -1,4 +1,4 @@
-import{m as s}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as s}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/request-3an337VF.js b/app/dubbo-ui/dist/admin/assets/request-3an337VF.js
new file mode 100644
index 0000000..6ed2009
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/request-3an337VF.js
@@ -0,0 +1,7 @@
+import{ad as Je,X as $e,ae as We,B as Ve,R as Ke}from"./index-3zDsduUv.js";function ge(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ge}=Object.prototype,{getPrototypeOf:re}=Object,z=(e=>t=>{const n=Ge.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x=e=>(e=e.toLowerCase(),t=>z(t)===e),J=e=>t=>typeof t===e,{isArray:U}=Array,D=J("undefined");function Xe(e){return e!==null&&!D(e)&&e.constructor!==null&&!D(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Oe=x("ArrayBuffer");function Qe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Oe(e.buffer),t}const Ze=J("string"),A=J("function"),Ae=J("number"),$=e=>e!==null&&typeof e=="object",Ye=e=>e===!0||e===!1,q=e=>{if(z(e)!=="object")return!1;const t=re(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},et=x("Date"),tt=x("File"),nt=x("Blob"),rt=x("FileList"),st=e=>$(e)&&A(e.pipe),ot=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=z(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},it=x("URLSearchParams"),at=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function j(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),U(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let f;for(r=0;r<i;r++)f=o[r],t.call(null,e[f],f,e)}}function Te(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Pe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ne=e=>!D(e)&&e!==Pe;function Z(){const{caseless:e}=Ne(this)&&this||{},t={},n=(r,s)=>{const o=e&&Te(t,s)||s;q(t[o])&&q(r)?t[o]=Z(t[o],r):q(r)?t[o]=Z({},r):U(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&j(arguments[r],n);return t}const ct=(e,t,n,{allOwnKeys:r}={})=>(j(t,(s,o)=>{n&&A(s)?e[o]=ge(s,n):e[o]=s},{allOwnKeys:r}),e),ut=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ft=(e,t,n,r)=>{let s,o,i;const f={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!f[i]&&(t[i]=e[i],f[i]=!0);e=n!==!1&&re(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pt=e=>{if(!e)return null;if(U(e))return e;let t=e.length;if(!Ae(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ht=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&re(Uint8Array)),mt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},yt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bt=x("HTMLFormElement"),Et=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),le=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),St=x("RegExp"),xe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},wt=e=>{xe(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rt=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return U(e)?r(e):r(String(e).split(t)),n},gt=()=>{},Ot=(e,t)=>(e=+e,Number.isFinite(e)?e:t),K="abcdefghijklmnopqrstuvwxyz",fe="0123456789",Ce={DIGIT:fe,ALPHA:K,ALPHA_DIGIT:K+K.toUpperCase()+fe},At=(e=16,t=Ce.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Tt(e){return!!(e&&A(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Pt=e=>{const t=new Array(10),n=(r,s)=>{if($(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=U(r)?[]:{};return j(r,(i,f)=>{const h=n(i,s+1);!D(h)&&(o[f]=h)}),t[s]=void 0,o}}return r};return n(e,0)},Nt=x("AsyncFunction"),xt=e=>e&&($(e)||A(e))&&A(e.then)&&A(e.catch),c={isArray:U,isArrayBuffer:Oe,isBuffer:Xe,isFormData:ot,isArrayBufferView:Qe,isString:Ze,isNumber:Ae,isBoolean:Ye,isObject:$,isPlainObject:q,isUndefined:D,isDate:et,isFile:tt,isBlob:nt,isRegExp:St,isFunction:A,isStream:st,isURLSearchParams:it,isTypedArray:ht,isFileList:rt,forEach:j,merge:Z,extend:ct,trim:at,stripBOM:ut,inherits:lt,toFlatObject:ft,kindOf:z,kindOfTest:x,endsWith:dt,toArray:pt,forEachEntry:mt,matchAll:yt,isHTMLForm:bt,hasOwnProperty:le,hasOwnProp:le,reduceDescriptors:xe,freezeMethods:wt,toObjectSet:Rt,toCamelCase:Et,noop:gt,toFiniteNumber:Ot,findKey:Te,global:Pe,isContextDefined:Ne,ALPHABET:Ce,generateString:At,isSpecCompliantForm:Tt,toJSONObject:Pt,isAsyncFn:Nt,isThenable:xt};function y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}c.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fe=y.prototype,_e={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{_e[e]={value:e}});Object.defineProperties(y,_e);Object.defineProperty(Fe,"isAxiosError",{value:!0});y.from=(e,t,n,r,s,o)=>{const i=Object.create(Fe);return c.toFlatObject(e,i,function(h){return h!==Error.prototype},f=>f!=="isAxiosError"),y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Ct=null;function Y(e){return c.isPlainObject(e)||c.isArray(e)}function ke(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function de(e,t,n){return e?e.concat(t).map(function(s,o){return s=ke(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Ft(e){return c.isArray(e)&&!e.some(Y)}const _t=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function W(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,p){return!c.isUndefined(p[u])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(s))throw new TypeError("visitor must be a function");function m(a){if(a===null)return"";if(c.isDate(a))return a.toISOString();if(!h&&c.isBlob(a))throw new y("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(a)||c.isTypedArray(a)?h&&typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function d(a,u,p){let b=a;if(a&&!p&&typeof a=="object"){if(c.endsWith(u,"{}"))u=r?u:u.slice(0,-2),a=JSON.stringify(a);else if(c.isArray(a)&&Ft(a)||(c.isFileList(a)||c.endsWith(u,"[]"))&&(b=c.toArray(a)))return u=ke(u),b.forEach(function(g,E){!(c.isUndefined(g)||g===null)&&t.append(i===!0?de([u],E,o):i===null?u:u+"[]",m(g))}),!1}return Y(a)?!0:(t.append(de(p,u,o),m(a)),!1)}const l=[],S=Object.assign(_t,{defaultVisitor:d,convertValue:m,isVisitable:Y});function O(a,u){if(!c.isUndefined(a)){if(l.indexOf(a)!==-1)throw Error("Circular reference detected in "+u.join("."));l.push(a),c.forEach(a,function(b,w){(!(c.isUndefined(b)||b===null)&&s.call(t,b,c.isString(w)?w.trim():w,u,S))===!0&&O(b,u?u.concat(w):[w])}),l.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return O(e),t}function pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function se(e,t){this._pairs=[],e&&W(e,this,t)}const Be=se.prototype;Be.append=function(t,n){this._pairs.push([t,n])};Be.toString=function(t){const n=t?function(r){return t.call(this,r,pe)}:pe;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function kt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ue(e,t,n){if(!t)return e;const r=n&&n.encode||kt,s=n&&n.serialize;let o;if(s?o=s(t,n):o=c.isURLSearchParams(t)?t.toString():new se(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class he{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bt=typeof URLSearchParams<"u"?URLSearchParams:se,Ut=typeof FormData<"u"?FormData:null,Lt=typeof Blob<"u"?Blob:null,Dt={isBrowser:!0,classes:{URLSearchParams:Bt,FormData:Ut,Blob:Lt},protocols:["http","https","file","blob","url","data"]},De=typeof window<"u"&&typeof document<"u",jt=(e=>De&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),vt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:De,hasStandardBrowserEnv:jt,hasStandardBrowserWebWorkerEnv:vt},Symbol.toStringTag,{value:"Module"})),N={...qt,...Dt};function Mt(e,t){return W(e,new N.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return N.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ht(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function It(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function je(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const f=Number.isFinite(+i),h=o>=n.length;return i=!i&&c.isArray(s)?s.length:i,h?(c.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!f):((!s[i]||!c.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&c.isArray(s[i])&&(s[i]=It(s[i])),!f)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,s)=>{t(Ht(r),s,n,0)}),n}return null}function zt(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const oe={transitional:Le,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=c.isObject(t);if(o&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return s?JSON.stringify(je(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Mt(t,this.formSerializer).toString();if((f=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return W(f?{"files[]":t}:t,h&&new h,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),zt(t)):t}],transformResponse:[function(t){const n=this.transitional||oe.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(f){if(i)throw f.name==="SyntaxError"?y.from(f,y.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:N.classes.FormData,Blob:N.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{oe.headers[e]={}});const ie=oe,Jt=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$t=e=>{const t={};let n,r,s;return e&&e.split(`
+`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Jt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},me=Symbol("internals");function L(e){return e&&String(e).trim().toLowerCase()}function M(e){return e===!1||e==null?e:c.isArray(e)?e.map(M):String(e)}function Wt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Vt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function G(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Kt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Gt(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class V{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(f,h,m){const d=L(h);if(!d)throw new Error("header name must be a non-empty string");const l=c.findKey(s,d);(!l||s[l]===void 0||m===!0||m===void 0&&s[l]!==!1)&&(s[l||h]=M(f))}const i=(f,h)=>c.forEach(f,(m,d)=>o(m,d,h));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!Vt(t)?i($t(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=L(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Wt(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=L(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||G(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=L(i),i){const f=c.findKey(r,i);f&&(!n||G(r,r[f],f,n))&&(delete r[f],s=!0)}}return c.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||G(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,o)=>{const i=c.findKey(r,o);if(i){n[i]=M(s),delete n[o];return}const f=t?Kt(o):String(o).trim();f!==o&&delete n[o],n[f]=M(s),r[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
+`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[me]=this[me]={accessors:{}}).accessors,s=this.prototype;function o(i){const f=L(i);r[f]||(Gt(s,i),r[f]=!0)}return c.isArray(t)?t.forEach(o):o(t),this}}V.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(V.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});c.freezeMethods(V);const C=V;function X(e,t){const n=this||ie,r=t||n,s=C.from(r.headers);let o=r.data;return c.forEach(e,function(f){o=f.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ve(e){return!!(e&&e.__CANCEL__)}function v(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(v,y,{__CANCEL__:!0});function Xt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Qt=N.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];c.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),c.isString(r)&&i.push("path="+r),c.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Zt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Yt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qe(e,t){return e&&!Zt(t)?Yt(e,t):t}const en=N.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const f=c.isString(i)?s(i):i;return f.protocol===r.protocol&&f.host===r.host}}():function(){return function(){return!0}}();function tn(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(h){const m=Date.now(),d=r[o];i||(i=m),n[s]=h,r[s]=m;let l=o,S=0;for(;l!==s;)S+=n[l++],l=l%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),m-i<t)return;const O=d&&m-d;return O?Math.round(S*1e3/O):void 0}}function ye(e,t){let n=0;const r=nn(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,f=o-n,h=r(f),m=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:f,rate:h||void 0,estimated:h&&i&&m?(i-o)/h:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const rn=typeof XMLHttpRequest<"u",sn=rn&&function(e){return new Promise(function(n,r){let s=e.data;const o=C.from(e.headers).normalize();let{responseType:i,withXSRFToken:f}=e,h;function m(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}let d;if(c.isFormData(s)){if(N.hasStandardBrowserEnv||N.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[u,...p]=d?d.split(";").map(b=>b.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...p].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const u=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(u+":"+p))}const S=qe(e.baseURL,e.url);l.open(e.method.toUpperCase(),Ue(S,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function O(){if(!l)return;const u=C.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:u,config:e,request:l};Xt(function(g){n(g),m()},function(g){r(g),m()},b),l=null}if("onloadend"in l?l.onloadend=O:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(O)},l.onabort=function(){l&&(r(new y("Request aborted",y.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new y("Network Error",y.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Le;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new y(p,b.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,l)),l=null},N.hasStandardBrowserEnv&&(f&&c.isFunction(f)&&(f=f(e)),f||f!==!1&&en(S))){const u=e.xsrfHeaderName&&e.xsrfCookieName&&Qt.read(e.xsrfCookieName);u&&o.set(e.xsrfHeaderName,u)}s===void 0&&o.setContentType(null),"setRequestHeader"in l&&c.forEach(o.toJSON(),function(p,b){l.setRequestHeader(b,p)}),c.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",ye(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",ye(e.onUploadProgress)),(e.cancelToken||e.signal)&&(h=u=>{l&&(r(!u||u.type?new v(null,e,l):u),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h)));const a=tn(S);if(a&&N.protocols.indexOf(a)===-1){r(new y("Unsupported protocol "+a+":",y.ERR_BAD_REQUEST,e));return}l.send(s||null)})},ee={http:Ct,xhr:sn};c.forEach(ee,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const be=e=>`- ${e}`,on=e=>c.isFunction(e)||e===null||e===!1,Me={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!on(n)&&(r=ee[(i=String(n)).toLowerCase()],r===void 0))throw new y(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([f,h])=>`adapter ${f} `+(h===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
+`+o.map(be).join(`
+`):" "+be(o[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ee};function Q(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new v(null,e)}function Ee(e){return Q(e),e.headers=C.from(e.headers),e.data=X.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Me.getAdapter(e.adapter||ie.adapter)(e).then(function(r){return Q(e),r.data=X.call(e,e.transformResponse,r),r.headers=C.from(r.headers),r},function(r){return ve(r)||(Q(e),r&&r.response&&(r.response.data=X.call(e,e.transformResponse,r.response),r.response.headers=C.from(r.response.headers))),Promise.reject(r)})}const Se=e=>e instanceof C?e.toJSON():e;function B(e,t){t=t||{};const n={};function r(m,d,l){return c.isPlainObject(m)&&c.isPlainObject(d)?c.merge.call({caseless:l},m,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function s(m,d,l){if(c.isUndefined(d)){if(!c.isUndefined(m))return r(void 0,m,l)}else return r(m,d,l)}function o(m,d){if(!c.isUndefined(d))return r(void 0,d)}function i(m,d){if(c.isUndefined(d)){if(!c.isUndefined(m))return r(void 0,m)}else return r(void 0,d)}function f(m,d,l){if(l in t)return r(m,d);if(l in e)return r(void 0,m)}const h={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:f,headers:(m,d)=>s(Se(m),Se(d),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(d){const l=h[d]||s,S=l(e[d],t[d],d);c.isUndefined(S)&&l!==f||(n[d]=S)}),n}const He="1.6.7",ae={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ae[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const we={};ae.transitional=function(t,n,r){function s(o,i){return"[Axios v"+He+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,f)=>{if(t===!1)throw new y(s(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!we[i]&&(we[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,f):!0}};function an(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const f=e[o],h=f===void 0||i(f,o,e);if(h!==!0)throw new y("option "+o+" must be "+h,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const te={assertOptions:an,validators:ae},F=te.validators;class I{constructor(t){this.defaults=t,this.interceptors={request:new he,response:new he}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
+`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=B(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&te.assertOptions(r,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:te.assertOptions(s,{encode:F.function,serialize:F.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&c.merge(o.common,o[n.method]);o&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete o[a]}),n.headers=C.concat(i,o);const f=[];let h=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(n)===!1||(h=h&&u.synchronous,f.unshift(u.fulfilled,u.rejected))});const m=[];this.interceptors.response.forEach(function(u){m.push(u.fulfilled,u.rejected)});let d,l=0,S;if(!h){const a=[Ee.bind(this),void 0];for(a.unshift.apply(a,f),a.push.apply(a,m),S=a.length,d=Promise.resolve(n);l<S;)d=d.then(a[l++],a[l++]);return d}S=f.length;let O=n;for(l=0;l<S;){const a=f[l++],u=f[l++];try{O=a(O)}catch(p){u.call(this,p);break}}try{d=Ee.call(this,O)}catch(a){return Promise.reject(a)}for(l=0,S=m.length;l<S;)d=d.then(m[l++],m[l++]);return d}getUri(t){t=B(this.defaults,t);const n=qe(t.baseURL,t.url);return Ue(n,t.params,t.paramsSerializer)}}c.forEach(["delete","get","head","options"],function(t){I.prototype[t]=function(n,r){return this.request(B(r||{},{method:t,url:n,data:(r||{}).data}))}});c.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,f){return this.request(B(f||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}I.prototype[t]=n(),I.prototype[t+"Form"]=n(!0)});const H=I;class ce{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(f=>{r.subscribe(f),o=f}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,f){r.reason||(r.reason=new v(o,i,f),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ce(function(s){t=s}),cancel:t}}}const cn=ce;function un(e){return function(n){return e.apply(null,n)}}function ln(e){return c.isObject(e)&&e.isAxiosError===!0}const ne={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ne).forEach(([e,t])=>{ne[t]=e});const fn=ne;function Ie(e){const t=new H(e),n=ge(H.prototype.request,t);return c.extend(n,H.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ie(B(e,s))},n}const R=Ie(ie);R.Axios=H;R.CanceledError=v;R.CancelToken=cn;R.isCancel=ve;R.VERSION=He;R.toFormData=W;R.AxiosError=y;R.Cancel=R.CanceledError;R.all=function(t){return Promise.all(t)};R.spread=un;R.isAxiosError=ln;R.mergeConfig=B;R.AxiosHeaders=C;R.formToJSON=e=>je(c.isHTMLForm(e)?new FormData(e):e);R.getAdapter=Me.getAdapter;R.HttpStatusCode=fn;R.default=R;var ze={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
+ * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(Je,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(a){var u,p;for(u in a)p=a[u],p!==void 0&&a.hasOwnProperty(u)&&(r[u]=p);return this},n.status=null,n.set=function(a){var u=n.isStarted();a=s(a,r.minimum,1),n.status=a===1?null:a;var p=n.render(!u),b=p.querySelector(r.barSelector),w=r.speed,g=r.easing;return p.offsetWidth,f(function(E){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),h(b,i(a,w,g)),a===1?(h(p,{transition:"none",opacity:1}),p.offsetWidth,setTimeout(function(){h(p,{transition:"all "+w+"ms linear",opacity:0}),setTimeout(function(){n.remove(),E()},w)},w)):setTimeout(E,w)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var a=function(){setTimeout(function(){n.status&&(n.trickle(),a())},r.trickleSpeed)};return r.trickle&&a(),this},n.done=function(a){return!a&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(a){var u=n.status;return u?(typeof a!="number"&&(a=(1-u)*s(Math.random()*u,.1,.95)),u=s(u+a,0,.994),n.set(u)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var a=0,u=0;n.promise=function(p){return!p||p.state()==="resolved"?this:(u===0&&n.start(),a++,u++,p.always(function(){u--,u===0?(a=0,n.done()):n.set((a-u)/a)}),this)}}(),n.render=function(a){if(n.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var u=document.createElement("div");u.id="nprogress",u.innerHTML=r.template;var p=u.querySelector(r.barSelector),b=a?"-100":o(n.status||0),w=document.querySelector(r.parent),g;return h(p,{transition:"all 0 linear",transform:"translate3d("+b+"%,0,0)"}),r.showSpinner||(g=u.querySelector(r.spinnerSelector),g&&O(g)),w!=document.body&&d(w,"nprogress-custom-parent"),w.appendChild(u),u},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var a=document.getElementById("nprogress");a&&O(a)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var a=document.body.style,u="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return u+"Perspective"in a?"translate3d":u+"Transform"in a?"translate":"margin"};function s(a,u,p){return a<u?u:a>p?p:a}function o(a){return(-1+a)*100}function i(a,u,p){var b;return r.positionUsing==="translate3d"?b={transform:"translate3d("+o(a)+"%,0,0)"}:r.positionUsing==="translate"?b={transform:"translate("+o(a)+"%,0)"}:b={"margin-left":o(a)+"%"},b.transition="all "+u+"ms "+p,b}var f=function(){var a=[];function u(){var p=a.shift();p&&p(u)}return function(p){a.push(p),a.length==1&&u()}}(),h=function(){var a=["Webkit","O","Moz","ms"],u={};function p(E){return E.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(T,P){return P.toUpperCase()})}function b(E){var T=document.body.style;if(E in T)return E;for(var P=a.length,k=E.charAt(0).toUpperCase()+E.slice(1),_;P--;)if(_=a[P]+k,_ in T)return _;return E}function w(E){return E=p(E),u[E]||(u[E]=b(E))}function g(E,T,P){T=w(T),E.style[T]=P}return function(E,T){var P=arguments,k,_;if(P.length==2)for(k in T)_=T[k],_!==void 0&&T.hasOwnProperty(k)&&g(E,k,_);else g(E,P[1],P[2])}}();function m(a,u){var p=typeof a=="string"?a:S(a);return p.indexOf(" "+u+" ")>=0}function d(a,u){var p=S(a),b=p+u;m(p,u)||(a.className=b.substring(1))}function l(a,u){var p=S(a),b;m(a,u)&&(b=p.replace(" "+u+" "," "),a.className=b.substring(1,b.length-1))}function S(a){return(" "+(a.className||"")+" ").replace(/\s+/gi," ")}function O(a){a&&a.parentNode&&a.parentNode.removeChild(a)}return n})})(ze);var dn=ze.exports;const Re=$e(dn),pn=We("mesh",{state:()=>({mesh:Ve("")}),persist:!0}),ue=R.create({baseURL:"/api/v1",timeout:30*1e3}),hn=ue.interceptors.request,mn=ue.interceptors.response;hn.use(e=>{e.headers||(e.headers={}),e.headers["Content-Type"]||(e.headers["Content-Type"]="application/json",e.data=JSON.stringify(e.data)),e.params||(e.params={});const{mesh:t}=pn();return e.params.mesh=t,e},e=>{Promise.reject(e)});mn.use(e=>{if(Re.done(),e.status===200&&e.data.code==="Success")return Promise.resolve(e.data);e.status===401&&Ke();const t=`${e.data.code}:${e.data.message}`;return message.error(t),console.error(t),Promise.reject(e.data)},e=>{var t,n;if(Re.done(),(t=e.response)!=null&&t.data){const r=`${e.response.data.code}:${e.response.data.message}`;message.error(r),console.error(r)}else message.error("NetworkError:请求失败,请检查网络连接"),console.error(e);return Promise.reject((n=e.response)==null?void 0:n.data)});const bn=ue;export{bn as r,pn as u};
diff --git a/app/dubbo-ui/dist/admin/assets/request-8jI_GZey.js b/app/dubbo-ui/dist/admin/assets/request-8jI_GZey.js
deleted file mode 100644
index fe6a675..0000000
--- a/app/dubbo-ui/dist/admin/assets/request-8jI_GZey.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import{ac as Je,V as Ve,O as We}from"./index-hmLAZQYT.js";function Oe(e,t){return function(){return e.apply(t,arguments)}}const{toString:$e}=Object.prototype,{getPrototypeOf:re}=Object,z=(e=>t=>{const n=$e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x=e=>(e=e.toLowerCase(),t=>z(t)===e),J=e=>t=>typeof t===e,{isArray:B}=Array,D=J("undefined");function Ke(e){return e!==null&&!D(e)&&e.constructor!==null&&!D(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ge=x("ArrayBuffer");function Ge(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ge(e.buffer),t}const Xe=J("string"),A=J("function"),Ae=J("number"),V=e=>e!==null&&typeof e=="object",Qe=e=>e===!0||e===!1,q=e=>{if(z(e)!=="object")return!1;const t=re(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ze=x("Date"),Ye=x("File"),et=x("Blob"),tt=x("FileList"),nt=e=>V(e)&&A(e.pipe),rt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=z(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},st=x("URLSearchParams"),ot=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function j(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),B(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let f;for(r=0;r<i;r++)f=o[r],t.call(null,e[f],f,e)}}function Te(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Pe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ne=e=>!D(e)&&e!==Pe;function Z(){const{caseless:e}=Ne(this)&&this||{},t={},n=(r,s)=>{const o=e&&Te(t,s)||s;q(t[o])&&q(r)?t[o]=Z(t[o],r):q(r)?t[o]=Z({},r):B(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&j(arguments[r],n);return t}const it=(e,t,n,{allOwnKeys:r}={})=>(j(t,(s,o)=>{n&&A(s)?e[o]=Oe(s,n):e[o]=s},{allOwnKeys:r}),e),at=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ct=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ut=(e,t,n,r)=>{let s,o,i;const f={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!f[i]&&(t[i]=e[i],f[i]=!0);e=n!==!1&&re(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},lt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ft=e=>{if(!e)return null;if(B(e))return e;let t=e.length;if(!Ae(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},dt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&re(Uint8Array)),pt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},ht=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},mt=x("HTMLFormElement"),yt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),le=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),bt=x("RegExp"),xe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Et=e=>{xe(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},St=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return B(e)?r(e):r(String(e).split(t)),n},wt=()=>{},Rt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),K="abcdefghijklmnopqrstuvwxyz",fe="0123456789",Ce={DIGIT:fe,ALPHA:K,ALPHA_DIGIT:K+K.toUpperCase()+fe},Ot=(e=16,t=Ce.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function gt(e){return!!(e&&A(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const At=e=>{const t=new Array(10),n=(r,s)=>{if(V(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=B(r)?[]:{};return j(r,(i,f)=>{const h=n(i,s+1);!D(h)&&(o[f]=h)}),t[s]=void 0,o}}return r};return n(e,0)},Tt=x("AsyncFunction"),Pt=e=>e&&(V(e)||A(e))&&A(e.then)&&A(e.catch),c={isArray:B,isArrayBuffer:ge,isBuffer:Ke,isFormData:rt,isArrayBufferView:Ge,isString:Xe,isNumber:Ae,isBoolean:Qe,isObject:V,isPlainObject:q,isUndefined:D,isDate:Ze,isFile:Ye,isBlob:et,isRegExp:bt,isFunction:A,isStream:nt,isURLSearchParams:st,isTypedArray:dt,isFileList:tt,forEach:j,merge:Z,extend:it,trim:ot,stripBOM:at,inherits:ct,toFlatObject:ut,kindOf:z,kindOfTest:x,endsWith:lt,toArray:ft,forEachEntry:pt,matchAll:ht,isHTMLForm:mt,hasOwnProperty:le,hasOwnProp:le,reduceDescriptors:xe,freezeMethods:Et,toObjectSet:St,toCamelCase:yt,noop:wt,toFiniteNumber:Rt,findKey:Te,global:Pe,isContextDefined:Ne,ALPHABET:Ce,generateString:Ot,isSpecCompliantForm:gt,toJSONObject:At,isAsyncFn:Tt,isThenable:Pt};function y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}c.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fe=y.prototype,_e={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{_e[e]={value:e}});Object.defineProperties(y,_e);Object.defineProperty(Fe,"isAxiosError",{value:!0});y.from=(e,t,n,r,s,o)=>{const i=Object.create(Fe);return c.toFlatObject(e,i,function(h){return h!==Error.prototype},f=>f!=="isAxiosError"),y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Nt=null;function Y(e){return c.isPlainObject(e)||c.isArray(e)}function ke(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function de(e,t,n){return e?e.concat(t).map(function(s,o){return s=ke(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function xt(e){return c.isArray(e)&&!e.some(Y)}const Ct=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function W(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,p){return!c.isUndefined(p[u])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(s))throw new TypeError("visitor must be a function");function m(a){if(a===null)return"";if(c.isDate(a))return a.toISOString();if(!h&&c.isBlob(a))throw new y("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(a)||c.isTypedArray(a)?h&&typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function d(a,u,p){let b=a;if(a&&!p&&typeof a=="object"){if(c.endsWith(u,"{}"))u=r?u:u.slice(0,-2),a=JSON.stringify(a);else if(c.isArray(a)&&xt(a)||(c.isFileList(a)||c.endsWith(u,"[]"))&&(b=c.toArray(a)))return u=ke(u),b.forEach(function(O,E){!(c.isUndefined(O)||O===null)&&t.append(i===!0?de([u],E,o):i===null?u:u+"[]",m(O))}),!1}return Y(a)?!0:(t.append(de(p,u,o),m(a)),!1)}const l=[],S=Object.assign(Ct,{defaultVisitor:d,convertValue:m,isVisitable:Y});function g(a,u){if(!c.isUndefined(a)){if(l.indexOf(a)!==-1)throw Error("Circular reference detected in "+u.join("."));l.push(a),c.forEach(a,function(b,w){(!(c.isUndefined(b)||b===null)&&s.call(t,b,c.isString(w)?w.trim():w,u,S))===!0&&g(b,u?u.concat(w):[w])}),l.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return g(e),t}function pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function se(e,t){this._pairs=[],e&&W(e,this,t)}const Ue=se.prototype;Ue.append=function(t,n){this._pairs.push([t,n])};Ue.toString=function(t){const n=t?function(r){return t.call(this,r,pe)}:pe;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ft(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Be(e,t,n){if(!t)return e;const r=n&&n.encode||Ft,s=n&&n.serialize;let o;if(s?o=s(t,n):o=c.isURLSearchParams(t)?t.toString():new se(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class he{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_t=typeof URLSearchParams<"u"?URLSearchParams:se,kt=typeof FormData<"u"?FormData:null,Ut=typeof Blob<"u"?Blob:null,Bt={isBrowser:!0,classes:{URLSearchParams:_t,FormData:kt,Blob:Ut},protocols:["http","https","file","blob","url","data"]},De=typeof window<"u"&&typeof document<"u",Lt=(e=>De&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Dt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:De,hasStandardBrowserEnv:Lt,hasStandardBrowserWebWorkerEnv:Dt},Symbol.toStringTag,{value:"Module"})),N={...jt,...Bt};function vt(e,t){return W(e,new N.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return N.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function qt(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ht(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function je(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const f=Number.isFinite(+i),h=o>=n.length;return i=!i&&c.isArray(s)?s.length:i,h?(c.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!f):((!s[i]||!c.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&c.isArray(s[i])&&(s[i]=Ht(s[i])),!f)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,s)=>{t(qt(r),s,n,0)}),n}return null}function It(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const oe={transitional:Le,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=c.isObject(t);if(o&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return s?JSON.stringify(je(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return vt(t,this.formSerializer).toString();if((f=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return W(f?{"files[]":t}:t,h&&new h,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),It(t)):t}],transformResponse:[function(t){const n=this.transitional||oe.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(f){if(i)throw f.name==="SyntaxError"?y.from(f,y.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:N.classes.FormData,Blob:N.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{oe.headers[e]={}});const ie=oe,Mt=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),zt=e=>{const t={};let n,r,s;return e&&e.split(`
-`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Mt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},me=Symbol("internals");function L(e){return e&&String(e).trim().toLowerCase()}function H(e){return e===!1||e==null?e:c.isArray(e)?e.map(H):String(e)}function Jt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Vt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function G(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Wt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $t(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(f,h,m){const d=L(h);if(!d)throw new Error("header name must be a non-empty string");const l=c.findKey(s,d);(!l||s[l]===void 0||m===!0||m===void 0&&s[l]!==!1)&&(s[l||h]=H(f))}const i=(f,h)=>c.forEach(f,(m,d)=>o(m,d,h));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!Vt(t)?i(zt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=L(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Jt(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=L(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||G(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=L(i),i){const f=c.findKey(r,i);f&&(!n||G(r,r[f],f,n))&&(delete r[f],s=!0)}}return c.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||G(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,o)=>{const i=c.findKey(r,o);if(i){n[i]=H(s),delete n[o];return}const f=t?Wt(o):String(o).trim();f!==o&&delete n[o],n[f]=H(s),r[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
-`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[me]=this[me]={accessors:{}}).accessors,s=this.prototype;function o(i){const f=L(i);r[f]||($t(s,i),r[f]=!0)}return c.isArray(t)?t.forEach(o):o(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});c.freezeMethods($);const C=$;function X(e,t){const n=this||ie,r=t||n,s=C.from(r.headers);let o=r.data;return c.forEach(e,function(f){o=f.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ve(e){return!!(e&&e.__CANCEL__)}function v(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(v,y,{__CANCEL__:!0});function Kt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Gt=N.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];c.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),c.isString(r)&&i.push("path="+r),c.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Xt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qe(e,t){return e&&!Xt(t)?Qt(e,t):t}const Zt=N.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const f=c.isString(i)?s(i):i;return f.protocol===r.protocol&&f.host===r.host}}():function(){return function(){return!0}}();function Yt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function en(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(h){const m=Date.now(),d=r[o];i||(i=m),n[s]=h,r[s]=m;let l=o,S=0;for(;l!==s;)S+=n[l++],l=l%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),m-i<t)return;const g=d&&m-d;return g?Math.round(S*1e3/g):void 0}}function ye(e,t){let n=0;const r=en(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,f=o-n,h=r(f),m=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:f,rate:h||void 0,estimated:h&&i&&m?(i-o)/h:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const tn=typeof XMLHttpRequest<"u",nn=tn&&function(e){return new Promise(function(n,r){let s=e.data;const o=C.from(e.headers).normalize();let{responseType:i,withXSRFToken:f}=e,h;function m(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}let d;if(c.isFormData(s)){if(N.hasStandardBrowserEnv||N.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[u,...p]=d?d.split(";").map(b=>b.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...p].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const u=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(u+":"+p))}const S=qe(e.baseURL,e.url);l.open(e.method.toUpperCase(),Be(S,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function g(){if(!l)return;const u=C.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:u,config:e,request:l};Kt(function(O){n(O),m()},function(O){r(O),m()},b),l=null}if("onloadend"in l?l.onloadend=g:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(g)},l.onabort=function(){l&&(r(new y("Request aborted",y.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new y("Network Error",y.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Le;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new y(p,b.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,l)),l=null},N.hasStandardBrowserEnv&&(f&&c.isFunction(f)&&(f=f(e)),f||f!==!1&&Zt(S))){const u=e.xsrfHeaderName&&e.xsrfCookieName&&Gt.read(e.xsrfCookieName);u&&o.set(e.xsrfHeaderName,u)}s===void 0&&o.setContentType(null),"setRequestHeader"in l&&c.forEach(o.toJSON(),function(p,b){l.setRequestHeader(b,p)}),c.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",ye(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",ye(e.onUploadProgress)),(e.cancelToken||e.signal)&&(h=u=>{l&&(r(!u||u.type?new v(null,e,l):u),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h)));const a=Yt(S);if(a&&N.protocols.indexOf(a)===-1){r(new y("Unsupported protocol "+a+":",y.ERR_BAD_REQUEST,e));return}l.send(s||null)})},ee={http:Nt,xhr:nn};c.forEach(ee,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const be=e=>`- ${e}`,rn=e=>c.isFunction(e)||e===null||e===!1,He={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!rn(n)&&(r=ee[(i=String(n)).toLowerCase()],r===void 0))throw new y(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([f,h])=>`adapter ${f} `+(h===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
-`+o.map(be).join(`
-`):" "+be(o[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ee};function Q(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new v(null,e)}function Ee(e){return Q(e),e.headers=C.from(e.headers),e.data=X.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),He.getAdapter(e.adapter||ie.adapter)(e).then(function(r){return Q(e),r.data=X.call(e,e.transformResponse,r),r.headers=C.from(r.headers),r},function(r){return ve(r)||(Q(e),r&&r.response&&(r.response.data=X.call(e,e.transformResponse,r.response),r.response.headers=C.from(r.response.headers))),Promise.reject(r)})}const Se=e=>e instanceof C?e.toJSON():e;function U(e,t){t=t||{};const n={};function r(m,d,l){return c.isPlainObject(m)&&c.isPlainObject(d)?c.merge.call({caseless:l},m,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function s(m,d,l){if(c.isUndefined(d)){if(!c.isUndefined(m))return r(void 0,m,l)}else return r(m,d,l)}function o(m,d){if(!c.isUndefined(d))return r(void 0,d)}function i(m,d){if(c.isUndefined(d)){if(!c.isUndefined(m))return r(void 0,m)}else return r(void 0,d)}function f(m,d,l){if(l in t)return r(m,d);if(l in e)return r(void 0,m)}const h={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:f,headers:(m,d)=>s(Se(m),Se(d),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(d){const l=h[d]||s,S=l(e[d],t[d],d);c.isUndefined(S)&&l!==f||(n[d]=S)}),n}const Ie="1.6.7",ae={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ae[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const we={};ae.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Ie+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,f)=>{if(t===!1)throw new y(s(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!we[i]&&(we[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,f):!0}};function sn(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const f=e[o],h=f===void 0||i(f,o,e);if(h!==!0)throw new y("option "+o+" must be "+h,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const te={assertOptions:sn,validators:ae},F=te.validators;class M{constructor(t){this.defaults=t,this.interceptors={request:new he,response:new he}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
-`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=U(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&te.assertOptions(r,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:te.assertOptions(s,{encode:F.function,serialize:F.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&c.merge(o.common,o[n.method]);o&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete o[a]}),n.headers=C.concat(i,o);const f=[];let h=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(n)===!1||(h=h&&u.synchronous,f.unshift(u.fulfilled,u.rejected))});const m=[];this.interceptors.response.forEach(function(u){m.push(u.fulfilled,u.rejected)});let d,l=0,S;if(!h){const a=[Ee.bind(this),void 0];for(a.unshift.apply(a,f),a.push.apply(a,m),S=a.length,d=Promise.resolve(n);l<S;)d=d.then(a[l++],a[l++]);return d}S=f.length;let g=n;for(l=0;l<S;){const a=f[l++],u=f[l++];try{g=a(g)}catch(p){u.call(this,p);break}}try{d=Ee.call(this,g)}catch(a){return Promise.reject(a)}for(l=0,S=m.length;l<S;)d=d.then(m[l++],m[l++]);return d}getUri(t){t=U(this.defaults,t);const n=qe(t.baseURL,t.url);return Be(n,t.params,t.paramsSerializer)}}c.forEach(["delete","get","head","options"],function(t){M.prototype[t]=function(n,r){return this.request(U(r||{},{method:t,url:n,data:(r||{}).data}))}});c.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,f){return this.request(U(f||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}M.prototype[t]=n(),M.prototype[t+"Form"]=n(!0)});const I=M;class ce{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(f=>{r.subscribe(f),o=f}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,f){r.reason||(r.reason=new v(o,i,f),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ce(function(s){t=s}),cancel:t}}}const on=ce;function an(e){return function(n){return e.apply(null,n)}}function cn(e){return c.isObject(e)&&e.isAxiosError===!0}const ne={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ne).forEach(([e,t])=>{ne[t]=e});const un=ne;function Me(e){const t=new I(e),n=Oe(I.prototype.request,t);return c.extend(n,I.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Me(U(e,s))},n}const R=Me(ie);R.Axios=I;R.CanceledError=v;R.CancelToken=on;R.isCancel=ve;R.VERSION=Ie;R.toFormData=W;R.AxiosError=y;R.Cancel=R.CanceledError;R.all=function(t){return Promise.all(t)};R.spread=an;R.isAxiosError=cn;R.mergeConfig=U;R.AxiosHeaders=C;R.formToJSON=e=>je(c.isHTMLForm(e)?new FormData(e):e);R.getAdapter=He.getAdapter;R.HttpStatusCode=un;R.default=R;var ze={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(Je,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(a){var u,p;for(u in a)p=a[u],p!==void 0&&a.hasOwnProperty(u)&&(r[u]=p);return this},n.status=null,n.set=function(a){var u=n.isStarted();a=s(a,r.minimum,1),n.status=a===1?null:a;var p=n.render(!u),b=p.querySelector(r.barSelector),w=r.speed,O=r.easing;return p.offsetWidth,f(function(E){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),h(b,i(a,w,O)),a===1?(h(p,{transition:"none",opacity:1}),p.offsetWidth,setTimeout(function(){h(p,{transition:"all "+w+"ms linear",opacity:0}),setTimeout(function(){n.remove(),E()},w)},w)):setTimeout(E,w)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var a=function(){setTimeout(function(){n.status&&(n.trickle(),a())},r.trickleSpeed)};return r.trickle&&a(),this},n.done=function(a){return!a&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(a){var u=n.status;return u?(typeof a!="number"&&(a=(1-u)*s(Math.random()*u,.1,.95)),u=s(u+a,0,.994),n.set(u)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var a=0,u=0;n.promise=function(p){return!p||p.state()==="resolved"?this:(u===0&&n.start(),a++,u++,p.always(function(){u--,u===0?(a=0,n.done()):n.set((a-u)/a)}),this)}}(),n.render=function(a){if(n.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var u=document.createElement("div");u.id="nprogress",u.innerHTML=r.template;var p=u.querySelector(r.barSelector),b=a?"-100":o(n.status||0),w=document.querySelector(r.parent),O;return h(p,{transition:"all 0 linear",transform:"translate3d("+b+"%,0,0)"}),r.showSpinner||(O=u.querySelector(r.spinnerSelector),O&&g(O)),w!=document.body&&d(w,"nprogress-custom-parent"),w.appendChild(u),u},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var a=document.getElementById("nprogress");a&&g(a)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var a=document.body.style,u="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return u+"Perspective"in a?"translate3d":u+"Transform"in a?"translate":"margin"};function s(a,u,p){return a<u?u:a>p?p:a}function o(a){return(-1+a)*100}function i(a,u,p){var b;return r.positionUsing==="translate3d"?b={transform:"translate3d("+o(a)+"%,0,0)"}:r.positionUsing==="translate"?b={transform:"translate("+o(a)+"%,0)"}:b={"margin-left":o(a)+"%"},b.transition="all "+u+"ms "+p,b}var f=function(){var a=[];function u(){var p=a.shift();p&&p(u)}return function(p){a.push(p),a.length==1&&u()}}(),h=function(){var a=["Webkit","O","Moz","ms"],u={};function p(E){return E.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(T,P){return P.toUpperCase()})}function b(E){var T=document.body.style;if(E in T)return E;for(var P=a.length,k=E.charAt(0).toUpperCase()+E.slice(1),_;P--;)if(_=a[P]+k,_ in T)return _;return E}function w(E){return E=p(E),u[E]||(u[E]=b(E))}function O(E,T,P){T=w(T),E.style[T]=P}return function(E,T){var P=arguments,k,_;if(P.length==2)for(k in T)_=T[k],_!==void 0&&T.hasOwnProperty(k)&&O(E,k,_);else O(E,P[1],P[2])}}();function m(a,u){var p=typeof a=="string"?a:S(a);return p.indexOf(" "+u+" ")>=0}function d(a,u){var p=S(a),b=p+u;m(p,u)||(a.className=b.substring(1))}function l(a,u){var p=S(a),b;m(a,u)&&(b=p.replace(" "+u+" "," "),a.className=b.substring(1,b.length-1))}function S(a){return(" "+(a.className||"")+" ").replace(/\s+/gi," ")}function g(a){a&&a.parentNode&&a.parentNode.removeChild(a)}return n})})(ze);var ln=ze.exports;const Re=Ve(ln),ue=R.create({baseURL:"/api/v1",timeout:30*1e3}),fn=ue.interceptors.request,dn=ue.interceptors.response;fn.use(e=>(e.headers||(e.headers={}),e.headers["Content-Type"]||(e.headers["Content-Type"]="application/json",e.data=JSON.stringify(e.data)),console.log(e.data),e),e=>{Promise.reject(e)});dn.use(e=>(Re.done(),e.status===200&&(e.data.code===200||e.data.status==="success")?Promise.resolve(e.data):(e.status===401&&We(),console.error(e.data.code+":"+e.data.msg),Promise.reject(e.data))),e=>(Re.done(),e.response.data?console.error(e.response.data.code+":"+e.response.data.msg):console.error(e.response),Promise.reject(e.response.data)));const hn=ue;export{hn as r};
diff --git a/app/dubbo-ui/dist/admin/assets/sceneConfig-b6LJLlLg.js b/app/dubbo-ui/dist/admin/assets/sceneConfig-wKVgfCMN.js
similarity index 89%
rename from app/dubbo-ui/dist/admin/assets/sceneConfig-b6LJLlLg.js
rename to app/dubbo-ui/dist/admin/assets/sceneConfig-wKVgfCMN.js
index 8996cb7..2706bca 100644
--- a/app/dubbo-ui/dist/admin/assets/sceneConfig-b6LJLlLg.js
+++ b/app/dubbo-ui/dist/admin/assets/sceneConfig-wKVgfCMN.js
@@ -1 +1 @@
-import{b as o,A as q,d as H,e as p,o as m,c as D,w as a,j as J,t as O,n as E,a7 as X,J as M,K as T,f as I,G as b,Q as k,a6 as V,_ as L,a as Y,r as Z,W as K}from"./index-hmLAZQYT.js";import{C as ee}from"./ConfigPage--FZz2L2D.js";import{u as te,c as ae,d as oe,e as ne,f as re,h as ie,i as se,j as ue}from"./service-HiIVI9X0.js";import"./request-8jI_GZey.js";var le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"};const ce=le;function z(g){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?Object(arguments[i]):{},n=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(s).filter(function(w){return Object.getOwnPropertyDescriptor(s,w).enumerable}))),n.forEach(function(w){de(g,w,s[w])})}return g}function de(g,i,s){return i in g?Object.defineProperty(g,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):g[i]=s,g}var B=function(i,s){var n=z({},i,s.attrs);return o(q,z({},n,{icon:ce}),null)};B.displayName="MinusOutlined";B.inheritAttrs=!1;const G=B,me={class:"__container_services_tabs_param_route"},pe=H({__name:"paramRoute",props:{paramRouteForm:{type:Object,default:()=>{}},index:{type:Number}},emits:["deleteParamRoute"],setup(g,{emit:i}){const s=i,n=g,w=[{label:"getUserInfo",value:"getUserInfo"},{label:"register",value:"register"},{label:"login",value:"login"}],S=[{title:"参数索引",key:"index",dataIndex:"index",width:"30%"},{title:"关系",key:"relation",dataIndex:"relation",width:"30%"},{title:"值",key:"value",dataIndex:"value",width:"30%"},{title:"操作",key:"handle",dataIndex:"handle",width:"10%"}],x=[{title:"标签",key:"tag",dataIndex:"tag",width:"25%"},{title:"关系",key:"relation",dataIndex:"relation",width:"25%"},{title:"值",key:"value",dataIndex:"value",width:"25%"},{title:"操作",key:"handle",dataIndex:"handle",width:"10%"}],C=()=>{n.paramRouteForm.conditions.push({index:"",relation:"",value:""})},$=R=>{n.paramRouteForm.conditions.splice(R,1)},N=()=>{n.paramRouteForm.destinations.push({conditions:[{tag:"",relation:"",value:""}],weight:0})},j=R=>{n.paramRouteForm.destinations[R].conditions.push({tag:"",relation:"",value:""})},A=(R,e)=>{const{destinations:t}=n.paramRouteForm,r=t[R];if(r.conditions.length===1&&t.length>1){t.splice(R,1);return}r.conditions.length>1&&r.conditions.splice(e,1)};return(R,e)=>{const t=p("a-flex"),r=p("a-select-option"),u=p("a-select"),l=p("a-form-item"),c=p("a-button"),v=p("a-input"),f=p("a-table"),h=p("a-space"),U=p("a-card"),Q=p("a-form");return m(),D("div",me,[o(U,{bordered:!1,style:{width:"1000px"}},{title:a(()=>[o(t,{justify:"space-between"},{default:a(()=>[o(t,{align:"center",gap:8},{default:a(()=>[J("span",null,"路由"+O((n==null?void 0:n.index)+1),1),o(E(X),{onClick:e[0]||(e[0]=_=>s("deleteParamRoute",n.index)),class:"edit-icon"})]),_:1})]),_:1})]),default:a(()=>[o(Q,{labelCol:{span:3}},{default:a(()=>[o(l,{label:"选择方法"},{default:a(()=>[o(u,{value:n.paramRouteForm.method,"onUpdate:value":e[1]||(e[1]=_=>n.paramRouteForm.method=_),style:{width:"200px"}},{default:a(()=>[(m(),D(M,null,T(w,(_,d)=>o(r,{value:_.value,key:d},{default:a(()=>[I(O(_.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"])]),_:1}),o(l,{label:"指定方法参数"},{default:a(()=>[o(h,{direction:"vertical"},{default:a(()=>[o(c,{type:"primary",onClick:C},{default:a(()=>[I(" 添加参数 ")]),_:1}),o(f,{columns:S,"data-source":n.paramRouteForm.conditions,pagination:!1},{bodyCell:a(({column:_,index:d})=>[_.dataIndex==="index"?(m(),b(v,{key:0,value:n.paramRouteForm.conditions[d].index,"onUpdate:value":y=>n.paramRouteForm.conditions[d].index=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="relation"?(m(),b(v,{key:1,value:n.paramRouteForm.conditions[d].relation,"onUpdate:value":y=>n.paramRouteForm.conditions[d].relation=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="value"?(m(),b(v,{key:2,value:n.paramRouteForm.conditions[d].value,"onUpdate:value":y=>n.paramRouteForm.conditions[d].value=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="handle"?(m(),b(t,{key:3,justify:"space-between"},{default:a(()=>[o(E(G),{class:V(["edit-icon",{"disabled-icon":n.paramRouteForm.conditions.length===1}]),onClick:y=>n.paramRouteForm.conditions.length!==1&&$(d)},null,8,["class","onClick"])]),_:2},1024)):k("",!0)]),_:1},8,["data-source"])]),_:1})]),_:1}),o(l,{label:"路由目的地"},{default:a(()=>[o(h,{direction:"vertical"},{default:a(()=>[o(c,{type:"primary",onClick:N},{default:a(()=>[I(" 添加目的地 ")]),_:1}),(m(!0),D(M,null,T(n.paramRouteForm.destinations,(_,d)=>(m(),b(U,{key:d,bordered:!1},{title:a(()=>[o(h,null,{default:a(()=>[I(" 目的地"+O(d+1)+" ",1),o(c,{type:"primary",onClick:y=>j(d)},{default:a(()=>[I(" 添加条件 ")]),_:2},1032,["onClick"])]),_:2},1024)]),default:a(()=>[o(f,{columns:x,"data-source":_.conditions,pagination:!1},{bodyCell:a(({column:y,index:W,record:F})=>[y.dataIndex==="tag"?(m(),b(v,{key:0,value:F.tag,"onUpdate:value":P=>F.tag=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="relation"?(m(),b(v,{key:1,value:F.relation,"onUpdate:value":P=>F.relation=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="value"?(m(),b(v,{key:2,value:F.value,"onUpdate:value":P=>F.value=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="handle"?(m(),b(t,{key:3,justify:"space-between"},{default:a(()=>[o(E(G),{class:V([{"disabled-icon":n.paramRouteForm.destinations[d].conditions.length===1&&n.paramRouteForm.destinations.length===1},"edit-icon"]),onClick:P=>A(d,W)},null,8,["class","onClick"])]),_:2},1024)):k("",!0)]),_:2},1032,["data-source"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})])}}}),ve=L(pe,[["__scopeId","data-v-64cbfabd"]]),fe={class:"container-services-tabs-scene-config"},_e={class:"param-route"},ye=H({__name:"sceneConfig",setup(g){const i=Y(),s=Z({list:[{title:"serviceDomain.timeout",key:"timeout",form:{timeout:1e3},submit:e=>new Promise(t=>{t($(e==null?void 0:e.timeout))}),async reset(e){await C()}},{title:"serviceDomain.retryNum",key:"retryNum",form:{retryNum:0},submit:e=>new Promise(t=>{t(j(e==null?void 0:e.retryNum))}),async reset(e){await N()}},{title:"serviceDomain.sameAreaFirst",key:"sameAreaFirst",form:{sameAreaFirst:!1},submit:e=>new Promise(t=>{t(R(e==null?void 0:e.sameAreaFirst))}),async reset(e){await A()}},{title:"serviceDomain.paramRoute",key:"paramRoute",form:{paramRoute:[]},submit:e=>new Promise(t=>{t(w(e==null?void 0:e.paramRoute))}),reset(e){return new Promise(t=>{t(x())})}}],current:[0]}),n=()=>{s.list.forEach(e=>{if(e.key==="paramRoute"){const t={method:"string",conditions:[{index:"string",relation:"string",value:"string"}],destinations:[{conditions:[{tag:"string",relation:"string",value:"string"}],weight:0}]};e.form.paramRoute.push(t)}})},w=async()=>{const{pathId:e,group:t,version:r}=i.params;s.list.forEach(async u=>{u.key==="paramRoute"&&(await te({serviceName:e,group:t||"",version:r||"",routes:u.form.paramRoute}),await x())})},S=e=>{s.list.forEach(t=>{t.key==="paramRoute"&&t.form.paramRoute.splice(e,1)})},x=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await ae({serviceName:e,group:t,version:r});l.code===200&&s.list.forEach(c=>{var v;c.key==="paramRoute"&&(c.form.paramRoute=(v=l.data)==null?void 0:v.routes)})},C=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await oe({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{c.key==="timeout"&&(c.form.timeout=l.data.timeout)})},$=async e=>{const{pathId:t,group:r,version:u}=i.params;await ne({serviceName:t,group:r||"",version:u||"",timeout:e}),await C()},N=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await re({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{c.key==="retryNum"&&(c.form.retryNum=l.data.retryTimes)})},j=async e=>{const{pathId:t,group:r,version:u}=i.params;await ie({serviceName:t,group:r||"",version:u||"",retryTimes:e}),await N()},A=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await se({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{var v;c.key==="sameAreaFirst"&&(c.form.sameAreaFirst=(v=l.data)==null?void 0:v.enabled)})},R=async e=>{const{pathId:t,group:r,version:u}=i.params;await ue({serviceName:t,group:r||"",version:u||"",enabled:e}),await A()};return K(async()=>{await C(),await N(),await A(),await x()}),(e,t)=>{const r=p("a-input-number"),u=p("a-form-item"),l=p("a-radio-button"),c=p("a-radio-group"),v=p("a-button");return m(),D("div",fe,[o(ee,{options:s},{form_timeout:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.timeout"),name:"timeout"},{default:a(()=>[o(r,{value:f.form.timeout,"onUpdate:value":h=>f.form.timeout=h,"addon-after":"ms",style:{width:"150px"}},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_retryNum:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.retryNum"),name:"retryNum"},{default:a(()=>[o(r,{value:f.form.retryNum,"onUpdate:value":h=>f.form.retryNum=h,"addon-after":"次",style:{width:"150px"}},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_sameAreaFirst:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.sameAreaFirst"),name:"sameAreaFirst"},{default:a(()=>[o(c,{value:f.form.sameAreaFirst,"onUpdate:value":h=>f.form.sameAreaFirst=h,"button-style":"solid"},{default:a(()=>[o(l,{value:!1},{default:a(()=>[I(O(e.$t("serviceDomain.closed")),1)]),_:1}),o(l,{value:!0},{default:a(()=>[I(O(e.$t("serviceDomain.opened")),1)]),_:1})]),_:2},1032,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_paramRoute:a(({current:f})=>[o(u,{name:"paramRoute"},{default:a(()=>[J("div",_e,[(m(!0),D(M,null,T(f.form.paramRoute,(h,U)=>(m(),b(ve,{key:U,paramRouteForm:h,index:U,onDeleteParamRoute:S},null,8,["paramRouteForm","index"]))),128)),o(v,{type:"primary",style:{"margin-top":"20px"},onClick:n},{default:a(()=>[I("增加路由")]),_:1})])]),_:2},1024)]),_:1},8,["options"])])}}}),we=L(ye,[["__scopeId","data-v-c8bd54d9"]]);export{we as default};
+import{b as o,A as W,d as H,e as p,o as m,c as D,w as a,j as J,t as O,n as E,a8 as X,L as M,M as T,f as I,J as b,T as k,a7 as V,_ as q,a as Y,r as Z,D as K}from"./index-3zDsduUv.js";import{C as ee}from"./ConfigPage-Onvd_SY6.js";import{u as te,c as ae,d as oe,e as ne,f as re,h as ie,i as se,j as ue}from"./service-Hb3ldtV6.js";import"./request-3an337VF.js";var le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"};const ce=le;function z(g){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?Object(arguments[i]):{},n=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(s).filter(function(w){return Object.getOwnPropertyDescriptor(s,w).enumerable}))),n.forEach(function(w){de(g,w,s[w])})}return g}function de(g,i,s){return i in g?Object.defineProperty(g,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):g[i]=s,g}var B=function(i,s){var n=z({},i,s.attrs);return o(W,z({},n,{icon:ce}),null)};B.displayName="MinusOutlined";B.inheritAttrs=!1;const L=B,me={class:"__container_services_tabs_param_route"},pe=H({__name:"paramRoute",props:{paramRouteForm:{type:Object,default:()=>{}},index:{type:Number}},emits:["deleteParamRoute"],setup(g,{emit:i}){const s=i,n=g,w=[{label:"getUserInfo",value:"getUserInfo"},{label:"register",value:"register"},{label:"login",value:"login"}],S=[{title:"参数索引",key:"index",dataIndex:"index",width:"30%"},{title:"关系",key:"relation",dataIndex:"relation",width:"30%"},{title:"值",key:"value",dataIndex:"value",width:"30%"},{title:"操作",key:"handle",dataIndex:"handle",width:"10%"}],x=[{title:"标签",key:"tag",dataIndex:"tag",width:"25%"},{title:"关系",key:"relation",dataIndex:"relation",width:"25%"},{title:"值",key:"value",dataIndex:"value",width:"25%"},{title:"操作",key:"handle",dataIndex:"handle",width:"10%"}],C=()=>{n.paramRouteForm.conditions.push({index:"",relation:"",value:""})},$=R=>{n.paramRouteForm.conditions.splice(R,1)},N=()=>{n.paramRouteForm.destinations.push({conditions:[{tag:"",relation:"",value:""}],weight:0})},j=R=>{n.paramRouteForm.destinations[R].conditions.push({tag:"",relation:"",value:""})},A=(R,e)=>{const{destinations:t}=n.paramRouteForm,r=t[R];if(r.conditions.length===1&&t.length>1){t.splice(R,1);return}r.conditions.length>1&&r.conditions.splice(e,1)};return(R,e)=>{const t=p("a-flex"),r=p("a-select-option"),u=p("a-select"),l=p("a-form-item"),c=p("a-button"),v=p("a-input"),f=p("a-table"),h=p("a-space"),U=p("a-card"),G=p("a-form");return m(),D("div",me,[o(U,{bordered:!1,style:{width:"1000px"}},{title:a(()=>[o(t,{justify:"space-between"},{default:a(()=>[o(t,{align:"center",gap:8},{default:a(()=>[J("span",null,"路由"+O((n==null?void 0:n.index)+1),1),o(E(X),{onClick:e[0]||(e[0]=_=>s("deleteParamRoute",n.index)),class:"edit-icon"})]),_:1})]),_:1})]),default:a(()=>[o(G,{labelCol:{span:3}},{default:a(()=>[o(l,{label:"选择方法"},{default:a(()=>[o(u,{value:n.paramRouteForm.method,"onUpdate:value":e[1]||(e[1]=_=>n.paramRouteForm.method=_),style:{width:"200px"}},{default:a(()=>[(m(),D(M,null,T(w,(_,d)=>o(r,{value:_.value,key:d},{default:a(()=>[I(O(_.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"])]),_:1}),o(l,{label:"指定方法参数"},{default:a(()=>[o(h,{direction:"vertical"},{default:a(()=>[o(c,{type:"primary",onClick:C},{default:a(()=>[I(" 添加参数 ")]),_:1}),o(f,{columns:S,"data-source":n.paramRouteForm.conditions,pagination:!1},{bodyCell:a(({column:_,index:d})=>[_.dataIndex==="index"?(m(),b(v,{key:0,value:n.paramRouteForm.conditions[d].index,"onUpdate:value":y=>n.paramRouteForm.conditions[d].index=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="relation"?(m(),b(v,{key:1,value:n.paramRouteForm.conditions[d].relation,"onUpdate:value":y=>n.paramRouteForm.conditions[d].relation=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="value"?(m(),b(v,{key:2,value:n.paramRouteForm.conditions[d].value,"onUpdate:value":y=>n.paramRouteForm.conditions[d].value=y},null,8,["value","onUpdate:value"])):k("",!0),_.dataIndex==="handle"?(m(),b(t,{key:3,justify:"space-between"},{default:a(()=>[o(E(L),{class:V(["edit-icon",{"disabled-icon":n.paramRouteForm.conditions.length===1}]),onClick:y=>n.paramRouteForm.conditions.length!==1&&$(d)},null,8,["class","onClick"])]),_:2},1024)):k("",!0)]),_:1},8,["data-source"])]),_:1})]),_:1}),o(l,{label:"路由目的地"},{default:a(()=>[o(h,{direction:"vertical"},{default:a(()=>[o(c,{type:"primary",onClick:N},{default:a(()=>[I(" 添加目的地 ")]),_:1}),(m(!0),D(M,null,T(n.paramRouteForm.destinations,(_,d)=>(m(),b(U,{key:d,bordered:!1},{title:a(()=>[o(h,null,{default:a(()=>[I(" 目的地"+O(d+1)+" ",1),o(c,{type:"primary",onClick:y=>j(d)},{default:a(()=>[I(" 添加条件 ")]),_:2},1032,["onClick"])]),_:2},1024)]),default:a(()=>[o(f,{columns:x,"data-source":_.conditions,pagination:!1},{bodyCell:a(({column:y,index:Q,record:F})=>[y.dataIndex==="tag"?(m(),b(v,{key:0,value:F.tag,"onUpdate:value":P=>F.tag=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="relation"?(m(),b(v,{key:1,value:F.relation,"onUpdate:value":P=>F.relation=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="value"?(m(),b(v,{key:2,value:F.value,"onUpdate:value":P=>F.value=P},null,8,["value","onUpdate:value"])):k("",!0),y.dataIndex==="handle"?(m(),b(t,{key:3,justify:"space-between"},{default:a(()=>[o(E(L),{class:V([{"disabled-icon":n.paramRouteForm.destinations[d].conditions.length===1&&n.paramRouteForm.destinations.length===1},"edit-icon"]),onClick:P=>A(d,Q)},null,8,["class","onClick"])]),_:2},1024)):k("",!0)]),_:2},1032,["data-source"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})])}}}),ve=q(pe,[["__scopeId","data-v-64cbfabd"]]),fe={class:"container-services-tabs-scene-config"},_e={class:"param-route"},ye=H({__name:"sceneConfig",setup(g){const i=Y(),s=Z({list:[{title:"serviceDomain.timeout",key:"timeout",form:{timeout:1e3},submit:e=>new Promise(t=>{t($(e==null?void 0:e.timeout))}),async reset(e){await C()}},{title:"serviceDomain.retryNum",key:"retryNum",form:{retryNum:0},submit:e=>new Promise(t=>{t(j(e==null?void 0:e.retryNum))}),async reset(e){await N()}},{title:"serviceDomain.sameAreaFirst",key:"sameAreaFirst",form:{sameAreaFirst:!1},submit:e=>new Promise(t=>{t(R(e==null?void 0:e.sameAreaFirst))}),async reset(e){await A()}},{title:"serviceDomain.paramRoute",key:"paramRoute",form:{paramRoute:[]},submit:e=>new Promise(t=>{t(w(e==null?void 0:e.paramRoute))}),reset(e){return new Promise(t=>{t(x())})}}],current:[0]}),n=()=>{s.list.forEach(e=>{if(e.key==="paramRoute"){const t={method:"string",conditions:[{index:"string",relation:"string",value:"string"}],destinations:[{conditions:[{tag:"string",relation:"string",value:"string"}],weight:0}]};e.form.paramRoute.push(t)}})},w=async()=>{const{pathId:e,group:t,version:r}=i.params;s.list.forEach(async u=>{u.key==="paramRoute"&&(await te({serviceName:e,group:t||"",version:r||"",routes:u.form.paramRoute}),await x())})},S=e=>{s.list.forEach(t=>{t.key==="paramRoute"&&t.form.paramRoute.splice(e,1)})},x=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await ae({serviceName:e,group:t,version:r});l.code===200&&s.list.forEach(c=>{var v;c.key==="paramRoute"&&(c.form.paramRoute=(v=l.data)==null?void 0:v.routes)})},C=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await oe({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{c.key==="timeout"&&(c.form.timeout=l.data.timeout)})},$=async e=>{const{pathId:t,group:r,version:u}=i.params;await ne({serviceName:t,group:r||"",version:u||"",timeout:e}),await C()},N=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await re({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{c.key==="retryNum"&&(c.form.retryNum=l.data.retryTimes)})},j=async e=>{const{pathId:t,group:r,version:u}=i.params;await ie({serviceName:t,group:r||"",version:u||"",retryTimes:e}),await N()},A=async()=>{const{pathId:e,group:t,version:r}=i.params,l=await se({serviceName:e,group:t||"",version:r||""});s.list.forEach(c=>{var v;c.key==="sameAreaFirst"&&(c.form.sameAreaFirst=(v=l.data)==null?void 0:v.enabled)})},R=async e=>{const{pathId:t,group:r,version:u}=i.params;await ue({serviceName:t,group:r||"",version:u||"",enabled:e}),await A()};return K(async()=>{await C(),await N(),await A(),await x()}),(e,t)=>{const r=p("a-input-number"),u=p("a-form-item"),l=p("a-radio-button"),c=p("a-radio-group"),v=p("a-button");return m(),D("div",fe,[o(ee,{options:s},{form_timeout:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.timeout"),name:"timeout"},{default:a(()=>[o(r,{value:f.form.timeout,"onUpdate:value":h=>f.form.timeout=h,"addon-after":"ms",style:{width:"150px"}},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_retryNum:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.retryNum"),name:"retryNum"},{default:a(()=>[o(r,{value:f.form.retryNum,"onUpdate:value":h=>f.form.retryNum=h,"addon-after":"次",style:{width:"150px"}},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_sameAreaFirst:a(({current:f})=>[o(u,{label:e.$t("serviceDomain.sameAreaFirst"),name:"sameAreaFirst"},{default:a(()=>[o(c,{value:f.form.sameAreaFirst,"onUpdate:value":h=>f.form.sameAreaFirst=h,"button-style":"solid"},{default:a(()=>[o(l,{value:!1},{default:a(()=>[I(O(e.$t("serviceDomain.closed")),1)]),_:1}),o(l,{value:!0},{default:a(()=>[I(O(e.$t("serviceDomain.opened")),1)]),_:1})]),_:2},1032,["value","onUpdate:value"])]),_:2},1032,["label"])]),form_paramRoute:a(({current:f})=>[o(u,{name:"paramRoute"},{default:a(()=>[J("div",_e,[(m(!0),D(M,null,T(f.form.paramRoute,(h,U)=>(m(),b(ve,{key:U,paramRouteForm:h,index:U,onDeleteParamRoute:S},null,8,["paramRouteForm","index"]))),128)),o(v,{type:"primary",style:{"margin-top":"20px"},onClick:n},{default:a(()=>[I("增加路由")]),_:1})])]),_:2},1024)]),_:1},8,["options"])])}}}),we=q(ye,[["__scopeId","data-v-c8bd54d9"]]);export{we as default};
diff --git a/app/dubbo-ui/dist/admin/assets/search-ZPtMszjO.js b/app/dubbo-ui/dist/admin/assets/search-ZPtMszjO.js
deleted file mode 100644
index 57f58cc..0000000
--- a/app/dubbo-ui/dist/admin/assets/search-ZPtMszjO.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as A,v as P,u as x,a as D,z as Q,r as E,D as $,c as p,b as S,w as v,n as G,P as B,R as L,e as k,o as i,J as b,f as _,t as m,j as I,I as O,G as q,K as M,Q as Y,y as F,_ as J}from"./index-hmLAZQYT.js";import{s as K}from"./service-HiIVI9X0.js";import{S as j,a as z}from"./SearchUtil-sOWd6ofa.js";import{p as H,q as h}from"./PromQueryUtil-2EbGMcmH.js";import"./request-8jI_GZey.js";const X={class:"__container_services_index"},U=["onClick"],W=A({__name:"search",setup(Z){P(a=>({"3ac44584":G(B)}));const w=x(),y=D();let C=y.query.query;const N=[{title:"service",key:"service",dataIndex:"serviceName",sorter:!0,width:"30%",ellipsis:!0},{title:"versionGroup",key:"versionGroup",dataIndex:"versionGroupSelect",width:"25%"},{title:"avgQPS",key:"avgQPS",dataIndex:"avgQPS",sorter:!0,width:"15%"},{title:"avgRT",key:"avgRT",dataIndex:"avgRT",sorter:!0,width:"15%"},{title:"requestTotal",key:"requestTotal",dataIndex:"requestTotal",sorter:!0,width:"15%"}],t=Q([]),f=a=>a.map(e=>(e.versionGroupSelect={},e.versionGroupSelect.versionGroupArr=e.versionGroups.map(r=>r.versionGroup=(r.version?"version: "+r.version+", ":"")+(r.group?"group: "+r.group:"")||"无"),e.versionGroupSelect.versionGroupValue=e.versionGroupSelect.versionGroupArr[0],e));function T(a,e){return K(a).then(async r=>{var u;return t.value=(u=r.data)==null?void 0:u.list,t.value.forEach(o=>{o.selectedIndex=-1}),console.log(t.value),H(r,["avgQPS","avgRT","requestTotal"],async o=>{o.avgQPS=await h(`sum (dubbo_provider_qps_total{interface='${o.serviceName}'}) by (interface)`),o.avgRT=await h(`avg(dubbo_consumer_rt_avg_milliseconds_aggregate{interface="${o.serviceName}",method=~"$method"}>0)`),o.requestTotal=await h(`sum (increase(dubbo_provider_requests_total{interface="${o.serviceName}"}[1m]))`)})})}const n=E(new j([{label:"serviceName",param:"keywords",placeholder:"typeAppName",defaultValue:C,style:{width:"200px"}}],T,N,void 0,void 0,f));n.onSearch(f),n.tableStyle={scrollX:"100",scrollY:"367px"};const R=(a,e,r)=>{r==="无"?t.value[a].selectedIndex=-1:t.value[a].selectedIndex=e},V=(a,e)=>{var l,s,c;const r=(l=t.value[e])==null?void 0:l.selectedIndex,u=((s=t.value[e].versionGroups[r])==null?void 0:s.group)||"",o=((c=t.value[e].versionGroups[r])==null?void 0:c.version)||"";w.push({name:"distribution",params:{pathId:a,group:u,version:o}})};return L(F.SEARCH_DOMAIN,n),$(y,(a,e)=>{n.queryForm.keywords=a.query.query,n.onSearch(),console.log(a)}),(a,e)=>{const r=k("a-select-option"),u=k("a-select");return i(),p("div",X,[S(z,{"search-domain":n},{bodyCell:v(({column:o,record:l,text:s,index:c})=>[o.dataIndex==="serviceName"?(i(),p(b,{key:0},[_(m(l.versionGroup)+" ",1),I("span",{class:"service-link",onClick:d=>V(s,c)},[I("b",null,[S(G(O),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),_(" "+m(s),1)])],8,U)],64)):o.dataIndex==="versionGroupSelect"?(i(),q(u,{key:1,value:s==null?void 0:s.versionGroupValue,bordered:!1,style:{width:"80%"}},{default:v(()=>[(i(!0),p(b,null,M(s==null?void 0:s.versionGroupArr,(d,g)=>(i(),q(r,{value:d,onClick:ee=>R(c,g,d),key:g},{default:v(()=>[_(m(d),1)]),_:2},1032,["value","onClick"]))),128))]),_:2},1032,["value"])):Y("",!0)]),_:1},8,["search-domain"])])}}}),ne=J(W,[["__scopeId","data-v-77fd4b55"]]);export{ne as default};
diff --git a/app/dubbo-ui/dist/admin/assets/search-c0Szb99-.js b/app/dubbo-ui/dist/admin/assets/search-c0Szb99-.js
new file mode 100644
index 0000000..ff83d07
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/search-c0Szb99-.js
@@ -0,0 +1 @@
+import{d as A,v as P,u as x,a as D,B as E,r as Q,F as $,c as p,b as S,w as v,n as G,P as B,U as L,e as k,o as i,L as b,f as _,t as m,j as I,I as M,J as q,M as O,T as F,z as Y,_ as J}from"./index-3zDsduUv.js";import{s as j}from"./service-Hb3ldtV6.js";import{S as z,a as H}from"./SearchUtil-bfid3zNl.js";import{p as K,q as h}from"./PromQueryUtil-4K1j3sa5.js";import"./request-3an337VF.js";const U={class:"__container_services_index"},X=["onClick"],W=A({__name:"search",setup(Z){P(a=>({"3ac44584":G(B)}));const T=x(),y=D();let w=y.query.query;const C=[{title:"service",key:"service",dataIndex:"serviceName",sorter:!0,width:"30%",ellipsis:!0},{title:"versionGroup",key:"versionGroup",dataIndex:"versionGroupSelect",width:"25%"},{title:"avgQPS",key:"avgQPS",dataIndex:"avgQPS",sorter:!0,width:"15%"},{title:"avgRT",key:"avgRT",dataIndex:"avgRT",sorter:!0,width:"15%"},{title:"requestTotal",key:"requestTotal",dataIndex:"requestTotal",sorter:!0,width:"15%"}],t=E([]),f=a=>a.map(e=>(e.versionGroupSelect={},e.versionGroupSelect.versionGroupArr=e.versionGroups.map(r=>r.versionGroup=(r.version?"version: "+r.version+", ":"")+(r.group?"group: "+r.group:"")||"无"),e.versionGroupSelect.versionGroupValue=e.versionGroupSelect.versionGroupArr[0],e));function N(a,e){return j(a).then(async r=>{var u;return t.value=(u=r.data)==null?void 0:u.list,t.value.forEach(o=>{o.selectedIndex=-1}),console.log(t.value),K(r,["avgQPS","avgRT","requestTotal"],async o=>{o.avgQPS=await h(`sum (dubbo_provider_qps_total{interface='${o.serviceName}'}) by (interface)`),o.avgRT=await h(`avg(dubbo_consumer_rt_avg_milliseconds_aggregate{interface="${o.serviceName}",method=~"$method"}>0)`),o.requestTotal=await h(`sum (increase(dubbo_provider_requests_total{interface="${o.serviceName}"}[1m]))`)})})}const n=Q(new z([{label:"serviceName",param:"keywords",placeholder:"typeAppName",defaultValue:w,style:{width:"200px"}}],N,C,void 0,void 0,f));n.onSearch(f),n.tableStyle={scrollX:"100",scrollY:"367px"};const V=(a,e,r)=>{r==="无"?t.value[a].selectedIndex=-1:t.value[a].selectedIndex=e},R=(a,e)=>{var l,s,c;const r=(l=t.value[e])==null?void 0:l.selectedIndex,u=((s=t.value[e].versionGroups[r])==null?void 0:s.group)||"",o=((c=t.value[e].versionGroups[r])==null?void 0:c.version)||"";T.push({name:"distribution",params:{pathId:a,group:u,version:o}})};return L(Y.SEARCH_DOMAIN,n),$(y,(a,e)=>{n.queryForm.keywords=a.query.query,n.onSearch(),console.log(a)}),(a,e)=>{const r=k("a-select-option"),u=k("a-select");return i(),p("div",U,[S(H,{"search-domain":n},{bodyCell:v(({column:o,record:l,text:s,index:c})=>[o.dataIndex==="serviceName"?(i(),p(b,{key:0},[_(m(l.versionGroup)+" ",1),I("span",{class:"service-link",onClick:d=>R(s,c)},[I("b",null,[S(G(M),{style:{"margin-bottom":"-2px"},icon:"material-symbols:attach-file-rounded"}),_(" "+m(s),1)])],8,X)],64)):o.dataIndex==="versionGroupSelect"?(i(),q(u,{key:1,value:s==null?void 0:s.versionGroupValue,bordered:!1,style:{width:"80%"}},{default:v(()=>[(i(!0),p(b,null,O(s==null?void 0:s.versionGroupArr,(d,g)=>(i(),q(r,{value:d,onClick:ee=>V(c,g,d),key:g},{default:v(()=>[_(m(d),1)]),_:2},1032,["value","onClick"]))),128))]),_:2},1032,["value"])):F("",!0)]),_:1},8,["search-domain"])])}}}),ne=J(W,[["__scopeId","data-v-77fd4b55"]]);export{ne as default};
diff --git a/app/dubbo-ui/dist/admin/assets/serverInfo-j8z5RY-E.js b/app/dubbo-ui/dist/admin/assets/serverInfo-F5PlCBPJ.js
similarity index 61%
rename from app/dubbo-ui/dist/admin/assets/serverInfo-j8z5RY-E.js
rename to app/dubbo-ui/dist/admin/assets/serverInfo-F5PlCBPJ.js
index cc2ec9a..a775c48 100644
--- a/app/dubbo-ui/dist/admin/assets/serverInfo-j8z5RY-E.js
+++ b/app/dubbo-ui/dist/admin/assets/serverInfo-F5PlCBPJ.js
@@ -1 +1 @@
-import{r as e}from"./request-8jI_GZey.js";const a=t=>e({url:"/overview",method:"get",params:t}),o=t=>e({url:"/metadata",method:"get",params:t});export{o as a,a as g};
+import{r as e}from"./request-3an337VF.js";const a=t=>e({url:"/overview",method:"get",params:t}),o=t=>e({url:"/metadata",method:"get",params:t});export{o as a,a as g};
diff --git a/app/dubbo-ui/dist/admin/assets/service-HiIVI9X0.js b/app/dubbo-ui/dist/admin/assets/service-Hb3ldtV6.js
similarity index 92%
rename from app/dubbo-ui/dist/admin/assets/service-HiIVI9X0.js
rename to app/dubbo-ui/dist/admin/assets/service-Hb3ldtV6.js
index 83d70af..ccff3a5 100644
--- a/app/dubbo-ui/dist/admin/assets/service-HiIVI9X0.js
+++ b/app/dubbo-ui/dist/admin/assets/service-Hb3ldtV6.js
@@ -1 +1 @@
-import{r}from"./request-8jI_GZey.js";const i=e=>r({url:"/service/search",method:"get",params:e}),o=e=>r({url:"/service/distribution",method:"get",params:e}),c=e=>r({url:"/service/metric-dashboard",method:"get",params:e}),s=e=>r({url:"/service/trace-dashboard",method:"get",params:e}),u=e=>r({url:"/service/config/timeout",method:"get",params:e}),n=e=>r({url:"/service/config/timeout",method:"put",data:e}),a=e=>r({url:"/service/config/retry",method:"get",params:e}),g=e=>r({url:"/service/config/retry",method:"put",data:e}),d=e=>r({url:"/service/config/regionPriority",method:"get",params:e}),m=e=>r({url:"/service/config/regionPriority",method:"put",data:e}),v=e=>r({url:"/service/config/argumentRoute",method:"get",params:e}),h=e=>r({url:"/service/config/argumentRoute",method:"put",data:e});export{c as a,s as b,v as c,u as d,n as e,a as f,o as g,g as h,d as i,m as j,i as s,h as u};
+import{r}from"./request-3an337VF.js";const i=e=>r({url:"/service/search",method:"get",params:e}),o=e=>r({url:"/service/distribution",method:"get",params:e}),c=e=>r({url:"/service/metric-dashboard",method:"get",params:e}),s=e=>r({url:"/service/trace-dashboard",method:"get",params:e}),u=e=>r({url:"/service/config/timeout",method:"get",params:e}),n=e=>r({url:"/service/config/timeout",method:"put",data:e}),a=e=>r({url:"/service/config/retry",method:"get",params:e}),g=e=>r({url:"/service/config/retry",method:"put",data:e}),d=e=>r({url:"/service/config/regionPriority",method:"get",params:e}),m=e=>r({url:"/service/config/regionPriority",method:"put",data:e}),v=e=>r({url:"/service/config/argumentRoute",method:"get",params:e}),h=e=>r({url:"/service/config/argumentRoute",method:"put",data:e});export{c as a,s as b,v as c,u as d,n as e,a as f,o as g,g as h,d as i,m as j,i as s,h as u};
diff --git a/app/dubbo-ui/dist/admin/assets/service-LECfslfz.js b/app/dubbo-ui/dist/admin/assets/service-LECfslfz.js
new file mode 100644
index 0000000..03cbdb7
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/service-LECfslfz.js
@@ -0,0 +1 @@
+import{d as R,v as D,a as M,u as V,r as d,D as A,l as P,c as f,T as g,b as E,w as c,n as h,P as b,U as Q,e as t,o,J as v,f as S,t as y,L as $,M as x,z as L,_ as O}from"./index-3zDsduUv.js";import{g as B,a as Y}from"./serverInfo-F5PlCBPJ.js";import{S as z,a as F}from"./SearchUtil-bfid3zNl.js";import{b as J}from"./app-mdoSebGq.js";import"./request-3an337VF.js";import{p as H,q as m}from"./PromQueryUtil-4K1j3sa5.js";const K={class:"__container_app_service"},U=R({__name:"service",setup(X){D(r=>({"28ddf99a":h(b)+"22","28a02396":h(b)}));const I=M(),w=V();let s=d({info:{},report:{}}),G=d({info:{}});A(async()=>{n.tableStyle={scrollX:"100",scrollY:"calc(100vh - 600px)"};let r=(await B({})).data;G.info=(await Y({})).data,s.info=r,s.report={providers:{icon:"carbon:branch",value:s.info.providers},consumers:{icon:"mdi:merge",value:s.info.consumers}}});const N=[{title:"provideServiceName",key:"service",dataIndex:"serviceName",sorter:!0,width:"30%"},{title:"versionGroup",key:"versionGroup",dataIndex:"versionGroupSelect",width:"25%"},{title:"avgQPS",key:"avgQPS",dataIndex:"avgQPS",sorter:!0,width:"15%"},{title:"avgRT",key:"avgRT",dataIndex:"avgRT",sorter:!0,width:"15%"},{title:"requestTotal",key:"requestTotal",dataIndex:"requestTotal",sorter:!0,width:"15%"}],k=P(()=>{var r;return(r=I.params)==null?void 0:r.pathId});function q(r){return J(r).then(async _=>H(_,["qps","rt","request"],async a=>{a.versionGroupSelect={},a.versionGroupSelect.versionGroupArr=a.versionGroups.map(e=>e.versionGroup=(e.version?"version: "+e.version+", ":"")+(e.group?"group: "+e.group:"")||"无"),a.versionGroupSelect.versionGroupValue=a.versionGroupSelect.versionGroupArr[0];let u=await m(`sum (dubbo_provider_qps_total{interface='${a.serviceName}'}) by (interface)`),l=await m(`avg(dubbo_consumer_rt_avg_milliseconds_aggregate{interface="${a.serviceName}",method=~"$method"}>0)`),i=await m(`sum (increase(dubbo_provider_requests_total{interface="${a.serviceName}"}[1m]))`);a.avgQPS=u,a.avgRT=l,a.requestTotal=i}))}const n=d(new z([{label:"serviceName",param:"serviceName"},{label:"",param:"appName",defaultValue:k}],q,N,{pageSize:4},!0));n.onSearch();const C=r=>{w.push("/resources/services/distribution/"+r)};return Q(L.SEARCH_DOMAIN,n),(r,_)=>{t("a-statistic"),t("a-flex"),t("a-card");const a=t("a-button"),u=t("a-select-option"),l=t("a-select");return o(),f("div",K,[g("",!0),E(F,{"search-domain":n},{bodyCell:c(({column:i,text:e})=>[i.dataIndex==="serviceName"?(o(),v(a,{key:0,type:"link",onClick:p=>C(e)},{default:c(()=>[S(y(e),1)]),_:2},1032,["onClick"])):i.dataIndex==="versionGroupSelect"?(o(),v(l,{key:1,value:e==null?void 0:e.versionGroupValue,bordered:!1,style:{width:"80%"}},{default:c(()=>[(o(!0),f($,null,x(e==null?void 0:e.versionGroupArr,(p,T)=>(o(),v(u,{value:p,key:T},{default:c(()=>[S(y(p),1)]),_:2},1032,["value"]))),128))]),_:2},1032,["value"])):g("",!0)]),_:1},8,["search-domain"])])}}}),te=O(U,[["__scopeId","data-v-42269320"]]);export{te as default};
diff --git a/app/dubbo-ui/dist/admin/assets/service-SHOGrh_I.js b/app/dubbo-ui/dist/admin/assets/service-SHOGrh_I.js
deleted file mode 100644
index 1fbd1e9..0000000
--- a/app/dubbo-ui/dist/admin/assets/service-SHOGrh_I.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as T,v as V,a as A,u as D,r as d,W as M,l as P,c as f,Q as g,b as Q,w as c,n as h,P as b,R as E,e as t,o,G as v,f as y,t as S,J as $,K as x,y as O,_ as B}from"./index-hmLAZQYT.js";import{g as L,a as Y}from"./serverInfo-j8z5RY-E.js";import{S as F,a as J}from"./SearchUtil-sOWd6ofa.js";import{b as K}from"./app-duU6O0cq.js";import"./request-8jI_GZey.js";import{p as z,q as m}from"./PromQueryUtil-2EbGMcmH.js";const H={class:"__container_app_service"},W=T({__name:"service",setup(X){V(r=>({"28ddf99a":h(b)+"22","28a02396":h(b)}));const G=A(),I=D();let s=d({info:{},report:{}}),w=d({info:{}});M(async()=>{n.tableStyle={scrollX:"100",scrollY:"calc(100vh - 600px)"};let r=(await L({})).data;w.info=(await Y({})).data,s.info=r,s.report={providers:{icon:"carbon:branch",value:s.info.providers},consumers:{icon:"mdi:merge",value:s.info.consumers}}});const N=[{title:"provideServiceName",key:"service",dataIndex:"serviceName",sorter:!0,width:"30%"},{title:"versionGroup",key:"versionGroup",dataIndex:"versionGroupSelect",width:"25%"},{title:"avgQPS",key:"avgQPS",dataIndex:"avgQPS",sorter:!0,width:"15%"},{title:"avgRT",key:"avgRT",dataIndex:"avgRT",sorter:!0,width:"15%"},{title:"requestTotal",key:"requestTotal",dataIndex:"requestTotal",sorter:!0,width:"15%"}],k=P(()=>{var r;return(r=G.params)==null?void 0:r.pathId});function q(r){return K(r).then(async _=>z(_,["qps","rt","request"],async a=>{a.versionGroupSelect={},a.versionGroupSelect.versionGroupArr=a.versionGroups.map(e=>e.versionGroup=(e.version?"version: "+e.version+", ":"")+(e.group?"group: "+e.group:"")||"无"),a.versionGroupSelect.versionGroupValue=a.versionGroupSelect.versionGroupArr[0];let u=await m(`sum (dubbo_provider_qps_total{interface='${a.serviceName}'}) by (interface)`),l=await m(`avg(dubbo_consumer_rt_avg_milliseconds_aggregate{interface="${a.serviceName}",method=~"$method"}>0)`),i=await m(`sum (increase(dubbo_provider_requests_total{interface="${a.serviceName}"}[1m]))`);a.avgQPS=u,a.avgRT=l,a.requestTotal=i}))}const n=d(new F([{label:"serviceName",param:"serviceName"},{label:"",param:"appName",defaultValue:k}],q,N,{pageSize:4},!0));n.onSearch();const C=r=>{I.push("/resources/services/distribution/"+r)};return E(O.SEARCH_DOMAIN,n),(r,_)=>{t("a-statistic"),t("a-flex"),t("a-card");const a=t("a-button"),u=t("a-select-option"),l=t("a-select");return o(),f("div",H,[g("",!0),Q(J,{"search-domain":n},{bodyCell:c(({column:i,text:e})=>[i.dataIndex==="serviceName"?(o(),v(a,{key:0,type:"link",onClick:p=>C(e)},{default:c(()=>[y(S(e),1)]),_:2},1032,["onClick"])):i.dataIndex==="versionGroupSelect"?(o(),v(l,{key:1,value:e==null?void 0:e.versionGroupValue,bordered:!1,style:{width:"80%"}},{default:c(()=>[(o(!0),f($,null,x(e==null?void 0:e.versionGroupArr,(p,R)=>(o(),v(u,{value:p,key:R},{default:c(()=>[y(S(p),1)]),_:2},1032,["value"]))),128))]),_:2},1032,["value"])):g("",!0)]),_:1},8,["search-domain"])])}}}),te=B(W,[["__scopeId","data-v-42269320"]]);export{te as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tab1-y_fNgbfH.js b/app/dubbo-ui/dist/admin/assets/tab1-Erm3qhoK.js
similarity index 66%
rename from app/dubbo-ui/dist/admin/assets/tab1-y_fNgbfH.js
rename to app/dubbo-ui/dist/admin/assets/tab1-Erm3qhoK.js
index 40d9f88..2e61d69 100644
--- a/app/dubbo-ui/dist/admin/assets/tab1-y_fNgbfH.js
+++ b/app/dubbo-ui/dist/admin/assets/tab1-Erm3qhoK.js
@@ -1 +1 @@
-import{_ as e,c as t,o as c}from"./index-hmLAZQYT.js";const o={},_={class:"__container_tabDemo"};function a(n,s){return c(),t("div",_,"tab1")}const f=e(o,[["render",a]]);export{f as default};
+import{_ as e,c as t,o as c}from"./index-3zDsduUv.js";const o={},_={class:"__container_tabDemo"};function a(n,s){return c(),t("div",_,"tab1")}const f=e(o,[["render",a]]);export{f as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tab2-s33OHi_L.js b/app/dubbo-ui/dist/admin/assets/tab2-gYKBqlWv.js
similarity index 66%
rename from app/dubbo-ui/dist/admin/assets/tab2-s33OHi_L.js
rename to app/dubbo-ui/dist/admin/assets/tab2-gYKBqlWv.js
index 9a08493..590da8c 100644
--- a/app/dubbo-ui/dist/admin/assets/tab2-s33OHi_L.js
+++ b/app/dubbo-ui/dist/admin/assets/tab2-gYKBqlWv.js
@@ -1 +1 @@
-import{_ as e,c as t,o as c}from"./index-hmLAZQYT.js";const o={},_={class:"__container_tabDemo"};function a(n,s){return c(),t("div",_,"tab2")}const f=e(o,[["render",a]]);export{f as default};
+import{_ as e,c as t,o as c}from"./index-3zDsduUv.js";const o={},_={class:"__container_tabDemo"};function a(n,s){return c(),t("div",_,"tab2")}const f=e(o,[["render",a]]);export{f as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tracing-92ETcaci.js b/app/dubbo-ui/dist/admin/assets/tracing-92ETcaci.js
deleted file mode 100644
index 08affd1..0000000
--- a/app/dubbo-ui/dist/admin/assets/tracing-92ETcaci.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as t}from"./GrafanaPage-_hmQyI5w.js";import{d as o}from"./app-duU6O0cq.js";import{d as r,a as s,R as n,r as p,y as c,c as i,b as _,n as m,o as d}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const f={class:"__container_app_tracing"},R=r({__name:"tracing",setup(l){var a;const e=s();return n(c.GRAFANA,p({api:o,showIframe:!1,name:(a=e.params)==null?void 0:a.pathId,type:"application"})),(u,h)=>(d(),i("div",f,[_(m(t))]))}});export{R as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tracing-DAAA17XP.js b/app/dubbo-ui/dist/admin/assets/tracing-DAAA17XP.js
new file mode 100644
index 0000000..4cdde94
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/tracing-DAAA17XP.js
@@ -0,0 +1 @@
+import{G as r}from"./GrafanaPage-tT3NMW70.js";import{d as o,a as t,U as s,r as c,z as n,c as i,b as p,o as _}from"./index-3zDsduUv.js";import{b as m}from"./service-Hb3ldtV6.js";import"./request-3an337VF.js";const d={class:"__container_app_monitor"},I=o({__name:"tracing",setup(f){var a;const e=t();return s(n.GRAFANA,c({api:m,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"service"})),(u,l)=>(_(),i("div",d,[p(r)]))}});export{I as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tracing-egUve7nj.js b/app/dubbo-ui/dist/admin/assets/tracing-egUve7nj.js
new file mode 100644
index 0000000..18b57f7
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/tracing-egUve7nj.js
@@ -0,0 +1 @@
+import{G as t}from"./GrafanaPage-tT3NMW70.js";import{d as o}from"./app-mdoSebGq.js";import{d as r,a as s,U as n,r as p,z as c,c as i,b as _,n as m,o as d}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const f={class:"__container_app_tracing"},v=r({__name:"tracing",setup(l){var a;const e=s();return n(c.GRAFANA,p({api:o,showIframe:!1,name:(a=e.params)==null?void 0:a.pathId,type:"application"})),(u,h)=>(d(),i("div",f,[_(m(t))]))}});export{v as default};
diff --git a/app/dubbo-ui/dist/admin/assets/tracing-ga_5tnvN.js b/app/dubbo-ui/dist/admin/assets/tracing-ga_5tnvN.js
deleted file mode 100644
index 242f139..0000000
--- a/app/dubbo-ui/dist/admin/assets/tracing-ga_5tnvN.js
+++ /dev/null
@@ -1 +0,0 @@
-import{G as r}from"./GrafanaPage-_hmQyI5w.js";import{d as o,a as t,R as s,r as c,y as n,c as i,b as p,o as _}from"./index-hmLAZQYT.js";import{b as m}from"./service-HiIVI9X0.js";import"./request-8jI_GZey.js";const d={class:"__container_app_monitor"},I=o({__name:"tracing",setup(f){var a;const e=t();return s(n.GRAFANA,c({api:m,showIframe:!1,name:((a=e.params)==null?void 0:a.pathId)+":22222",type:"service"})),(u,l)=>(_(),i("div",d,[p(r)]))}});export{I as default};
diff --git a/app/dubbo-ui/dist/admin/assets/traffic-C2a-KjHH.js b/app/dubbo-ui/dist/admin/assets/traffic-dHGZ6qwp.js
similarity index 93%
rename from app/dubbo-ui/dist/admin/assets/traffic-C2a-KjHH.js
rename to app/dubbo-ui/dist/admin/assets/traffic-dHGZ6qwp.js
index f0622fd..14bc564 100644
--- a/app/dubbo-ui/dist/admin/assets/traffic-C2a-KjHH.js
+++ b/app/dubbo-ui/dist/admin/assets/traffic-dHGZ6qwp.js
@@ -1 +1 @@
-import{r as t}from"./request-8jI_GZey.js";const n=e=>t({url:"/condition-rule/search",method:"get",params:e}),u=e=>t({url:`/condition-rule/${e}`,method:"get"}),a=e=>t({url:`/condition-rule/${e}`,method:"delete"}),l=(e,o)=>t({url:`/condition-rule/${e}`,method:"put",data:o}),d=(e,o)=>t({url:`/condition-rule/${e}`,method:"post",data:o}),s=e=>t({url:"/tag-rule/search",method:"get",params:e}),i=e=>t({url:`/tag-rule/${e}`,method:"delete"}),c=e=>t({url:`/tag-rule/${e}`,method:"get"}),g=(e,o)=>t({url:`/tag-rule/${e}`,method:"put",data:o}),m=(e,o)=>t({url:`/tag-rule/${e}`,method:"post",data:o}),h=e=>t({url:"/configurator/search",method:"get",params:e}),R=e=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"get"}),p=(e,o)=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"put",data:o}),C=(e,o)=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"post",data:o}),f=e=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"delete"});export{d as a,s as b,i as c,a as d,c as e,m as f,u as g,g as h,h as i,f as j,R as k,C as l,p as m,n as s,l as u};
+import{r as t}from"./request-3an337VF.js";const n=e=>t({url:"/condition-rule/search",method:"get",params:e}),u=e=>t({url:`/condition-rule/${e}`,method:"get"}),a=e=>t({url:`/condition-rule/${e}`,method:"delete"}),l=(e,o)=>t({url:`/condition-rule/${e}`,method:"put",data:o}),d=(e,o)=>t({url:`/condition-rule/${e}`,method:"post",data:o}),s=e=>t({url:"/tag-rule/search",method:"get",params:e}),i=e=>t({url:`/tag-rule/${e}`,method:"delete"}),c=e=>t({url:`/tag-rule/${e}`,method:"get"}),g=(e,o)=>t({url:`/tag-rule/${e}`,method:"put",data:o}),m=(e,o)=>t({url:`/tag-rule/${e}`,method:"post",data:o}),h=e=>t({url:"/configurator/search",method:"get",params:e}),R=e=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"get"}),p=(e,o)=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"put",data:o}),C=(e,o)=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"post",data:o}),f=e=>t({url:`/configurator/${encodeURIComponent(e.name)}`,method:"delete"});export{d as a,s as b,i as c,a as d,c as e,m as f,u as g,g as h,h as i,f as j,R as k,C as l,p as m,n as s,l as u};
diff --git a/app/dubbo-ui/dist/admin/assets/tsMode-i1fWJZVb.js b/app/dubbo-ui/dist/admin/assets/tsMode-uoK2x2Py.js
similarity index 99%
rename from app/dubbo-ui/dist/admin/assets/tsMode-i1fWJZVb.js
rename to app/dubbo-ui/dist/admin/assets/tsMode-uoK2x2Py.js
index 3128f2b..d4ff7a9 100644
--- a/app/dubbo-ui/dist/admin/assets/tsMode-i1fWJZVb.js
+++ b/app/dubbo-ui/dist/admin/assets/tsMode-uoK2x2Py.js
@@ -1,4 +1,4 @@
-import{t as I,m as N}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{t as I,m as N}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/typescript-rFPVZWyT.js b/app/dubbo-ui/dist/admin/assets/typescript-jSqLomXD.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/typescript-rFPVZWyT.js
rename to app/dubbo-ui/dist/admin/assets/typescript-jSqLomXD.js
index 95babad..fc31fe0 100644
--- a/app/dubbo-ui/dist/admin/assets/typescript-rFPVZWyT.js
+++ b/app/dubbo-ui/dist/admin/assets/typescript-jSqLomXD.js
@@ -1,4 +1,4 @@
-import{m as a}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as a}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/updateByFormView-uqlnXIPo.js b/app/dubbo-ui/dist/admin/assets/updateByFormView-mbEXmvrc.js
similarity index 76%
rename from app/dubbo-ui/dist/admin/assets/updateByFormView-uqlnXIPo.js
rename to app/dubbo-ui/dist/admin/assets/updateByFormView-mbEXmvrc.js
index 12288f5..b4695ae 100644
--- a/app/dubbo-ui/dist/admin/assets/updateByFormView-uqlnXIPo.js
+++ b/app/dubbo-ui/dist/admin/assets/updateByFormView-mbEXmvrc.js
@@ -1 +1 @@
-import{u as ie}from"./index-Va7nxJVK.js";import{d as ue,x as de,y as re,u as pe,W as _e,F as fe,k as ye,a as ve,z as U,r as be,D as W,c as Y,b as e,w as a,e as u,o as g,f as b,G as w,n as A,a9 as he,aa as me,J as ke,K as ge,j as x,t as P,I as L,Q as B,m as we,p as xe,h as Ce,_ as $e}from"./index-hmLAZQYT.js";import{e as Oe,h as Ke}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const N=D=>(xe("data-v-5efc185c"),D=D(),Ce(),D),Ue={class:"__container_tagRule_detail"},je={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Ee=N(()=>x("br",null,null,-1)),Ne=N(()=>x("br",null,null,-1)),Re=N(()=>x("br",null,null,-1)),Te=N(()=>x("br",null,null,-1)),Ae=N(()=>x("br",null,null,-1)),De=N(()=>x("br",null,null,-1)),Se={class:"bottom-action-footer"},Ve=ue({__name:"updateByFormView",setup(D){const $=de(re.PROVIDE_INJECT_KEY);pe(),_e(async()=>{if(fe.isNil($.tagRule))await F();else{const{enabled:t=!0,key:l,scope:d,runtime:p=!0,tags:o}=$.tagRule;s.enable=t,s.objectOfAction=l,s.ruleGranularity=d,s.runtime=p,console.log("tags",o),o&&o.length&&o.forEach((h,_)=>{r.value.push({tagName:h.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:f}=h;let c=[];f.forEach((i,y)=>{c.push({myKey:i.key,condition:Object.keys(i.value)[0],value:i.value[Object.keys(i.value)[0]]})}),r.value[_]&&r.value[_].scope&&(r.value[_].scope.labels=c)})}}),ye();const z=ve(),j=U(!1),G=U(8);ie().toClipboard;const q=(t,l)=>{var o,h,_,f;let d=`对于应用 ${l||"未指定"},将满足 `;const p=[];if(((o=t.scope)==null?void 0:o.type)==="labels"&&((h=t.scope.labels)==null?void 0:h.length)>0)t.scope.labels.forEach(c=>{var k,m;let i="";if(c.myKey==="method")i="请求方法";else if((k=c.myKey)!=null&&k.startsWith("args[")){const R=(m=c.myKey.match(/\[(\d+)\]/))==null?void 0:m[1];R!==void 0?i=`第 ${parseInt(R)+1} 个参数`:i=`标签 ${c.myKey||"未指定"}`}else i=`标签 ${c.myKey||"未指定"}`;let y="";const v=c.value||"未指定";switch(c.condition){case"exact":y=`exact ${v}`;break;case"regex":y=`regex ${v}`;break;case"prefix":y=`prefix ${v}`;break;case"noempty":y="noempty";break;case"empty":y="empty";break;case"wildcard":y=`wildcard ${v}`;break;case"!=":y=`!= ${v}`;break;default:y=`${c.condition||"未知关系"} ${v}`}c.condition!=="empty"&&c.condition!=="noempty"&&!c.value?p.push(`${i} 未填写`):p.push(`${i} ${y}`)});else if(((_=t.scope)==null?void 0:_.type)==="addresses"&&((f=t.scope.addresses)!=null&&f.addressesStr)){const c=t.scope.addresses.condition==="="?"等于":"不等于";p.push(`地址 ${c} [${t.scope.addresses.addressesStr}]`)}return p.length===0?d+="任意请求":d+=p.join(" 且 "),d+=` 的实例,打上 ${t.tagName||"未指定"} 标签,划入 ${t.tagName||"未指定"} 的隔离环境`,d},s=be({ruleGranularity:"application",objectOfAction:"shop-user",enable:!0,faultTolerantProtection:!0,runtime:!0,priority:1,configVersion:""});W(s,t=>{const{enable:l,objectOfAction:d,runtime:p,ruleGranularity:o}=t;$.tagRule={...$.tagRule,enabled:l,key:d,runtime:p,scope:o}});const M=U([{label:"labels",value:"labels"}]),Q=U([{label:"exact",value:"exact"},{label:"regex",value:"regex"},{label:"prefix",value:"prefix"},{label:"noempty",value:"noempty"},{label:"empty",value:"empty"},{label:"wildcard",value:"wildcard"}]),H=U([{label:"=",value:"="},{label:"!=",value:"!="}]),X=U([{title:"键",dataIndex:"myKey",key:"myKey"},{title:"关系",dataIndex:"condition",key:"condition"},{title:"值",dataIndex:"value",key:"value"},{title:"操作",dataIndex:"operation",key:"operation"}]),r=U([]);W(r,t=>{console.log(t);const l=[];t.forEach(d=>{const{tagName:p,scope:o}=d,h=o.labels,_={name:p,match:[]};h&&h.length>0&&h.forEach(f=>{_.match.push({key:f.myKey,value:{[f.condition]:f.value}})}),l.push(_)}),$.tagRule={...$.tagRule,tags:l},console.log("watch tagList",$.tagRule)},{deep:!0});const Z=(t,l)=>{if(r.value[t].scope.labels.length===1){r.value[t].scope.type="addresses";return}r.value[t].scope.labels.splice(l,1)},I=t=>{r.value[t].scope.labels.push({myKey:"",condition:"exact",value:""})},ee=()=>{r.value.push({tagName:"",scope:{type:"labels",labels:[{myKey:"",condition:"",value:""}],addresses:{condition:"",addressesStr:""}}})},ae=t=>{r.value.splice(t,1)},F=async()=>{var l;const t=await Oe((l=z.params)==null?void 0:l.ruleName);if(t.code===200){const{configVersion:d,enabled:p,key:o,runtime:h,scope:_,tags:f}=t==null?void 0:t.data;s.configVersion=d,s.enable=p,s.runtime=h,s.ruleGranularity=_,s.objectOfAction=o,r.value=[],f.forEach((c,i)=>{r.value.push({tagName:c.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:y}=c;let v=[];y.forEach((k,m)=>{v.push({myKey:k.key,condition:Object.keys(k.value)[0],value:k.value[Object.keys(k.value)[0]]})}),r.value[i]&&r.value[i].scope&&(r.value[i].scope.labels=v)})}},te=async()=>{var i;const{ruleGranularity:t,objectOfAction:l,enable:d,faultTolerantProtection:p,runtime:o,priority:h,configVersion:_}=s,f={configVersion:_,scope:t,key:l,enabled:d,runtime:o,tags:[]};r.value.forEach((y,v)=>{const k={name:y.tagName,match:[]};y.scope.labels.forEach((m,R)=>{const S={key:m.myKey,value:{}};S.value[m.condition]=m.value,k.match.push(S)}),f.tags.push(k)}),(await Ke((i=z.params)==null?void 0:i.ruleName,f)).code===200&&(await F(),we.success("修改成功"))};return(t,l)=>{const d=u("a-button"),p=u("a-flex"),o=u("a-form-item"),h=u("a-switch"),_=u("a-col"),f=u("a-input"),c=u("a-input-number"),i=u("a-row"),y=u("a-form"),v=u("a-card"),k=u("a-tooltip"),m=u("a-space"),R=u("a-radio-group"),S=u("a-tag"),J=u("a-select"),le=u("a-table"),oe=u("a-textarea"),V=u("a-descriptions-item"),ne=u("a-descriptions"),se=u("a-affix");return g(),Y("div",Ue,[e(p,{style:{width:"100%"}},{default:a(()=>[e(_,{span:j.value?24-G.value:24,class:"left"},{default:a(()=>[e(v,null,{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:a(()=>[e(i,null,{default:a(()=>[e(p,{justify:"end",style:{width:"100%"}},{default:a(()=>[e(d,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=n=>j.value=!j.value)},{default:a(()=>[b(" 字段说明 "),j.value?(g(),w(A(me),{key:1})):(g(),w(A(he),{key:0}))]),_:1})]),_:1}),e(v,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:a(()=>[e(y,{layout:"horizontal"},{default:a(()=>[e(i,{style:{width:"100%"}},{default:a(()=>[e(_,{span:12},{default:a(()=>[e(o,{label:"规则粒度",required:""},{default:a(()=>[b(" 应用")]),_:1}),e(o,{label:"容错保护"},{default:a(()=>[e(h,{checked:s.faultTolerantProtection,"onUpdate:checked":l[1]||(l[1]=n=>s.faultTolerantProtection=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(o,{label:"运行时生效"},{default:a(()=>[e(h,{checked:s.runtime,"onUpdate:checked":l[2]||(l[2]=n=>s.runtime=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(_,{span:12},{default:a(()=>[e(o,{label:"作用对象",required:""},{default:a(()=>[e(f,{disabled:"",value:s.objectOfAction,"onUpdate:value":l[3]||(l[3]=n=>s.objectOfAction=n),style:{width:"200px"}},null,8,["value"])]),_:1}),e(o,{label:"立即启用"},{default:a(()=>[e(h,{checked:s.enable,"onUpdate:checked":l[4]||(l[4]=n=>s.enable=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(o,{label:"优先级"},{default:a(()=>[e(c,{min:"1",value:s.priority,"onUpdate:value":l[5]||(l[5]=n=>s.priority=n)},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(v,{title:"标签列表",style:{width:"100%"},class:"_detail"},{default:a(()=>[(g(!0),Y(ke,null,ge(r.value,(n,T)=>(g(),w(v,{key:T},{title:a(()=>[e(m,{align:"center"},{default:a(()=>[x("div",null,"路由【"+P(T+1)+"】",1),e(k,null,{title:a(()=>[b(P(q(n,s.objectOfAction)),1)]),default:a(()=>[x("div",je,P(q(n,s.objectOfAction)),1)]),_:2},1024)]),_:2},1024)]),default:a(()=>[e(y,{layout:"horizontal"},{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical",size:"large"},{default:a(()=>[e(p,{justify:"end"},{default:a(()=>[e(A(L),{onClick:O=>ae(T),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),e(o,{label:"标签名",required:""},{default:a(()=>[e(f,{placeholder:"隔离环境名",value:n.tagName,"onUpdate:value":O=>n.tagName=O},null,8,["value","onUpdate:value"])]),_:2},1024),e(o,{label:"作用范围",required:""},{default:a(()=>[e(v,null,{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical"},{default:a(()=>[e(o,{label:"匹配条件类型"},{default:a(()=>[e(R,{value:n.scope.type,"onUpdate:value":O=>n.scope.type=O,options:M.value},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(m,{align:"start",style:{width:"100%"},direction:"horizontal"},{default:a(()=>{var O;return[e(S,{bordered:!1,color:"processing"},{default:a(()=>[b(P(n.scope.type),1)]),_:2},1024),n.scope.type==="labels"?(g(),w(le,{key:0,pagination:!1,columns:X.value,"data-source":(O=n.scope)==null?void 0:O.labels},{bodyCell:a(({column:C,record:E,text:Pe,index:ce})=>[C.key==="myKey"?(g(),w(f,{key:0,placeholder:"label key",value:E.myKey,"onUpdate:value":K=>E.myKey=K},null,8,["value","onUpdate:value"])):B("",!0),C.key==="condition"?(g(),w(J,{key:1,value:E.condition,"onUpdate:value":K=>E.condition=K,style:{width:"120px"},options:Q.value},null,8,["value","onUpdate:value","options"])):B("",!0),C.key==="value"?(g(),w(f,{key:2,placeholder:"label value",value:E.value,"onUpdate:value":K=>E.value=K},null,8,["value","onUpdate:value"])):C.key==="operation"?(g(),w(m,{key:3,align:"center"},{default:a(()=>[e(A(L),{icon:"tdesign:remove",class:"action-icon",onClick:K=>Z(T,ce)},null,8,["onClick"]),e(A(L),{class:"action-icon",icon:"tdesign:add",onClick:K=>I(T)},null,8,["onClick"])]),_:2},1024)):B("",!0)]),_:2},1032,["columns","data-source"])):(g(),w(m,{key:1,align:"start"},{default:a(()=>[e(J,{style:{width:"120px"},value:n.scope.addresses.condition,"onUpdate:value":C=>n.scope.addresses.condition=C,options:H.value},null,8,["value","onUpdate:value","options"]),e(oe,{style:{width:"500px"},value:n.scope.addresses.addressesStr,"onUpdate:value":C=>n.scope.addresses.addressesStr=C,placeholder:'地址列表,如有多个用","隔开'},null,8,["value","onUpdate:value"])]),_:2},1024))]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1}),e(d,{onClick:ee,type:"primary"},{default:a(()=>[b(" 增加标签")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(_,{span:j.value?G.value:0,class:"right"},{default:a(()=>[j.value?(g(),w(v,{key:0,class:"sliderBox"},{default:a(()=>[x("div",null,[e(ne,{title:"字段说明",column:1},{default:a(()=>[e(V,{label:"key"},{default:a(()=>[b(" 作用对象"),Ee,b(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(V,{label:"scope"},{default:a(()=>[b(" 规则粒度"),Ne,b(" 可能的值:application, service ")]),_:1}),e(V,{label:"force"},{default:a(()=>[b(" 容错保护"),Re,b(" 可能的值:true, false"),Te,b(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(V,{label:"runtime"},{default:a(()=>[b(" 运行时生效"),Ae,b(" 可能的值:true, false"),De,b(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):B("",!0)]),_:1},8,["span"])]),_:1}),e(se,{"offset-bottom":10},{default:a(()=>[x("div",Se,[e(m,{align:"center",size:"large"},{default:a(()=>[e(d,{type:"primary",onClick:te},{default:a(()=>[b(" 确认")]),_:1}),e(d,null,{default:a(()=>[b(" 取消")]),_:1})]),_:1})])]),_:1})])}}}),qe=$e(Ve,[["__scopeId","data-v-5efc185c"]]);export{qe as default};
+import{u as ie}from"./index-HdnVQEsT.js";import{d as ue,y as de,z as re,u as pe,D as _e,H as fe,k as ye,a as ve,B as U,r as be,F as M,c as Y,b as e,w as a,e as u,o as g,f as b,J as w,n as A,aa as he,ab as me,L as ke,M as ge,j as x,t as B,I as P,T as L,m as we,p as xe,h as Ce,_ as $e}from"./index-3zDsduUv.js";import{e as Oe,h as Te}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const K=D=>(xe("data-v-5efc185c"),D=D(),Ce(),D),Ue={class:"__container_tagRule_detail"},je={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Ee=K(()=>x("br",null,null,-1)),Ke=K(()=>x("br",null,null,-1)),Ne=K(()=>x("br",null,null,-1)),Re=K(()=>x("br",null,null,-1)),Ae=K(()=>x("br",null,null,-1)),De=K(()=>x("br",null,null,-1)),Se={class:"bottom-action-footer"},Ve=ue({__name:"updateByFormView",setup(D){const $=de(re.PROVIDE_INJECT_KEY);pe(),_e(async()=>{if(fe.isNil($.tagRule))await F();else{const{enabled:t=!0,key:l,scope:d,runtime:p=!0,tags:o}=$.tagRule;s.enable=t,s.objectOfAction=l,s.ruleGranularity=d,s.runtime=p,console.log("tags",o),o&&o.length&&o.forEach((h,_)=>{r.value.push({tagName:h.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:f}=h;let c=[];f.forEach((i,y)=>{c.push({myKey:i.key,condition:Object.keys(i.value)[0],value:i.value[Object.keys(i.value)[0]]})}),r.value[_]&&r.value[_].scope&&(r.value[_].scope.labels=c)})}}),ye();const z=ve(),j=U(!1),G=U(8);ie().toClipboard;const q=(t,l)=>{var o,h,_,f;let d=`对于应用 ${l||"未指定"},将满足 `;const p=[];if(((o=t.scope)==null?void 0:o.type)==="labels"&&((h=t.scope.labels)==null?void 0:h.length)>0)t.scope.labels.forEach(c=>{var k,m;let i="";if(c.myKey==="method")i="请求方法";else if((k=c.myKey)!=null&&k.startsWith("args[")){const N=(m=c.myKey.match(/\[(\d+)\]/))==null?void 0:m[1];N!==void 0?i=`第 ${parseInt(N)+1} 个参数`:i=`标签 ${c.myKey||"未指定"}`}else i=`标签 ${c.myKey||"未指定"}`;let y="";const v=c.value||"未指定";switch(c.condition){case"exact":y=`exact ${v}`;break;case"regex":y=`regex ${v}`;break;case"prefix":y=`prefix ${v}`;break;case"noempty":y="noempty";break;case"empty":y="empty";break;case"wildcard":y=`wildcard ${v}`;break;case"!=":y=`!= ${v}`;break;default:y=`${c.condition||"未知关系"} ${v}`}c.condition!=="empty"&&c.condition!=="noempty"&&!c.value?p.push(`${i} 未填写`):p.push(`${i} ${y}`)});else if(((_=t.scope)==null?void 0:_.type)==="addresses"&&((f=t.scope.addresses)!=null&&f.addressesStr)){const c=t.scope.addresses.condition==="="?"等于":"不等于";p.push(`地址 ${c} [${t.scope.addresses.addressesStr}]`)}return p.length===0?d+="任意请求":d+=p.join(" 且 "),d+=` 的实例,打上 ${t.tagName||"未指定"} 标签,划入 ${t.tagName||"未指定"} 的隔离环境`,d},s=be({ruleGranularity:"application",objectOfAction:"shop-user",enable:!0,faultTolerantProtection:!0,runtime:!0,priority:1,configVersion:""});M(s,t=>{const{enable:l,objectOfAction:d,runtime:p,ruleGranularity:o}=t;$.tagRule={...$.tagRule,enabled:l,key:d,runtime:p,scope:o}});const H=U([{label:"labels",value:"labels"}]),W=U([{label:"exact",value:"exact"},{label:"regex",value:"regex"},{label:"prefix",value:"prefix"},{label:"noempty",value:"noempty"},{label:"empty",value:"empty"},{label:"wildcard",value:"wildcard"}]),Q=U([{label:"=",value:"="},{label:"!=",value:"!="}]),X=U([{title:"键",dataIndex:"myKey",key:"myKey"},{title:"关系",dataIndex:"condition",key:"condition"},{title:"值",dataIndex:"value",key:"value"},{title:"操作",dataIndex:"operation",key:"operation"}]),r=U([]);M(r,t=>{console.log(t);const l=[];t.forEach(d=>{const{tagName:p,scope:o}=d,h=o.labels,_={name:p,match:[]};h&&h.length>0&&h.forEach(f=>{_.match.push({key:f.myKey,value:{[f.condition]:f.value}})}),l.push(_)}),$.tagRule={...$.tagRule,tags:l},console.log("watch tagList",$.tagRule)},{deep:!0});const Z=(t,l)=>{if(r.value[t].scope.labels.length===1){r.value[t].scope.type="addresses";return}r.value[t].scope.labels.splice(l,1)},I=t=>{r.value[t].scope.labels.push({myKey:"",condition:"exact",value:""})},ee=()=>{r.value.push({tagName:"",scope:{type:"labels",labels:[{myKey:"",condition:"",value:""}],addresses:{condition:"",addressesStr:""}}})},ae=t=>{r.value.splice(t,1)},F=async()=>{var l;const t=await Oe((l=z.params)==null?void 0:l.ruleName);if(t.code===200){const{configVersion:d,enabled:p,key:o,runtime:h,scope:_,tags:f}=t==null?void 0:t.data;s.configVersion=d,s.enable=p,s.runtime=h,s.ruleGranularity=_,s.objectOfAction=o,r.value=[],f.forEach((c,i)=>{r.value.push({tagName:c.name,scope:{type:"labels",labels:[],addresses:{condition:"=",addressesStr:""}}});const{match:y}=c;let v=[];y.forEach((k,m)=>{v.push({myKey:k.key,condition:Object.keys(k.value)[0],value:k.value[Object.keys(k.value)[0]]})}),r.value[i]&&r.value[i].scope&&(r.value[i].scope.labels=v)})}},te=async()=>{var i;const{ruleGranularity:t,objectOfAction:l,enable:d,faultTolerantProtection:p,runtime:o,priority:h,configVersion:_}=s,f={configVersion:_,scope:t,key:l,enabled:d,runtime:o,tags:[]};r.value.forEach((y,v)=>{const k={name:y.tagName,match:[]};y.scope.labels.forEach((m,N)=>{const S={key:m.myKey,value:{}};S.value[m.condition]=m.value,k.match.push(S)}),f.tags.push(k)}),(await Te((i=z.params)==null?void 0:i.ruleName,f)).code===200&&(await F(),we.success("修改成功"))};return(t,l)=>{const d=u("a-button"),p=u("a-flex"),o=u("a-form-item"),h=u("a-switch"),_=u("a-col"),f=u("a-input"),c=u("a-input-number"),i=u("a-row"),y=u("a-form"),v=u("a-card"),k=u("a-tooltip"),m=u("a-space"),N=u("a-radio-group"),S=u("a-tag"),J=u("a-select"),le=u("a-table"),oe=u("a-textarea"),V=u("a-descriptions-item"),ne=u("a-descriptions"),se=u("a-affix");return g(),Y("div",Ue,[e(p,{style:{width:"100%"}},{default:a(()=>[e(_,{span:j.value?24-G.value:24,class:"left"},{default:a(()=>[e(v,null,{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:a(()=>[e(i,null,{default:a(()=>[e(p,{justify:"end",style:{width:"100%"}},{default:a(()=>[e(d,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=n=>j.value=!j.value)},{default:a(()=>[b(" 字段说明 "),j.value?(g(),w(A(me),{key:1})):(g(),w(A(he),{key:0}))]),_:1})]),_:1}),e(v,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:a(()=>[e(y,{layout:"horizontal"},{default:a(()=>[e(i,{style:{width:"100%"}},{default:a(()=>[e(_,{span:12},{default:a(()=>[e(o,{label:"规则粒度",required:""},{default:a(()=>[b(" 应用")]),_:1}),e(o,{label:"容错保护"},{default:a(()=>[e(h,{checked:s.faultTolerantProtection,"onUpdate:checked":l[1]||(l[1]=n=>s.faultTolerantProtection=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(o,{label:"运行时生效"},{default:a(()=>[e(h,{checked:s.runtime,"onUpdate:checked":l[2]||(l[2]=n=>s.runtime=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),e(_,{span:12},{default:a(()=>[e(o,{label:"作用对象",required:""},{default:a(()=>[e(f,{disabled:"",value:s.objectOfAction,"onUpdate:value":l[3]||(l[3]=n=>s.objectOfAction=n),style:{width:"200px"}},null,8,["value"])]),_:1}),e(o,{label:"立即启用"},{default:a(()=>[e(h,{checked:s.enable,"onUpdate:checked":l[4]||(l[4]=n=>s.enable=n),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),e(o,{label:"优先级"},{default:a(()=>[e(c,{min:"1",value:s.priority,"onUpdate:value":l[5]||(l[5]=n=>s.priority=n)},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(v,{title:"标签列表",style:{width:"100%"},class:"_detail"},{default:a(()=>[(g(!0),Y(ke,null,ge(r.value,(n,R)=>(g(),w(v,{key:R},{title:a(()=>[e(m,{align:"center"},{default:a(()=>[x("div",null,"路由【"+B(R+1)+"】",1),e(k,null,{title:a(()=>[b(B(q(n,s.objectOfAction)),1)]),default:a(()=>[x("div",je,B(q(n,s.objectOfAction)),1)]),_:2},1024)]),_:2},1024)]),default:a(()=>[e(y,{layout:"horizontal"},{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical",size:"large"},{default:a(()=>[e(p,{justify:"end"},{default:a(()=>[e(A(P),{onClick:O=>ae(R),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),e(o,{label:"标签名",required:""},{default:a(()=>[e(f,{placeholder:"隔离环境名",value:n.tagName,"onUpdate:value":O=>n.tagName=O},null,8,["value","onUpdate:value"])]),_:2},1024),e(o,{label:"作用范围",required:""},{default:a(()=>[e(v,null,{default:a(()=>[e(m,{style:{width:"100%"},direction:"vertical"},{default:a(()=>[e(o,{label:"匹配条件类型"},{default:a(()=>[e(N,{value:n.scope.type,"onUpdate:value":O=>n.scope.type=O,options:H.value},null,8,["value","onUpdate:value","options"])]),_:2},1024),e(m,{align:"start",style:{width:"100%"},direction:"horizontal"},{default:a(()=>{var O;return[e(S,{bordered:!1,color:"processing"},{default:a(()=>[b(B(n.scope.type),1)]),_:2},1024),n.scope.type==="labels"?(g(),w(le,{key:0,pagination:!1,columns:X.value,"data-source":(O=n.scope)==null?void 0:O.labels},{bodyCell:a(({column:C,record:E,text:Be,index:ce})=>[C.key==="myKey"?(g(),w(f,{key:0,placeholder:"label key",value:E.myKey,"onUpdate:value":T=>E.myKey=T},null,8,["value","onUpdate:value"])):L("",!0),C.key==="condition"?(g(),w(J,{key:1,value:E.condition,"onUpdate:value":T=>E.condition=T,style:{width:"120px"},options:W.value},null,8,["value","onUpdate:value","options"])):L("",!0),C.key==="value"?(g(),w(f,{key:2,placeholder:"label value",value:E.value,"onUpdate:value":T=>E.value=T},null,8,["value","onUpdate:value"])):C.key==="operation"?(g(),w(m,{key:3,align:"center"},{default:a(()=>[e(A(P),{icon:"tdesign:remove",class:"action-icon",onClick:T=>Z(R,ce)},null,8,["onClick"]),e(A(P),{class:"action-icon",icon:"tdesign:add",onClick:T=>I(R)},null,8,["onClick"])]),_:2},1024)):L("",!0)]),_:2},1032,["columns","data-source"])):(g(),w(m,{key:1,align:"start"},{default:a(()=>[e(J,{style:{width:"120px"},value:n.scope.addresses.condition,"onUpdate:value":C=>n.scope.addresses.condition=C,options:Q.value},null,8,["value","onUpdate:value","options"]),e(oe,{style:{width:"500px"},value:n.scope.addresses.addressesStr,"onUpdate:value":C=>n.scope.addresses.addressesStr=C,placeholder:'地址列表,如有多个用","隔开'},null,8,["value","onUpdate:value"])]),_:2},1024))]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1}),e(d,{onClick:ee,type:"primary"},{default:a(()=>[b(" 增加标签")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),e(_,{span:j.value?G.value:0,class:"right"},{default:a(()=>[j.value?(g(),w(v,{key:0,class:"sliderBox"},{default:a(()=>[x("div",null,[e(ne,{title:"字段说明",column:1},{default:a(()=>[e(V,{label:"key"},{default:a(()=>[b(" 作用对象"),Ee,b(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),e(V,{label:"scope"},{default:a(()=>[b(" 规则粒度"),Ke,b(" 可能的值:application, service ")]),_:1}),e(V,{label:"force"},{default:a(()=>[b(" 容错保护"),Ne,b(" 可能的值:true, false"),Re,b(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),e(V,{label:"runtime"},{default:a(()=>[b(" 运行时生效"),Ae,b(" 可能的值:true, false"),De,b(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):L("",!0)]),_:1},8,["span"])]),_:1}),e(se,{"offset-bottom":10},{default:a(()=>[x("div",Se,[e(m,{align:"center",size:"large"},{default:a(()=>[e(d,{type:"primary",onClick:te},{default:a(()=>[b(" 确认")]),_:1}),e(d,null,{default:a(()=>[b(" 取消")]),_:1})]),_:1})])]),_:1})])}}}),qe=$e(Ve,[["__scopeId","data-v-5efc185c"]]);export{qe as default};
diff --git a/app/dubbo-ui/dist/admin/assets/updateByFormView-ykpq9Kli.js b/app/dubbo-ui/dist/admin/assets/updateByFormView-ySWJqpjX.js
similarity index 78%
rename from app/dubbo-ui/dist/admin/assets/updateByFormView-ykpq9Kli.js
rename to app/dubbo-ui/dist/admin/assets/updateByFormView-ySWJqpjX.js
index cac830a..dcc7fcc 100644
--- a/app/dubbo-ui/dist/admin/assets/updateByFormView-ykpq9Kli.js
+++ b/app/dubbo-ui/dist/admin/assets/updateByFormView-ySWJqpjX.js
@@ -1 +1 @@
-import{u as Ue}from"./index-Va7nxJVK.js";import{d as De,x as Re,y as Ke,W as qe,F as Oe,k as je,a as Ee,z as W,r as Se,D as se,c as F,b as t,w as l,e as O,o as h,f as C,G as b,n as E,a9 as Ae,aa as me,Q as j,J as L,K as X,j as G,t as S,I as A,m as Ve,p as ze,h as Ge,_ as Be}from"./index-hmLAZQYT.js";import{g as Pe,u as Ne}from"./traffic-C2a-KjHH.js";import"./request-8jI_GZey.js";const J=Y=>(ze("data-v-03458e68"),Y=Y(),Ge(),Y),We={class:"__container_routingRule_detail"},xe={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Fe=J(()=>G("br",null,null,-1)),Je=J(()=>G("br",null,null,-1)),Le=J(()=>G("br",null,null,-1)),Ye=J(()=>G("br",null,null,-1)),Qe=J(()=>G("br",null,null,-1)),He=J(()=>G("br",null,null,-1)),Xe=De({__name:"updateByFormView",setup(Y){const P=Re(Ke.PROVIDE_INJECT_KEY);qe(async()=>{if(Oe.isNil(P.conditionRule))await ae();else{const{enabled:s=!0,key:e,scope:i,runtime:f=!0,conditions:M}=P.conditionRule;console.log("[ TAB_STATE.conditionRule ] >",P.conditionRule),_.enable=s,_.objectOfAction=e,_.ruleGranularity=i,_.runtime=f,M&&M.length&&M.forEach((d,n)=>{var v,R;const k=d.split("=>"),o=(v=k[0])==null?void 0:v.trim(),$=(R=k[1])==null?void 0:R.trim();c.value[n].requestMatch=te(o,n),c.value[n].routeDistribute=le($,n)})}we()}),je();const Q=Ee(),x=W(!1),Z=W(8);Ue().toClipboard;const _=Se({version:"",ruleGranularity:"",objectOfAction:"",enable:!0,faultTolerantProtection:!1,runtime:!0,priority:null,group:""});se(_,s=>{const{ruleGranularity:e,enable:i=!0,runtime:f=!0,objectOfAction:M}=s;P.conditionRule={...P.conditionRule,enabled:i,key:M,runtime:f,scope:e}});const oe=W([{label:"host",value:"host"},{label:"application",value:"application"},{label:"method",value:"method"},{label:"arguments",value:"arguments"},{label:"attachments",value:"attachments"},{label:"其他",value:"other"}]),ie=W([{label:"host",value:"host"},{label:"其他",value:"other"}]),B=W([{label:"=",value:"="},{label:"!=",value:"!="}]),ue=W([{label:"应用",value:"application"},{label:"服务",value:"service"}]),c=W([{selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]}]);se(c,s=>{P.conditionRule={...P.conditionRule,conditions:ne()}},{deep:!0});const ce=()=>{c.value.push({selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]})},de=s=>{c.value.splice(s,1)},re=s=>{c.value[s].requestMatch=[],c.value[s].selectedMatchConditionTypes=[]},pe=s=>{c.value[s].requestMatch=[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[{index:0,condition:"",value:""}]},{type:"attachments",list:[{myKey:"key",condition:"",value:""}]},{type:"other",list:[{myKey:"key",condition:"",value:""}]}]},H=(s,e)=>{c.value[e].selectedMatchConditionTypes=c.value[e].selectedMatchConditionTypes.filter(i=>i!==s)},ve=(s,e)=>{c.value[e].selectedRouteDistributeMatchTypes=c.value[e].selectedRouteDistributeMatchTypes.filter(i=>i!==s)},ye=[{dataIndex:"index",key:"index",title:"参数索引"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],he=(s,e)=>{c.value[s].requestMatch[e].list.push({index:0,condition:"=",value:""})},fe=(s,e,i)=>{c.value[s].requestMatch[e].list.length===1&&(c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="arguments")),c.value[s].requestMatch[e].list.splice(i,1)},_e=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ke=(s,e)=>{c.value[s].requestMatch[e].list.push({key:"key",condition:"=",value:""})},be=(s,e,i)=>{c.value[s].requestMatch[e].list.length===1&&(c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="attachments")),c.value[s].requestMatch[e].list.splice(i,1)},I=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ge=(s,e)=>{c.value[s].requestMatch[e].list.push({myKey:"",condition:"=",value:""})},Ce=(s,e,i)=>{if(c.value[s].requestMatch[e].list.length===1){c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="other");return}c.value[s].requestMatch[e].list.splice(i,1)},Me=(s,e)=>{c.value[s].routeDistribute[e].list.push({myKey:"",condition:"=",value:""})},$e=(s,e,i)=>{if(c.value[s].routeDistribute[e].list.length===1){c.value[s].selectedRouteDistributeMatchTypes=c.value[s].selectedRouteDistributeMatchTypes.filter(f=>f!=="other");return}c.value[s].routeDistribute[e].list.splice(i,1)},ee=s=>{var v,R;const e=c.value[s],{ruleGranularity:i,objectOfAction:f}=_;let d=`对于${i==="service"?"服务":"应用"}【${f||"未指定"}】`,n=[];(v=e.selectedMatchConditionTypes)==null||v.forEach(T=>{var V,N,p,g;const w=(V=e.requestMatch)==null?void 0:V.find(a=>a.type===T);if(!w)return;let y="";const q=w.condition==="="?"等于":w.condition==="!="?"不等于":w.condition||"",m=w.value||"未指定";switch(T){case"host":y=`请求来源主机 ${q} ${m}`;break;case"application":y=`请求来源应用 ${q} ${m}`;break;case"method":y=`请求方法 ${q} ${m}`;break;case"arguments":const a=(N=w.list)==null?void 0:N.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`参数[${u.index}] ${z} ${K}`}).filter(Boolean);(a==null?void 0:a.length)>0&&(y=a.join(" 且 "));break;case"attachments":const U=(p=w.list)==null?void 0:p.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`附件[${u.myKey||"未指定"}] ${z} ${K}`}).filter(Boolean);(U==null?void 0:U.length)>0&&(y=U.join(" 且 "));break;case"other":const r=(g=w.list)==null?void 0:g.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`自定义匹配[${u.myKey||"未指定"}] ${z} ${K}`}).filter(Boolean);(r==null?void 0:r.length)>0&&(y=r.join(" 且 "));break}y&&((T==="host"||T==="application"||T==="method")&&!w.value?n.push(`${T==="host"?"请求来源主机":T==="application"?"请求来源应用":"请求方法"} 未填写`):n.push(y))});const k=n.length>0?n.join(" 且 "):"任意请求";let o=[];(R=e.selectedRouteDistributeMatchTypes)==null||R.forEach(T=>{var V,N;const w=(V=e.routeDistribute)==null?void 0:V.find(p=>p.type===T);if(!w)return;let y="";const q=w.condition==="="?"等于":w.condition==="!="?"不等于":w.condition||"",m=w.value||"未指定";switch(T){case"host":y=`目标主机 ${q} ${m}`;break;case"other":const p=(N=w.list)==null?void 0:N.map(g=>{const a=g.condition==="="?"等于":g.condition==="!="?"不等于":g.condition||"",U=g.value!==void 0&&g.value!==""?g.value:"未指定";return`目标标签[${g.myKey||"未指定"}] ${a} ${U}`}).filter(Boolean);(p==null?void 0:p.length)>0&&(y=p.join(" 且 "));break}y&&(T==="host"&&!w.value?o.push("目标主机 未填写"):o.push(y))});const $=o.length>0?`满足 【${o.join(" 且 ")}】`:"默认路由规则";return`${d},将满足 【${k}】 条件的请求,转发到 ${$} 的实例。`};function te(s,e){const i=[],f=s.split(" & ");return[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[]},{type:"attachments",list:[]},{type:"other",list:[]}].forEach(d=>i.push({...d})),f.forEach(d=>{if(d=d.trim(),d.startsWith("host")){c.value[e].selectedMatchConditionTypes.push("host");const n=d.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),$=i.find(v=>v.type==="host");$.condition=k,$.value=o}}else if(d.startsWith("application")){c.value[e].selectedMatchConditionTypes.push("application");const n=d.match(/^application(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),$=i.find(v=>v.type==="application");$.condition=k,$.value=o}}else if(d.startsWith("method")){c.value[e].selectedMatchConditionTypes.push("method");const n=d.match(/^method(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),$=i.find(v=>v.type==="method");$.condition=k,$.value=o}}else if(d.startsWith("arguments")){!c.value[e].selectedMatchConditionTypes.includes("arguments")&&c.value[e].selectedMatchConditionTypes.push("arguments");const n=d.match(/^arguments\[(\d+)\](!=|=)(.+)/);if(n){const k=parseInt(n[1],10),o=n[2],$=n[3].trim();i.find(R=>R.type==="arguments").list.push({index:k,condition:o,value:$})}}else if(d.startsWith("attachments")){!c.value[e].selectedMatchConditionTypes.includes("attachments")&&c.value[e].selectedMatchConditionTypes.push("attachments");const n=d.match(/^attachments\[(.+)\](!=|=)(.+)/);if(n){const k=n[1].trim(),o=n[2],$=n[3].trim();i.find(R=>R.type==="attachments").list.push({myKey:k,condition:o,value:$})}}else{const n=d.match(/^([^!=]+)(!?=)(.+)$/);if(n){!c.value[e].selectedMatchConditionTypes.includes("other")&&c.value[e].selectedMatchConditionTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}function le(s,e){const i=[],f=s==null?void 0:s.split(" & ");return[{type:"host",condition:"",value:""},{type:"other",list:[]}].forEach(d=>i.push({...d})),f!=null&&f.length&&f.forEach(d=>{if(d=d.trim(),d.startsWith("host")){c.value[e].selectedRouteDistributeMatchTypes.push("host");const n=d.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),$=i.find(v=>v.type==="host");$.condition=k,$.value=o}}else{const n=d.match(/^([^!=]+)(!?=)(.+)$/);if(n){!c.value[e].selectedRouteDistributeMatchTypes.includes("other")&&c.value[e].selectedRouteDistributeMatchTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}async function ae(){var e;let s=await Pe((e=Q.params)==null?void 0:e.ruleName);if((s==null?void 0:s.code)===200){console.log("res",s.data);const{conditions:i,configVersion:f,enabled:M,force:d,key:n,runtime:k,scope:o}=s==null?void 0:s.data;_.ruleGranularity=o,_.objectOfAction=n,_.enable=M,_.faultTolerantProtection=d,_.runtime=k,_.configVersion=f,f=="v3.0"&&i.forEach(($,v)=>{var y,q;const R=$.split("=>"),T=(y=R[0])==null?void 0:y.trim(),w=(q=R[1])==null?void 0:q.trim();c.value[v].requestMatch=te(T,v),c.value[v].routeDistribute=le(w,v)})}}function ne(){let s=[],e="",i="";return c.value.forEach((f,M)=>{f.selectedMatchConditionTypes.forEach((n,k)=>{f.requestMatch.forEach((o,$)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"arguments":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${n}[${v.index}]${v.condition}${v.value}`});break;case"attachments":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${n}[${v.myKey}]${v.condition}${v.value}`});break;case"other":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${v.myKey}${v.condition}${v.value}`});break;default:e.length>0&&(e+=" & "),e+=`${o.type}${o.condition}${o.value}`}})}),f.selectedRouteDistributeMatchTypes.forEach((n,k)=>{f.routeDistribute.forEach((o,$)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"other":o==null||o.list.forEach((v,R)=>{i.length>0&&(i+=" & "),i+=`${v.myKey}${v.condition}${v.value}`});break;default:i.length>0&&(i+=" & "),i+=`${o.type}${o.condition}${o.value}`}})});let d="";e.length>0&&i.length>0?d=`${e} => ${i}`:e.length>0&&i.length==0&&(d=`${e}`),s.push(d)}),s}const Te=async()=>{const{ruleName:s}=Q.params,{version:e,ruleGranularity:i,objectOfAction:f,enable:M,faultTolerantProtection:d,runtime:n}=_,k={configVersion:"v3.0",scope:i,key:f,enabled:M,force:d,runtime:n,conditions:ne()},o=await Ne(s,k);(o==null?void 0:o.code)===200&&(await ae(),Ve.success("修改成功"))},we=()=>{var e;const s=(e=Q.params)==null?void 0:e.ruleName;if(s&&_.ruleGranularity==="service"){const i=s==null?void 0:s.split(":");_.version=i[1],_.group=i[2].split(".")[0]}};return(s,e)=>{const i=O("a-button"),f=O("a-flex"),M=O("a-select"),d=O("a-form-item"),n=O("a-input"),k=O("a-switch"),o=O("a-col"),$=O("a-input-number"),v=O("a-row"),R=O("a-form"),T=O("a-card"),w=O("a-tooltip"),y=O("a-space"),q=O("a-tag"),m=O("a-table"),V=O("a-descriptions-item"),N=O("a-descriptions");return h(),F("div",We,[t(f,{style:{width:"100%"}},{default:l(()=>[t(o,{span:x.value?24-Z.value:24,class:"left"},{default:l(()=>[t(T,null,{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:l(()=>[t(v,null,{default:l(()=>[t(f,{justify:"end",style:{width:"100%"}},{default:l(()=>[t(i,{type:"text",style:{color:"#0a90d5"},onClick:e[0]||(e[0]=p=>x.value=!x.value)},{default:l(()=>[C(" 字段说明 "),x.value?(h(),b(E(me),{key:1})):(h(),b(E(Ae),{key:0}))]),_:1})]),_:1}),t(T,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:l(()=>[t(R,{layout:"horizontal"},{default:l(()=>[t(v,{style:{width:"100%"}},{default:l(()=>[t(o,{span:12},{default:l(()=>[t(d,{label:"规则粒度",required:""},{default:l(()=>[t(M,{disabled:"",value:_.ruleGranularity,"onUpdate:value":e[1]||(e[1]=p=>_.ruleGranularity=p),style:{width:"120px"},options:ue.value},null,8,["value","options"])]),_:1}),_.ruleGranularity==="service"?(h(),b(d,{key:0,label:"版本",required:""},{default:l(()=>[t(n,{value:_.version,"onUpdate:value":e[2]||(e[2]=p=>_.version=p),style:{width:"300px"},disabled:""},null,8,["value"])]),_:1})):j("",!0),t(d,{label:"容错保护"},{default:l(()=>[t(k,{checked:_.faultTolerantProtection,"onUpdate:checked":e[3]||(e[3]=p=>_.faultTolerantProtection=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),t(d,{label:"运行时生效"},{default:l(()=>[t(k,{checked:_.runtime,"onUpdate:checked":e[4]||(e[4]=p=>_.runtime=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),t(o,{span:12},{default:l(()=>[t(d,{label:"作用对象",required:""},{default:l(()=>[t(n,{disabled:"",value:_.objectOfAction,"onUpdate:value":e[5]||(e[5]=p=>_.objectOfAction=p),style:{width:"300px"}},null,8,["value"])]),_:1}),_.ruleGranularity==="service"?(h(),b(d,{key:0,label:"分组",required:""},{default:l(()=>[t(n,{value:_.group,"onUpdate:value":e[6]||(e[6]=p=>_.group=p),style:{width:"300px"},disabled:""},null,8,["value"])]),_:1})):j("",!0),t(d,{label:"立即启用"},{default:l(()=>[t(k,{checked:_.enable,"onUpdate:checked":e[7]||(e[7]=p=>_.enable=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),t(d,{label:"优先级"},{default:l(()=>[t($,{value:_.priority,"onUpdate:value":e[8]||(e[8]=p=>_.priority=p),min:"1"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),t(T,{title:"路由列表",style:{width:"100%"},class:"_detail"},{default:l(()=>[(h(!0),F(L,null,X(c.value,(p,g)=>(h(),b(T,null,{title:l(()=>[t(f,{justify:"space-between"},{default:l(()=>[t(y,{align:"center"},{default:l(()=>[G("div",null,"路由【"+S(g+1)+"】",1),t(w,null,{title:l(()=>[C(S(ee(g)),1)]),default:l(()=>[G("div",xe,S(ee(g)),1)]),_:2},1024)]),_:2},1024),t(E(A),{onClick:a=>de(g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)]),default:l(()=>[t(R,{layout:"horizontal"},{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"large"},{default:l(()=>[t(d,{label:"请求匹配"},{default:l(()=>[p.requestMatch.length>0?(h(),b(T,{key:0},{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[t(f,{align:"center",justify:"space-between"},{default:l(()=>[t(d,{label:"匹配条件类型"},{default:l(()=>[t(M,{value:p.selectedMatchConditionTypes,"onUpdate:value":a=>p.selectedMatchConditionTypes=a,options:oe.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024),t(E(A),{onClick:a=>re(g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),(h(!0),F(L,null,X(p.requestMatch,(a,U)=>(h(),F(L,null,[p.selectedMatchConditionTypes.includes("host")&&a.type==="host"?(h(),b(y,{key:0,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:B.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>H(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("application")&&a.type==="application"?(h(),b(y,{key:1,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:B.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源应用名"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>H(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("method")&&a.type==="method"?(h(),b(y,{key:2,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:B.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"方法值"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>H(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("arguments")&&a.type==="arguments"?(h(),b(y,{key:3,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>he(g,U)},{default:l(()=>[C(" 添加argument ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:ye,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="index"?(h(),b(n,{key:0,value:u.index,"onUpdate:value":D=>u.index=D,placeholder:"index"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:B.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>fe(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("attachments")&&a.type==="attachments"?(h(),b(y,{key:4,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>ke(g,U)},{default:l(()=>[C(" 添加attachment ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:_e,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:B.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>be(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("other")&&a.type==="other"?(h(),b(y,{key:5,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>ge(g,U)},{default:l(()=>[C(" 添加other ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:I,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":K=>u.myKey=K,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":K=>u.condition=K,options:B.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":K=>u.value=K,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:K=>Ce(g,U,u.index),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0)],64))),256))]),_:2},1024)]),_:2},1024)):(h(),b(i,{key:1,onClick:a=>pe(g),type:"dashed",size:"large"},{icon:l(()=>[t(E(A),{icon:"tdesign:add"})]),default:l(()=>[C(" 增加匹配条件 ")]),_:2},1032,["onClick"]))]),_:2},1024),t(d,{label:"路由分发",required:""},{default:l(()=>[t(T,null,{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[t(f,null,{default:l(()=>[t(d,{label:"匹配条件类型"},{default:l(()=>[t(M,{value:p.selectedRouteDistributeMatchTypes,"onUpdate:value":a=>p.selectedRouteDistributeMatchTypes=a,options:ie.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024)]),_:2},1024),(h(!0),F(L,null,X(p.routeDistribute,(a,U)=>(h(),F(L,{key:U},[p.selectedRouteDistributeMatchTypes.includes("host")&&a.type==="host"?(h(),b(y,{key:0,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:B.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>ve(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedRouteDistributeMatchTypes.includes("other")&&a.type==="other"?(h(),b(y,{key:1,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>Me(g,U)},{default:l(()=>[C(" 添加其他 ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:I,"data-source":p.routeDistribute[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:B.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>$e(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0)],64))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1}),t(i,{onClick:ce,type:"primary"},{default:l(()=>[C(" 增加路由")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),t(o,{span:x.value?Z.value:0,class:"right"},{default:l(()=>[x.value?(h(),b(T,{key:0,class:"sliderBox"},{default:l(()=>[G("div",null,[t(N,{title:"字段说明",column:1},{default:l(()=>[t(V,{label:"key"},{default:l(()=>[C(" 作用对象"),Fe,C(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),t(V,{label:"scope"},{default:l(()=>[C(" 规则粒度"),Je,C(" 可能的值:application, service ")]),_:1}),t(V,{label:"force"},{default:l(()=>[C(" 容错保护"),Le,C(" 可能的值:true, false"),Ye,C(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),t(V,{label:"runtime"},{default:l(()=>[C(" 运行时生效"),Qe,C(" 可能的值:true, false"),He,C(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):j("",!0)]),_:1},8,["span"])]),_:1}),t(T,{class:"footer"},{default:l(()=>[t(f,null,{default:l(()=>[t(i,{type:"primary",onClick:Te},{default:l(()=>[C("确认")]),_:1}),t(i,{style:{"margin-left":"30px"},onClick:e[9]||(e[9]=p=>console.log(c.value))},{default:l(()=>[C(" 取消")]),_:1})]),_:1})]),_:1})])}}}),lt=Be(Xe,[["__scopeId","data-v-03458e68"]]);export{lt as default};
+import{u as Ue}from"./index-HdnVQEsT.js";import{d as De,y as Re,z as Ke,D as qe,H as Oe,k as je,a as Ee,B as W,r as Se,F as se,c as L,b as t,w as l,e as O,o as h,f as C,J as b,n as E,aa as Ae,ab as me,T as j,L as J,M as X,j as B,t as S,I as A,m as Ve,p as ze,h as Be,_ as Ge}from"./index-3zDsduUv.js";import{g as Pe,u as Ne}from"./traffic-dHGZ6qwp.js";import"./request-3an337VF.js";const x=Y=>(ze("data-v-03458e68"),Y=Y(),Be(),Y),We={class:"__container_routingRule_detail"},Fe={style:{"max-width":"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Le=x(()=>B("br",null,null,-1)),xe=x(()=>B("br",null,null,-1)),Je=x(()=>B("br",null,null,-1)),Ye=x(()=>B("br",null,null,-1)),He=x(()=>B("br",null,null,-1)),Qe=x(()=>B("br",null,null,-1)),Xe=De({__name:"updateByFormView",setup(Y){const P=Re(Ke.PROVIDE_INJECT_KEY);qe(async()=>{if(Oe.isNil(P.conditionRule))await ae();else{const{enabled:s=!0,key:e,scope:i,runtime:f=!0,conditions:M}=P.conditionRule;console.log("[ TAB_STATE.conditionRule ] >",P.conditionRule),_.enable=s,_.objectOfAction=e,_.ruleGranularity=i,_.runtime=f,M&&M.length&&M.forEach((d,n)=>{var v,R;const k=d.split("=>"),o=(v=k[0])==null?void 0:v.trim(),T=(R=k[1])==null?void 0:R.trim();c.value[n].requestMatch=te(o,n),c.value[n].routeDistribute=le(T,n)})}we()}),je();const H=Ee(),F=W(!1),Z=W(8);Ue().toClipboard;const _=Se({version:"",ruleGranularity:"",objectOfAction:"",enable:!0,faultTolerantProtection:!1,runtime:!0,priority:null,group:""});se(_,s=>{const{ruleGranularity:e,enable:i=!0,runtime:f=!0,objectOfAction:M}=s;P.conditionRule={...P.conditionRule,enabled:i,key:M,runtime:f,scope:e}});const oe=W([{label:"host",value:"host"},{label:"application",value:"application"},{label:"method",value:"method"},{label:"arguments",value:"arguments"},{label:"attachments",value:"attachments"},{label:"其他",value:"other"}]),ie=W([{label:"host",value:"host"},{label:"其他",value:"other"}]),G=W([{label:"=",value:"="},{label:"!=",value:"!="}]),ue=W([{label:"应用",value:"application"},{label:"服务",value:"service"}]),c=W([{selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]}]);se(c,s=>{P.conditionRule={...P.conditionRule,conditions:ne()}},{deep:!0});const ce=()=>{c.value.push({selectedMatchConditionTypes:[],requestMatch:[],selectedRouteDistributeMatchTypes:[],routeDistribute:[{type:"host",condition:"=",value:"127.0.0.1"},{type:"other",list:[{myKey:"key",condition:"=",value:"value"}]}]})},de=s=>{c.value.splice(s,1)},re=s=>{c.value[s].requestMatch=[],c.value[s].selectedMatchConditionTypes=[]},pe=s=>{c.value[s].requestMatch=[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[{index:0,condition:"",value:""}]},{type:"attachments",list:[{myKey:"key",condition:"",value:""}]},{type:"other",list:[{myKey:"key",condition:"",value:""}]}]},Q=(s,e)=>{c.value[e].selectedMatchConditionTypes=c.value[e].selectedMatchConditionTypes.filter(i=>i!==s)},ve=(s,e)=>{c.value[e].selectedRouteDistributeMatchTypes=c.value[e].selectedRouteDistributeMatchTypes.filter(i=>i!==s)},ye=[{dataIndex:"index",key:"index",title:"参数索引"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],he=(s,e)=>{c.value[s].requestMatch[e].list.push({index:0,condition:"=",value:""})},fe=(s,e,i)=>{c.value[s].requestMatch[e].list.length===1&&(c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="arguments")),c.value[s].requestMatch[e].list.splice(i,1)},_e=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ke=(s,e)=>{c.value[s].requestMatch[e].list.push({key:"key",condition:"=",value:""})},be=(s,e,i)=>{c.value[s].requestMatch[e].list.length===1&&(c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="attachments")),c.value[s].requestMatch[e].list.splice(i,1)},I=[{dataIndex:"myKey",key:"myKey",title:"键"},{dataIndex:"condition",key:"condition",title:"关系"},{dataIndex:"value",key:"value",title:"值"},{dataIndex:"operation",key:"operation",title:"操作"}],ge=(s,e)=>{c.value[s].requestMatch[e].list.push({myKey:"",condition:"=",value:""})},Ce=(s,e,i)=>{if(c.value[s].requestMatch[e].list.length===1){c.value[s].selectedMatchConditionTypes=c.value[s].selectedMatchConditionTypes.filter(f=>f!=="other");return}c.value[s].requestMatch[e].list.splice(i,1)},Me=(s,e)=>{c.value[s].routeDistribute[e].list.push({myKey:"",condition:"=",value:""})},Te=(s,e,i)=>{if(c.value[s].routeDistribute[e].list.length===1){c.value[s].selectedRouteDistributeMatchTypes=c.value[s].selectedRouteDistributeMatchTypes.filter(f=>f!=="other");return}c.value[s].routeDistribute[e].list.splice(i,1)},ee=s=>{var v,R;const e=c.value[s],{ruleGranularity:i,objectOfAction:f}=_;let d=`对于${i==="service"?"服务":"应用"}【${f||"未指定"}】`,n=[];(v=e.selectedMatchConditionTypes)==null||v.forEach($=>{var V,N,p,g;const w=(V=e.requestMatch)==null?void 0:V.find(a=>a.type===$);if(!w)return;let y="";const q=w.condition==="="?"等于":w.condition==="!="?"不等于":w.condition||"",m=w.value||"未指定";switch($){case"host":y=`请求来源主机 ${q} ${m}`;break;case"application":y=`请求来源应用 ${q} ${m}`;break;case"method":y=`请求方法 ${q} ${m}`;break;case"arguments":const a=(N=w.list)==null?void 0:N.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`参数[${u.index}] ${z} ${K}`}).filter(Boolean);(a==null?void 0:a.length)>0&&(y=a.join(" 且 "));break;case"attachments":const U=(p=w.list)==null?void 0:p.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`附件[${u.myKey||"未指定"}] ${z} ${K}`}).filter(Boolean);(U==null?void 0:U.length)>0&&(y=U.join(" 且 "));break;case"other":const r=(g=w.list)==null?void 0:g.map(u=>{const z=u.condition==="="?"等于":u.condition==="!="?"不等于":u.condition||"",K=u.value!==void 0&&u.value!==""?u.value:"未指定";return`自定义匹配[${u.myKey||"未指定"}] ${z} ${K}`}).filter(Boolean);(r==null?void 0:r.length)>0&&(y=r.join(" 且 "));break}y&&(($==="host"||$==="application"||$==="method")&&!w.value?n.push(`${$==="host"?"请求来源主机":$==="application"?"请求来源应用":"请求方法"} 未填写`):n.push(y))});const k=n.length>0?n.join(" 且 "):"任意请求";let o=[];(R=e.selectedRouteDistributeMatchTypes)==null||R.forEach($=>{var V,N;const w=(V=e.routeDistribute)==null?void 0:V.find(p=>p.type===$);if(!w)return;let y="";const q=w.condition==="="?"等于":w.condition==="!="?"不等于":w.condition||"",m=w.value||"未指定";switch($){case"host":y=`目标主机 ${q} ${m}`;break;case"other":const p=(N=w.list)==null?void 0:N.map(g=>{const a=g.condition==="="?"等于":g.condition==="!="?"不等于":g.condition||"",U=g.value!==void 0&&g.value!==""?g.value:"未指定";return`目标标签[${g.myKey||"未指定"}] ${a} ${U}`}).filter(Boolean);(p==null?void 0:p.length)>0&&(y=p.join(" 且 "));break}y&&($==="host"&&!w.value?o.push("目标主机 未填写"):o.push(y))});const T=o.length>0?`满足 【${o.join(" 且 ")}】`:"默认路由规则";return`${d},将满足 【${k}】 条件的请求,转发到 ${T} 的实例。`};function te(s,e){const i=[],f=s.split(" & ");return[{type:"host",condition:"",value:""},{type:"application",condition:"",value:""},{type:"method",condition:"",value:""},{type:"arguments",list:[]},{type:"attachments",list:[]},{type:"other",list:[]}].forEach(d=>i.push({...d})),f.forEach(d=>{if(d=d.trim(),d.startsWith("host")){c.value[e].selectedMatchConditionTypes.push("host");const n=d.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),T=i.find(v=>v.type==="host");T.condition=k,T.value=o}}else if(d.startsWith("application")){c.value[e].selectedMatchConditionTypes.push("application");const n=d.match(/^application(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),T=i.find(v=>v.type==="application");T.condition=k,T.value=o}}else if(d.startsWith("method")){c.value[e].selectedMatchConditionTypes.push("method");const n=d.match(/^method(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),T=i.find(v=>v.type==="method");T.condition=k,T.value=o}}else if(d.startsWith("arguments")){!c.value[e].selectedMatchConditionTypes.includes("arguments")&&c.value[e].selectedMatchConditionTypes.push("arguments");const n=d.match(/^arguments\[(\d+)\](!=|=)(.+)/);if(n){const k=parseInt(n[1],10),o=n[2],T=n[3].trim();i.find(R=>R.type==="arguments").list.push({index:k,condition:o,value:T})}}else if(d.startsWith("attachments")){!c.value[e].selectedMatchConditionTypes.includes("attachments")&&c.value[e].selectedMatchConditionTypes.push("attachments");const n=d.match(/^attachments\[(.+)\](!=|=)(.+)/);if(n){const k=n[1].trim(),o=n[2],T=n[3].trim();i.find(R=>R.type==="attachments").list.push({myKey:k,condition:o,value:T})}}else{const n=d.match(/^([^!=]+)(!?=)(.+)$/);if(n){!c.value[e].selectedMatchConditionTypes.includes("other")&&c.value[e].selectedMatchConditionTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}function le(s,e){const i=[],f=s==null?void 0:s.split(" & ");return[{type:"host",condition:"",value:""},{type:"other",list:[]}].forEach(d=>i.push({...d})),f!=null&&f.length&&f.forEach(d=>{if(d=d.trim(),d.startsWith("host")){c.value[e].selectedRouteDistributeMatchTypes.push("host");const n=d.match(/^host(!=|=)(.+)/);if(n){const k=n[1],o=n[2].trim(),T=i.find(v=>v.type==="host");T.condition=k,T.value=o}}else{const n=d.match(/^([^!=]+)(!?=)(.+)$/);if(n){!c.value[e].selectedRouteDistributeMatchTypes.includes("other")&&c.value[e].selectedRouteDistributeMatchTypes.push("other");const k=i.find(o=>o.type==="other");k&&k.list.push({myKey:n[1].trim(),condition:n[2],value:n[3].trim()})}}}),i}async function ae(){var e;let s=await Pe((e=H.params)==null?void 0:e.ruleName);if((s==null?void 0:s.code)===200){console.log("res",s.data);const{conditions:i,configVersion:f,enabled:M,force:d,key:n,runtime:k,scope:o}=s==null?void 0:s.data;_.ruleGranularity=o,_.objectOfAction=n,_.enable=M,_.faultTolerantProtection=d,_.runtime=k,_.configVersion=f,f=="v3.0"&&i.forEach((T,v)=>{var y,q;const R=T.split("=>"),$=(y=R[0])==null?void 0:y.trim(),w=(q=R[1])==null?void 0:q.trim();c.value[v].requestMatch=te($,v),c.value[v].routeDistribute=le(w,v)})}}function ne(){let s=[],e="",i="";return c.value.forEach((f,M)=>{f.selectedMatchConditionTypes.forEach((n,k)=>{f.requestMatch.forEach((o,T)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"arguments":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${n}[${v.index}]${v.condition}${v.value}`});break;case"attachments":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${n}[${v.myKey}]${v.condition}${v.value}`});break;case"other":o.list.forEach((v,R)=>{e.length>0&&(e+=" & "),e+=`${v.myKey}${v.condition}${v.value}`});break;default:e.length>0&&(e+=" & "),e+=`${o.type}${o.condition}${o.value}`}})}),f.selectedRouteDistributeMatchTypes.forEach((n,k)=>{f.routeDistribute.forEach((o,T)=>{if(n==(o==null?void 0:o.type))switch(o==null?void 0:o.type){case"other":o==null||o.list.forEach((v,R)=>{i.length>0&&(i+=" & "),i+=`${v.myKey}${v.condition}${v.value}`});break;default:i.length>0&&(i+=" & "),i+=`${o.type}${o.condition}${o.value}`}})});let d="";e.length>0&&i.length>0?d=`${e} => ${i}`:e.length>0&&i.length==0&&(d=`${e}`),s.push(d)}),s}const $e=async()=>{const{ruleName:s}=H.params,{version:e,ruleGranularity:i,objectOfAction:f,enable:M,faultTolerantProtection:d,runtime:n}=_,k={configVersion:"v3.0",scope:i,key:f,enabled:M,force:d,runtime:n,conditions:ne()},o=await Ne(s,k);(o==null?void 0:o.code)===200&&(await ae(),Ve.success("修改成功"))},we=()=>{var e;const s=(e=H.params)==null?void 0:e.ruleName;if(s&&_.ruleGranularity==="service"){const i=s==null?void 0:s.split(":");_.version=i[1],_.group=i[2].split(".")[0]}};return(s,e)=>{const i=O("a-button"),f=O("a-flex"),M=O("a-select"),d=O("a-form-item"),n=O("a-input"),k=O("a-switch"),o=O("a-col"),T=O("a-input-number"),v=O("a-row"),R=O("a-form"),$=O("a-card"),w=O("a-tooltip"),y=O("a-space"),q=O("a-tag"),m=O("a-table"),V=O("a-descriptions-item"),N=O("a-descriptions");return h(),L("div",We,[t(f,{style:{width:"100%"}},{default:l(()=>[t(o,{span:F.value?24-Z.value:24,class:"left"},{default:l(()=>[t($,null,{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"middle"},{default:l(()=>[t(v,null,{default:l(()=>[t(f,{justify:"end",style:{width:"100%"}},{default:l(()=>[t(i,{type:"text",style:{color:"#0a90d5"},onClick:e[0]||(e[0]=p=>F.value=!F.value)},{default:l(()=>[C(" 字段说明 "),F.value?(h(),b(E(me),{key:1})):(h(),b(E(Ae),{key:0}))]),_:1})]),_:1}),t($,{title:"基础信息",style:{width:"100%"},class:"_detail"},{default:l(()=>[t(R,{layout:"horizontal"},{default:l(()=>[t(v,{style:{width:"100%"}},{default:l(()=>[t(o,{span:12},{default:l(()=>[t(d,{label:"规则粒度",required:""},{default:l(()=>[t(M,{disabled:"",value:_.ruleGranularity,"onUpdate:value":e[1]||(e[1]=p=>_.ruleGranularity=p),style:{width:"120px"},options:ue.value},null,8,["value","options"])]),_:1}),_.ruleGranularity==="service"?(h(),b(d,{key:0,label:"版本",required:""},{default:l(()=>[t(n,{value:_.version,"onUpdate:value":e[2]||(e[2]=p=>_.version=p),style:{width:"300px"},disabled:""},null,8,["value"])]),_:1})):j("",!0),t(d,{label:"容错保护"},{default:l(()=>[t(k,{checked:_.faultTolerantProtection,"onUpdate:checked":e[3]||(e[3]=p=>_.faultTolerantProtection=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),t(d,{label:"运行时生效"},{default:l(()=>[t(k,{checked:_.runtime,"onUpdate:checked":e[4]||(e[4]=p=>_.runtime=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1})]),_:1}),t(o,{span:12},{default:l(()=>[t(d,{label:"作用对象",required:""},{default:l(()=>[t(n,{disabled:"",value:_.objectOfAction,"onUpdate:value":e[5]||(e[5]=p=>_.objectOfAction=p),style:{width:"300px"}},null,8,["value"])]),_:1}),_.ruleGranularity==="service"?(h(),b(d,{key:0,label:"分组",required:""},{default:l(()=>[t(n,{value:_.group,"onUpdate:value":e[6]||(e[6]=p=>_.group=p),style:{width:"300px"},disabled:""},null,8,["value"])]),_:1})):j("",!0),t(d,{label:"立即启用"},{default:l(()=>[t(k,{checked:_.enable,"onUpdate:checked":e[7]||(e[7]=p=>_.enable=p),"checked-children":"开","un-checked-children":"关"},null,8,["checked"])]),_:1}),t(d,{label:"优先级"},{default:l(()=>[t(T,{value:_.priority,"onUpdate:value":e[8]||(e[8]=p=>_.priority=p),min:"1"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),t($,{title:"路由列表",style:{width:"100%"},class:"_detail"},{default:l(()=>[(h(!0),L(J,null,X(c.value,(p,g)=>(h(),b($,null,{title:l(()=>[t(f,{justify:"space-between"},{default:l(()=>[t(y,{align:"center"},{default:l(()=>[B("div",null,"路由【"+S(g+1)+"】",1),t(w,null,{title:l(()=>[C(S(ee(g)),1)]),default:l(()=>[B("div",Fe,S(ee(g)),1)]),_:2},1024)]),_:2},1024),t(E(A),{onClick:a=>de(g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)]),default:l(()=>[t(R,{layout:"horizontal"},{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"large"},{default:l(()=>[t(d,{label:"请求匹配"},{default:l(()=>[p.requestMatch.length>0?(h(),b($,{key:0},{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[t(f,{align:"center",justify:"space-between"},{default:l(()=>[t(d,{label:"匹配条件类型"},{default:l(()=>[t(M,{value:p.selectedMatchConditionTypes,"onUpdate:value":a=>p.selectedMatchConditionTypes=a,options:oe.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024),t(E(A),{onClick:a=>re(g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024),(h(!0),L(J,null,X(p.requestMatch,(a,U)=>(h(),L(J,null,[p.selectedMatchConditionTypes.includes("host")&&a.type==="host"?(h(),b(y,{key:0,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:G.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>Q(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("application")&&a.type==="application"?(h(),b(y,{key:1,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:G.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源应用名"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>Q(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("method")&&a.type==="method"?(h(),b(y,{key:2,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:G.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"方法值"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>Q(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("arguments")&&a.type==="arguments"?(h(),b(y,{key:3,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>he(g,U)},{default:l(()=>[C(" 添加argument ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:ye,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="index"?(h(),b(n,{key:0,value:u.index,"onUpdate:value":D=>u.index=D,placeholder:"index"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:G.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>fe(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("attachments")&&a.type==="attachments"?(h(),b(y,{key:4,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>ke(g,U)},{default:l(()=>[C(" 添加attachment ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:_e,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:G.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>be(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0),p.selectedMatchConditionTypes.includes("other")&&a.type==="other"?(h(),b(y,{key:5,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>ge(g,U)},{default:l(()=>[C(" 添加other ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:I,"data-source":p.requestMatch[U].list},{bodyCell:l(({column:r,record:u,text:z})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":K=>u.myKey=K,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":K=>u.condition=K,options:G.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":K=>u.value=K,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:K=>Ce(g,U,u.index),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0)],64))),256))]),_:2},1024)]),_:2},1024)):(h(),b(i,{key:1,onClick:a=>pe(g),type:"dashed",size:"large"},{icon:l(()=>[t(E(A),{icon:"tdesign:add"})]),default:l(()=>[C(" 增加匹配条件 ")]),_:2},1032,["onClick"]))]),_:2},1024),t(d,{label:"路由分发",required:""},{default:l(()=>[t($,null,{default:l(()=>[t(y,{style:{width:"100%"},direction:"vertical",size:"small"},{default:l(()=>[t(f,null,{default:l(()=>[t(d,{label:"匹配条件类型"},{default:l(()=>[t(M,{value:p.selectedRouteDistributeMatchTypes,"onUpdate:value":a=>p.selectedRouteDistributeMatchTypes=a,options:ie.value,mode:"multiple",style:{"min-width":"200px"}},null,8,["value","onUpdate:value","options"])]),_:2},1024)]),_:2},1024),(h(!0),L(J,null,X(p.routeDistribute,(a,U)=>(h(),L(J,{key:U},[p.selectedRouteDistributeMatchTypes.includes("host")&&a.type==="host"?(h(),b(y,{key:0,size:"large",align:"center"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S(a==null?void 0:a.type),1)]),_:2},1024),t(M,{value:a.condition,"onUpdate:value":r=>a.condition=r,style:{"min-width":"120px"},options:G.value},null,8,["value","onUpdate:value","options"]),t(n,{value:a.value,"onUpdate:value":r=>a.value=r,placeholder:"请求来源ip"},null,8,["value","onUpdate:value"]),t(E(A),{onClick:r=>ve(a==null?void 0:a.type,g),class:"action-icon",icon:"tdesign:delete"},null,8,["onClick"])]),_:2},1024)):j("",!0),p.selectedRouteDistributeMatchTypes.includes("other")&&a.type==="other"?(h(),b(y,{key:1,style:{width:"100%"},size:"large",align:"start"},{default:l(()=>[t(q,{class:"match-condition-type-label",bordered:!1,color:"processing"},{default:l(()=>[C(S((a==null?void 0:a.type)=="other"?"其他":a==null?void 0:a.type),1)]),_:2},1024),t(y,{direction:"vertical"},{default:l(()=>[t(i,{type:"primary",onClick:r=>Me(g,U)},{default:l(()=>[C(" 添加其他 ")]),_:2},1032,["onClick"]),t(m,{pagination:!1,columns:I,"data-source":p.routeDistribute[U].list},{bodyCell:l(({column:r,record:u,text:z,index:K})=>[r.key==="myKey"?(h(),b(n,{key:0,value:u.myKey,"onUpdate:value":D=>u.myKey=D,placeholder:"key"},null,8,["value","onUpdate:value"])):r.key==="condition"?(h(),b(M,{key:1,value:u.condition,"onUpdate:value":D=>u.condition=D,options:G.value},null,8,["value","onUpdate:value","options"])):r.key==="value"?(h(),b(n,{key:2,value:u.value,"onUpdate:value":D=>u.value=D,placeholder:"value"},null,8,["value","onUpdate:value"])):r.key==="operation"?(h(),b(y,{key:3,align:"center"},{default:l(()=>[t(E(A),{onClick:D=>Te(g,U,K),icon:"tdesign:remove",class:"action-icon"},null,8,["onClick"])]),_:2},1024)):j("",!0)]),_:2},1032,["data-source"])]),_:2},1024)]),_:2},1024)):j("",!0)],64))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1}),t(i,{onClick:ce,type:"primary"},{default:l(()=>[C(" 增加路由")]),_:1})]),_:1})]),_:1})]),_:1},8,["span"]),t(o,{span:F.value?Z.value:0,class:"right"},{default:l(()=>[F.value?(h(),b($,{key:0,class:"sliderBox"},{default:l(()=>[B("div",null,[t(N,{title:"字段说明",column:1},{default:l(()=>[t(V,{label:"key"},{default:l(()=>[C(" 作用对象"),Le,C(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),t(V,{label:"scope"},{default:l(()=>[C(" 规则粒度"),xe,C(" 可能的值:application, service ")]),_:1}),t(V,{label:"force"},{default:l(()=>[C(" 容错保护"),Je,C(" 可能的值:true, false"),Ye,C(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),t(V,{label:"runtime"},{default:l(()=>[C(" 运行时生效"),He,C(" 可能的值:true, false"),Qe,C(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):j("",!0)]),_:1},8,["span"])]),_:1}),t($,{class:"footer"},{default:l(()=>[t(f,null,{default:l(()=>[t(i,{type:"primary",onClick:$e},{default:l(()=>[C("确认")]),_:1}),t(i,{style:{"margin-left":"30px"},onClick:e[9]||(e[9]=p=>console.log(c.value))},{default:l(()=>[C(" 取消")]),_:1})]),_:1})]),_:1})])}}}),lt=Ge(Xe,[["__scopeId","data-v-03458e68"]]);export{lt as default};
diff --git a/app/dubbo-ui/dist/admin/assets/updateByYAMLView--nyJvxZJ.js b/app/dubbo-ui/dist/admin/assets/updateByYAMLView--nyJvxZJ.js
new file mode 100644
index 0000000..58a68e2
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/updateByYAMLView--nyJvxZJ.js
@@ -0,0 +1,26 @@
+import{y as f,_ as A}from"./js-yaml-eElisXzH.js";import{g as T,u as S}from"./traffic-dHGZ6qwp.js";import{d as O,y as P,z as Y,a as L,B as g,D as M,H as J,J as h,w as e,e as u,o as v,b as a,f as s,n as I,aa as j,ab as z,j as n,T as K,m as $,p as H,h as U,_ as q}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const d=_=>(H("data-v-f0b8727f"),_=_(),U(),_),F={class:"editorBox"},G={class:"bottom-action-footer"},Q=d(()=>n("br",null,null,-1)),W=d(()=>n("br",null,null,-1)),X=d(()=>n("br",null,null,-1)),Z=d(()=>n("br",null,null,-1)),ee=d(()=>n("br",null,null,-1)),te=d(()=>n("br",null,null,-1)),ae=O({__name:"updateByYAMLView",setup(_){const b=P(Y.PROVIDE_INJECT_KEY),y=L(),B=g(!1),i=g(!1),V=g(8),r=g(`conditions:
+ - from:
+ match: >-
+ method=string & arguments[method]=string &
+ arguments[arguments[method]]=string &
+ arguments[arguments[arguments[method]]]=string &
+ arguments[arguments[arguments[arguments[string]]]]!=string
+ to:
+ - match: string!=string
+ weight: 0
+ - from:
+ match: >-
+ method=string & arguments[method]=string &
+ arguments[arguments[method]]=string &
+ arguments[arguments[arguments[string]]]!=string
+ to:
+ - match: string!=lggbond
+ weight: 0
+ - match: ss!=ss
+ weight: 0
+configVersion: v3.1
+enabled: true
+force: false
+key: org.apache.dubbo.samples.CommentService
+runtime: true
+scope: service`);M(()=>{if(J.isNil(b.conditionRule))r.value="",w();else{const t=b.conditionRule;r.value=f.dump(t)}});const D=t=>{b.conditionRule=f.load(r.value)};async function w(){var l,o,m;let t=await T((l=y.params)==null?void 0:l.ruleName);if((t==null?void 0:t.code)===200){const c=(o=y.params)==null?void 0:o.ruleName;if(c&&t.data.scope==="service"){const R=c==null?void 0:c.split(":");t.data.group=(m=R[2])==null?void 0:m.split(".")[0]}r.value=f.dump(t==null?void 0:t.data)}}const E=async()=>{var o;const t=f.load(r.value);t.configVersion="v3.0",(await S((o=y.params)==null?void 0:o.ruleName,t)).code===200&&(await w(),$.success("修改成功"))};return(t,l)=>{const o=u("a-button"),m=u("a-flex"),c=u("a-space"),R=u("a-affix"),x=u("a-col"),p=u("a-descriptions-item"),N=u("a-descriptions"),C=u("a-card");return v(),h(C,null,{default:e(()=>[a(m,{style:{width:"100%"}},{default:e(()=>[a(x,{span:i.value?24-V.value:24,class:"left"},{default:e(()=>[a(m,{vertical:"",align:"end"},{default:e(()=>[a(o,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=k=>i.value=!i.value)},{default:e(()=>[s(" 字段说明 "),i.value?(v(),h(I(z),{key:1})):(v(),h(I(j),{key:0}))]),_:1}),n("div",F,[a(A,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=k=>r.value=k),theme:"vs-dark",height:500,language:"yaml",readonly:B.value,onChange:D},null,8,["modelValue","readonly"])])]),_:1}),a(R,{"offset-bottom":10},{default:e(()=>[n("div",G,[a(c,{align:"center",size:"large"},{default:e(()=>[a(o,{type:"primary",onClick:E},{default:e(()=>[s(" 确认")]),_:1}),a(o,null,{default:e(()=>[s(" 取消")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(x,{span:i.value?V.value:0,class:"right"},{default:e(()=>[i.value?(v(),h(C,{key:0,class:"sliderBox"},{default:e(()=>[n("div",null,[a(N,{title:"字段说明",column:1},{default:e(()=>[a(p,{label:"key"},{default:e(()=>[s(" 作用对象"),Q,s(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(p,{label:"scope"},{default:e(()=>[s(" 规则粒度"),W,s(" 可能的值:application, service ")]),_:1}),a(p,{label:"force"},{default:e(()=>[s(" 容错保护"),X,s(" 可能的值:true, false"),Z,s(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(p,{label:"runtime"},{default:e(()=>[s(" 运行时生效"),ee,s(" 可能的值:true, false"),te,s(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):K("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ue=q(ae,[["__scopeId","data-v-f0b8727f"]]);export{ue as default};
diff --git a/app/dubbo-ui/dist/admin/assets/updateByYAMLView-C-qbsfZ8.js b/app/dubbo-ui/dist/admin/assets/updateByYAMLView-C-qbsfZ8.js
deleted file mode 100644
index 6fd2545..0000000
--- a/app/dubbo-ui/dist/admin/assets/updateByYAMLView-C-qbsfZ8.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import{y as f,_ as A}from"./js-yaml-8Gkz3BRW.js";import{g as S,u as T}from"./traffic-C2a-KjHH.js";import{d as O,x as P,y as Y,a as L,z as g,W as M,F as j,G as h,w as e,e as u,o as v,b as a,f as s,n as I,a9 as z,aa as J,j as n,Q as K,m as $,p as F,h as G,_ as Q}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const d=_=>(F("data-v-f0b8727f"),_=_(),G(),_),U={class:"editorBox"},W={class:"bottom-action-footer"},q=d(()=>n("br",null,null,-1)),H=d(()=>n("br",null,null,-1)),X=d(()=>n("br",null,null,-1)),Z=d(()=>n("br",null,null,-1)),ee=d(()=>n("br",null,null,-1)),te=d(()=>n("br",null,null,-1)),ae=O({__name:"updateByYAMLView",setup(_){const b=P(Y.PROVIDE_INJECT_KEY),y=L(),E=g(!1),i=g(!1),x=g(8),r=g(`conditions:
- - from:
- match: >-
- method=string & arguments[method]=string &
- arguments[arguments[method]]=string &
- arguments[arguments[arguments[method]]]=string &
- arguments[arguments[arguments[arguments[string]]]]!=string
- to:
- - match: string!=string
- weight: 0
- - from:
- match: >-
- method=string & arguments[method]=string &
- arguments[arguments[method]]=string &
- arguments[arguments[arguments[string]]]!=string
- to:
- - match: string!=lggbond
- weight: 0
- - match: ss!=ss
- weight: 0
-configVersion: v3.1
-enabled: true
-force: false
-key: org.apache.dubbo.samples.CommentService
-runtime: true
-scope: service`);M(()=>{if(j.isNil(b.conditionRule))r.value="",V();else{const t=b.conditionRule;r.value=f.dump(t)}});const N=t=>{b.conditionRule=f.load(r.value)};async function V(){var l,o,m;let t=await S((l=y.params)==null?void 0:l.ruleName);if((t==null?void 0:t.code)===200){const c=(o=y.params)==null?void 0:o.ruleName;if(c&&t.data.scope==="service"){const R=c==null?void 0:c.split(":");t.data.group=(m=R[2])==null?void 0:m.split(".")[0]}r.value=f.dump(t==null?void 0:t.data)}}const B=async()=>{var o;const t=f.load(r.value);t.configVersion="v3.0",(await T((o=y.params)==null?void 0:o.ruleName,t)).code===200&&(await V(),$.success("修改成功"))};return(t,l)=>{const o=u("a-button"),m=u("a-flex"),c=u("a-space"),R=u("a-affix"),w=u("a-col"),p=u("a-descriptions-item"),D=u("a-descriptions"),C=u("a-card");return v(),h(C,null,{default:e(()=>[a(m,{style:{width:"100%"}},{default:e(()=>[a(w,{span:i.value?24-x.value:24,class:"left"},{default:e(()=>[a(m,{vertical:"",align:"end"},{default:e(()=>[a(o,{type:"text",style:{color:"#0a90d5"},onClick:l[0]||(l[0]=k=>i.value=!i.value)},{default:e(()=>[s(" 字段说明 "),i.value?(v(),h(I(J),{key:1})):(v(),h(I(z),{key:0}))]),_:1}),n("div",U,[a(A,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=k=>r.value=k),theme:"vs-dark",height:500,language:"yaml",readonly:E.value,onChange:N},null,8,["modelValue","readonly"])])]),_:1}),a(R,{"offset-bottom":10},{default:e(()=>[n("div",W,[a(c,{align:"center",size:"large"},{default:e(()=>[a(o,{type:"primary",onClick:B},{default:e(()=>[s(" 确认")]),_:1}),a(o,null,{default:e(()=>[s(" 取消")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(w,{span:i.value?x.value:0,class:"right"},{default:e(()=>[i.value?(v(),h(C,{key:0,class:"sliderBox"},{default:e(()=>[n("div",null,[a(D,{title:"字段说明",column:1},{default:e(()=>[a(p,{label:"key"},{default:e(()=>[s(" 作用对象"),q,s(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(p,{label:"scope"},{default:e(()=>[s(" 规则粒度"),H,s(" 可能的值:application, service ")]),_:1}),a(p,{label:"force"},{default:e(()=>[s(" 容错保护"),X,s(" 可能的值:true, false"),Z,s(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(p,{label:"runtime"},{default:e(()=>[s(" 运行时生效"),ee,s(" 可能的值:true, false"),te,s(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):K("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ue=Q(ae,[["__scopeId","data-v-f0b8727f"]]);export{ue as default};
diff --git a/app/dubbo-ui/dist/admin/assets/updateByYAMLView-CBQATUCs.js b/app/dubbo-ui/dist/admin/assets/updateByYAMLView-CBQATUCs.js
deleted file mode 100644
index eba803c..0000000
--- a/app/dubbo-ui/dist/admin/assets/updateByYAMLView-CBQATUCs.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import{y as p,_ as D}from"./js-yaml-8Gkz3BRW.js";import{e as A,h as O}from"./traffic-C2a-KjHH.js";import{d as P,x as S,y as Y,a as L,u as M,z as f,W as j,F as z,G as m,w as e,e as n,o as v,b as a,f as t,n as w,a9 as J,aa as K,j as o,Q as $,m as F,p as G,h as Q,_ as U}from"./index-hmLAZQYT.js";import"./request-8jI_GZey.js";const _=i=>(G("data-v-50bea4cb"),i=i(),Q(),i),W={class:"editorBox"},q={class:"bottom-action-footer"},H=_(()=>o("br",null,null,-1)),X=_(()=>o("br",null,null,-1)),Z=_(()=>o("br",null,null,-1)),ee=_(()=>o("br",null,null,-1)),ae=_(()=>o("br",null,null,-1)),te=_(()=>o("br",null,null,-1)),le=P({__name:"updateByYAMLView",setup(i){const b=S(Y.PROVIDE_INJECT_KEY),g=L();M();const C=f(!1),c=f(!1),y=f(8);j(()=>{if(z.isNil(b.tagRule))u.value="",h();else{const l=b.tagRule;u.value=p.dump(l)}});const I=l=>{b.tagRule=p.load(u.value)},u=f(`configVersion: v3.0
-force: true
-enabled: true
-key: shop-detail
-tags:
- - name: gray
- match:
- - key: env
- value:
- exact: gray`);async function h(){var s;let l=await A((s=g.params)==null?void 0:s.ruleName);(l==null?void 0:l.code)===200&&(u.value=p.dump(l==null?void 0:l.data))}const T=async()=>{var d;const l=p.load(u.value);(await O((d=g.params)==null?void 0:d.ruleName,l)).code===200&&(await h(),F.success("修改成功"))};return(l,s)=>{const d=n("a-button"),x=n("a-flex"),E=n("a-space"),N=n("a-affix"),R=n("a-col"),r=n("a-descriptions-item"),B=n("a-descriptions"),V=n("a-card");return v(),m(V,null,{default:e(()=>[a(x,{style:{width:"100%"}},{default:e(()=>[a(R,{span:c.value?24-y.value:24,class:"left"},{default:e(()=>[a(x,{vertical:"",align:"end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"},onClick:s[0]||(s[0]=k=>c.value=!c.value)},{default:e(()=>[t(" 字段说明 "),c.value?(v(),m(w(K),{key:1})):(v(),m(w(J),{key:0}))]),_:1}),o("div",W,[a(D,{onChange:I,modelValue:u.value,"onUpdate:modelValue":s[1]||(s[1]=k=>u.value=k),theme:"vs-dark",height:500,language:"yaml",readonly:C.value},null,8,["modelValue","readonly"])])]),_:1}),a(N,{"offset-bottom":10},{default:e(()=>[o("div",q,[a(E,{align:"center",size:"large"},{default:e(()=>[a(d,{type:"primary",onClick:T},{default:e(()=>[t(" 确认 ")]),_:1}),a(d,null,{default:e(()=>[t(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(R,{span:c.value?y.value:0,class:"right"},{default:e(()=>[c.value?(v(),m(V,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[a(B,{title:"字段说明",column:1},{default:e(()=>[a(r,{label:"key"},{default:e(()=>[t(" 作用对象"),H,t(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(r,{label:"scope"},{default:e(()=>[t(" 规则粒度"),X,t(" 可能的值:application, service ")]),_:1}),a(r,{label:"force"},{default:e(()=>[t(" 容错保护"),Z,t(" 可能的值:true, false"),ee,t(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(r,{label:"runtime"},{default:e(()=>[t(" 运行时生效"),ae,t(" 可能的值:true, false"),te,t(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):$("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ce=U(le,[["__scopeId","data-v-50bea4cb"]]);export{ce as default};
diff --git a/app/dubbo-ui/dist/admin/assets/updateByYAMLView-X3vjkbCV.js b/app/dubbo-ui/dist/admin/assets/updateByYAMLView-X3vjkbCV.js
new file mode 100644
index 0000000..9996862
--- /dev/null
+++ b/app/dubbo-ui/dist/admin/assets/updateByYAMLView-X3vjkbCV.js
@@ -0,0 +1,10 @@
+import{y as p,_ as N}from"./js-yaml-eElisXzH.js";import{e as A,h as O}from"./traffic-dHGZ6qwp.js";import{d as P,y as S,z as Y,a as L,u as M,B as f,D as J,H as j,J as m,w as e,e as n,o as v,b as a,f as t,n as T,aa as z,ab as K,j as o,T as $,m as H,p as U,h as q,_ as F}from"./index-3zDsduUv.js";import"./request-3an337VF.js";const _=i=>(U("data-v-50bea4cb"),i=i(),q(),i),G={class:"editorBox"},Q={class:"bottom-action-footer"},W=_(()=>o("br",null,null,-1)),X=_(()=>o("br",null,null,-1)),Z=_(()=>o("br",null,null,-1)),ee=_(()=>o("br",null,null,-1)),ae=_(()=>o("br",null,null,-1)),te=_(()=>o("br",null,null,-1)),le=P({__name:"updateByYAMLView",setup(i){const b=S(Y.PROVIDE_INJECT_KEY),g=L();M();const w=f(!1),c=f(!1),y=f(8);J(()=>{if(j.isNil(b.tagRule))u.value="",h();else{const l=b.tagRule;u.value=p.dump(l)}});const C=l=>{b.tagRule=p.load(u.value)},u=f(`configVersion: v3.0
+force: true
+enabled: true
+key: shop-detail
+tags:
+ - name: gray
+ match:
+ - key: env
+ value:
+ exact: gray`);async function h(){var s;let l=await A((s=g.params)==null?void 0:s.ruleName);(l==null?void 0:l.code)===200&&(u.value=p.dump(l==null?void 0:l.data))}const I=async()=>{var d;const l=p.load(u.value);(await O((d=g.params)==null?void 0:d.ruleName,l)).code===200&&(await h(),H.success("修改成功"))};return(l,s)=>{const d=n("a-button"),x=n("a-flex"),B=n("a-space"),D=n("a-affix"),R=n("a-col"),r=n("a-descriptions-item"),E=n("a-descriptions"),V=n("a-card");return v(),m(V,null,{default:e(()=>[a(x,{style:{width:"100%"}},{default:e(()=>[a(R,{span:c.value?24-y.value:24,class:"left"},{default:e(()=>[a(x,{vertical:"",align:"end"},{default:e(()=>[a(d,{type:"text",style:{color:"#0a90d5"},onClick:s[0]||(s[0]=k=>c.value=!c.value)},{default:e(()=>[t(" 字段说明 "),c.value?(v(),m(T(K),{key:1})):(v(),m(T(z),{key:0}))]),_:1}),o("div",G,[a(N,{onChange:C,modelValue:u.value,"onUpdate:modelValue":s[1]||(s[1]=k=>u.value=k),theme:"vs-dark",height:500,language:"yaml",readonly:w.value},null,8,["modelValue","readonly"])])]),_:1}),a(D,{"offset-bottom":10},{default:e(()=>[o("div",Q,[a(B,{align:"center",size:"large"},{default:e(()=>[a(d,{type:"primary",onClick:I},{default:e(()=>[t(" 确认 ")]),_:1}),a(d,null,{default:e(()=>[t(" 取消 ")]),_:1})]),_:1})])]),_:1})]),_:1},8,["span"]),a(R,{span:c.value?y.value:0,class:"right"},{default:e(()=>[c.value?(v(),m(V,{key:0,class:"sliderBox"},{default:e(()=>[o("div",null,[a(E,{title:"字段说明",column:1},{default:e(()=>[a(r,{label:"key"},{default:e(()=>[t(" 作用对象"),W,t(" 可能的值:Dubbo应用名或者服务名 ")]),_:1}),a(r,{label:"scope"},{default:e(()=>[t(" 规则粒度"),X,t(" 可能的值:application, service ")]),_:1}),a(r,{label:"force"},{default:e(()=>[t(" 容错保护"),Z,t(" 可能的值:true, false"),ee,t(" 描述:如果为true,则路由筛选后若没有可用的地址则会直接报异常;如果为false,则会从可用地址中选择完成RPC调用 ")]),_:1}),a(r,{label:"runtime"},{default:e(()=>[t(" 运行时生效"),ae,t(" 可能的值:true, false"),te,t(" 描述:如果为true,则该rule下的所有路由将会实时生效;若为false,则只有在启动时才会生效 ")]),_:1})]),_:1})])]),_:1})):$("",!0)]),_:1},8,["span"])]),_:1})]),_:1})}}}),ce=F(le,[["__scopeId","data-v-50bea4cb"]]);export{ce as default};
diff --git a/app/dubbo-ui/dist/admin/assets/xml-vsTTX_Cj.js b/app/dubbo-ui/dist/admin/assets/xml-PQ1W1vQC.js
similarity index 97%
rename from app/dubbo-ui/dist/admin/assets/xml-vsTTX_Cj.js
rename to app/dubbo-ui/dist/admin/assets/xml-PQ1W1vQC.js
index de80698..694c8b8 100644
--- a/app/dubbo-ui/dist/admin/assets/xml-vsTTX_Cj.js
+++ b/app/dubbo-ui/dist/admin/assets/xml-PQ1W1vQC.js
@@ -1,4 +1,4 @@
-import{m}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/assets/yaml-1sMNGfO1.js b/app/dubbo-ui/dist/admin/assets/yaml-QORSracL.js
similarity index 96%
rename from app/dubbo-ui/dist/admin/assets/yaml-1sMNGfO1.js
rename to app/dubbo-ui/dist/admin/assets/yaml-QORSracL.js
index d9b15ee..3da2222 100644
--- a/app/dubbo-ui/dist/admin/assets/yaml-1sMNGfO1.js
+++ b/app/dubbo-ui/dist/admin/assets/yaml-QORSracL.js
@@ -1,4 +1,4 @@
-import{m as i}from"./js-yaml-8Gkz3BRW.js";import"./index-hmLAZQYT.js";/*!-----------------------------------------------------------------------------
+import{m as i}from"./js-yaml-eElisXzH.js";import"./index-3zDsduUv.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
diff --git a/app/dubbo-ui/dist/admin/index.html b/app/dubbo-ui/dist/admin/index.html
index bd49f31..bf3cd2e 100644
--- a/app/dubbo-ui/dist/admin/index.html
+++ b/app/dubbo-ui/dist/admin/index.html
@@ -21,7 +21,7 @@
<link rel="icon" href="/admin/dubbo.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dubbo Admin</title>
- <script type="module" crossorigin src="/admin/assets/index-hmLAZQYT.js"></script>
+ <script type="module" crossorigin src="/admin/assets/index-3zDsduUv.js"></script>
<link rel="stylesheet" crossorigin href="/admin/assets/index-YSfCu-V6.css">
</head>
<body>
diff --git a/ui-vue3/package.json b/ui-vue3/package.json
index 26e805f..5701774 100644
--- a/ui-vue3/package.json
+++ b/ui-vue3/package.json
@@ -38,6 +38,7 @@
"monaco-editor": "^0.52.2",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
+ "pinia-plugin-persistedstate": "^4.7.1",
"pinyin-pro": "^3.19.3",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
diff --git a/ui-vue3/src/Login.vue b/ui-vue3/src/Login.vue
index 528f79c..1988b7e 100644
--- a/ui-vue3/src/Login.vue
+++ b/ui-vue3/src/Login.vue
@@ -16,12 +16,15 @@
-->
<script setup lang="ts">
-import { reactive } from 'vue'
+import { inject, onMounted, reactive, ref } from 'vue'
import { login } from '@/api/service/login'
import { useRoute, useRouter } from 'vue-router'
import { removeAuthState, updateAuthState } from '@/utils/AuthUtil'
import { message } from 'ant-design-vue'
import { i18n } from '@/base/i18n'
+import { useMeshStore } from '@/stores/mesh'
+import { PROVIDE_INJECT_KEY } from '@/base/enums/ProvideInject'
+import { meshesSearch } from '@/api/service/globalSearch'
const userinfo = reactive({
username: '',
password: ''
@@ -30,13 +33,20 @@
const router = useRouter()
const route = useRoute()
const redirect: any = route.query.redirect || '/'
+const meshStore = useMeshStore()
+
function loginHandle() {
let formData = new FormData()
formData.append('user', userinfo.username)
formData.append('password', userinfo.password)
login(formData)
- .then(() => {
+ .then(async () => {
updateAuthState(true, userinfo.username)
+ const { data } = await meshesSearch()
+ // if mesh is not set or old mesh is expired
+ if (!meshStore.mesh || !data.some((x: any) => x.name === meshStore.mesh)) {
+ meshStore.mesh = data[0]?.name
+ }
router.replace(redirect)
})
.catch((e) => {
diff --git a/ui-vue3/src/api/service/globalSearch.ts b/ui-vue3/src/api/service/globalSearch.ts
index dd2973f..6462a9e 100644
--- a/ui-vue3/src/api/service/globalSearch.ts
+++ b/ui-vue3/src/api/service/globalSearch.ts
@@ -24,3 +24,10 @@
params
})
}
+
+export const meshesSearch = (): Promise<any> => {
+ return request({
+ url: '/meshes',
+ method: 'get'
+ })
+}
diff --git a/ui-vue3/src/base/constants.ts b/ui-vue3/src/base/constants.ts
index d788930..a23f3d3 100644
--- a/ui-vue3/src/base/constants.ts
+++ b/ui-vue3/src/base/constants.ts
@@ -28,8 +28,33 @@
let item = localStorage.getItem(LOCAL_STORAGE_THEME)
+/**
+ * 根据背景色自动计算适合的文字颜色(黑或白)
+ * @param {string} hex 背景色十六进制(如 '#17b392' 或 '17b392')
+ * @returns {string} 文字色十六进制('#000000' 或 '#ffffff')
+ */
+function getTextColorByBackground(hex: string) {
+ // 处理十六进制格式(去掉#)
+ hex = hex.replace('#', '')
+ // 转换为RGB
+ const r = parseInt(hex.substring(0, 2), 16)
+ const g = parseInt(hex.substring(2, 4), 16)
+ const b = parseInt(hex.substring(4, 6), 16)
+
+ // 计算相对亮度(WCAG标准)
+ const [rNorm, gNorm, bNorm] = [r, g, b].map((c) => {
+ const val = c / 255
+ return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4)
+ })
+ const L = 0.2126 * rNorm + 0.7152 * gNorm + 0.0722 * bNorm
+
+ // 根据亮度返回文字色
+ return L > 0.5 ? '#131313' : '#e3e1e1'
+}
+
export const PRIMARY_COLOR = ref(item || PRIMARY_COLOR_DEFAULT)
export const PRIMARY_COLOR_T = (percent: string) => computed(() => PRIMARY_COLOR.value + percent)
+export const PRIMARY_COLOR_R = computed(() => getTextColorByBackground(PRIMARY_COLOR.value))
export const INSTANCE_REGISTER_COLOR: { [key: string]: string } = {
HEALTHY: 'green',
diff --git a/ui-vue3/src/base/enums/ProvideInject.ts b/ui-vue3/src/base/enums/ProvideInject.ts
index 75b4fce..09318b5 100644
--- a/ui-vue3/src/base/enums/ProvideInject.ts
+++ b/ui-vue3/src/base/enums/ProvideInject.ts
@@ -18,6 +18,7 @@
const KEY_PREFIX = '__PROVIDE_INJECT_KEY_'
export const PROVIDE_INJECT_KEY = {
+ LAYOUT_ROUTE_KEY: KEY_PREFIX + 'LAYOUT_ROUTE_KEY',
LOCALE: KEY_PREFIX + 'LOCALE',
GRAFANA: KEY_PREFIX + 'GRAFANA',
SEARCH_DOMAIN: KEY_PREFIX + 'SEARCH_DOMAIN',
diff --git a/ui-vue3/src/base/http/request.ts b/ui-vue3/src/base/http/request.ts
index 0481752..93e902d 100644
--- a/ui-vue3/src/base/http/request.ts
+++ b/ui-vue3/src/base/http/request.ts
@@ -24,9 +24,8 @@
} from 'axios'
import axios from 'axios'
import NProgress from 'nprogress'
-import { useRoute, useRouter } from 'vue-router'
-import { message } from 'ant-design-vue'
import { removeAuthState } from '@/utils/AuthUtil'
+import { useMeshStore } from '@/stores/mesh'
const service: AxiosInstance = axios.create({
// change this to decide where to go
@@ -46,8 +45,11 @@
config.headers['Content-Type'] = 'application/json'
config.data = JSON.stringify(config.data)
}
- console.log(config.data)
-
+ if (!config.params) {
+ config.params = {}
+ }
+ const { mesh } = useMeshStore()
+ config.params['mesh'] = mesh
// NProgress.start()
// console.log(config)
return config
@@ -64,10 +66,7 @@
(response) => {
NProgress.done()
// Success case - code is 'Success'
- if (
- response.status === 200 &&
- (response.data.code === 'Success')
- ) {
+ if (response.status === 200 && response.data.code === 'Success') {
return Promise.resolve(response.data)
}
// Handle 401 unauthorized
diff --git a/ui-vue3/src/base/i18n/en.ts b/ui-vue3/src/base/i18n/en.ts
index 6b35c7d..6b52d88 100644
--- a/ui-vue3/src/base/i18n/en.ts
+++ b/ui-vue3/src/base/i18n/en.ts
@@ -419,6 +419,7 @@
},
authFailed: 'Authorized failed,please login.',
+ registryCenter: 'Registry',
ruleList: 'Rule List',
mockRule: 'Mock Rule',
mockData: 'Mock Data',
diff --git a/ui-vue3/src/base/i18n/zh.ts b/ui-vue3/src/base/i18n/zh.ts
index 60f1dc5..b596866 100644
--- a/ui-vue3/src/base/i18n/zh.ts
+++ b/ui-vue3/src/base/i18n/zh.ts
@@ -395,6 +395,7 @@
authFailed: '权限验证失败',
ruleList: '规则列表',
+ registryCenter: '注册中心',
mockRule: '规则配置',
mockData: '模拟数据',
globalDisable: '全局禁用',
diff --git a/ui-vue3/src/layout/header/layout_header.vue b/ui-vue3/src/layout/header/layout_header.vue
index 9f5f263..b3ea6fe 100644
--- a/ui-vue3/src/layout/header/layout_header.vue
+++ b/ui-vue3/src/layout/header/layout_header.vue
@@ -27,7 +27,7 @@
<menu-fold-outlined v-else class="trigger" @click="() => (collapsed = !collapsed)" />
</a-flex>
<div></div>
- <a-flex>
+ <a-flex :gap="20">
<a-input-group @keyup.enter="globalSearch" class="search-group" compact>
<a-select v-model:value="searchType" class="select-type">
<a-select-option v-for="option in searchTypeOptions" :value="option.value"
@@ -48,6 +48,23 @@
@click="globalSearch"
></a-button>
</a-input-group>
+ <a-form layout="inline">
+ <a-form-item class="mesh-select-item" :label="$t('registryCenter')" inline>
+ <a-select
+ class="mesh-select"
+ :value="meshStore.mesh"
+ :options="
+ meshes.map((x: any) => {
+ return {
+ value: x.name,
+ label: x.name
+ }
+ })
+ "
+ @change="changeMesh"
+ ></a-select>
+ </a-form-item>
+ </a-form>
</a-flex>
<div></div>
@@ -102,12 +119,16 @@
SearchOutlined,
UserOutlined
} from '@ant-design/icons-vue'
-import type { ComponentInternalInstance } from 'vue'
+import { type ComponentInternalInstance, onMounted } from 'vue'
import { computed, getCurrentInstance, h, inject, nextTick, reactive, ref, watch } from 'vue'
import { PROVIDE_INJECT_KEY } from '@/base/enums/ProvideInject'
import { changeLanguage, localeConfig } from '@/base/i18n'
-import { LOCAL_STORAGE_THEME, PRIMARY_COLOR, PRIMARY_COLOR_DEFAULT } from '@/base/constants'
-import devTool from '@/utils/DevToolUtil'
+import {
+ LOCAL_STORAGE_THEME,
+ PRIMARY_COLOR,
+ PRIMARY_COLOR_DEFAULT,
+ PRIMARY_COLOR_R
+} from '@/base/constants'
import { Icon } from '@iconify/vue'
import { debounce } from 'lodash'
import type { SelectOption } from '@/types/common.ts'
@@ -117,6 +138,8 @@
import { useRoute, useRouter } from 'vue-router'
import { getAuthState, removeAuthState } from '@/utils/AuthUtil'
import { logout } from '@/api/service/login'
+import { useMeshStore } from '@/stores/mesh'
+import { meshesSearch } from '@/api/service/globalSearch'
const {
appContext: {
@@ -125,6 +148,7 @@
} = <ComponentInternalInstance>getCurrentInstance()
let __null = PRIMARY_COLOR
+let __null_r = PRIMARY_COLOR_R
const collapsed = inject(PROVIDE_INJECT_KEY.COLLAPSED)
const i18nConfig = <typeof localeConfig>inject(PROVIDE_INJECT_KEY.LOCALE)
let locale = ref(localeConfig.locale)
@@ -144,6 +168,20 @@
router.replace(`/login?redirect=${route.path}`)
})
}
+
+const meshes = ref([])
+const meshStore = useMeshStore()
+const refreshCurrentRoute: any = inject(PROVIDE_INJECT_KEY.LAYOUT_ROUTE_KEY)
+const changeMesh = (value: any) => {
+ meshStore.mesh = value
+ refreshCurrentRoute()
+}
+
+onMounted(async () => {
+ const { data } = await meshesSearch()
+ meshes.value = data
+})
+
const authState = getAuthState()
watch(locale, (value) => {
changeLanguage(value)
@@ -233,7 +271,14 @@
.header {
background: v-bind('PRIMARY_COLOR');
padding: 0;
-
+ .mesh-select {
+ min-width: 100px;
+ }
+ .mesh-select-item {
+ :deep(label) {
+ color: v-bind('PRIMARY_COLOR_R');
+ }
+ }
.search-group {
display: flex;
align-items: center;
diff --git a/ui-vue3/src/layout/index.vue b/ui-vue3/src/layout/index.vue
index 56027d6..ffb76cd 100644
--- a/ui-vue3/src/layout/index.vue
+++ b/ui-vue3/src/layout/index.vue
@@ -25,7 +25,7 @@
collapsible
>
<div class="logo">
- <img :src="logo" />
+ <img alt="Dubbo Admin" :src="logo" />
<template v-if="!collapsed">Dubbo Admin</template>
</div>
<layout-menu></layout-menu>
@@ -34,7 +34,7 @@
<layout_header :collapsed="collapsed"></layout_header>
<layout_bread></layout_bread>
<a-layout-content class="layout-content">
- <router-view v-slot="{ Component }">
+ <router-view :key="routeKey" v-slot="{ Component }">
<transition name="slide-fade">
<component :is="Component"> </component>
</transition>
@@ -48,17 +48,26 @@
</div>
</template>
<script lang="ts" setup>
-import { h, provide, ref } from 'vue'
+import { provide, ref } from 'vue'
import layoutMenu from './menu/layout_menu.vue'
import logo from '@/assets/logo.png'
import Layout_header from '@/layout/header/layout_header.vue'
import { PROVIDE_INJECT_KEY } from '@/base/enums/ProvideInject'
import Layout_bread from '@/layout/breadcrumb/layout_bread.vue'
-import { PRIMARY_COLOR, TAB_HEADER_TITLE } from '@/base/constants'
+import { PRIMARY_COLOR } from '@/base/constants'
+import { useRoute } from 'vue-router'
let __null = PRIMARY_COLOR
const collapsed = ref<boolean>(false)
provide(PROVIDE_INJECT_KEY.COLLAPSED, collapsed)
+const route = useRoute()
+const routeKey = ref(route.fullPath)
+
+// 定义刷新方法,直接导出
+const refreshCurrentRoute = () => {
+ routeKey.value = `${route.fullPath}-${Date.now()}`
+}
+provide(PROVIDE_INJECT_KEY.LAYOUT_ROUTE_KEY, refreshCurrentRoute)
</script>
<style lang="less" scoped>
.__container_layout_index {
diff --git a/ui-vue3/src/main.ts b/ui-vue3/src/main.ts
index 32e855c..e203e59 100644
--- a/ui-vue3/src/main.ts
+++ b/ui-vue3/src/main.ts
@@ -21,33 +21,31 @@
import App from './App.vue'
import 'ant-design-vue/dist/reset.css'
import { i18n } from '@/base/i18n'
-import './api/mock/index'
-// import './api/mock/mockCluster'
-// import './api/mock/mockVersion'
+// import './api/mock/index'
import Vue3ColorPicker from 'vue3-colorpicker'
+
import 'vue3-colorpicker/style.css'
import 'nprogress/nprogress.css'
-// import 'monaco-editor/esm/vs/editor/editor.main.css';
+import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
-import { PRIMARY_COLOR } from '@/base/constants'
-import { useRouter } from 'vue-router'
-import _ from 'lodash'
import { getAuthState } from '@/utils/AuthUtil'
+import { createPinia } from 'pinia'
+import { useRoute } from 'vue-router'
const app = createApp(App)
-app.use(Antd).use(Vue3ColorPicker).use(i18n).use(router).mount('#app')
-// router.beforeEach((to, from, next) => {
-// console.log(to, from)
-// next(to.fullPath)
-// })
+const pinia = createPinia()
+
+pinia.use(piniaPluginPersistedstate)
+
+app.use(Antd).use(Vue3ColorPicker).use(pinia).use(i18n).use(router).mount('#app')
+
router.beforeEach((from, to, next) => {
const authState = getAuthState()
if (authState?.state || from.path.startsWith('/login')) {
next()
} else {
- console.log(222)
next({ path: `/login?redirect=${to.path}` })
}
})
diff --git a/ui-vue3/src/stores/mesh.ts b/ui-vue3/src/stores/mesh.ts
new file mode 100644
index 0000000..d265594
--- /dev/null
+++ b/ui-vue3/src/stores/mesh.ts
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+export const useMeshStore = defineStore('mesh', {
+ state: () => ({
+ mesh: ref('')
+ }),
+ persist: true
+})